diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-08-20 06:23:14 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-08-20 06:23:14 +0000 |
| commit | f32cf96975987b28f708642b8e4a880ed8ba68bc (patch) | |
| tree | 519a2036b2f4aa1c29a43805ed3339e92fff1d86 /dev-python | |
| parent | ab42870e8f96e9d72a51b0297161663f7310c962 (diff) | |
| download | baldeagleos-repo-f32cf96975987b28f708642b8e4a880ed8ba68bc.tar.gz baldeagleos-repo-f32cf96975987b28f708642b8e4a880ed8ba68bc.tar.xz baldeagleos-repo-f32cf96975987b28f708642b8e4a880ed8ba68bc.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
72 files changed, 179 insertions, 1953 deletions
diff --git a/dev-python/APScheduler/APScheduler-3.10.4.ebuild b/dev-python/APScheduler/APScheduler-3.10.4.ebuild new file mode 100644 index 000000000000..f8ae9a60f80d --- /dev/null +++ b/dev-python/APScheduler/APScheduler-3.10.4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="In-process task scheduler with Cron-like capabilities" +HOMEPAGE=" + https://github.com/agronholm/apscheduler/ + https://pypi.org/project/APScheduler/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/six-1.4.0[${PYTHON_USEDEP}] + >=dev-python/tzlocal-4[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/sqlalchemy-1.4[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-tornado[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + # disable test fixtures using external servers (mongodb, redis...) + # these fixtures are using markers in git master, so the patch + # should be no longer necessary with next major bump + "${FILESDIR}"/APScheduler-3.8.1-external-server-tests.patch +) + +EPYTEST_DESELECT=( + tests/test_jobstores.py::test_repr_mongodbjobstore + tests/test_jobstores.py::test_repr_redisjobstore + tests/test_jobstores.py::test_repr_zookeeperjobstore + tests/test_executors.py::test_broken_pool +) + +python_prepare_all() { + # suppress setuptools warning #797751 + sed -e 's|^upload-dir|upload_dir|' -i setup.cfg || die + sed -e '/addopts/d' -i setup.cfg || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p tornado +} diff --git a/dev-python/APScheduler/Manifest b/dev-python/APScheduler/Manifest index 6b979a2fd44c..c5270f699cd5 100644 --- a/dev-python/APScheduler/Manifest +++ b/dev-python/APScheduler/Manifest @@ -1,3 +1,4 @@ DIST APScheduler-3.10.1.tar.gz 100376 BLAKE2B 6b5aed1197ec6cdcf2c82d73c2809d9fd304401ad5ac482cdd0dfc310356248b9ba5f0cf611f5484f4098c92d7b6f8b81f117fe5fd645b5d20ba0fbb7f1d6c97 SHA512 bba68c97d2e7cda6503a8471a61bf57c11b9c8b6dde4d1da65f7d134bf72f631b3f70815ac7db3f75313833c780ee6ded0b8d0e1c9a86e05e741788bcd041008 DIST APScheduler-3.10.2.tar.gz 100853 BLAKE2B 540517028af71f8325c74d9fc87c44aeb20440be5a670aaa488069090acec5d19c950ab2df67e55e83b52140343e384a1214d7c7390ce50d3d5fca99bac492c8 SHA512 42a1c7df47ab41c06f87e9d0828950c78abe50e1f6648d5eda425db74edf1d07473129d1a1b9a4a82c32dfadacba9b3dca2e5b2772ba733007c502b31c34d43d DIST APScheduler-3.10.3.tar.gz 100837 BLAKE2B 62bd62937bf8a73e082812df6436200a8ea7352dda960d946cc3ef1257f75a63e211a252554e0aba2098289e2d50b7b32e91ab95cbe94ba53f899f11e041c9b2 SHA512 b061678cadff769e1908dea00e9687abec7f8d92ed9a0201fc630c569160a0cc19c7b880842625660e368f486f4c288e2dc005518d1b92eb674f8c06920e32c7 +DIST APScheduler-3.10.4.tar.gz 100832 BLAKE2B d519a85c54951e4b5a09449f1ceda1afe8ff0120c4a7cfab4f72fb9dacc41ac73bb66bedd6615cf126f53b590eb02617ac739bac078f21dd503c2e081a057cec SHA512 44b78e60b7349437fb8d6e5ad3bbd764cfa653fdd65685b586119225e8daaff9b150871887812a1f3d4cd67b942c70e99d1606d38b83685953fb1bb1a82742fe diff --git a/dev-python/black/black-23.7.0.ebuild b/dev-python/black/black-23.7.0.ebuild index b98201c006f3..dffa6856f8ec 100644 --- a/dev-python/black/black-23.7.0.ebuild +++ b/dev-python/black/black-23.7.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" RDEPEND=" >=dev-python/click-8.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/cython/cython-3.0.0-r1.ebuild b/dev-python/cython/cython-3.0.0-r1.ebuild index 068b60b0f3d7..827a9611bd19 100644 --- a/dev-python/cython/cython-3.0.0-r1.ebuild +++ b/dev-python/cython/cython-3.0.0-r1.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/fritzconnection/Manifest b/dev-python/fritzconnection/Manifest index 66e23e75dc70..de84719de25c 100644 --- a/dev-python/fritzconnection/Manifest +++ b/dev-python/fritzconnection/Manifest @@ -1 +1,2 @@ DIST fritzconnection-1.12.2.gh.tar.gz 157170 BLAKE2B 9d924ad3146361d9301f10154152cdf98987572880b79052bf9f2fa427fc8410bacae92e49219dd11372c2cce2d03fb0ffd4c732a45e210a05a0a561ba5fc155 SHA512 a9c62fdaa59f20e7661836888f49cadfc99d192c393f34d4cce59aa9b9a9eda162e25029933854e84de44e08190190f312bb3862d708e79d7cf1ee8496726eab +DIST fritzconnection-1.13.0.gh.tar.gz 160654 BLAKE2B e3ed78640a015d2dc785b2e04f32f6d4e81ba88bf4d823cd643e0f4ebc2ec8396c79c8e368012944f5809512a05d6d4715cdf7d0d76e518479a0a77e20350fae SHA512 6776ba37b52a80eee57a77a75f7815491a575ab8a1c36d20633b39d61e8f0fc295c1ec1d20bb6620e43854b954d9fd044e88d0344a10c0b3707fffb3edc733a4 diff --git a/dev-python/fritzconnection/fritzconnection-1.13.0.ebuild b/dev-python/fritzconnection/fritzconnection-1.13.0.ebuild new file mode 100644 index 000000000000..ad66fb00a93b --- /dev/null +++ b/dev-python/fritzconnection/fritzconnection-1.13.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Lib/tool to communicate with AVM FRITZ! devices using TR-064 protocol over UPnP" +HOMEPAGE=" + https://github.com/kbr/fritzconnection/ + https://pypi.org/project/fritzconnection/ +" + +LICENSE="MIT" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/kbr/fritzconnection" + inherit git-r3 +else + SRC_URI=" + https://github.com/kbr/fritzconnection/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~x86" +fi + +RDEPEND=" + >=dev-python/requests-2.22[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # flaky (relies on time.sleep(0.01) magically being sufficient) + fritzconnection/tests/test_fritzmonitor.py::test_terminate_thread_on_failed_reconnection + ) + + # "routertest" marks tests against live hardware + epytest -m "not routertest" +} diff --git a/dev-python/inflect/Manifest b/dev-python/inflect/Manifest index a0490f399321..38f75d1b5a45 100644 --- a/dev-python/inflect/Manifest +++ b/dev-python/inflect/Manifest @@ -1,4 +1 @@ -DIST inflect-6.0.4.tar.gz 71131 BLAKE2B 24ec6f25462594fde4558f7a4269c68d31989ead54c982f3a4382b5f0c192fd5fcac7544413fecef0abaf7c3fe2f9b4a8049fc7dc7d324e4397fb6a81763ef8e SHA512 96aaa74b3e8c5dcc91d81af336af73535826f3cedaa556d6baf540ca54db1a7c1f17a372c240446c0d81697520eab154bad4f0aad6195c6ab8e131ae443d3811 -DIST inflect-6.1.0.tar.gz 71080 BLAKE2B a4f86fa3d64f979ad184d3744dd40c5a220ea904bef3cc87af3f675febdd1346b918797a879ebee368f4d9381e698476229b538fe15f14921c41351450132a04 SHA512 2457ed594081a3f26390e88b5d5826867cd3d54ffd73c4cfe52c20cac873157ec64e30ff3e01efebb0b1edf8b0e412930bae434e1cd8c7920a273667d5e6eb68 -DIST inflect-6.2.0.tar.gz 71776 BLAKE2B f0ddd4a00d23db6462d8286baf11f46596cf1292dff327940e7aab2d17e73571f8ff68bb54f1b449176398448b1478c0b99e886990dbed75b33ba170bb54a343 SHA512 ebc1c0e0518112417bfbb1147c42e2c867e1a3dffb22a67bb995170a04c3813e55620bf6fd07d1c40d380bc8886435ec634c477f706134e4f8943c94b3269851 DIST inflect-7.0.0.tar.gz 70963 BLAKE2B ae896109acd33946e05902d121ecbd95e04dc33a1d6da6035148521de5baff8cff877a5c56c104bde29d56025e231e20f97e0ee50686de0ec19b567d53612314 SHA512 b2ca39d0e36cda8c8c42d208443d3b84b10d659dcd0d368273503d6e76df19c61ac3c623d526ea918ca8b347d6db8bdfb691609e480eaa33dd4f1c37e008473b diff --git a/dev-python/inflect/inflect-6.0.4.ebuild b/dev-python/inflect/inflect-6.0.4.ebuild deleted file mode 100644 index 0f09fa8ae584..000000000000 --- a/dev-python/inflect/inflect-6.0.4.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Correctly inflect words and numbers" -HOMEPAGE=" - https://pypi.org/project/inflect/ - https://github.com/jaraco/inflect/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - >=dev-python/pydantic-1.9.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-scm-3.4.1[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/inflect/inflect-6.1.0.ebuild b/dev-python/inflect/inflect-6.1.0.ebuild deleted file mode 100644 index 9bb2747b77f2..000000000000 --- a/dev-python/inflect/inflect-6.1.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Correctly inflect words and numbers" -HOMEPAGE=" - https://pypi.org/project/inflect/ - https://github.com/jaraco/inflect/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - <dev-python/pydantic-2[${PYTHON_USEDEP}] - >=dev-python/pydantic-1.9.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-scm-3.4.1[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/inflect/inflect-6.2.0.ebuild b/dev-python/inflect/inflect-6.2.0.ebuild deleted file mode 100644 index ad71d1011871..000000000000 --- a/dev-python/inflect/inflect-6.2.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Correctly inflect words and numbers" -HOMEPAGE=" - https://pypi.org/project/inflect/ - https://github.com/jaraco/inflect/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - >=dev-python/pydantic-1.9.1[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-scm-3.4.1[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/matplotlib/matplotlib-3.7.2.ebuild b/dev-python/matplotlib/matplotlib-3.7.2.ebuild index 0807e723ce21..008c1c1c1f66 100644 --- a/dev-python/matplotlib/matplotlib-3.7.2.ebuild +++ b/dev-python/matplotlib/matplotlib-3.7.2.ebuild @@ -30,7 +30,7 @@ SRC_URI+=" # Fonts: BitstreamVera, OFL-1.1 LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" IUSE="cairo doc excel examples gtk3 latex qt5 tk webagg wxwidgets" # internal copy of pycxx highly patched diff --git a/dev-python/meson-python/meson-python-0.13.2-r1.ebuild b/dev-python/meson-python/meson-python-0.13.2-r1.ebuild index 57c348683721..789fe81653d7 100644 --- a/dev-python/meson-python/meson-python-0.13.2-r1.ebuild +++ b/dev-python/meson-python/meson-python-0.13.2-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" RDEPEND=" >=dev-python/pyproject-metadata-0.7.1[${PYTHON_USEDEP}] diff --git a/dev-python/mkdocs-redirects/Manifest b/dev-python/mkdocs-redirects/Manifest index 5bf56fb65790..e52621e6aa8a 100644 --- a/dev-python/mkdocs-redirects/Manifest +++ b/dev-python/mkdocs-redirects/Manifest @@ -1,2 +1 @@ -DIST mkdocs-redirects-1.2.0.gh.tar.gz 7434 BLAKE2B cba7252865135c66ca467473e5c373b1779131dc0fdea47092d97d97d4222e6e9b38f9b312f0341af90b8a05a24c3c33250b060c2b3029d49dc970da0b2fc48e SHA512 e26260277f56005d8fab3a7e6d05187796356909d7ab4f8d6cd6edd535b0ee944e49faf5b6366269bfface1a855f399e3d95275a5f0967134f6c8e1256bef220 DIST mkdocs-redirects-1.2.1.gh.tar.gz 7420 BLAKE2B c91701b5aeff6998d890d44fa9286b0a7924a2c66ee9d54777495b338152be0cde3f897e4516327e63a38ab362a156a0e44f041bc4af5bda32d7ae188a20369e SHA512 52b078f75fdf950780fd9f295cb528607aff641c46bd2d00df0a38ca2817280b1245c006b6bae6f63c37f4e61857aeb0271ca9fba4397e3185b173016c3ea437 diff --git a/dev-python/mkdocs-redirects/mkdocs-redirects-1.2.0.ebuild b/dev-python/mkdocs-redirects/mkdocs-redirects-1.2.0.ebuild deleted file mode 100644 index 532a59fadf05..000000000000 --- a/dev-python/mkdocs-redirects/mkdocs-redirects-1.2.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -DESCRIPTION="Plugin for Mkdocs page redirects" -HOMEPAGE=" - https://github.com/mkdocs/mkdocs-redirects - https://pypi.org/project/mkdocs-redirects/ -" -SRC_URI=" - https://github.com/mkdocs/mkdocs-redirects/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86" - -RDEPEND=" - >=dev-python/mkdocs-1.0.4[${PYTHON_USEDEP}] - <dev-python/mkdocs-2[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/twine[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/mkdocs-redirects/mkdocs-redirects-1.2.1.ebuild b/dev-python/mkdocs-redirects/mkdocs-redirects-1.2.1.ebuild index 5a1b53f0c570..532a59fadf05 100644 --- a/dev-python/mkdocs-redirects/mkdocs-redirects-1.2.1.ebuild +++ b/dev-python/mkdocs-redirects/mkdocs-redirects-1.2.1.ebuild @@ -19,7 +19,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86" RDEPEND=" >=dev-python/mkdocs-1.0.4[${PYTHON_USEDEP}] diff --git a/dev-python/nbconvert/Manifest b/dev-python/nbconvert/Manifest index 1ec1fee08063..763d7d59fd07 100644 --- a/dev-python/nbconvert/Manifest +++ b/dev-python/nbconvert/Manifest @@ -1,4 +1,2 @@ -DIST nbconvert-7.6.0.tar.gz 886726 BLAKE2B 9623b10adf08f06921c7b162018a747ef02e47a99c9663261247af2ee895ca66d310c42bcfb8717009b8fd9e8da4a088c5d8369f0ebe5a570a1439d3ea0db37e SHA512 70870b875c0045796004ada5ea3ec5402339392419919c11f2713f07cb0f35605f8902a1e965706c13b972fa4d7785d4941834bd9565e3b3c8afde2a9d2868c9 -DIST nbconvert-7.7.2.tar.gz 849694 BLAKE2B 20fb4f9385e5c0d7288974b1c2fb76529b48ac32a21a786e06844d001dfda94643250e54d484809d02c056378429b352ef17559790197305fdeffbe27722d1b2 SHA512 9a92efa3522eb38f975db82a5ea4559833cf30bb65c03f1a2895bc7e4f95c691aca3a8f8e48b0105e44e8428062ee82883480655442ca5fb215b48df45937a09 DIST nbconvert-7.7.3.tar.gz 849762 BLAKE2B a887fc2bbb7978fdcabbaa46ea391a9b42ba904609ee0a67fc59f1d66373ee2d4cc6328b4c39a7deb77f5bb87c503dc61f7c3a5ce04e36a8149fe7ece42fab46 SHA512 8b6f5b05c89e4931716ecd7de1d16be54284a0c5699439f896f9c08bf3d88f930e6e6cf2fa688132a6c7b93ccd11be9526cc08732d4c28ccf3854f402e21fe82 DIST nbconvert-7.7.4.tar.gz 849858 BLAKE2B e7260b7cd6d315fc7ca70ef272a72b2b85557813caadc5c89964a21cf85c5cda186921d16685f2abc8f0a34b1b78a9c5c03b8bbb5308a31363f6af3ecbd4c721 SHA512 4af508cabfcff9c3bfd56fcb7e002f3af0a3edb1209ffb6dd48ab79f8ce24d0d7abe87398117fe41dd8d704bb8bf292a785826f1bb6e8be124a761a317fcb015 diff --git a/dev-python/nbconvert/nbconvert-7.6.0.ebuild b/dev-python/nbconvert/nbconvert-7.6.0.ebuild deleted file mode 100644 index 195197178f8c..000000000000 --- a/dev-python/nbconvert/nbconvert-7.6.0.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing pypi virtualx - -DESCRIPTION="Converting Jupyter Notebooks" -HOMEPAGE=" - https://nbconvert.readthedocs.io/ - https://github.com/jupyter/nbconvert/ - https://pypi.org/project/nbconvert/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/bleach[${PYTHON_USEDEP}] - dev-python/defusedxml[${PYTHON_USEDEP}] - >=dev-python/jinja-3.0[${PYTHON_USEDEP}] - >=dev-python/jupyter-core-4.7[${PYTHON_USEDEP}] - dev-python/jupyterlab-pygments[${PYTHON_USEDEP}] - >=dev-python/markupsafe-2.0[${PYTHON_USEDEP}] - <dev-python/mistune-4[${PYTHON_USEDEP}] - >=dev-python/nbclient-0.5.0[${PYTHON_USEDEP}] - >=dev-python/nbformat-5.7[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}] - >=dev-python/pygments-2.4.1[${PYTHON_USEDEP}] - dev-python/tinycss2[${PYTHON_USEDEP}] - >=dev-python/traitlets-5.1.1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/ipykernel[${PYTHON_USEDEP}] - >=dev-python/ipywidgets-7[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - mkdir -p share/templates/classic/static || die - # tries to refetch stuff even if it's already present - sed -e 's:css = .*:raise PermissionError("You shall not fetch!"):' \ - -i hatch_build.py || die - distutils-r1_src_prepare -} - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # Missing pyppeteer for now - # TODO: Doesn't skip? - nbconvert/exporters/tests/test_webpdf.py - # Needs pyppeteer too - 'nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_webpdf_with_chromium' - # TODO - nbconvert/exporters/tests/test_qtpng.py::TestQtPNGExporter::test_export - nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_convert_full_qualified_name - nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_post_processor - # latex failing, might be too new pandoc - nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_filename_spaces - nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_pdf - # too new pandoc but we don't have old anymore - nbconvert/utils/tests/test_pandoc.py::TestPandoc::test_minimal_version - nbconvert/utils/tests/test_pandoc.py::TestPandoc::test_pandoc_available - # crazy qtweb* stuff, perhaps permissions - nbconvert/exporters/tests/test_qtpdf.py::TestQtPDFExporter::test_export - ) - - # virtx implies nonfatal, make it explicit to avoid confusion - nonfatal epytest -n "$(makeopts_jobs)" --pyargs nbconvert || die -} - -pkg_postinst() { - if ! has_version virtual/pandoc; then - einfo "Pandoc is required for converting to formats other than Python," - einfo "HTML, and Markdown. If you need this functionality, install" - einfo "app-text/pandoc or app-text/pandoc-bin." - fi -} diff --git a/dev-python/nbconvert/nbconvert-7.7.2.ebuild b/dev-python/nbconvert/nbconvert-7.7.2.ebuild deleted file mode 100644 index c28721fe00ea..000000000000 --- a/dev-python/nbconvert/nbconvert-7.7.2.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing pypi virtualx - -DESCRIPTION="Converting Jupyter Notebooks" -HOMEPAGE=" - https://nbconvert.readthedocs.io/ - https://github.com/jupyter/nbconvert/ - https://pypi.org/project/nbconvert/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/bleach[${PYTHON_USEDEP}] - dev-python/defusedxml[${PYTHON_USEDEP}] - >=dev-python/jinja-3.0[${PYTHON_USEDEP}] - >=dev-python/jupyter-core-4.7[${PYTHON_USEDEP}] - dev-python/jupyterlab-pygments[${PYTHON_USEDEP}] - >=dev-python/markupsafe-2.0[${PYTHON_USEDEP}] - <dev-python/mistune-4[${PYTHON_USEDEP}] - >=dev-python/nbclient-0.5.0[${PYTHON_USEDEP}] - >=dev-python/nbformat-5.7[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}] - >=dev-python/pygments-2.4.1[${PYTHON_USEDEP}] - dev-python/tinycss2[${PYTHON_USEDEP}] - >=dev-python/traitlets-5.1.1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/ipykernel[${PYTHON_USEDEP}] - >=dev-python/ipywidgets-7[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - mkdir -p share/templates/classic/static || die - # tries to refetch stuff even if it's already present - sed -e 's:css = .*:raise PermissionError("You shall not fetch!"):' \ - -i hatch_build.py || die - distutils-r1_src_prepare -} - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # Missing pyppeteer for now - # TODO: Doesn't skip? - nbconvert/exporters/tests/test_webpdf.py - # Needs pyppeteer too - 'nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_webpdf_with_chromium' - # TODO - nbconvert/exporters/tests/test_qtpng.py::TestQtPNGExporter::test_export - nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_convert_full_qualified_name - nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_post_processor - # latex failing, might be too new pandoc - nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_filename_spaces - nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_pdf - # too new pandoc but we don't have old anymore - nbconvert/utils/tests/test_pandoc.py::TestPandoc::test_minimal_version - nbconvert/utils/tests/test_pandoc.py::TestPandoc::test_pandoc_available - # crazy qtweb* stuff, perhaps permissions - nbconvert/exporters/tests/test_qtpdf.py::TestQtPDFExporter::test_export - ) - - # virtx implies nonfatal, make it explicit to avoid confusion - nonfatal epytest -n "$(makeopts_jobs)" --pyargs nbconvert || die -} - -pkg_postinst() { - if ! has_version virtual/pandoc; then - einfo "Pandoc is required for converting to formats other than Python," - einfo "HTML, and Markdown. If you need this functionality, install" - einfo "app-text/pandoc or app-text/pandoc-bin." - fi -} diff --git a/dev-python/nbconvert/nbconvert-7.7.3.ebuild b/dev-python/nbconvert/nbconvert-7.7.3.ebuild index c28721fe00ea..7d5646b9e856 100644 --- a/dev-python/nbconvert/nbconvert-7.7.3.ebuild +++ b/dev-python/nbconvert/nbconvert-7.7.3.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/beautifulsoup4[${PYTHON_USEDEP}] diff --git a/dev-python/pecan/Manifest b/dev-python/pecan/Manifest index 5461f3d587d1..008301ada527 100644 --- a/dev-python/pecan/Manifest +++ b/dev-python/pecan/Manifest @@ -1,3 +1 @@ -DIST pecan-1.4.2.tar.gz 124900 BLAKE2B bf78c630605dbf020bcda830855cf19dc660c8bdbfa6d68a9739a0da7c585ec17d30525d37337867e007aa31d3329e87224cfd4e0335b14496df911457af5c82 SHA512 cea290db5b7c4664057ec326e1f9ac11d4b523e2df83a84c3b47acbce0520f248bbd33de0f66379409a4ff463b6408b587238917362572479288d36843542ab0 -DIST pecan-1.5.0.tar.gz 124111 BLAKE2B 2a72c891300f847f463b3f9a8738113929a12f256ba9a7c7b2ece23f807e56ea36376fe8a28ba57c2e67f82e1d6cd9f754b2680a27cad0910a5f1005a4e9dec2 SHA512 c48082aa0841b58ead990011901cbc43c9fa9ffc586321f47eca8ea51d80fd4a05fbf8ea85459362a7419f5eadd15b3ca89eaad9e69b754aff5c44b46e06552e DIST pecan-1.5.1.tar.gz 124161 BLAKE2B 441c4fcc94409aef93324ab8dfb727fc09a3e0f8802ba804d3d5f52237d4f089c3eed23f55a8ad82a9d372d28d622faf8b196b59936e7fc9feb69c4f87883084 SHA512 87fff8657268accda3a53f156338332e3d23df8055cc62d77d9f1641f692c1d7e4013f564b0108541e5df69e1d3d2c8e3df87486e0b4316e437f67d010013fa9 diff --git a/dev-python/pecan/pecan-1.4.2.ebuild b/dev-python/pecan/pecan-1.4.2.ebuild deleted file mode 100644 index 9dba73c6deb3..000000000000 --- a/dev-python/pecan/pecan-1.4.2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A WSGI object-dispatching web framework, lean, fast, with few dependencies" -HOMEPAGE=" - https://github.com/pecan/pecan/ - https://pypi.org/project/pecan/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86" - -RDEPEND=" - >=dev-python/webob-1.4[${PYTHON_USEDEP}] - >=dev-python/mako-0.4.0[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - >=dev-python/logutils-0.3.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/webtest-1.3.1[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/scripts=/d' setup.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/pecan/pecan-1.5.0.ebuild b/dev-python/pecan/pecan-1.5.0.ebuild deleted file mode 100644 index ff9027d8a4d0..000000000000 --- a/dev-python/pecan/pecan-1.5.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A WSGI object-dispatching web framework, lean, fast, with few dependencies" -HOMEPAGE=" - https://github.com/pecan/pecan/ - https://pypi.org/project/pecan/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/webob-1.4[${PYTHON_USEDEP}] - >=dev-python/mako-0.4.0[${PYTHON_USEDEP}] - >=dev-python/logutils-0.3.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/webtest-1.3.1[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/scripts=/d' setup.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest index 07d31b3cf822..ee4ad92612a7 100644 --- a/dev-python/pip/Manifest +++ b/dev-python/pip/Manifest @@ -1,3 +1 @@ -DIST pip-23.1.2.gh.tar.gz 9345911 BLAKE2B 511ac1a9405e377ccb2525e89676f4a63f138aa526d40e76f4d9681139d94db1f92772beab1a647654c17abc6bee09f52cf4c4f4484716874194565fda07d056 SHA512 b33070cb59a1258904a60b48ec8abfd9e316c5f87681fea13d89ddf6d516afac10965ae1db54fea299a0a72f98602ce02e8b3be46f239e857db84866045730e1 DIST pip-23.2.1.gh.tar.gz 9370625 BLAKE2B 9e7855aae371a773a070c24b50f985dac6ff7c2412d51e268368b911b92d0d0b52a839f9d761d5f6aaff33f1e7570d5f930e5063e8af98aa99f50d2f1c1b5ed2 SHA512 a6c629976c332cffe5dff0ec1e201d694c7a42fa8def202ebf1db251a6dbd90091eaac89c36a354a0cf0c60cdb267b4e0ec9ff6a88b0ac61cfaafdf159e34fc8 -DIST pip-23.2.gh.tar.gz 9370682 BLAKE2B dbce43e29ed453e32e13a6d2f18ba2d8095021de0073d13de18cb55b5410415d0feeb2610e31ae8a0025864e6d05eb41aab3dd8adeaecf990fa31e7284e71fa5 SHA512 fe915a8f85b21d59b416a5b1fad6e6ce2874b27e055c86ad71efe31c492f117a468734da239882c3d7f4678f91389daf0e8d13abc6429ddca5bfef87cb29dae0 diff --git a/dev-python/pip/pip-23.1.2.ebuild b/dev-python/pip/pip-23.1.2.ebuild deleted file mode 100644 index 11d6891a3ba6..000000000000 --- a/dev-python/pip/pip-23.1.2.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# please bump dev-python/ensurepip-pip along with this package! - -DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{8,9,10,11} ) -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) -PYTHON_REQ_USE="ssl(+),threads(+)" - -inherit bash-completion-r1 distutils-r1 multiprocessing - -DESCRIPTION="The PyPA recommended tool for installing Python packages" -HOMEPAGE=" - https://pip.pypa.io/en/stable/ - https://pypi.org/project/pip/ - https://github.com/pypa/pip/ -" -SRC_URI=" - https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -# bundled deps -LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -SLOT="0" -IUSE="test-rust" - -RDEPEND=" - >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/ensurepip-setuptools - dev-python/ensurepip-wheel - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/scripttest[${PYTHON_USEDEP}] - dev-python/tomli-w[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - test-rust? ( - dev-python/cryptography[${PYTHON_USEDEP}] - ) - ' "${PYTHON_TESTED[@]}") - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - local PATCHES=( - "${FILESDIR}/pip-23.1-no-coverage.patch" - ) - - distutils-r1_python_prepare_all - - if use test; then - local wheels=( - "${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl - ) - mkdir tests/data/common_wheels/ || die - cp "${wheels[@]}" tests/data/common_wheels/ || die - fi -} - -python_compile_all() { - # 'pip completion' command embeds full $0 into completion script, which confuses - # 'complete' and causes QA warning when running as "${PYTHON} -m pip". - # This trick sets correct $0 while still calling just installed pip. - local pipcmd='import sys; sys.argv[0] = "pip"; __file__ = ""; from pip._internal.cli.main import main; sys.exit(main())' - "${EPYTHON}" -c "${pipcmd}" completion --bash > completion.bash || die - "${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping tests on ${EPYTHON}" - return 0 - fi - - local EPYTEST_DESELECT=( - tests/functional/test_inspect.py::test_inspect_basic - tests/functional/test_install.py::test_double_install_fail - # Internet - tests/functional/test_install.py::test_install_dry_run - tests/functional/test_install.py::test_editable_install__local_dir_setup_requires_with_pyproject - tests/functional/test_install.py::test_install_8559_wheel_package_present - tests/functional/test_config_settings.py::test_backend_sees_config_via_sdist - tests/functional/test_install.py::test_link_hash_in_dep_fails_require_hashes - # TODO - tests/unit/test_network_auth.py::test_keyring_cli_get_password - tests/unit/test_network_auth.py::test_keyring_cli_set_password - # wants to install keyring from Internet, sigh - tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed - ) - - if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - tests/functional/test_install.py::test_install_sends_client_cert - tests/functional/test_install_config.py::test_do_not_prompt_for_authentication - tests/functional/test_install_config.py::test_prompt_for_authentication - tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed - ) - fi - - local -x SETUPTOOLS_USE_DISTUTILS=stdlib - local -x PIP_DISABLE_PIP_VERSION_CHECK=1 - epytest -m "not network" -n "$(makeopts_jobs)" -} - -python_install_all() { - local DOCS=( AUTHORS.txt docs/html/**/*.rst ) - distutils-r1_python_install_all - - newbashcomp completion.bash pip - - insinto /usr/share/zsh/site-functions - newins completion.zsh _pip -} diff --git a/dev-python/pip/pip-23.2.ebuild b/dev-python/pip/pip-23.2.ebuild deleted file mode 100644 index 1838a954b66b..000000000000 --- a/dev-python/pip/pip-23.2.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# please bump dev-python/ensurepip-pip along with this package! - -DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{8,9,10,11} ) -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) -PYTHON_REQ_USE="ssl(+),threads(+)" - -inherit bash-completion-r1 distutils-r1 multiprocessing - -DESCRIPTION="The PyPA recommended tool for installing Python packages" -HOMEPAGE=" - https://pip.pypa.io/en/stable/ - https://pypi.org/project/pip/ - https://github.com/pypa/pip/ -" -SRC_URI=" - https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -# bundled deps -LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -SLOT="0" -IUSE="test-rust" - -RDEPEND=" - >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/ensurepip-setuptools - dev-python/ensurepip-wheel - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/scripttest[${PYTHON_USEDEP}] - dev-python/tomli-w[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - test-rust? ( - dev-python/cryptography[${PYTHON_USEDEP}] - ) - ' "${PYTHON_TESTED[@]}") - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - local PATCHES=( - "${FILESDIR}/pip-23.1-no-coverage.patch" - ) - - distutils-r1_python_prepare_all - - if use test; then - local wheels=( - "${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl - ) - mkdir tests/data/common_wheels/ || die - cp "${wheels[@]}" tests/data/common_wheels/ || die - fi -} - -python_compile_all() { - # 'pip completion' command embeds full $0 into completion script, which confuses - # 'complete' and causes QA warning when running as "${PYTHON} -m pip". - # This trick sets correct $0 while still calling just installed pip. - local pipcmd='import sys; sys.argv[0] = "pip"; __file__ = ""; from pip._internal.cli.main import main; sys.exit(main())' - "${EPYTHON}" -c "${pipcmd}" completion --bash > completion.bash || die - "${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping tests on ${EPYTHON}" - return 0 - fi - - local EPYTEST_DESELECT=( - tests/functional/test_inspect.py::test_inspect_basic - tests/functional/test_install.py::test_double_install_fail - # Internet - tests/functional/test_install.py::test_install_dry_run - tests/functional/test_install.py::test_editable_install__local_dir_setup_requires_with_pyproject - tests/functional/test_install.py::test_install_8559_wheel_package_present - tests/functional/test_config_settings.py::test_backend_sees_config_via_sdist - tests/functional/test_install.py::test_link_hash_in_dep_fails_require_hashes - # TODO - tests/unit/test_network_auth.py::test_keyring_cli_get_password - tests/unit/test_network_auth.py::test_keyring_cli_set_password - # wants to install keyring from Internet, sigh - tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed - # probably a too strict assert - # https://github.com/pypa/pip/issues/12152 - tests/unit/test_req.py::TestRequirementSet::test_download_info_archive_cache_with_invalid_origin - ) - - if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - tests/functional/test_install.py::test_install_sends_client_cert - tests/functional/test_install_config.py::test_do_not_prompt_for_authentication - tests/functional/test_install_config.py::test_prompt_for_authentication - tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed - ) - fi - - local -x SETUPTOOLS_USE_DISTUTILS=stdlib - local -x PIP_DISABLE_PIP_VERSION_CHECK=1 - epytest -m "not network" -n "$(makeopts_jobs)" -} - -python_install_all() { - local DOCS=( AUTHORS.txt docs/html/**/*.rst ) - distutils-r1_python_install_all - - newbashcomp completion.bash pip - - insinto /usr/share/zsh/site-functions - newins completion.zsh _pip -} diff --git a/dev-python/pybind11/pybind11-2.11.1.ebuild b/dev-python/pybind11/pybind11-2.11.1.ebuild index 18c99c3870ad..c59252de8b94 100644 --- a/dev-python/pybind11/pybind11-2.11.1.ebuild +++ b/dev-python/pybind11/pybind11-2.11.1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" RDEPEND=" dev-cpp/eigen:3 diff --git a/dev-python/pyjwt/Manifest b/dev-python/pyjwt/Manifest index dae0e7dbe709..95bc4c64c3f3 100644 --- a/dev-python/pyjwt/Manifest +++ b/dev-python/pyjwt/Manifest @@ -1,2 +1 @@ -DIST PyJWT-2.7.0.tar.gz 77902 BLAKE2B ff1e1c5dfd301a86a42eb6b4b2d6d900b15acdf60875bac49aee980b75b724292ff48b169cd2b9708388860ea93fd94f3cbf891f4606bfeb544e07a14c328bb8 SHA512 0aa886dfdc3c668b45e1c649cc3fbe3c2dec7476f46bd361ff74f6e9c7ea0ad40306a8a8ae84bfd63fe1c1364302b8aa69943013c951b32c9f24e4782b94ca8d DIST PyJWT-2.8.0.tar.gz 78313 BLAKE2B b5031ec0ea672ef2dffc077aba6c781a20a7497257a16241841c0e0158017370581e3c9785d930772290c25fc9029e71a5d8744d999b135b29715a4f35720508 SHA512 74e74cf8c78494a9e51a2a186347361388031d5c0d0864df2a5d051621d9d31dff617ab1d7ebb4a829cc7d409d196e1bdb3b361ec888b6c14f1abea77544475e diff --git a/dev-python/pyjwt/pyjwt-2.7.0.ebuild b/dev-python/pyjwt/pyjwt-2.7.0.ebuild deleted file mode 100644 index 5935b2321e30..000000000000 --- a/dev-python/pyjwt/pyjwt-2.7.0.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN="PyJWT" -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="JSON Web Token implementation in Python" -HOMEPAGE=" - https://github.com/jpadilla/pyjwt/ - https://pypi.org/project/PyJWT/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - !dev-python/python-jwt -" -BDEPEND=" - test? ( - >=dev-python/cryptography-3.4.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -pkg_postinst() { - optfeature "cryptography" dev-python/cryptography -} diff --git a/dev-python/pyjwt/pyjwt-2.8.0.ebuild b/dev-python/pyjwt/pyjwt-2.8.0.ebuild index 300cbb93650f..bb833c349d02 100644 --- a/dev-python/pyjwt/pyjwt-2.8.0.ebuild +++ b/dev-python/pyjwt/pyjwt-2.8.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" !dev-python/python-jwt diff --git a/dev-python/pymdown-extensions/Manifest b/dev-python/pymdown-extensions/Manifest index 702337426e0c..0940737ac2dd 100644 --- a/dev-python/pymdown-extensions/Manifest +++ b/dev-python/pymdown-extensions/Manifest @@ -1,2 +1 @@ -DIST pymdown-extensions-10.0.1.gh.tar.gz 1063025 BLAKE2B 937273053918cbb8e0245ba38a78a93184a492e21846db60f675d015cc5f942bef5e7085136cc861aa4a6068096e23fdb5f212182d47f245ac6a45127b5ca2a2 SHA512 579aa70c21cffdc7d5ffd927bce071f40bc6ace040cbcb4d15d620a54b97eae2cee7afa049e9005dccc2081dac7db3ff7e2deb2c1c468cf27fe42a306b6e46ab DIST pymdown_extensions-10.1.tar.gz 783894 BLAKE2B debe9415329ac5eb663924697529f456fddbc2870188864741003a5f9a3e6c44741188c90db5147d65fe8570f8a2acfc70ef8e12cf7ecfce7f3f051f25ac8c02 SHA512 c7692c7688b7d9764460b274a5cf609c3638a171f8ebb10d265a0e78d1f3b7b418f9712e6d7597e091181caa82e7fca9120e388f2ee80bd9299e9b70492084af diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.0.1.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.0.1.ebuild deleted file mode 100644 index 98c359674e66..000000000000 --- a/dev-python/pymdown-extensions/pymdown-extensions-10.0.1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/mkdocs-git-revision-date-localized-plugin - dev-python/mkdocs-minify-plugin - dev-python/mkdocs-material - dev-python/pymdown-lexers - dev-python/pyspelling -" -DOCS_INITIALIZE_GIT=1 - -inherit distutils-r1 docs - -DESCRIPTION="Extensions for Python Markdown" -HOMEPAGE=" - https://github.com/facelessuser/pymdown-extensions/ - https://pypi.org/project/pymdown-extensions/ -" -SRC_URI=" - https://github.com/facelessuser/pymdown-extensions/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86" - -RDEPEND=" - >=dev-python/markdown-3.2[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - >=dev-python/pygments-2.12.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_compile_all() { - default - # We need to do this manually instead of relying on docs_compile - # https://bytemeta.vip/repo/facelessuser/pymdown-extensions/issues/1446 - # https://bugs.gentoo.org/859637 - if use doc; then - ${EPYTHON} -m mkdocs build || die "Failed to make docs" - # Colliding files found by ecompress: - rm site/sitemap.xml.gz || die - HTML_DOCS=( "site/." ) - fi -} diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.1.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.1.ebuild index 026a617de38e..cfc17155ef14 100644 --- a/dev-python/pymdown-extensions/pymdown-extensions-10.1.ebuild +++ b/dev-python/pymdown-extensions/pymdown-extensions-10.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86" RDEPEND=" >=dev-python/markdown-3.2[${PYTHON_USEDEP}] diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest index 676bb4c02d92..581263015123 100644 --- a/dev-python/pyopencl/Manifest +++ b/dev-python/pyopencl/Manifest @@ -1,2 +1 @@ DIST pyopencl-2023.1.1.tar.gz 472723 BLAKE2B 4960db0b9096ef624f0459f6711a6d1fc4561599f96c3b01c5efe3c183c8cc4284b63038b2a5e98d43c194a8e5ce3331886f675c0bc5f44073bc353675400985 SHA512 50c23132028bb2c35816b6c83c054eaf929d333fbb172230e0d696a5e6103ad6ee6ccbbbd0b5d3d2d3c5f02505340a885422097eccecb1bf51845658c7938c8f -DIST pyopencl-2023.1.tar.gz 472581 BLAKE2B bfa25646b00b8d5c1a2fb7b98c18383e3013b9aa1573dc1bcbc1e056d3bd50d48fb35b7b74c4d87c079fe9334817ff325edd235bdd0de610373850c3ab057773 SHA512 3a6c61715338b31f9e9c3b9c8afe029e63d2689f9d52174c91cfe7383425643b3d08f5c125ab7e24ca776c86ff19d5adb7bfe56f1bd531ba443f99dcf9449244 diff --git a/dev-python/pyopencl/pyopencl-2023.1.1.ebuild b/dev-python/pyopencl/pyopencl-2023.1.1.ebuild index 4387eb3f72cf..88db08e69417 100644 --- a/dev-python/pyopencl/pyopencl-2023.1.1.ebuild +++ b/dev-python/pyopencl/pyopencl-2023.1.1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~riscv" +KEYWORDS="amd64 ~ppc64 ~riscv" IUSE="examples opengl" # Running tests on GPUs requires both appropriate hardware and additional permissions diff --git a/dev-python/pyopencl/pyopencl-2023.1.ebuild b/dev-python/pyopencl/pyopencl-2023.1.ebuild deleted file mode 100644 index 816ee1faf03f..000000000000 --- a/dev-python/pyopencl/pyopencl-2023.1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 multiprocessing pypi - -DESCRIPTION="Python wrapper for OpenCL" -HOMEPAGE=" - https://mathema.tician.de/software/pyopencl/ - https://pypi.org/project/pyopencl/ -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ppc64" -IUSE="examples opengl" - -# Running tests on GPUs requires both appropriate hardware and additional permissions -# having been granted to the user running them. Testing on CPUs with dev-libs/pocl -# is in theory possible but has been found to be very fragile, see e.g. Bug #872308. -RESTRICT="test" - -COMMON=">=virtual/opencl-2" -# libglvnd is only needed for the headers -DEPEND="${COMMON} - opengl? ( media-libs/libglvnd )" -RDEPEND="${COMMON} - >=dev-python/mako-0.3.6[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] - >=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]" -BDEPEND="dev-python/numpy[${PYTHON_USEDEP}] - >=dev-python/pybind11-2.5.0[${PYTHON_USEDEP}] - test? ( dev-libs/pocl )" - -distutils_enable_tests pytest - -python_configure_all() { - local myconf=() - if use opengl; then - myconf+=(--cl-enable-gl) - fi - - "${EPYTHON}" configure.py \ - "${myconf[@]}" -} - -python_test() { - # Use dev-libs/pocl for testing; ignore any other OpenCL devices that might be present - local -x PYOPENCL_TEST="portable:pthread" - # Set the number of threads to match MAKEOPTS - local -x POCL_MAX_PTHREAD_COUNT=$(makeopts_jobs) - # Change to the 'test' directory so that python does not try to import pyopencl from the source directory - # (Importing from the source directory fails, because the compiled '_cl' module is only in the build directory) - pushd test >/dev/null || die - epytest - popd >/dev/null || die -} - -python_install_all() { - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/pypy3_10/pypy3_10-7.3.12_p1.ebuild b/dev-python/pypy3_10/pypy3_10-7.3.12_p1.ebuild index c3cd1b2bb121..6f7c55894b22 100644 --- a/dev-python/pypy3_10/pypy3_10-7.3.12_p1.ebuild +++ b/dev-python/pypy3_10/pypy3_10-7.3.12_p1.ebuild @@ -25,7 +25,7 @@ LICENSE="MIT" # pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))' # also check pypy/interpreter/pycode.py -> pypy_incremental_magic SLOT="0/pypy310-pp73-384" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux" IUSE="+ensurepip gdbm +jit ncurses sqlite tk" # many tests are failing upstream # see https://buildbot.pypy.org/summary?branch=py${PYVER} diff --git a/dev-python/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest index 416fd0dbfdb6..1fd902ab197b 100644 --- a/dev-python/pytest-asyncio/Manifest +++ b/dev-python/pytest-asyncio/Manifest @@ -1,2 +1 @@ -DIST pytest-asyncio-0.21.0.tar.gz 29898 BLAKE2B 6455e59a2e28ddbefd54e4c16970d36d22a674406fbc0e352e9886af3a7a51a0ae4a8ce32e01d076e2411f0501548092dfbe3150d87c14cb5e5eb71966bcb743 SHA512 ce557e5f15f3ae745804f4484d590a9f673d76f0c67c2e8ab444e1b17a4ae5ea6021bf55d7ef905643bfbcded6299f207a386fb4dc05ddf20ade25e6618a9773 DIST pytest-asyncio-0.21.1.tar.gz 30492 BLAKE2B 6a17f9ba89b8181b5fb734af6d0c0904a828156e63df910b4fe4adb9b93e240266063dcca8d97c8f9d784c6d5111796949fe32bb2832921919e41398ccffc155 SHA512 3aef14bade1dddab4320450d60c6909a76c7cf334d8225ad155b474b042d1c692edc5b567fb86ecf6b3453746105c3cecce86d2c6ff5cf6652d5147a8532cfd0 diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.21.0.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.21.0.ebuild deleted file mode 100644 index e23dfe2020e2..000000000000 --- a/dev-python/pytest-asyncio/pytest-asyncio-0.21.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Library for testing asyncio code with pytest" -HOMEPAGE=" - https://github.com/pytest-dev/pytest-asyncio/ - https://pypi.org/project/pytest-asyncio/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - >=dev-python/pytest-5.4.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - >=dev-python/hypothesis-3.64[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # rely on precise warning counts - tests/test_pytest_min_version_warning.py - tests/modes/test_legacy_mode.py - tests/trio/test_fixtures.py::test_strict_mode_ignores_trio_fixtures - tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_fixture_leaves_loop_unclosed - tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_test_leaves_loop_unclosed - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_asyncio.plugin,_hypothesis_pytestplugin,flaky.flaky_pytest_plugin - epytest -} diff --git a/dev-python/pytest-check/Manifest b/dev-python/pytest-check/Manifest index f6badb000216..e6c2dc51e95a 100644 --- a/dev-python/pytest-check/Manifest +++ b/dev-python/pytest-check/Manifest @@ -1,3 +1 @@ -DIST pytest_check-2.1.5.tar.gz 24990 BLAKE2B d7b09fe1f4b2932b4d9cfc12e0cc3a2c8082a97727cc6bec01f0db32b67af5860c8677749bf48068e496896fdf5a6beab57eb1fb39facddfb8defa995ff1ccfd SHA512 b3886f96db1ca20e4d337ea527e38e67faa1d79ace3c2cde2760ff66bc7fb5a77eeca2d3833a0abcf16e6f1f6922a82a8fddf7949ddf78e5238c9018761f2829 -DIST pytest_check-2.2.0.tar.gz 26282 BLAKE2B b6017053133e65b6e13576b06ee7b1905921f807a0b8fe5a58bd19296b6fa5ad936b533124594544ff0f81d585c7012693e2c71a6d157a5160ae8545bb24e27b SHA512 004f96895f69ed905f123c5c213aef4d40f0f31ec369e9280af4e1c8dbd2f29a4a8c5d9f564756a2dd476c57530daf4914b3bd8d0328266c4117ef5245be97f2 DIST pytest_check-2.2.1.tar.gz 29128 BLAKE2B 758d2f04a5a500367ecca9a95afe21c03e7a52f319403d4bc0af14d27b96b335e5db42ee312217b0788eceab25048266ac135cfeb7d8214908ed5c13ded33b33 SHA512 04843219a1d49385ccac9b60707a6dd595258664b61a0bf31e666502a222d16b7130c8c0ae65ebd6431d58e2e08d90db3ad016dc4591dab7e3c3502296ceff44 diff --git a/dev-python/pytest-check/pytest-check-2.1.5.ebuild b/dev-python/pytest-check/pytest-check-2.1.5.ebuild deleted file mode 100644 index 614e897c38b5..000000000000 --- a/dev-python/pytest-check/pytest-check-2.1.5.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="pytest plugin that allows multiple failures per test" -HOMEPAGE=" - https://github.com/okken/pytest-check/ - https://pypi.org/project/pytest-check/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/pytest-check/pytest-check-2.2.0.ebuild b/dev-python/pytest-check/pytest-check-2.2.0.ebuild deleted file mode 100644 index 111d79c91ea3..000000000000 --- a/dev-python/pytest-check/pytest-check-2.2.0.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="pytest plugin that allows multiple failures per test" -HOMEPAGE=" - https://github.com/okken/pytest-check/ - https://pypi.org/project/pytest-check/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/pytest-localserver/Manifest b/dev-python/pytest-localserver/Manifest index dd4255827970..e0ce75d5a8c1 100644 --- a/dev-python/pytest-localserver/Manifest +++ b/dev-python/pytest-localserver/Manifest @@ -1,2 +1 @@ -DIST pytest-localserver-0.7.1.tar.gz 185617 BLAKE2B 2ef2bb38c03c3ad05f9ef038f03e071e4d18bf256d76357c1a980f917228392a863bef088f46bd43acae23457a5141048f93d607d1b3e6757f238ce27b9e9584 SHA512 fd32ea020152a17fb1dcfe3f5cccd5c2a26eed18b711f51c5c7cb8534862706e6738651c275e88f3cbad54ecdb59e4b5588e67eed0ff3bbf20c3636e97990ed6 DIST pytest-localserver-0.8.0.tar.gz 28368 BLAKE2B 87e5491f442c7bfbbdd219f9f559b775dca5272dc9f92c2f8155eaa192b3192331d4c0d08877cc149624173bb1b249fd9271fe193b1ba2ba28dcab7eda8eb99c SHA512 d4e34d8bde3470dbdd7cc3e40f2b88c4d21095c2c43a4bf7452934bc0afa273946282b732924b2fed34b3a9f25ecb170a28c771cbae4d44a0f707090fb7502f1 diff --git a/dev-python/pytest-localserver/pytest-localserver-0.7.1.ebuild b/dev-python/pytest-localserver/pytest-localserver-0.7.1.ebuild deleted file mode 100644 index 0d95d0962e72..000000000000 --- a/dev-python/pytest-localserver/pytest-localserver-0.7.1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Pytest plugin to test server connections locally" -HOMEPAGE="https://pypi.org/project/pytest-localserver/" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - >=dev-python/werkzeug-0.10[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # requires aiosmtpd that is dead and broken beyond repair - tests/test_smtp.py -) - -src_prepare() { - # remove aiosmtpd dep - sed -e '/aiosmtpd/d' -i setup.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/pytest-localserver/pytest-localserver-0.8.0.ebuild b/dev-python/pytest-localserver/pytest-localserver-0.8.0.ebuild index cd291729555f..35ab57ab3c75 100644 --- a/dev-python/pytest-localserver/pytest-localserver-0.8.0.ebuild +++ b/dev-python/pytest-localserver/pytest-localserver-0.8.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" >=dev-python/werkzeug-0.10[${PYTHON_USEDEP}] diff --git a/dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild b/dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild index b99cd02d32d5..18de3307a95a 100644 --- a/dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild +++ b/dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="examples" DEPEND=" diff --git a/dev-python/reedsolo/reedsolo-2.1.1_beta1.ebuild b/dev-python/reedsolo/reedsolo-2.1.1_beta1.ebuild index 485c7c4ad379..72b56982d91b 100644 --- a/dev-python/reedsolo/reedsolo-2.1.1_beta1.ebuild +++ b/dev-python/reedsolo/reedsolo-2.1.1_beta1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="|| ( Unlicense MIT-0 )" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 x86" IUSE="+native-extensions" distutils_enable_tests pytest diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index 3eddbe5c3f6f..4973727e161c 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -1,4 +1,2 @@ -DIST setuptools-67.8.0.tar.gz 2492475 BLAKE2B 37c34605a58b41e14300e389402fe6debf9eeed20c72ddf53fa798b41484d1522d2b5313c74eb69a687eaf32c225f0931f901f452aebf6f7023b2419d127b808 SHA512 5dda7082fc563ce73d810efc9cdbccb8649fef2eac52f1a902c76ab5ec67a87ff64e36e918d0e3b168f5214d787bdc22e8ef9adeccb77d8d368dcbb48f5fb35d DIST setuptools-68.0.0.tar.gz 2194111 BLAKE2B 614a1c69f640ce8d0e510c444e058fecd3810421983a03cd345e43e1148799bed7e5d53ac689a4fe3ce3174d16f2bb719236bd5442b5f06ffc7659d0f4c7d15f SHA512 da6d535a0db6eaf477c8c2148efbc2100fd88a14f3adad44d20e22bf52bee3f00fe86547ea650fe653519bd6ff5f9ef033a55bb3a05fed041e88e78cdfb81d7e -DIST setuptools-68.1.0.tar.gz 2197742 BLAKE2B 51bb614aac55dd593f49a5b34e6f31d79deea2b379c6c762e35e650e508d69119ce1e7d2ea3bfe501f41780511454e12a3a60d8fa4759a4e17cf4f2925c57d74 SHA512 827e1ed6724f1b6149515ec15528d29648041a9bb674957e2463b2424222378aeff185005c1277ff8fb4b44b5752276d99c1d9aa6d8a152ab80b2d7b1d5b5cc3 DIST setuptools-68.1.2.tar.gz 2198001 BLAKE2B bd21de32246eb7bd17289536a65e87636c39d8d7712dffa61b07b052fa7e9020fc06fe2de294a4e4782738c4385ff31e6552a6d3f403c3b1da98ea07405d57e8 SHA512 a5a84102ce72f38162b190b91286013cb8660b45f383df04fba65e38c658a5c5b93cdf05f789436618fa596b3ca6688a7c54d31d6d10b729124d3b135660c328 diff --git a/dev-python/setuptools/setuptools-67.8.0-r1.ebuild b/dev-python/setuptools/setuptools-67.8.0-r1.ebuild deleted file mode 100644 index 30208dc496d6..000000000000 --- a/dev-python/setuptools/setuptools-67.8.0-r1.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -# please bump dev-python/ensurepip-setuptools along with this package! - -DISTUTILS_USE_PEP517=standalone -PYTHON_TESTED=( python3_{8,9,10,11} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 multiprocessing pypi - -DESCRIPTION="Collection of extensions to Distutils" -HOMEPAGE=" - https://github.com/pypa/setuptools/ - https://pypi.org/project/setuptools/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] - >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}] - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] - >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}] - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/build[${PYTHON_USEDEP}] - >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}] - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - dev-python/pip-run[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-fixture-config[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-virtualenv[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" -PDEPEND=" - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] - dev-python/setuptools-scm[${PYTHON_USEDEP}] -" - -DOCS=( {CHANGES,README}.rst ) - -src_prepare() { - local PATCHES=( - # TODO: remove this when we're 100% PEP517 mode - "${FILESDIR}"/setuptools-62.4.0-py-compile.patch - ) - - distutils-r1_src_prepare - - # remove bundled dependencies, setuptools will switch to system deps - # automatically - rm -r */_vendor || die - - # remove the ugly */extern hack that breaks on unvendored deps - rm -r */extern || die - find -name '*.py' -exec sed \ - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \ - -i {} + || die -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - return - fi - - local EPYTEST_DESELECT=( - # network - # TODO: see if PRE_BUILT_SETUPTOOLS_* helps - setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist - setuptools/tests/test_build_meta.py::test_legacy_editable_install - setuptools/tests/test_distutils_adoption.py - setuptools/tests/test_editable_install.py - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests - setuptools/tests/test_virtualenv.py::test_clean_env_install - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements - # TODO - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors - setuptools/tests/test_extern.py::test_distribution_picklable - # expects bundled deps in virtualenv - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel - setuptools/tests/test_editable_install.py::test_editable_with_pyproject - # fails if python-xlib is installed - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts - # fails with importlib-metadata-6.6.0 - setuptools/tests/test_egg_info.py::TestWriteEntries::test_invalid_entry_point - ) - - if has_version "<dev-python/packaging-22"; then - EPYTEST_DESELECT+=( - # old packaging is more lenient - setuptools/tests/config/test_setupcfg.py::TestOptions::test_raises_accidental_env_marker_misconfig - ) - fi - - epytest -n "$(makeopts_jobs)" setuptools -} diff --git a/dev-python/setuptools/setuptools-68.0.0-r1.ebuild b/dev-python/setuptools/setuptools-68.0.0-r1.ebuild index a8cca7a2f172..b5f993817b22 100644 --- a/dev-python/setuptools/setuptools-68.0.0-r1.ebuild +++ b/dev-python/setuptools/setuptools-68.0.0-r1.ebuild @@ -21,7 +21,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/setuptools/setuptools-68.1.0.ebuild b/dev-python/setuptools/setuptools-68.1.0.ebuild deleted file mode 100644 index 1d3366ff48b1..000000000000 --- a/dev-python/setuptools/setuptools-68.1.0.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -# please bump dev-python/ensurepip-setuptools along with this package! - -DISTUTILS_USE_PEP517=standalone -PYTHON_TESTED=( python3_{8,9,10,11} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 multiprocessing pypi - -DESCRIPTION="Collection of extensions to Distutils" -HOMEPAGE=" - https://github.com/pypa/setuptools/ - https://pypi.org/project/setuptools/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] - >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}] - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] - >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}] - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/build[${PYTHON_USEDEP}] - >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}] - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - dev-python/pip-run[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-fixture-config[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-virtualenv[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" -PDEPEND=" - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] - dev-python/setuptools-scm[${PYTHON_USEDEP}] -" - -src_prepare() { - local PATCHES=( - # TODO: remove this when we're 100% PEP517 mode - "${FILESDIR}"/setuptools-62.4.0-py-compile.patch - ) - - distutils-r1_src_prepare - - # remove bundled dependencies - rm -r */_vendor || die - - # remove the ugly */extern hack that breaks on unvendored deps - rm -r */extern || die - find -name '*.py' -exec sed \ - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \ - -i {} + || die -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - return - fi - - local EPYTEST_DESELECT=( - # network - # TODO: see if PRE_BUILT_SETUPTOOLS_* helps - setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist - setuptools/tests/test_build_meta.py::test_legacy_editable_install - setuptools/tests/test_distutils_adoption.py - setuptools/tests/test_editable_install.py - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests - setuptools/tests/test_virtualenv.py::test_clean_env_install - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements - # TODO - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors - setuptools/tests/test_extern.py::test_distribution_picklable - # expects bundled deps in virtualenv - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel - setuptools/tests/test_editable_install.py::test_editable_with_pyproject - # fails if python-xlib is installed - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts - # fails with importlib-metadata-6.6.0 - setuptools/tests/test_egg_info.py::TestWriteEntries::test_invalid_entry_point - # TODO, probably some random package - setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass - ) - - if has_version "<dev-python/packaging-22"; then - EPYTEST_DESELECT+=( - # old packaging is more lenient - setuptools/tests/config/test_setupcfg.py::TestOptions::test_raises_accidental_env_marker_misconfig - ) - fi - - epytest -n "$(makeopts_jobs)" setuptools -} diff --git a/dev-python/sphinx-tabs/sphinx-tabs-3.4.1.ebuild b/dev-python/sphinx-tabs/sphinx-tabs-3.4.1.ebuild deleted file mode 100644 index 649245167b59..000000000000 --- a/dev-python/sphinx-tabs/sphinx-tabs-3.4.1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Tabbed views for Sphinx" -HOMEPAGE=" - https://github.com/executablebooks/sphinx-tabs/ - https://pypi.org/project/sphinx-tabs/ -" -SRC_URI=" - https://github.com/executablebooks/sphinx-tabs/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/pytest-regressions[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/sphinx-testing[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs dev-python/sphinx-rtd-theme - -EPYTEST_DESELECT=( - # Unpackaged rinohtype - tests/test_build.py::test_rinohtype_pdf -) - -src_prepare() { - # annoying, incorrect version limitations - sed -i -e '/install_requires/d' setup.py || die - - # fix tests for >=sphinx-5 - sed -e 's/\(Permalink to this\) heading/\1 headline/g' \ - -i tests/test_build/test_*.html || die - - distutils-r1_src_prepare -} diff --git a/dev-python/sqlalchemy/sqlalchemy-2.0.19.ebuild b/dev-python/sqlalchemy/sqlalchemy-2.0.19.ebuild index 1486bbd6d082..4e10549f4be4 100644 --- a/dev-python/sqlalchemy/sqlalchemy-2.0.19.ebuild +++ b/dev-python/sqlalchemy/sqlalchemy-2.0.19.ebuild @@ -22,7 +22,7 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="examples +sqlite test" RDEPEND=" diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest index a70131ac4c7a..f085a39de099 100644 --- a/dev-python/starlette/Manifest +++ b/dev-python/starlette/Manifest @@ -1,2 +1 @@ -DIST starlette-0.28.0.gh.tar.gz 2843094 BLAKE2B a3cb35cf465b4540457cffafe4a3bb32081f542b8a5c730bc7fcc0bbf9f7a6c2c21bcc4297c8f3c5281f6ca787aa03c3ee4f90032155d1aa1887440dc289e5c1 SHA512 344c0581e6d6e64abd51347757cba4eb9bfba6f66bf62a2a5491cd3bb1c332895d6827bc478c00d9dfe3043152e814b6870894577a4e9547ac116c66f75a49b1 DIST starlette-0.30.0.gh.tar.gz 2844387 BLAKE2B 00457d4913bd1c99fc6972baae56c5ebe84ba8215c6dd4f7875f6d93856ba40454d8a72828e715624bb945dce4abfbe407ed16e289a393af7be980f36389f9ae SHA512 751077fcfe3d344584d8986f3fc2bc25208716ca215db8ce62dfc752008dacd95f4834367f0921ceacaafa6b20409a9912f49ceabc23d7e9e5f636c6fb3646b2 diff --git a/dev-python/starlette/starlette-0.28.0.ebuild b/dev-python/starlette/starlette-0.28.0.ebuild deleted file mode 100644 index 17481f4908d9..000000000000 --- a/dev-python/starlette/starlette-0.28.0.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 - -MY_P=${P/_p/.post} -DESCRIPTION="The little ASGI framework that shines" -HOMEPAGE=" - https://www.starlette.io/ - https://github.com/encode/starlette/ - https://pypi.org/project/starlette/ -" -# no docs or tests in sdist, as of 0.27.0 -SRC_URI=" - https://github.com/encode/starlette/archive/${PV/_p/.post}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - <dev-python/anyio-5[${PYTHON_USEDEP}] - >=dev-python/anyio-3.4.0[${PYTHON_USEDEP}] - >=dev-python/httpx-0.22.0[${PYTHON_USEDEP}] - dev-python/itsdangerous[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/python-multipart[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/trio[${PYTHON_USEDEP}] - ) -" - -EPYTEST_IGNORE=( - # Unpackaged 'databases' dependency - tests/test_database.py -) - -distutils_enable_tests pytest diff --git a/dev-python/starlette/starlette-0.30.0.ebuild b/dev-python/starlette/starlette-0.30.0.ebuild index ecb77a7198b8..17481f4908d9 100644 --- a/dev-python/starlette/starlette-0.30.0.ebuild +++ b/dev-python/starlette/starlette-0.30.0.ebuild @@ -24,7 +24,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" <dev-python/anyio-5[${PYTHON_USEDEP}] diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index e2b4f7dab740..3822182c97c7 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,3 +1,2 @@ -DIST stripe-5.4.0.tar.gz 268711 BLAKE2B 2417174ceed571a7b8483992ac15ef9d19a037e5745118c2eec3094f8e848ec49b384f62bd4a136ed046b695bd753efc6064109c30a50aca539a1085b1e056fe SHA512 55351171184672ab55f38ed483078dbbb85216bf80d07726d1bb8848d24ff829a3d464d543182afafedfcaabdb516a5868bc4ac7d16f64f2dc2dc7c1ab2e152a DIST stripe-5.5.0.tar.gz 270144 BLAKE2B aab1f824f0b9e27b80e23ecc9267c4cfc9e4b952b14fa30e642587935d6a60076cb913e06d43ee5ee981e3d9603d73050ee92a8dd4dce7f0014839409cad1b7d SHA512 3023574e6b7e3037cb10ff20bf22e6b689f4fdf2f4ad04102b80e8dbe530a4d3f1c179dd9af1dab77f8a7d9da03573665ee22628b8ed35dbd655148b5621fc19 DIST stripe-6.0.0.tar.gz 262261 BLAKE2B e91fbbda137cdaa78042b8914a85dcd3d75e04568f0d4ad72659d638aaa302f0b404f7893146a1affa7c8249f4f3965f674d6849378f9f89075b48df17c201a0 SHA512 dd0ca09faa605259ac4cf02887cfa7c51583e7d9b560cc98ad91ba161d101daeae7f27adf0650e701dc2fc8094315715125a79389d4765bd4bea74054ed6967b diff --git a/dev-python/stripe/stripe-5.4.0.ebuild b/dev-python/stripe/stripe-5.4.0.ebuild deleted file mode 100644 index 58f3a6337361..000000000000 --- a/dev-python/stripe/stripe-5.4.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Stripe python bindings" -HOMEPAGE=" - https://github.com/stripe/stripe-python/ - https://pypi.org/project/stripe/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - >=dev-python/requests-2.20[${PYTHON_USEDEP}] -" -# please bump dev-util/stripe-mock dep to the latest version on every bump -BDEPEND=" - test? ( - >=dev-util/stripe-mock-0.159.0 - dev-python/pytest-mock[${PYTHON_USEDEP}] - net-misc/curl - ) -" - -distutils_enable_tests pytest - -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) - -python_test() { - epytest tests -} - -src_test() { - local stripe_mock_port=12111 - local stripe_mock_max_port=12121 - local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" - # Try to start stripe-mock until we find a free port - while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do - ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" - stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & - local stripe_mock_pid=${!} - sleep 2 - # Did stripe-mock start? - curl --fail -u "sk_test_123:" \ - "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null - eend ${?} "Port ${stripe_mock_port} unavailable" - if [[ ${?} -eq 0 ]]; then - einfo "stripe-mock running on port ${stripe_mock_port}" - break - fi - (( stripe_mock_port++ )) - done - if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then - eerror "Unable to start stripe-mock for tests" - die "Please see the logfile located at: ${stripe_mock_logfile}" - fi - - local -x STRIPE_MOCK_PORT=${stripe_mock_port} - distutils-r1_src_test - - # Tear down stripe-mock - kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" -} diff --git a/dev-python/stripe/stripe-5.5.0.ebuild b/dev-python/stripe/stripe-5.5.0.ebuild index db7e19f3f9cb..b1b124e2ae24 100644 --- a/dev-python/stripe/stripe-5.5.0.ebuild +++ b/dev-python/stripe/stripe-5.5.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" >=dev-python/requests-2.20[${PYTHON_USEDEP}] diff --git a/dev-python/time-machine/time-machine-2.11.0.ebuild b/dev-python/time-machine/time-machine-2.11.0.ebuild index fcabf0304574..2f5b64837779 100644 --- a/dev-python/time-machine/time-machine-2.11.0.ebuild +++ b/dev-python/time-machine/time-machine-2.11.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}] diff --git a/dev-python/uvicorn/Manifest b/dev-python/uvicorn/Manifest index 48caff7e9bcf..391d8c174d47 100644 --- a/dev-python/uvicorn/Manifest +++ b/dev-python/uvicorn/Manifest @@ -1,3 +1 @@ -DIST uvicorn-0.22.0.gh.tar.gz 719615 BLAKE2B 8e0d6099e66822e77fb447c279de8f29c820e1f9e24e37629d36349ebd4b52ea8dc69f7fc02a21e9711925e3ad1ec4a95464ea315c7bc40a905810dc9a1ef077 SHA512 61af2df426a5bc060a32730ddf024ca8dd39ccea6800235bf48d7e0c694b9d363cbedd826f498063c6779061af84b6b56e8ab0a466e74291dbbaf5ae995e5587 -DIST uvicorn-0.23.0.gh.tar.gz 722671 BLAKE2B f1fdc09e211c97d9e326b41b197d12ad019e660a1a2fcc0c70ee62c2016a20bbcafb9be759fc9b682185e70e10881c9a3511168eb0e75844973f7c3321d455bd SHA512 2449150abdf7914b47ff8c02732549cd71e63cc7c6440eedfd200340df4e70543232ed1ef47e2ebc6b29fc9a0d4615f542d7d1c603ce2673f121afab63d89b47 DIST uvicorn-0.23.2.gh.tar.gz 723155 BLAKE2B 03edb0b6c7be001be868636a77b818491d71e28277e22f252d650c2d9452e5018470fa3cf60300a8f4358d548f794e95a1bf877ac02ed30574a14dc56cea9841 SHA512 a575482ed261dff3a74a5e04387b36dda55d5975a635ca5c124770b7bbfcf764ea420b0b78b9396e4eaa8b839031933aefc7867befb46d18f39f3df5115eb77a diff --git a/dev-python/uvicorn/uvicorn-0.22.0.ebuild b/dev-python/uvicorn/uvicorn-0.22.0.ebuild deleted file mode 100644 index 92cae59e3b54..000000000000 --- a/dev-python/uvicorn/uvicorn-0.22.0.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Lightning-fast ASGI server implementation" -HOMEPAGE=" - https://www.uvicorn.org/ - https://github.com/encode/uvicorn/ - https://pypi.org/project/uvicorn/ -" -# as of 0.21.0, no tests in sdist -SRC_URI=" - https://github.com/encode/uvicorn/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="test-rust" - -RDEPEND=" - >=dev-python/asgiref-3.4.0[${PYTHON_USEDEP}] - >=dev-python/click-7.0[${PYTHON_USEDEP}] - >=dev-python/h11-0.8[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/a2wsgi[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/python-dotenv[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - >=dev-python/websockets-10.4[${PYTHON_USEDEP}] - dev-python/wsproto[${PYTHON_USEDEP}] - test-rust? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - dev-python/watchfiles[${PYTHON_USEDEP}] - ) - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # too long path for unix socket - tests/test_config.py::test_bind_unix_socket_works_with_reload_or_workers - # need unpackaged httptools - "tests/middleware/test_logging.py::test_trace_logging_on_http_protocol[httptools]" - tests/protocols/test_http.py::test_fragmentation - # TODO - tests/protocols/test_websocket.py::test_connection_lost_before_handshake_complete - "tests/protocols/test_websocket.py::test_asgi_return_value[H11Protocol-WebSocketProtocol]" - ) - if [[ ${EPYTHON} == pypy3 ]]; then - # TODO - EPYTEST_DESELECT+=( - tests/middleware/test_logging.py::test_running_log_using_fd - ) - fi - if [[ ${EPYTHON} == python3.12 ]]; then - EPYTEST_DESELECT+=( - tests/supervisors/test_signal.py::test_sigint_abort_req - # hang - tests/protocols/test_websocket.py::test_send_close_on_server_shutdown - ) - fi - - epytest -} - -pkg_postinst() { - optfeature "auto reload on file changes" dev-python/watchfiles -} diff --git a/dev-python/uvicorn/uvicorn-0.23.0.ebuild b/dev-python/uvicorn/uvicorn-0.23.0.ebuild deleted file mode 100644 index 7304357aa25e..000000000000 --- a/dev-python/uvicorn/uvicorn-0.23.0.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Lightning-fast ASGI server implementation" -HOMEPAGE=" - https://www.uvicorn.org/ - https://github.com/encode/uvicorn/ - https://pypi.org/project/uvicorn/ -" -# as of 0.21.0, no tests in sdist -SRC_URI=" - https://github.com/encode/uvicorn/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="test-rust" - -RDEPEND=" - >=dev-python/asgiref-3.4.0[${PYTHON_USEDEP}] - >=dev-python/click-7.0[${PYTHON_USEDEP}] - >=dev-python/h11-0.8[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/a2wsgi[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/python-dotenv[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - >=dev-python/websockets-10.4[${PYTHON_USEDEP}] - dev-python/wsproto[${PYTHON_USEDEP}] - test-rust? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - dev-python/watchfiles[${PYTHON_USEDEP}] - ) - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # too long path for unix socket - tests/test_config.py::test_bind_unix_socket_works_with_reload_or_workers - # need unpackaged httptools - "tests/middleware/test_logging.py::test_trace_logging_on_http_protocol[httptools]" - tests/protocols/test_http.py::test_fragmentation - # TODO - tests/protocols/test_websocket.py::test_connection_lost_before_handshake_complete - "tests/protocols/test_websocket.py::test_asgi_return_value[H11Protocol-WebSocketProtocol]" - ) - case ${EPYTHON} in - pypy3) - # TODO - EPYTEST_DESELECT+=( - tests/middleware/test_logging.py::test_running_log_using_fd - ) - ;; - python3.12) - EPYTEST_DESELECT+=( - tests/supervisors/test_signal.py::test_sigint_abort_req - # hang - tests/protocols/test_websocket.py::test_send_close_on_server_shutdown - ) - ;; - esac - - epytest -} - -pkg_postinst() { - optfeature "auto reload on file changes" dev-python/watchfiles -} diff --git a/dev-python/versioneer/Manifest b/dev-python/versioneer/Manifest index 09e0e3feaa6e..64c33eec4039 100644 --- a/dev-python/versioneer/Manifest +++ b/dev-python/versioneer/Manifest @@ -1,2 +1 @@ -DIST python-versioneer-0.28.gh.tar.gz 77503 BLAKE2B a4d75ce8a7db057421e36fd75bfa9ec83a41191b999c2a81b3879290424005b521f7b6046debb847bf78eae459ef7247d903f971d2a0c4fce116ec0cd1f34833 SHA512 ef27f4588f1c76eb5da1e108f2eee635707b2427cd79a71880f8df217317329e5fb81b30b1e741f2439550dc73f9a816ebdf47af475862344d67ed2189f92a1e DIST python-versioneer-0.29.gh.tar.gz 78801 BLAKE2B e0af2887a8aaf5d4aee14d8370fa47d4ad9f0a5d385382de5b14f34fb1d6388daacaeab48677523b157ef685c8ad6e18b89bc8546ad8c991cde06e5c78da701c SHA512 10dce0923e2a48036117b64c8b746bb57db4b33f9f752ba950bf877319184451928d1eb37693ffb1a4f95afd774a4883cf265b8a82f35bd77b26c0967caa9ad6 diff --git a/dev-python/versioneer/versioneer-0.28.ebuild b/dev-python/versioneer/versioneer-0.28.ebuild deleted file mode 100644 index 3af4fc94e698..000000000000 --- a/dev-python/versioneer/versioneer-0.28.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 - -MY_P=python-versioneer-${PV} -DESCRIPTION="Easy VCS-based management of project version strings" -HOMEPAGE=" - https://pypi.org/project/versioneer/ - https://github.com/python-versioneer/python-versioneer/ -" -SRC_URI=" - https://github.com/python-versioneer/python-versioneer/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -SLOT="0" -LICENSE="Unlicense" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.8 3.9 3.10) -" -BDEPEND=" - test? ( - dev-python/build[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-vcs/git - !!dev-python/nose[${PYTHON_USEDEP}] - ) -" - -python_test() { - esetup.py make_versioneer - - git config --global user.email "you@example.com" || die - git config --global user.name "Your Name" || die - git config --global init.defaultBranch whatever || die - - "${EPYTHON}" test/git/test_git.py -v || die -} diff --git a/dev-python/versioneer/versioneer-0.29.ebuild b/dev-python/versioneer/versioneer-0.29.ebuild index c9d59f433a17..89eebec73e07 100644 --- a/dev-python/versioneer/versioneer-0.29.ebuild +++ b/dev-python/versioneer/versioneer-0.29.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} SLOT="0" LICENSE="Unlicense" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index 7b80463d9a86..ddc44f5a0571 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -1,5 +1,2 @@ -DIST virtualenv-20.23.1.tar.gz 6619074 BLAKE2B 0b35a1439b7e2a9eba9c676457a39d22c4318dd4925723bdfcd5ec36cdae236b5bd6aee44a7e4cea5f1febfac7dbf58a7b0e21bb150529f9b851eb065fbddede SHA512 9a19b8f4aff021f5419c10b5954118adb668294cdeffba7a43ed12f76fc6fc8aed8e53df68277a959deb7a4e81f81ed9b4797c17574c347610c8de8d85826af8 -DIST virtualenv-20.24.0.tar.gz 6315085 BLAKE2B ae80fb91ecf8ba69574f5e4373913e6f7c951d56c8091cf7066f24b7b98d6a25479acca637980117d4e7759eb35d4e2fb9a95fc211360825148cf8ae650db6ea SHA512 7c3974ebd40d855bb859e3af10e341c6e8164d63779d6038bac15d49fdb1b87c564c6f7987d06d2f01fb4009183dfe4e05fa2dadaad44b8a153b7c1cb55b687e DIST virtualenv-20.24.1.tar.gz 6338055 BLAKE2B b5d6ff2fa230a094699cd5ef3a289d9f79c35a843e8709009b44c7d5861dffe2072d51c62a623624c3f7b1656d126781ae454a81e3510474e2514ec66d85637f SHA512 7ac4c130df7eb4b7bf2b393505c80ed07824c9d0c09535f1d7483f3926324e0d1c54c0b8310c228e529a9b3839820e943a1d2ff2b06174782f13735c2a1ed472 -DIST virtualenv-20.24.2.tar.gz 6338501 BLAKE2B 8a23dc82dd3cf7e5b5a33427b23f0e1d580c463573145c079cb4d18bb2292c61475b0209c6b249ec8d6eff1196a7695e3bf4a4267145e9f2ebca96a25a11fd43 SHA512 776924af470969503adec4ace6da626828ed0a41d17dcc88ef5b0166bed12f98862c6482a63f79d370cd9226c2b8e118933045d89369486ddad3c4e05c0db713 DIST virtualenv-20.24.3.tar.gz 6345661 BLAKE2B b6e9db2b59114de0aa419f558b863aa980daaca278e658f7dce55b5b2bef16e88915162d4b5ea31bb5c549582debd22d02b2a0edc7db08c168428395251448c3 SHA512 9cf6f03b50bae773cca2a01be4f74251d3054ea997a0b1236c4e6650e779f219ca51f736eff86a6e25548d5bc0c84e85a1d0cf7d3099848d773d205837c76fc3 diff --git a/dev-python/virtualenv/virtualenv-20.23.1.ebuild b/dev-python/virtualenv/virtualenv-20.23.1.ebuild deleted file mode 100644 index dc552c51ce4a..000000000000 --- a/dev-python/virtualenv/virtualenv-20.23.1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Virtual Python Environment builder" -HOMEPAGE=" - https://virtualenv.pypa.io/en/stable/ - https://pypi.org/project/virtualenv/ - https://github.com/pypa/virtualenv/ -" - -LICENSE="MIT" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" -SLOT="0" - -RDEPEND=" - <dev-python/distlib-1[${PYTHON_USEDEP}] - >=dev-python/distlib-0.3.6[${PYTHON_USEDEP}] - <dev-python/filelock-4[${PYTHON_USEDEP}] - >=dev-python/filelock-3.12[${PYTHON_USEDEP}] - <dev-python/platformdirs-4[${PYTHON_USEDEP}] - >=dev-python/platformdirs-3.5.1[${PYTHON_USEDEP}] -" -# coverage is used somehow magically in virtualenv, maybe it actually -# tests something useful -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}] - ' pypy3) - >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] - >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python3*') - dev-python/wheel[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - tests/unit/activation/test_xonsh.py - tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data - tests/unit/create/test_creator.py::test_cross_major - # tests failing without python2 installed - "tests/unit/create/test_creator.py::test_py_pyc_missing[True-False]" - "tests/unit/create/test_creator.py::test_py_pyc_missing[False-False]" - ) - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( - 'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-isolated]' - 'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-global]' - 'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-isolated]' - 'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-global]' - 'tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-isolated]' - 'tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-global]' - 'tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-isolated]' - 'tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-global]' - 'tests/unit/create/test_creator.py::test_zip_importer_can_import_setuptools' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3--bin-]' - ) - [[ ${EPYTHON} == python3.1[12] ]] && EPYTEST_DESELECT+=( - # TODO - tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable - ) - [[ ${EPYTHON} == python3.12 ]] && EPYTEST_DESELECT+=( - tests/unit/create/via_global_ref/test_build_c_ext.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - local plugins=( -p flaky -p pytest_mock ) - if [[ ${EPYTHON} == pypy3 ]]; then - plugins+=( -p freezegun ) - else - plugins+=( -p time_machine ) - fi - epytest "${plugins[@]}" -} diff --git a/dev-python/virtualenv/virtualenv-20.24.0.ebuild b/dev-python/virtualenv/virtualenv-20.24.0.ebuild deleted file mode 100644 index 7c2078755b67..000000000000 --- a/dev-python/virtualenv/virtualenv-20.24.0.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Virtual Python Environment builder" -HOMEPAGE=" - https://virtualenv.pypa.io/en/stable/ - https://pypi.org/project/virtualenv/ - https://github.com/pypa/virtualenv/ -" - -LICENSE="MIT" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -SLOT="0" - -RDEPEND=" - <dev-python/distlib-1[${PYTHON_USEDEP}] - >=dev-python/distlib-0.3.6[${PYTHON_USEDEP}] - <dev-python/filelock-4[${PYTHON_USEDEP}] - >=dev-python/filelock-3.12[${PYTHON_USEDEP}] - <dev-python/platformdirs-4[${PYTHON_USEDEP}] - >=dev-python/platformdirs-3.5.1[${PYTHON_USEDEP}] -" -# coverage is used somehow magically in virtualenv, maybe it actually -# tests something useful -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}] - ' pypy3) - >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] - >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python3*') - dev-python/wheel[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - tests/unit/activation/test_xonsh.py - tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data - tests/unit/create/test_creator.py::test_cross_major - # tests failing without python2 installed - "tests/unit/create/test_creator.py::test_py_pyc_missing[True-False]" - "tests/unit/create/test_creator.py::test_py_pyc_missing[False-False]" - ) - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( - 'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-isolated]' - 'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-global]' - 'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-isolated]' - 'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-global]' - 'tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-isolated]' - 'tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-global]' - 'tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-isolated]' - 'tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-global]' - 'tests/unit/create/test_creator.py::test_zip_importer_can_import_setuptools' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3--bin-]' - ) - [[ ${EPYTHON} == python3.1[12] ]] && EPYTEST_DESELECT+=( - # TODO - tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable - ) - [[ ${EPYTHON} == python3.12 ]] && EPYTEST_DESELECT+=( - tests/unit/create/via_global_ref/test_build_c_ext.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - local plugins=( -p flaky -p pytest_mock ) - if [[ ${EPYTHON} == pypy3 ]]; then - plugins+=( -p freezegun ) - else - plugins+=( -p time_machine ) - fi - epytest "${plugins[@]}" -} diff --git a/dev-python/virtualenv/virtualenv-20.24.1.ebuild b/dev-python/virtualenv/virtualenv-20.24.1.ebuild index 7c2078755b67..dc552c51ce4a 100644 --- a/dev-python/virtualenv/virtualenv-20.24.1.ebuild +++ b/dev-python/virtualenv/virtualenv-20.24.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" " LICENSE="MIT" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" SLOT="0" RDEPEND=" diff --git a/dev-python/virtualenv/virtualenv-20.24.2.ebuild b/dev-python/virtualenv/virtualenv-20.24.2.ebuild deleted file mode 100644 index 8034cb7a012a..000000000000 --- a/dev-python/virtualenv/virtualenv-20.24.2.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Virtual Python Environment builder" -HOMEPAGE=" - https://virtualenv.pypa.io/en/stable/ - https://pypi.org/project/virtualenv/ - https://github.com/pypa/virtualenv/ -" - -LICENSE="MIT" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -SLOT="0" - -RDEPEND=" - <dev-python/distlib-1[${PYTHON_USEDEP}] - >=dev-python/distlib-0.3.7[${PYTHON_USEDEP}] - <dev-python/filelock-4[${PYTHON_USEDEP}] - >=dev-python/filelock-3.12.2[${PYTHON_USEDEP}] - <dev-python/platformdirs-4[${PYTHON_USEDEP}] - >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] -" -# coverage is used somehow magically in virtualenv, maybe it actually -# tests something useful -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}] - ' pypy3) - >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] - >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python3*') - dev-python/wheel[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - tests/unit/activation/test_xonsh.py - tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data - tests/unit/create/test_creator.py::test_cross_major - # tests failing without python2 installed - "tests/unit/create/test_creator.py::test_py_pyc_missing[True-False]" - "tests/unit/create/test_creator.py::test_py_pyc_missing[False-False]" - ) - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( - 'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-isolated]' - 'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-global]' - 'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-isolated]' - 'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-global]' - 'tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-isolated]' - 'tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-global]' - 'tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-isolated]' - 'tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-global]' - 'tests/unit/create/test_creator.py::test_zip_importer_can_import_setuptools' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3--bin-]' - ) - [[ ${EPYTHON} == python3.1[12] ]] && EPYTEST_DESELECT+=( - # TODO - tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable - ) - [[ ${EPYTHON} == python3.12 ]] && EPYTEST_DESELECT+=( - tests/unit/create/via_global_ref/test_build_c_ext.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - local plugins=( -p flaky -p pytest_mock ) - if [[ ${EPYTHON} == pypy3 ]]; then - plugins+=( -p freezegun ) - else - plugins+=( -p time_machine ) - fi - epytest "${plugins[@]}" -} diff --git a/dev-python/xcffib/Manifest b/dev-python/xcffib/Manifest index c4a6b9206367..bea594e6c185 100644 --- a/dev-python/xcffib/Manifest +++ b/dev-python/xcffib/Manifest @@ -1,3 +1,4 @@ DIST xcffib-1.2.0.tar.gz 88972 BLAKE2B a8d9be7c3149f696d06474aab85e9f7605d45e9861151192dbb7b51e48483f75adb721e17531432294d19d8d6498b66ba312702ea011e8470c3ac42ac0cd6e23 SHA512 7012833f2877edea92cdc15030543883e2a848264c034a81222626ad48a69fcdac8a88cec2e07e61a80102640baa7fbdf29bbf25e08e59fc896aada08533bb77 DIST xcffib-1.3.0.tar.gz 89874 BLAKE2B 5dd8d64b906d92cb987ee4398da668d6034faf4abc24a56c0fca3e5b6d0cd1252ea1459736a9f7fb83ee97d4d6cec5d103eb19aba626a3d646f67e6332e255a5 SHA512 a493f86891158ffa0c36168da5e7ebdeadafe5e9f067e2ad6052cf302c89db612f907b5e9950748fcfd74886b808870986529902bae77fede7e27d5d422d6ec6 DIST xcffib-1.4.0.tar.gz 89496 BLAKE2B 4987d9346d403c3ac627cd7b1b31d3686b9135d077c4b61862841085cc1c1ea7f950bd0b6c456d59f407bb384d14a96cf2a617f2c584434eee294a22ac770a82 SHA512 310fc4c21856d2255650598c26831569061e112516d958e6f65a0a8e6d32c4bb37a14d7bb6c7da8dcaa9c4459fc83026ba9b1a9567f01f9bbcafda8fdea4f153 +DIST xcffib-1.5.0.tar.gz 89544 BLAKE2B cb3820a53eb7694078e5dbb175951b6dbdc445c06f397898e52319fd8a7633f2d8115f0d096a14b2b3de0c7b07918343d077705814574ff41de2bf06a12812c0 SHA512 aaa426b57d0d8dc45cb6a2036c862af6308fb5781667b8dba3f5ff399fe5e15912860d0bb696ac09f1efd4ffbbdaf7f555ef76039bd660f36f5c6179535b654f diff --git a/dev-python/xcffib/xcffib-1.5.0.ebuild b/dev-python/xcffib/xcffib-1.5.0.ebuild new file mode 100644 index 000000000000..b41a6c65c893 --- /dev/null +++ b/dev-python/xcffib/xcffib-1.5.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 pypi + +DESCRIPTION="A drop in replacement for xpyb, an XCB python binding" +HOMEPAGE=" + https://github.com/tych0/xcffib/ + https://pypi.org/project/xcffib/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +DEPEND=" + x11-libs/libxcb +" +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/cffi-1.1:=[${PYTHON_USEDEP}] + ' 'python*') + ${DEPEND} +" +BDEPEND=" + test? ( + x11-base/xorg-server[xvfb] + x11-apps/xeyes + ) +" + +distutils_enable_tests pytest + +python_test() { + rm -rf xcffib || die + epytest +} |
