From 1bbb37f09368268274ddedc77291c3736a5496a6 Mon Sep 17 00:00:00 2001 From: layman Date: Sat, 22 Apr 2023 17:47:17 +0200 Subject: [PATCH] Updated kikit --- dev-python/engineering-notation/Manifest | 2 + .../engineering-notation-0.8.0.ebuild | 41 ++++++++++++ dev-python/kikit/Manifest | 2 + dev-python/kikit/kikit-1.3.0.ebuild | 67 +++++++++++++++++++ dev-python/pcbdraw/Manifest | 2 + dev-python/pcbdraw/pcbdraw-1.1.2.ebuild | 66 ++++++++++++++++++ dev-python/pcbnewtransition/Manifest | 2 + .../pcbnewtransition-0.3.4.ebuild | 46 +++++++++++++ 8 files changed, 228 insertions(+) create mode 100644 dev-python/engineering-notation/engineering-notation-0.8.0.ebuild create mode 100644 dev-python/kikit/kikit-1.3.0.ebuild create mode 100644 dev-python/pcbdraw/pcbdraw-1.1.2.ebuild create mode 100644 dev-python/pcbnewtransition/pcbnewtransition-0.3.4.ebuild diff --git a/dev-python/engineering-notation/Manifest b/dev-python/engineering-notation/Manifest index a810f06..2f74b32 100644 --- a/dev-python/engineering-notation/Manifest +++ b/dev-python/engineering-notation/Manifest @@ -1 +1,3 @@ +DIST engineering-notation-0.8.0.tar.gz 7971 BLAKE2B 0e6d009cfd3c595730352d1bf8b4b6b18dee10a2955f6224e72fdd33097111776a53b0e54dc7c37f02502593168351ed114748ec41e392f1e323058258c785b0 SHA512 83f54728b4b26e1ba53192d9af69376fa035a23a407ff08217a0de1708af424249603abac7afcd587fc79eda208b25d0127b0597a76da638849b0f10ab20f1ca +EBUILD engineering-notation-0.8.0.ebuild 922 BLAKE2B 06eab3d98559a5f27b5c42e7a085a00dc307f1d66d262bc04ab9116b222a5e1e58b1a4f61b982edcf69c3d24d99fba874ac5cc4c17a95fbbe7d0fcf05a1d382e SHA512 62d10c99f3113821000426b9155753e3a36cd9e1ccfce5fd92cef004966a2b971698b078bc0f73c8008342f69916550307c2d0709b62986c0dc8568c9b562cff EBUILD engineering-notation-9999.ebuild 887 BLAKE2B ac206cb90234ad755032d1c88f308d439f8e72f30489393e030c0a7cf7e0ae470b7066dca5f6fdf85742b1c718d1e76d0615c735af104ac254be77605b527463 SHA512 502a3fd13e9160fbc0c3f603f72359a68d62f89156911580689ea56cc1482b69dfd95720b71b6b7f4c7ae18eeb16509995a2c34255b0c8c2b231ac78ce2e0d28 diff --git a/dev-python/engineering-notation/engineering-notation-0.8.0.ebuild b/dev-python/engineering-notation/engineering-notation-0.8.0.ebuild new file mode 100644 index 0000000..fac2e5c --- /dev/null +++ b/dev-python/engineering-notation/engineering-notation-0.8.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=8 +PYTHON_COMPAT=( python3_{9..11} ) + +MY_PN="engineering_notation" + +inherit distutils-r1 + +DESCRIPTION="Easy engineering notation using python" +HOMEPAGE="https://github.com/yaqwsx/KiKit" +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/slightlynybbled/${MY_PN}.git" + KEYWORDS="" + inherit git-r3 +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/slightlynybbled/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="dev-python/flake8[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}]" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + sed "s@engineering_notation/version.py@$S/$MY_PN/version.py@" \ + -i "${S}/setup.py" || die + + default +} diff --git a/dev-python/kikit/Manifest b/dev-python/kikit/Manifest index 73e46fd..4bba077 100644 --- a/dev-python/kikit/Manifest +++ b/dev-python/kikit/Manifest @@ -3,5 +3,7 @@ AUX kikit-info 207 BLAKE2B 7fe87332597c79e911ba231de7198810b169f88335766d5adaa1a AUX kikit-plugin 209 BLAKE2B ec92753c891f310f4f4f8a9fc245220565ea5f7fea41c12b6dcd9a276a9f3dc599fbb0db1902fbd84382bdf17d18d90584184ba407c2c8b7ec2533a687a8a530 SHA512 3283843e09272bbebfaae0cb3545c5a107ae24720c4817a03b47e4415f65b2733dd79af0551fc79db548116da452ee9decebbecf97776d9c3546ff99fed6c126 AUX kikit_plugin.py 106 BLAKE2B dfc9e818c59d5b59a6a31d8394b8cb00a3839450f1563ea2124d84935276b26125e9dd078f8e6cdc0f057d9865358cc11694188f3c0fea58e2829dd39c5d881d SHA512 ff8907d3f044384261ad1340c5c234edf5a3cd8cce1bb97753aee3fb6c85c19d0ac0ad187fda5bfc88a850d5812a07fc41f0f8e62cdb8f68aad59974d00a94e0 DIST kikit-1.1.0.tar.gz 229899 BLAKE2B cbf2d0b35a8ad41b3e605435a6d887c2d07c4aaea2a33a4ed9c3f8b4c9b1ebc3a543ab85283c11fedc28ffe88e6e12a132e05145b0a3e65779aab334354e8701 SHA512 65639b09ebb3ba087621045261fe7db4eef1b5cb851891ae5ef0254cbc096663d2151028a2ea8a5c747f065edfe52d36debdce13894ac02ee41a3d6b2e004e45 +DIST kikit-1.3.0.tar.gz 235750 BLAKE2B 79ab137ef4b281ee2349f29faed3dab749e132a49fc3c2b3428bb623ee95f8733f52a22047c5e7b8801155ebc7c663fd767a9596a2bbe8cf067c36f7a1829459 SHA512 39cc68357c7a01e4aa7b68867287080c9b0f1f3d4e293c6680560a946302a5a21e7ca17fdb0daa351876fdb633497d9665d3fb0a8820e970059cc2d6d22ce2d3 EBUILD kikit-1.1.0.ebuild 1599 BLAKE2B 99391c81442d9494e88e8cf2f8a043d6321e6f91f6b1359082c6e6424d3be27b4a44f5165e5061dba779afdee32de6793bac1249f5f39c7a633fc222deb489be SHA512 9606a1eb6333daf028e5c8f699a0866b516dfc76cdc88012072af255c418748de9161f652a4cad5b487b18a4b4dc0fa8110e83988fb3dd573d70506b6274a7c7 +EBUILD kikit-1.3.0.ebuild 1599 BLAKE2B a0401fe3ef6f4c472cc8c538b294e75b5d0ada904d850e3216732fb6ac155a2c60a4ffd45491afe2188335678cf8120ae8b355eee2040067eb0263e3fd6ad2c8 SHA512 96e9719a41c0d49a138858638b1ff3557d2ed7783b003f4afbdc8cf1226ccfd05dbad8528d9db9ee6a6dfdb836950f9d435aebbe2b5feded67eb74d907f27955 EBUILD kikit-9999.ebuild 1554 BLAKE2B 74db7b6c7cb96a8fa53221fbbd861aae69cd22fe9de1515e204fe8a0dc127e0aab01258f6c5260ceeb0ca2e96eecc8e62a25bb4c62ce2f89d5f8d17d1e9795bb SHA512 d61dc94f2daf38054325cd632b8bf3d1e0718324959a9066cdc08939be5463d5c00f5e0dc363f7a750cd31f333b83868be02a1ddb822943056c84431aa711f18 diff --git a/dev-python/kikit/kikit-1.3.0.ebuild b/dev-python/kikit/kikit-1.3.0.ebuild new file mode 100644 index 0000000..490d1fa --- /dev/null +++ b/dev-python/kikit/kikit-1.3.0.ebuild @@ -0,0 +1,67 @@ +## Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=8 +PYTHON_COMPAT=( python3_{9..11} ) + +inherit python-single-r1 + +MY_PN="KiKit" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="KiKit is a Python library and CLI tool to automate several tasks in a standard KiCAD workflow" +HOMEPAGE="https://github.com/yaqwsx/KiKit" +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/yaqwsx/${MY_PN}.git" + KEYWORDS="" + inherit git-r3 +else + KEYWORDS="~amd64 ~x86" + SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${MY_P}" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="$(python_gen_cond_dep ' + dev-python/click[${PYTHON_USEDEP}] + >=dev-python/commentjson-0.9.0[${PYTHON_USEDEP}] + dev-python/markdown2[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pcbdraw[${PYTHON_SINGLE_USEDEP}] + dev-python/pcbnewtransition[${PYTHON_SINGLE_USEDEP}] + dev-python/pybars3[${PYTHON_USEDEP}] + >=dev-python/shapely-1.7[${PYTHON_USEDEP}] + >=dev-python/solidpython-1.1.2[${PYTHON_USEDEP}] + sci-electronics/kicad[${PYTHON_SINGLE_USEDEP}] + ') +" + +DEPEND="${RDEPEND} + $(python_gen_cond_dep ' + dev-python/versioneer[${PYTHON_USEDEP}] + ') +" + +src_compile() { + true +} + +src_install() { + python_domodule ${PN} + python_doscript ${FILESDIR}/kikit{,-info,-plugin} + + insinto /usr/share/kicad/scripting + doins ${FILESDIR}/kikit_plugin.py + dodoc LICENCE README.md + + if [[ ${PV} == "9999" ]] ; then + dodoc -r doc + dodoc -r scripts + fi +} diff --git a/dev-python/pcbdraw/Manifest b/dev-python/pcbdraw/Manifest index 38210eb..dd0355c 100644 --- a/dev-python/pcbdraw/Manifest +++ b/dev-python/pcbdraw/Manifest @@ -1,2 +1,4 @@ AUX pcbdraw 207 BLAKE2B b30a413cf0e03bc3a96b32606942b623e705554b286ab9a7f89e1de2ce2af92a73d4e76faa30793f0869d2bed203e5a316bcd60e0096d129165b4f26c6a39a70 SHA512 312c7c7d5ab16ddf892d369bf3cb8f76929500e040af4d2e0d3cdab45004303bede29c3230a9c468f8ee50a50a463d02385468a6552e8a02b4e49aff119f0fe6 +DIST pcbdraw-1.1.2.tar.gz 805513 BLAKE2B 3eb612e7434668caf7f1bbad7dc11bf002e33c27445e07ce7c78932763ea14093cd797a01728a91a3f8d54b2e52d0189fe5de4c9d4f73b3f63310e8494fbecc0 SHA512 653cc72e1452d2d215dcf0822b6ff58c28d109a0ba05ad1e4f67b63683060e16cd56a43dcc9a449e5641c1396a85b18e413d225ad39bbd78d69d5d0f828a8028 +EBUILD pcbdraw-1.1.2.ebuild 1594 BLAKE2B edf540bd0532af3525e42b29edeb6712c92ec5ba6626d2f30b296b463f7950e34eb56beea1b9930b389a3c913564ace87930f5015c3abc2648f05d822e87b875 SHA512 7fcd939f6e9131de89464a09e8bf7fa19eb9538426cbb17237ab808114e5ccdc2d07881af4957582ddbf4e12acb11fbda446ec91c1063600c4472aa74c2f3d94 EBUILD pcbdraw-9999.ebuild 1519 BLAKE2B 0e78f6cbef129e45749f4d3ceded9a4c37d14b193733fd9127bca299a1435b4f865bc5edb079b43ef3a97d26a228267967885d53fb137d99ee8f2e943f6ee509 SHA512 7f5b12947f2dba64a00830f5969d64a94c625f63cf710eeede36470fe4afbb4d1e23fcc92624d8e1f013b80b80cb7476e76ed7591aae5cfd7a9d1a598bc850c6 diff --git a/dev-python/pcbdraw/pcbdraw-1.1.2.ebuild b/dev-python/pcbdraw/pcbdraw-1.1.2.ebuild new file mode 100644 index 0000000..6461dd0 --- /dev/null +++ b/dev-python/pcbdraw/pcbdraw-1.1.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=8 +PYTHON_COMPAT=( python3_{9..11} ) + +inherit python-single-r1 + +MY_PN="PcbDraw" + +DESCRIPTION="Convert your KiCAD board into a nicely looking 2D drawing" +HOMEPAGE="https://github.com/yaqwsx/KiKit" +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/yaqwsx/${PN}.git" + KEYWORDS="" + inherit git-r3 +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/yaqwsx/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="$(python_gen_cond_dep ' + dev-python/click[${PYTHON_USEDEP}] + dev-python/engineering-notation[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/markdown2[${PYTHON_USEDEP}] + >=dev-python/mistune-2.0.2[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pcbnewtransition[${PYTHON_SINGLE_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pybars3[${PYTHON_USEDEP}] + dev-python/pyvirtualdisplay[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ~dev-python/svgpathtools-1.6.0[${PYTHON_USEDEP}] + dev-python/wand[${PYTHON_USEDEP}] + sci-electronics/kicad[${PYTHON_SINGLE_USEDEP}] + ') +" + +DEPEND="${RDEPEND} + $(python_gen_cond_dep ' + dev-python/versioneer[${PYTHON_USEDEP}] + ') +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_compile() { + true; +} + +src_install() { + sed - + python_domodule ${PN} + python_doscript ${FILESDIR}/pcbdraw + dodoc -r doc + dodoc LICENSE README.md +} + diff --git a/dev-python/pcbnewtransition/Manifest b/dev-python/pcbnewtransition/Manifest index 79daf9b..8eb2c8f 100644 --- a/dev-python/pcbnewtransition/Manifest +++ b/dev-python/pcbnewtransition/Manifest @@ -1,2 +1,4 @@ DIST pcbnewtransition-0.2.0.tar.gz 18960 BLAKE2B 4681ced2238d7898cbf5e9f44bfd0acc32b5c697cf1a513bd6d237813014dc58aa90d6d1a3947b869736b61047804e3c6215e80e60036ae502642985eb5f70c8 SHA512 650867b9d3ed7e4f9a6e9e90c58a0e8bee6efccd7cf88c145229837540d053d221f4d78f4ceb2c3286d4f64966542b5170c574b28455b9f5535f7a76b653f1c9 +DIST pcbnewtransition-0.3.4.tar.gz 21636 BLAKE2B 5d60619b99652a9349d90f5055177bcf39154f5b29bfe2ab4e4d66b733256817e1a9cf930ffcf9622573a8bee1b9177fc694f86e698dccf0e1a5249d0c203bcb SHA512 cca02f15d59e051f2a04f561a1ecc9a3dcf2f755695feb38850eaf3c0fbb2a92a43049d4af51cb9fc7850059404c8da209121c82902e0775f23af7aeb4c178bc EBUILD pcbnewtransition-0.2.0.ebuild 920 BLAKE2B 78bbad3237794b6df63633921556061710fa9b4c7b51b00ce1667fa0c48aed5ba4bf51699f32533300be539d5b64ddd491a96393c7756118d5d648f5f0a5550e SHA512 c5481e80e80370607d8b4d50c68e00bfa6828b2b76605b66c705fca824ab0b16312dc52b0d16b5a466343e5ba515b4d2f1b237599bbb59bf9e0f17fe42944dfd +EBUILD pcbnewtransition-0.3.4.ebuild 920 BLAKE2B eabcb056ff9245aa54ac24eb0a97fc27e22e10dcfde0c6e9616cf98c3800c4a7d80ba672715bc64b40dea2e3211e9693aa415d1791610fd40df1e81b5d41d182 SHA512 8fada47628557ab356ac5dbb22db481a81a2578e16f4a14d28807a8c8c72180c34d6deb4e2477c2bb6b96c396a75121c25c106c27aa016a27103bf5019b81a4b diff --git a/dev-python/pcbnewtransition/pcbnewtransition-0.3.4.ebuild b/dev-python/pcbnewtransition/pcbnewtransition-0.3.4.ebuild new file mode 100644 index 0000000..3f9d9ad --- /dev/null +++ b/dev-python/pcbnewtransition/pcbnewtransition-0.3.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=8 +PYTHON_COMPAT=( python3_{9..11} ) + +MY_PN="pcbnewTransition" +MY_P="${MY_PN}-${PV}" + +inherit python-single-r1 + +DESCRIPTION="Library that allows you to support both, KiCAD 5 and KiCAD 6 in your plugins" +HOMEPAGE="https://github.com/yaqwsx/KiKit" +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/yaqwsx/${MY_PN}.git" + KEYWORDS="" + inherit git-r3 +else + KEYWORDS="~amd64 ~x86" + SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${MY_P}" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="" + +DEPEND="${RDEPEND} + $(python_gen_cond_dep ' + dev-python/versioneer[${PYTHON_USEDEP}] + ') +" + +src_compile() { + true; +} + +src_install() { + python_domodule ${MY_PN} + dodoc README.md +}