From 48e60747d91ab58d2da64dfe5e6e49314ac1bfd9 Mon Sep 17 00:00:00 2001 From: layman Date: Tue, 3 May 2022 22:31:22 +0200 Subject: [PATCH] Added / updated several Python packages --- app-emulation/amitools/Manifest | 3 +- app-emulation/amitools/amitools-9999.ebuild | 2 +- dev-python/engineering-notation/Manifest | 1 + .../engineering-notation-9999.ebuild | 40 ++++++++++++ dev-python/kikit/Manifest | 6 +- dev-python/kikit/files/kikit | 8 +++ dev-python/kikit/files/kikit-info | 8 +++ dev-python/kikit/files/kikit-plugin | 8 +++ dev-python/kikit/files/kikit_plugin.py | 6 ++ dev-python/kikit/kikit-9999.ebuild | 50 ++++++++++----- dev-python/pcbdraw/Manifest | 2 + dev-python/pcbdraw/files/pcbdraw | 8 +++ dev-python/pcbdraw/pcbdraw-9999.ebuild | 61 +++++++++++++++++++ dev-python/pcbnewtransition/Manifest | 2 + .../pcbnewtransition-0.2.0.ebuild | 46 ++++++++++++++ dev-python/prettytable/Manifest | 2 + .../prettytable/prettytable-0.7.2-r1.ebuild | 22 +++++++ dev-python/pyhidapi/Manifest | 2 + dev-python/pyhidapi/pyhidapi-1.0.4.ebuild | 26 ++++++++ dev-python/solidpython/Manifest | 2 + .../solidpython/solidpython-1.1.2.ebuild | 38 ++++++++++++ dev-python/svgpathtools/Manifest | 3 + dev-python/svgpathtools/metadata.xml | 26 ++++++++ .../svgpathtools/svgpathtools-1.4.1.ebuild | 21 +++++++ 24 files changed, 376 insertions(+), 17 deletions(-) create mode 100644 dev-python/engineering-notation/Manifest create mode 100644 dev-python/engineering-notation/engineering-notation-9999.ebuild create mode 100644 dev-python/kikit/files/kikit create mode 100644 dev-python/kikit/files/kikit-info create mode 100644 dev-python/kikit/files/kikit-plugin create mode 100644 dev-python/kikit/files/kikit_plugin.py create mode 100644 dev-python/pcbdraw/Manifest create mode 100644 dev-python/pcbdraw/files/pcbdraw create mode 100644 dev-python/pcbdraw/pcbdraw-9999.ebuild create mode 100644 dev-python/pcbnewtransition/Manifest create mode 100644 dev-python/pcbnewtransition/pcbnewtransition-0.2.0.ebuild create mode 100644 dev-python/prettytable/Manifest create mode 100644 dev-python/prettytable/prettytable-0.7.2-r1.ebuild create mode 100644 dev-python/pyhidapi/Manifest create mode 100644 dev-python/pyhidapi/pyhidapi-1.0.4.ebuild create mode 100644 dev-python/solidpython/solidpython-1.1.2.ebuild create mode 100644 dev-python/svgpathtools/Manifest create mode 100644 dev-python/svgpathtools/metadata.xml create mode 100644 dev-python/svgpathtools/svgpathtools-1.4.1.ebuild diff --git a/app-emulation/amitools/Manifest b/app-emulation/amitools/Manifest index 16e9c08..2419f87 100644 --- a/app-emulation/amitools/Manifest +++ b/app-emulation/amitools/Manifest @@ -1 +1,2 @@ -EBUILD amitools-9999.ebuild 572 BLAKE2B 370f2b0d4ee04efc498f535a2b848590709c15f65b6ca8fd44d80bdc453ee7a6516f1791e7ebff47a60dd4ce37da912872e67b52990a9b57a3e6fae4cfbdfba1 SHA512 e6fc6913b111369535069a0d3ec0368c3bb55b110249cefafa0cd589a09c3c293fce264bc51d6f6e8c1615dc0e709b8c215f6979801a523329a7379c73235c35 +EBUILD amitools-9999.ebuild 577 BLAKE2B a23a84013463c154b97aab5eda52bc8b44f72c22b393f16a312288046826c03f515d817cc92635fdb41ffd435b6ac9abf2d16523becbfb381a4166dfb565e7b5 SHA512 6c41884228896514555129998bbbfdd736cc84b1fad4c3cb7adf7163547266d30919a14bc76654ce4a693db08aa3d9cfc9e2e7a38ccbca19e431a1a69a9543f1 +MISC amitools-9999.ebuildx 572 BLAKE2B 370f2b0d4ee04efc498f535a2b848590709c15f65b6ca8fd44d80bdc453ee7a6516f1791e7ebff47a60dd4ce37da912872e67b52990a9b57a3e6fae4cfbdfba1 SHA512 e6fc6913b111369535069a0d3ec0368c3bb55b110249cefafa0cd589a09c3c293fce264bc51d6f6e8c1615dc0e709b8c215f6979801a523329a7379c73235c35 diff --git a/app-emulation/amitools/amitools-9999.ebuild b/app-emulation/amitools/amitools-9999.ebuild index e6acba1..64b171d 100644 --- a/app-emulation/amitools/amitools-9999.ebuild +++ b/app-emulation/amitools/amitools-9999.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_9 ) +PYTHON_COMPAT=( python3_{9,10} ) DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 git-r3 diff --git a/dev-python/engineering-notation/Manifest b/dev-python/engineering-notation/Manifest new file mode 100644 index 0000000..a810f06 --- /dev/null +++ b/dev-python/engineering-notation/Manifest @@ -0,0 +1 @@ +EBUILD engineering-notation-9999.ebuild 887 BLAKE2B ac206cb90234ad755032d1c88f308d439f8e72f30489393e030c0a7cf7e0ae470b7066dca5f6fdf85742b1c718d1e76d0615c735af104ac254be77605b527463 SHA512 502a3fd13e9160fbc0c3f603f72359a68d62f89156911580689ea56cc1482b69dfd95720b71b6b7f4c7ae18eeb16509995a2c34255b0c8c2b231ac78ce2e0d28 diff --git a/dev-python/engineering-notation/engineering-notation-9999.ebuild b/dev-python/engineering-notation/engineering-notation-9999.ebuild new file mode 100644 index 0000000..7e02224 --- /dev/null +++ b/dev-python/engineering-notation/engineering-notation-9999.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} ) + +MY_PN="engineering_notation" +MY_P="${MY_PN}-${PV}" + +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="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.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}" + +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 055d098..0f5ffb1 100644 --- a/dev-python/kikit/Manifest +++ b/dev-python/kikit/Manifest @@ -1 +1,5 @@ -EBUILD kikit-9999.ebuild 1086 BLAKE2B 7c7272bb0a0a95f6b5a73503e17b86b3f3883f5115b28b1835666e0cf4c797d215e7f0bf7d5a9bc6f4b8204ff7963200d874ec7c735b2d2496883084a6a82cb1 SHA512 39ab45fd5d3c556be560cd9a5687c3b889239a8db00a9ee01a07e55cc60afe281d0e6dc24748eca1d93bd90f4fb3ab44406914162a23f4fc6b673bcc169d86ef +AUX kikit 207 BLAKE2B 9fac1154a538c2f2b219b4994ee7d4f9e922018d7bf6d8052809e846378882a12e3a96a142bbfa085291fe1543a38f129dfbfb6f5578e9e17a712a1f40cf9e9e SHA512 666d95ffc493dda606f71412bb1be12821d711f71e62f06bb609043a14e1d4e504bbca0dda5c627393ff0bb48371fcd29e10c9e8c778f261de23b0fa582e2c16 +AUX kikit-info 209 BLAKE2B 6aedee39f304bf0da16ca9072efbb5ac1a6b560f460aa310b7f87e74c4874e50f6c587f5e91a1ed73d7f7678527eee8b0de067c8c3715b10b7a2f114c8acf0a3 SHA512 f8e97bcc27214a6b3f0890a8604ce8b52a9fc35540f6dcd37621eaf59bf575eb9e4091686aae0f4b3bff111b5e5f37ffefa23f42748cc6a0b78589fb7b5f3af2 +AUX kikit-plugin 211 BLAKE2B 126681a24c8369e8429e30a1a01579697626254f54b876867fdfab21969928f768621d7437648470dbdbd6fcb57e3b05d13888161ec1ac38cb747849f58e91aa SHA512 99d8e905b1b5e9002e2b328febf2cbe5cfc3ca58e7bebaf34d912538028d8313f33e3866f6cfdc89c1059e2252a11e8037631962b8e04dc8f99946eb7034ed09 +AUX kikit_plugin.py 106 BLAKE2B dfc9e818c59d5b59a6a31d8394b8cb00a3839450f1563ea2124d84935276b26125e9dd078f8e6cdc0f057d9865358cc11694188f3c0fea58e2829dd39c5d881d SHA512 ff8907d3f044384261ad1340c5c234edf5a3cd8cce1bb97753aee3fb6c85c19d0ac0ad187fda5bfc88a850d5812a07fc41f0f8e62cdb8f68aad59974d00a94e0 +EBUILD kikit-9999.ebuild 1546 BLAKE2B f7e6555fa9bd349659eb278f0631265d71d475d5bee0c0fdbd789d2f4870d7a943b8b9eb28e924ef773d9217bafb79f392d6dcc2554e1fe4226cb14d6767a83b SHA512 dc61ec64917aa841e23861409383a924460205e6a8d835acb69c5e549f210d773b9c72c46e2edda43c086fa13ce940aa260ebe2fb9ee6a93a66f29b65064145a diff --git a/dev-python/kikit/files/kikit b/dev-python/kikit/files/kikit new file mode 100644 index 0000000..dcf1653 --- /dev/null +++ b/dev-python/kikit/files/kikit @@ -0,0 +1,8 @@ +#!/usr/bin/python3.9 +# -*- coding: utf-8 -*- +import re +import sys +from kikit.ui import cli +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(cli()) diff --git a/dev-python/kikit/files/kikit-info b/dev-python/kikit/files/kikit-info new file mode 100644 index 0000000..1753cc8 --- /dev/null +++ b/dev-python/kikit/files/kikit-info @@ -0,0 +1,8 @@ +#!/usr/bin/python3.9 +# -*- coding: utf-8 -*- +import re +import sys +from kikit.info import cli +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(cli()) diff --git a/dev-python/kikit/files/kikit-plugin b/dev-python/kikit/files/kikit-plugin new file mode 100644 index 0000000..a29eebb --- /dev/null +++ b/dev-python/kikit/files/kikit-plugin @@ -0,0 +1,8 @@ +#!/usr/bin/python3.9 +# -*- coding: utf-8 -*- +import re +import sys +from kikit.plugin import cli +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(cli()) diff --git a/dev-python/kikit/files/kikit_plugin.py b/dev-python/kikit/files/kikit_plugin.py new file mode 100644 index 0000000..d91dd38 --- /dev/null +++ b/dev-python/kikit/files/kikit_plugin.py @@ -0,0 +1,6 @@ + +try: + from kikit.plugin import panelize + panelize.plugin().register() +except ImportError: + pass diff --git a/dev-python/kikit/kikit-9999.ebuild b/dev-python/kikit/kikit-9999.ebuild index 95559d4..bad9b0d 100644 --- a/dev-python/kikit/kikit-9999.ebuild +++ b/dev-python/kikit/kikit-9999.ebuild @@ -2,19 +2,18 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} ) MY_PN="KiKit" MY_P="${MY_PN}-${PV}" -inherit distutils-r1 +inherit python-single-r1 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/KiKit.git" + EGIT_REPO_URI="https://github.com/yaqwsx/${MY_PN}.git" KEYWORDS="" inherit git-r3 else @@ -24,18 +23,41 @@ fi LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 x86" IUSE="" -RDEPEND="dev-python/click[${PYTHON_USEDEP}] - dev-python/markdown2[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pybars3[${PYTHON_USEDEP}] - dev-python/solidpython[${PYTHON_USEDEP}] - || ( sci-libs/Shapely[${PYTHON_USEDEP}] sci-libs/shapely[${PYTHON_USEDEP}] ) - sci-libs/shapely[${PYTHON_USEDEP}] +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/solidpython-1.1.2[${PYTHON_USEDEP}] + sci-electronics/kicad[${PYTHON_SINGLE_USEDEP}] + sci-libs/shapely[${PYTHON_USEDEP}] + ') " DEPEND="${RDEPEND} - dev-python/versioneer[${PYTHON_USEDEP}] + $(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 -r doc + dodoc -r scripts + dodoc LICENCE README.md +} diff --git a/dev-python/pcbdraw/Manifest b/dev-python/pcbdraw/Manifest new file mode 100644 index 0000000..2210563 --- /dev/null +++ b/dev-python/pcbdraw/Manifest @@ -0,0 +1,2 @@ +AUX pcbdraw 209 BLAKE2B 85ce50272fbd2d2aa7547ca7b24ab1e4aa719896e23701b9a515e546aee4495c45d3e55d08a46c4e3f595c54f1c10b3d562d489ca4a3396039866abaab34793b SHA512 6d6922430c39aadcd160fed4f665f897a5bfdaf013d1094f37f4fad3b4f30a118b62da39c563b7e239559cfdd034d8f98dfdcdfbdc0cff84da9ea4dab9afb92d +EBUILD pcbdraw-9999.ebuild 1512 BLAKE2B a1828b003584ca89ba85237d7ce027c4e461d214fd0b22e4fb3b6fa28a76187fb67193ccec83d28aaec9af4c65b37bafffadcd82270ffa3b1bf81912d9bf1aa6 SHA512 ca7db499db69522ccf94de5972a151ba40e6a073d11297ba1485d2f23a7801b1c1e4b2f903e848b9545086f56d82b5652ddce8f4cbd3522e63e7f328e3e9ff6a diff --git a/dev-python/pcbdraw/files/pcbdraw b/dev-python/pcbdraw/files/pcbdraw new file mode 100644 index 0000000..f778ab0 --- /dev/null +++ b/dev-python/pcbdraw/files/pcbdraw @@ -0,0 +1,8 @@ +#!/usr/bin/python3.9 +# -*- coding: utf-8 -*- +import re +import sys +from pcbdraw.ui import run +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(run()) diff --git a/dev-python/pcbdraw/pcbdraw-9999.ebuild b/dev-python/pcbdraw/pcbdraw-9999.ebuild new file mode 100644 index 0000000..803bb94 --- /dev/null +++ b/dev-python/pcbdraw/pcbdraw-9999.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} ) + +inherit python-single-r1 + +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="mirror://pypi/${P:0:1}/${PN}/${P}.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-0.8.4[${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.4.1[${PYTHON_USEDEP}] + dev-python/wand[${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}/pcbdraw + dodoc -r doc + dodoc LICENSE README.md +} + diff --git a/dev-python/pcbnewtransition/Manifest b/dev-python/pcbnewtransition/Manifest new file mode 100644 index 0000000..79daf9b --- /dev/null +++ b/dev-python/pcbnewtransition/Manifest @@ -0,0 +1,2 @@ +DIST pcbnewtransition-0.2.0.tar.gz 18960 BLAKE2B 4681ced2238d7898cbf5e9f44bfd0acc32b5c697cf1a513bd6d237813014dc58aa90d6d1a3947b869736b61047804e3c6215e80e60036ae502642985eb5f70c8 SHA512 650867b9d3ed7e4f9a6e9e90c58a0e8bee6efccd7cf88c145229837540d053d221f4d78f4ceb2c3286d4f64966542b5170c574b28455b9f5535f7a76b653f1c9 +EBUILD pcbnewtransition-0.2.0.ebuild 920 BLAKE2B 78bbad3237794b6df63633921556061710fa9b4c7b51b00ce1667fa0c48aed5ba4bf51699f32533300be539d5b64ddd491a96393c7756118d5d648f5f0a5550e SHA512 c5481e80e80370607d8b4d50c68e00bfa6828b2b76605b66c705fca824ab0b16312dc52b0d16b5a466343e5ba515b4d2f1b237599bbb59bf9e0f17fe42944dfd diff --git a/dev-python/pcbnewtransition/pcbnewtransition-0.2.0.ebuild b/dev-python/pcbnewtransition/pcbnewtransition-0.2.0.ebuild new file mode 100644 index 0000000..d23a819 --- /dev/null +++ b/dev-python/pcbnewtransition/pcbnewtransition-0.2.0.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_{8..10} ) + +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 +} diff --git a/dev-python/prettytable/Manifest b/dev-python/prettytable/Manifest new file mode 100644 index 0000000..56cfa9d --- /dev/null +++ b/dev-python/prettytable/Manifest @@ -0,0 +1,2 @@ +DIST prettytable-0.7.2.tar.bz2 21755 BLAKE2B 385d5bd6d4ab75a8c7ae96abc9d9e98a66a196265853113e7fb59073876e9f5e9c6c4fba9a30d80cc726a5184e78fb6451ff9a553909704fcc5022b6a08413f4 SHA512 f3a3fe6fa29f4ef090ff6cac06549ebd9db8b387e7b25fc64c4e37c8444586f50355c5573f38caabc72360aa68054aa189a67aa37f0bd13b872862ecd9151e71 +EBUILD prettytable-0.7.2-r1.ebuild 599 BLAKE2B 1133ae57b583f869d249940d7f36c97c9161a59ed56e023461c83016d85d3dce1f2d3d7f31b7ddbf73eac71db9969ce7c2eb70592f6bc37be532be63bf955d41 SHA512 384161e40a8e694a93d094f473acd7bdd5582572328c59cd6a8a8a854e1dfa6178023fab757ff81654242200380e0e5d46af4283e4d0a980085637c8f35d9339 diff --git a/dev-python/prettytable/prettytable-0.7.2-r1.ebuild b/dev-python/prettytable/prettytable-0.7.2-r1.ebuild new file mode 100644 index 0000000..f127eda --- /dev/null +++ b/dev-python/prettytable/prettytable-0.7.2-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) + +inherit distutils-r1 + +DESCRIPTION="Easily displaying tabular data in a visually appealing ASCII table format" +HOMEPAGE="https://code.google.com/p/prettytable/" +SRC_URI="mirror://pypi/P/PrettyTable/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc64 sparc x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +python_test() { + "${PYTHON}" prettytable_test.py || die "tests failed under ${EPYTHON}" +} diff --git a/dev-python/pyhidapi/Manifest b/dev-python/pyhidapi/Manifest new file mode 100644 index 0000000..f42f461 --- /dev/null +++ b/dev-python/pyhidapi/Manifest @@ -0,0 +1,2 @@ +DIST pyhidapi-1.0.4.tar.gz 3940 BLAKE2B f2c0f85f83a2720c57d8c819ab3312306dad56e4c95ea2a568d2c157b4876cdc4927c868b093c5aabdab68c8af7a5cc1315a9fcc591c9021ae8cc88026b08e68 SHA512 c159597b27314a3635862c9a7230adb599a9a64ac96e24d7d61d182d9c891c574e7d7f424baddfdeb90742058a300bf9c7bd49512ba4df41f3b94da781b23c84 +EBUILD pyhidapi-1.0.4.ebuild 563 BLAKE2B 678c0e4b8e7ae489cfe27422ee181401fcba9155e261005e68f69a35dee3d92382ad3d1de3e5f995918b46c5b8da8d45ff6acb6293473da02a8bfd1e4ebea675 SHA512 f2ba2ebfcc335ed718e5b3e0911b0b62cab6d5d1eb9dbd0606ddfc754c8cf0e670d04aeaf82cca670420df17ed7e1082e834309043551f0821cb88461e779e94 diff --git a/dev-python/pyhidapi/pyhidapi-1.0.4.ebuild b/dev-python/pyhidapi/pyhidapi-1.0.4.ebuild new file mode 100644 index 0000000..f416759 --- /dev/null +++ b/dev-python/pyhidapi/pyhidapi-1.0.4.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=7 +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="hidapi bindings in ctypes" +HOMEPAGE="https://github.com/apmorton/pyhidapi" +SRC_URI="https://github.com/apmorton/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" +IUSE="" + + +RDEPEND=" + dev-libs/hidapi +" + +DEPEND=" + ${RDEPEND} +" diff --git a/dev-python/solidpython/Manifest b/dev-python/solidpython/Manifest index aee8cb9..b3d37bd 100644 --- a/dev-python/solidpython/Manifest +++ b/dev-python/solidpython/Manifest @@ -1,2 +1,4 @@ DIST solidpython-1.0.2.tar.gz 67607 BLAKE2B 273bcf188d141d91d83be440e78346aa9b3f955ba8134e6a11d5707829218bbb27ffcdf4e8e86a093249908df4a16ac0d878fe6ed31790b5772340533e48796d SHA512 eeb7c68e54055fcfd5b53cf9c2745ea4dac602dbce158c8c7559dde21372c87cacbcac9c203cf0b577bd292a59304d48e8a4c7afcf9afdd9cc6c6cf0286e1d09 +DIST solidpython-1.1.2.tar.gz 87366 BLAKE2B 6556c7b5095d9f8d9e75851dbf0dd58c1dd6b406f4a33a5ed7e6112f9d290d7d14dd5074f85caad1ac773af3939bdaa0f3fb1307b1c44b231a20c589f016a038 SHA512 b66b530fc1abc9c8c3044ad0bb74f7dab2932c77e6374a1e46573f934c2d59af9c24dae86e54201dec7ebae4d3e0dbfa2c2733fa18394a9ce87d5fd562544dc0 EBUILD solidpython-1.0.2.ebuild 814 BLAKE2B a3b6c347beb01bd9eac3bd5889f62766eb451ab44f8bde0b7f835c0338df84a95cb5f3b3de44007e1ab85b26d4c9d9b22bd1acbf11fbd1f0f6a21e70e7bb20da SHA512 50680105f606331d50477958ef0d7e2bdd25224fb66f5c9f22e026d4a5d644f82e622be4e5416686de42d03e3e81992347b1ff80612e10a8148aeefba43e6b2b +EBUILD solidpython-1.1.2.ebuild 855 BLAKE2B 65b20fa63b46ab2b5cc53756e2f513e38623e1f4b9925dd679d646b0276e295ad417bd62a728124a136665399dc3912e230fc72423ab94770e60b1176cd7e246 SHA512 ad50cfaf3f57d7caeb2a11cd05c9da35469095131434286aeabbd76d822a9637998668994dbd2dde2ab8aa76dbf7621157a11daec76042b963770c1de67cfac6 diff --git a/dev-python/solidpython/solidpython-1.1.2.ebuild b/dev-python/solidpython/solidpython-1.1.2.ebuild new file mode 100644 index 0000000..ce88435 --- /dev/null +++ b/dev-python/solidpython/solidpython-1.1.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=7 +PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=bdepend + +inherit distutils-r1 + +DESCRIPTION="OpenSCAD for Python" +HOMEPAGE="https://github.com/SolidCode/SolidPython" +KEYWORDS="~amd64 ~x86" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-python/euclid3-0.01[${PYTHON_USEDEP}] + >=dev-python/ply-3.11[${PYTHON_USEDEP}] + >=dev-python/pypng-0.0.19[${PYTHON_USEDEP}] + ~dev-python/prettytable-0.7.2[${PYTHON_USEDEP}] + >=dev-python/regex-2019.4[${PYTHON_USEDEP}] +" + +DEPEND="${RDEPEND}" + +src_prepare() { + # Sanitize dependency versions + sed -e "s/,<0.2.0//" \ + -e "s/,<0.0.20//" \ + -e "s/,<2020.0//" \ + -i "${S}"/setup.py || die "sed failed" + + default +} diff --git a/dev-python/svgpathtools/Manifest b/dev-python/svgpathtools/Manifest new file mode 100644 index 0000000..b29ae96 --- /dev/null +++ b/dev-python/svgpathtools/Manifest @@ -0,0 +1,3 @@ +DIST svgpathtools-1.4.1.tar.gz 17448953 BLAKE2B 0865cfd68b0517111dd91c083d44182411f62cdaf72a1827280f8991a07222a752f2f98a35f8562810c716bfeb4d71b07240a72ba02bfeadf185b07c234ef90c SHA512 1a43dffb5f10804f616632fd9db9e5e7d389b2c1461e602bc528e23e3a41d0c9a3f5e424cc289ca557b379698fcfce11db501bf97916f3672b880b153f8d4a01 +EBUILD svgpathtools-1.4.1.ebuild 601 BLAKE2B d952aaebff893f4e9ed3a9c7f544716ac59235712d08fed96384937e6eca7c28607e3ff767370febe8e723e03a13e3d3a2035767693fed2575cd4b3c78cb50cb SHA512 30d5f0cfd7b439e938aa14ba1fcc24f18f53b8ec5561b36094d02e36897186c6f0c240f512f577d0d13a5bae10c39361a6feb12e4207f0a4e51b19120ce60c6e +MISC metadata.xml 861 BLAKE2B c1f1d0ab41fdc21c6134352e7261aef6f2b277aa94f9a5bfddac3281c8aef4111e1a3bd83e949fc5b7ffcc92b23bde7ede101552a06cacad9c7b82063ba64353 SHA512 5ac8a5bd6e6c46d9c5d9d320c004d2f0536acfe5cdaafad5288246a9a442a0bb6491746c767adf0d441417172d6e9ed995d4891f6959fa2b6b5b804c1c68d413 diff --git a/dev-python/svgpathtools/metadata.xml b/dev-python/svgpathtools/metadata.xml new file mode 100644 index 0000000..370a1d2 --- /dev/null +++ b/dev-python/svgpathtools/metadata.xml @@ -0,0 +1,26 @@ + + + + + gentoo@chymera.eu + Horea Christian + + + proxy-maint@gentoo.org + Proxy Maintainers + + + python@gentoo.org + Python + + + The svg.path package provides a collection of Python objects that + implement the different path commands in SVG, as well as a parser for + SVG path definitions. + + + + regebro/svg.path + svg.path + + diff --git a/dev-python/svgpathtools/svgpathtools-1.4.1.ebuild b/dev-python/svgpathtools/svgpathtools-1.4.1.ebuild new file mode 100644 index 0000000..929ad03 --- /dev/null +++ b/dev-python/svgpathtools/svgpathtools-1.4.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="A collection of tools for manipulating and analyzing SVG Path objects and Bezier curves." +HOMEPAGE="" +KEYWORDS="~amd64 ~x86" +SRC_URI="https://github.com/mathandy/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~x86" + +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}] + dev-python/svgwrite[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND=""