From 67e5603b2844a6657dd0438fa26626b013e5567f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 24 Jun 2024 00:11:52 +0100 Subject: gentoo auto-resync : 24:06:2024 - 00:11:52 --- dev-python/Manifest.gz | Bin 268992 -> 269013 bytes dev-python/cachelib/Manifest | 2 +- dev-python/cachelib/cachelib-0.13.0.ebuild | 4 +- dev-python/clang-python/Manifest | 2 + .../clang-python-19.0.0_pre20240623.ebuild | 53 ++++++ dev-python/commentjson/Manifest | 3 +- dev-python/commentjson/commentjson-0.9.0-r2.ebuild | 12 +- .../files/commentjson-0.9.0-py312.patch | 24 +++ dev-python/coverage/Manifest | 8 +- dev-python/coverage/coverage-7.5.0.ebuild | 98 ----------- dev-python/coverage/coverage-7.5.1.ebuild | 98 ----------- dev-python/coverage/coverage-7.5.2.ebuild | 98 ----------- dev-python/coverage/coverage-7.5.4.ebuild | 98 +++++++++++ dev-python/filelock/Manifest | 2 + dev-python/filelock/filelock-3.15.4.ebuild | 31 ++++ dev-python/fs/Manifest | 2 +- dev-python/fs/fs-2.4.16.ebuild | 4 +- dev-python/hatchling/Manifest | 2 + dev-python/hatchling/hatchling-1.25.0.ebuild | 105 +++++++++++ dev-python/lit/Manifest | 2 + dev-python/lit/lit-19.0.0_pre20240623.ebuild | 45 +++++ dev-python/nbxmpp/Manifest | 2 + dev-python/nbxmpp/nbxmpp-5.0.1.ebuild | 35 ++++ dev-python/pip/Manifest | 2 + dev-python/pip/files/pip-24.1-unbundle.patch | 193 ++++++++++++++++++++ dev-python/pip/pip-24.1-r1.ebuild | 176 +++++++++++++++++++ dev-python/pkgcraft/Manifest | 4 +- dev-python/pkgcraft/pkgcraft-0.0.10.ebuild | 81 +++++++++ dev-python/pkgcraft/pkgcraft-9999.ebuild | 2 +- dev-python/portalocker/Manifest | 2 + dev-python/portalocker/portalocker-2.10.0.ebuild | 45 +++++ dev-python/resolvelib/Manifest | 2 +- dev-python/resolvelib/resolvelib-1.0.1.ebuild | 4 +- dev-python/scikit-build/Manifest | 2 + dev-python/scikit-build/scikit-build-0.18.0.ebuild | 73 ++++++++ dev-python/setuptools-rust/Manifest | 3 +- .../setuptools-rust-1.9.0-r1.ebuild | 2 +- .../setuptools-rust/setuptools-rust-1.9.0.ebuild | 194 --------------------- dev-python/sphinx-argparse/Manifest | 2 +- .../sphinx-argparse/sphinx-argparse-0.4.0.ebuild | 2 +- dev-python/sphinx-autodoc-typehints/Manifest | 2 + .../sphinx-autodoc-typehints-2.2.2.ebuild | 44 +++++ dev-python/sphinx-copybutton/Manifest | 2 +- .../sphinx-copybutton-0.5.2.ebuild | 4 +- dev-python/sphinx-inline-tabs/Manifest | 2 +- .../sphinx-inline-tabs-2023.4.21.ebuild | 4 +- dev-python/sphinxcontrib-autoprogram/Manifest | 2 +- .../sphinxcontrib-autoprogram-0.1.9.ebuild | 2 +- dev-python/tenacity/Manifest | 2 +- dev-python/tenacity/tenacity-8.4.1.ebuild | 22 ++- dev-python/truststore/Manifest | 2 +- dev-python/truststore/truststore-0.9.1.ebuild | 2 +- dev-python/wxpython/Manifest | 2 +- dev-python/wxpython/wxpython-4.2.1-r2.ebuild | 7 + 54 files changed, 1089 insertions(+), 529 deletions(-) create mode 100644 dev-python/clang-python/clang-python-19.0.0_pre20240623.ebuild create mode 100644 dev-python/commentjson/files/commentjson-0.9.0-py312.patch delete mode 100644 dev-python/coverage/coverage-7.5.0.ebuild delete mode 100644 dev-python/coverage/coverage-7.5.1.ebuild delete mode 100644 dev-python/coverage/coverage-7.5.2.ebuild create mode 100644 dev-python/coverage/coverage-7.5.4.ebuild create mode 100644 dev-python/filelock/filelock-3.15.4.ebuild create mode 100644 dev-python/hatchling/hatchling-1.25.0.ebuild create mode 100644 dev-python/lit/lit-19.0.0_pre20240623.ebuild create mode 100644 dev-python/nbxmpp/nbxmpp-5.0.1.ebuild create mode 100644 dev-python/pip/files/pip-24.1-unbundle.patch create mode 100644 dev-python/pip/pip-24.1-r1.ebuild create mode 100644 dev-python/pkgcraft/pkgcraft-0.0.10.ebuild create mode 100644 dev-python/portalocker/portalocker-2.10.0.ebuild create mode 100644 dev-python/scikit-build/scikit-build-0.18.0.ebuild delete mode 100644 dev-python/setuptools-rust/setuptools-rust-1.9.0.ebuild create mode 100644 dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-2.2.2.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 2a8f7391be29..e87b63751d3e 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/cachelib/Manifest b/dev-python/cachelib/Manifest index 1bbb3f5de195..4bbd13913cf4 100644 --- a/dev-python/cachelib/Manifest +++ b/dev-python/cachelib/Manifest @@ -1,3 +1,3 @@ DIST cachelib-0.13.0.gh.tar.gz 31116 BLAKE2B fcb5f065778533bbe9200c77f12d374a62111c5dc26e366c07ea0986bba138a97c56de0440dd3b4a5603b8700ec8035b65ebe95d48e4dcf60c03f78a2215f128 SHA512 6b58f3823d1169ca1e25a5accc7a51752e26c8e7f62b58a571b0de4d8792dd6c3eb3d3c60f3843653b7aaa17177a1d6d56e442ceb6b69a486d76511003ff97b2 -EBUILD cachelib-0.13.0.ebuild 1029 BLAKE2B 8ab2da0531b0d98c534a6c45c90b060d0d1e2299c6ad2cbc2e3ead772db86563eb3578e3f0e9dff3ed09ddf87d88766f6f7fc72346db4ea204759015c23d1b86 SHA512 c58c61ea0b2e1ff5e372256038f23017eca8cfdd73728f99e8e4782563cde7f3c75ab0c2932ef9e54f40484fde89317341dcae003a211591a4feafbd9ab6de92 +EBUILD cachelib-0.13.0.ebuild 1046 BLAKE2B 999619e4377f99e3bff7a5e8c93992188f0fba43245d448ea8fe864bab34ddddb57cab2f2e8344e9f10fb36f47bbf2e4b26091f54daf8ee626bac17b44e4248e SHA512 abef10cae17c8d3c2d4a37ef8d8bbacfcaef4df65a5aac8d055443270510ac28b1f1e82cee785ef7d4d402001005a3fbe00b933ac9056dad043b7241519a689f MISC metadata.xml 396 BLAKE2B 2143d629636bdd645b81f85f73b42716ec5c8d35d19ea36abacd18a4131439446d75d147806157c0d1aad8089f438411b02bfd87ec47bda334c25696ae850271 SHA512 3046e2959b959072f7f144d3f0f39273451db3615f38f867b9164014de6d7a2a0e753b4a9b2029706e694a649476fbadbf14d03b27f10184b79de31b7ef6d00b diff --git a/dev-python/cachelib/cachelib-0.13.0.ebuild b/dev-python/cachelib/cachelib-0.13.0.ebuild index 14e98fc303ac..27ea69cbe737 100644 --- a/dev-python/cachelib/cachelib-0.13.0.ebuild +++ b/dev-python/cachelib/cachelib-0.13.0.ebuild @@ -25,11 +25,13 @@ KEYWORDS="amd64 ~arm arm64 x86" BDEPEND=" test? ( dev-db/redis - dev-python/pylibmc[${PYTHON_USEDEP}] dev-python/pytest-xprocess[${PYTHON_USEDEP}] dev-python/redis[${PYTHON_USEDEP}] net-misc/memcached www-servers/uwsgi[python,${PYTHON_USEDEP}] + !sparc? ( + dev-python/pylibmc[${PYTHON_USEDEP}] + ) ) " diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 1dd571a3461c..3173a6d6fa2f 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -6,6 +6,7 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B d6ede1a9fda8756995c3e06541 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7 SHA512 f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340 DIST llvm-project-18.1.7.src.tar.xz 132063384 BLAKE2B b8c37bd131fb5f3131bfab4fbad7aa811079ca10723faa14779253bc62b1ee08d4e04650e1da883297ed88a62d518b868a1f13cf57d03233254fd01209da5c02 SHA512 0f67818267803aca9d2bc9eb89335ee6dc56269e8066a0f8a48c4a959e8805dbf6bc839b9f96a92f86ee50d72e7cc326ffe18febb5eb06751ab54a217c0221c8 DIST llvm-project-18.1.7.src.tar.xz.sig 566 BLAKE2B 9ae6d80eba5309ce3d5cba580df57c28dbcf429266b2ced622465e34ab2a7ae0f100d1e89c73a44abccd95a3367979344450fd53fb6a2baa029b929d3f13eee3 SHA512 7e5601e35f4fcaa4ed042638ae5a4fb90714c9dce58aa3f98e965568660b88294185621a4eb5547de262dca8a96f620db3f94932bb1776661e345dbe1266315c +DIST llvm-project-3ae6755719c6dfc07761b4e9bdac8c86bcb41734.tar.gz 213487323 BLAKE2B 12030750fca0e7db4ae07a608874877151b2393cf58388f067b469e913ce9ac3f264440ebb3df5ea33f9f97cb87928fa746c98ba26c8d296f9e26dcbf950afc2 SHA512 951b70eafc8aea5b1f7847002229d89df565ca8180deef08b25966dcf070a7603a258e5fc24f9496251d23d275040724ed5e9499432ba3e19f5984f6f1c3c645 DIST llvm-project-5aabbf0602c48b67bb89fd37f95bf97c95ded488.tar.gz 212582616 BLAKE2B 78522148bb4993bd26b16f1e3f44c2baf617705667c7fb104edc844c4330017166c783adae2f0215ca7463c05d1eef30fdf02b13241a9497aaede36bb8580a26 SHA512 104e0b5b4f34102f2da03cd54fe9bf5f7fb6efb3a9745d8ec85caa5f92189fde4a5c02c327243d87ff5c7d24b3790fcabdf0ef7144e79e15765785ca72dd3841 DIST llvm-project-cddb9ce04e68d876de895d39d60b6af34d569012.tar.gz 213219536 BLAKE2B 5aba2c1dd19d73a8691590873f1697fa32adeab7f84d1d5636e211071e64bfa5d28a49ea9cfdba5fbae77c9520c2103a9f1544d669c7948a318636557f45f6ee SHA512 69ed25a0565c61cd4eb512e95b0fd2d2a3a09dbad73e7186d7fb1764193b06e522572eafb271d21469a4bfb133a62efe65e5ccd20cf05af8b43c52e195d477a9 EBUILD clang-python-15.0.7.ebuild 1202 BLAKE2B b655ab7b2fa3a5334666e42d36e1e7773be8910f5a47fe8792be04fafbc0c9889cf74d5ca4671863b5244b874133bb353feb4b1ac119e52486ac18d3ff7c6760 SHA512 eb99a86e826ff46d78e1f97a7db1c867e0fc4c9d0036de31407d83dc4de1b8cf80e36ba186d6d8a825209bbb4312d7120b96cbf59d6cb5cf598a3ffb754bf75d @@ -15,4 +16,5 @@ EBUILD clang-python-18.1.7.ebuild 1205 BLAKE2B 609f06035ee58685b352f56b62925947f EBUILD clang-python-19.0.0.9999.ebuild 1170 BLAKE2B c6bb0527431ced05965e35f2f3d0d0c05db4f27c4286d28cc36c0bc0e2e1c704018650840ab6cb7fbb62cb0acc22bc0472f5dd61a4c4c49a8dabdcb14dc35043 SHA512 bda343468b925bea4580582a163413f6ab45354698c2d3ed818d638989f3cd11248fedef0b7da469d1bfe5fa388304718cd091ca0120ee56da0173e582bc58be EBUILD clang-python-19.0.0_pre20240608.ebuild 1170 BLAKE2B c6bb0527431ced05965e35f2f3d0d0c05db4f27c4286d28cc36c0bc0e2e1c704018650840ab6cb7fbb62cb0acc22bc0472f5dd61a4c4c49a8dabdcb14dc35043 SHA512 bda343468b925bea4580582a163413f6ab45354698c2d3ed818d638989f3cd11248fedef0b7da469d1bfe5fa388304718cd091ca0120ee56da0173e582bc58be EBUILD clang-python-19.0.0_pre20240615.ebuild 1170 BLAKE2B c6bb0527431ced05965e35f2f3d0d0c05db4f27c4286d28cc36c0bc0e2e1c704018650840ab6cb7fbb62cb0acc22bc0472f5dd61a4c4c49a8dabdcb14dc35043 SHA512 bda343468b925bea4580582a163413f6ab45354698c2d3ed818d638989f3cd11248fedef0b7da469d1bfe5fa388304718cd091ca0120ee56da0173e582bc58be +EBUILD clang-python-19.0.0_pre20240623.ebuild 1170 BLAKE2B c6bb0527431ced05965e35f2f3d0d0c05db4f27c4286d28cc36c0bc0e2e1c704018650840ab6cb7fbb62cb0acc22bc0472f5dd61a4c4c49a8dabdcb14dc35043 SHA512 bda343468b925bea4580582a163413f6ab45354698c2d3ed818d638989f3cd11248fedef0b7da469d1bfe5fa388304718cd091ca0120ee56da0173e582bc58be MISC metadata.xml 299 BLAKE2B 2feead2cd1b35b3a43335ddd7711f8181b52bc63ee7166608914260c67528add5251349063afbef4f8cf0ec09b2cd4c3ffdd90f2c14ed60bb69ebc03888f6333 SHA512 cd745c54ab18d25bdaff18582105072574103a36cfe7c175ef740f266d00e9fc6f44c332904d23b911c939cf5bdf52973b388923099d8dd5dfef3c283b5cb685 diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240623.ebuild b/dev-python/clang-python/clang-python-19.0.0_pre20240623.ebuild new file mode 100644 index 000000000000..7f3de6814bbb --- /dev/null +++ b/dev-python/clang-python/clang-python-19.0.0_pre20240623.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=sys-devel/clang-${PV}:* + !sys-devel/llvm:0[clang(-),python(-)] + !sys-devel/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + sys-devel/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/commentjson/Manifest b/dev-python/commentjson/Manifest index b93286752647..9bbc4008a6df 100644 --- a/dev-python/commentjson/Manifest +++ b/dev-python/commentjson/Manifest @@ -1,3 +1,4 @@ +AUX commentjson-0.9.0-py312.patch 996 BLAKE2B e13cd38728e7207f7f88897dc5a27d238acd8246df174892cfbbad14e2e3e14abbaf04fbe68d5c5abf8dc0a64824e364f9435055ccddfcc4427936ba83e401f6 SHA512 ff442f4bf916703a4231607d8b79f16d71e8b03665deb9431f438edce12075eb1cc784413bdfd23e580e149c8f150cbe8ea137b3b1e6d046d83204e29264c470 DIST commentjson-0.9.0.gh.tar.gz 15297 BLAKE2B a857b0fa5551079d3d37bff94fb51a903e998c4fb84e0f62a5de28d6eafe0cb8a38b3215515e72c56de0cddb661f109921c801d15b9ba93771290135adaaa5b1 SHA512 cd3d28adecbc445ed3faed7847c65a23829f408cf8aa3fa85544a0f0cf9fa5544b8aff560725cf51921f249123daf9ce9953069e99ca64a312bb4bff652512fe -EBUILD commentjson-0.9.0-r2.ebuild 834 BLAKE2B f53c8b6cc79ed27efb013dd22075e5b1ca84c518bb25165bc70048c660dcbe967d5aedc80b517830fc3bdd255cf6d9922e85d4c3d790754b17f26e994cbb6ec6 SHA512 9d7724a6bec25ffb64593d15fba5dd78fb42e4323b019f402d7af9075d04b9c48ec930addf31c8aa088cf2b293e4fad97933ade6b0d89c2ed847d9d31907a2bb +EBUILD commentjson-0.9.0-r2.ebuild 939 BLAKE2B 01c47fb67bbb69ffb893cf12ecf9f9b76fa8f7a71c8dad11a069fb5000ea883a345c17f912da9b1cbc7eb355a59c425c5ad35ddd0fc6fba7b7d090cb3fb897c5 SHA512 67d260dadc9a64cb3cc36e2043b343dd2b238922ba6abaeef39c8d872f6c0fa8ede11e96a3ec47986b7150b4f6ce2747ba0d99833a239800ddb6c650f94a5bf7 MISC metadata.xml 375 BLAKE2B 7391dadca9ed1ad8c62515f56347a04fe099c5020b2cfb5d6037e1057199f20a9a512c90800f81186bced7a8ff3f192b36e8c83d7d5ca2b961ea5f5a0e799e80 SHA512 005e5180f3f69d3c162b5ed113840494e0afbc9c09b5c4f02bad97ed7bf5a77e4b7806462f9c7aa3ca72d5d963e5d4b85a591e6e557742685c5738d66214915e diff --git a/dev-python/commentjson/commentjson-0.9.0-r2.ebuild b/dev-python/commentjson/commentjson-0.9.0-r2.ebuild index 6ebede96a2b3..66ef695160cc 100644 --- a/dev-python/commentjson/commentjson-0.9.0-r2.ebuild +++ b/dev-python/commentjson/commentjson-0.9.0-r2.ebuild @@ -1,10 +1,10 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-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} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 @@ -34,7 +34,13 @@ BDEPEND=" distutils_enable_tests unittest src_prepare() { + local PATCHES=( + # https://github.com/vaidik/commentjson/pull/54 + "${FILESDIR}/${P}-py312.patch" + ) + + distutils-r1_src_prepare + # remove lark-parser dependency to allow painless upgrade to lark sed -e '/lark-parser/d' -i setup.py || die - distutils-r1_src_prepare } diff --git a/dev-python/commentjson/files/commentjson-0.9.0-py312.patch b/dev-python/commentjson/files/commentjson-0.9.0-py312.patch new file mode 100644 index 000000000000..dbdcfe488f83 --- /dev/null +++ b/dev-python/commentjson/files/commentjson-0.9.0-py312.patch @@ -0,0 +1,24 @@ +From 04ad293f800039c0221ff010236e589a4ba7079d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Sun, 23 Jun 2024 14:54:42 +0200 +Subject: [PATCH] Update test skips for Python 3.12+ + +Python 3.12 moves testing for `Infinity` and other constants +into `test_json/test_decode.py::test_parse_constant`. +--- + commentjson/tests/test_json/test_decode.py | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/commentjson/tests/test_json/test_decode.py b/commentjson/tests/test_json/test_decode.py +index 6971c44..8f5e904 100644 +--- a/commentjson/tests/test_json/test_decode.py ++++ b/commentjson/tests/test_json/test_decode.py +@@ -69,3 +69,8 @@ def test_string_with_utf8_bom(self): + 'test case is not supported by commentjson.')) + def test_negative_index(self): + pass ++ ++ @unittest.skipIf(version >= (3, 12), ++ 'Infinity as a value is not supported yet') ++ def test_parse_constant(self): ++ pass diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index dd9880ab6422..2fabdb70b75e 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -1,11 +1,7 @@ DIST coverage-7.4.4.tar.gz 783727 BLAKE2B e7d7af92ddcb3d7b5857cc83d8e14bb16ea2bde720eba63b082d35358934047ef7285ac70a6cd8fcb4720a9ddea5c22cf4cb14404ac2800794c49650ff5a1dd4 SHA512 26d4715ce69556ca12d1b65db5f21807c08733810b4398750280184812ebfb698e7b424b9e30f55e7524323861a22d4581db0524e9e285ca858132359fd24d28 -DIST coverage-7.5.0.tar.gz 798314 BLAKE2B 6f7b80d1a46fb88f92571bc23fa2e061680e4e72e6339332f135ace6072570776abbfdce7654d34599ccd1dff920fb1d7cbdc7039a341d10e130408d554e6f83 SHA512 1332f630e6f6ed9a2445f93a3826f22151cf4eff2491163a6d01ef1ce468928a52871ee71aeeb716e8e4f04542524ae25213a37bdb874c4a663cbc581482530d -DIST coverage-7.5.1.tar.gz 784825 BLAKE2B 4dd659d170b026aa868a066fedc9ab0cfa16b5ac2cb90a45578528f2733b7a01b7d3546836b908412d81a7ff21645b0ceebcf27d3414a99d474a7fd44d2539f4 SHA512 db9fe405c52e30e2aa673caf0cc8a02b5f62fd53b969003d231b52cf9463afc22924d5c29859447d6139be9c6642036f3cbc690ae4055d250a73c9dcd1f805a2 -DIST coverage-7.5.2.tar.gz 786030 BLAKE2B b6b3ce47893db399c6e6e34d78cdf7da5735dce14fef3740098bb41df697770fd8910d2f4df1831a214690024c722808f3684e82f4d27bb08b84eb0c0170ff4f SHA512 14a8b239a71558ae9b11a72e2040979ef3d9d446ccb1339d2858736cf550d7ccacf31ce1288f30cbe064d747f506e3afcb09fe2d9d8a0946aad6e488fb9ea7c2 DIST coverage-7.5.3.tar.gz 786184 BLAKE2B 014a21273bf302a7e10d3239edda1a95b99674abd0b7b769a688a4e576d0b9e5ce9189ee38e8c53b0cbd5ea7bd2c7f7583704455f6842c9a19e77cc19aae3de1 SHA512 6c72525b19b0efbf6a23b8a2860e056613c8119a5306978a67bc11b8598bac693e7541a9ca206bb9394511c9a84097a7f450ebf38e7c1c40e914fd71cf7546ce +DIST coverage-7.5.4.tar.gz 793238 BLAKE2B a53967307ce9cbb72d89810575574a7a1358c988e5e02cfa2a982ba8e68e7efd477c2d902c2037c67f18309c54777f3422db845b7753da49ccb69855289c13de SHA512 363658864f9a5116e49bd10a45a8ceeb0bb62c70458e0c0ce7ae90f3ddea0659d67af1a35a44a47e673b256cdad8ea0963339110dabfd7031d6b98ba483f3606 EBUILD coverage-7.4.4.ebuild 2468 BLAKE2B 484cf7c4502606a2236cdc5ac9d7b00502db53ca82c83c7042931672e6258c2722779ddb3a9147d797202cdd417c2cf181de0ba9e34920b5aa6cbd2def35b15d SHA512 17fef3b5f71d724182e050fca7d7bbdd868346e9ce8d67beaad1657450cc944dd07a665e88def258143dc9c1010f78fb64d0a9927fbe0ec1a98dbbb852166a29 -EBUILD coverage-7.5.0.ebuild 2476 BLAKE2B e931142781ffc76d323da0484dcc3c6c6f23c6658ddc695a04798ec2e6c14e6c2a946fa9efd07b11b7dc4c6a2480c4cd5366fd8a46e0da37aedf1278a2c0a59e SHA512 786206efe2a7e21fe2ed767a1b48e2a3e05d49c94ba8cc83707473384771701ca90c818835b8a773730b11bd6415751868c0ec16f8fce6e7b31311aff930f647 -EBUILD coverage-7.5.1.ebuild 2469 BLAKE2B be2ba1d51b764eb5c0cafcc644ed499f832321e30a00b53009bd6896340a57b7eab86af67629d650cbf8d6b0ecd9f2d8cd8f941b96a7bc39e98a3dac1e5bca9b SHA512 ba13b7b86178c95b564882cd847ea98457ae880a8a04b357c294a1f505e147e9656cff954807d772b543f616583b217a1002abb6f14bab5935e54ab330bd4419 -EBUILD coverage-7.5.2.ebuild 2476 BLAKE2B 4a9a08dc69d73d9ffaa0a58ec9027fe4c84e9c82e0710d494e72bceb02f0634dd73a490e4b29c97d17ea81493a59fbb2212ab891575332e00dd3f307093c0736 SHA512 c5ab737e5496b70e7bea34bb3f2244da6b49883c561926ca0b79f948c567e2d8a126fd7e6d00fd4a33312bd0f418278077a1335313854b310147800cf10c1630 EBUILD coverage-7.5.3.ebuild 2469 BLAKE2B be2ba1d51b764eb5c0cafcc644ed499f832321e30a00b53009bd6896340a57b7eab86af67629d650cbf8d6b0ecd9f2d8cd8f941b96a7bc39e98a3dac1e5bca9b SHA512 ba13b7b86178c95b564882cd847ea98457ae880a8a04b357c294a1f505e147e9656cff954807d772b543f616583b217a1002abb6f14bab5935e54ab330bd4419 +EBUILD coverage-7.5.4.ebuild 2476 BLAKE2B 4a9a08dc69d73d9ffaa0a58ec9027fe4c84e9c82e0710d494e72bceb02f0634dd73a490e4b29c97d17ea81493a59fbb2212ab891575332e00dd3f307093c0736 SHA512 c5ab737e5496b70e7bea34bb3f2244da6b49883c561926ca0b79f948c567e2d8a126fd7e6d00fd4a33312bd0f418278077a1335313854b310147800cf10c1630 MISC metadata.xml 771 BLAKE2B 38e9680d0851f70050aad987714a9dd2f95178b0bc3d794dc08726c0618d1ea98be32a413ac397f4b222e8a5d8fdc747b7f1677bcfe842bac4080537e85a03a9 SHA512 8c44c40348fe5d416d8b4016fe22cc9ae0b94fbaf181deb79aa737f87271992521b710c1208d0eeb7ef92d96fc8a7daac1ec6feb1ae081a80f13327b5b094064 diff --git a/dev-python/coverage/coverage-7.5.0.ebuild b/dev-python/coverage/coverage-7.5.0.ebuild deleted file mode 100644 index d7fb22bbd856..000000000000 --- a/dev-python/coverage/coverage-7.5.0.ebuild +++ /dev/null @@ -1,98 +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} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Code coverage measurement for Python" -HOMEPAGE=" - https://coverage.readthedocs.io/en/latest/ - https://github.com/nedbat/coveragepy/ - https://pypi.org/project/coverage/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.{9..10}) -" -BDEPEND=" - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/addopts/s:-q -n auto::' pyproject.toml || die - distutils-r1_src_prepare -} - -test_tracer() { - local -x COVERAGE_CORE=${1} - einfo " Testing with the ${COVERAGE_CORE} core ..." - epytest -p flaky -p hypothesis -p xdist tests -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO: fails because of additional "Terminated" print on SIGTERM - tests/test_concurrency.py::SigtermTest::test_sigterm_threading_saves_data - # broken because of pytest plugins explicity loaded - tests/test_debug.py::ShortStackTest::test_short_stack{,_skip} - # these expect specific availability of C extension matching - # COVERAGE_CORE (which breaks testing pytracer on CPython) - tests/test_cmdline.py::CmdLineStdoutTest::test_version - tests/test_debug.py::DebugTraceTest::test_debug_sys_ctracer - ) - local EPYTEST_IGNORE=( - # pip these days insists on fetching build deps from Internet - tests/test_venv.py - ) - - "${EPYTHON}" igor.py zip_mods || die - - local -x COVERAGE_TESTING=True - # TODO: figure out why they can't be imported inside test env - local -x COVERAGE_NO_CONTRACTS=1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - - local prev_opt=$(shopt -p nullglob) - shopt -s nullglob - local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) - ${prev_opt} - - if [[ -n ${c_ext} ]]; then - cp "${c_ext}" coverage/ || die - test_tracer ctrace - fi - - test_tracer pytrace - - case ${EPYTHON} in - python3.1[01]|pypy3) - ;; - *) - # available since Python 3.12 - test_tracer sysmon - ;; - esac - - if [[ -n ${c_ext} ]]; then - rm coverage/*.so || die - fi -} diff --git a/dev-python/coverage/coverage-7.5.1.ebuild b/dev-python/coverage/coverage-7.5.1.ebuild deleted file mode 100644 index c6a4fbbadd54..000000000000 --- a/dev-python/coverage/coverage-7.5.1.ebuild +++ /dev/null @@ -1,98 +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 ) -PYTHON_REQ_USE="threads(+),sqlite(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Code coverage measurement for Python" -HOMEPAGE=" - https://coverage.readthedocs.io/en/latest/ - https://github.com/nedbat/coveragepy/ - https://pypi.org/project/coverage/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.{9..10}) -" -BDEPEND=" - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/addopts/s:-q -n auto::' pyproject.toml || die - distutils-r1_src_prepare -} - -test_tracer() { - local -x COVERAGE_CORE=${1} - einfo " Testing with the ${COVERAGE_CORE} core ..." - epytest -p flaky -p hypothesis -p xdist tests -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO: fails because of additional "Terminated" print on SIGTERM - tests/test_concurrency.py::SigtermTest::test_sigterm_threading_saves_data - # broken because of pytest plugins explicity loaded - tests/test_debug.py::ShortStackTest::test_short_stack{,_skip} - # these expect specific availability of C extension matching - # COVERAGE_CORE (which breaks testing pytracer on CPython) - tests/test_cmdline.py::CmdLineStdoutTest::test_version - tests/test_debug.py::DebugTraceTest::test_debug_sys_ctracer - ) - local EPYTEST_IGNORE=( - # pip these days insists on fetching build deps from Internet - tests/test_venv.py - ) - - "${EPYTHON}" igor.py zip_mods || die - - local -x COVERAGE_TESTING=True - # TODO: figure out why they can't be imported inside test env - local -x COVERAGE_NO_CONTRACTS=1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - - local prev_opt=$(shopt -p nullglob) - shopt -s nullglob - local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) - ${prev_opt} - - if [[ -n ${c_ext} ]]; then - cp "${c_ext}" coverage/ || die - test_tracer ctrace - fi - - test_tracer pytrace - - case ${EPYTHON} in - python3.1[01]|pypy3) - ;; - *) - # available since Python 3.12 - test_tracer sysmon - ;; - esac - - if [[ -n ${c_ext} ]]; then - rm coverage/*.so || die - fi -} diff --git a/dev-python/coverage/coverage-7.5.2.ebuild b/dev-python/coverage/coverage-7.5.2.ebuild deleted file mode 100644 index 4903c1472391..000000000000 --- a/dev-python/coverage/coverage-7.5.2.ebuild +++ /dev/null @@ -1,98 +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 ) -PYTHON_REQ_USE="threads(+),sqlite(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Code coverage measurement for Python" -HOMEPAGE=" - https://coverage.readthedocs.io/en/latest/ - https://github.com/nedbat/coveragepy/ - https://pypi.org/project/coverage/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.{9..10}) -" -BDEPEND=" - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/addopts/s:-q -n auto::' pyproject.toml || die - distutils-r1_src_prepare -} - -test_tracer() { - local -x COVERAGE_CORE=${1} - einfo " Testing with the ${COVERAGE_CORE} core ..." - epytest -p flaky -p hypothesis -p xdist tests -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO: fails because of additional "Terminated" print on SIGTERM - tests/test_concurrency.py::SigtermTest::test_sigterm_threading_saves_data - # broken because of pytest plugins explicity loaded - tests/test_debug.py::ShortStackTest::test_short_stack{,_skip} - # these expect specific availability of C extension matching - # COVERAGE_CORE (which breaks testing pytracer on CPython) - tests/test_cmdline.py::CmdLineStdoutTest::test_version - tests/test_debug.py::DebugTraceTest::test_debug_sys_ctracer - ) - local EPYTEST_IGNORE=( - # pip these days insists on fetching build deps from Internet - tests/test_venv.py - ) - - "${EPYTHON}" igor.py zip_mods || die - - local -x COVERAGE_TESTING=True - # TODO: figure out why they can't be imported inside test env - local -x COVERAGE_NO_CONTRACTS=1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - - local prev_opt=$(shopt -p nullglob) - shopt -s nullglob - local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) - ${prev_opt} - - if [[ -n ${c_ext} ]]; then - cp "${c_ext}" coverage/ || die - test_tracer ctrace - fi - - test_tracer pytrace - - case ${EPYTHON} in - python3.1[01]|pypy3) - ;; - *) - # available since Python 3.12 - test_tracer sysmon - ;; - esac - - if [[ -n ${c_ext} ]]; then - rm coverage/*.so || die - fi -} diff --git a/dev-python/coverage/coverage-7.5.4.ebuild b/dev-python/coverage/coverage-7.5.4.ebuild new file mode 100644 index 000000000000..4903c1472391 --- /dev/null +++ b/dev-python/coverage/coverage-7.5.4.ebuild @@ -0,0 +1,98 @@ +# 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 ) +PYTHON_REQ_USE="threads(+),sqlite(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Code coverage measurement for Python" +HOMEPAGE=" + https://coverage.readthedocs.io/en/latest/ + https://github.com/nedbat/coveragepy/ + https://pypi.org/project/coverage/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{9..10}) +" +BDEPEND=" + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/addopts/s:-q -n auto::' pyproject.toml || die + distutils-r1_src_prepare +} + +test_tracer() { + local -x COVERAGE_CORE=${1} + einfo " Testing with the ${COVERAGE_CORE} core ..." + epytest -p flaky -p hypothesis -p xdist tests +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO: fails because of additional "Terminated" print on SIGTERM + tests/test_concurrency.py::SigtermTest::test_sigterm_threading_saves_data + # broken because of pytest plugins explicity loaded + tests/test_debug.py::ShortStackTest::test_short_stack{,_skip} + # these expect specific availability of C extension matching + # COVERAGE_CORE (which breaks testing pytracer on CPython) + tests/test_cmdline.py::CmdLineStdoutTest::test_version + tests/test_debug.py::DebugTraceTest::test_debug_sys_ctracer + ) + local EPYTEST_IGNORE=( + # pip these days insists on fetching build deps from Internet + tests/test_venv.py + ) + + "${EPYTHON}" igor.py zip_mods || die + + local -x COVERAGE_TESTING=True + # TODO: figure out why they can't be imported inside test env + local -x COVERAGE_NO_CONTRACTS=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + + local prev_opt=$(shopt -p nullglob) + shopt -s nullglob + local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) + ${prev_opt} + + if [[ -n ${c_ext} ]]; then + cp "${c_ext}" coverage/ || die + test_tracer ctrace + fi + + test_tracer pytrace + + case ${EPYTHON} in + python3.1[01]|pypy3) + ;; + *) + # available since Python 3.12 + test_tracer sysmon + ;; + esac + + if [[ -n ${c_ext} ]]; then + rm coverage/*.so || die + fi +} diff --git a/dev-python/filelock/Manifest b/dev-python/filelock/Manifest index d8b17d409f24..1aedcdb6da03 100644 --- a/dev-python/filelock/Manifest +++ b/dev-python/filelock/Manifest @@ -1,7 +1,9 @@ DIST filelock-3.14.0.tar.gz 15401 BLAKE2B afa95a941189cd73767684016502fba6972541a8a0f16bed0a4acc6452700224d511a17e6882b1c680fa6b20621b617704a7e9d3aff8ae883ede56f40acb5de3 SHA512 51eda6394fcac86a12887fe1974022b9da921fb96a61887f7a91c5b15f083a4c9186600ec61b4e93b91b8c4799c50ca4b6c418416c6bf2b422ea3b41715258e4 DIST filelock-3.15.1.tar.gz 17564 BLAKE2B 5a4b7a02697318023bb555900c4ee8d486c62a7177fd35c374c13d03a1f03cd3bd36c40b2511112b098f0185e20c936251a9bc16373b2f3c3c61b8f154436f08 SHA512 cf8ef1cc68697ab04725057c186f6df8100ac480b727932be80b2ca655230861f5ae65f6957b992dcd4350433f90d958c9513f684685efb9080d0c506d730cbe DIST filelock-3.15.3.tar.gz 17982 BLAKE2B 802601805a247cfa5ef90e6fc6c919adbf04a77f4bbe571a09e1656101e340981ab3fe8716071b52476bea0e690d84541f5443af64609cabb042af9b8e9705c5 SHA512 b4519a911ac90ba3e1b8b6cdfcd3d31eb6024f94cc6794c5ce1beeaeac10692a6bdef16f09aaf4c579d383b89862fd94b1bc6ccbec079232e4f9553f65bd7b1f +DIST filelock-3.15.4.tar.gz 18007 BLAKE2B bf64d43b189453c8c1fcf258edefb2df340d20578d942d147197423c433cd6629d5e73615201d7ef84857450d7a4cf1375d0dfc69a422c4319a76f2dc157442f SHA512 d809df84f321ab9d99f46609cc664af2d9b73161906308e1a9f949c745694577901def228c40a860c606d652f9ecefe9014159eeea92266f94e981eecc4fe103 EBUILD filelock-3.14.0.ebuild 681 BLAKE2B 859c6ef75c1cf5057efed6761d068b841f1e82e7b87c94a7e111bcfb52a583dafa13a86afb1bcf80c93cefb733fc3677de447058b6d30e29a8c491a44437e144 SHA512 3d9216bd6f058b42cae6741401f2aa2ab774ab988cf4f7bbfd35f7ea9b52cf20c44a082b5c53de7aa7d58183178fdf83876c01053e31b569681ab7a9f0fafebe EBUILD filelock-3.15.1.ebuild 735 BLAKE2B e41d4d3e1d0a43c2621730395a65165c9cea3925572288b1fa4d8ed71f9b7b9182b1c0c9e544d111d491f81a6a77400a4f23e6e332ef184cc831b28b3d6fc3eb SHA512 181425c93fb881aa220ee181441a436433f6804919eed10fffb17411e82b513c215164179a130ca22f29c4f3b69261ebdc5a634609e26f0fafdd3bfe47465c75 EBUILD filelock-3.15.3.ebuild 777 BLAKE2B 358da1aa2d24dcb2a395328b4e6e402c0bf43649306c9c7c8c868ce471555fde5925237dd9417ec7bcc70fcaa6239bc79754a584e50e2c80e3c719d6ab051991 SHA512 7aa5802bb97d99e1e04638b2b5e4fcffbe57259dcf08e990f70feb768fe0223b408623b30e39b97a5755c507d35227b9ae345828e43b0ba96e3d8133f51b06ef +EBUILD filelock-3.15.4.ebuild 777 BLAKE2B 358da1aa2d24dcb2a395328b4e6e402c0bf43649306c9c7c8c868ce471555fde5925237dd9417ec7bcc70fcaa6239bc79754a584e50e2c80e3c719d6ab051991 SHA512 7aa5802bb97d99e1e04638b2b5e4fcffbe57259dcf08e990f70feb768fe0223b408623b30e39b97a5755c507d35227b9ae345828e43b0ba96e3d8133f51b06ef MISC metadata.xml 370 BLAKE2B 91fee1713e0ae7d6ad39c05769e769b05d0ddbdc514b9ea19ec9144e0452ce411ed08f45d4b3123dd8accb67077fe1113809512c8a3ec460fd70a2126b841899 SHA512 62afbe350d894dc05533ff9e532f24f351315a9fba3f2cb8a580fc056cc868592140ffa04ea08fde3ca594e6d398962343e18a0c4614d9e6d2211e07a1152117 diff --git a/dev-python/filelock/filelock-3.15.4.ebuild b/dev-python/filelock/filelock-3.15.4.ebuild new file mode 100644 index 000000000000..6e7072b2fa9c --- /dev/null +++ b/dev-python/filelock/filelock-3.15.4.ebuild @@ -0,0 +1,31 @@ +# Copyright 2018-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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A platform independent file lock for Python" +HOMEPAGE=" + https://github.com/tox-dev/filelock/ + https://pypi.org/project/filelock/ +" + +LICENSE="Unlicense" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/fs/Manifest b/dev-python/fs/Manifest index 137c4fd8310f..c5a5f05edc98 100644 --- a/dev-python/fs/Manifest +++ b/dev-python/fs/Manifest @@ -1,3 +1,3 @@ DIST fs-2.4.16.tar.gz 187441 BLAKE2B 5a59dd5bcaae19180a918ba0ceb99b598134d73e4c9ecad840b3cf3041613171367d878d147f045005a87636e8f2145451252d646dbffb8d0f3ae6ac254142ee SHA512 7d9a03b5a782cce048189a7ff527757e60ef6fbb99925713b0179dc9c483f63b54fb1911f39bf2230366c789c526a1b8927863ce93e13a0f71fd8734a7fdb9df -EBUILD fs-2.4.16.ebuild 1457 BLAKE2B a4098e862af6cb9f47058ee26317c3525a447fa1c3a7cec267e4b7a22d810105b6d878dfefd4a2cafc138e139ef33cb37cc9b68555d73289b8e29f267ec3b45b SHA512 16d840aa481c5cfd258702d317fe1cd00a8a432180357315f2922563733399b53dff6b3587bd77e687e77e7becb08e6a58f184db6dbd230a40891fcce6559a3e +EBUILD fs-2.4.16.ebuild 1457 BLAKE2B 9d0d25bbdfc86766c3e1b832f716646d15365f2737b632d3b290914818425bb7368fb91789461a9e1c58e7e86688b2503b5e8679bafde5eb7ae9f41aa8d5ded3 SHA512 f6a8fb55ff5b264f6e868f62b3e0f7d01982338000210dccac9bf93e1b238cace3bc6654bfb8ae2e9e4c971d20eb3f9ad736e14b97a30ceb937d7df45cd5847d MISC metadata.xml 581 BLAKE2B b3fa399e172b10606f13b3de4fb0afbe332e7234b3163ce198b30cea2d4c24967b0943d578085dfbaada503700f70015517d01e3f3a01ddcc4795e1821d1a5ce SHA512 3d3154db8e81f2764f99e2595a99a34061762a5cf16695926e25407859f20a59f4dbf60b0d8e18fb80d90c6342f70cc6a2c886841bf156ae06b17a670a4987c0 diff --git a/dev-python/fs/fs-2.4.16.ebuild b/dev-python/fs/fs-2.4.16.ebuild index 2ff4052187be..0bfe849af1f5 100644 --- a/dev-python/fs/fs-2.4.16.ebuild +++ b/dev-python/fs/fs-2.4.16.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 optfeature pypi diff --git a/dev-python/hatchling/Manifest b/dev-python/hatchling/Manifest index 6bc762a99933..6246558de123 100644 --- a/dev-python/hatchling/Manifest +++ b/dev-python/hatchling/Manifest @@ -1,3 +1,5 @@ DIST hatch-hatchling-v1.24.2.gh.tar.gz 1054297 BLAKE2B b2da7dc3f3d58998b57d6ee625a2b7e890afc078c0d8f6cb9c332480df561090bb8bc255e3e60d5d25fa55001869429f822014891fe1cec0098b61fbe02efe52 SHA512 e83f57089707a267685c9cac7f29cd5862adec62f6346097aa62bd5b3b9f7222621b2ea71004dd52f62798dab71bcf05c33a2c43dbe39d1bbc5f4a4f99f28c40 +DIST hatch-hatchling-v1.25.0.gh.tar.gz 5276942 BLAKE2B 76de1a824086889370a996945ad031179132dc74f4ef8a79da29913fc587c85210db49e89f400f4db2533d6706452cd4c67b87ff4ca97be0c3dc1879cf2bd77e SHA512 54f4e5f9383e846a9192e47b61f5147d4c48f20c41df752898dc5e22dd0bf196ea60fe4866dd04dc09c763aac67f7c047c40d978398e910878eb772af887d607 EBUILD hatchling-1.24.2.ebuild 2922 BLAKE2B 506fb6f862d54fc35adbe88fd542fba3ae6c5b023af893d5906b3db27dfe9369d529e0244dad394752acec23c166cb1c8c6a9e1bf0920aa31d263098f466bc81 SHA512 c0b7079e303e44c2865c599dab0157019c03f840649fa21db4b62f515140f0794e3ad8cd60529a151fe0401bc03d70b8869e42bda0542765d9c0120b39cf17b3 +EBUILD hatchling-1.25.0.ebuild 2930 BLAKE2B ee877ddafd84651691a8794c62c2d818d8c910d79cdaa605d4fb96796ddb6ee32aba82cfae0ca9e0b9cad02662ecd72a99d4936db265cd78f9550baf8e6d1594 SHA512 3553f1eb5ef859b270c6de76a55c79e26da10603e976e0c2d1b4bf3706994fea3a3de865260b376c5dcf387b9de0c623d21e1b3f77564e2e8a7f21408c48efa5 MISC metadata.xml 365 BLAKE2B 5a40a6cf6df042e6e8387830babd0171c9d8bc5d490fe2175b83d1588d827e826b49044ef29de48553515996b742fc475bb9699dcfa8ec05229162b22e0ed317 SHA512 f11bb25bc12c2bb0b0a0a4691115b9a2af525d9e44b33e0d6db98c7fcef0b49b5989fb7574ee8b27bc88f1dd2543bfdd492a6614de172e2c4edabbee8bf6161e diff --git a/dev-python/hatchling/hatchling-1.25.0.ebuild b/dev-python/hatchling/hatchling-1.25.0.ebuild new file mode 100644 index 000000000000..33191ee7e57c --- /dev/null +++ b/dev-python/hatchling/hatchling-1.25.0.ebuild @@ -0,0 +1,105 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( pypy3 python3_{10..13} ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 + +TAG=${P/-/-v} +MY_P=hatch-${TAG} +DESCRIPTION="Modern, extensible Python build backend" +HOMEPAGE=" + https://pypi.org/project/hatchling/ + https://github.com/pypa/hatch/ +" +SRC_URI=" + https://github.com/pypa/hatch/archive/${TAG}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P}/backend + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +# deps are listed in backend/src/hatchling/ouroboros.py +# editables are optional but required for editable installs +RDEPEND=" + >=dev-python/editables-0.3[${PYTHON_USEDEP}] + >=dev-python/packaging-23.2[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] + >=dev-python/pluggy-1.0.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] + ' 3.10) +" +# always depend on the newest version available, at least until upstream +# stops treating unknown classifiers as a fatal error +# https://github.com/pypa/hatch/issues/1368 +RDEPEND+=" + >=dev-python/trove-classifiers-2024.3.25[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/atomicwrites[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +distutils_enable_tests pytest + +src_test() { + # top-level "tests" directory contains tests both for hatch + # and hatchling + cd "${WORKDIR}/${MY_P}" || die + + # sigh; standalone test suites are overrated, right? + echo "__version__ = '${PV}'" > src/hatch/_version.py || die + local -x PYTHONPATH="src:${PYTHONPATH}" + + # do not require uv for portability, sigh + mkdir "${T}/bin" || die + cat > "${T}/bin/uv" <<-EOF || die + #!/bin/sh + exit 127 + EOF + chmod +x "${T}/bin/uv" || die + local -x PATH=${T}/bin:${PATH} + + # tests mock cargo subprocess call but the backend raises if CARGO + # is not set and shutil.which() can't find it + local -x CARGO=cargo + + distutils-r1_src_test +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local -x EPYTEST_DESELECT=( + # most of these run uv to install stuff + # the few remaining tests aren't worth running + tests/backend/dep/test_core.py + # broken if CARGO is set + tests/backend/builders/test_binary.py::TestBuildBootstrap::test_no_cargo + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock tests/backend +} diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 8eda33c9466b..2e5132fc8743 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -6,6 +6,7 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B d6ede1a9fda8756995c3e06541 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7 SHA512 f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340 DIST llvm-project-18.1.7.src.tar.xz 132063384 BLAKE2B b8c37bd131fb5f3131bfab4fbad7aa811079ca10723faa14779253bc62b1ee08d4e04650e1da883297ed88a62d518b868a1f13cf57d03233254fd01209da5c02 SHA512 0f67818267803aca9d2bc9eb89335ee6dc56269e8066a0f8a48c4a959e8805dbf6bc839b9f96a92f86ee50d72e7cc326ffe18febb5eb06751ab54a217c0221c8 DIST llvm-project-18.1.7.src.tar.xz.sig 566 BLAKE2B 9ae6d80eba5309ce3d5cba580df57c28dbcf429266b2ced622465e34ab2a7ae0f100d1e89c73a44abccd95a3367979344450fd53fb6a2baa029b929d3f13eee3 SHA512 7e5601e35f4fcaa4ed042638ae5a4fb90714c9dce58aa3f98e965568660b88294185621a4eb5547de262dca8a96f620db3f94932bb1776661e345dbe1266315c +DIST llvm-project-3ae6755719c6dfc07761b4e9bdac8c86bcb41734.tar.gz 213487323 BLAKE2B 12030750fca0e7db4ae07a608874877151b2393cf58388f067b469e913ce9ac3f264440ebb3df5ea33f9f97cb87928fa746c98ba26c8d296f9e26dcbf950afc2 SHA512 951b70eafc8aea5b1f7847002229d89df565ca8180deef08b25966dcf070a7603a258e5fc24f9496251d23d275040724ed5e9499432ba3e19f5984f6f1c3c645 DIST llvm-project-5aabbf0602c48b67bb89fd37f95bf97c95ded488.tar.gz 212582616 BLAKE2B 78522148bb4993bd26b16f1e3f44c2baf617705667c7fb104edc844c4330017166c783adae2f0215ca7463c05d1eef30fdf02b13241a9497aaede36bb8580a26 SHA512 104e0b5b4f34102f2da03cd54fe9bf5f7fb6efb3a9745d8ec85caa5f92189fde4a5c02c327243d87ff5c7d24b3790fcabdf0ef7144e79e15765785ca72dd3841 DIST llvm-project-cddb9ce04e68d876de895d39d60b6af34d569012.tar.gz 213219536 BLAKE2B 5aba2c1dd19d73a8691590873f1697fa32adeab7f84d1d5636e211071e64bfa5d28a49ea9cfdba5fbae77c9520c2103a9f1544d669c7948a318636557f45f6ee SHA512 69ed25a0565c61cd4eb512e95b0fd2d2a3a09dbad73e7186d7fb1764193b06e522572eafb271d21469a4bfb133a62efe65e5ccd20cf05af8b43c52e195d477a9 EBUILD lit-15.0.7.ebuild 913 BLAKE2B 38afb1ee0c64d7480ccf1c84c6c1ae0e1ff5f75a0b52272b68d50717a338f143214329245bd650e107d8091ffe1bef6b29293a4b47d147122ea6cea64b448b92 SHA512 fc58e9f0ba65f388830a4e935f448126eb61f2dcf6fa40750e6feaf8a5943fb259bd3c1db3877767e4ba9ade75f6204de8a33c14630176a34fa097e522a0a051 @@ -15,4 +16,5 @@ EBUILD lit-18.1.7.ebuild 1035 BLAKE2B 72c71b240c838db20d73d99d7cc77c342df723b8bc EBUILD lit-19.0.0.9999.ebuild 961 BLAKE2B 80f2289924953263c1c30b9f4e019f707ca6deed804a8c5b980a14701478d700dc1b24944f5a964bfe94174ffb34cd9c864cee70c02cfa3b1b4c025fc8317188 SHA512 ef6e43057ac2e4a2ab482fe48cfb432ab155a23e0d64bbc0d9e451fd00da3c9f17dda4f18ccd2554ab4ac2d5eff2b0df7ce57c2b61cb5145454d9e86eb089e92 EBUILD lit-19.0.0_pre20240608.ebuild 961 BLAKE2B 80f2289924953263c1c30b9f4e019f707ca6deed804a8c5b980a14701478d700dc1b24944f5a964bfe94174ffb34cd9c864cee70c02cfa3b1b4c025fc8317188 SHA512 ef6e43057ac2e4a2ab482fe48cfb432ab155a23e0d64bbc0d9e451fd00da3c9f17dda4f18ccd2554ab4ac2d5eff2b0df7ce57c2b61cb5145454d9e86eb089e92 EBUILD lit-19.0.0_pre20240615.ebuild 961 BLAKE2B 80f2289924953263c1c30b9f4e019f707ca6deed804a8c5b980a14701478d700dc1b24944f5a964bfe94174ffb34cd9c864cee70c02cfa3b1b4c025fc8317188 SHA512 ef6e43057ac2e4a2ab482fe48cfb432ab155a23e0d64bbc0d9e451fd00da3c9f17dda4f18ccd2554ab4ac2d5eff2b0df7ce57c2b61cb5145454d9e86eb089e92 +EBUILD lit-19.0.0_pre20240623.ebuild 961 BLAKE2B 80f2289924953263c1c30b9f4e019f707ca6deed804a8c5b980a14701478d700dc1b24944f5a964bfe94174ffb34cd9c864cee70c02cfa3b1b4c025fc8317188 SHA512 ef6e43057ac2e4a2ab482fe48cfb432ab155a23e0d64bbc0d9e451fd00da3c9f17dda4f18ccd2554ab4ac2d5eff2b0df7ce57c2b61cb5145454d9e86eb089e92 MISC metadata.xml 340 BLAKE2B c9ca851e49b4ab48c015686e983ec988f60c34ed0af77abd7bc03d046002f79f74b9b463ecb97db89f2230c1593af7acdaf6651fc51fed4aa92a459d07aabf18 SHA512 3fe8262ce6b971364162fbdbac3b02bf02f0a64896c8a2564e2a2998bd6e6bc74463bf9104e3f4ffaa9f5c1a16c877fc864b8a4f056ca0022f741799bc00f217 diff --git a/dev-python/lit/lit-19.0.0_pre20240623.ebuild b/dev-python/lit/lit-19.0.0_pre20240623.ebuild new file mode 100644 index 000000000000..d862b4f8cd03 --- /dev/null +++ b/dev-python/lit/lit-19.0.0_pre20240623.ebuild @@ -0,0 +1,45 @@ +# 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 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + sys-devel/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from sys-devel/llvm) + +src_prepare() { + # flaky test + # https://github.com/llvm/llvm-project/issues/72022 + rm tests/progress-bar.py || die + + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} diff --git a/dev-python/nbxmpp/Manifest b/dev-python/nbxmpp/Manifest index 27cef28cafc4..6ae25b330e53 100644 --- a/dev-python/nbxmpp/Manifest +++ b/dev-python/nbxmpp/Manifest @@ -1,5 +1,7 @@ DIST python-nbxmpp-4.5.4.tar.bz2 138170 BLAKE2B 00a4919032dd29828dc735695afe9c0814a8fe2ec765a534257768896d9f27bc3a395275d546ad717bdd16c97161e8f0a8acaf43cdb7bd9404e40bc72f2c3da5 SHA512 fcaedae519d8cd2d52cc65721ab1e743569ba1cf7c29f2db41ed5671ba0f2c5b47f1f6d9521e1614e89e21512a4575c6788316cdb86936f0c4886d54c3831bb3 DIST python-nbxmpp-5.0.0.tar.bz2 142680 BLAKE2B 9e54ad931ad5145c743f07e888eca519707b9179ece95d740c2209068cc02ee56b8af41bf18cf690ddb703485fab5f532b5bcf33eb74f022b0701c9421e3cd96 SHA512 0797e20dbdfaebbeb0a274786cb615cd0e57b26ec876ce94e5d66beb077510f8b38a97e0d0b151e2e069b10d1fe10b755d6531a4c676d7292675335314e4c214 +DIST python-nbxmpp-5.0.1.tar.bz2 142702 BLAKE2B 5459da538e3c05959c382e70fe8348b566333f4f68e76775b7bc8760f294ecc3bdb999124d1124bd5d7874af209f699eb4ffa1a15ce61ad70f98f235c70e98dd SHA512 eb20df090ec61013e6f26288798aeb2f2d61eab493cb4a52d5097a85d6dab8c45f033f2064583af5bf3ed920be33107419a958b65df2cf13fcd8ea6ae3297adf EBUILD nbxmpp-4.5.4.ebuild 860 BLAKE2B 66011d80e092e0791d4d429de037a6cdddc1a5bafb93f46569a0229de24429cfd5167bc08f5ce03a25681a2cf0629a35e9be10fc763adc4c3dd43e5810fc06c8 SHA512 483cc19f8f725dc18b07440c33ae8086623ec4549b1b8a6fc4f27cea4b9578f42f117359a92ff23619908192eb698189ce87ddd4e4e06e29847ff8702811f2e5 EBUILD nbxmpp-5.0.0.ebuild 860 BLAKE2B e7e3e29137399fe23f9f7e5aed956808f257690c3187dc6e310bd7082dc672b3f29a566dc684984017a5a04822785f8ae5d6296acc23191622677fd448b03c9b SHA512 21eb6cf49f93e707151162fdb07daeb6e798f7b6f6b1d5bc8372f704e765d225a4e5fbdfc081b86399066c5040098a7b8215a4fd637b3512ecf18b419a4bdd54 +EBUILD nbxmpp-5.0.1.ebuild 863 BLAKE2B e20967a16416de2b0de57a45736e19661fa62c47ecc283d85c5b7cf8b2eb298ec31130ba33d86216fc987e500d03d940c5c3ab7a371d453b0438ea9b4f9965f8 SHA512 1e00966d9557a23dc08c118f17f1e564db56d1954b0a4c7712ffbedeb40fd36e0d3ce65e1f621f2d241228793251a8f0ff532e1e17c51444dd4b9f0987ab7f58 MISC metadata.xml 345 BLAKE2B 05dc6872e0de2ce54b1c3c32bd2252f082de10b6947d106714e7d34d8c4ce532b96d4480427798cbe01e8771623813b475a0e27df65389ddd98a9a28eb1682b4 SHA512 531aae88d0de86eb9f81918292aaa4570f28db09408506464d7710daf434b4be1a6a4b3b04a3cdf2a2c01596baddc93622c127ee1e4b371cd3c126a4093a3bd2 diff --git a/dev-python/nbxmpp/nbxmpp-5.0.1.ebuild b/dev-python/nbxmpp/nbxmpp-5.0.1.ebuild new file mode 100644 index 000000000000..0299ed984918 --- /dev/null +++ b/dev-python/nbxmpp/nbxmpp-5.0.1.ebuild @@ -0,0 +1,35 @@ +# 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 + +MY_P=python-nbxmpp-${PV} +DESCRIPTION="Python library to use Jabber/XMPP networks in a non-blocking way" +HOMEPAGE=" + https://dev.gajim.org/gajim/python-nbxmpp/ + https://pypi.org/project/nbxmpp/ +" +SRC_URI=" + https://dev.gajim.org/gajim/python-nbxmpp/-/archive/${PV}/${MY_P}.tar.bz2 +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" + +RDEPEND=" + dev-libs/gobject-introspection + net-libs/libsoup:3.0[introspection] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/precis-i18n-1.0.0[${PYTHON_USEDEP}] + >=dev-python/pygobject-3.42[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest index aa0911804ccf..c401b1d4e928 100644 --- a/dev-python/pip/Manifest +++ b/dev-python/pip/Manifest @@ -1,8 +1,10 @@ AUX pip-23.1-no-coverage.patch 1836 BLAKE2B f8c95ed26d5a7cba2a516b8d134ddd9901fd7d39dc8bf174397ab2afab33e93c4af342195b5b4d7b0aedc642493f1ed2ee474c74e16e285f335dcdcf531b1777 SHA512 c63929cc5324b2a741a4c1ebb4990c376eb6a4c0f39370e456b674ce3cfbdf10471ec48cf9368fccba9264fd9d4a5667988116163e73772496f28d52986ff111 AUX pip-23.3.1-no-color.patch 1767 BLAKE2B b81a4b814e2e84e7c0424870d1a86ba7fde91400bfad127c696112544b294623ba9d580f503f01a8399a569a9a5880d38d1d09c98b9364c9b59915adb3a9b453 SHA512 c89be77fbd8049a1e6fd12ef4227926ff641c1797f91bbe91b6152016a1e7dff5e323d8ff0961948225ef854d52de972f74c8e37f48e8aee78e529f9ec8b3b3f AUX pip-24.1-test-offline.patch 2995 BLAKE2B bbaa9b6410b350cecfaf1422c252c166ac931a550896d153f174e6b351372e753762af621716b37f5480d34f51440be11bc7c4ff2dee4a84328d8e9ebe03bb09 SHA512 8af459ba1c6a732a694537473b08377c17c996c2e50bae50f3fbb5ceb0376fa29e72055d887e179e8dd22df400886f9bd101f577dae59956b6a132a878bda23b +AUX pip-24.1-unbundle.patch 8156 BLAKE2B 014d05bd6e5bb39a4b8a591948bba0760878b28fc757d3d091f226aca0bfc663de558d7b75651907d47951205d5804a7e3986c8631b805926a025658cd34895a SHA512 d78f521a27d1cb12012c622f1d13da7b19a2406204cba6a1ce149feb988a94421bc9883caaeda48e71bc26bb7c4845aef7c90aeb6f39bc474bf5f1ab1d694e43 DIST pip-24.0.gh.tar.gz 9398156 BLAKE2B 17a7ed9e15e9b8efa0d3e3c5586dc446958b62cf9ba52155a0d1ad97a3e212ee7a08a0e88a592718fc3d542eb8f434155a75cb98d90c008904bd8f59bd2b40b6 SHA512 0c2ecb2ecde4f155c83468d35bc4f52f37efffc16821ae7c706d035e1e8cc3709b41cb10f8140ff09205e8bbdba2c76128ad76d1cbd18401328b619228e834df DIST pip-24.1.gh.tar.gz 9188658 BLAKE2B 4a43ff0199d811dd30461e376f655a447f3f706a48dd97fe1d0ccf630f558e72209ccd06d98949a1541cd6b2942a816db23ce8aaa7fbbf9aef429502fb91ab92 SHA512 c60ab329fe91202ff64b5f0f90209085fbf8db0f0a05f0703f952ad69e39e2e3edb5dadc006a3f317cdd4ba4fb5abe56dfbd22792249a2d139702eec272186d1 EBUILD pip-24.0.ebuild 4559 BLAKE2B 6f34aa0dcd0c78b53d63c0dd523ec1b397186e8d9efc90781812d94e96138630653a896636931d2095c59065065b9140d104ebb9cf178858de0e5985aca4e05b SHA512 587b9eb40e71ee078d74853dfb0694ae2733fed6f54fb4ce48f410113179f15c55d17efc47e8ad0dc70d704302d731240ba0aad77c40450daecffc522d6f0320 +EBUILD pip-24.1-r1.ebuild 5818 BLAKE2B f079ceccf1d16b03569bc1abb8c9f0891cdb456e68f347881a420d82c80ea07ad00cf9ca2c0a9e703e843f4d11d018ac7b4013ff0e466aadec6a9761a2a43f52 SHA512 696837888952d66f0f54feb15a4ef1d6df56ba4c2931fc6680fb9b1513ae215a6470bae0553f68dce708a9905e13ffc8f1ce68ccaef9f83eaed1154d6e7c9b41 EBUILD pip-24.1.ebuild 4075 BLAKE2B 6cb7c20cfdd759fa1dcc80fa25421db1e0d2e885228a0eec231d4ef138a8ae9c91b418fe4fcb7f7e32a2804b22972bd41ecc025aad4b689f80753d8cacf83f9f SHA512 85f2640255282b964deab13ee3a59ce5856f90459a8271e52726322477cf5f98b632dda49eadf39b1dfc22a2a4740e2191a97515f7503d7484839b5f43d5fe1e MISC metadata.xml 392 BLAKE2B 94ea3de1220cb9ca64ae1186597789cc83a54adfe44695932c07dd5065df0e5f9ee5078a495e3a12563b36809d781d8ab86bb6c92c485c023199d92547b74f27 SHA512 603199f6547105f3bb64f4fcaf004e9ef62fa2e0f8ec6eab56078119684b0f5119161e0f164fe02b2cf6dd6b115588c9ef77d727eeb6d138e281f1cb0bcb5de9 diff --git a/dev-python/pip/files/pip-24.1-unbundle.patch b/dev-python/pip/files/pip-24.1-unbundle.patch new file mode 100644 index 000000000000..676ffa36094b --- /dev/null +++ b/dev-python/pip/files/pip-24.1-unbundle.patch @@ -0,0 +1,193 @@ +diff --git a/src/pip/_internal/commands/debug.py b/src/pip/_internal/commands/debug.py +index 567ca967e..427bfcf04 100644 +--- a/src/pip/_internal/commands/debug.py ++++ b/src/pip/_internal/commands/debug.py +@@ -6,7 +6,6 @@ from optparse import Values + from types import ModuleType + from typing import Any, Dict, List, Optional + +-import pip._vendor + from pip._vendor.certifi import where + from pip._vendor.packaging.version import parse as parse_version + +@@ -192,9 +191,7 @@ class DebugCommand(Command): + show_value("REQUESTS_CA_BUNDLE", os.environ.get("REQUESTS_CA_BUNDLE")) + show_value("CURL_CA_BUNDLE", os.environ.get("CURL_CA_BUNDLE")) + show_value("pip._vendor.certifi.where()", where()) +- show_value("pip._vendor.DEBUNDLED", pip._vendor.DEBUNDLED) +- +- show_vendor_versions() ++ show_value("pip._vendor.DEBUNDLED", True) + + show_tags(options) + +diff --git a/tests/conftest.py b/tests/conftest.py +index 35101cef2..840663fed 100644 +--- a/tests/conftest.py ++++ b/tests/conftest.py +@@ -413,6 +413,7 @@ def _common_wheel_editable_install( + assert len(wheel_candidates) == 1, wheel_candidates + install_dir = tmpdir_factory.mktemp(package) / "install" + lib_install_dir = install_dir / "lib" ++ return lib_install_dir + bin_install_dir = install_dir / "bin" + with WheelFile.open(wheel_candidates[0]) as source: + install( +diff --git a/tests/functional/test_check.py b/tests/functional/test_check.py +index 46ecdcc64..6507febfa 100644 +--- a/tests/functional/test_check.py ++++ b/tests/functional/test_check.py +@@ -6,10 +6,8 @@ from tests.lib import PipTestEnvironment, create_test_package_with_setup + def matches_expected_lines(string: str, expected_lines: Collection[str]) -> bool: + # Ignore empty lines + output_lines = list(filter(None, string.splitlines())) +- # We'll match the last n lines, given n lines to match. +- last_few_output_lines = output_lines[-len(expected_lines) :] + # And order does not matter +- return set(last_few_output_lines) == set(expected_lines) ++ return set(expected_lines).issubset(set(output_lines)) + + + def test_basic_check_clean(script: PipTestEnvironment) -> None: +diff --git a/tests/functional/test_freeze.py b/tests/functional/test_freeze.py +index b7af974ea..144f79483 100644 +--- a/tests/functional/test_freeze.py ++++ b/tests/functional/test_freeze.py +@@ -80,8 +80,8 @@ def test_basic_freeze(script: PipTestEnvironment) -> None: + result = script.pip("freeze", expect_stderr=True) + expected = textwrap.dedent( + """\ +- ...simple==2.0 +- simple2==3.0... ++ ...simple==2.0... ++ ...simple2==3.0... + """ + ) + _check_output(result.stdout, expected) +@@ -1014,7 +1014,7 @@ def test_freeze_skip_work_dir_pkg(script: PipTestEnvironment) -> None: + + # Freeze should not include package simple when run from package directory + result = script.pip("freeze", cwd=pkg_path) +- assert "simple" not in result.stdout ++ assert "\nsimple==" not in result.stdout + + + def test_freeze_include_work_dir_pkg(script: PipTestEnvironment) -> None: +diff --git a/tests/functional/test_install_check.py b/tests/functional/test_install_check.py +index 8a8a7c93a..bbda083f7 100644 +--- a/tests/functional/test_install_check.py ++++ b/tests/functional/test_install_check.py +@@ -57,6 +57,7 @@ def test_check_install_canonicalization(script: PipTestEnvironment) -> None: + ) + assert "requires" not in result.stderr + assert result.returncode == 0 ++ return + + # Double check that all errors are resolved in the end + result = script.pip("check") +diff --git a/tests/functional/test_list.py b/tests/functional/test_list.py +index 5164c1d5c..ce0a81aea 100644 +--- a/tests/functional/test_list.py ++++ b/tests/functional/test_list.py +@@ -1,5 +1,6 @@ + import json + import os ++import re + from pathlib import Path + + import pytest +@@ -41,8 +42,8 @@ def test_basic_list(simple_script: PipTestEnvironment) -> None: + + """ + result = simple_script.pip("list") +- assert "simple 1.0" in result.stdout, str(result) +- assert "simple2 3.0" in result.stdout, str(result) ++ assert re.search(r"simple\s+1\.0", result.stdout), str(result) ++ assert re.search(r"simple2\s+3\.0", result.stdout), str(result) + + + def test_verbose_flag(simple_script: PipTestEnvironment) -> None: +@@ -54,8 +55,8 @@ def test_verbose_flag(simple_script: PipTestEnvironment) -> None: + assert "Version" in result.stdout, str(result) + assert "Location" in result.stdout, str(result) + assert "Installer" in result.stdout, str(result) +- assert "simple 1.0" in result.stdout, str(result) +- assert "simple2 3.0" in result.stdout, str(result) ++ assert re.search(r"simple\s+1\.0", result.stdout), str(result) ++ assert re.search(r"simple2\s+3\.0", result.stdout), str(result) + + + def test_columns_flag(simple_script: PipTestEnvironment) -> None: +@@ -66,8 +67,8 @@ def test_columns_flag(simple_script: PipTestEnvironment) -> None: + assert "Package" in result.stdout, str(result) + assert "Version" in result.stdout, str(result) + assert "simple (1.0)" not in result.stdout, str(result) +- assert "simple 1.0" in result.stdout, str(result) +- assert "simple2 3.0" in result.stdout, str(result) ++ assert re.search(r"simple\s+1\.0", result.stdout), str(result) ++ assert re.search(r"simple2\s+3\.0", result.stdout), str(result) + + + def test_format_priority(simple_script: PipTestEnvironment) -> None: +@@ -79,16 +80,16 @@ def test_format_priority(simple_script: PipTestEnvironment) -> None: + ) + assert "simple==1.0" in result.stdout, str(result) + assert "simple2==3.0" in result.stdout, str(result) +- assert "simple 1.0" not in result.stdout, str(result) +- assert "simple2 3.0" not in result.stdout, str(result) ++ assert not re.search(r"simple\s+1\.0", result.stdout), str(result) ++ assert not re.search(r"simple2\s+3\.0", result.stdout), str(result) + + result = simple_script.pip("list", "--format=freeze", "--format=columns") + assert "Package" in result.stdout, str(result) + assert "Version" in result.stdout, str(result) + assert "simple==1.0" not in result.stdout, str(result) + assert "simple2==3.0" not in result.stdout, str(result) +- assert "simple 1.0" in result.stdout, str(result) +- assert "simple2 3.0" in result.stdout, str(result) ++ assert re.search(r"simple\s+1\.0", result.stdout), str(result) ++ assert re.search(r"simple2\s+3\.0", result.stdout), str(result) + + + def test_local_flag(simple_script: PipTestEnvironment) -> None: +@@ -124,8 +125,8 @@ def test_multiple_exclude_and_normalization( + assert "Normalizable_Name" in result.stdout + assert "pip" in result.stdout + result = script.pip("list", "--exclude", "normalizablE-namE", "--exclude", "pIp") +- assert "Normalizable_Name" not in result.stdout +- assert "pip" not in result.stdout ++ assert "Normalizable_Name " not in result.stdout ++ assert "pip " not in result.stdout + + + @pytest.mark.network +diff --git a/tests/lib/venv.py b/tests/lib/venv.py +index fac54d3bd..6bfe3cfdc 100644 +--- a/tests/lib/venv.py ++++ b/tests/lib/venv.py +@@ -9,6 +9,7 @@ import venv as _venv + from pathlib import Path + from typing import Dict, Literal, Optional, Union + ++import pytest + import virtualenv as _virtualenv + + VirtualEnvironmentType = Literal["virtualenv", "venv"] +@@ -35,7 +36,7 @@ class VirtualEnvironment: + self._venv_type = venv_type + else: + self._venv_type = "virtualenv" +- self._user_site_packages = False ++ self._user_site_packages = True + self._template = template + self._sitecustomize: Optional[str] = None + self._update_paths() +@@ -234,6 +235,8 @@ class VirtualEnvironment: + + @user_site_packages.setter + def user_site_packages(self, value: bool) -> None: ++ if not value: ++ pytest.skip("Gentoo: skipping due to lack of system site-packages") + self._user_site_packages = value + if self._legacy_virtualenv: + marker = self.lib / "no-global-site-packages.txt" diff --git a/dev-python/pip/pip-24.1-r1.ebuild b/dev-python/pip/pip-24.1-r1.ebuild new file mode 100644 index 000000000000..286769f423aa --- /dev/null +++ b/dev-python/pip/pip-24.1-r1.ebuild @@ -0,0 +1,176 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# please bump dev-python/ensurepip-pip along with this package! + +DISTUTILS_USE_PEP517=setuptools +PYTHON_TESTED=( python3_{10..13} ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 ) +PYTHON_REQ_USE="ssl(+),threads(+)" + +inherit bash-completion-r1 distutils-r1 + +DESCRIPTION="The PyPA recommended tool for installing Python packages" +HOMEPAGE=" + https://pip.pypa.io/en/stable/ + https://pypi.org/project/pip/ + https://github.com/pypa/pip/ +" +SRC_URI=" + https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +# bundled deps +LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64" +IUSE="test-rust" + +# see src/pip/_vendor/vendor.txt +RDEPEND=" + >=dev-python/cachecontrol-0.14.0[${PYTHON_USEDEP}] + >=dev-python/distlib-0.3.8[${PYTHON_USEDEP}] + >=dev-python/distro-1.9.0[${PYTHON_USEDEP}] + >=dev-python/msgpack-1.0.8[${PYTHON_USEDEP}] + >=dev-python/packaging-24.1[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.2.1[${PYTHON_USEDEP}] + >=dev-python/pyproject-hooks-1.0.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.32.0[${PYTHON_USEDEP}] + >=dev-python/rich-13.7.1[${PYTHON_USEDEP}] + >=dev-python/resolvelib-1.0.1[${PYTHON_USEDEP}] + >=dev-python/setuptools-69.5.1[${PYTHON_USEDEP}] + >=dev-python/tenacity-8.2.3[${PYTHON_USEDEP}] + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + >=dev-python/truststore-0.9.1[${PYTHON_USEDEP}] + + >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/ensurepip-setuptools + dev-python/ensurepip-wheel + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/scripttest[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + test-rust? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) + dev-vcs/git + ' "${PYTHON_TESTED[@]}") + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + local PATCHES=( + "${FILESDIR}/pip-23.1-no-coverage.patch" + # https://github.com/pypa/pip/issues/12786 (and more) + "${FILESDIR}/pip-24.1-test-offline.patch" + # prepare to unbundle dependencies + "${FILESDIR}/pip-24.1-unbundle.patch" + ) + + distutils-r1_python_prepare_all + + # unbundle dependencies + rm -r src/pip/_vendor || die + find -name '*.py' -exec sed -i \ + -e 's:from pip\._vendor import:import:g' \ + -e 's:from pip\._vendor\.:from :g' \ + {} + || die + + if use test; then + local wheels=( + "${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl + ) + mkdir tests/data/common_wheels/ || die + cp "${wheels[@]}" tests/data/common_wheels/ || die + fi +} + +python_compile_all() { + # 'pip completion' command embeds full $0 into completion script, which confuses + # 'complete' and causes QA warning when running as "${PYTHON} -m pip". + # This trick sets correct $0 while still calling just installed pip. + local pipcmd='import sys; sys.argv[0] = "pip"; __file__ = ""; from pip._internal.cli.main import main; sys.exit(main())' + "${EPYTHON}" -c "${pipcmd}" completion --bash > completion.bash || die + "${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return 0 + fi + + local EPYTEST_DESELECT=( + tests/functional/test_inspect.py::test_inspect_basic + # Internet + tests/functional/test_config_settings.py::test_backend_sees_config_via_sdist + tests/functional/test_install.py::test_double_install_fail + tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed + # broken by system site-packages use + tests/functional/test_check.py::test_basic_check_clean + tests/functional/test_check.py::test_check_skip_work_dir_pkg + tests/functional/test_check.py::test_check_complicated_name_clean + tests/functional/test_check.py::test_check_development_versions_are_also_considered + tests/functional/test_freeze.py::test_freeze_with_setuptools + tests/functional/test_pip_runner_script.py::test_runner_work_in_environments_with_no_pip + tests/functional/test_uninstall.py::test_basic_uninstall_distutils + tests/unit/test_base_command.py::test_base_command_global_tempdir_cleanup + tests/unit/test_base_command.py::test_base_command_local_tempdir_cleanup + tests/unit/test_base_command.py::test_base_command_provides_tempdir_helpers + # broken by unbundling + "tests/functional/test_debug.py::test_debug[vendored library versions:]" + tests/functional/test_debug.py::test_debug__library_versions + tests/functional/test_python_option.py::test_python_interpreter + tests/functional/test_uninstall.py::test_uninstall_non_local_distutils + ) + local EPYTEST_IGNORE=( + # requires proxy.py + tests/functional/test_proxy.py + ) + + if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/functional/test_install.py::test_install_sends_client_cert + tests/functional/test_install_config.py::test_do_not_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed + ) + fi + + case ${EPYTHON} in + python3.10) + EPYTEST_DESELECT+=( + # no clue why they fail + ) + ;; + esac + + local -x PIP_DISABLE_PIP_VERSION_CHECK=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_XDIST=1 + epytest -m "not network" -o tmp_path_retention_policy=all +} + +python_install_all() { + local DOCS=( AUTHORS.txt docs/html/**/*.rst ) + distutils-r1_python_install_all + + newbashcomp completion.bash pip + + insinto /usr/share/zsh/site-functions + newins completion.zsh _pip +} diff --git a/dev-python/pkgcraft/Manifest b/dev-python/pkgcraft/Manifest index 2e264368351d..7016a6325b6c 100644 --- a/dev-python/pkgcraft/Manifest +++ b/dev-python/pkgcraft/Manifest @@ -1,4 +1,6 @@ +DIST pkgcraft-0.0.10.tar.gz 452861 BLAKE2B f7f52e8c7c917701b08540cc8da8ee1f1ff7157b02e61d5cfa1b4ca6850ae8aac171dfdefe6ac611ce4971aff27d63614d4914178bf86c8a389e437d5fb43ba9 SHA512 1c3878256bfbeae05ceb9e7445e100a8e6601649aae634b02bdd00494075056fad014b724e2cfd76325dd06c664c1c90343f49f186c0b61bfe2d92bbed14abe4 DIST pkgcraft-0.0.9.tar.gz 431872 BLAKE2B 6c6ed1677c891c0e5579c7e28342876c2d7cbe03f2fcf3f8ad9f994302570d1d2398d2b4a55ec1a2fd82bbea518a4d2f76e9cabe760f0d9779b8d55170c1d940 SHA512 13988ff6822a5f9b715f3a9e8593a21d6ac530a91ca98790bd8a1c3e5958c97e440ce0610d25ed518f6d485837c9aded2ba145facf98e217325802777a33b3a7 +EBUILD pkgcraft-0.0.10.ebuild 2017 BLAKE2B 0579a7065f850e60fbab73ad58e90b163f449db11c677b8b16bf4c3304e19974cd50aacf33fe72d4ab26c313929f2627f684b8881430308de35fc9fe30786093 SHA512 8d27c4d3b7bebe5752c20e798a6f68b880b8253e6be286e2df82db69e2a9494bf21345c2995d7e8247cd10aa6f415787fe0048345d6349e879aeea602c51175a EBUILD pkgcraft-0.0.9.ebuild 2017 BLAKE2B 3b0ad74b835e5d35c379122bc3784cf964947b1eead0b0053564a09ce5de8390978e1b94efb149c473b1acabae873405afb4fd2651e5b866f6c7e437c219eff3 SHA512 ddf9a25e8e265af21839043baa009613395ce96b19b62a62502666ab3878b46ec752fc671424fe45097a8e37b083195112a14f01bd565b35d1c9ace871f76777 -EBUILD pkgcraft-9999.ebuild 2017 BLAKE2B 3b0ad74b835e5d35c379122bc3784cf964947b1eead0b0053564a09ce5de8390978e1b94efb149c473b1acabae873405afb4fd2651e5b866f6c7e437c219eff3 SHA512 ddf9a25e8e265af21839043baa009613395ce96b19b62a62502666ab3878b46ec752fc671424fe45097a8e37b083195112a14f01bd565b35d1c9ace871f76777 +EBUILD pkgcraft-9999.ebuild 2017 BLAKE2B 0579a7065f850e60fbab73ad58e90b163f449db11c677b8b16bf4c3304e19974cd50aacf33fe72d4ab26c313929f2627f684b8881430308de35fc9fe30786093 SHA512 8d27c4d3b7bebe5752c20e798a6f68b880b8253e6be286e2df82db69e2a9494bf21345c2995d7e8247cd10aa6f415787fe0048345d6349e879aeea602c51175a MISC metadata.xml 454 BLAKE2B 5085311aaebe3c2cc696fee5da4ee272e47936a4f729c2007efce94097087a987985fb972df477fb72eead3402555924ca8b8f183b69af357453ad93daeb946e SHA512 ba7457ec4b43f1664042599d4e23506e496d1f2212ea7aa02c58fd9d796915dace2817bfb1c71e6f022e9490215248e2a705b223a087d91255b97b23f82f9c23 diff --git a/dev-python/pkgcraft/pkgcraft-0.0.10.ebuild b/dev-python/pkgcraft/pkgcraft-0.0.10.ebuild new file mode 100644 index 000000000000..5fe6fc813ef7 --- /dev/null +++ b/dev-python/pkgcraft/pkgcraft-0.0.10.ebuild @@ -0,0 +1,81 @@ +# Copyright 2023-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_{11..13} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for pkgcraft" +HOMEPAGE=" + https://pypi.org/project/pkgcraft/ + https://github.com/pkgcraft/pkgcraft-python/ +" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/pkgcraft/pkgcraft-python.git" + inherit git-r3 + + PKGCRAFT_VERSION_MAX="99999" # extra 9 here or 9999 isn't mergable per DEPEND below + PKGCRAFT_VERSION_MIN="9999" +else + SRC_URI="https://github.com/pkgcraft/pkgcraft-python/releases/download/v${PV}/${P/-python}.tar.gz" + S="${WORKDIR}"/${P/-python} + + KEYWORDS="~amd64 ~arm64" + + PKGCRAFT_VERSION_MAX="9999" + PKGCRAFT_VERSION_MIN="0.0.15" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="+examples" + +DEPEND=" + =sys-libs/pkgcraft-${PKGCRAFT_VERSION_MIN}:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + >=dev-python/cython-3[${PYTHON_USEDEP}] + dev-python/setuptools-scm[${PYTHON_USEDEP}] + virtual/pkgconfig +" + +distutils_enable_tests pytest + +python_prepare_all() { + if [[ ${PV} != 9999 ]] ; then + local actual_pkgcraft_min=$(sed -En '/^MIN_VERSION =/{s/[^0-9.]//gp}' setup.py || die) + if [[ ${actual_pkgcraft_min} != ${PKGCRAFT_VERSION_MIN} ]] ; then + eerror "Expected minimum pkgcraft-c version: ${PKGCRAFT_VERSION_MIN}" + eerror "Actual minimum pkgcraft-c version: ${actual_pkgcraft_min}" + die "Mismatch between setup.py's MIN_VERSION and ebuild!" + fi + fi + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_install() { + # Conditional because these aren't installed officially right now + # and the naming is just for convenience. + if use examples ; then + while IFS= read -r -d '' file ; do + python_newexe "${S}"/examples/${file##*/} pkgcraft-${file##*/} + done < <(find "${S}"/examples -type f -executable -print0 || die) + fi + + distutils-r1_python_install +} diff --git a/dev-python/pkgcraft/pkgcraft-9999.ebuild b/dev-python/pkgcraft/pkgcraft-9999.ebuild index 0e6d0142cd1c..5fe6fc813ef7 100644 --- a/dev-python/pkgcraft/pkgcraft-9999.ebuild +++ b/dev-python/pkgcraft/pkgcraft-9999.ebuild @@ -28,7 +28,7 @@ else KEYWORDS="~amd64 ~arm64" PKGCRAFT_VERSION_MAX="9999" - PKGCRAFT_VERSION_MIN="0.0.14" + PKGCRAFT_VERSION_MIN="0.0.15" fi LICENSE="MIT" diff --git a/dev-python/portalocker/Manifest b/dev-python/portalocker/Manifest index 976e8129d856..a2a6722ad98b 100644 --- a/dev-python/portalocker/Manifest +++ b/dev-python/portalocker/Manifest @@ -1,3 +1,5 @@ +DIST portalocker-2.10.0.gh.tar.gz 34084 BLAKE2B 9efb130859002a4a6bb4c18b2fad293b6cfe3344402b7442be4d4d1b17ff837ff45a39ebb5e50db09ce2dcc7c902b72fa9d9f64625e772be1150d5659f2eafaa SHA512 79b60472ca589e6e696203f829eae2d66c11fca4ee2c7280aad91395f2cc2db6a1c7ae131d7a4945b2a2455ad62829a8a3163c628a74ec46a0f1564ea27d50e7 DIST portalocker-2.8.2.gh.tar.gz 32382 BLAKE2B d953165d4e64d4bf5d084a9d5563b6e53515abbddeb7f9a4a49ea3358ff3bafc9631f38322e4a7ff1ab702aff4813eb52b4a7c431f411d767afd0647347d37af SHA512 3772ea6d15ee80d284c7fc7e88bdc9ab7714b460fdca39c2a288e0375c16f430bf9362da06227084dc2e56bd7342bd2d59823a94daf52ca51366e69fe6456236 +EBUILD portalocker-2.10.0.ebuild 883 BLAKE2B 985d2f209b15d56fac87f50c170b43f52a42757d89672e2f7f460fa71945bf51012ae56914fc7e88be5832ac379c0d6becc346f500079e76eb94a71947a1d9b6 SHA512 45745682294963cf3ee8525f545b3c8653e0723c3906e3063b2ef727f6da2a4aa51548ed2fbee51999ddfe9e770e19947bc5c4eacdd6bdfc3797f1753ba5c672 EBUILD portalocker-2.8.2.ebuild 882 BLAKE2B b6b969ac4b3ca717754896deed5d20b62a735274323773a67d4aedee37d695700f34b5d61f2ddbfef44af48bca13c62897ca8ddad78d7289ccd31f3649021961 SHA512 8e10f4abf1ae8862ad5838bb22c168178a456a1c0cfe5a8b2da400ab18ddd04b91ebdd10eeb294ada6abeec888c13efbe82dcd41738ab78c85f966c8b074cdce MISC metadata.xml 377 BLAKE2B 34dfaf29f16229c6aaf65b0e36f9143ae4eedf6f68be5b0614be99c00f925963f1d0db92603691c314b5defbfa1d4352b2603b39ec029f198bf4b410e094c685 SHA512 92d58aa77718c83f409f54eb404906acc8ffc943798e25aa75be8735f580f13deecdfc400d711fa9c324d0b8766a48705e8e54366e55c7b8df93136ad4096012 diff --git a/dev-python/portalocker/portalocker-2.10.0.ebuild b/dev-python/portalocker/portalocker-2.10.0.ebuild new file mode 100644 index 000000000000..1981e8b48083 --- /dev/null +++ b/dev-python/portalocker/portalocker-2.10.0.ebuild @@ -0,0 +1,45 @@ +# 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_{11..13} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="A library for Python file locking" +HOMEPAGE=" + https://github.com/WoLpH/portalocker/ + https://portalocker.readthedocs.io/ + https://pypi.org/project/portalocker/ +" +SRC_URI=" + https://github.com/WoLpH/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/redis[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-6.0.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + default + + # Disable code coverage in tests. + sed -i '/^ *--cov.*$/d' pytest.ini || die +} + +pkg_postinst() { + optfeature "redis support" dev-python/redis +} diff --git a/dev-python/resolvelib/Manifest b/dev-python/resolvelib/Manifest index a46ed7fdfbd9..913379db9f43 100644 --- a/dev-python/resolvelib/Manifest +++ b/dev-python/resolvelib/Manifest @@ -1,3 +1,3 @@ DIST resolvelib-1.0.1.gh.tar.gz 769608 BLAKE2B 7715f61d262cb79ce08f0431650e6213def4582a0774cf36dab722d88013f7bc9c72a31a957d3782e35b315158982c3311fe3e06e26bbf9040fa96b239934661 SHA512 a35f7fdbc3aba5b44fdf6b9c55b082156ca641dfe5825611be6364622bcaaf45faafa2c45bdd13d1b5723a55732759a806905ab4b6f366fba0474d1f808d91bc -EBUILD resolvelib-1.0.1.ebuild 668 BLAKE2B bd0e64d55af393c4bf838015a61cd154ba295387fba2bd105d2dea9834d33e156634852cfc870e00102e4b175c7a9267b6f632fa50da4b6dcc65fa605fd506a9 SHA512 012aabca26df3ce0d67b359ddf4532fe6419637987225985d44690cab4591ba5fabb0b3d94abbbf4281180f9e70c928dd8ed84939334abc3e1902ff14e69e1ed +EBUILD resolvelib-1.0.1.ebuild 668 BLAKE2B 217c76195134c6eee0a1c33b4041f43ac9db6ae7ff705da25712962778ee0aae3abacb7efb4a6fbadcc69a98fe1c99e670719ce177ec17693f36a4ac5bd548cb SHA512 e48fad395d69fd66a0ee3d792d329575e4de3c92317b5c6b28a6daa1ef95db60d80b8b472a55f5902bf48153eec8b9e1dac3713fb0a39ec9aad5b66ead673c18 MISC metadata.xml 864 BLAKE2B e62049b9f1eca68e3148fb112e0b1b51713ec88deea5ddc7eac28b84003e427f6e17d018ebb27f68b59a5007e7ace47cb89e25af12df432a1ebf13feaba9dff1 SHA512 7af7a80800ba0c3da0789f545a6b3e51c35cdba8785e2aa8761c1689d5ec7a3b9f428f28b182d86ed6625042d2d85d52ebb1095134bd2c7013302abd4ecd19b9 diff --git a/dev-python/resolvelib/resolvelib-1.0.1.ebuild b/dev-python/resolvelib/resolvelib-1.0.1.ebuild index 091e5388976b..7b1cea95b751 100644 --- a/dev-python/resolvelib/resolvelib-1.0.1.ebuild +++ b/dev-python/resolvelib/resolvelib-1.0.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-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} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/scikit-build/Manifest b/dev-python/scikit-build/Manifest index 4edd8ef13549..cbcc31aae2a6 100644 --- a/dev-python/scikit-build/Manifest +++ b/dev-python/scikit-build/Manifest @@ -1,4 +1,6 @@ AUX scikit-build-0.17.6-setuptools-69.3.patch 6448 BLAKE2B d7a964b05468da5d81d08435c1c6d38b1096814693d27c9eb6467dab1809ff63b79a778b4ba07ac357d4128549a5318b312aec1d6f1c702a8fca4e1ddc189579 SHA512 6bb096d4b4c6d451d4c1ef1f4792a8e72e624cbcff5219bb7d4eed1459454c9618bb3bb9a03c39c7ef79f9fa0054ca337da3a1c4ed4cdcc007b8d054f20fbdbb DIST scikit_build-0.17.6.tar.gz 272208 BLAKE2B 9e3f908041eca89182f798c54a1a248934dc026816f7cd041a8debc97be27096942dda42a0ae63e87b9337304a478d6f520edcd5ea7a45aae6a195d1f769eed2 SHA512 92b97146f40d8222bd8415ef8439497d5075b72e5bafc40aba0a3e2911d269a118f2f7d41f468f7add8949f550b1fd7d5a9113d249e42dfac431108182ca9198 +DIST scikit_build-0.18.0.tar.gz 273824 BLAKE2B 2eac991ea22948e900c4485783f5bcbb8b87bd5858bbe7ade99b2a67c16a9a035e04c53b2d9b94422a5eff36f33c11cf297198bce520ba818b7355386977a8a1 SHA512 a374f86c69a288ddcfe8e8d95b594b2bf94365b4d6d4d25a7912cf871f12dfb1866b1d74694c919ef8e4fef3d166b7afe9de3b32b56add33173840a9bb917c71 EBUILD scikit-build-0.17.6.ebuild 1953 BLAKE2B 507c00500aeac432556d057175eb7333e4a3f3e4a04b16051ac72be9f3fdb502535e94f285ccf54bd29461ef54d968fe06ae7e9af33f761914548b814df9e72a SHA512 3bdfe867cb6b1c36fdc4bd5cf75fcf75b6c87b430a72a4ed0dbcddbbdf4d2e2703b42d43650827244250073502918fbb6bc042f2e7d354f09e01ee85fa16c3a2 +EBUILD scikit-build-0.18.0.ebuild 1872 BLAKE2B 0d39b7adff8535c4db10e4e95f29d33d571947bbd8dcc0e67bb8d7f4c5bce346700f1e1f9be8de88182edba032d13ddb5ea0a240bb6bac1fdca6271cd51b3af1 SHA512 e76de4521524734f8c7ddfbc25b1ddd46ed13b997b972b0a588a8f86ff334cff6c9850fd8050a7dac21b5f256d6b21ebc198eb0b15e90fcb9f2f486fb928d661 MISC metadata.xml 473 BLAKE2B 9d02a79439618fa413f74e4a617b8af042879be7a44c8f1c33e254e985d4f24057321fb2ec0b73074be1f6b67af3984190e48669e19985d6297411c0c5b61a79 SHA512 afc398c6287ce67eb85402832684fd006385e70d28a738ca8c5f1e2d008526621121cd9107a7fbc217a1a5857b54fa1dce3de69c47db58fc76990764b814a36d diff --git a/dev-python/scikit-build/scikit-build-0.18.0.ebuild b/dev-python/scikit-build/scikit-build-0.18.0.ebuild new file mode 100644 index 000000000000..962a821c1d62 --- /dev/null +++ b/dev-python/scikit-build/scikit-build-0.18.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Improved build system generator for Python C/C++/Fortran/Cython extensions" +HOMEPAGE=" + https://github.com/scikit-build/scikit-build/ + https://pypi.org/project/scikit-build/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/distro[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/setuptools-42.0.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) + >=dev-python/wheel-0.32.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/build-0.7[${PYTHON_USEDEP}] + >=dev-python/cython-0.25.1[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-1.10.4[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme \ + dev-python/sphinx-issues +# note: tests are unstable with xdist +distutils_enable_tests pytest + +src_prepare() { + # not packaged + sed -i -e '/cmakedomain/d' docs/conf.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # no "library" in (our install of) pypy3 + tests/test_cmaker.py::test_get_python_library + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock \ + -m "not isolated and not nosetuptoolsscm" \ + -o tmp_path_retention_count=1 + rm -r "${BUILD_DIR}/install$(python_get_sitedir)"/{easy-install.pth,*.egg,*.egg-link} || die +} diff --git a/dev-python/setuptools-rust/Manifest b/dev-python/setuptools-rust/Manifest index 6a2e9b4db07a..be973b9b230f 100644 --- a/dev-python/setuptools-rust/Manifest +++ b/dev-python/setuptools-rust/Manifest @@ -108,6 +108,5 @@ DIST windows_x86_64_gnullvm-0.48.0.crate 366536 BLAKE2B 295dc3aef18c604d15799780 DIST windows_x86_64_gnullvm-0.48.5.crate 418486 BLAKE2B 12a2199d434617c1df1a839e9f435620ad64b40c579f6d0c3677553ad7a48e5765d12c266b04946402e15c92cff2e4ac4979ce2130750ef426e2672119680284 SHA512 c016d5b5e73832b61ff67929d92fa8c16e154656294357266ad29ce1f44db4ca2d2935dba31a6b571187dc838b1d22f1e3b41fefffd1d719a338439adf1646aa DIST windows_x86_64_msvc-0.48.0.crate 671422 BLAKE2B abb063610dcc38581657133182b7d9efeed5553df67bd2bd6f30f1668a645186e4824f9ef556a5abc84ace10b1b437b6325bbda6df5a64ce880d7dcb743ac786 SHA512 6e598b8e3ac54912a8ebac01b0dd2c58fd282072527d7fedc7f6ebecdfb7dcb09ae46c22293bc0117849437f8b053db5e90406e7a38276f0f0afd06be3966795 DIST windows_x86_64_msvc-0.48.5.crate 798412 BLAKE2B 8abc0721e2fb337fe17c91d278947d36122d9045b839ba0cf3e690202d242265b676f23cc301da5f9d98c56ca4ecb76f7d6f072ee71bf986a1deca87020b90e5 SHA512 fa1c5cd14ca2ff0082e2504cf59d317dc4dc6f7138d35c12f95d4476a9c13d8b7f5537d0ee251eee7c99411ad31b22263171b7fbd391daa5d3ea3488ceaa61a0 -EBUILD setuptools-rust-1.9.0-r1.ebuild 4125 BLAKE2B ab53cf5595b61bf13ceb1fe1c6b1d59bd46478c9bb4e34a8975e719530e76e0a88d6fc28353fdd8be21e5743f72d02ba7fddaf5bbd30b03aac40aa6cc336ae50 SHA512 5fc458c071f22ad6e50a8c0914bab58849d30bb9a0fad0c2be59b2dcaf7fe54efd3260530b3a511d5829e612e36f794c23d18e8f1de733153a788cbcb560e0c9 -EBUILD setuptools-rust-1.9.0.ebuild 4060 BLAKE2B ba9f1ea158fa2b680bbc4103bf82007b3cb00792b5472ed423f95ed315f4f158fbf8083a463c430507fbc4c8f559edda7a3972c411496b997faa3aa7675941a5 SHA512 cf0dfa821c51198730505d49c0e06d1835d4a817ebdf2a8ccec7c84ac30f664af436192b3307bcb0d3bb50edb6648d9d802a348007361bc7e25baf0c3c0c17f5 +EBUILD setuptools-rust-1.9.0-r1.ebuild 4124 BLAKE2B 43dfea454dedab8bf450715b7cab1d76235b99c6005e492b4236cc66b5ed0c5faffc36cabf1c4f2888dde6dc3835be88265aa89a7764797c0155c0d9e47a05c2 SHA512 d4bc8e743c33c6e2297eef9728a20ef828f2da1c367bce148a4e9231da1cfc32655fb9a52fda4f4eb509788f41708fb1fc199af6432dba27502aa02129a3739b MISC metadata.xml 476 BLAKE2B c8f0ef0779f0a4412a7d9b97e1bb03e3bfb3c031209f489a100b30402d99224014e379712989afd0cb76c85be301dcf9a51e21e8f9195262c5920dd1db0703d1 SHA512 af74755e9e8fb61cbded2dc3e63cd20f95393ef2650bed9f81e299f7759ae79c63b45df8048cd0fe25397ec7db10156be681fa5278606a20481f78d5279b815b diff --git a/dev-python/setuptools-rust/setuptools-rust-1.9.0-r1.ebuild b/dev-python/setuptools-rust/setuptools-rust-1.9.0-r1.ebuild index b425a5f74c45..60e8ded0ded3 100644 --- a/dev-python/setuptools-rust/setuptools-rust-1.9.0-r1.ebuild +++ b/dev-python/setuptools-rust/setuptools-rust-1.9.0-r1.ebuild @@ -134,7 +134,7 @@ SRC_URI=" # crates are used at test time only, update via pycargoebuild -L -i ... LICENSE="MIT" 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" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/setuptools-rust/setuptools-rust-1.9.0.ebuild b/dev-python/setuptools-rust/setuptools-rust-1.9.0.ebuild deleted file mode 100644 index ca36f798ff51..000000000000 --- a/dev-python/setuptools-rust/setuptools-rust-1.9.0.ebuild +++ /dev/null @@ -1,194 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CARGO_OPTIONAL=yes -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} pypy3 ) - -CRATES=" - autocfg@1.1.0 - bitflags@1.3.2 - byteorder@1.4.3 - cfg-if@1.0.0 - convert_case@0.4.0 - cssparser-macros@0.6.0 - cssparser@0.27.2 - derive_more@0.99.17 - dtoa-short@0.3.3 - dtoa@0.4.8 - futf@0.1.5 - fxhash@0.2.1 - getrandom@0.1.16 - heck@0.4.1 - html5ever@0.25.1 - indoc@2.0.4 - instant@0.1.12 - itoa@0.4.8 - kuchiki@0.8.1 - lazy_static@1.4.0 - libc@0.2.121 - libc@0.2.147 - lock_api@0.4.10 - lock_api@0.4.6 - log@0.4.14 - mac@0.1.1 - markup5ever@0.10.1 - matches@0.1.9 - memoffset@0.9.0 - new_debug_unreachable@1.0.4 - nodrop@0.1.14 - once_cell@1.10.0 - once_cell@1.18.0 - parking_lot@0.11.2 - parking_lot@0.12.1 - parking_lot_core@0.8.5 - parking_lot_core@0.9.8 - phf@0.8.0 - phf_codegen@0.8.0 - phf_generator@0.8.0 - phf_macros@0.8.0 - phf_shared@0.10.0 - phf_shared@0.8.0 - portable-atomic@1.6.0 - ppv-lite86@0.2.16 - precomputed-hash@0.1.1 - proc-macro-hack@0.5.19 - proc-macro2@1.0.66 - proc-macro2@1.0.69 - pyo3-build-config@0.20.3 - pyo3-ffi@0.20.3 - pyo3-macros-backend@0.20.3 - pyo3-macros@0.20.3 - pyo3@0.20.3 - quote@1.0.32 - quote@1.0.33 - rand@0.7.3 - rand_chacha@0.2.2 - rand_core@0.5.1 - rand_hc@0.2.0 - rand_pcg@0.2.1 - redox_syscall@0.2.11 - redox_syscall@0.3.5 - rustc_version@0.4.0 - scopeguard@1.1.0 - scopeguard@1.2.0 - selectors@0.22.0 - semver@1.0.6 - serde@1.0.136 - servo_arc@0.1.1 - siphasher@0.3.10 - smallvec@1.11.0 - smallvec@1.8.0 - stable_deref_trait@1.2.0 - string_cache@0.8.3 - string_cache_codegen@0.5.1 - syn@1.0.89 - syn@2.0.32 - syn@2.0.38 - target-lexicon@0.12.11 - target-lexicon@0.12.3 - tendril@0.4.3 - thin-slice@0.1.1 - unicode-ident@1.0.11 - unicode-ident@1.0.12 - unicode-xid@0.2.2 - unindent@0.2.3 - utf-8@0.7.6 - wasi@0.9.0+wasi-snapshot-preview1 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-targets@0.48.1 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.0 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.0 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.0 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.0 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.0 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.0 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.0 - windows_x86_64_msvc@0.48.5 -" - -inherit distutils-r1 cargo - -DESCRIPTION="A plugin for setuptools to build Rust Python extensions" -HOMEPAGE=" - https://github.com/PyO3/setuptools-rust/ - https://pypi.org/project/setuptools-rust/ -" -SRC_URI=" - https://github.com/PyO3/setuptools-rust/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( ${CARGO_CRATE_URIS} ) -" - -# crates are used at test time only, update via pycargoebuild -L -i ... -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - virtual/rust - =dev-python/semantic-version-2.8.2[${PYTHON_USEDEP}] - >=dev-python/setuptools-62.4[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-62.4[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/cffi[${PYTHON_USEDEP}] - ' 'python*') - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - ) -" - -src_unpack() { - cargo_src_unpack -} - -python_test() { - local -x UNSAFE_PYO3_SKIP_VERSION_CHECK=1 - - local examples=( - html-py-ever - namespace_package - rust_with_cffi - ) - for example_dir in ${examples[@]}; do - pushd examples/${example_dir} >/dev/null || die - einfo "Running ${example_dir} test" - esetup.py build --build-lib=build/lib - - case ${example_dir} in - html-py-ever) - pushd tests >/dev/null || die - local -x PYTHONPATH=../build/lib - ${EPYTHON} run_all.py || die "Tests failed with ${EPYTHON}" - popd >/dev/null || die - ;; - *) - pushd build/lib >/dev/null || die - epytest ../../tests - popd >/dev/null || die - ;; - esac - - rm -rf build || die - popd >/dev/null || die - done -} diff --git a/dev-python/sphinx-argparse/Manifest b/dev-python/sphinx-argparse/Manifest index fe4d503356ed..6fda0d7040a7 100644 --- a/dev-python/sphinx-argparse/Manifest +++ b/dev-python/sphinx-argparse/Manifest @@ -1,3 +1,3 @@ DIST sphinx_argparse-0.4.0.tar.gz 15020 BLAKE2B 73118f56ff82d52f04066b9d500aebc77eb5a0fecd03fa69f382c0f2afc0cbffdd395da707cf37b59f039e93935f8d5c3fe0e0f7a2820d3b6509dd78b37b0d74 SHA512 b96050da6c02f87c54f9dc9146bed955e99258df740b467575a2b3e9919fa8c4c6d30a736dab24360086bfc0d7d09c4bc7a818700af2c7846eed3a3b99053d65 -EBUILD sphinx-argparse-0.4.0.ebuild 572 BLAKE2B 212e31ea6858c3a260a45fcfa290ec94fac020578bef77dc9cefd72a008c382599b400f7b922ac9fe468ed698cf618162bfc073b7aee0df00e608eedb6b5e197 SHA512 ab53d09eef154872f45496f8c289a400ed916c9ee988bf083df4894929d8de557f74be909482bd1fba1568232b0ebfcd02002c13be3b4bf5fcc64ab1b77a749d +EBUILD sphinx-argparse-0.4.0.ebuild 579 BLAKE2B 1b61a1631046f67d3b72740a603c97ccd5f60062e8dc118734b84f9eb0f2f3c8b432804ea66cb0f52b19a99e6a166e29d0b4ea7f8bd4eedbafe68dc86e1bef11 SHA512 31e3015cdb6ea1648aa6d28f53e499a88f6b063328f28c5452c26153082020954104139049d39ca9a505097826c5349e3e1eb75489498d15156eada4335a3e05 MISC metadata.xml 397 BLAKE2B 84e74c41dd570020518232a2b36f5c32ec366255dc9da6ea268f9c3cbbc1acf90632a2cea442cbdf8d591f28c35820afbec79d22a2582584943afeb4efc2a39a SHA512 777f0c6de3fea39696176d7eb1cfef323d64eb440cf07f4eb52815d3ac81ff31df7d9d31816bf560383f33e3c4d6074381b29493a155fc2f0e431bd79014ffbe diff --git a/dev-python/sphinx-argparse/sphinx-argparse-0.4.0.ebuild b/dev-python/sphinx-argparse/sphinx-argparse-0.4.0.ebuild index 9d28047739bb..ac81f626dd0b 100644 --- a/dev-python/sphinx-argparse/sphinx-argparse-0.4.0.ebuild +++ b/dev-python/sphinx-argparse/sphinx-argparse-0.4.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm64 x86" +KEYWORDS="amd64 ~arm64 ~riscv x86" RDEPEND=" dev-python/sphinx[${PYTHON_USEDEP}] diff --git a/dev-python/sphinx-autodoc-typehints/Manifest b/dev-python/sphinx-autodoc-typehints/Manifest index 5c01dd129194..91eb8c761c3b 100644 --- a/dev-python/sphinx-autodoc-typehints/Manifest +++ b/dev-python/sphinx-autodoc-typehints/Manifest @@ -1,7 +1,9 @@ DIST sphinx_autodoc_typehints-2.1.0.tar.gz 39386 BLAKE2B ccf6b618fc3db2a576a2d9a36a575087cdc3c7c5cf59a6057a956478a12715b1623dc4bc1ae3f7c30deab317a15fa187faf19f9d050fa61c293dc20bee41effd SHA512 59c5b4c682fadc1d0ec62a5aa639bb87d6e4710db89793824c348c7598d73b144f0b083ce6462ea32d958b1ed7fd2fb96c2a92780267adef03b625e64c08c412 DIST sphinx_autodoc_typehints-2.2.0.tar.gz 39603 BLAKE2B 42286d62684a3fdb9949f9e4af56aece11b93b8b5e78be06df03389ceec7fdb99f4baa1ddd46facaa8cb85900655ddae08056fef44a73dc21f29fd87540dacfc SHA512 24c2cc40c56656cc85006e96341d57d46228a67524f4cbc13724fdbd1c0a5a2c41b08e170e217ac5198330fb70539514735b60c34eb84ea15717c38bb95b0adf DIST sphinx_autodoc_typehints-2.2.1.tar.gz 39845 BLAKE2B 8ed9ce0ad5db9504f783f739319026ff72520ecf706eeeeccf486001e2bbfbaca851e3a2b2593759214bb31d19f140bc6708e6861f6b835ed60a3c610508727b SHA512 fd364809c9ba3a4ad1ffeedcb55de2e57ecaa15235a4cfc0e97131071cd08c4b7af298e6f975d102aa30500984625cee6df2f690ddbf6e80ba280cc4b4f6cd2e +DIST sphinx_autodoc_typehints-2.2.2.tar.gz 40324 BLAKE2B 113a3ce262ca5c1bab60d388080ce33559dc24388c0690b9db8413825b136830015afd70cfa0c95464d6bdc4824fb8b511a22579eb2ab0fec267405ce953ace9 SHA512 11996f0cf916ccf7f630bbdad7e4b4f0e0969c97c5714c71a08a2c0eda3c1e36a27843048cf44c42b1a71e7d50b4353d94cf3c201bf2356ded2f305709bd1b1e EBUILD sphinx-autodoc-typehints-2.1.0.ebuild 1086 BLAKE2B 8eb2c309cc4fb019acb94d260ae1d7b33d4e14b3c99926f9c0ed233f08b47da3bb43e1453c7ebd68f3cf04f7295f01de301fc19cd4be8ff20fa3ab66d2b4aebe SHA512 42f991ca935db6191e90730f99764e4edfdd811d49dd25c9eb585f291af2b13489c4a17805f5e8b6ff4ea2743b67183b55d84899019953d959f6f228a5b3292f EBUILD sphinx-autodoc-typehints-2.2.0.ebuild 1074 BLAKE2B c22a1519062f4fd3cd5e9fa4e2f9d71ee093fa358ebf6b9e000b243d92251fb366c76099c9e95be13e2e542d4e91a3ea180a9a6293781dab0d5db1b6aa04b537 SHA512 3774856f78cd0f7d64067af2a8409986b3df143eae5010eaa15403434fcd5f4e9ab2029e180dd290b32a3f21de330f962f3617585c1dbc714fae8b247f7bc31d EBUILD sphinx-autodoc-typehints-2.2.1.ebuild 1074 BLAKE2B c22a1519062f4fd3cd5e9fa4e2f9d71ee093fa358ebf6b9e000b243d92251fb366c76099c9e95be13e2e542d4e91a3ea180a9a6293781dab0d5db1b6aa04b537 SHA512 3774856f78cd0f7d64067af2a8409986b3df143eae5010eaa15403434fcd5f4e9ab2029e180dd290b32a3f21de330f962f3617585c1dbc714fae8b247f7bc31d +EBUILD sphinx-autodoc-typehints-2.2.2.ebuild 1074 BLAKE2B c22a1519062f4fd3cd5e9fa4e2f9d71ee093fa358ebf6b9e000b243d92251fb366c76099c9e95be13e2e542d4e91a3ea180a9a6293781dab0d5db1b6aa04b537 SHA512 3774856f78cd0f7d64067af2a8409986b3df143eae5010eaa15403434fcd5f4e9ab2029e180dd290b32a3f21de330f962f3617585c1dbc714fae8b247f7bc31d MISC metadata.xml 682 BLAKE2B f8b48894f28411a17c73956bb75d43906c893b33d3dc611dfcc46e7a71ac43824aa54f660ab4f49c9870248b2b9ff405a2a3229f92975337e69201868eed3378 SHA512 87a0ea2b2e4cb2b5f0d1593b2c4bd96b46dabb8baae71a6ba18cfd83dedb2a1d5f0ae0f8711144967a5d44015e9ae7ca013dc0aa54e20604633ae062d95649ef diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-2.2.2.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-2.2.2.ebuild new file mode 100644 index 000000000000..f6053e2167f7 --- /dev/null +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-2.2.2.ebuild @@ -0,0 +1,44 @@ +# 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="Type hints support for the Sphinx autodoc extension" +HOMEPAGE=" + https://github.com/tox-dev/sphinx-autodoc-typehints/ + https://pypi.org/project/sphinx-autodoc-typehints/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/sphinx-7.1.2[${PYTHON_USEDEP}] +" +# skipping optional test dep on dev-python/nptyping as that package +# is horribly broken and on its way out +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/sphobjinv-2.3.1[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # this package is addicted to Internet + tests/test_sphinx_autodoc_typehints.py::test_format_annotation + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/sphinx-copybutton/Manifest b/dev-python/sphinx-copybutton/Manifest index 019d22ad58ed..010ea9cc7dc9 100644 --- a/dev-python/sphinx-copybutton/Manifest +++ b/dev-python/sphinx-copybutton/Manifest @@ -1,3 +1,3 @@ DIST sphinx-copybutton-0.5.2.tar.gz 23039 BLAKE2B 5a440865610dbcfc8abc8a10c38832439d5f588a26a8641374cada3cc181a0ba2a19e62b287a296c1879f25342ce8aae1ade080126f837e5ad9291c152a30c6e SHA512 83f61526d8a20f70b0de63a5bad89ed4ae4f3cf5cd589f1a1e2e91f08f4d45a05acf780a4cf3703d4490ab93c9c9bb18c11d3170b8011c2254aab0334940ab2d -EBUILD sphinx-copybutton-0.5.2.ebuild 502 BLAKE2B dc432e7a9bb7e158373e821b69322b038783ed07eb564b8cb77066593ebbd19c91dbe56f273dc1f3e8b42037135bc29d07c2317072af249b0d04c80048810e71 SHA512 a208190a6199fb6606a89dad6763da6acf75eea1bf226d1bb705610435689164ac5ed86c5eccb4d8b75804c632ac24e63c95dde170977fa87a24f87c1e92ebff +EBUILD sphinx-copybutton-0.5.2.ebuild 509 BLAKE2B bda4a33262e281e7c32fbf88d35875e44d010854ca616318b69cc58878d4eb068a2aab07dfc1c0c40959d7ed8dc457960a463e3f93ccd5fe7d87bc2665a17dce SHA512 f8841e27a1701bef3f129a8e404af754f26131116d2d1335cb3235350c695cc6a816205eb94f86d968c36142795d858c8c8db621a6ffe1fefca26882ad8a317e MISC metadata.xml 561 BLAKE2B 9b79bc70ff34e5be3453d71f1d9547f2c83096e9d7a32eb2dcf38d9868d766a7f7bceb6df1f28a6ac375a47ec2c7ff98008a99ef5233e85bcc3199f48f607e9a SHA512 3b1d64928d68a420b99470ecddcaaf3b36d8ddf3009d44e0580a15937c126e275938a5835d2900e2d30101034a2b2ba0fb1bb58cbda68fcf3cb84aaf36d50b25 diff --git a/dev-python/sphinx-copybutton/sphinx-copybutton-0.5.2.ebuild b/dev-python/sphinx-copybutton/sphinx-copybutton-0.5.2.ebuild index 297c59d28f0d..95b715f89cb6 100644 --- a/dev-python/sphinx-copybutton/sphinx-copybutton-0.5.2.ebuild +++ b/dev-python/sphinx-copybutton/sphinx-copybutton-0.5.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ HOMEPAGE="https://pypi.org/project/sphinx-copybutton/" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" RDEPEND=" >=dev-python/sphinx-6.0[${PYTHON_USEDEP}] diff --git a/dev-python/sphinx-inline-tabs/Manifest b/dev-python/sphinx-inline-tabs/Manifest index 54ec767b7a9e..8e3b3fa18618 100644 --- a/dev-python/sphinx-inline-tabs/Manifest +++ b/dev-python/sphinx-inline-tabs/Manifest @@ -1,3 +1,3 @@ DIST sphinx_inline_tabs-2023.4.21.tar.gz 42664 BLAKE2B e7f00bb220a194d6aad2285af793b540233d3a4122c82c34c28d03e62fa463252dff7624470f3abf4e5cd9028c9abfabc0b663fc56acee809bcd10d1bc886038 SHA512 d5c856821ca3d2b251733fe200465679dc875d66719851f89b6e38fd1898e40a2bbc97975b6bbdb7bf769fb67038bbb8dd94282504adb0977c57e8d1cf3fde5c -EBUILD sphinx-inline-tabs-2023.4.21.ebuild 447 BLAKE2B dfac877983852162bc0d92fa616b4452a4b2a159c4c21dcd3798e147dca2c00be19fae40a1bbe02391c4f55346b43baab609bde726b453abca5cdc67f11524c2 SHA512 1d4d705d29deac4f12ccee2273f3cadb54d790f74579a0692f253fc6e47a88acae00c22729f3e8ef5bcfa40d09c9b645e53c42e84b66bdd3702dc6d8e5b4fd6b +EBUILD sphinx-inline-tabs-2023.4.21.ebuild 454 BLAKE2B 17edbdbd77d84f1764ab61d3d2bed6f365fb3d3279a83cb0009b8583ecc2ee37eee2109e47f49321e4795e839f4fd754e7b96c9e2e693933bd67280086defc2e SHA512 af3ac00c27248463a40a4baa41ad8e5bbd2619582bdf2c05cb1b883471e3a1a39a0d18c8f98bf9bef19cd81a715f4c2821a423636e1fb3582cdba400ec7579dd MISC metadata.xml 553 BLAKE2B 3ce0da208e9abb45c8ef8be913c3f9253de38a71accacfc0edf9e01b94b2d2bf4a8979ce2613b4f756f749d5b28cc0c3de6fafe7fc42d778a4d617c23cb39192 SHA512 2b0fa9391c56137c743d5fe4cf4bffb98ea7a6ae526f4afecda82180aeafc49c21e6edbd3630bb1c4094e115720e54c79059945b525633cbde34fddc268b42f0 diff --git a/dev-python/sphinx-inline-tabs/sphinx-inline-tabs-2023.4.21.ebuild b/dev-python/sphinx-inline-tabs/sphinx-inline-tabs-2023.4.21.ebuild index ad6169c8bad4..26218e365229 100644 --- a/dev-python/sphinx-inline-tabs/sphinx-inline-tabs-2023.4.21.ebuild +++ b/dev-python/sphinx-inline-tabs/sphinx-inline-tabs-2023.4.21.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ HOMEPAGE="https://pypi.org/project/sphinx-inline-tabs/" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" RDEPEND=" >=dev-python/sphinx-6.0[${PYTHON_USEDEP}] diff --git a/dev-python/sphinxcontrib-autoprogram/Manifest b/dev-python/sphinxcontrib-autoprogram/Manifest index 46a87430babd..693086df62bc 100644 --- a/dev-python/sphinxcontrib-autoprogram/Manifest +++ b/dev-python/sphinxcontrib-autoprogram/Manifest @@ -1,5 +1,5 @@ DIST sphinxcontrib-autoprogram-0.1.8.tar.gz 18656 BLAKE2B a1334b0d9717f59ffb67c8a60e03b34c1fb0168cc86500ee14c06c44bef5bec1b484997d00be6586832e21e8a97662628636766558af9f79d40eb3da0ae21122 SHA512 a73d52a6195e3b637758b36f86afe07090bab09a655a86dbde3fefaee59f634c3fc880d436c3b14d9d7d4fb58f74765bd13457d0fc9192f1ffd4d654dc6efcd5 DIST sphinxcontrib-autoprogram-0.1.9.tar.gz 18843 BLAKE2B 9a081113ea2f315618926e6ab88c81fd875899431f95539e9bdc343a88e9422345ef36c442d3697bec9199b8723959e12300a0c26cfd9ec36a2dd18dc76392ea SHA512 f0b4ebffda493c41a88b6fb30f12952bf136134823125e81a473fa9015d11f724aa07e9a6c87295039d1044cbc262971fbf2745e325393cc13627a1b159bc686 EBUILD sphinxcontrib-autoprogram-0.1.8.ebuild 623 BLAKE2B 280aecbf2eb8a8dffaa30784f694189b875ba017239fef5134503516813bc7f6e217d0cd3bf7592f8b771e6f963e7c9e21e702cf3cd853b117775f7442042338 SHA512 6cb4c73c8bc8e50f5dbf92cd94970fec2607df4a8cde276192e851215c780cf9ce61d60490aceacf6432d1e3a43c77ed891c9ae159be331758336bf8a02b0df6 -EBUILD sphinxcontrib-autoprogram-0.1.9.ebuild 589 BLAKE2B ae20a0a63b54274d8945bf34598adcfebe7570c41029a5b6d9b005e10ff813dd70b3af3a9c5edd906763af0d6f52394a39408bc77b51016145b3d4b5da5e3606 SHA512 c2c3d0bc35c1e65786f27b17a194f846bf416e13ebe9ba6c356aca8c13265866054d244407b8616b18495d1de270aeb9f46dc89e79ec36d5905242b11f7b5c8b +EBUILD sphinxcontrib-autoprogram-0.1.9.ebuild 596 BLAKE2B cb1b0d5653638d51ac1c52e7b9201a59b1de50801519ea2a608bdd9b148e8ec0e4511857174b61adcf194a63859c6081e92148697c1b2f63f8fb42e4c5b9fdc4 SHA512 319913d9a2a772bd5923ede675a2817c63fcfea9e305260fe1223722c1fa2f8fb6e023dd9c571f204f173521675553e2be137877dee5a2c516282c615fc7510d MISC metadata.xml 437 BLAKE2B 9e39af7803966fa76096217ad37df0ce8ff795bbfad2a20a0bc58485d4292626f7ad334c0e2918993f3c6a03a791c8f7ea7e4a3e68e75fd8bab3c5b4a7a00bd8 SHA512 7a3a8412639455ff004479bc6862312fdf17cde00905c4fc7a2eab839b6a26ad09facc879519b024d33d04ac62c16ed60e35719e89a7a75f3452ad55c0dc0dc5 diff --git a/dev-python/sphinxcontrib-autoprogram/sphinxcontrib-autoprogram-0.1.9.ebuild b/dev-python/sphinxcontrib-autoprogram/sphinxcontrib-autoprogram-0.1.9.ebuild index 5109e7fb295d..e4fe91931b66 100644 --- a/dev-python/sphinxcontrib-autoprogram/sphinxcontrib-autoprogram-0.1.9.ebuild +++ b/dev-python/sphinxcontrib-autoprogram/sphinxcontrib-autoprogram-0.1.9.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" RDEPEND=" dev-python/sphinx[${PYTHON_USEDEP}] diff --git a/dev-python/tenacity/Manifest b/dev-python/tenacity/Manifest index cbebfdc9d753..00557c5e7607 100644 --- a/dev-python/tenacity/Manifest +++ b/dev-python/tenacity/Manifest @@ -1,5 +1,5 @@ DIST tenacity-8.3.0.tar.gz 43608 BLAKE2B fcf7471110c831cfab20c81bb0bfa2c2895ce33b6cdf22c21dfd0f219eeb674dc4e7f4186e7c9a3366574636becd7391d68acb285069844ccaf358da6afa9c02 SHA512 46152ffacc0a87931cec09bd90eed3d2ad46f89101997c5da2aa510844c814b887a83805b4ec0de6a56759a7f2bcbab0cb2b2f1a4e6c11860ae53f64ff2a4c31 DIST tenacity-8.4.1.tar.gz 45426 BLAKE2B e5cb1ed5a93a28a5733b7c25f95a5d9c4d4e341b5185c235e93bcf681590a72cd3895a1e9b24eaa31b939168f6420e8a28a5d8b982847886e9a799a983d41df8 SHA512 7abf17c5c4dbcb45aff3b660f70daa80fc673aa36e0ed95941a566d3740238d051736bc0da330110300bd4beae9a8a56082c4348d24e6bfa20a269bac771d956 EBUILD tenacity-8.3.0.ebuild 598 BLAKE2B 4b05acdf59ce38c8cfdc45e43522567204580f079b17b8a25b48fcd01e8a851560fd3b3cef939fc9262226dce7da6d58493e3339a1345fdf233e828e94ebf086 SHA512 13e643dba3b3aef847283c45a4f556e69c3b1b203501c0f42936cf0cb56b5592d1c58a4140b2361fe9f8de81b74dc83366ad9948fc8e2e7d5debc301abfe6c03 -EBUILD tenacity-8.4.1.ebuild 601 BLAKE2B 260c9f08c3309795069d4018c81bbe6517f87e7c4e64c9a1de54060b6d3c63a722a034f1ded2abc51c4acacc8ec921aff4f2dd4f96bcc1bd306575e5e92ee9e1 SHA512 2814f60a483d8c8bf484bbdbc9c0717891480958e3fd609b33cb815f5c2913161765bb7297e5d92b513defe67e80f323917666941a5a6deaa3b84cc00dd754c5 +EBUILD tenacity-8.4.1.ebuild 872 BLAKE2B a036baab1fa6501a3e4c9d2d135099856dc9f9bf69a3c236206a2a42871a565afbbe2a3af7cd5d795d02be748138ee3caca12c7f8a3ae7015f9f9542e162f229 SHA512 1ca92464a0fec82255e647846c26135f3b20ecdbcfd37fb35b9b663452faa385310e6d7079749c5a490d8918a286095a219ad244dca6ddee57e7bb12720f6f43 MISC metadata.xml 856 BLAKE2B af0d5417912404af6b5be19c32d150db197d27b55681871cbd45f983d1caf8b8ba7c8c44936b1465ecf00b4d185552399d0023bbfc16e84451e4fbf006eefcab SHA512 1fe2c8617bfaeba198a8b5430c2b38acf60f17c29fc89599d198037310589b4a5bb1170919e2f57c3e27951288d06ab281ec5a55ae64e6a0a33296a89be17839 diff --git a/dev-python/tenacity/tenacity-8.4.1.ebuild b/dev-python/tenacity/tenacity-8.4.1.ebuild index 6b916a7dff79..b5cd20a6c3cd 100644 --- a/dev-python/tenacity/tenacity-8.4.1.ebuild +++ b/dev-python/tenacity/tenacity-8.4.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi @@ -16,14 +16,28 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] test? ( - >=dev-python/tornado-6.4-r1[${PYTHON_USEDEP}] - dev-python/typeguard[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tornado-6.4-r1[${PYTHON_USEDEP}] + dev-python/typeguard[${PYTHON_USEDEP}] + ' 3.{10..12}) ) " distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=() + if ! has_version ">=dev-python/tornado-6.4-r1[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_tornado.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/truststore/Manifest b/dev-python/truststore/Manifest index 991e5f533574..526f24dd6e57 100644 --- a/dev-python/truststore/Manifest +++ b/dev-python/truststore/Manifest @@ -1,3 +1,3 @@ DIST truststore-0.9.1.gh.tar.gz 26720 BLAKE2B e5bf3905367f75cdfd9314f1c544f004e62c2ddcde97f83bfe5ddc2d7606d44df5fc352811c8c42423be2da46e5f7b9642a2aeebe61436669c4cd9265ddbec96 SHA512 38567198a3b0d4e9c0b3df72674f3e1fef0614ef0afa80bd7276f98c2e7ef2dc00cca92184b80a1dfe535c5d2508ebdb775e389576c2f07536838f67de1958ca -EBUILD truststore-0.9.1.ebuild 1133 BLAKE2B 6c52b32a7afc888e2b7b706dc79921bc8b234a3c4f83adee77a7b95031e395f1f92a8a3c88566d7239ac6d4e2b317837c288f8ce934282ec76a71873ba85400e SHA512 20c85b2b7477d3e2195ec082a1fd62185cc0a455e412384cf5ff31f9d14182eb4d4338cf9aac742cf55548627366d8e4ac937f0cc9be7406baa19c2f68aa0608 +EBUILD truststore-0.9.1.ebuild 1138 BLAKE2B e872edc2c064085a8d947ab74d5807a9b8a099ed8e60308211fe78a834a9cc9f2eb1ca9be1d438ce40bf7883eb59e9910370f1430aedadc6ed7c96d78d519666 SHA512 af393daa01572230c2a03e15cc64f37245fe9df2d5c0c041eb39af4319cfe7fa387bff58d033b7da79510e060e050c33b5462bf5fab8a985cacbb11cb0207ad6 MISC metadata.xml 378 BLAKE2B 26c6338dabc3baee4f0a61e4d64b538bd90ca5389b7da7321c92d3063f62861f7100871318d8c7ed1d4ade26196e87c966a91c872b1308f8b8ae1bd23451d118 SHA512 8fc959454ce19667c97ef288ed1851d3dc78eedbf71d23873f8dcadecccc2e15e99957c8838cf10b94b44422ff7484c58a249c1911ba3b18344f587151b51e8b diff --git a/dev-python/truststore/truststore-0.9.1.ebuild b/dev-python/truststore/truststore-0.9.1.ebuild index 6663f6133749..3a662a54c944 100644 --- a/dev-python/truststore/truststore-0.9.1.ebuild +++ b/dev-python/truststore/truststore-0.9.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="~amd64 ~arm ~arm64" # The vast majority of tests require Internet access. PROPERTIES="test_network" RESTRICT="test" diff --git a/dev-python/wxpython/Manifest b/dev-python/wxpython/Manifest index fd6c45a027a8..0af411deb382 100644 --- a/dev-python/wxpython/Manifest +++ b/dev-python/wxpython/Manifest @@ -8,5 +8,5 @@ AUX wxpython-4.2.1-x86-time.patch 1920 BLAKE2B 82d82530740b3618edac30d8d13bb1418 DIST wxPython-4.2.0.tar.gz 70958238 BLAKE2B 2e8e34c4f5d1992983bfe4e09bb56ee5619b139b9b3b5f05dee48ecdf6971cf9fe1b0fb22aec685904eb44db6f50a4ba132a08aa91930d809040da828efa097e SHA512 9ec937a024efb2916403c84382a66004f0c2bb07471246b7de517778309ce459e929eeb59e261f538d3fa077c950628de62e49a3760fbd03ab9ff2114c6f354f DIST wxPython-4.2.1.tar.gz 73724359 BLAKE2B d9569ea172c7279e0b2cfcb3cdcd5d1faab5324e2648c9b0f8c8b838fb2355dc6af28c4593e5dd0cfa02573133bf15a58a6ffa9711d854925a9cada0985dc7f8 SHA512 ee9ab8effb3c71de004c3d61ec583b9980c6b75fe9bb04cf2c76025ea70afc206bc3073c44d1c83c7ba604afed9fd38c01b9ef506617ba279a4ac58e3cf34438 EBUILD wxpython-4.2.0.ebuild 3924 BLAKE2B 5f72d886f806375ee130a7170f239bf406961760cfd30e00e5fb3ca9d1eca9c1971e058046612636b3a574ff48f8fbc48e5a8c6044cf518ccdf3aa57871ad530 SHA512 936f595d4adeabd48c040dafd371b98a30927c73f955ff4fb29de9ea210fc67a3efd51686389e791f2ed6a384f59b8c45eab57f2e01c42d52f716e97110bd07d -EBUILD wxpython-4.2.1-r2.ebuild 3679 BLAKE2B 13b7f4362c162a7220082df11ea7a5a919d991b2b0d1e77a18759a8a0270fcbdc907146499aad6ffcaf028db7a6b3fc6d2a3b23f1052df8f0c506475f50ebfc4 SHA512 a9509b515c9c958125a40eea4545bb126eb56a04c41906b48f14a8666f17a0056faded5e69fc241ef8704e476370d0e5dd4267fb802fc58b21516cd2cf88e199 +EBUILD wxpython-4.2.1-r2.ebuild 3977 BLAKE2B 35a7ee91a9ce2304762ee88020d09eac88fe69e4e679a92e9cf18da974b70c6610ce870700c5212c20cf504fb7698c30cc69f82b1e9285c65ece296d86276816 SHA512 64ba39ed8a51d0b05c7e7d2a38cc89932396ff7769b97bfe544ce90d8300c2507a4c9e2237b881a64ecb46ed938729a905d8f973d43ca6fd9b7284be34ace881 MISC metadata.xml 491 BLAKE2B ffa0cccf66f484c856fb30249bd0ccc3b0da2f3ee8e3c3a0df1782bc58e4867ff99d9711f1784b44b439f2a8bcf297c1082b49a941823f046c7f2c7977a77629 SHA512 a2f5908a276a8f9c512cb59c8d17873398c91b21977371ab724e669f3b6c032d53510fbcd183a5dc340279fc522289e617b8c313c0d825ca70d0d2a5d74f8cfa diff --git a/dev-python/wxpython/wxpython-4.2.1-r2.ebuild b/dev-python/wxpython/wxpython-4.2.1-r2.ebuild index ffdc1114156b..ec62390a1579 100644 --- a/dev-python/wxpython/wxpython-4.2.1-r2.ebuild +++ b/dev-python/wxpython/wxpython-4.2.1-r2.ebuild @@ -67,6 +67,13 @@ python_prepare_all() { eapply "${FILESDIR}/${PN}-4.2.0-no-webkit.patch" fi + # sip assumes unconditional C99 support since 6.8.4 + # which breaks when trying to use "sip/siplib/bool.cpp" + # https://github.com/Python-SIP/sip/commit/29fb3df49ff37df7aab9d5666fd72de95ac9e7f8 + if has_version ">=dev-python/sip-6.8.4"; then + sed -i '\|sip/siplib/bool\.cpp|d' wscript || die + fi + distutils-r1_python_prepare_all } -- cgit v1.2.3