diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-04 03:03:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-04 03:03:54 +0000 |
commit | 3cc82055be7dba177f4aea15af9f5414b532da7e (patch) | |
tree | 1eed8bbe7a93b3a0a7d6091ead40e81519978a38 /dev-python | |
parent | 212000bb5eabdfeb9a6e7a9b8f28e2740cae555a (diff) |
gentoo auto-resync : 04:11:2024 - 03:03:54
Diffstat (limited to 'dev-python')
59 files changed, 894 insertions, 1034 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex db83ab5aeb1e..9a2cb832a145 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index 376758675413..5fafbdac26fd 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -1,5 +1,7 @@ DIST aiohttp-3.10.10.tar.gz 7542993 BLAKE2B edc9808937892e2915b591a3d5b9e2be8401a67e6421ada8c49e27cfa1ee67283465d17e3c3a77f7579d4ed45df39884a2f9e336429ef7d64adf351ce7507a85 SHA512 c6928d989c110c323347b6f5b0a90c42e17924b4121455a240f5a15d87f939580640ba0f8d576f8254e484e5b631ec4562a2fb4e6c86402924b1892a6d72aff8 DIST aiohttp-3.11.0b0.tar.gz 7587019 BLAKE2B 7391adbb55819deaf4a70f6b8a6a55bb5ded9a0b932ed5597585f3c1ae669575ecd4050df8757f7ada42cedb1301027f4aa1b6c027d6f7140bb5612d4268b926 SHA512 9754c51e63b20ff4df28d04897e630165bb0da6bc2924cd43a610d5679b3a87f82d9c0eebc0c2d6eb82c82c37b4908e7ff73ed801df7956846ac1a260219e61d +DIST aiohttp-3.11.0b1.tar.gz 7613789 BLAKE2B c5eff496ab6c6fe755a31a3f368716de52727e825102ff718016c0e9ff698bd95b114ac5d41790359cd44ecaba44fde6785ce7e220a4835378f36241318d2bef SHA512 a9bd6a45eb47e5209eb5765590684cd3134b936cfd0126716b4e723bf6d5a909079233148ce48f9cff69d4020a6ec25e809860c02cba702079fe5e44bf86d5ff EBUILD aiohttp-3.10.10.ebuild 3228 BLAKE2B 9460d28a9b9d85addbb378a77575cbeadec2c40f4a172aa16955fe2676bc2cea291e7019dd9480a30afc3c8957f69d05a83f6d6151a187ea8f6e9a59e9de6acc SHA512 0fdc8696e8aae4f3e3a0d7636f135bc6268b18299886df364c7dcff536b6817cd82ed93898065770c7791428e984a657f1ab87472eeac10f639350eea34ee0ab EBUILD aiohttp-3.11.0_beta0.ebuild 3420 BLAKE2B ef8163376f554628ee7c238520266c4fd5d4231fb25e99fdd698e811b9970073ee29ba05eab20c4f205a2c4ccaf9cfbb714990b6372c7d66c23d7777dc58204b SHA512 17a9f5488e1c343c32a0603004ee6a7f47c04378f7fa1706155dcf412acd4c64f2506b960cab321150792754662c89d84c41de1e8e94dd6df8d1c0d82cdf0c7b +EBUILD aiohttp-3.11.0_beta1.ebuild 3459 BLAKE2B 51aa710efc0357e1eb9c06aa759a38578445af960d7907663d72c7f968855428d9eb7dc75e84e3b92ce9d6db08ec44344742a46085b01f9800052634b2665a55 SHA512 10a9244c0a6ad902f41f37873ec7ff8494010300a99b93827ec6edaf27bc5f23b86fed8cc1eb4fb8597c2cec2813bcfeb82add6067e1fe2e7e5c9f13e4278295 MISC metadata.xml 490 BLAKE2B 5233af0b5e2668b1eb62278b05b62f24f1ab90f6d05b20dd9f1c5b54b846919c3fa28b843df28f5bfa320996d46de0e74c7a28bd0bef02aaaca14b1cec52baba SHA512 9b701c5c5a22b6aa94977a67bc40f3dc9df8337556952658a2a17ecaaa471cd7f7b5b8bf3a0088208087677555f0cbb8760c091b03b96ee70affe3e2b84cf6d5 diff --git a/dev-python/aiohttp/aiohttp-3.11.0_beta1.ebuild b/dev-python/aiohttp/aiohttp-3.11.0_beta1.ebuild new file mode 100644 index 000000000000..28d45ad74446 --- /dev/null +++ b/dev-python/aiohttp/aiohttp-3.11.0_beta1.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="HTTP client/server for asyncio" +HOMEPAGE=" + https://github.com/aio-libs/aiohttp/ + https://pypi.org/project/aiohttp/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions test-rust" + +RDEPEND=" + >=dev-python/aiodns-3.2.0[${PYTHON_USEDEP}] + >=dev-python/aiohappyeyeballs-2.3.0[${PYTHON_USEDEP}] + >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] + >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] + dev-python/brotlicffi[${PYTHON_USEDEP}] + >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] + >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] + >=dev-python/propcache-0.2.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.17.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + <dev-python/async-timeout-5[${PYTHON_USEDEP}] + >=dev-python/async-timeout-4.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + native-extensions? ( + dev-python/cython[${PYTHON_USEDEP}] + ) + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + www-servers/gunicorn[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python3*') + test-rust? ( + dev-python/trustme[${PYTHON_USEDEP}] + ) + ) +" + +DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # increase the timeout a little + sed -e '/abs=/s/0.001/0.01/' -i tests/test_helpers.py || die + # xfail_strict fails on py3.10 + sed -i -e '/--cov/d' -e '/xfail_strict/d' setup.cfg || die + sed -i -e 's:-Werror::' Makefile || die + + distutils-r1_src_prepare +} + +python_configure() { + if [[ ! -d tools && ${EPYTHON} != pypy3 ]] && use native-extensions + then + # workaround missing files + mkdir tools || die + > requirements/cython.txt || die + > tools/gen.py || die + chmod +x tools/gen.py || die + # force rehashing first + emake requirements/.hash/cython.txt.hash + > .update-pip || die + > .install-cython || die + emake cythonize + fi +} + +python_compile() { + # implicitly disabled for pypy3 + if ! use native-extensions; then + local -x AIOHTTP_NO_EXTENSIONS=1 + fi + + distutils-r1_python_compile +} + +python_test() { + local EPYTEST_IGNORE=( + # proxy is not packaged + tests/test_proxy_functional.py + # python_on_whales is not packaged + tests/autobahn/test_autobahn.py + # benchmarks + tests/test_benchmarks_client_request.py + tests/test_benchmarks_cookiejar.py + tests/test_benchmarks_http_websocket.py + tests/test_benchmarks_http_writer.py + ) + + local EPYTEST_DESELECT=( + # Internet + tests/test_client_session.py::test_client_session_timeout_zero + # broken by irrelevant deprecation warnings + tests/test_circular_imports.py::test_no_warnings + ) + + # upstream unconditionally blocks building C extensions + # on PyPy3 but the test suite needs an explicit switch + if [[ ${EPYTHON} == pypy3 ]] || ! use native-extensions; then + local -x AIOHTTP_NO_EXTENSIONS=1 + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin + rm -rf aiohttp || die + epytest -m "not internal and not dev_mode" \ + -p rerunfailures --reruns=5 +} diff --git a/dev-python/bottleneck/Manifest b/dev-python/bottleneck/Manifest index 9d6a78da4c3b..2e2764896f73 100644 --- a/dev-python/bottleneck/Manifest +++ b/dev-python/bottleneck/Manifest @@ -1,9 +1,3 @@ -DIST bottleneck-1.4.0.tar.gz 103490 BLAKE2B c72b53bd1f4325fa53d7824e335ec50a37da7650c097bdda22548637c1e5a95bfa219dad1361dfb2eecdcf0fa1445a5c6cfb94b7472290fa6317524dc474f46c SHA512 07c1224d63a34e12488dce1f72152fdc493db904130cef46092f7f9c3218a04032e90d64dbf385069072c5d56c7ea09db15897d5c77b9d53db2e3da9414f84cc -DIST bottleneck-1.4.1rc1.tar.gz 103592 BLAKE2B 1e201ae87274e33245a56a9976d951e0040c9bb0bcca714a1b5dcd5b2e40a782dfa0ee09dbb7743e803fe5bd6c1c074abff24408d68bd3dd00050fb8d6e07ab3 SHA512 5ba05a852833f1eae3b5b5d96125484011faa08cc6556cdbadc668ef3c5efde406ff5432235de2ef65bb6ce3ca9f8aab159e33b2ddbfb8566638dfa9746f9ef0 -DIST bottleneck-1.4.1rc3.tar.gz 103545 BLAKE2B 680c7efb6836cbfc31c2691e5268b3c2dc29861a8d874892a7b90681fe82e9b84acaccd67b6e4f4e5d69b11600aa251b1b7abd18b7064b28b90e9686b444d38e SHA512 ec72c21a7ed164078790c4ed8a71fa739b5b90b1f1c273e55943e6b057f399ef8215515844fbef59d8fe758ec20b2defc232f6cb7e826fbd985a78c48b8537be DIST bottleneck-1.4.2.tar.gz 103563 BLAKE2B a0fe43222acb63bcdf238282868c4a9acc6a8d0c3aa31d0b8ac9c38b6c4bb9e8a99e97e0227067a400b6320e52bbbbf0f29ddd5e38b32bc8c9cc995086d38e50 SHA512 6998a00375527fe77edd159311780a6551ee21dc2ef0ede7f47f6ca26542af4858df0065b2e8e82c3e5914069d0f467a770f460d04da5288d5a01ffd310d6292 -EBUILD bottleneck-1.4.0.ebuild 1039 BLAKE2B 65c37e214b4083e96ca36eeb80078aaafcc0c6b45c64d145da237955d1879d0602ad796accb97e19f124a5c23e135bd0657e32f2b9990d907e4150f11204e5cc SHA512 e4216a2bf371536583f546eac6f2dfb2fb4716b0c4e2a0709afdfc0492934cb7a1f0c09a7b0f47dd364d302f492f6252d6f3a2a3c29f077b18a4eef09ae5b4a9 -EBUILD bottleneck-1.4.1_rc1.ebuild 1044 BLAKE2B c2547be7547822ab767bfcb92a7604e430aea68db25e07319d755c94e8ff725457fe346e2580107cb19e84b0da0113785d9ad1c04814b3f1fe1969ff9630505a SHA512 0c7e68d80bf24b7473055c642752c9c557ddbee2ae4c23fb88be78c93d1076b1d56d093d52e347fdc123ea14044f0756300a8358a95bccf2848f4539aaaef68d -EBUILD bottleneck-1.4.1_rc3.ebuild 1044 BLAKE2B c2547be7547822ab767bfcb92a7604e430aea68db25e07319d755c94e8ff725457fe346e2580107cb19e84b0da0113785d9ad1c04814b3f1fe1969ff9630505a SHA512 0c7e68d80bf24b7473055c642752c9c557ddbee2ae4c23fb88be78c93d1076b1d56d093d52e347fdc123ea14044f0756300a8358a95bccf2848f4539aaaef68d EBUILD bottleneck-1.4.2.ebuild 1036 BLAKE2B 6a25ca3729a65eeffd4b9dd5bffc6851215b0f8d3d9b11897818dbb69488c5e5aa4c7ad1470b69b3dee0929fdf219f36f205600015810427e45ef78bd987e09d SHA512 c2d35c4424b365863fdf779f0d212e322aeef7016e7a04b835a7451cd3b8077a93ab08748c7c1f64db197dfe9e6bc31990aa0ebd100d2304edcf50528dc3f26d MISC metadata.xml 519 BLAKE2B 5e5e712122fb0bbc898942cbae15c7cf623aa8462257f063f65a06bc9caae6662c373963f0945f99c5fffe01270e2792e8e5d01af93b49a04f5c3c22cd3a30f7 SHA512 55d2c03dedaa48c8f802d1e4d1d7db4e829fe7357b501c3b2955d28da501eae00675b2775ab36d1131cf2ef0a3d037183bde8df4c85e986d81510df4e234b0ae diff --git a/dev-python/bottleneck/bottleneck-1.4.0.ebuild b/dev-python/bottleneck/bottleneck-1.4.0.ebuild deleted file mode 100644 index 08d0c9e642f2..000000000000 --- a/dev-python/bottleneck/bottleneck-1.4.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYPI_PN=${PN^} -PYTHON_COMPAT=( python3_{10..13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fast NumPy array functions written in C" -HOMEPAGE=" - https://github.com/pydata/bottleneck/ - https://pypi.org/project/Bottleneck/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" - -DEPEND=" - >=dev-python/numpy-1.9.1:=[${PYTHON_USEDEP}] -" -RDEPEND=" - ${DEPEND} -" - -distutils_enable_tests pytest - -src_prepare() { - # don't overwrites user's optimization level - sed -e '/extra_compile_args=\["-O2"\]/d' -i setup.py || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # GC assumptions? - tests/memory_test.py::test_memory_leak - ) - ;; - esac - - rm -rf bottleneck || die - epytest --pyargs bottleneck -} diff --git a/dev-python/bottleneck/bottleneck-1.4.1_rc1.ebuild b/dev-python/bottleneck/bottleneck-1.4.1_rc1.ebuild deleted file mode 100644 index d859f3bcc96b..000000000000 --- a/dev-python/bottleneck/bottleneck-1.4.1_rc1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYPI_PN=${PN^} -PYTHON_COMPAT=( python3_{10..13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fast NumPy array functions written in C" -HOMEPAGE=" - https://github.com/pydata/bottleneck/ - https://pypi.org/project/Bottleneck/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" - -DEPEND=" - >=dev-python/numpy-1.9.1:=[${PYTHON_USEDEP}] -" -RDEPEND=" - ${DEPEND} -" - -distutils_enable_tests pytest - -src_prepare() { - # don't overwrites user's optimization level - sed -e '/extra_compile_args=\["-O2"\]/d' -i setup.py || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # GC assumptions? - tests/memory_test.py::test_memory_leak - ) - ;; - esac - - rm -rf bottleneck || die - epytest --pyargs bottleneck -} diff --git a/dev-python/bottleneck/bottleneck-1.4.1_rc3.ebuild b/dev-python/bottleneck/bottleneck-1.4.1_rc3.ebuild deleted file mode 100644 index d859f3bcc96b..000000000000 --- a/dev-python/bottleneck/bottleneck-1.4.1_rc3.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYPI_PN=${PN^} -PYTHON_COMPAT=( python3_{10..13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fast NumPy array functions written in C" -HOMEPAGE=" - https://github.com/pydata/bottleneck/ - https://pypi.org/project/Bottleneck/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" - -DEPEND=" - >=dev-python/numpy-1.9.1:=[${PYTHON_USEDEP}] -" -RDEPEND=" - ${DEPEND} -" - -distutils_enable_tests pytest - -src_prepare() { - # don't overwrites user's optimization level - sed -e '/extra_compile_args=\["-O2"\]/d' -i setup.py || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # GC assumptions? - tests/memory_test.py::test_memory_leak - ) - ;; - esac - - rm -rf bottleneck || die - epytest --pyargs bottleneck -} diff --git a/dev-python/cmd2/Manifest b/dev-python/cmd2/Manifest index bb4874761e4a..db69e7f7170f 100644 --- a/dev-python/cmd2/Manifest +++ b/dev-python/cmd2/Manifest @@ -1,5 +1,7 @@ DIST cmd2-2.4.3.tar.gz 678661 BLAKE2B 806fbd6abc26737032dd6330ebabc1e5308e9082f9c98002845a54f1458d314feb476e4d491892e74cde16f5043c57495426ad50aaf3e7e8d0d938f0388db6e2 SHA512 1d440752262f38a742069e636373884edcc49c17ba17b21b24015cfe559b4df36b45ac9489f2f643897fbd38f54b8e6120daf07ef25d2f209af8a4ac8e4c0085 DIST cmd2-2.5.0.tar.gz 688531 BLAKE2B b5b88faf2848b8941df70235c32451847c86dbc7953b960383e57fa1529d4d3c557d75a36010900f7702c68b3f46de1725fb4b74892073b0dcd975b4f880e9cb SHA512 7c04cb735624abdd8ba93aa7dd5155913fe6bd9f2021c58008a20e91c380fed87c1bb32b552be6b7ab47ceca49bc5dced9e31fe7a5a0b621475862b28216f4ee +DIST cmd2-2.5.1.tar.gz 984750 BLAKE2B 3da891b3ba5b6b4ac85511830d79bb339a4cc33c2aa7d85b6f4143f533b53b3786a8d2034c062f36909eb8a15efcf8451c19a5d9a6beb4c7f122933482058041 SHA512 703f5d0aca1006f94c5971815c8b18e40d186f906d782fb6386d5d50c08f03535c8dc1577fc6b2f67fca207d414c01223f5efa2adeafe121217b2a0158deec94 EBUILD cmd2-2.4.3.ebuild 1449 BLAKE2B 048c82f691185fc1ec554da222c550b26e721a394a1d6ed415c7bc50d9d15d89af538efddb6a06436107ada2507c5837dfc57657947a4a730d77f910a0963341 SHA512 00381938df082bfa0aa824ac2eec95bebc45856d9419b0893292ef3cdb06ba1e22404aa4ca1fd6245bf995a2c2c4b56e7f248d9faa6daee3639bf4d606e9345e EBUILD cmd2-2.5.0.ebuild 1332 BLAKE2B b0d912a7d7d35e4148d4932635c8348fcd9b10ccb46a9758754c68d764aacf17789bf34ebfb3e30416cbdf870d512e64a0cb2a519188dca5c366b92611bf0fd3 SHA512 1a3c84a81e73d8bee162bb5f88b03034d9c3be4d1bf767bcada796dee1a94c501cd2ac189ee4dfc8f516eb35ae85fce4f7a32737184d87996690f28f5ea9850b +EBUILD cmd2-2.5.1.ebuild 1332 BLAKE2B b0d912a7d7d35e4148d4932635c8348fcd9b10ccb46a9758754c68d764aacf17789bf34ebfb3e30416cbdf870d512e64a0cb2a519188dca5c366b92611bf0fd3 SHA512 1a3c84a81e73d8bee162bb5f88b03034d9c3be4d1bf767bcada796dee1a94c501cd2ac189ee4dfc8f516eb35ae85fce4f7a32737184d87996690f28f5ea9850b MISC metadata.xml 522 BLAKE2B 39d319b6a64a7b54568a3fbd3d7db9adf7719b690a8f086018ce41f0595db157b1f7825ce28afb4fb0d748ca0d6dc21d79e480361b69b4bf29c0efc2d2540bba SHA512 57315c23dd64534085502e59f0b8ca01ef8088d5a2b16ed807631a1f36a523768960754b00619e802333552c405e2984e314d91003f7a624da6f1eb8e8e4b98a diff --git a/dev-python/cmd2/cmd2-2.5.1.ebuild b/dev-python/cmd2/cmd2-2.5.1.ebuild new file mode 100644 index 000000000000..820c48bb0ffa --- /dev/null +++ b/dev-python/cmd2/cmd2-2.5.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 virtualx pypi + +DESCRIPTION="Extra features for standard library's cmd module" +HOMEPAGE=" + https://github.com/python-cmd2/cmd2/ + https://pypi.org/project/cmd2/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/pyperclip[${PYTHON_USEDEP}] + dev-python/wcwidth[${PYTHON_USEDEP}] +" +# pyperclip uses clipboard backends in the following preference order: +# pygtk, xclip, xsel, klipper, qtpy, pyqt5, pyqt4. +# klipper is known to be broken in Xvfb, and therefore causes test +# failures. to avoid them, we must ensure that one of the backends +# preferred to it is available (i.e. xclip or xsel). +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + || ( + x11-misc/xclip + x11-misc/xsel + ) + ) +" + +distutils_enable_tests pytest + +src_test() { + # tests rely on very specific text wrapping... + local -x COLUMNS=80 + virtx distutils-r1_src_test +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # TODO: tests_isolated? + epytest -o addopts= -p pytest_mock tests || die +} diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index 9aaf1c913ca8..3773ece0df93 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -2,6 +2,6 @@ DIST coverage-7.6.2.tar.gz 797872 BLAKE2B dee18c9199169b74693377d937e720f26ec5c0 DIST coverage-7.6.3.tar.gz 798337 BLAKE2B 62190d9adff5bc752b16c799939dc6b710b5bed6e0ce3c2c14e6a074ab119482c23e33236bd1a758545eb1eccbb02b7eeb8072612ae52aaba8a7190f65b20e51 SHA512 e078989028ed8a6ec9e532314be63fb1cbe5589df56e737a96947fa09447da4adee502bb6aa26fb4455ade29ac722172b3314502709732b831484a7de6d1d489 DIST coverage-7.6.4.tar.gz 798716 BLAKE2B 2b89e05fa71b18d94e19e9ee7acf3cea4125aa0baf32425e1bcdd695fbad4ac46f89d761cdd1593df1cc59d622dc6b63c010cb85d1b7c0d1396da4b0ac0c29c8 SHA512 ebd0f08584fbe6741f1b578bff22b3bc916b4ea352fd906a090c7a497ab7b885417e83344f108e95a22e93db306822e670578cc290af48e7a24f5a04956bceec EBUILD coverage-7.6.2.ebuild 2670 BLAKE2B a4af413c7af27de2134da8f07ab089961e1f3926d1f99d1bfbf52f343dd089c782554e9499ede1bd00f9b34c718794a75f474bc76327c79827cd0b01cafd90ac SHA512 d3b3e9e02a29cada83553a9cbd269b786d6e7ff76481c704962d9c3129f7fad59720171492d1278431813d25cc837e3c06c62b82335f0c277d1abc688215cedf -EBUILD coverage-7.6.3.ebuild 2672 BLAKE2B a3f806b96614668d59a08e2b441f97bff19bcc643da9ce91c196a5b2bc8f1e10a7fe1a104b11d06a8c269ac709b99fe1bf5bfad9860c2e32d838448288a33e12 SHA512 8807f86dae7d7c6deb79474d3709e5d29e6c5f60c145549647979a236a9f813ff96c23cb1b5f4a0ac12bfa9a69da0d850a45ab2e5e9b6e84b68f00243802e683 +EBUILD coverage-7.6.3.ebuild 2671 BLAKE2B d2f45b0370a99652fbb7992544753233769578ca50b62e9c9f62f6f17953ed1d5b5b58a641e10ae5217b199b3ccd405f52cd9703e15d200bc7f0608efdf87875 SHA512 64dea655b87841015dac5ee3383c8ad30c5f3d3a5f723595802ee17912ce38c6cf14d24fb1de04a6abdd43574dcfd8157c2ebf1d0feef1d6be4f5c3d8e8e8070 EBUILD coverage-7.6.4.ebuild 2678 BLAKE2B a192b24f1c622a54a8c659dfc4cfc12d3fb5bc92482b54cda090515778048b35b03f9b4ef4307dbc5543fa9d1b8b8259c409ea34a928d565eeda3139a74b6caf SHA512 d9276a455e1a1e4301d4a896f0a031d0c667a00006399d2bfb883dc79fb5a4cc20e45c27f2e93440d4d35da083ecb6b2a2f6954266d42d741ae45f51d0a3f83f MISC metadata.xml 771 BLAKE2B 38e9680d0851f70050aad987714a9dd2f95178b0bc3d794dc08726c0618d1ea98be32a413ac397f4b222e8a5d8fdc747b7f1677bcfe842bac4080537e85a03a9 SHA512 8c44c40348fe5d416d8b4016fe22cc9ae0b94fbaf181deb79aa737f87271992521b710c1208d0eeb7ef92d96fc8a7daac1ec6feb1ae081a80f13327b5b094064 diff --git a/dev-python/coverage/coverage-7.6.3.ebuild b/dev-python/coverage/coverage-7.6.3.ebuild index eed36290d8ac..e6db42604cc6 100644 --- a/dev-python/coverage/coverage-7.6.3.ebuild +++ b/dev-python/coverage/coverage-7.6.3.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest index 48bbf3a5edd8..a83cc3735b9c 100644 --- a/dev-python/cryptography/Manifest +++ b/dev-python/cryptography/Manifest @@ -1,4 +1,3 @@ -AUX cryptography-43.0.0-rust-openssl-crash.patch 3123 BLAKE2B 6654a993ffd007d591884c5aea1ab824f713a1a10df164ebac6c72c643157b5156c7dfe983163822ed0feba5a8fa6a9efaba9a879a2eaaf09bf23362f565448c SHA512 240782033742215fbd88b1c63b939c99ed34b4948307ed8e7956fc260c3bae9b1538c9b4e8277eea7d6abb2600f5306acda0e477ecba16c5f19b99b99b368053 DIST asn1-0.16.2.crate 36082 BLAKE2B 70214556c18ddc9e31f58a1b5c59b5ef5e74f3662ec515b739bca66ac6272ffce258d8a73eed913aed0bb871aabff7a0c95e88853551292ae8f1425e8087d751 SHA512 518481d1bb12d95c1340e374e7b1bf23f550712ee57bb166e7892118ac9b602006a461605f9ebf1b7d60dfb70266229b87833827c5fd018361c33bd9a89e5e7b DIST asn1_derive-0.16.2.crate 6099 BLAKE2B 709e2c3c1b698e5f9101bc56434bb7abff8a857fded1bda3552d1dc138fe8e88af6afc1e1b604a3acd877858f21e27c80c96d274330db4514f7bf375be5bac3e SHA512 d59670896090d048f2d739aeaa897638d91f211534400d7f102672d40ae887a2a5f4cc4ac61381c17c2d1388a18991736f6fe7fe2b50838b88f25017656e43bc DIST autocfg-1.3.0.crate 16524 BLAKE2B 7d5a03853d6b4f0da08d8e139fb200da21e47fa7e50d1956270d0ff0cc496f660f8f800122c95eee9ba98d9210ab200c3010b782097483d12d6be4ac0df0e7c9 SHA512 a5570b955d57a7183ba148b335837dc5af24b202e80681027536d33fe2822509ba644fc70c29f018c893285ced2bf6774f44ca6c59f7c7e2226d5349cf7c3635 @@ -6,11 +5,7 @@ DIST base64-0.22.1.crate 81597 BLAKE2B 6f216a560bd36e6e6b74e908344b457594cc768d9 DIST bitflags-2.6.0.crate 45357 BLAKE2B 3a368bd2eb58c095b7b4a46680cc2d90a28e24b2e37c854bbf8647c861c4b8fb37eca827599673c5c7df763048149dd82123d1ede1f8a0e58a6bc23c8250f7e6 SHA512 f9bb3c48931ed7e7e05ec6d13305af5da6b6c18861ff307d7dc17c658f63972c87b70b0527287b3625c8592befc207cfe15550654995faf3862bb12a6d95bacf DIST cc-1.1.6.crate 81585 BLAKE2B 412ef9d62c32a42164f8c2b827c10f0d41e75faa77e6d1dd8515ff5ec43abd1da75bbb400460a43a252c93dd0a597c2e44c8e899a376d963f0d3727db7ca2c24 SHA512 ea8bd8150042268092360e6396226ee5e83ba154eae99d299c897ed16e8543fcfe3179e22b50b0497bcf065a16933f4ebf7edcae7e6fc8be3788f0ae7f61c000 DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff -DIST cryptography-43.0.0.tar.gz 686873 BLAKE2B 09e1f73ed47a3ab03b49e6a65eceb0ee506b4e1c50b44cd0f971243159b27ea5f725350fcf2c702945438545a89d96ec026441b6b6151a9022bd61b926ca26cd SHA512 0a93a217bf09afca32df5ed6792b8e9de210ca4143697b8b97aa2c41b8e8382ffdce1bae47bf51a6319f03d9ec70933218030ab21d642a0ef907cac3e816929c -DIST cryptography-43.0.1.tar.gz 686927 BLAKE2B 5abc6fd0f06fdca735455c812b089f864457c379ae9a4d646b0a5633285be692e1b17eab0ec50e99b41d1c1238a4f81a4b2b0801777e8e41e25a4faa9285af15 SHA512 db33cc8930492ccdf1aa6466026e4a3ab50382c863fa2c3c454a554cd53f74592e06fb021b2bd6bc16981c8230089c7a076a352a9d7d982a824ef4c7b1895414 DIST cryptography-43.0.3.tar.gz 686989 BLAKE2B 60efc12c020563aa0d229941d237a39e7d7243045433c7c4cf4c57a8f031569d32bfcd0e43316dd9eb3d6dd3b4e6ad8106b7bdca53c2e6c4ebb094391759da66 SHA512 965ecdbdac09ba4cf3d3289cb7f0997bfb9abd61aa663554f27651328e5da1c92edadba521b1bf779e245255e5db3da7ea8092496f845b73278ffcdd91076bbc -DIST cryptography_vectors-43.0.0.tar.gz 35306242 BLAKE2B d1dceec0dbe02ad500c73bd94791c6b47320534268cc4fffdb799a632f37b27bd3de837a725c79f733f86eda813a1a512778615c62144275ca5e7aaaa3d65d08 SHA512 ca5221a390ebea4eda5d72f9ac9632849ce2174db51385405b1b41b702c0dcd2f24f7fbfaa027bb6eb8c63588ac1eae5fdc7978a08c1561dcaaaaa998b67eaef -DIST cryptography_vectors-43.0.1.tar.gz 35306252 BLAKE2B 0ff68e6c1088656491e474f8770f61c0a2c45a318e565325c9259ffd938a765ea9306f13ba25d5e2097d7d113d8a4556914aa07e016ee90ae78d7157cf6d5e6a SHA512 934c4fadba915b10f3216c08cdb862968d138a40c0a3ea2aed6605685730d1d2b60767660356236b519ff98d52c2f21bf9ead4bc247eab80db27257d671037f2 DIST cryptography_vectors-43.0.3.tar.gz 35306415 BLAKE2B daf21d6bc7ba81bac2b38e0459c104117c17c3b5c6d74c3f0ba5c0da961999bc2f0fc0a088e6d3498960de70b2862867c6dd10b6e05db99352c0adc9d65104f8 SHA512 7ffbf439b84ea85a8178f6b41a349c8d3ba6586cf6513a6b13d01f55bc0fa8bb5635de2ee9afd334c5660c60cd2fc286f85b2c9c364b6e85bf4164c32fb6ca7e DIST foreign-types-0.3.2.crate 7504 BLAKE2B 520818b702d990d296ecd31a8646850202509ccfa18edd0e1b260289619a6c351e758f317ec0824bd76eccb209b6f087057c25f1bd01a47897715013dd834867 SHA512 bf27b8243ed482c202d120383374f19ff09422535e24b9c1aebccc66529bf300ca17b8bbc76d67f98ac092e614497afe3add9dc68aa69c93074df05762f91232 DIST foreign-types-shared-0.1.1.crate 5672 BLAKE2B d2e42e04b6657e7a69fe0bd20c672176629c743e49a55fd007bb30e289710b70045d445ae9cae0eeaa747ee708c90e8abd9b5fc39bad8ec0666befe1b696d4f1 SHA512 bafdb2143e136fb0818e2ffd90b5c862b7181647d6568947d4e4531012bbf7a57b597221ec7056c1b562dfc0c3b5dead26d1a4111ebc15e7863737a873518a4a @@ -19,10 +14,8 @@ DIST indoc-2.0.5.crate 14396 BLAKE2B fe838c6a855d6ff7396675a3fe9b2e0b06a93cfd401 DIST libc-0.2.155.crate 743539 BLAKE2B 42cdcf8d4a187383548b1f09d404474f168916d626d614463fe10a1fd886e972e1caf6297e75445214af3f31fe631d0927e54ec1cdc63e20082b3587e38dce16 SHA512 05354bba532b8338bda1f88f12c7f3893429734a06e33925fca2b99d49548ae5216e2cd84e782d2368a2dfef20b0e035e2dcad8dd13ede7119462a8c639b2807 DIST memoffset-0.9.1.crate 9032 BLAKE2B 0aab55fe084134bb599c52d77c96400db40949b1013e7037747ada4fcec8dc4a124b6f3755f04b36e057eb2fb4a6bd6f07d6eebcf166f8a71405ef434d802fbf SHA512 3a236c0f481e36973b9f805e454c2efe4dd375e6b4ee406b57145136c70d5fbf4e1183d563ebf3b5fbde7363bbf5f08f0d88e507aae5bda4cc75664ecd0e33aa DIST once_cell-1.19.0.crate 33046 BLAKE2B c14b374eaf4ac0f60acc2e02f7bba270a0e8e0a6978d749cd3cb0ab3eb26907e4fbea70dd5132982f90290381ed18ff8a87fd530f1415fabffac864f157ea380 SHA512 4154876afd34a699ee650d1a8a1c5ee5a25f0ebd9388b8bef2564e33629fae68f113d7507488c68abbe7ea1acf9bbc41813cbbf3ef3e464e3f3b9cc7a51d870c -DIST openssl-0.10.66.crate 273705 BLAKE2B 7892e96dac3b24ad5622833b4061bd82028210f9f26ec9772cebb65905ff6e45da8b21ad1aabfb87bb5610f534018da6bd20c10eaee8c189dd08a7ebfbf12b4b SHA512 2f4dd6e40dd8aff8c04563517fabeecd5ac0d986764649cc9af9bf4ce25757a67f75655eee207703b46fe57661a216ff00144358ffcbc70525447a063fa086c1 DIST openssl-0.10.68.crate 276578 BLAKE2B da7c42f8a87150c76cde12316fe1c170593e76a4bd55176ca5ab7a43c57d5457246bfa91bf7bbf73ca47c87a066789226529fb7ad57c5e93c551baa67f6a9eba SHA512 2b0c7f5a888b0e398ebee9c0fffb6fdb8408c36f96eb99182ebb9e162106c012334554304ddaaa6689d3ae41cdf638ba08187a40088efb95a5e9f6aca032a22f DIST openssl-macros-0.1.1.crate 5601 BLAKE2B 69dc1c1f3b7bc4f934cae0dce64c3efa501162e5279efd6af3b74f7a7716c04b6996b306b310f1c045cfa2eff2895314a47ecbb020a817e461c6d77d0bc11e92 SHA512 57e75c84f78fb83f884eeaedb0dd135ecb40192dad2facd908e6a575c9b65b38a2c93bca4630e09ea5a82c77d8bc8364cb2f5778cbfe9d8f484cafe3346b883c -DIST openssl-sys-0.9.103.crate 71552 BLAKE2B 4cc1ab93f5a444b4b985c84f6ae90f345da4639e4ff7c5502dc1ae59f842d46e3855057a7c05855f7cd739b5311f330dff361480ef2a0102fe46471506956148 SHA512 61b802f6baf918ec055be90ee47c69fe0184f6d9a1d29c748386192a11d4df115758961ec9b636126a6b42d7d8f7509248c59f7c035905558c4cc35b804a8eaf DIST openssl-sys-0.9.104.crate 72287 BLAKE2B d9af8f2ae8a8dfd53b3bb68433a4dd2a4b30038858ac58aa98d7a23b2d23e0b7c7d8fc36c1733d0330bcb9f51284667b2c32fc5a5bd4d9e1a5df7b98d610a997 SHA512 e812d5323bc0ec7376f176a980dd9856dad6d36513e854d333b93ce8a14c20a9ca61be88db82ba2a8ae4e086df5c3fe6965ed10ac155eb7b502e0225c0124278 DIST pem-3.0.4.crate 13040 BLAKE2B 33126cd0feeeeb8b57691c50f6535c43e853b9835308d69a5afb426c7a738d260a67d5c46f091ad73e934f0347d976c6f65f88b2f7b1058eca542296191bcb9a SHA512 be743157e11ed76e5a9a60f5e58f50277910ecbf12df492b114b4211f1f1d69555702d955337ec41d368566ae1697f550e3705a195105068c617b9392c43f56d DIST pkg-config-0.3.30.crate 20613 BLAKE2B e14dd544612f74b038bc7d279d629034237946c261e3e97621d6ac910a12f4fa4e75932dbd5d3339e62325d0ccf33002b07f04b0523f93d2bd3b1a919841ba66 SHA512 e4bce232e1e1cbb17d1c08c3de4dd12613f5a5238f831c2a765b6ede9b494e647d2416a7d9a0c926104e24066dd1b38df8df98a6c55d62f25060f80eb33d064d @@ -40,7 +33,5 @@ DIST target-lexicon-0.12.15.crate 26384 BLAKE2B d1ba50aa9d50647c6f778df86b35db1a DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 DIST unindent-0.2.3.crate 7306 BLAKE2B a57407b117e99c230750c7d4a2a0899586c8271e4ba88ecb409c976905c014f42885372c234a75fbfbedf71dbed779f95f735975d150adacdcb61152a49db4c2 SHA512 2f1eb420ea3653b00d3e5fa0c2c105da8fd8a37cb3e699373c168604b799fccd5f0faf0cddce4212d119c2afb0c86b41efc3a50752b83ff7beda2bd84d360505 DIST vcpkg-0.2.15.crate 228735 BLAKE2B 6b6bacd9a7fa38919241f45a97f58cae957e58d3aac99df208a26aa718e4f1644f4ccefa31b09151e5c1952288e0e5837c363918b98c7f55079a948a952c1c50 SHA512 7322a21e8811b2fe4e79e09dc321458068ecdf1953f05d36233f3278ecc0b1dfc64194db7010dd46fcf692285f42475beb090c6c6cac0c8f9fe0eb5c770e3172 -EBUILD cryptography-43.0.0.ebuild 3143 BLAKE2B 773d0e30a665e08b959224024ae4e509bbf3419cccf691de85d010027f0da7069a6892735a0d6f0707cf7f54d47b9cce769eda6a409586b29b97e583ad8025fa SHA512 7d1d9ca083ea1834b42c7773c97851f634f113c2d83d13f1a0d8c49173aa3d930c4f768d5df76e37cf1b1b60c1b304b44fcb3fe8a5567ee50f0ccbc3c522a6d5 -EBUILD cryptography-43.0.1.ebuild 3027 BLAKE2B 5f5f2e5622b140b7e352435ef5eae2b4edb8f69daa7517fddeca8d047b98bd9f5ba9a6fcd2493bac79de4e95136e6974c58639005b9792cbfdfb2b154b488883 SHA512 35fd8e8dceb8505114d542e411e7b163413301f4ec7ed7c4844724c7148ec72a2364c47912b81316e18d5e6b813e6f8fb0a94660b43c5e00840a332da6ece10f -EBUILD cryptography-43.0.3.ebuild 3025 BLAKE2B f236c4726743a4043f654e355f1bc7482796e8521e6623b33b8c3b87e94f044b71779d3575d8183d67552ccaa220537465b957e807d5be5a516029284a0e3f78 SHA512 bd343545a883c1c48f2488f793c7db09125dac3bc626ddb3db54e5dc6b82f795329a96f7efd2ab990b630b026312f5ee95846c8b8db705fa6c4d62f1a0332dd4 +EBUILD cryptography-43.0.3.ebuild 3024 BLAKE2B 5d4628883950830afa8464f41fc005c584c458c7e35585ce1e9ae702c948ea894e5837f856719b80c5f7495c906aa635d4b22547e361231f2a4672cb9bfa08a2 SHA512 016f3cca99042dbb0251fd091bef87e520426c543b500881b22a7fe698618d5382b4e8b33216a3d7e4d7ea38c1dc9f9e3a65da73b3f5880cf89c519e9878fd46 MISC metadata.xml 464 BLAKE2B 96c0bd97b83c9718910d129260402fdc37e88a96ac6002c8f6dd19fb21d6daf31211b83ff7423036811e27954811ebdc810c8328f18c620682bd9428f42ba1f9 SHA512 2f36a186bb195a8cbafe1d8dd6630fadf0ea56b22906ebaf3c90954adb8b66e1017f599169e2b1ca386e1113c1a6b834fff90f2bec527bed53f62985120732d6 diff --git a/dev-python/cryptography/cryptography-43.0.0.ebuild b/dev-python/cryptography/cryptography-43.0.0.ebuild deleted file mode 100644 index 1eb56d3e3e5d..000000000000 --- a/dev-python/cryptography/cryptography-43.0.0.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CARGO_OPTIONAL=yes -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{10..13} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -CRATES=" - asn1@0.16.2 - asn1_derive@0.16.2 - autocfg@1.3.0 - base64@0.22.1 - bitflags@2.6.0 - cc@1.1.6 - cfg-if@1.0.0 - foreign-types-shared@0.1.1 - foreign-types@0.3.2 - heck@0.5.0 - indoc@2.0.5 - libc@0.2.155 - memoffset@0.9.1 - once_cell@1.19.0 - openssl-macros@0.1.1 - openssl-sys@0.9.103 - openssl@0.10.66 - pem@3.0.4 - pkg-config@0.3.30 - portable-atomic@1.7.0 - proc-macro2@1.0.86 - pyo3-build-config@0.22.2 - pyo3-ffi@0.22.2 - pyo3-macros-backend@0.22.2 - pyo3-macros@0.22.2 - pyo3@0.22.2 - quote@1.0.36 - self_cell@1.0.4 - syn@2.0.71 - target-lexicon@0.12.15 - unicode-ident@1.0.12 - unindent@0.2.3 - vcpkg@0.2.15 -" - -inherit cargo distutils-r1 flag-o-matic multiprocessing pypi - -VEC_P=cryptography_vectors-$(ver_cut 1-3) -DESCRIPTION="Library providing cryptographic recipes and primitives" -HOMEPAGE=" - https://github.com/pyca/cryptography/ - https://pypi.org/project/cryptography/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} - test? ( - $(pypi_sdist_url cryptography_vectors "$(ver_cut 1-3)") - ) -" - -LICENSE="|| ( Apache-2.0 BSD ) PSF-2" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-libs/openssl-1.0.2o-r6:0= - $(python_gen_cond_dep ' - >=dev-python/cffi-1.8:=[${PYTHON_USEDEP}] - ' 'python*') -" -DEPEND=" - ${RDEPEND} -" -# XXX: Drop explicit >=virtual/rust-1.56.0 dep once that's the minimum in cargo.eclass -# and replace it with ${RUST_DEPEND} -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - >=virtual/rust-1.56.0 - test? ( - dev-python/certifi[${PYTHON_USEDEP}] - >=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}] - dev-python/iso8601[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/pyasn1-modules[${PYTHON_USEDEP}] - dev-python/pytest-subtests[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -# Files built without CFLAGS/LDFLAGS, acceptable for rust -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/cryptography/hazmat/bindings/_rust.*.so" - -distutils_enable_tests pytest - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - local PATCHES=( - # https://github.com/pyca/cryptography/pull/11324 - "${FILESDIR}/${P}-rust-openssl-crash.patch" - ) - - default - - sed -i -e 's:--benchmark-disable::' pyproject.toml || die - - # work around availability macros not supported in GCC (yet) - if [[ ${CHOST} == *-darwin* ]] ; then - local darwinok=0 - if [[ ${CHOST##*-darwin} -ge 16 ]] ; then - darwinok=1 - fi - sed -i -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \ - src/_cffi_src/openssl/src/osrandom_engine.c || die - fi -} - -python_configure_all() { - filter-lto # bug #903908 - - export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 -} - -python_test() { - local -x PYTHONPATH="${PYTHONPATH}:${WORKDIR}/cryptography_vectors-${PV}" - local EPYTEST_IGNORE=( - tests/bench - ) - epytest -n "$(makeopts_jobs)" -} diff --git a/dev-python/cryptography/cryptography-43.0.1.ebuild b/dev-python/cryptography/cryptography-43.0.1.ebuild deleted file mode 100644 index 110e22b8718c..000000000000 --- a/dev-python/cryptography/cryptography-43.0.1.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CARGO_OPTIONAL=yes -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{10..13} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -CRATES=" - asn1@0.16.2 - asn1_derive@0.16.2 - autocfg@1.3.0 - base64@0.22.1 - bitflags@2.6.0 - cc@1.1.6 - cfg-if@1.0.0 - foreign-types-shared@0.1.1 - foreign-types@0.3.2 - heck@0.5.0 - indoc@2.0.5 - libc@0.2.155 - memoffset@0.9.1 - once_cell@1.19.0 - openssl-macros@0.1.1 - openssl-sys@0.9.103 - openssl@0.10.66 - pem@3.0.4 - pkg-config@0.3.30 - portable-atomic@1.7.0 - proc-macro2@1.0.86 - pyo3-build-config@0.22.2 - pyo3-ffi@0.22.2 - pyo3-macros-backend@0.22.2 - pyo3-macros@0.22.2 - pyo3@0.22.2 - quote@1.0.36 - self_cell@1.0.4 - syn@2.0.71 - target-lexicon@0.12.15 - unicode-ident@1.0.12 - unindent@0.2.3 - vcpkg@0.2.15 -" - -inherit cargo distutils-r1 flag-o-matic multiprocessing pypi - -VEC_P=cryptography_vectors-$(ver_cut 1-3) -DESCRIPTION="Library providing cryptographic recipes and primitives" -HOMEPAGE=" - https://github.com/pyca/cryptography/ - https://pypi.org/project/cryptography/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} - test? ( - $(pypi_sdist_url cryptography_vectors "$(ver_cut 1-3)") - ) -" - -LICENSE="|| ( Apache-2.0 BSD ) PSF-2" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-libs/openssl-1.0.2o-r6:0= - $(python_gen_cond_dep ' - >=dev-python/cffi-1.8:=[${PYTHON_USEDEP}] - ' 'python*') -" -DEPEND=" - ${RDEPEND} -" -# XXX: Drop explicit >=virtual/rust-1.56.0 dep once that's the minimum in cargo.eclass -# and replace it with ${RUST_DEPEND} -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - >=virtual/rust-1.56.0 - test? ( - dev-python/certifi[${PYTHON_USEDEP}] - >=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}] - dev-python/iso8601[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/pyasn1-modules[${PYTHON_USEDEP}] - dev-python/pytest-subtests[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -# Files built without CFLAGS/LDFLAGS, acceptable for rust -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/cryptography/hazmat/bindings/_rust.*.so" - -distutils_enable_tests pytest - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - default - - sed -i -e 's:--benchmark-disable::' pyproject.toml || die - - # work around availability macros not supported in GCC (yet) - if [[ ${CHOST} == *-darwin* ]] ; then - local darwinok=0 - if [[ ${CHOST##*-darwin} -ge 16 ]] ; then - darwinok=1 - fi - sed -i -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \ - src/_cffi_src/openssl/src/osrandom_engine.c || die - fi -} - -python_configure_all() { - filter-lto # bug #903908 - - export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 -} - -python_test() { - local -x PYTHONPATH="${PYTHONPATH}:${WORKDIR}/cryptography_vectors-${PV}" - local EPYTEST_IGNORE=( - tests/bench - ) - epytest -n "$(makeopts_jobs)" -} diff --git a/dev-python/cryptography/cryptography-43.0.3.ebuild b/dev-python/cryptography/cryptography-43.0.3.ebuild index d3dcdb2304f1..dde6f100fd31 100644 --- a/dev-python/cryptography/cryptography-43.0.3.ebuild +++ b/dev-python/cryptography/cryptography-43.0.3.ebuild @@ -66,7 +66,7 @@ LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016 " SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-libs/openssl-1.0.2o-r6:0= diff --git a/dev-python/cryptography/files/cryptography-43.0.0-rust-openssl-crash.patch b/dev-python/cryptography/files/cryptography-43.0.0-rust-openssl-crash.patch deleted file mode 100644 index 74d2e1c92292..000000000000 --- a/dev-python/cryptography/files/cryptography-43.0.0-rust-openssl-crash.patch +++ /dev/null @@ -1,79 +0,0 @@ -From ef3578980ed117feb5e1b4c7a1f8c68efcdc066e Mon Sep 17 00:00:00 2001 -From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> -Date: Sun, 21 Jul 2024 16:36:43 +0000 -Subject: [PATCH] Bump openssl from 0.10.65 to 0.10.66 in /src/rust (#11320) - -Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.65 to 0.10.66. -- [Release notes](https://github.com/sfackler/rust-openssl/releases) -- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.65...openssl-v0.10.66) - ---- -updated-dependencies: -- dependency-name: openssl - dependency-type: direct:production - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> -Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ---- - src/rust/Cargo.lock | 4 ++-- - src/rust/Cargo.toml | 2 +- - src/rust/cryptography-key-parsing/Cargo.toml | 2 +- - src/rust/cryptography-openssl/Cargo.toml | 2 +- - 4 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/src/rust/Cargo.lock b/src/rust/Cargo.lock -index fe3398f25393..c5a020fc8f10 100644 ---- a/src/rust/Cargo.lock -+++ b/src/rust/Cargo.lock -@@ -179,9 +179,9 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" - - [[package]] - name = "openssl" --version = "0.10.65" -+version = "0.10.66" - source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "c2823eb4c6453ed64055057ea8bd416eda38c71018723869dd043a3b1186115e" -+checksum = "9529f4786b70a3e8c61e11179af17ab6188ad8d0ded78c5529441ed39d4bd9c1" - dependencies = [ - "bitflags", - "cfg-if", -diff --git a/src/rust/Cargo.toml b/src/rust/Cargo.toml -index d58ee9e7ec28..4a91705de96c 100644 ---- a/src/rust/Cargo.toml -+++ b/src/rust/Cargo.toml -@@ -26,7 +26,7 @@ cryptography-x509 = { path = "cryptography-x509" } - cryptography-x509-verification = { path = "cryptography-x509-verification" } - cryptography-openssl = { path = "cryptography-openssl" } - pem = { version = "3", default-features = false } --openssl = "0.10.65" -+openssl = "0.10.66" - openssl-sys = "0.9.103" - foreign-types-shared = "0.1" - self_cell = "1" -diff --git a/src/rust/cryptography-key-parsing/Cargo.toml b/src/rust/cryptography-key-parsing/Cargo.toml -index d1f945f961a0..e88e3bc9e691 100644 ---- a/src/rust/cryptography-key-parsing/Cargo.toml -+++ b/src/rust/cryptography-key-parsing/Cargo.toml -@@ -9,6 +9,6 @@ rust-version.workspace = true - [dependencies] - asn1 = { version = "0.16.2", default-features = false } - cfg-if = "1" --openssl = "0.10.65" -+openssl = "0.10.66" - openssl-sys = "0.9.103" - cryptography-x509 = { path = "../cryptography-x509" } -diff --git a/src/rust/cryptography-openssl/Cargo.toml b/src/rust/cryptography-openssl/Cargo.toml -index c0f3f5d72ce1..f340ed87cf53 100644 ---- a/src/rust/cryptography-openssl/Cargo.toml -+++ b/src/rust/cryptography-openssl/Cargo.toml -@@ -8,7 +8,7 @@ rust-version.workspace = true - - [dependencies] - cfg-if = "1" --openssl = "0.10.65" -+openssl = "0.10.66" - ffi = { package = "openssl-sys", version = "0.9.101" } - foreign-types = "0.3" - foreign-types-shared = "0.1" diff --git a/dev-python/flask-compress/Manifest b/dev-python/flask-compress/Manifest index 3a2501bf09e9..975642cf486b 100644 --- a/dev-python/flask-compress/Manifest +++ b/dev-python/flask-compress/Manifest @@ -1,5 +1,3 @@ -DIST flask_compress-1.15.tar.gz 13944 BLAKE2B cdad9f1590b47ce7443d14cba9143f795cf355c2c6991d62ea362744366595b85c5ec8680b448af78c293519b50985a805d275227bf68628039293f72c68c890 SHA512 746fd7fb5efa2098d1aae179823b333ca083e6bb6945400d6a5401df0799a76733a67f8b38f952c59002c07705d7a7b0c6b43fbd291a368f98a363f3121dcd1f DIST flask_compress-1.17.tar.gz 15733 BLAKE2B f548983e03b66cfbec55726ab14b757d3a079842a9de46e294305409bb1f655478567c43b992b79c8e5c46f50f1f044f2bc8602a683f71a944b4c05f0f33df39 SHA512 58d66f7be21117ad2769743c148b7df6981634341d1ffa1c6c71aabd86119364e85a8242297e6f369b02ecf09ccdd3980806e91c869754f917d0bd83ae7b9b5d -EBUILD flask-compress-1.15.ebuild 654 BLAKE2B 55ba6c9c2d67fc522a6849a6809140734f85c3cfaaa570bba6d6f6a31c26b40fc04cb16824f48cfa4b6615bd8887efb985dd61baea23841d1375ffda86e85ffd SHA512 ee7066a6b8635975c0f1336270ba1bbabb5fb650b7c0f6abe8c59fa691ac74eb61e7f0b38be354feb9c1f5dd26b06cfa0e24b5be171293e5d5308c4ce610cf21 EBUILD flask-compress-1.17.ebuild 723 BLAKE2B ee10a5b90a057b6cc74d9b2cad10c9b8e96e4a91907eb1dfe99b775d43157e116d56e967b1da6850724014491079f9b1d60fbdb99a2ab1bc592d97891a36e3af SHA512 a4916099921620ef581fb1f37ba968bac17d37701d9158d58a5edfbdee103e61a91b87269d5e4fdd672a1d4abe50c7f3d9b4213b0be0c49b1fcc86f32a7e80ad MISC metadata.xml 525 BLAKE2B 3d7d87c0c376b9fef9f88f976b29adb728c0c6dd8102e413de5f7c9d0116bc040b7dce813c945b9b25d62dee5054425b34264b432725201a828858f63d62eafb SHA512 39d1a786add6c53c2a86cbe41bfcc41490e22a094d0f5741368249f08618725efad2cd7edaa172bd0ee7648d9b320c453180ec77d3e9b88ea8573aea3d982cd5 diff --git a/dev-python/flask-compress/flask-compress-1.15.ebuild b/dev-python/flask-compress/flask-compress-1.15.ebuild deleted file mode 100644 index eaa2744e3574..000000000000 --- a/dev-python/flask-compress/flask-compress-1.15.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_PN="Flask-Compress" -PYTHON_COMPAT=( python3_{10..13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Compress responses in your Flask app with gzip" -HOMEPAGE=" - https://github.com/colour-science/flask-compress/ - https://pypi.org/project/Flask-Compress/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 x86" - -# brotli on cpython, brotlicffi on pypy3 -RDEPEND=" - app-arch/brotli[python,${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/zstandard[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/flit-core/Manifest b/dev-python/flit-core/Manifest index 5c7938aa9a43..523063b92ecd 100644 --- a/dev-python/flit-core/Manifest +++ b/dev-python/flit-core/Manifest @@ -1,3 +1,5 @@ +DIST flit_core-3.10.1.tar.gz 42842 BLAKE2B bd17ab1fb955b1d829b4faaa42257176857b8a9b07132235455331cdd52943fa09fe5e4fd1091f1b15d477ec43e8084c2b409081d077c43a9a4cdbae9e8741b1 SHA512 ac0d39b6ee35b553fc8f7f3f6e558fdc32714ed64d6c506da7913ef95d00780b5f86894d9b042f32cdc51d38ec515fa02f1154b0edbc81d8e53475788c444b08 DIST flit_core-3.9.0.tar.gz 41917 BLAKE2B 2fb053655a494736f5f9ce2d2c193d5d98622e410c0c0f18c92eb62d32ff98cbe830a1728461ed7e7e087d2fcf5f6a0c912717c2d534be688d688c4714c6865b SHA512 1205589930d2c51d6aa6b2533a122a912e63b157e94adba2a0649a58d324fa98a5b84609d9b53e9d236f1cdb6a6984de2cefcf2f11abc2cd83956df21f269ad6 +EBUILD flit-core-3.10.1.ebuild 940 BLAKE2B 489580755badfb95d033c63bce335a2769145bfed1598c4fe02bc73d40e6724000bf71ae53ac9119f610f2a5de1803fcc4bb93d40720a8459d62098bd5d47951 SHA512 fb1ed38019849f1f743803ac6c2d26e3b10ac5bfd1f8b3c9f7dfb07956829105fb0caa811bb9bedb1976545605a79f6260d6f8903e762d72a6be09db8a48a041 EBUILD flit-core-3.9.0.ebuild 932 BLAKE2B df02bf5c87293468234e69dd49592a8b9ef7144a35840aa9fb1ea90ed100af2c68800e998b3ae1b229e1a0634b09250a12ecbaff1005b5443f47295414d3cc89 SHA512 50d407dd26a897718dbdd80051aff8093bfb73532f6b2c07677a4f7aac59fa92603d980af0bee66d1c0c77654f7f37f37df0fe5de0048c4ee8a5d17662591a5e MISC metadata.xml 515 BLAKE2B c6ba982d0b2d09457d65675322db9fb3aad7e6cb4c4a86c615bd4e49ba1c879132b776a8021169c78d4562f835da5e9b250da2fbc07b5f85978b3bd94c466b53 SHA512 8a97932ae53ecb31363b0a1aa0309bb164f3091214508f0b044246133d11821b2e78491ad0a78d8324aaf470f9acfc80bf8d6871bff67b1051e13815ad233c0a diff --git a/dev-python/flit-core/flit-core-3.10.1.ebuild b/dev-python/flit-core/flit-core-3.10.1.ebuild new file mode 100644 index 000000000000..b19cd43c416b --- /dev/null +++ b/dev-python/flit-core/flit-core-3.10.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 2019-2024 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 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..13} python3_13t pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simplified packaging of Python modules (core module)" +HOMEPAGE=" + https://pypi.org/project/flit-core/ + https://github.com/pypa/flit/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{9..10}) +" +BDEPEND=" + test? ( dev-python/testpath[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest + +src_prepare() { + rm -r flit_core/vendor || die + sed -i -e 's:from \.vendor ::' flit_core/*.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/flit/Manifest b/dev-python/flit/Manifest index f171b68ecbe0..7e2e16e56113 100644 --- a/dev-python/flit/Manifest +++ b/dev-python/flit/Manifest @@ -1,3 +1,5 @@ +DIST flit-3.10.1.tar.gz 143162 BLAKE2B d98c18a161380c2eb605083a700d7f5226fdc08f72defe9fd60cc8dba5947e9904d4a4df05a9620ef2fcbef8c4913f596b19ef365df7614c4fba7434acc764fd SHA512 37ff7e4de10d4b123cee854e692511574748a050d177e50f06330223ae94a4347e358ff07ca9545c3c8346c51c6734227808929f59401fdd062498d6bf69209a DIST flit-3.9.0.tar.gz 141104 BLAKE2B 4ca268c49a34817756dea5fe7d2bd2fa15fe8f4247bcdea50765d56c43fd9c89292f45ae2a68d6f210d994ed1bce159121aba02e769f22940c548baf3e212afe SHA512 3cbca4530fe463e27fb43130e0d00681e63434bdd552bd61b4a2f3b7967729d9d9a49c69b1a2380ed99bcca1e66a38e592f41cbe38a471d3e7297ab00cdabc29 +EBUILD flit-3.10.1.ebuild 1409 BLAKE2B 7575d28e1856f62482e7f77547f60d9b9e0ac31844c8483520f3f30e1713fc97b38d7faefc5b2140d2bb2ee2e2c44d4625b11a22527ce98f8e2bf981a74d471e SHA512 0797d3977bddc784ca234b4033db672da49e656dcaf3a83fa54bce81c7660c9ddfa63e62798b7fc8f36f1e692e367ab2d346906dd2286427e0705b91fa8fc9cd EBUILD flit-3.9.0-r1.ebuild 1372 BLAKE2B d8433feb9af775b21ef344ceade47309ffebba8b0abd9a289321660a43ec153511e579c393d3224c0a563a7792b4a9004976148cec72c8078849b7c45c8007e1 SHA512 094436f6a783a504b05ae024fd2ad4599e224feb8707ee9dcb1f19fcaf61d4c154a0c3c186081c70ec52cd3becead54f02a1f0483f6f90435740c7555026930c MISC metadata.xml 467 BLAKE2B 534a82783fa3ff1642fc8400689549e75223fa01b175f4ac164d4a636a4c9eaef5bdd9fdd339ffc30239436449788b4d01ebc5e3609034d440c01a5c699176ea SHA512 ad8f3f98a35aa88255bafa81ea9cb109e14b8a544b053cff3f1325dfda3c4c6343a5060353c43a08e030e80a60186eb7dae248d7f6739ea95a7e72e747b1b194 diff --git a/dev-python/flit/flit-3.10.1.ebuild b/dev-python/flit/flit-3.10.1.ebuild new file mode 100644 index 000000000000..14958054148d --- /dev/null +++ b/dev-python/flit/flit-3.10.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simplified packaging of Python modules" +HOMEPAGE=" + https://github.com/pypa/flit/ + https://flit.readthedocs.io/ + https://pypi.org/project/flit/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~mips ~x86" + +RDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + >=dev-python/flit-core-${PV}[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] +" +BDEPEND="${RDEPEND} + sys-apps/grep + test? ( + dev-python/responses[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # requires Internet + tests/test_config.py::test_invalid_classifier + # failing due to Gentoo pip patches + tests/test_install.py::InstallTests::test_install_data_dir + tests/test_install.py::InstallTests::test_install_module_pep621 + tests/test_install.py::InstallTests::test_symlink_data_dir + tests/test_install.py::InstallTests::test_symlink_module_pep621 +) + +distutils_enable_tests pytest +distutils_enable_sphinx doc \ + dev-python/sphinxcontrib-github-alt \ + dev-python/pygments-github-lexers \ + dev-python/sphinx-rtd-theme + +src_prepare() { + # make sure system install is used + rm -r flit_core || die + distutils-r1_src_prepare +} diff --git a/dev-python/gfloat/Manifest b/dev-python/gfloat/Manifest index cc1829498ad1..d878c31ae041 100644 --- a/dev-python/gfloat/Manifest +++ b/dev-python/gfloat/Manifest @@ -1,3 +1,5 @@ DIST gfloat-0.3.tar.gz 43790 BLAKE2B 3b6628dd6410090a684bc253965e167297f4105e3690b9ac38c0192c202fbc7e02026103723721494d4826d835b70a217114335201ab1c329d6bac02412f9e7f SHA512 2df65a3a188e99d1aa3da1b067aa3eaa9aabc22f42414b773c312d9c8dae9baf34d797f947a1646ea89e1db8f2bdb5f97a9672c292e2e0a2a8312e0e6f2fc496 +DIST gfloat-0.4.tar.gz 590165 BLAKE2B 18545cf02f301839599171552b8a031f4c0c20bdf9be4263f8b2b43d6fa9316e10370421d96476dc538a5a751b4e00abf08261a898846459d6d38bce5778bfa7 SHA512 7a9ae161d25ba4349966a04bb6fa29e6c703d7e0303bfbf9702ec93613e03b4d83c85c27766adb171da3b8ea6059371fbb2815c21ad91dd1ba9c97ee088ea1a3 EBUILD gfloat-0.3.ebuild 643 BLAKE2B 810e4e8c35f057ef38b582b3a4e6b54a31994499203da1c3f645add8f44dad32c3dd499cae81804aae318b0b9d10d6a95f5301c6c8955c34b15fa2ed44610190 SHA512 05d5b8da42dac240c0fec79d8c224b5702c1c2016682fc2d904bb14531a32f34374192a8b56a26a14a83ec5b410e70c159d21332c49b2bb65ee4e733a85efc4f +EBUILD gfloat-0.4.ebuild 1051 BLAKE2B d3eb474ac0738650b421a23be1c3e6f49f246434c0d86abef41d461cc4376885128e23f02d1c4cadb60b7409b8ef5c67595cf278dca99dcced6efd04bd7ba6e9 SHA512 b67621a66c98d58caf677d19c2a61752fa7777566dd31b35cbfed64ec06bf25e7892a3fc3bc6df17c4cb0d54644e982bf5ba484b367fa4adccb38c9bac1e00e0 MISC metadata.xml 353 BLAKE2B 7d99f8b4d1b169146dab1605d391c9db63777d6a07af8308d0df982ff0848fc8f27dd2186f4c0f33f1fb73b1e091c8cee007e2d5157afe4cc863b1178b6034f8 SHA512 e17c967db7e216a060f9b2d16e6e395bfca5074a32386f738e7484afad08fd06794ac0015dec856053c2d8ec3ae17e6e1751b393e788a770f778589abdf2d78a diff --git a/dev-python/gfloat/gfloat-0.4.ebuild b/dev-python/gfloat/gfloat-0.4.ebuild new file mode 100644 index 000000000000..8fb620eee753 --- /dev/null +++ b/dev-python/gfloat/gfloat-0.4.ebuild @@ -0,0 +1,53 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Generic floating-point types in Python" +HOMEPAGE=" + https://github.com/graphcore-research/gfloat/ + https://pypi.org/project/gfloat/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="test-rust" + +RDEPEND=" + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/ml-dtypes[${PYTHON_USEDEP}] + test-rust? ( + dev-python/nbval[${PYTHON_USEDEP}] + ) + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # require jax + docs/source/03-value-tables.ipynb + docs/source/04-benchmark.ipynb + test/test_jax.py + # requires mx (possibly git version), torch + test/test_microxcaling.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + if has_version "dev-python/nbval[${PYTHON_USEDEP}]"; then + epytest -p nbval + else + epytest -o addopts= + fi +} diff --git a/dev-python/hishel/Manifest b/dev-python/hishel/Manifest index 6b6981ce7e92..b6abf94414db 100644 --- a/dev-python/hishel/Manifest +++ b/dev-python/hishel/Manifest @@ -1,5 +1,5 @@ -DIST hishel-0.0.32.gh.tar.gz 833271 BLAKE2B 3c75271b2fc304f09737d25f60783a5a5a5d72200851273ceb4afefa7cf67ce96337f7ed05f83ccbaa3241ed1745bc0a60a9351877229638e266920f3afc4c0a SHA512 a7f66057793835d2c46068308b1835fc11729a8c84d906cc720f2c4a7644e87349a7260cff84c4a400f4e6fdd0b9ded92ccc9805aac21676c0e7dbc3191682fa DIST hishel-0.0.33.gh.tar.gz 836608 BLAKE2B f2db821b66ab0387756c503f2c844704bfbce7d98399b2454ed1b0f5e65ed946e9d857412ac7f9bbb5532e8cc8546fe7e8480f29d87e61d287690a82879d5773 SHA512 c69261b0f3af45c57f9d95114bfe03c64c7f6490429f9c00dbad41935da16a3125c08d4aaf613686a29c54b5a13b1884dd0c298b718158b25ee28422f3c236be -EBUILD hishel-0.0.32.ebuild 1673 BLAKE2B 2a77c164dc91b43c6c91fcbd3a28e5ee2c5631cab2e87c4f7686410cd8a057bdb109b6cbc6de9092e377e1febe574429ec400cbf03c3ee8a69f05bd14b022209 SHA512 bccffd94791ab6a99a9e79af2cf67ca556ee2ad4f133f417192c57cdafd1ed4f918bcabb98d82c6c90386670f9f6f1c96bfb4120f7f85fdc8fe9a78395c19fd6 +DIST hishel-0.1.1.gh.tar.gz 877049 BLAKE2B 6ab40873065490a86810fca1f0c868cdf792f0dcaef9eaed245a08c53ac5cfb8de70278577f05703024f4dd333ab4c6b3566002a6c4f428488c10e39899ec52e SHA512 f4fdb17cd444318e8e3fab264e611fb18fae82030ab77bd09783aeb7756fe7a5aa8ac288a442ee737257f9db0ce8218aadaf4eca845e999d13928e46b7ddc44a EBUILD hishel-0.0.33.ebuild 1673 BLAKE2B 2a77c164dc91b43c6c91fcbd3a28e5ee2c5631cab2e87c4f7686410cd8a057bdb109b6cbc6de9092e377e1febe574429ec400cbf03c3ee8a69f05bd14b022209 SHA512 bccffd94791ab6a99a9e79af2cf67ca556ee2ad4f133f417192c57cdafd1ed4f918bcabb98d82c6c90386670f9f6f1c96bfb4120f7f85fdc8fe9a78395c19fd6 +EBUILD hishel-0.1.1.ebuild 1625 BLAKE2B ba806327c25112a1c3e528737a3286208667d88e1b17e0c063e64027b9e4cb06b73e5d2c34246da6d951ce9cad879294c30612f677a3556a67652978ad224e20 SHA512 cf87c4d75c237f8dc43dc84313a69362c8045f629429b222cf8e4d003bee63c1c790992a08577b9c83c96b94d7b25e6323293992e436ab0e61f903bed82ec3cf MISC metadata.xml 378 BLAKE2B 24bb3b6d47931488021a625ac5f4eca9575efaebabc4af29fcd42ea8468a0a8da077d88b98c6f348c7528d7b338fbf553475894fe0726f11ca48c6c5d4720f61 SHA512 ae67451815773cffe43a0e16ae42020f1c29fb83ad711633666b065be586a08e4da5ebcee8e35d7f0c0084c018713760a1f20b4b9a7f2a5d43691589be357b42 diff --git a/dev-python/hishel/hishel-0.0.32.ebuild b/dev-python/hishel/hishel-0.1.1.ebuild index 046e93ae7033..814da3040ba5 100644 --- a/dev-python/hishel/hishel-0.0.32.ebuild +++ b/dev-python/hishel/hishel-0.1.1.ebuild @@ -20,7 +20,6 @@ KEYWORDS="~amd64 ~arm64" RDEPEND=" dev-python/httpx[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] " BDEPEND=" diff --git a/dev-python/httptools/Manifest b/dev-python/httptools/Manifest index cae6bdbe6d79..0c8105dccb0f 100644 --- a/dev-python/httptools/Manifest +++ b/dev-python/httptools/Manifest @@ -1,3 +1,3 @@ DIST httptools-0.6.4.gh.tar.gz 15756 BLAKE2B 1f128fb566d677f783798236a12fc1729f819fb4e4cd52f43c4879ac6cff8a5c69fb147fef1dadda89e47b560652b15e7ab07e3e5b00f1e8a6ee23afe2efb879 SHA512 3a2518204b22ce00c1fa3f2387138f768511ff03a2a2ddf0b9c44a4d5de65c93bfd8d3ac9f4e9417805c7c9708a8cb39ec4889e08933fdc029607bcae5b54331 -EBUILD httptools-0.6.4.ebuild 1430 BLAKE2B 645012bfd91a0e8ace92359748486118a415c29dd74abf6180ddbf247e85e35e439527b86bc5fc359e6ceba125e4b907c61e722e1129519de91bf6cae524f4fc SHA512 b202eda802d6cce4b2df4ebd318de7354f75ed7da6f07db8f654721bf8f8d47e7610f7c71280c24f76234c2d9f7cc913dfb2ebed8f86b07cb5ae7182526bfcf4 +EBUILD httptools-0.6.4.ebuild 1429 BLAKE2B 05214be71efe4110200b3a559937f34951ad0668022f832ff102d27b2154c540ea7bc879e011b36d31e51e5688104d2ea474eab3d399ae533abaa32433a80d30 SHA512 11e0293c87767a87d820efabb1b7cfd13629e52d656cc7c8cf8b2ae03abc05a687380e95f0e94aedae60308f6f417b35d8d08d489a20f941760af3f0249889db MISC metadata.xml 351 BLAKE2B 85cf600c898bf9dce98d5cbe23e664426bc190fe466689c2bb0b487edd4ec2da13ed75c18bc346341fac12339bee4ffaae1440012046743e8c6dcebc1f7dbc52 SHA512 9d1d095ba908ef136f0e47ce40730ed9b38189bd75a2c0659045d438cb25195a5c99c3fc3b5e1b933e83532f9f9cac58148123976a01e70e75141b207a751a53 diff --git a/dev-python/httptools/httptools-0.6.4.ebuild b/dev-python/httptools/httptools-0.6.4.ebuild index 1c71175ddfc5..a94ceb6c3c4f 100644 --- a/dev-python/httptools/httptools-0.6.4.ebuild +++ b/dev-python/httptools/httptools-0.6.4.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~mips ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" # don't ask me why they use both DEPEND=" diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest index fc7fe06b675d..38f05523dc1f 100644 --- a/dev-python/numpy/Manifest +++ b/dev-python/numpy/Manifest @@ -2,7 +2,9 @@ AUX numpy-2.0.2-setuptools-74.patch 1108 BLAKE2B caaf54f911a6a260d0311c017be1362 DIST numpy-1.26.4.tar.gz 15786129 BLAKE2B ee759d3a857111bc494d5e989a7b005375d942b2a89cda69be4a3bd7c6cb195003fd2a8a0535f1858d8977ff688b0ec36360dcba9c3160206eedce5e28f191ef SHA512 f7121ab4099fa0686f9c095d456baa4a5869d651d7b7a06385f885f329cf08f11024b5df5e7b4ee705970062a8102ec4f709512eabbfd5c9fccce4ef83b9c208 DIST numpy-2.0.2.tar.gz 18902015 BLAKE2B 63f993e3429bff1dac1ff79fad23a36a2493fd2c8a825ef96b6b87d82b0e68393d2829c5ecd9065df345c8bfbb1f8f385077f154264f7d2810d311d1d6672bd7 SHA512 d769fd4f07e082fae1661c6856d6d726e189f6931f3028c6819f9806aa9dfd15ab2b49c48b94bfd925eb3f74fddb6f044c9ba93bbb785b5476440dd1cf0b4999 DIST numpy-2.1.2.tar.gz 18878063 BLAKE2B b976b72bb113fc9c5e5a17c9d89038b6a11f2a09521ef46a610dd1fd04b0b11f08491728b2397ca5e3e9613aab3ad8c63b2b15a6378c535cf0e735226d517617 SHA512 3d69f6583e093e8fd0f441ec7dc4658c88fb714bb29574cd9510091ba059553f79c52492037353caf50b6cff1f7bd1e2501e445c7adde41bd9e08bab363e06e9 +DIST numpy-2.1.3.tar.gz 20166090 BLAKE2B 746d343b17039d58738358168a613a2b85d6fb9cad1eeb367b851cd8d46fd42647990b47f0b4fb794ce5c4da2fa0a5d61e3ba42ea2f1945680f36cff31bb7b0d SHA512 59568acda3a77160908a23c354f0574970cb3daeea79ab535762a75a5f3a52a5cedd5754bb507cc238cf5948b37f0045523ed59c04cf6fc4a94ed22b9b77b8c1 EBUILD numpy-1.26.4.ebuild 5160 BLAKE2B 52a7676802baa6c09d2c61445253434394b20cd7c12e7c2d17ceab3f391e15c9e40ee3e1c0e37ee7fc300840910d79f070104aa99169040eb21cec6678ce5ac7 SHA512 daa4452207419e0fa283844a6c7fffb58b508db0be25a09087ea36dd8de476ca0c0b3b2dee16f47738a7e00e17a5efb288b64e558d649da71d3a47dbca7d8443 EBUILD numpy-2.0.2-r1.ebuild 5981 BLAKE2B 5adc5fa3b06c8e00cd79304b874d659ad00effcbff7062531ce4d4a6779b37ad2d7bf5b6eb6d7730d5ab6fa607cf79adac8ea9467a131aaad2ba210bd76d0e11 SHA512 088cd7cd334601dd1f8a0fc3c08d40c4a0ec1a539e00c7d8c99a9f0a6aa24b44f721499af3052ace1bd46d2c62b0d0238b5046a9a769bec9317b6d8e20d347d5 EBUILD numpy-2.1.2.ebuild 6253 BLAKE2B aef7d9d5ae9cef32ce148a6ec9a6a582f653b4b73c868f1a9484ca0130fc1d0ff3f246fee32af0b488acafcafbce374d14b539f53ff38e7d425a2967a4733cda SHA512 0d76e3662331bb6900afa0178c6c495b07494045369b3db382c6b9880b0396857aa1e7643e5046e8145d5123131b360e6d238360f672accc44d7bcbb21e88195 +EBUILD numpy-2.1.3.ebuild 6253 BLAKE2B aef7d9d5ae9cef32ce148a6ec9a6a582f653b4b73c868f1a9484ca0130fc1d0ff3f246fee32af0b488acafcafbce374d14b539f53ff38e7d425a2967a4733cda SHA512 0d76e3662331bb6900afa0178c6c495b07494045369b3db382c6b9880b0396857aa1e7643e5046e8145d5123131b360e6d238360f672accc44d7bcbb21e88195 MISC metadata.xml 932 BLAKE2B 7a4af31f613bab05ff542da48bf6ff1484d9df2459f559516e71329451dd739d3df0fead507c8033d94ab9ed516b68efe7f21819a8cd6ca303643d8c8bc34e86 SHA512 32cb8c1ab61521a02cbec38f6ea383f074e50d46aa3462ddcb85710f9d348e8e628cf2a5725e3cd921cc32f02885a1b5f02125639f0ec885384eeeff7f468a06 diff --git a/dev-python/numpy/numpy-2.1.3.ebuild b/dev-python/numpy/numpy-2.1.3.ebuild new file mode 100644 index 000000000000..0382087fb9cb --- /dev/null +++ b/dev-python/numpy/numpy-2.1.3.ebuild @@ -0,0 +1,209 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYTHON_COMPAT=( python3_{10..13} pypy3 ) +PYTHON_REQ_USE="threads(+)" +FORTRAN_NEEDED=lapack + +inherit distutils-r1 flag-o-matic fortran-2 pypi + +DESCRIPTION="Fast array and numerical python library" +HOMEPAGE=" + https://numpy.org/ + https://github.com/numpy/numpy/ + https://pypi.org/project/numpy/ +" + +LICENSE="BSD" +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +# +lapack because the internal fallbacks are pretty slow. Building without blas +# is barely supported anyway, see bug #914358. +IUSE="big-endian +lapack" + +RDEPEND=" + lapack? ( + >=virtual/cblas-3.8 + >=virtual/lapack-3.8 + ) +" +BDEPEND=" + ${RDEPEND} + >=dev-build/meson-1.1.0 + >=dev-python/cython-3.0.6[${PYTHON_USEDEP}] + lapack? ( + virtual/pkgconfig + ) + test? ( + $(python_gen_cond_dep ' + >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] + ' 'python*') + dev-python/charset-normalizer[${PYTHON_USEDEP}] + >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] + >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] + ) +" + +QA_CONFIG_IMPL_DECL_SKIP=( + # https://bugs.gentoo.org/925367 + vrndq_f32 +) + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # bug #922457 + filter-lto + # https://github.com/numpy/numpy/issues/25004 + append-flags -fno-strict-aliasing + + distutils-r1_python_prepare_all +} + +python_configure_all() { + DISTUTILS_ARGS=( + -Dallow-noblas=$(usex !lapack true false) + -Dblas=$(usev lapack cblas) + -Dlapack=$(usev lapack lapack) + # TODO: cpu-* options + ) +} + +python_test() { + local EPYTEST_DESELECT=( + # Very disk-and-memory-hungry + numpy/lib/tests/test_io.py::TestSaveTxt::test_large_zip + numpy/lib/tests/test_io.py::TestSavezLoad::test_closing_fid + numpy/lib/tests/test_io.py::TestSavezLoad::test_closing_zipfile_after_load + + # Precision problems + numpy/_core/tests/test_umath_accuracy.py::TestAccuracy::test_validate_transcendentals + + # Runs the whole test suite recursively, that's just crazy + numpy/core/tests/test_mem_policy.py::test_new_policy + + numpy/typing/tests/test_typing.py + # Uses huge amount of memory + numpy/core/tests/test_mem_overlap.py + ) + + if [[ $(uname -m) == armv8l ]]; then + # Degenerate case of arm32 chroot on arm64, bug #774108 + EPYTEST_DESELECT+=( + numpy/_core/tests/test_cpu_features.py::Test_ARM_Features::test_features + ) + fi + + case ${ARCH} in + arm) + EPYTEST_DESELECT+=( + # TODO: warnings + numpy/_core/tests/test_umath.py::TestSpecialFloats::test_unary_spurious_fpexception + + # TODO + numpy/_core/tests/test_function_base.py::TestLinspace::test_denormal_numbers + numpy/f2py/tests/test_kind.py::TestKind::test_real + numpy/f2py/tests/test_kind.py::TestKind::test_quad_precisionn + + # require too much memory + 'numpy/_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' + 'numpy/_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]' + ) + ;; + hppa) + EPYTEST_DESELECT+=( + # https://bugs.gentoo.org/942689 + "numpy/_core/tests/test_dtype.py::TestBuiltin::test_dtype[int]" + "numpy/_core/tests/test_dtype.py::TestBuiltin::test_dtype[float]" + numpy/f2py/tests/test_kind.py::TestKind::test_real + numpy/f2py/tests/test_kind.py::TestKind::test_quad_precision + numpy/tests/test_ctypeslib.py::TestAsArray::test_reference_cycles + numpy/tests/test_ctypeslib.py::TestAsArray::test_segmentation_fault + numpy/tests/test_ctypeslib.py::TestAsCtypesType::test_scalar + numpy/tests/test_ctypeslib.py::TestAsCtypesType::test_subarray + numpy/tests/test_ctypeslib.py::TestAsCtypesType::test_structure + numpy/tests/test_ctypeslib.py::TestAsCtypesType::test_structure_aligned + numpy/tests/test_ctypeslib.py::TestAsCtypesType::test_union + numpy/tests/test_ctypeslib.py::TestAsCtypesType::test_padded_union + ) + ;; + ppc|x86) + EPYTEST_DESELECT+=( + # require too much memory + 'numpy/_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' + 'numpy/_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]' + ) + ;; + esac + + if [[ ${CHOST} == powerpc64le-* ]]; then + EPYTEST_DESELECT+=( + # long double thingy + numpy/_core/tests/test_scalarprint.py::TestRealScalars::test_ppc64_ibm_double_double128 + ) + fi + + if use big-endian; then + EPYTEST_DESELECT+=( + # ppc64 and sparc + numpy/linalg/tests/test_linalg.py::TestDet::test_generalized_sq_cases + numpy/linalg/tests/test_linalg.py::TestDet::test_sq_cases + "numpy/f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[s1]" + "numpy/f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[t1]" + "numpy/f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[s1]" + "numpy/f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[t1]" + ) + fi + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + numpy/_core/tests/test_nditer.py::test_iter_refcount + numpy/_core/tests/test_limited_api.py::test_limited_api + numpy/f2py/tests/test_f2py2e.py::test_gh22819_cli + ) + ;& + python3.12) + EPYTEST_DESELECT+=( + # flaky + numpy/f2py/tests/test_crackfortran.py + numpy/f2py/tests/test_data.py::TestData::test_crackedlines + numpy/f2py/tests/test_data.py::TestDataF77::test_crackedlines + numpy/f2py/tests/test_f2py2e.py::test_gen_pyf + ) + ;; + esac + + if ! has_version -b "~${CATEGORY}/${P}[${PYTHON_USEDEP}]" ; then + # depends on importing numpy.random from system namespace + EPYTEST_DESELECT+=( + 'numpy/random/tests/test_extending.py::test_cython' + ) + fi + + if has_version ">=dev-python/setuptools-74[${PYTHON_USEDEP}]"; then + # msvccompiler removal + EPYTEST_DESELECT+=( + numpy/tests/test_public_api.py::test_all_modules_are_expected_2 + numpy/tests/test_public_api.py::test_api_importable + ) + EPYTEST_IGNORE+=( + numpy/distutils/tests/test_mingw32ccompiler.py + numpy/distutils/tests/test_system_info.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + epytest +} + +python_install_all() { + local DOCS=( LICENSE.txt README.md THANKS.txt ) + distutils-r1_python_install_all +} diff --git a/dev-python/pillow/Manifest b/dev-python/pillow/Manifest index 2ed0ea85ee44..e2d6e1f58363 100644 --- a/dev-python/pillow/Manifest +++ b/dev-python/pillow/Manifest @@ -1,5 +1,6 @@ AUX pillow-10.2.0-cross.patch 2390 BLAKE2B d690b3f93d59c32d0f1b209b51ea4787230892488059ec206f548276a1f697394ca539fcd9f92fa7c547b37dd6b4fc738400a3034f54eec6260f0f98ae372b39 SHA512 4afaec6964298e2f1c21fea77791ce0cdacdbc65bf9798d46e99681c772065c1ad1175f5821162157cacac64f556e320af2ca7dcbd0806c07d04f8116f8f508c AUX pillow-10.3.0-py313.patch 691 BLAKE2B acd10146af5467543c44a29bd8236f79fee803d1d0b3bf97b3db2e6ae817f81f30382e9751ae694039ae589a04e4f1ac5169e9a2e60ba5a10c9d2bee1fe00dfb SHA512 5ecd82ae120e3456902f3ab44b0c7a3491ba33de987d005e2a966e8150c45baef46dd357db997662c02734ac00eeaa6a544372610c06e6435e282f5e4fed73aa +AUX pillow-11.0.0-wrong-arg.patch 1242 BLAKE2B 0da76fa225e8107ad15639e540b3935e868e7682d4a241ca609fb019e1269f473b084c35e35d30102c20ee1ca505d1290953e3393e382dcf15bd6f794e080415 SHA512 5f74e04d76f7280bd053b02b01bbff22ce2fc95c1fa8e7c279df9171c61d6a747bbf46644a065fde15457ac6ec008713d8746d611561caf2a0058a84448be15f DIST pillow-10.2.0.gh.tar.gz 46244216 BLAKE2B 27bb076f0adade34295e6dfec5c5a1499471036e4f5358f0b3985c064a0ae962be9e91985851b369a49162ef520a84bb20eb1a5acb074fe94d861f042e4ada92 SHA512 d77ebedfb89d541db2fcba4fc354e097b9917594170bad07c67e22de123c9e0bbc9c55a938fc152bbdcca3ce23de6fa374a6d3d3bdbd44f16dbc2616c1bddf60 DIST pillow-10.3.0.gh.tar.gz 46636534 BLAKE2B 523486a3adc8905dbe0691e7092654e7884c34703f351e228a49b1cb6e9cffdf504b842aa0c83b18afb8f0dbe1265274044003aba540d6427ec3cd46ddda1498 SHA512 11095f435ba30ac364575271de4c94d498b6fc1d67730b8212fae6f187902129018ca950aa878843f4d1b29e25aab1be245ed313fd3bc110ccf9ce3ae266d840 DIST pillow-10.4.0.gh.tar.gz 46617167 BLAKE2B 3eb7852ab087d18e5b9a03d6cbf83ead96b637a71d4209a4574d66c9d098936d240c0be3235d9e951ec094b9b0def196b265a8e68f59802f843171c74ca7bbac SHA512 835a8766c384ec3fcf67b42c9bbad35dad0848cc5bd9eba1b0768a864e174a1d9c4a5e989f22496a40f2c29dd7f492f6f80465903fe872b10749cfa0340e1bc5 @@ -7,5 +8,6 @@ DIST pillow-11.0.0.gh.tar.gz 46807844 BLAKE2B c91b92152d2f763fd20a74e2bddf413a66 EBUILD pillow-10.2.0-r1.ebuild 3265 BLAKE2B 5a95a0777e9a5db4fc6f77a63292d489638241dce247d54fbe5deb0c2affff91dd7887646cdf92ac1d21eb89b302a0395dd35deecdc62cb6ce9d918d23b2ee1a SHA512 92b7156bbd9c3dc2ae5fb38e7ebd4fd20a1a784651d7fb32e798e70497d6aa4ea4acd8b2c8b0056488817b55459d22aa48937c0ba33da23b47167e50c436e4e9 EBUILD pillow-10.3.0.ebuild 3453 BLAKE2B ca42e9e8ca086a04bacae7feddf787fc3c61670ab77bca49dbf9f8288e50e4537dc173f4df9515cad93c2fbce321379ef00862f80f987532bfeb232b3a4c2baa SHA512 9f2beda5c4276b9a4c62746c89cd89a90298baff6a9f1c432c0c576e435ab620e2025b0ddd56f649fdd1f663c57a9e6258187cfa3f237662b1d3b4bba43df090 EBUILD pillow-10.4.0.ebuild 3376 BLAKE2B 7a97c501376a84236ef8cf1e5d128a20510a3ac0c8ee278241596bd2a67be08ba6a4d1512304d24a459dac15ba340ece49877936d5dc919cc6dc6cb417159f95 SHA512 54d5277fa23251448b9d0be74940e2b79d38e32e78a872e93c7f2d37752b0432e9752b7c88654651bbbf0cd712f3bec6ce0f82cf4775603376ba75bcb2151332 -EBUILD pillow-11.0.0.ebuild 3346 BLAKE2B 5674b7ff6d5f3a2bdd3b21bfa6e9e41387cf8f969d395f18d4c5619d553cd213d3c600255689efc83c13530228b86a3e79cbb9667a1a523417f913876275da7f SHA512 efb91ab4752d0e172a9303a150c3ada30c8d29d76b267b27def356e097b50f4c21aae99560b2c260bb43f2f20d205bbb7e5bce6a05b84882582e5fce7dbcfb0b +EBUILD pillow-11.0.0-r1.ebuild 3714 BLAKE2B bd927d4da938b7df8da8abbbe5173ffbaa5de4466f55a9bcb51baf7920df17acbddef5d6c8dc23c5f89c302105b4fdddc87c1b09bf4d091df5c84c16bde596ac SHA512 1093baca5cc647df55bec38a7d0ae539cd90920ce291de29c9244553746c9b7b7f0b594d9ece0a27aec6d31226eb8605fa1a98746c182b7ed758abb4bc848e11 +EBUILD pillow-11.0.0.ebuild 3345 BLAKE2B fe43dbfff81caee000ee2881b890d09bf2306291bc7eedaad8241e938cdf4dd9a89b8469f4d2ed3cb484c6b4a0ae545cf147f876be2a96d19ad738d67b0e52bf SHA512 ab171a3740b758ccf9ede559d4d4cc59305d5d01be8473b1d0597fcf290bc5ac8cb53a22746412e8ad5acf83b9567fee93c1025bfa28287e3885475eee315e30 MISC metadata.xml 480 BLAKE2B 9fe5188b0a5eb4f19b53f34efad5c7da2ba086dd5eb9ed2e4fce8b6a6fac14d9a848392980cd1d2eaff5b334d7c5e39f58d60b763f44879d852dfb0b4f5e3efc SHA512 2b15d9e07b13a6028e87a3d5f0e72b2d252cfb2fa843783acfd2a9dd38bb6f0641f94d067f3a900fede445c606da361d509de2d4541513126b57c6782f69a5bb diff --git a/dev-python/pillow/files/pillow-11.0.0-wrong-arg.patch b/dev-python/pillow/files/pillow-11.0.0-wrong-arg.patch new file mode 100644 index 000000000000..3337b8c4be23 --- /dev/null +++ b/dev-python/pillow/files/pillow-11.0.0-wrong-arg.patch @@ -0,0 +1,32 @@ +From 180c1d1ef0c0ef12e0c56adfe10c7779dff3b55f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Sun, 3 Nov 2024 16:35:54 +0100 +Subject: [PATCH] Revert "Corrected passing TIFF_LONG to libtiff" + +This is the wrong solution to the problem at hand, and results +in passing an int64_t where libtiff expects uint32_t. This seems +to miraculously work on most of our platforms but it is clearly wrong, +and it breaks ppc32. + +Bug: https://github.com/python-pillow/Pillow/issues/8522 +Reverts: b1b0353d17bcdca99cfcb2ea48c6af7861fb43ba +--- + src/encode.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/encode.c b/src/encode.c +index 1a4cd489d..ba350c39a 100644 +--- a/src/encode.c ++++ b/src/encode.c +@@ -929,7 +929,7 @@ PyImaging_LibTiffEncoderNew(PyObject *self, PyObject *args) { + ); + } else if (type == TIFF_LONG) { + status = ImagingLibTiffSetField( +- &encoder->state, (ttag_t)key_int, PyLong_AsLongLong(value) ++ &encoder->state, (ttag_t)key_int, (UINT32)PyLong_AsLong(value) + ); + } else if (type == TIFF_SSHORT) { + status = ImagingLibTiffSetField( +-- +2.47.0 + diff --git a/dev-python/pillow/pillow-11.0.0-r1.ebuild b/dev-python/pillow/pillow-11.0.0-r1.ebuild new file mode 100644 index 000000000000..3ffd135f83db --- /dev/null +++ b/dev-python/pillow/pillow-11.0.0-r1.ebuild @@ -0,0 +1,149 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +# setuptools wrapper +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..13} pypy3 ) +PYTHON_REQ_USE='tk?,threads(+)' + +inherit distutils-r1 toolchain-funcs virtualx + +MY_PN=Pillow +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python Imaging Library (fork)" +HOMEPAGE=" + https://python-pillow.org/ + https://github.com/python-pillow/Pillow/ + https://pypi.org/project/pillow/ +" +SRC_URI=" + https://github.com/python-pillow/Pillow/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" +REQUIRED_USE="test? ( jpeg jpeg2k lcms tiff truetype )" +RESTRICT="!test? ( test )" + +DEPEND=" + imagequant? ( media-gfx/libimagequant:= ) + jpeg? ( media-libs/libjpeg-turbo:= ) + jpeg2k? ( media-libs/openjpeg:2= ) + lcms? ( media-libs/lcms:2= ) + tiff? ( media-libs/tiff:=[jpeg,zlib] ) + truetype? ( media-libs/freetype:2= ) + webp? ( media-libs/libwebp:= ) + xcb? ( x11-libs/libxcb ) + zlib? ( sys-libs/zlib:= ) +" +RDEPEND=" + ${DEPEND} + dev-python/olefile[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + virtual/pkgconfig + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + || ( + media-gfx/imagemagick[png] + media-gfx/graphicsmagick[png] + ) + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +PATCHES=( + # https://github.com/python-pillow/pillow/pull/7634 + "${FILESDIR}/${PN}-10.2.0-cross.patch" + # https://github.com/python-pillow/Pillow/issues/8522 + "${FILESDIR}/${P}-wrong-arg.patch" +) + +usepil() { + usex "${1}" enable disable +} + +python_configure_all() { + cat >> setup.cfg <<-EOF || die + [build_ext] + debug = True + disable_platform_guessing = True + $(usepil truetype)_freetype = True + $(usepil jpeg)_jpeg = True + $(usepil jpeg2k)_jpeg2000 = True + $(usepil lcms)_lcms = True + $(usepil tiff)_tiff = True + $(usepil imagequant)_imagequant = True + $(usepil webp)_webp = True + $(usepil xcb)_xcb = True + $(usepil zlib)_zlib = True + EOF + if use truetype; then + # these dependencies are implicitly disabled by USE=-truetype + # and we can't pass both disable_* and vendor_* + # https://bugs.gentoo.org/935124 + cat >> setup.cfg <<-EOF || die + vendor_raqm = False + vendor_fribidi = False + EOF + fi + + tc-export PKG_CONFIG +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO (is clipboard unreliable in Xvfb?) + Tests/test_imagegrab.py::TestImageGrab::test_grabclipboard + # requires xz-utils[extra-filters]? + Tests/test_file_libtiff.py::TestFileLibTiff::test_lzma + ) + + case ${ARCH} in + ppc) + EPYTEST_DESELECT+=( + # https://github.com/python-pillow/Pillow/issues/7008 + # (we've reverted the upstream patch because it was worse + # than the original issue) + Tests/test_file_libtiff.py::TestFileLibTiff::test_exif_ifd + ) + ;; + esac + + "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # leak tests are fragile and broken under xdist + epytest -k "not leak" -p timeout || die "Tests failed with ${EPYTHON}" +} + +python_install() { + python_doheader src/libImaging/*.h + distutils-r1_python_install +} + +python_install_all() { + if use examples ; then + docinto example + dodoc docs/example/* + docompress -x /usr/share/doc/${PF}/example + fi + distutils-r1_python_install_all +} diff --git a/dev-python/pillow/pillow-11.0.0.ebuild b/dev-python/pillow/pillow-11.0.0.ebuild index 05c733086a1a..1545baf35679 100644 --- a/dev-python/pillow/pillow-11.0.0.ebuild +++ b/dev-python/pillow/pillow-11.0.0.ebuild @@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="HPND" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" REQUIRED_USE="test? ( jpeg jpeg2k lcms tiff truetype )" RESTRICT="!test? ( test )" diff --git a/dev-python/psutil/Manifest b/dev-python/psutil/Manifest index d5e81cf6e154..4db39974b258 100644 --- a/dev-python/psutil/Manifest +++ b/dev-python/psutil/Manifest @@ -6,5 +6,5 @@ DIST psutil-6.1.0.tar.gz 508565 BLAKE2B 2b5095613854c8e77e5e5ac8bb67b3d631bb2951 EBUILD psutil-5.9.8.ebuild 1186 BLAKE2B bd10c838505516d6f74da8349198d995ff263802d425c6a0c980672d49d1af5e2ca684965c113299e4d72e0af188147d0805ea6756d388f76a4e16c6f624892b SHA512 01888a1fa743bc209d3761dbf7e15062ff5e363469c739baa56e26eda4739a8dd915ec0067a67b750ec26959d90733dc379a73fe38ee0247bd778142598f82f7 EBUILD psutil-6.0.0-r1.ebuild 1206 BLAKE2B fc0adabc31ab168c5db19eed87421d987250bd8f65f8901d933b7c8816b2a3c1dc8a7b6cd81771f45d19d042c917830e33420ee4c30c8587f9029b1b81a55c5e SHA512 337b59f975f9ce7b73c6889a5cd2d61452b667691c39cc26917d0b6095395d8599436e872a95b2bc748de022acefe17a2bb3a20d05a58b6572bb9fc874b07b70 EBUILD psutil-6.0.0.ebuild 1190 BLAKE2B 5160ed9b7ca352df5ff2d2a597609ade0cf426846a1dbc5f26b3ecb7453ffcea837fe380c1c17c4d3dadfd195c46a40a32e3761f7f0530429221ca00a52e0fd5 SHA512 8aa7879db77c4071d54508bdd4a399647a09afe795eba626a4a87fbdef860f0ff6e41dd39de73a720c02cfcc3b67a4f0488f56c0091dcc5f28d9dde595a0e424 -EBUILD psutil-6.1.0.ebuild 3272 BLAKE2B ff469e901437ce2789c86d94932ca2973b47082e7e2f796320c035ef00e35e2f4e90c356afa635e68fde81ed3a9d693db2351b43f7ee3c1d68aed77cc375bef1 SHA512 e7cadb3e53f825eb59c87299c5a749efe09bc99e3108a80b9b54ab90265dabe6f8edfc61af93360ff49cc6dad3bb2154e5fef2c8bcbf8bd79fd36e95c13bbd90 +EBUILD psutil-6.1.0.ebuild 3271 BLAKE2B 3832b446f5eb2faaf544e43c9b8d287e28bc539b521d7c2ed9cb387ada8d03b5836659e897410a00d386e5a4de634a24ad027e0c450d93e9c4b7781dea8f301a SHA512 1ef2f9472ccef06f4930dea4e8ea0a0b422c0db0a026c93555389abd8c08c7cca8c555b2752fc45bf38cb6341d31eb79917b17debb72bbba1251d8e7e36fe325 MISC metadata.xml 378 BLAKE2B 235c056a427ab18383c401143074ec62b91d471087c34e2bd48d5192c6221e089e32170d18cd0d69d51eb2bb02fb8a0efe59245af9224b284557812b32c341b5 SHA512 96492308dac753fb176e4810efa71757e66413d16589e52a942b02c91256b48f9873b53a698006923aef12aa7d1539d6fd7aa07632c073b6a92cc8920f6ce6c0 diff --git a/dev-python/psutil/psutil-6.1.0.ebuild b/dev-python/psutil/psutil-6.1.0.ebuild index 01e673db3c3a..054ce69789fe 100644 --- a/dev-python/psutil/psutil-6.1.0.ebuild +++ b/dev-python/psutil/psutil-6.1.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~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 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" distutils_enable_tests pytest diff --git a/dev-python/pulsectl-asyncio/Manifest b/dev-python/pulsectl-asyncio/Manifest index 7d560bab40c6..e88322eb5247 100644 --- a/dev-python/pulsectl-asyncio/Manifest +++ b/dev-python/pulsectl-asyncio/Manifest @@ -1,3 +1,5 @@ DIST pulsectl-asyncio-1.2.1.gh.tar.gz 19531 BLAKE2B 4a3275d75602907f91b3a0979ff8908f4fa23bcf5d1d04068f878fc477011258180cec8ef16b6e6ebe6cc1713ff493841686cc67c4990222c061aa1b722199ff SHA512 b22d0a634433d558860ff1590020ba7272412be97da478a8b00ec457506cb58353b645537ae26591f1aed300cacc14fd0f50c8a3a0c7d650d610b24cc52248ee +DIST pulsectl-asyncio-1.2.2.gh.tar.gz 19528 BLAKE2B 8b4ccf8a1509fddff19cf201dc9ff4cbf03aedc2ab47c6f4920f95072706051a0a9ab3704e4a4650be8ebce67682bff28d8dacdfac272c36019810eea358f01f SHA512 ccaa7ae14fd2ca7e9d6483efcb3d48f8364ed87ab99c700323c2f2d803986408394ae0fe83880d4d77b77daf17dfb58c6e9f94043a9b03ad643bff2e909a673a EBUILD pulsectl-asyncio-1.2.1.ebuild 834 BLAKE2B dcdc4f12978faeae46557ce654e50c79a139b0a69282244b3ac642a4e7ef48aee25a9178a745e9d3fb25b0c60fd5de149251ff167cce852c99ace0c984ea9c6a SHA512 cf0cbf084c73d16e33a048d66d09ed6c2d4d15d0a33e62e73500b9c161ff184fab724c32af73cefe5d446a22cb547374c17fa8c180db0c98116c1f1cc8bb009a +EBUILD pulsectl-asyncio-1.2.2.ebuild 835 BLAKE2B 8bea278459593288a9adbd156f5fa252f51ed4113dd441982fc31bbaf3d6a1c9eae3ff7e2e3e823ffa74814ba61c09294e9fcd57298f8aeef65823f343143717 SHA512 fcb431dd74a6e3f1dd7c47c3724802ef33f8f81bd20657aec60f6fdc4889fda79d16c542789d06a922d1cb47ec71e29820f81645d65217d6d0d2bd97a7a6dd6a MISC metadata.xml 386 BLAKE2B 146d1d23a6622335b70d3e29d735aea6db1b2c6575678a308c8e4c83e52250bef36cfd6965cd1a77d5fd7dde89faa8c6cf6f024d7c6b83b95b2fb6259dafb2de SHA512 23c46c37c1a2a086e8e7ac67f9d8d8922b4f0b595dcf7cc2a6acddd187055beb3c96dac212f3ee749c20095e10acbab5e56e859122c62623065b04c4b2745f41 diff --git a/dev-python/pulsectl-asyncio/pulsectl-asyncio-1.2.2.ebuild b/dev-python/pulsectl-asyncio/pulsectl-asyncio-1.2.2.ebuild new file mode 100644 index 000000000000..8b6cfcbfc7dc --- /dev/null +++ b/dev-python/pulsectl-asyncio/pulsectl-asyncio-1.2.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Asyncio frontend for pulsectl, Python bindings of libpulse" +HOMEPAGE=" + https://github.com/mhthies/pulsectl-asyncio/ + https://pypi.org/project/pulsectl-asyncio/ +" +# sdist is missing examples that are used in tests +SRC_URI=" + https://github.com/mhthies/pulsectl-asyncio/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/pulsectl-23.5.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + media-sound/pulseaudio-daemon + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e 's:,<=[0-9.]*::' setup.cfg || die + distutils-r1_src_prepare +} diff --git a/dev-python/pylibmc/Manifest b/dev-python/pylibmc/Manifest index ae4c8e4ec3bc..8aa36d4b5727 100644 --- a/dev-python/pylibmc/Manifest +++ b/dev-python/pylibmc/Manifest @@ -1,5 +1,4 @@ AUX pylibmc-1.6.1-fix-test-failures-r1.patch 516 BLAKE2B b471ca80b11beff5ac0119f5eafaf437a74022c977a884b8bdf4ef2afdb3d535ad6602db9b1206fb6649bf57ffe5bbd17509d3dda3b6604fcfa428b592dbeae3 SHA512 802337b66cbd188cc81208420448da24cecde3c01d435d6814437f0ee31850b6ef8a53f61647740da340a69971e5fe570cc2a8c1b31226e425ce7ff88bca101c DIST pylibmc-1.6.3.gh.tar.gz 72154 BLAKE2B 3367651d355cb9c6693d8162e740c855c8f84f6b2a5f54ba5fb7f505474263650b46d5ed04c11af2199a7b40c6d4cf0d13a63d2d76a395ff30570a4a3e5259ec SHA512 4bc85d305410f775a39d8d3f64a7e97538ed6ae890cd64833e5bff92fbb60fe8ebc4cc7956df015f6590eb55b7009bd36b299dc636ee0da7f71ed51cc98f3012 -EBUILD pylibmc-1.6.3-r1.ebuild 1328 BLAKE2B e201a532e6d66b0a292dffbb1a256b07c70d134fbc18cf2facabf16f9b3f13f7a26544935458839292ee6ba21408985280b8756dce054e768ccd1cb670f0f2b6 SHA512 bcd7589710294a86adf2c25079b93f11a53d7859d828ef55fb8fce6ff100318dd9cf0bc99c76c37d03a4ffff24f1d9cdc4e574fc384a1379c13633624aacf446 -EBUILD pylibmc-1.6.3.ebuild 1259 BLAKE2B 4f2a66a5759180b1a60703cd87035506641f51333144e33066d46c035c8428ff52c2839b2251a5e3eba77745d1756c2bb35041b8ac847fc45b9378d8d627cb5b SHA512 fecc20b17271b73d0bc506ecd2ffd14882b73dd043d13cc9687fb04ec6c9c354427e2bc1d6df6ed4a724e402dc5b96bab536ea419cf4d7542105ee6e108e9be0 +EBUILD pylibmc-1.6.3-r1.ebuild 1327 BLAKE2B bbf55a76ec13831fdcc8c28628679be54b86042f36867914652ba86617ea73ace4e761c90c33169e899eefb13238ba0a76c232a274c82ea9a5646d93d17a2320 SHA512 5fdc465a76e5684d724a618fc493ec0a21e96af5b0b25c384f29a53efb93d408517bda498930138dc71862a229db3575dd18219083b857191ca687b154e422a2 MISC metadata.xml 367 BLAKE2B fd37f3e072661e616dcfabb2054827a7b1c3830e555cb6fa461e93dadcd39ab1856c0ad4cbe03be85924889b97ba7cc88da651011a4b1c5622fcd950339f7e2d SHA512 33977c15a726c2039221bcbd282244c240013922bd4f1398e75f01ebd68dd0f8574ac890ddb578cb633a89b52584927800f86dcb4a1eb0ab27b165c38b9a91e6 diff --git a/dev-python/pylibmc/pylibmc-1.6.3-r1.ebuild b/dev-python/pylibmc/pylibmc-1.6.3-r1.ebuild index 8904d1693c8f..155678d2891e 100644 --- a/dev-python/pylibmc/pylibmc-1.6.3-r1.ebuild +++ b/dev-python/pylibmc/pylibmc-1.6.3-r1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ~ppc64 ~riscv ~s390 x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 x86" IUSE="sasl" DEPEND=" diff --git a/dev-python/pylibmc/pylibmc-1.6.3.ebuild b/dev-python/pylibmc/pylibmc-1.6.3.ebuild deleted file mode 100644 index 275388aca075..000000000000 --- a/dev-python/pylibmc/pylibmc-1.6.3.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Libmemcached wrapper written as a Python extension" -HOMEPAGE=" - https://sendapatch.se/projects/pylibmc/ - https://pypi.org/project/pylibmc/ - https://github.com/lericson/pylibmc/ -" -SRC_URI=" - https://github.com/lericson/pylibmc/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86" - -DEPEND=" - >=dev-libs/libmemcached-0.32 -" -RDEPEND="${DEPEND}" -BDEPEND=" - test? ( - net-misc/memcached - ) -" - -PATCHES=( - "${FILESDIR}/pylibmc-1.6.1-fix-test-failures-r1.patch" -) - -distutils_enable_sphinx docs -distutils_enable_tests pytest - -# needed for docs -export PYLIBMC_DIR=. - -src_test() { - local -x MEMCACHED_PORT=11219 - memcached -d -p "${MEMCACHED_PORT}" -u nobody -l localhost \ - -P "${T}/m.pid" || die - distutils-r1_src_test - kill "$(<"${T}/m.pid")" || die -} - -python_test() { - local EPYTEST_DESELECT=( - # these require "AmazonElastiCache" running - tests/test_autoconf.py - ) - - epytest --doctest-modules --doctest-glob='doctests.txt' src/pylibmc tests -} diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest index e1a9c28fab6a..2ef377ba1f95 100644 --- a/dev-python/pyproject-fmt/Manifest +++ b/dev-python/pyproject-fmt/Manifest @@ -127,6 +127,6 @@ EBUILD pyproject-fmt-2.1.3.ebuild 818 BLAKE2B 8f0c6b65487bdf064145af0347c1c3fd4c EBUILD pyproject-fmt-2.2.4.ebuild 819 BLAKE2B dd57658b6ac99fc9a69443aaab611f43339795b4a5d70983636110d7fbfd23fa3a01313377cda371126c55453f25baf5b8268aaf5bf49d756329e55b75ee235b SHA512 7d2a939cd03fb76271d7dcc560723f7595a29ee73d01938b19d033395d113d0d50824c1df1053e937811ea53241dfde4cd62011cd17395e64255121ceea5421f EBUILD pyproject-fmt-2.3.1.ebuild 825 BLAKE2B f01105642efee5aa2bc8d068f537b36b18afa87a0efbaac5b79138a2cd68e530ebcf8ee4eee681f3c18ba42682d3d5376c095b5a7397de0bbfa43d6083fbbcf4 SHA512 0a6ad035958b38efa5352e6119ff6837ed6c28cb67bfb1ea65fc2aa8920dba08664e566470657209a482e39ec42859ef4b1beff11e6d8eb3a36aac0c1f0f6e1e EBUILD pyproject-fmt-2.4.2.ebuild 3115 BLAKE2B be5927516d27124656d056e7749a731cc52a00ef62914d4fb5cf160fbfc2b4edbe509892e97bb4c6e65861dbdcd84a768a156c54e1cfd75fb33db6e6cb379524 SHA512 55d0d193d21b0400be19a843b3e6f616a4711214981f904b1daa58f37c62c2eb928878b0ca6a777365e3c98bc79e7c203905eb95351ee0296e67c7c81ca67950 -EBUILD pyproject-fmt-2.4.3.ebuild 3110 BLAKE2B 3718feaf74094222806ce6f4035dab8d4107f72486cd96641d2afeb57b7edd4ab8281ece63b2c31e03f0dcee9240cc3168671f0a6ac39e033c81ded43238e3a4 SHA512 0b9845d2877eff696a94943210cc076fc991bb1c0bb1659b94d1ca008b1e73e4fa4bc87fad5d8b5057c276b6d3e7dfe6d637f06d86f75e7a31ed382f5990bd3c +EBUILD pyproject-fmt-2.4.3.ebuild 3109 BLAKE2B a49d902fcb79fca690ec279090b7e495d69bc348f36bc631aa07a5f6b142c499e882f049b0d4138499147cdd37727d13a58255f606ca4cc22809a40ece45406c SHA512 cf2cd19b1b40667c0884dc26ebc9600f80c8716c1e0f239e6e758f08e6d6545a1b525077490957a7738255d253a599417c60099374fa355afab3b44de18f8a72 EBUILD pyproject-fmt-2.5.0.ebuild 3044 BLAKE2B 3e9d7ca7a74618daaec13f5725ac73cae65c1fccdce88c2b2ad7eca2e35e2f8235b31f5865ad57f02e2ab97d2ea31dcaeef9e31f83a09d4a7ad9506480718682 SHA512 6f3abb34e1f01ee112223c7d09de664d568030ee34c7aca64efeb17e75917ed38acd3a6a17599b5458b1caa15948ddd127510c0b5df78ba3364266ef14649c61 MISC metadata.xml 356 BLAKE2B 9d15eb809d02ee235382282c3eaaea6ae0f3c0192045829495fae1244f88907673f5e5ec26ee5234f25267add21b34fe416d1d48e54f3a899773160bad1cbc8d SHA512 77a3e6273b92141d5a337ab28b162ee27f3f1970316fe42becf2efbd4cdbc5ed6cb26f1f24201d0605c26dfaac75db467f42b00cc47df0093336bd0629f0a1cd diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.4.3.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.4.3.ebuild index ce5ea8457d9c..f9fbd6066985 100644 --- a/dev-python/pyproject-fmt/pyproject-fmt-2.4.3.ebuild +++ b/dev-python/pyproject-fmt/pyproject-fmt-2.4.3.ebuild @@ -135,7 +135,7 @@ LICENSE+=" || ( Apache-2.0 Boost-1.0 ) " SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest index 56c066bd89e3..2c56e7c7047a 100644 --- a/dev-python/pysnmp/Manifest +++ b/dev-python/pysnmp/Manifest @@ -1,7 +1,9 @@ DIST pysnmp-7.0.3.tar.gz 427830 BLAKE2B 5855095c40ca63bfb705293d33d061d94ad0958ab854863fb73468d6aee846ea2fd843f4444eb93a29cb8c1ec3043e1d90445628e66392b04d43d2c027c4ce79 SHA512 9c23ab7073b40ae43a6c56b81c05ef6639f99f44153dcb2f97a455402495cfb5dc8f70025331d5461e6e18a66e1de8246506947bc80465df67cba2381d0d891d DIST pysnmp-7.1.7.tar.gz 343907 BLAKE2B a7e03c9f973d30f911d7b6dea3d03221dfd7d2db67aeb97242de9ef6d6a85cedb5cdefedf55cf9bdd9f84812b65fc320c56fd027f2a613163ac54dd7bbf729e4 SHA512 f4b1da334427fee6d9fc9b069e0d03687f195237356ef5f7065690b68ca8fc8abc25969c32acfb8d156d70567fdcf63154eca1d066fadf8020cb4fc0bfb1ce6e DIST pysnmp-7.1.8.tar.gz 344109 BLAKE2B 8c546eab5e0b937d3ef0259155cf6ee0afa6de00f05f6574a7e9f9207e97e204155eb310b81bae5badec20595c4b638189fd39e941ca141abc685f21b91b2bf0 SHA512 b300d9513021bb083ec0243449a39e635ff2bdbe8447d0cfb79fb1cfcea69e51ee593dadfca1f8a17590b648f86c63793757a56a9ba0aeab06a26c538499e50e +DIST pysnmp-7.1.9.tar.gz 376850 BLAKE2B 7ef76f636434b7dc5f2c3f3cb21f1071861f8d597dfd6a1e3b5672929645889641abe5e7797a4c8586ec0a702549fa9dc1c5a861a78eb5aada9be7411dbecab9 SHA512 034a99e96311b24e8e0bdfec85e1e0b3f31c9573ff34a131a1005812d762d7b886f4c20e3074551f50e5457fa0f9b2a5a03374df62d348ebdaa5a63851ac94da EBUILD pysnmp-7.0.3.ebuild 914 BLAKE2B c97a2ed8d6e36eb5f1a3a9c363b4bc48037c133b62006bc4628a73d284b0ea82a92c09dc30ac73146bcbd3aacd4e8003cb2ca6767fe1a59e671df6bbb616d513 SHA512 4d49cb3bc0e472ec457f5572ece1825da4c87b9edd51a69281f6c58f3c30b70ead02093b4072cc871a2f801d9240cc464caf31561a8769df3957314641cea82d EBUILD pysnmp-7.1.7.ebuild 950 BLAKE2B 401f090eefd8e2b68c22ee59cd446b67328056e6fe4c1f96214d4f70bf1fb2ff5955c5afa3fcb140758df0b17cb227746a3487f5ad2bc1777ffeaa7809d34bb2 SHA512 e8189162bcff082e564d2b560980b56f9d9448ee4111016be26f6ccf62b0dd834dd8feb1bcec9026747d3c0a56d4d644907d564a3653ded5f4eb887c72b0120f EBUILD pysnmp-7.1.8.ebuild 947 BLAKE2B 4ef63ecfa7ec829375c55742e652b103420348902da5d39641335aaa2cf3fe335443182a171208eb462900d9113e379c03b9a03abd358602e5464855bf94e623 SHA512 9a4f1e3c4f9f81f0fdb5b5e972c1e8c38db2d0ca6b8eb7f320644b9777753c1f8d026ea8b4180843e29da9a8537d7033ddc20d1da8b9408f45fe710a8466290e +EBUILD pysnmp-7.1.9.ebuild 950 BLAKE2B 401f090eefd8e2b68c22ee59cd446b67328056e6fe4c1f96214d4f70bf1fb2ff5955c5afa3fcb140758df0b17cb227746a3487f5ad2bc1777ffeaa7809d34bb2 SHA512 e8189162bcff082e564d2b560980b56f9d9448ee4111016be26f6ccf62b0dd834dd8feb1bcec9026747d3c0a56d4d644907d564a3653ded5f4eb887c72b0120f MISC metadata.xml 1548 BLAKE2B f5677ff5c8214dee58dedca8b1c3b64058cf6824a5296d93e1ea827d24b662ed705c1b863969f6fab40314fc7a97e332695b2bc8cd44be2374c43f1eb5af3887 SHA512 b2e9ddeaef3fe6b2c3248395a7c55becb20910a1cd12f80c0daee72ec46271ffb0dbaa96d525d7d05d5dd4c7dfbfc01a4d317611428b3e716bae26b2160c7ed0 diff --git a/dev-python/pysnmp/pysnmp-7.1.9.ebuild b/dev-python/pysnmp/pysnmp-7.1.9.ebuild new file mode 100644 index 000000000000..97044728012a --- /dev/null +++ b/dev-python/pysnmp/pysnmp-7.1.9.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..13} ) +inherit distutils-r1 pypi + +DESCRIPTION="Python SNMP library" +HOMEPAGE=" + https://pypi.org/project/pysnmp/ + https://github.com/lextudio/pysnmp/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86" +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + >=dev-python/cryptography-43.0.1[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.4.8[${PYTHON_USEDEP}] + >=dev-python/pysmi-1.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +# TODO +# distutils_enable_sphinx docs/source dev-python/furo dev-python/sphinx-copybutton dev-python/sphinx-sitemap + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + mibdump NET-SNMP-EXAMPLES-MIB || die + mibdump IF-MIB || die + epytest -p asyncio +} diff --git a/dev-python/simpleeval/Manifest b/dev-python/simpleeval/Manifest index d85b27ad0e01..6bac33218869 100644 --- a/dev-python/simpleeval/Manifest +++ b/dev-python/simpleeval/Manifest @@ -1,7 +1,9 @@ DIST simpleeval-1.0.0.tar.gz 25714 BLAKE2B 3527c3109fd77226c1103ebaac6fb5d03b9439b7e79b2b8386bd9ac9631bc0c1843d06e7a12843801294b84517bd2fc32ce607cc6f99dacf6c827e57d1717e6e SHA512 b5310dfac1ba231e47e86ff6dc8b3c814210f3f14724a0da12f429133354a46f60f980fd29ef66c675c52cd668f2f18c74a6b805192972e821d8331817f44c83 DIST simpleeval-1.0.1.tar.gz 24395 BLAKE2B f5ac188a6797135e79ce6d1cdc5a57987666c6670ce335d7dec68df05c6793f857fb100c087d0f228103ac74f38e41054ad8dbcf4bfc895e47c11faaf965990d SHA512 ba5202f505da411378f97b516070c6f4c456d58467ecbdfd98e611a63c77fe4382a456a9551dee00d8b22cc9dd9d8cddf57e379fac968c27db075cbfc84d8dd2 DIST simpleeval-1.0.2.tar.gz 24378 BLAKE2B 1e4e6224c249fb13d3d39dd29d3d82356aecdcdab64336656650606b53c0d24d4bf66bf7a09b763cb647068594453d19243abfeb241928db6e0c3998803fc287 SHA512 480ba3f4ab50c10c0dceb9a552603ba90791fd34f3ecbd737fe10eafb5c60d0f5cec9ef44b8bd8ba62bbebad9bcf89117078800716ed2e26d7e0455fe681a0e4 +DIST simpleeval-1.0.3.tar.gz 24358 BLAKE2B aa073d0e6776b3943240c7054736097f2695933f9590d085dadc442e7541f47386f5894aef9709bdacbe857cae850aa8faa421b75539b8c48054c2e57696be1d SHA512 e5dbfe40c48afcc75c0d2bae00f8fd5e33f56052a0f4671ae89cb1d072e218190af3115acf6bfbecbeae8c9a4b39cb75adac9071d44e3c851a9ad31c89c26139 EBUILD simpleeval-1.0.0.ebuild 453 BLAKE2B 0ed1de83e25544787ad5ded3a121bf185ba7c62608bcedb2ec82bcfdd153749f14c78b8395362085204430ade182ecdf4eb0f751b215718eb48001cde63b0f88 SHA512 598141e67dd024b292d95493538eccf27189c900e7071500895e12ec2adc022f36cf63387d9177a9e7958426de7a22b61e7a3dd22744415e12dc9306da6817fd EBUILD simpleeval-1.0.1.ebuild 600 BLAKE2B 4c6cb7fed7a4aeab100a5c169ee5396dfad08bbc822715949439f147f67f707980fe8a59ace4a233c68f0a63e41cc07f79020103f3ac87559432eb9b875f615b SHA512 0fba1fa1b0f5147be3e546c2fd5664b1d313cb67cbb469876d2d7df2d167e9f2e9d5e797fbed0a3fa732ef511435f2f2acb00f770ae0f9084ba3126f5a57c967 EBUILD simpleeval-1.0.2.ebuild 455 BLAKE2B 518fe8530fb97fb6a15176d6064460d05c941572145ce15e11376829741f5947252a4073803fed2d1d9c68b56e9d869fff54129db59fa5b44beb6d7f4de2f97a SHA512 c2d13efed552bbe7b3fdb47ca6dcd06951cfaa46b9989f2c7d6c923c0c31cf0329f33e991f122283b2d24483680fc17856e9caf534f6cc146ea4b3bfc0861642 +EBUILD simpleeval-1.0.3.ebuild 455 BLAKE2B 518fe8530fb97fb6a15176d6064460d05c941572145ce15e11376829741f5947252a4073803fed2d1d9c68b56e9d869fff54129db59fa5b44beb6d7f4de2f97a SHA512 c2d13efed552bbe7b3fdb47ca6dcd06951cfaa46b9989f2c7d6c923c0c31cf0329f33e991f122283b2d24483680fc17856e9caf534f6cc146ea4b3bfc0861642 MISC metadata.xml 506 BLAKE2B 697e9acab14f80458e539abe119b70a47f4b97ff3e8e88cfc5b071a4403d80ed637976a2428512bcd6570ee37aad12cbf853b87988262548c09670c31dd7c970 SHA512 be74df1cba2c5c7684d767a229eed2f641747abee58f421ad437c33d40ebd55b360e7bee162a9464ea4443afc4de03c7dbc9c7db35c832f6cd531dcd151aa796 diff --git a/dev-python/simpleeval/simpleeval-1.0.3.ebuild b/dev-python/simpleeval/simpleeval-1.0.3.ebuild new file mode 100644 index 000000000000..c2691f0c9b1f --- /dev/null +++ b/dev-python/simpleeval/simpleeval-1.0.3.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A simple, safe single expression evaluator library" +HOMEPAGE=" + https://github.com/danthedeckie/simpleeval/ + https://pypi.org/project/simpleeval/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +distutils_enable_tests unittest diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index 7ecc06f79a0a..2d0c9ddedfbc 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -1,9 +1,5 @@ -DIST SQLAlchemy-1.4.53.tar.gz 8468030 BLAKE2B fd03cd7a1a8f26b22d33cee038e6e15c59ba24e32a4465e3e3cda74583a333e627b732f5532aaa2c0fc3356a96dab8efbc4f6a51275315f78451d63a4ec20bbf SHA512 2a33b2c0348efbf312994394da3dac0f86be60e9e0929ce96117a02f49d9e06388ec5b016c1bf229f89d5ee561cbdcf8526b9c33428b7041923cd5d73d87a88c DIST sqlalchemy-1.4.54.tar.gz 8470350 BLAKE2B 0d97beb4edde38455c03dfc1238655d1cb63aa6e042b941913ec68dca3654de07087ab967f208fda495f048a5068ced70d642c4b8b80ab32e5346fcefa3bf9bc SHA512 e7ea4920d81914d362134a3c6fd4a2dd4fdb75f6ce17358528d568e2b2ac0ee711a71f6beb894e61d6d1e4e5833034ebde651d73a13f873c682f780e1831b427 -DIST sqlalchemy-2.0.35.tar.gz 9562798 BLAKE2B dfb59e91b782999572ec88e3bedd57e8aba87d3f04a7c0a29f5ea6361c61bf1f62edb94bb20c188f6fbc9cb7e7dfd7c67039066d6aaa78be10697d61d1bb31a2 SHA512 1de85847bf6f391c68c5d2fea7b690fe3deeaa8712ba086cc23244f25528dfdfd9ad6f2642f9981816896b225547ac5ac01c9fb2c707e9f47c1918e13dbcdc19 DIST sqlalchemy-2.0.36.tar.gz 9574485 BLAKE2B 31fb7375041f354b940a5b8beee8886cbb66cb0a4b4dcad8f9bdb9ebfeb673cdc6ce7335d9fa7bbc443e3dafb0337106e0ca0c6a8ccf3df55bde3e6e310dcbc6 SHA512 480fa9893d20806127f6b060726210e32989af92439ff445066aebfc931453eb8c05b5f8497582fcdb897f8e9e70243f092f46e06d7dfe49301ab71ada4eebda -EBUILD sqlalchemy-1.4.53.ebuild 3431 BLAKE2B 8616b889a052a89be1475357427eb9e6bc49d89b69bbb6cbc8d911544c08c26d213df72703cd5266f7a3b613844903623a0d23b6f2609fb53fc447b47c43892b SHA512 f48809e7d04f783457b8ec4716a5ec0b568755791cbefdeb7977f4d808c143bc0f76b435f294fdd4dbfacded03536bc651b8e1b242f27d5d47fd193196408981 -EBUILD sqlalchemy-1.4.54.ebuild 3349 BLAKE2B b72fce5a53d2ec9b674dc86011868d3d658b9d0a300e9dab4bed35f70060b7032893e22c9c9796d2ec8381f7fd1b90e89cbf84ec63e7cdab4e4cb173496a0799 SHA512 f34b3ba9bfd19739832f5f7809a062fdb5d5cf6ba53a2b8c0c209ed1abb034001f78d1aed071f3bb33ce38de5d5948771f5f753f1a6d3626aa3ecc7c01a9b2b9 -EBUILD sqlalchemy-2.0.35.ebuild 3875 BLAKE2B 571c06a100113017e66e701522851bbdb8143f4adccfb9925591e38d8a600dfcab4814123b67c3d5ab58ee828b6d81a0b0d77433fb79fcd912782410c74dda27 SHA512 045dfd73c8986f3c69bee498bfcbd45b749db9aa3aa9c8018fc6203bd786304702409b8d86a4ba60cb3b14f6b82dc3f65c5c6e591f9ef9947605c76e9eadd4b1 -EBUILD sqlalchemy-2.0.36.ebuild 3876 BLAKE2B ed1d578d3afbc29882895bf7daffea9a1e1ffce7cd1feacfdae30b9e63a3fc4e170e7ca2e25c445989b3a71c97ba4a3840409dc191cca04b4f16f3170478cc3e SHA512 4baf1cbde42e4a0b060c868e71d56ea4bf75bf931b4606781a8c903bb97848fd65dbbcc1461cdc0b11e4af473d1e89eea95b269e54574b6eec83f4fae99bd8ae +EBUILD sqlalchemy-1.4.54.ebuild 3347 BLAKE2B a4fafd26e964fb7f05755d7ffaa3d815d526b9933b14f63c3ebfea855bd12eafa241d965b87b5d006a6b267dbc7b4ff4719360028a79493e0ce087b290bd5181 SHA512 b828750e35ac00c86e1a546f4818751033d3374257062ee35a3b81be5b08ba4d5408f2d7c05c1ec317687d3a6442979015f8637b4f131d831ca25a4a41199122 +EBUILD sqlalchemy-2.0.36.ebuild 3875 BLAKE2B 571c06a100113017e66e701522851bbdb8143f4adccfb9925591e38d8a600dfcab4814123b67c3d5ab58ee828b6d81a0b0d77433fb79fcd912782410c74dda27 SHA512 045dfd73c8986f3c69bee498bfcbd45b749db9aa3aa9c8018fc6203bd786304702409b8d86a4ba60cb3b14f6b82dc3f65c5c6e591f9ef9947605c76e9eadd4b1 MISC metadata.xml 444 BLAKE2B 5fbfcf8f16e52ab5bb691b0b33a8491d94e42a80409114cd9b306af7d4b0eb8b6660fabc663adee53080c635217961301b78df536995b91afe9288d255f73d62 SHA512 b432b65ed3033d34ac0784d007909eb838b309b6a4785eebb1a3f808e43dfc41c786cd55e4dd048776c65127aac170bdd9fb9e5a8ae63accb5f65e300bca9676 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.53.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.53.ebuild deleted file mode 100644 index 9ed2325a5d8f..000000000000 --- a/dev-python/sqlalchemy/sqlalchemy-1.4.53.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) -PYTHON_REQ_USE="sqlite?" - -inherit distutils-r1 optfeature pypi - -MY_PN="SQLAlchemy" -DESCRIPTION="Python SQL toolkit and Object Relational Mapper" -HOMEPAGE=" - https://www.sqlalchemy.org/ - https://pypi.org/project/SQLAlchemy/ - https://github.com/sqlalchemy/sqlalchemy/ -" -SRC_URI="$(pypi_sdist_url --no-normalize "${MY_PN}")" -S="${WORKDIR}/${MY_PN}-${PV}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="examples +sqlite test" - -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - ) -" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # hardcode call counts specific to Python versions - test/aaa_profiling -) - -src_prepare() { - sed -i -e '/greenlet/d' setup.cfg || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # warning tests are unreliable - test/base/test_warnings.py - - # TODO - 'test/orm/test_cache_key.py::EmbeddedSubqTest::test_cache_key_gen[memory-_exclusions1]' - - # deprecations - test/engine/test_parseconnect.py::TestRegNewDBAPI::test_wrapper_hooks - test/engine/test_parseconnect.py::URLTest::test_component_set - test/engine/test_parseconnect.py::URLTest::test_password_custom_obj - test/engine/test_parseconnect.py::URLTest::test_update_query_dict - test/engine/test_parseconnect.py::URLTest::test_update_query_string - ) - local sqlite_version=$(sqlite3 --version | cut -d' ' -f1) - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( - test/ext/test_associationproxy.py::ProxyHybridTest::test_msg_fails_on_cls_access - # https://github.com/sqlalchemy/sqlalchemy/issues/8762 - test/orm/test_query.py::YieldTest_sqlite+pysqlite_${sqlite_version//./_}::test_yield_per_close_on_interrupted_iteration_legacy - ) - if ! has_version "dev-python/greenlet[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_execution - test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_run_sync - "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[False-True]" - "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[True-True]" - "test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True-_exclusions0]" - ) - fi - - # upstream's test suite is horribly hacky; it relies on disabling - # the warnings plugin and turning warnings into errors; this also - # means that any DeprecationWarnings from third-party plugins cause - # everything to explode - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS= - # upstream automagically depends on xdist when it is importable - # note that we can't use xdist because it causes nodes to randomly - # crash on init - if has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]"; then - PYTEST_PLUGINS+=xdist.plugin - fi - epytest -} - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - dodoc -r examples - fi - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "asyncio support" dev-python/greenlet - optfeature "MySQL support" \ - dev-python/mysqlclient \ - dev-python/pymysql - optfeature "postgresql support" dev-python/psycopg:2 -} diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.54.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.54.ebuild index 6cd6f1ade9ea..158f436f73b8 100644 --- a/dev-python/sqlalchemy/sqlalchemy-1.4.54.ebuild +++ b/dev-python/sqlalchemy/sqlalchemy-1.4.54.ebuild @@ -20,7 +20,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~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 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="examples +sqlite test" BDEPEND=" diff --git a/dev-python/sqlalchemy/sqlalchemy-2.0.35.ebuild b/dev-python/sqlalchemy/sqlalchemy-2.0.35.ebuild deleted file mode 100644 index 296f2996c356..000000000000 --- a/dev-python/sqlalchemy/sqlalchemy-2.0.35.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYPI_PN=SQLAlchemy -PYTHON_COMPAT=( pypy3 python3_{10..13} ) -PYTHON_REQ_USE="sqlite?" - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="Python SQL toolkit and Object Relational Mapper" -HOMEPAGE=" - https://www.sqlalchemy.org/ - https://pypi.org/project/SQLAlchemy/ - https://github.com/sqlalchemy/sqlalchemy/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="examples +sqlite test" - -RDEPEND=" - >=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - $(python_gen_impl_dep sqlite) - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/greenlet/d' setup.cfg || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_IGNORE=( - test/ext/mypy/test_mypy_plugin_py3k.py - test/typing/test_mypy.py - # hardcode call counts specific to Python versions - test/aaa_profiling - ) - local EPYTEST_DESELECT=( - # warning tests are unreliable - test/base/test_warnings.py - ) - local sqlite_version=$(sqlite3 --version | cut -d' ' -f1) - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - test/ext/test_associationproxy.py::ProxyHybridTest::test_msg_fails_on_cls_access - test/ext/test_associationproxy.py::DictOfTupleUpdateTest::test_update_multi_elem_varg - test/ext/test_associationproxy.py::DictOfTupleUpdateTest::test_update_one_elem_varg - test/engine/test_processors.py::PyDateProcessorTest::test_date_invalid_string - test/engine/test_processors.py::PyDateProcessorTest::test_datetime_invalid_string - test/engine/test_processors.py::PyDateProcessorTest::test_time_invalid_string - "test/dialect/test_sqlite.py::TestTypes_sqlite+pysqlite_${sqlite_version//./_}::test_cant_parse_datetime_message" - "test/dialect/test_suite.py::ReturningGuardsTest_sqlite+pysqlite_${sqlite_version//./_}"::test_{delete,insert,update}_single - test/base/test_utils.py::ImmutableDictTest::test_pep584 - 'test/sql/test_compare.py::HasCacheKeySubclass::test_init_args_in_traversal[_MemoizedSelectEntities]' - ) - ;; - esac - if ! has_version "dev-python/greenlet[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_execution - test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_run_sync - "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[False-True]" - "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[True-True]" - "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[has_terminate-is_asyncio]" - "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[not_has_terminate-is_asyncio]" - "test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True-_exclusions0]" - "test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True]" - ) - fi - - # upstream's test suite is horribly hacky; it relies on disabling - # the warnings plugin and turning warnings into errors; this also - # means that any DeprecationWarnings from third-party plugins cause - # everything to explode - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p rerunfailures --reruns=10 --reruns-delay=2 -} - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - dodoc -r examples - fi - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "asyncio support" dev-python/greenlet - optfeature "MySQL support" \ - dev-python/mysqlclient \ - dev-python/pymysql - optfeature "postgresql support" dev-python/psycopg:2 -} diff --git a/dev-python/sqlalchemy/sqlalchemy-2.0.36.ebuild b/dev-python/sqlalchemy/sqlalchemy-2.0.36.ebuild index 5dae856a01ca..296f2996c356 100644 --- a/dev-python/sqlalchemy/sqlalchemy-2.0.36.ebuild +++ b/dev-python/sqlalchemy/sqlalchemy-2.0.36.ebuild @@ -20,7 +20,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~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 ~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/uvicorn/Manifest b/dev-python/uvicorn/Manifest index 50dcdc6476b4..63a663c9ec6d 100644 --- a/dev-python/uvicorn/Manifest +++ b/dev-python/uvicorn/Manifest @@ -1,5 +1,5 @@ DIST uvicorn-0.31.1.gh.tar.gz 728604 BLAKE2B 4f8f4e34bc6b13f6f0866a6890855a5b3bf9aad179de2fdeab40fdb017f76acfaa1cb7c9bd97d55d2ea5cd513afc3b6857ae0613912f6be55dc1d17cf810b213 SHA512 2ceab852cd7819fee592cf2507fa9ce8cc80f19dec0492fec621e6eded4a47edecbe4fe559a8474dacff260546ba146e33af9cab964e121356797fdc9a2dae28 DIST uvicorn-0.32.0.gh.tar.gz 728882 BLAKE2B 8ab5341b23a97fbf4e8d6cf046f71ef09831bd7914c631fd1683eefe8a2aa8377b572443c180505f0413d5c04462519aa7fd848623d9765905add47650dad19e SHA512 66bfaf0ff37507b90fa63d4a9d3cdb8ae7aa70629ad9bcf52a391abd2c85e67cfce066ba8fb39d9e8f7781bdbad52a03ac9beb9cdbc91af59c29bcf2654ba8b0 EBUILD uvicorn-0.31.1.ebuild 1794 BLAKE2B c68b0774aa02f20a704eb865c0eefa51684fdaca2ef62856e64342186a99eddfc9419d73d2cf49d954387624be3e2669e2fde67da2cfe5532ff8480fb626a39b SHA512 71123f9d9e61042d9669cb2bab95685aa13f4c5ecbbac72c74ea80bd92a6cdd462b5c539a8115223fb31813e4c720f13f8d3a6d789a65e195485b3119bcde0e7 -EBUILD uvicorn-0.32.0.ebuild 1965 BLAKE2B c7eabd475b976d214fd49c667915fafbb23cd20b7cd671cb4a670934654b7e036b23df0531b170c9f25c91bc1ebca872709e781a3f80fa50bd60621ad00675b3 SHA512 4ef5b66db08f2f171f8a21e51f47df84e57453daf02831f811bd939526e2ca32d7e09692ba69157a1a0821e4b4ed48f7dc2a008d952e8da9ac5b1d9e26410f85 +EBUILD uvicorn-0.32.0.ebuild 1964 BLAKE2B fdd4c66c36e174f6f839be01218275e853aef50da6b0642dc6c3e1a17122ded283a4fa5c1ee03db95e5cc440701bfcffe35f36e6f7356540b2cf6ce274a68db6 SHA512 4ffff41a0be23faf03ac298f5daf7b48d3a32640d8833189f76a2ed4f49f9fdb936892ba4d6bd861b3753837ed0c0a87e79c6d339557e5267cb72f0935329302 MISC metadata.xml 451 BLAKE2B af9be617c95128297e3455b503e198e13c373244094f6aa9c80837945c3f9f023f1874efa28d4ffa8b241feb9a4e8c7f3d3534e96966733bd5593bffb90904a5 SHA512 4d76bab5c20f7cad81fa56a28c9be07bf2c2ebc412fc647f073215d437a2550eca247b8419df71d04200d0fdf545520684db0b6f4953e73848f69a4f4ad6931e diff --git a/dev-python/uvicorn/uvicorn-0.32.0.ebuild b/dev-python/uvicorn/uvicorn-0.32.0.ebuild index b462c9478ff3..f2a271c54646 100644 --- a/dev-python/uvicorn/uvicorn-0.32.0.ebuild +++ b/dev-python/uvicorn/uvicorn-0.32.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~mips ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test-rust" RDEPEND=" diff --git a/dev-python/uvloop/Manifest b/dev-python/uvloop/Manifest index c9e8380dcdc6..045e292a397a 100644 --- a/dev-python/uvloop/Manifest +++ b/dev-python/uvloop/Manifest @@ -1,8 +1,4 @@ DIST uvloop-0.19.0-cython3.patch.xz 6352 BLAKE2B 4a7056299d3d430ce5b6986d43ba4f20726ae4f9635042a43e2995ea373ed53ddce6af2eaa32202f81f80a27bd1d814e635a6be091b5f751bcf6825fd2c8e88a SHA512 aeda541f1327860d23b31ffda9923270a56a8311ec86b06f3bd653478bff591372106e8848af5229e3ad298e950b4c3a728ab4dd9056219b8afe55f5dd58ee3d -DIST uvloop-0.20.0.tar.gz 2329938 BLAKE2B c9f230b16227bc98c071e060c98b4920d919c732f20237aedb3af9eb0b21d224bcdd6bd10c77ad45d24c64c70fb7e0d3ccde6d1eb90c67c33c1671bacad2a3b0 SHA512 9597f66e735b039b3eb6ad9ae3a1e58e710e6ba38b9131384befde15795f2a5fde7d5724af0e6f4e6c335fa14605dde5d28256f05b1e36c706e851fbe3ccb46c DIST uvloop-0.21.0.tar.gz 2492741 BLAKE2B bd890673ea420282929e2450977cf9ce86e5daf5bb6001fb8c3fef5d037a14071eb2e39e29020c22d34d3b8100485f10e6fba7a35dce6cde9e07fbd8bc0eaf98 SHA512 fd8684c1382178be72febf7ba3fa2cddf4303fceee79c1e475e6fcbf323ba8a53f516df1cd33a527d149f84807ad3cf8a61047d489601b43b21afd6e4fa088d6 -DIST uvloop-0.21.0b1.tar.gz 2492824 BLAKE2B aa9b07ca6f95020e22384e848abc137e1b7fd95092b01e41471a620c4614a48f64fb1031b6f6842a62dcdf2c727c1849421bbfc862e1eb0bbb84173668cd2f07 SHA512 ae0caf4c79102ad12d0b1bedf4ec64929ad15a281908fbb336f806fa35194838ce14993e49d569b53e4aa8824e51a5a5a7156f938111ec4d2e0f1319db72b415 -EBUILD uvloop-0.20.0.ebuild 2033 BLAKE2B 81c7a8df786a90ce2916de815784c30d39cc5f048efd339a76684a0e554034eb17bbb31e767a6ebc1d9ef1e3cda00986581bc32745624140e76b5eafb41072d8 SHA512 95318d636b597ea33f86f231239de13f44cf763e8260fdbfcc7a2486f08d35a3f9606e3f9e11e7d502ea89194c4368fa68fb210f714a1d7127f58a001b6a471c EBUILD uvloop-0.21.0.ebuild 1916 BLAKE2B 674a3cc9865cf48a4170aacd8ebe728fe013d60e67a203c4df1629c274e1551362f612df1c2666caa6d64b56a0bf6e6d7a64f223a0db2eb7752eceb6ec03ad73 SHA512 11a1461d268eb53970ccbdf137c20878aa61b9e45491abfd55b718bc052bce493e2051797bf347a097bc797a7eabcb088af63b0cc703e97ab8e1979f5439964a -EBUILD uvloop-0.21.0_beta1.ebuild 1916 BLAKE2B 674a3cc9865cf48a4170aacd8ebe728fe013d60e67a203c4df1629c274e1551362f612df1c2666caa6d64b56a0bf6e6d7a64f223a0db2eb7752eceb6ec03ad73 SHA512 11a1461d268eb53970ccbdf137c20878aa61b9e45491abfd55b718bc052bce493e2051797bf347a097bc797a7eabcb088af63b0cc703e97ab8e1979f5439964a MISC metadata.xml 527 BLAKE2B 2db44bdfb681fcce35ef35f13155293ac3fdffa12a695b654ed8acc608cf1f769243136e66b6b2c1afd57caa7e59a66a60d34631c37a4b98a474bd0635fcbaa3 SHA512 02540835a23405c467293395fa7984741e02ca1aca75f527edd3b988d307b41db0f729d5cc0b3a826a652fb7104dec7be86a9a57f4d5646d2af87255cc2d90de diff --git a/dev-python/uvloop/uvloop-0.20.0.ebuild b/dev-python/uvloop/uvloop-0.20.0.ebuild deleted file mode 100644 index cb38a973f32c..000000000000 --- a/dev-python/uvloop/uvloop-0.20.0.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Ultra-fast implementation of asyncio event loop on top of libuv" -HOMEPAGE=" - https://github.com/magicstack/uvloop/ - https://pypi.org/project/uvloop/ -" -SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-0.19.0-cython3.patch.xz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 -riscv sparc x86" -IUSE="examples" - -DEPEND=" - >=dev-libs/libuv-1.11.0:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - >=dev-python/cython-0.29.36[${PYTHON_USEDEP}] - test? ( - dev-python/aiohttp[${PYTHON_USEDEP}] - >=dev-python/pyopenssl-22.0.0[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${WORKDIR}"/${PN}-0.19.0-cython3.patch -) - -distutils_enable_tests pytest - -python_prepare_all() { - rm -r vendor || die - cat <<-EOF >> setup.cfg || die - [build_ext] - use_system_libuv=True - cython_always=True - EOF - - # force cythonization - rm uvloop/loop.c || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local EPYTEST_IGNORE=( - # linting - tests/test_sourcecode.py - ) - local EPYTEST_DESELECT=( - # TODO: expects some... cython_helper? - tests/test_libuv_api.py::Test_UV_libuv::test_libuv_get_loop_t_ptr - # unhappy about sandbox injecting its envvars - tests/test_process.py::Test_UV_Process::test_process_env_2 - tests/test_process.py::Test_AIO_Process::test_process_env_2 - # hangs - tests/test_tcp.py::Test_AIO_TCPSSL::test_remote_shutdown_receives_trailing_data - # crashes on assertion - # https://github.com/MagicStack/uvloop/issues/574 - tests/test_cython.py::TestCythonIntegration::test_cython_coro_is_coroutine - # Internet - tests/test_dns.py::Test_UV_DNS::test_getaddrinfo_{8,9} - ) - - rm -rf uvloop || die - epytest -s -} - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/uvloop/uvloop-0.21.0_beta1.ebuild b/dev-python/uvloop/uvloop-0.21.0_beta1.ebuild deleted file mode 100644 index 8465f7187ddb..000000000000 --- a/dev-python/uvloop/uvloop-0.21.0_beta1.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Ultra-fast implementation of asyncio event loop on top of libuv" -HOMEPAGE=" - https://github.com/magicstack/uvloop/ - https://pypi.org/project/uvloop/ -" -SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-0.19.0-cython3.patch.xz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 -riscv sparc x86" -IUSE="examples" - -DEPEND=" - >=dev-libs/libuv-1.11.0:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - >=dev-python/cython-3.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/aiohttp-3.10.5[${PYTHON_USEDEP}] - >=dev-python/pyopenssl-22.0.0[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - rm -r vendor || die - cat <<-EOF >> setup.cfg || die - [build_ext] - use_system_libuv=True - cython_always=True - EOF - - # force cythonization - rm uvloop/loop.c || die - - distutils-r1_python_prepare_all - - # don't append -O2... however, it's not splitting args correctly, - # so let's pass something safe - export UVLOOP_OPT_CFLAGS=-Wall -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local EPYTEST_IGNORE=( - # linting - tests/test_sourcecode.py - ) - local EPYTEST_DESELECT=( - # unhappy about sandbox injecting its envvars - tests/test_process.py::Test_UV_Process::test_process_env_2 - tests/test_process.py::Test_AIO_Process::test_process_env_2 - # crashes on assertion - # https://github.com/MagicStack/uvloop/issues/574 - tests/test_cython.py::TestCythonIntegration::test_cython_coro_is_coroutine - # Internet - tests/test_dns.py::Test_UV_DNS::test_getaddrinfo_{8,9} - ) - - rm -rf uvloop || die - epytest -s -} - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/yattag/Manifest b/dev-python/yattag/Manifest index 380d2ee6f908..1b66a8f50836 100644 --- a/dev-python/yattag/Manifest +++ b/dev-python/yattag/Manifest @@ -1,3 +1,5 @@ DIST yattag-1.16.0.tar.gz 29052 BLAKE2B 48c24c7f510e23ce153e9ebf544b023eff0da4938621977fe22c23950643777e9c8adad860c6f80a53001cf65a2932dfaa1963249691d23f2879982a2db1114a SHA512 1cc16a94f162bbef9874dad1adf2a048042379909996a06506494373317f36df247b17feb95693a27643d8bb0440a96892197113b043a12f5701ffb2722d3dad +DIST yattag-1.16.1.tar.gz 29069 BLAKE2B c35be7b3f9171f5ee5c40edb9bbcf7ce1277cd6703f690eceb2c0366bb43d2975f84598e70d3b7480cd68e055ae0221d8482a3ca92fc9a75dd4e1b58e9aa70e0 SHA512 afdd5ed7921a98a50d4f0139121014a25730f4051a21f189f6543df8a9da92790b290d0ddb65248f94b9947622f0ac256f1d5eec5fc82fcbbc7195f18d69a540 EBUILD yattag-1.16.0.ebuild 558 BLAKE2B 593cfb8df7374df6a5e77b398473e7aa95747b5eb9be61bccd792fd2a9c76bd2ceaa1b45237fc04546dff5ea42b045f89fbf999368d01214656af4d50fe3387a SHA512 62e955dd844ff19ac79bcb07357542e8998bec85528e4eeb1d753844a8c57bf4ae7d65eb2d62fe38911ea331e1fffa4c5c9f751816f14c8dbf584ba8129f317f +EBUILD yattag-1.16.1.ebuild 559 BLAKE2B 21eed972860d573c7a483bbbc393ece7bedff610bec64d7b6794db4cf96683bb0a4ae55215eb4d3d908d855a3ce1c7e803998c6bb34eedad93052342526c67e9 SHA512 0e1a3cfd30cc0a7c720f3a9cd0bc6a1e32e079fdc673e8abb6fb87fa8f007762f76393bc64b46bfd8e9eedf014984c5e88257edb0e84f23b786aa6df16a2eb41 MISC metadata.xml 392 BLAKE2B 7217ea93019df8e40434be78a87ef5e92407d26dab3ab1cfd94e80ca038c84099cd0c61a3afdc703f95866bc15ba78cef3d699bbe32ead6a6c9bcd9a516d8eaa SHA512 b3bfa2aa0d11d1067563b66b6f7917ac32dd1a54540f883720f3ac8eb52b3861135980508927ee7fcf8e43bda4c865bc2be8d882207dbadf2dc8ca5ff988595b diff --git a/dev-python/yattag/yattag-1.16.1.ebuild b/dev-python/yattag/yattag-1.16.1.ebuild new file mode 100644 index 000000000000..13a29b4c8f8a --- /dev/null +++ b/dev-python/yattag/yattag-1.16.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python library to generate HTML or XML in a readable, concise and pythonic way" +HOMEPAGE=" + https://www.yattag.org/ + https://github.com/leforestier/yattag/ + https://pypi.org/project/yattag/ +" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +distutils_enable_tests unittest + +python_test() { + cd test || die + eunittest +} |