diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-12-26 10:57:45 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-12-26 10:57:45 +0000 |
| commit | 70cae6c2773abd6a9aa6e5a698a403b3c78efc73 (patch) | |
| tree | 98e76aac5388641af40b34814a4b257a00b6e855 /dev-python | |
| parent | 8c6408fa3a82305d08ef887b76365d22ee6cf0ec (diff) | |
| download | baldeagleos-repo-70cae6c2773abd6a9aa6e5a698a403b3c78efc73.tar.gz baldeagleos-repo-70cae6c2773abd6a9aa6e5a698a403b3c78efc73.tar.xz baldeagleos-repo-70cae6c2773abd6a9aa6e5a698a403b3c78efc73.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
35 files changed, 313 insertions, 398 deletions
diff --git a/dev-python/Levenshtein/Levenshtein-0.20.9.ebuild b/dev-python/Levenshtein/Levenshtein-0.20.9.ebuild new file mode 100644 index 000000000000..9b51956fefa3 --- /dev/null +++ b/dev-python/Levenshtein/Levenshtein-0.20.9.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# custom wrapper over setuptools +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Functions for fast computation of Levenshtein distance, and edit operations" +HOMEPAGE=" + https://pypi.org/project/Levenshtein/ + https://github.com/maxbachmann/Levenshtein/ +" +SRC_URI=" + https://github.com/maxbachmann/Levenshtein/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +DEPEND=" + >=dev-cpp/rapidfuzz-cpp-1.7.0 +" +RDEPEND=" + <dev-python/rapidfuzz-3.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + >=dev-python/scikit-build-0.13.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + # sterilize build flags + sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die + + distutils-r1_src_prepare +} diff --git a/dev-python/Levenshtein/Manifest b/dev-python/Levenshtein/Manifest index 499ea375e802..5c48d7380720 100644 --- a/dev-python/Levenshtein/Manifest +++ b/dev-python/Levenshtein/Manifest @@ -1,2 +1,3 @@ DIST Levenshtein-0.20.8.gh.tar.gz 36607 BLAKE2B 8c35c47768a21651c7922151f9a4ba24782106fee1cc2eada2b81924b3e340aa929ec8b9944a7ea9cfaf8934da49cc377849e599fedebb6187afdfd486e8b9f4 SHA512 3a248b5d1a18c8afeffaa637c831b07266dd36a094b713c18b7182a49de7df9a3b7316d00e9329e2ae49f92c601e32a61590338e30a7e4f33ffe0d76c6219061 +DIST Levenshtein-0.20.9.gh.tar.gz 36617 BLAKE2B 8e995f1c1648c81bea20844f7afc3c5dddd7dc31e5b6fc99a96930130c7f85bb32c4c4c85b319149d8511f6591ede96098038ea1b502a3e33a42ca3d21db4e2a SHA512 1d5dccd33ae8bd19b234861435212c7a57ba330a5f76a45c9e5b8ac3e401bc3d5eb3c72aea20e66bf0ebaaa6b760131dfef07fb5a2cf4d7191b595e1d962d93c DIST python-Levenshtein-0.12.2.tar.gz 50502 BLAKE2B d8992d30639e36aac1b85fada8f5273ed867aa3019208ffeb9972e999dad783d4ee16e1f6988c9306eb80f622b61fcf3a0a937b380c7a5acf50223268ed8de1d SHA512 97eac9d19121758af7620ad3963846e48434ceabb5376a83f28452015adf1a620620bfb53edb1c4f60b0fc8ec2b0faf35a105d7e2a0fc5df7a45fce81ba0dcdb diff --git a/dev-python/amodem/Manifest b/dev-python/amodem/Manifest index 7d8633d17572..e1974d5fd355 100644 --- a/dev-python/amodem/Manifest +++ b/dev-python/amodem/Manifest @@ -1 +1,2 @@ DIST amodem-1.15.3.tar.gz 30297 BLAKE2B 7ab9bce50eee0fbd788fc42ca668a187ac14e5c8e9c6d2a8c4fcddf24ec77a5e40c37edf21222d49f984d343adf46ad710973dc689e18e9065b470b4d1e3a5b6 SHA512 72e574bc4ddfbe949763427587ed2afe8baf153188cb2c6abda1c9f0e9e8f483bdda1edff9278519130b1b5d5487527d83cc9307e6f47a7a86404757199e0712 +DIST amodem-1.15.4.tar.gz 30661 BLAKE2B eea709db3be5a04c569de85457500d390432d78d6cdfab44780a7be9c885538715157cf5cd94c27a5d4e706d6f23f41dc6f863a72ccf8366de08956c2e50cbff SHA512 19eb8ed24ee93652b911a3a8b10fc89b7d567d8302328d93255d65d82c29c50d06855ba6e4228b2f12d50e7dcaadd4539305a34321a7e96ba87b2da9e25a3391 diff --git a/dev-python/amodem/amodem-1.15.3-r1.ebuild b/dev-python/amodem/amodem-1.15.3-r1.ebuild index d252df8d630d..acf48a006085 100644 --- a/dev-python/amodem/amodem-1.15.3-r1.ebuild +++ b/dev-python/amodem/amodem-1.15.3-r1.ebuild @@ -9,8 +9,7 @@ inherit distutils-r1 DESCRIPTION="Transmit data between two computers using audio" HOMEPAGE="https://github.com/romanz/amodem" -SRC_URI="https://github.com/romanz/amodem/archive/v${PV}.tar.gz -> ${P}.tar.gz - mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" diff --git a/dev-python/amodem/amodem-1.15.4.ebuild b/dev-python/amodem/amodem-1.15.4.ebuild new file mode 100644 index 000000000000..acdcc8773ea5 --- /dev/null +++ b/dev-python/amodem/amodem-1.15.4.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Transmit data between two computers using audio" +HOMEPAGE=" + https://github.com/romanz/amodem/ + https://pypi.org/project/amodem/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/cachetools/cachetools-5.2.0.ebuild b/dev-python/cachetools/cachetools-5.2.0.ebuild index ff5e9eaa56c3..127c5cdd04b9 100644 --- a/dev-python/cachetools/cachetools-5.2.0.ebuild +++ b/dev-python/cachetools/cachetools-5.2.0.ebuild @@ -17,6 +17,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv x86" distutils_enable_tests pytest diff --git a/dev-python/httpx-socks/httpx-socks-0.7.5.ebuild b/dev-python/httpx-socks/httpx-socks-0.7.5.ebuild index cf57e6f6a907..0728c44c2a41 100644 --- a/dev-python/httpx-socks/httpx-socks-0.7.5.ebuild +++ b/dev-python/httpx-socks/httpx-socks-0.7.5.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~x86" RDEPEND=" <dev-python/httpx-0.24.0[${PYTHON_USEDEP}] diff --git a/dev-python/huawei-lte-api/Manifest b/dev-python/huawei-lte-api/Manifest index 7998ded4c08f..85a60f41593d 100644 --- a/dev-python/huawei-lte-api/Manifest +++ b/dev-python/huawei-lte-api/Manifest @@ -1,2 +1,3 @@ +DIST huawei-lte-api-1.6.10.gh.tar.gz 36991 BLAKE2B d0999e8988bce8d8683b64423bb5f7380224fb4a6c7068f21107987d8e98921a6db54fca18e4e336320b4ee586d9e77adb56a13a4aeda80c14cd2533acad4a57 SHA512 183232335d7a313af57c7812e18365d4b3ce3bcda9f0a857fc30a04357e2ac2c72e95fbb4593d8e2b83c5cebed9922bac1f6910ad06929ff051678769a047fa2 DIST huawei-lte-api-1.6.7.gh.tar.gz 34677 BLAKE2B 289f9aefbf0c9491dcaa3a0afc120a70d578092e4bcf1ae66d30cff528dfa8231dbfc60c4660d8862b82801429b61bb97f584319e49307cbd44051cbf1c80239 SHA512 184c3e05e5d1b3b19ebdd3caaceb79fecbe8ed7f2337d7d4b0dc392f6e6ca8f45f663c8d6056d8660e8167f357d329015fd13b521093ae92b0a9a6b04c42e352 DIST huawei-lte-api-1.6.9.gh.tar.gz 35605 BLAKE2B e81e3769fdd6307ae69cb0ff59bbe5e6c8e1cfe2a9629c683859c0ff0dfb9d44376f0d0cb33c40f7ed0211ca7ea4f990d8f471a154605475db2f126ec9bcf080 SHA512 224236356f899e8d621e87320e58faef7a4a313105d1938ba3fdc0fbe9f8e2b1135eac62aca39cd2f7c677e1aaa822821677adbbd18df4f00b7cf475c986a1f8 diff --git a/dev-python/huawei-lte-api/huawei-lte-api-1.6.10.ebuild b/dev-python/huawei-lte-api/huawei-lte-api-1.6.10.ebuild new file mode 100644 index 000000000000..f8bf1ffcbb8d --- /dev/null +++ b/dev-python/huawei-lte-api/huawei-lte-api-1.6.10.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="API For huawei LAN/WAN LTE Modems" +HOMEPAGE=" + https://github.com/Salamek/huawei-lte-api/ + https://pypi.org/project/huawei-lte-api/ +" +SRC_URI=" + https://github.com/Salamek/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/pycryptodome[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] +" + +python_prepare_all() { + # make cryptodome-friendly + sed -i -e 's:pycryptodomex:pycryptodome:' setup.py || die + find -name '*.py' -exec \ + sed -i -e 's:Cryptodome:Crypto:g' {} + || die + + distutils-r1_python_prepare_all +} + +distutils_enable_tests pytest diff --git a/dev-python/hypercorn/hypercorn-0.14.3-r1.ebuild b/dev-python/hypercorn/hypercorn-0.14.3-r1.ebuild index aab057d5d9a6..ab556e112304 100644 --- a/dev-python/hypercorn/hypercorn-0.14.3-r1.ebuild +++ b/dev-python/hypercorn/hypercorn-0.14.3-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~x86" RDEPEND=" dev-python/h11[${PYTHON_USEDEP}] diff --git a/dev-python/natsort/natsort-8.2.0.ebuild b/dev-python/natsort/natsort-8.2.0.ebuild index f5a6731c96a0..f207bcd7f043 100644 --- a/dev-python/natsort/natsort-8.2.0.ebuild +++ b/dev-python/natsort/natsort-8.2.0.ebuild @@ -4,12 +4,15 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) inherit distutils-r1 optfeature DESCRIPTION="Natural sorting for Python" -HOMEPAGE="https://pypi.org/project/natsort/" +HOMEPAGE=" + https://github.com/SethMMorton/natsort/ + https://pypi.org/project/natsort/ +" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" @@ -20,7 +23,8 @@ BDEPEND=" test? ( dev-python/hypothesis[${PYTHON_USEDEP}] dev-python/pytest-mock[${PYTHON_USEDEP}] - )" + ) +" distutils_enable_tests pytest diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest index a90b4dd2c2fe..02c801137df2 100644 --- a/dev-python/pip-run/Manifest +++ b/dev-python/pip-run/Manifest @@ -1 +1,2 @@ DIST pip-run-9.0.0.gh.tar.gz 23171 BLAKE2B ca1bee27f4d1826029aa2520dbad9807d22ce66326fd917f0b7687284ce3daf9abcd45e593d735633fb86186ea88ffa0b71780f9b56e27458798763db309bd9d SHA512 117b2260fe628dcc5aae47335ab645c2db47ca9b4d5cd0446ef11bb399c0e91df3a32b61aa7a228aca4d7b837228ddb41fe010896f7debf5fbca6111398cce73 +DIST pip-run-9.2.1.gh.tar.gz 24104 BLAKE2B ebb26cd5356a5919d74c6601b36deed0046c0d67d7533f5817b62b7b7ba74240ef44dd2425be7143f8432d3f8a3f611a051f099b6059e64479eadd77e8f39b45 SHA512 f320da7641817df5c9418094fb49792e3368907ddac551ef22d97ab45b5183cb84f40338da106d5a47d238ca68ca376cbfc6d6c3528b9fca1db02bf910bd3d28 diff --git a/dev-python/pip-run/pip-run-9.2.1.ebuild b/dev-python/pip-run/pip-run-9.2.1.ebuild new file mode 100644 index 000000000000..b97e565e0964 --- /dev/null +++ b/dev-python/pip-run/pip-run-9.2.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Install packages and run Python with them" +HOMEPAGE=" + https://github.com/jaraco/pip-run/ + https://pypi.org/project/pip-run/ +" +SRC_URI=" + https://github.com/jaraco/pip-run/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/autocommand[${PYTHON_USEDEP}] + dev-python/jaraco-context[${PYTHON_USEDEP}] + dev-python/jaraco-text[${PYTHON_USEDEP}] + >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/path[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jaraco-path[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # Needs network access, and another test dep nbformat + tests/test_scripts.py +) + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/pycairo/Manifest b/dev-python/pycairo/Manifest index 1b93929f7d42..2cadb907c99e 100644 --- a/dev-python/pycairo/Manifest +++ b/dev-python/pycairo/Manifest @@ -1,3 +1 @@ -DIST pycairo-1.21.0.tar.gz 340712 BLAKE2B 6578c75b478c14c641b5c0be44c3c633d32ecc09c4ef22a079024dd12b539d37f88efa6ce8aadb5a88a48b3cc793e573afe00eaa4e3ba563c3133cad72dacfe4 SHA512 0de226b05d0a358f3546e4a0d5bf342f124373718d4900c891a09c1ede11e3ed1fb9bee163c00acfc215044683ddf0b29c8573b7454f9c39f957a47d63c34baf -DIST pycairo-1.22.0.tar.gz 342295 BLAKE2B b331a627aea3b5fabaf9bbc089b5bb975178ea3be6383207ebefa994900dd73ff503309474729c9ce7b69e41c6495dd83a0db0d51410bea9aa37b30975e39700 SHA512 2a8da5b905536291291655a237fd0c6c54a5fe91a38296cffdc187c0c35837bd3176045f4ab39e59e7f67947deba7ba076c5e6ffdb46256b4b180c42267f41b6 DIST pycairo-1.23.0.tar.gz 344623 BLAKE2B e0551e2d4259d509f3165682b11852f28f0df93e6befcd398ef95bc5f0eed0818dc72a05a9b085148d4369e9b3283bc4d91ce032c6c88a3b15962c83eb03db57 SHA512 fc0cc878cc716a6a2baf89a193facfcd89970c884afd3bb9d7fbecf42894ddd191988a8f0fe79100786509f17fbe4f1990eca33a5299414b2df2539d66de5abf diff --git a/dev-python/pycairo/pycairo-1.21.0-r1.ebuild b/dev-python/pycairo/pycairo-1.21.0-r1.ebuild deleted file mode 100644 index 1f6d715ac213..000000000000 --- a/dev-python/pycairo/pycairo-1.21.0-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Python bindings for the cairo library" -HOMEPAGE="https://www.cairographics.org/pycairo/ https://github.com/pygobject/pycairo" -SRC_URI="https://github.com/pygobject/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="|| ( LGPL-2.1 MPL-1.1 )" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="examples" - -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - ) -" -RDEPEND=" - >=x11-libs/cairo-1.15.10[svg(+)] -" -DEPEND="${RDEPEND}" - -distutils_enable_sphinx docs \ - dev-python/sphinx_rtd_theme -distutils_enable_tests setup.py - -python_install() { - distutils-r1_python_install \ - install_pkgconfig --pkgconfigdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig" -} - -python_install_all() { - if use examples; then - dodoc -r examples - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/pycairo/pycairo-1.22.0.ebuild b/dev-python/pycairo/pycairo-1.22.0.ebuild deleted file mode 100644 index 012914827463..000000000000 --- a/dev-python/pycairo/pycairo-1.22.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Python bindings for the cairo library" -HOMEPAGE=" - https://www.cairographics.org/pycairo/ - https://github.com/pygobject/pycairo/ - https://pypi.org/project/pycairo/ -" -SRC_URI=" - https://github.com/pygobject/${PN}/releases/download/v${PV}/${P}.tar.gz -" - -LICENSE="|| ( LGPL-2.1 MPL-1.1 )" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="examples" - -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" -RDEPEND=" - >=x11-libs/cairo-1.15.10[svg(+)] -" -DEPEND="${RDEPEND}" - -distutils_enable_sphinx docs \ - dev-python/sphinx_rtd_theme -distutils_enable_tests pytest - -python_test() { - esetup.py build_tests - epytest -} - -python_install() { - distutils-r1_python_install \ - install_pkgconfig --pkgconfigdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig" -} - -python_install_all() { - if use examples; then - dodoc -r examples - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/pycairo/pycairo-1.23.0.ebuild b/dev-python/pycairo/pycairo-1.23.0.ebuild index 1a9abf85d801..c3fb7d521714 100644 --- a/dev-python/pycairo/pycairo-1.23.0.ebuild +++ b/dev-python/pycairo/pycairo-1.23.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="|| ( LGPL-2.1 MPL-1.1 )" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="examples" BDEPEND=" diff --git a/dev-python/pyproject-api/pyproject-api-1.2.1.ebuild b/dev-python/pyproject-api/pyproject-api-1.2.1.ebuild index c34de115429a..09c79c848032 100644 --- a/dev-python/pyproject-api/pyproject-api-1.2.1.ebuild +++ b/dev-python/pyproject-api/pyproject-api-1.2.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~ppc" RDEPEND=" >=dev-python/packaging-21.3[${PYTHON_USEDEP}] diff --git a/dev-python/python-multipart/python-multipart-0.0.5.ebuild b/dev-python/python-multipart/python-multipart-0.0.5.ebuild index 4dbedaeadc5e..56c511608086 100644 --- a/dev-python/python-multipart/python-multipart-0.0.5.ebuild +++ b/dev-python/python-multipart/python-multipart-0.0.5.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~x86" BDEPEND=" test? ( diff --git a/dev-python/python-socks/python-socks-2.1.1.ebuild b/dev-python/python-socks/python-socks-2.1.1.ebuild index 5c59e31a16f8..5945059c2a81 100644 --- a/dev-python/python-socks/python-socks-2.1.1.ebuild +++ b/dev-python/python-socks/python-socks-2.1.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~x86" # curio is not packaged # asyncio is the only backend we have, so dep on its deps unconditionally diff --git a/dev-python/python-xlib/Manifest b/dev-python/python-xlib/Manifest index ab41890b092f..39759f903c90 100644 --- a/dev-python/python-xlib/Manifest +++ b/dev-python/python-xlib/Manifest @@ -1,2 +1,3 @@ DIST python-xlib-0.31.tar.bz2 211425 BLAKE2B c0a15b11c264942479c86088d8d5bdc0c759ae71df8939feee200ff58ec30d3b2c0a99a119cc56e5c32279b26517e7925cf9124a367dc7d32fcaf0be4f7cd41e SHA512 f98978cd0058ae18f08f9da71b4ff31cd7811040ec1eb03ce065c187f312259d674dd76aad447752c8f508e585838948c90182eef5d5240e6c06b0a5dd1fbd33 DIST python-xlib-0.32.tar.bz2 213554 BLAKE2B cf24645529c6ca67a4825419837f312fa4ae0902bd2fb8f2eade7cc1645a3f79201b43c7ddca0cdcf8b21f623583acee1252cbe83d3700ab08979b8f0723b0a4 SHA512 9fecb77fa5d7ffba4c8031c0738147b7581dee9aed1a812254d22d78b6021cfc08743edb76829a3e5ba31f9a42648ea501b50ddcf5652ec3114a367c5e83d465 +DIST python-xlib-0.33.tar.bz2 213763 BLAKE2B 53486ec938bc00306658f3151556f1353fe5881ab942d06493f6f78d33b4cff8aab6e6aa5ad7e9124824d61549545719375c84f7b9376518e2328fa2e65df553 SHA512 3b7b4fea5cd69544d2227806853bdfdd04447089e182ca0f199e18e8bd43375d9bf03c819fd6a055ad4ad274594651e05db82585ab40d0fcf225ce36b553c991 diff --git a/dev-python/python-xlib/python-xlib-0.33.ebuild b/dev-python/python-xlib/python-xlib-0.33.ebuild new file mode 100644 index 000000000000..95e3354bc325 --- /dev/null +++ b/dev-python/python-xlib/python-xlib-0.33.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="A fully functional X client library for Python, written in Python" +HOMEPAGE=" + https://github.com/python-xlib/python-xlib/ + https://pypi.org/project/python-xlib/ +" +SRC_URI=" + https://github.com/python-xlib/python-xlib/releases/download/${PV}/${P}.tar.bz2 +" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="doc" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + dev-python/setuptools_scm[${PYTHON_USEDEP}] + doc? ( sys-apps/texinfo ) + test? ( dev-python/mock[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests unittest + +python_compile_all() { + use doc && emake -C doc/info +} + +src_test() { + virtx distutils-r1_src_test +} + +python_install_all() { + use doc && doinfo doc/info/*.info + distutils-r1_python_install_all +} diff --git a/dev-python/seedir/Manifest b/dev-python/seedir/Manifest new file mode 100644 index 000000000000..0924726d115d --- /dev/null +++ b/dev-python/seedir/Manifest @@ -0,0 +1 @@ +DIST seedir-0.4.2.gh.tar.gz 3096194 BLAKE2B daabdf1f5bb202ab454bea376c6e14dab2eb9c964a3bf87349c3ac6075bb8ed201b66082518aff01cb4515e89026a02c662da5e9a5f43c5d0ea21556cda07e90 SHA512 8d16ae1ba020268f9587742cacbc55ecc1d218f36955c625f64829940396c908d0498ee6bf50d560f87b10488dc6daa5698681e10e1699d20d958b3cd58f14c4 diff --git a/dev-python/seedir/metadata.xml b/dev-python/seedir/metadata.xml new file mode 100644 index 000000000000..ea8988e8af6a --- /dev/null +++ b/dev-python/seedir/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/seedir/seedir-0.4.2.ebuild b/dev-python/seedir/seedir-0.4.2.ebuild new file mode 100644 index 000000000000..ceda2190b6cc --- /dev/null +++ b/dev-python/seedir/seedir-0.4.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Package for creating, editing, and reading folder tree diagrams" +HOMEPAGE=" + https://github.com/earnestt1234/seedir/ + https://pypi.org/project/seedir/ +" +SRC_URI=" + https://github.com/earnestt1234/seedir/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/natsort[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest diff --git a/dev-python/starlette/starlette-0.23.1.ebuild b/dev-python/starlette/starlette-0.23.1.ebuild index 3f72a5f3bc76..07151be16cbd 100644 --- a/dev-python/starlette/starlette-0.23.1.ebuild +++ b/dev-python/starlette/starlette-0.23.1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~x86" RDEPEND=" <dev-python/anyio-5[${PYTHON_USEDEP}] diff --git a/dev-python/sybil/Manifest b/dev-python/sybil/Manifest index df143e6c4dbb..c5dc440f16fa 100644 --- a/dev-python/sybil/Manifest +++ b/dev-python/sybil/Manifest @@ -1 +1,2 @@ DIST sybil-3.0.1.tar.gz 38265 BLAKE2B 3a9dd8d85a5a6228944f104d255826b4dfee80f5a349da3a0fa69edcfa0953145378f002c1bf834e21c0d382fc96a993b927bdc92bb3e9a84d34998ad6ade62f SHA512 312c57f0de646b1e7a3b992806362c1020b2d567c805d248e94ab22a336a8fc77704234e123e1ec74987bfea620b2f8c4d3714d32aee03587c615d3d90fe5558 +DIST sybil-4.0.0.gh.tar.gz 50845 BLAKE2B 5c7144ad1dd131f98c48f18cf6770782529a3c86a3f976461f032c9024ef93dc2de3c8bc327421a55a3f505982608e15cdcfe022f964c4fd871bd9de61205d68 SHA512 6cf0422ba856a85ba5dd105481cb2d06eb2ff196aee263a36e7ab44c7d45185df022bd859afc92b3b42dc418142e441f377adda82c0b5b0d1410697b563db994 diff --git a/dev-python/sybil/sybil-4.0.0.ebuild b/dev-python/sybil/sybil-4.0.0.ebuild new file mode 100644 index 000000000000..e81ab80596f4 --- /dev/null +++ b/dev-python/sybil/sybil-4.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Automated testing for the examples in your documentation" +HOMEPAGE=" + https://github.com/simplistix/sybil/ + https://pypi.org/project/sybil/ +" +SRC_URI=" + https://github.com/simplistix/sybil/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/myst_parser[${PYTHON_USEDEP}] + dev-python/seedir[${PYTHON_USEDEP}] + dev-python/testfixtures[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/time-machine/time-machine-2.8.2.ebuild b/dev-python/time-machine/time-machine-2.8.2.ebuild index e46976f6f11d..2df7471d3ad0 100644 --- a/dev-python/time-machine/time-machine-2.8.2.ebuild +++ b/dev-python/time-machine/time-machine-2.8.2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~ppc" RDEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}] diff --git a/dev-python/tiny-proxy/tiny-proxy-0.1.1.ebuild b/dev-python/tiny-proxy/tiny-proxy-0.1.1.ebuild index a77e2c9b1953..b1867ad29b87 100644 --- a/dev-python/tiny-proxy/tiny-proxy-0.1.1.ebuild +++ b/dev-python/tiny-proxy/tiny-proxy-0.1.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~x86" RDEPEND=" <dev-python/anyio-4.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 5fc4969470da..7d715b7cf3fa 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -1,7 +1,4 @@ DIST tox-3.27.1.gh.tar.gz 309006 BLAKE2B fa8aaa9cd5b03e54c166bb6b748290420b91498b26d2d124d9f88a64806b9ac0578c1886845b25aa024907f6a782c45609fa6c7657d9e1f538b59c2d9f0f4e14 SHA512 5f568bc6c53f871aae91928681dd6f2419b876a8e6ca925e65abae845b548ee3d00513741882875bbbacb78bf64935228d98213f940d3da8c3f788b73f177b79 DIST tox-3.28.0.gh.tar.gz 309472 BLAKE2B 9896411426f6aebb3efa468c01696ecc5f17ec3e67825672d0efc74c1b1468bc8b8d9c14b6177c181750ba4b9a5e77d616068dd83e21f5641acfc8e2a271cc1f SHA512 64816754e6800661bb564c5c7d21c4139522d540a04fafe3c4591d596072d48d1cbe0ee2abee9c8faf3d5007774f5371431b5a7a8f49912bc879c7b168aab2ca -DIST tox-4.0.12.gh.tar.gz 282817 BLAKE2B 7237f33086c9e0147457bf46db47f6b4e6fcaf33929d0950e439e04950119e3199c3d41c4f6856935bb4cd27f613a9c925f4e366a61f22067d5837f1f5f2307c SHA512 7ffc0ed622c59df8ab0b1692dc774ab8efa1753dd4f872e0baaca213b4da29b9c3718b63eb3f655802a23d6493c61e3d3e003d192d73bb536f0da16411db2685 -DIST tox-4.0.13.gh.tar.gz 283017 BLAKE2B 2bf55f1514cbc1806404f4106b2af701f28698da0fd9789a71d582612b7eeb2356d15b26a9dd0e663b19cdcb90e975138c15cd80ee5f10c261a8b203bef0d830 SHA512 a08139b490ab2e967cb9fdb9ffb290fa1dcce3102d41b07fdfd566f9d270873d6371229dacae5e00a4816bf37eb7cca12bae0948e5b4e6c1879e96b444070d4b -DIST tox-4.0.14.gh.tar.gz 283154 BLAKE2B 8701f25b00152c283503f082765e28b46f2c01b01bc86129dee6b28fd623bb2ae2c2726401b69e278edbc4fffbaad672aa02504870a1c05ec965a819dc812933 SHA512 3ed0a80b438ac11804b56f6b55a504c0246b0a8cfa9bb4fa8246758bd942ac0b0b5c203e89069303faa47a2dcd009ea81ef9f8e3e38e6d9a30dd4f05c0b79510 -DIST tox-4.0.15.gh.tar.gz 283422 BLAKE2B 7efe3d50d0d08ba32f462e8d533ed97779e65c3830ae3af211dbb164828bcb1158cf0cc8581aa2dc727aea595b2e942a5c581c310b9afe8384a711e53a38d9a9 SHA512 5232abc6f7824a576bb40d2615c0c90a189a516faa9089cc7e3d1eadebe95e44cbcbb02792c0b34753448b8269f0b6035c2755c2d3bd48a49aa1b656db6d57f7 DIST tox-4.0.16.gh.tar.gz 283676 BLAKE2B b9b8149dcfa141518cb18a0ac3263c65f4928fc068357d7a513971d7037cc60cb4b3627d61d3e3479622b9fcbdc235356ca97cde993ab47db7abf4755854b17d SHA512 db4428b576dd3b669969b2390203ba6a0efa85f60073374b32c7ff1273745dde59ef0ffd404a7db98ca9056c5d5b5bd1811b51af7b475c116816c150c4d88c4c +DIST tox-4.0.17.gh.tar.gz 284062 BLAKE2B 65055fd793fa5d4006d0082a89d7f42452cc5b3d1507a87875175db334bf177efeefa8b3e671d9042b795d8f21898ea1b1650cb1337bb9581a3b83ce8b42fec7 SHA512 065f4b91c32902fc8a65b5529e615af428a5ee8f8ad5cebee6c4ba14ceea315844cda8c6d2a882ba34baf7369d5676f210752d89d1cb3f9e2c7d7af790481193 diff --git a/dev-python/tox/tox-4.0.12.ebuild b/dev-python/tox/tox-4.0.12.ebuild deleted file mode 100644 index 620c2a4536f4..000000000000 --- a/dev-python/tox/tox-4.0.12.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 - -MY_P=${P/_} -DESCRIPTION="virtualenv-based automation of test activities" -HOMEPAGE=" - https://tox.readthedocs.io/ - https://github.com/tox-dev/tox/ - https://pypi.org/project/tox/ -" -SRC_URI=" - https://github.com/tox-dev/tox/archive/${PV/_}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/cachetools-5.2[${PYTHON_USEDEP}] - >=dev-python/chardet-5.1[${PYTHON_USEDEP}] - >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] - >=dev-python/filelock-3.8.2[${PYTHON_USEDEP}] - >=dev-python/packaging-21.3[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.6[${PYTHON_USEDEP}] - >=dev-python/pluggy-1[${PYTHON_USEDEP}] - >=dev-python/pyproject-api-1.2.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - ' 3.8 3.9 3.10) - >=dev-python/virtualenv-20.17.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/hatch-vcs-0.2.1[${PYTHON_USEDEP}] - test? ( - dev-python/build[${PYTHON_USEDEP}] - >=dev-python/distlib-0.3.6[${PYTHON_USEDEP}] - >=dev-python/flaky-3.7[${PYTHON_USEDEP}] - >=dev-python/psutil-5.9.4[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] - >=dev-python/re-assert-1.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/time-machine-2.8.2[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -src_prepare() { - # the minimal bounds in tox are entirely meaningless and new packaging - # breaks setuptools - sed -i -e '/packaging/s:>=22::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - # devpi_process is not packaged, and has lots of dependencies - cat > "${T}"/devpi_process.py <<-EOF || die - def IndexServer(*args, **kwargs): raise NotImplementedError() - EOF - - local -x PYTHONPATH=${T}:${PYTHONPATH} - local EPYTEST_DESELECT=( - # Internet - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external - ) - local EPYTEST_IGNORE=( - # requires devpi* - tests/test_provision.py - ) - if ! has_version "dev-python/time_machine[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( - tests/util/test_spinner.py - ) - fi - - epytest -} diff --git a/dev-python/tox/tox-4.0.13.ebuild b/dev-python/tox/tox-4.0.13.ebuild deleted file mode 100644 index 620c2a4536f4..000000000000 --- a/dev-python/tox/tox-4.0.13.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 - -MY_P=${P/_} -DESCRIPTION="virtualenv-based automation of test activities" -HOMEPAGE=" - https://tox.readthedocs.io/ - https://github.com/tox-dev/tox/ - https://pypi.org/project/tox/ -" -SRC_URI=" - https://github.com/tox-dev/tox/archive/${PV/_}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/cachetools-5.2[${PYTHON_USEDEP}] - >=dev-python/chardet-5.1[${PYTHON_USEDEP}] - >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] - >=dev-python/filelock-3.8.2[${PYTHON_USEDEP}] - >=dev-python/packaging-21.3[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.6[${PYTHON_USEDEP}] - >=dev-python/pluggy-1[${PYTHON_USEDEP}] - >=dev-python/pyproject-api-1.2.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - ' 3.8 3.9 3.10) - >=dev-python/virtualenv-20.17.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/hatch-vcs-0.2.1[${PYTHON_USEDEP}] - test? ( - dev-python/build[${PYTHON_USEDEP}] - >=dev-python/distlib-0.3.6[${PYTHON_USEDEP}] - >=dev-python/flaky-3.7[${PYTHON_USEDEP}] - >=dev-python/psutil-5.9.4[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] - >=dev-python/re-assert-1.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/time-machine-2.8.2[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -src_prepare() { - # the minimal bounds in tox are entirely meaningless and new packaging - # breaks setuptools - sed -i -e '/packaging/s:>=22::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - # devpi_process is not packaged, and has lots of dependencies - cat > "${T}"/devpi_process.py <<-EOF || die - def IndexServer(*args, **kwargs): raise NotImplementedError() - EOF - - local -x PYTHONPATH=${T}:${PYTHONPATH} - local EPYTEST_DESELECT=( - # Internet - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external - ) - local EPYTEST_IGNORE=( - # requires devpi* - tests/test_provision.py - ) - if ! has_version "dev-python/time_machine[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( - tests/util/test_spinner.py - ) - fi - - epytest -} diff --git a/dev-python/tox/tox-4.0.15.ebuild b/dev-python/tox/tox-4.0.15.ebuild deleted file mode 100644 index 620c2a4536f4..000000000000 --- a/dev-python/tox/tox-4.0.15.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 - -MY_P=${P/_} -DESCRIPTION="virtualenv-based automation of test activities" -HOMEPAGE=" - https://tox.readthedocs.io/ - https://github.com/tox-dev/tox/ - https://pypi.org/project/tox/ -" -SRC_URI=" - https://github.com/tox-dev/tox/archive/${PV/_}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/cachetools-5.2[${PYTHON_USEDEP}] - >=dev-python/chardet-5.1[${PYTHON_USEDEP}] - >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] - >=dev-python/filelock-3.8.2[${PYTHON_USEDEP}] - >=dev-python/packaging-21.3[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.6[${PYTHON_USEDEP}] - >=dev-python/pluggy-1[${PYTHON_USEDEP}] - >=dev-python/pyproject-api-1.2.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - ' 3.8 3.9 3.10) - >=dev-python/virtualenv-20.17.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/hatch-vcs-0.2.1[${PYTHON_USEDEP}] - test? ( - dev-python/build[${PYTHON_USEDEP}] - >=dev-python/distlib-0.3.6[${PYTHON_USEDEP}] - >=dev-python/flaky-3.7[${PYTHON_USEDEP}] - >=dev-python/psutil-5.9.4[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] - >=dev-python/re-assert-1.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/time-machine-2.8.2[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -src_prepare() { - # the minimal bounds in tox are entirely meaningless and new packaging - # breaks setuptools - sed -i -e '/packaging/s:>=22::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - # devpi_process is not packaged, and has lots of dependencies - cat > "${T}"/devpi_process.py <<-EOF || die - def IndexServer(*args, **kwargs): raise NotImplementedError() - EOF - - local -x PYTHONPATH=${T}:${PYTHONPATH} - local EPYTEST_DESELECT=( - # Internet - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external - ) - local EPYTEST_IGNORE=( - # requires devpi* - tests/test_provision.py - ) - if ! has_version "dev-python/time_machine[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( - tests/util/test_spinner.py - ) - fi - - epytest -} diff --git a/dev-python/tox/tox-4.0.14.ebuild b/dev-python/tox/tox-4.0.17.ebuild index 620c2a4536f4..ecac4627b405 100644 --- a/dev-python/tox/tox-4.0.14.ebuild +++ b/dev-python/tox/tox-4.0.17.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~ppc" RDEPEND=" >=dev-python/cachetools-5.2[${PYTHON_USEDEP}] @@ -40,7 +40,7 @@ RDEPEND=" >=dev-python/virtualenv-20.17.1[${PYTHON_USEDEP}] " BDEPEND=" - >=dev-python/hatch-vcs-0.2.1[${PYTHON_USEDEP}] + >=dev-python/hatch-vcs-0.3[${PYTHON_USEDEP}] test? ( dev-python/build[${PYTHON_USEDEP}] >=dev-python/distlib-0.3.6[${PYTHON_USEDEP}] |
