diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-02-10 22:39:03 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-02-10 22:39:03 +0000 |
| commit | fc0f4949b6bca13ea588d2ea9bca91be58fc9ad8 (patch) | |
| tree | 3ea5d25bc54a059e82fa24ebe951cc94596aeda2 /dev-python | |
| parent | ac2ece26e61f211aa4fa7cfcd836db96e72d49c6 (diff) | |
| download | baldeagleos-repo-fc0f4949b6bca13ea588d2ea9bca91be58fc9ad8.tar.gz baldeagleos-repo-fc0f4949b6bca13ea588d2ea9bca91be58fc9ad8.tar.xz baldeagleos-repo-fc0f4949b6bca13ea588d2ea9bca91be58fc9ad8.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
52 files changed, 1151 insertions, 207 deletions
diff --git a/dev-python/apache-libcloud/Manifest b/dev-python/apache-libcloud/Manifest index 2ae9b9035f99..c6a7ed5bb88f 100644 --- a/dev-python/apache-libcloud/Manifest +++ b/dev-python/apache-libcloud/Manifest @@ -1 +1,2 @@ DIST apache-libcloud-3.8.0.tar.gz 2457665 BLAKE2B 39a6f3f99d3b685150e9a5ec198da705e0c8a3fed7da1300a734fe69310f888401da6683a8ea4b3fe042776a19ebff28f7c82921f29ebc91349a3c1a24e60e20 SHA512 ef221c79be2adf22bbd9fa739c619fa8c0afb493a410bf36a6cf2b3ad5cb18b61f552a1d98400b9152c790e3a88ca504848e03bae1fe8a14b94f72f9b7358f50 +DIST apache_libcloud-3.9.0.tar.gz 2579758 BLAKE2B 642f8a61ac0f61cdfb6213bda7fd1cea5c5258a9ed758ae596848d6c32297c5f4f37800b86e8b99525db1e3ff2f07988e6a1a6bc5f396588dad81158abb53514 SHA512 dd803435ab5a33492dc54ccd0799a718167912cdbd772a2e532efc360208b19908323c58c9d728ff5792c2172f9f27ba5c5e09945171021bcc1b8980ca472824 diff --git a/dev-python/apache-libcloud/apache-libcloud-3.9.0.ebuild b/dev-python/apache-libcloud/apache-libcloud-3.9.0.ebuild new file mode 100644 index 000000000000..243049700a59 --- /dev/null +++ b/dev-python/apache-libcloud/apache-libcloud-3.9.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE="ssl(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Unified Interface to the Cloud - python support libs" +HOMEPAGE=" + https://libcloud.apache.org/ + https://github.com/apache/libcloud/ + https://pypi.org/project/apache-libcloud/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="examples" + +# Includes optional driver dependencies that are also test dependencies. +RDEPEND=" + >=dev-python/cryptography-44.0.2[${PYTHON_USEDEP}] + dev-python/fasteners[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-25.0.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.26.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/requests-mock[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + if use examples; then + mkdir examples || die + mv example_*.py examples || die + fi + + # needed for tests + cp libcloud/test/secrets.py-dist libcloud/test/secrets.py || die +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + libcloud/test/test_init.py::TestUtils::test_init_once_and_debug_mode + libcloud/test/common/test_openstack_identity.py::OpenStackIdentityConnectionTestCase::test_token_expiration_and_force_reauthenti + ) + local EPYTEST_IGNORE=( + libcloud/test/benchmarks + # broken by modern paramiko + libcloud/test/compute/test_ssh_client.py + ) + + local -x NO_INTERNET=1 + epytest +} + +src_install() { + use examples && dodoc -r examples + distutils-r1_src_install +} diff --git a/dev-python/awkward/Manifest b/dev-python/awkward/Manifest index b95238b52ede..9cf6fec5714b 100644 --- a/dev-python/awkward/Manifest +++ b/dev-python/awkward/Manifest @@ -1,4 +1,4 @@ -DIST awkward-2.8.11.tar.gz 6270823 BLAKE2B f7aeb0ac8910f5bad2b61b0c201d004bfc1d607cd95c4635c03f540acf0e630d7247986504471f1eaac56acfd05bb1383e1c214164693e7a650842a1baaa0e71 SHA512 e9a8c3c2740810ff8eafff181244b6d7590553091376abdc6522877a962962e173a3adbe6e544949a4f243f1fa6b592a25429633b97e74ea37b5dcf2c4e01817 -DIST awkward-2.8.11.tar.gz.provenance 9445 BLAKE2B 75a7b7bf7648e71f9431692450e59fd3e6b22811147ee7f6f156afbbee6ff9644356a93a75eb34ddc6d47f26dd07481e772359b86851b17ba0a5ce8e5a693167 SHA512 9707d262099e86d5d6bf146f5e66678f257e9b372856d1cd5e4025d83ec9713f85d3ab00c7e1661e673a3896d60367f516191eee8f484f0a4377c4249d5bc825 DIST awkward-2.8.12.tar.gz 6284797 BLAKE2B e855886447c4ada79e4c11402d44b4a645c66d69359520d611173c886bc1dac84547eab1ec08feafa010cf86eacd29ad17897bbbb6d99af6f7293a0c0dee5cda SHA512 b6eb4370227e2ce2653adde113cc14a92af66351af352e14161e6380c4c5b4faf6e3c366c15e967b124dbc4b4367c41c099971f83a03b69d78d143062a4ac5e3 DIST awkward-2.8.12.tar.gz.provenance 9488 BLAKE2B 23349e92197a22146a483ab042f07949dadee31f672526d6010ff78e2baad4cbe2f50fa4fd1d38ee8d6e627acc4e3a46d9adf5c22e5db0934fea5a9991cd8308 SHA512 7a21812ba97b901972e675a69fc1ddf17c65183c9f72328098aa9b83e189f0de3146daab1e7c7781cca306950eea20ccd5fe77b761435f88ab015732d0c16250 +DIST awkward-2.9.0.tar.gz 6287845 BLAKE2B b8a329b3b3a89b8785122d95c915a9ddf48371236991434622e5d22bd23871c2e9cf3be7b59d7c86af9f42462e8e37a0345271dfa32a848309efe61e9d53d667 SHA512 a8292b9d149016030b80eb159cb634572ad337a1224f9725bbe51c23a1a757a9e3ee2438e33bc0dc343d0758afc91fa3e6c72f6382aa2567b5f0856d42bfe8be +DIST awkward-2.9.0.tar.gz.provenance 9327 BLAKE2B 9a6aff4f547024fb9c3de4a4608def000bb093bbb40ac8e8229da8edceecd466b9ea6ac8cda9f68b6a9c91243227c2eb03968ae8dc4423dcae533a61cc3e5079 SHA512 51ec3f09b3e9607701a2fbd5f85825d7c0f9d3bb835093c023110ea8d50f41196cf2037cab4102f171a05e3bf14be4ed8764674645a3647908d6f318f4847b40 diff --git a/dev-python/awkward/awkward-2.8.11.ebuild b/dev-python/awkward/awkward-2.9.0.ebuild index fb424e88df73..388eb0f5d028 100644 --- a/dev-python/awkward/awkward-2.8.11.ebuild +++ b/dev-python/awkward/awkward-2.9.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2025 Gentoo Authors +# Copyright 2025-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ inherit distutils-r1 pypi DESCRIPTION="Manipulate JSON-like data with NumPy-like idioms" HOMEPAGE=" - https://github.com/scikit-hep/awkward + https://github.com/scikit-hep/awkward/ https://pypi.org/project/awkward/ https://doi.org/10.5281/zenodo.4341376 " @@ -21,11 +21,11 @@ SLOT="0" KEYWORDS="~amd64" RDEPEND=" - ~dev-python/awkward-cpp-51[${PYTHON_USEDEP}] + ~dev-python/awkward-cpp-52[${PYTHON_USEDEP}] $(python_gen_cond_dep ' >=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}] ' 3.11) - >=dev-python/numpy-1.18.0[${PYTHON_USEDEP}] + >=dev-python/numpy-1.21.3[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}] >=dev-python/fsspec-2022.11.0[${PYTHON_USEDEP}] " diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 0f518538998c..1729ce24608a 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -9,3 +9,4 @@ DIST boto3-1.42.41.gh.tar.gz 1080086 BLAKE2B e4b257b0d20dfc72d1b57ccdae7a456819a DIST boto3-1.42.42.gh.tar.gz 1080942 BLAKE2B 32609f924f414160f5649611b98ed02349396845ded24e2dc325b852abee2d250ed68eef480bc7ef55c2ca91631e42d086bedcfc4393696d8158cbbf03acdb33 SHA512 f0034bc64973a522a9b4537d22c7984d2c54cdc4b34fb35d264a62d3c48c8413c46edcc2769d08b9683eb7831e9460dc8c16db1457a1625b8697f935f7395f30 DIST boto3-1.42.43.gh.tar.gz 1082187 BLAKE2B f53ca79ea1c6ca1db912d7c7ddbb34776ec982a438f13c6de677f82ef031529d77eaeed2c947a6065559878a4100f731b5601fc9332b473cb099155f0480fb7c SHA512 0f70bbd161e55a241fe8f1c9ed9fa28742c37d95fbc8df4881e5e291d92dde06905d1aa872d14f07b26004d225f10a536bf24261ab2771e5e5bc4bdefb6ac8bc DIST boto3-1.42.44.gh.tar.gz 1082573 BLAKE2B 98ac0981ec6df7594dcfcbc1ccddcbe8e9f4423cd61e034279dd4c9b52a5b251f158b1a3ec026dec02bf3178a3e30dc61086cdf53ff2516b7ee6b22ea32bfb3d SHA512 16b05dee6df917a8be2b4e09bc44f4032a08c059eb6aea5d9bf76ad38951ae589b4fa244f0d8b591123622fc3244d955bc028dd397a79ca0ab3d6dcddb7ae0cd +DIST boto3-1.42.45.gh.tar.gz 1083470 BLAKE2B 4d6f23bbe6e05cc813cf48bfb81c425c192132ef6dfd573958b2d0ae624eaa11e3fd9dcd177e3fe0d1322d60860e7e5b0bdebf0651bebeb2495b42661aaf7456 SHA512 e7510d3842074e54148b21e82297974c4b8a7d6ee92889bade6dd2669209f3ec5c8f94eb651a057b8a6fb85ed4609a0730592509ac9059a5ed50792c0855e15f diff --git a/dev-python/boto3/boto3-1.42.45.ebuild b/dev-python/boto3/boto3-1.42.45.ebuild new file mode 100644 index 000000000000..6e5f06a012ad --- /dev/null +++ b/dev-python/boto3/boto3-1.42.45.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.16.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 4a1ace9fa37c..3241c63178ed 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -9,3 +9,4 @@ DIST botocore-1.42.41.gh.tar.gz 15803963 BLAKE2B 3b34f515acaf1bb1445f975a6f71c7c DIST botocore-1.42.42.gh.tar.gz 15806216 BLAKE2B 4cd696276acb5e2d340ab9b8c6c3bc8b7c620fe0e6c3a6c1198bf39b2e57b285ffd2ecb39559b47bf7922e4a8a3f6bd308f64606adfb341172d941ee06864aa1 SHA512 c8201c4eb4559adccf4863449c032cc9a882c9464fbbd68121bcdf555ba84cff6396cfae4422a3f4584fa0d7de465c704707be871b3359c8b370c21a9ebc90fc DIST botocore-1.42.43.gh.tar.gz 15818434 BLAKE2B 386b4bdff2a7b7595dfa71dad6cef183ce0628df8e82af28d1b307b4f07ec1820d5aca46974d51dd4c440a74d26902e7ea473ea8fa6e66a8c641e322ccc654aa SHA512 dd4ba485047d751cc55c1e446805e63b997c217f96e7111c3c98f40979625665d21a70947357b7bf215a8c8e957971f55fccd8cb2359e96504fd3655561b469d DIST botocore-1.42.44.gh.tar.gz 15820139 BLAKE2B a7047f799dc39ee8f49c7128e91e0f11f20c38b946ec5555a75e6fd3f8691fe396d312b9ff3023fc031415cc0846fe94f5d9a5357e31f9d0670cf7e534474609 SHA512 519b7e28d5b46e7e6ac3b375f1926670d361695b34f07d8eddcf48fee8af2b3674040fa5a3b1a27961f77c435a3c4c78deb1802933f08d993dfe4cb782ea4b2c +DIST botocore-1.42.45.gh.tar.gz 15825494 BLAKE2B d376a9f800b28b784dba58d32713108ab88d72b6c98ebbef84dc8dc81d1b286609cd6249c7deffa92626d24ad83ee7873465aaab85e23b5938857a432041087d SHA512 401db4160b04bb585d648d6b05c7dc9f33bebb0b50077e04a6e07aabb43a6049be510630d889b9e550843af607a06a0a2cd20c74379a41dce0a58f9f0d1f0deb diff --git a/dev-python/botocore/botocore-1.42.45.ebuild b/dev-python/botocore/botocore-1.42.45.ebuild new file mode 100644 index 000000000000..f6ce0d9ed8d5 --- /dev/null +++ b/dev-python/botocore/botocore-1.42.45.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + epytest tests/{functional,unit} +} diff --git a/dev-python/clang/Manifest b/dev-python/clang/Manifest index 69b990500c85..1ecc92e6d0dc 100644 --- a/dev-python/clang/Manifest +++ b/dev-python/clang/Manifest @@ -14,6 +14,8 @@ DIST llvm-project-22.1.0-rc1.src.tar.xz 166976000 BLAKE2B eec2cf8822aa6937c751d9 DIST llvm-project-22.1.0-rc1.src.tar.xz.sig 119 BLAKE2B e3d5a6c00d7960b0694919ff083e02f0273e97da6a40ad452fbb8261b9edfc52d4262733d82a59f03ad7d15b3b62de743b37a1b2e191417443ecb730520be376 SHA512 51326b9402d7719c491ac5c6ab80a678896743dd88e3f997245adb77e7b3f5e0f84f6389c75872aea268de8a7a049684c84cdf575c1f19c4971bb280a9374de6 DIST llvm-project-22.1.0-rc2.src.tar.xz 166979860 BLAKE2B d4d58b2615ce596f97ad743ba43a774a7b1e69f8aa394411cfdfdae6abf76ef23c9f483a8db590eac6012a965dbe720111c3c779cf20d1483bd216a3fe5111a0 SHA512 2690f582950a2b8b4dccfce849080b841b34068bbd07acd25ae7d18ef0bc6919f83cd57edda8b90a00327b73aa5cb3411d413ea800247cf541c89143ca26ef98 DIST llvm-project-22.1.0-rc2.src.tar.xz.sig 119 BLAKE2B 797d0fb36d5ff979504bf094c574ab6473d6d428b0ee0f80c95f6b700c534b8d390f0685e01bd9681fd0b33c0fe39af2d6a8b79372d05af1d87b0a602ba7ff2f SHA512 619a9ef733d7f89ed1e7564d027b4d1ad714dbe7912cd7ff258436e9ee6b878cc806d2856f00b600f982a472644cd9ba54739f8d034f5b5033c1036fcddf9a09 +DIST llvm-project-22.1.0-rc3.src.tar.xz 167027608 BLAKE2B 30076ce497a4222ce05849f08742a3a62e5f074453e3a2707fe0bda3b956720897e5c3733869d720c7e51a6c5a16b09dff65fb92d6afa09ba1b0ea2ff75530ee SHA512 65c065167de616e650c2f985f165627698dae7706e032018094d7f6b86a305a40c6f244db3a85c4a455fd26323589594f6ddb4bf677912f22891cddaed7c6d26 +DIST llvm-project-22.1.0-rc3.src.tar.xz.sig 119 BLAKE2B 393e41e0970847f30b484333123e7e5a0ac8a7fd70d15895d8bd82c02f75331646d6921da875db0aa0b7420a6fe2ec632c0e08b931424517e981254238c21e45 SHA512 cbc82d1736a6b481b1894047128699cc8e52bc2322e6b655158775c6da4225a36fcbfaad37fbebb890c1d3e170f4aec1d4ee434bc4454475a799701652744111 DIST llvm-project-424bebd9c784b8490e63290feeeceb42dfdaeb49.tar.gz 259881041 BLAKE2B 3ad34527e65de98be5153d97c7604e0aa8187907f0361bcdf98d37eceaad3a2f152243f5a89ba65f76aba83a69ad3b51f98832095caa7845e7dd5d369611405e SHA512 023581069f5b1f29e1160567df5e365addcf3763829562f7b751d44e0bb0c7adb962101967ae69b2b6a01680af8c833077cd04285727f5fb0292ee7fc61789fc DIST llvm-project-8d2078332c23b10dcf3571adc1a186e5c65f82df.tar.gz 261730510 BLAKE2B 89d2208b2daf0f1a8849d9dc44992b5ce27c716a6818682aa5087f6c1455af73ffda87227b0e7e1fa960721dbc706560b8216a1e575ffbb932c5f5019a37ed01 SHA512 7a23d37bf312ae75bbcdbd812737324a6d45a413aab14d32d8a896d0df35e4f008d315092050ee81033bdc3525a5a9dbc197328f75ad792c51084ebb9684cba8 DIST llvm-project-9eaa1ff11ccde52f2e3bf86f253b6b646548c7cc.tar.gz 259436517 BLAKE2B effc5d342ef8440834d03ca7f9d56dc9f5a0aaa10f62aa81fb3d468cfcd0f28a41b343dc12d91e087a5e509a8bb6aa00b477582f42b87efbf22ea580b48a981e SHA512 fda87f688a8a3626c3b025d2a783d7deb0c64ae83cb9c9c89adb73eba764435981545844eb654d7094361fb3786ea955101ba261f0e4af5ee4beffdd9c2449d7 diff --git a/dev-python/clang/clang-22.1.0_rc3.ebuild b/dev-python/clang/clang-22.1.0_rc3.ebuild new file mode 100644 index 000000000000..bdbb6bbefa8b --- /dev/null +++ b/dev-python/clang/clang-22.1.0_rc3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..14} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for llvm-core/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=" + >=llvm-core/clang-${PV}:* + !llvm-core/llvm:0[clang(-),python(-)] + !llvm-core/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + llvm-core/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/{bindings/python,include} ) +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/cli-helpers/Manifest b/dev-python/cli-helpers/Manifest index 8cb563de437e..b68c9ad4890f 100644 --- a/dev-python/cli-helpers/Manifest +++ b/dev-python/cli-helpers/Manifest @@ -1,3 +1,4 @@ +DIST cli_helpers-2.10.0.gh.tar.gz 37204 BLAKE2B 922e2c69d08ea9894ea2cc84a19779be8f0ce7f9365d4b0de287a9bb41c7cbea2515208bc979d8809863fd1e1b43c5984634eb14949da5b3000e5dd442385eb6 SHA512 2112a8617440157cf4c20149cbd983abd17a7f967b287eae90eb4569bf55e4154761ea88d3148ed176ee8e68ca2309b4401f1069962c87aff72a1e2d7e395492 DIST cli_helpers-2.7.0.gh.tar.gz 36537 BLAKE2B 843d88f5f1eac62b3d37a6d423ec9bce47daedc4b3ea1896d5e84c6dae76a4af687a6fbc01f29d8146cca6ac89f638d2eec0a5d439258369636c7008fac3d499 SHA512 ef9976a7cd4c7853edee598d188003d7f1e1d73d3ca0be2030f2af9db246d394d1ac961408b8e222d45e9dbabda622dbc194cd9fa7aeacf958cd9206428781f6 DIST cli_helpers-2.8.1.gh.tar.gz 36594 BLAKE2B c713c771a742f992ee5468de70d1d965672ae6b24ade26d397f1aa411040a5d6561d3ca807c8be509217cb0d46f14c10bece2b181798ba8dee1952fb3358886a SHA512 b5228702e7de009404004f0fcc002a8876ee962885dcfc4cd04c8863fba5c5eed802fffe411cf0136ba2bc391ec5e6870e450acb17e5aa91b0962b509f1a2963 DIST cli_helpers-2.9.0.gh.tar.gz 36958 BLAKE2B e9cbe7560846bd05a24a2da66ea309e8d29869bdd22b42d9130f42217b58500da022857d1f4ac6a9d069f7e918d353847632a134cc9c49e134c3d7d4c179e5c0 SHA512 aa022d28c295837976f4d9c3ec20ea12fa80ba7600e2e73e30895127e8d2697d28865778e96962a49f2060f06fe58e5f0147eb3747e103fd3a16a54aebde1a75 diff --git a/dev-python/cli-helpers/cli-helpers-2.10.0.ebuild b/dev-python/cli-helpers/cli-helpers-2.10.0.ebuild new file mode 100644 index 000000000000..0edd93e7a7d5 --- /dev/null +++ b/dev-python/cli-helpers/cli-helpers-2.10.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +MY_P=cli_helpers-${PV} +DESCRIPTION="Python helpers for common CLI tasks" +HOMEPAGE=" + https://cli-helpers.rtfd.io/ + https://github.com/dbcli/cli_helpers/ + https://pypi.org/project/cli-helpers/ +" +SRC_URI=" + https://github.com/dbcli/cli_helpers/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/configobj-5.0.5[${PYTHON_USEDEP}] + >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] + >=dev-python/tabulate-0.9.0[${PYTHON_USEDEP}] + dev-python/wcwidth[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index 0b61f567552c..912008bf11cd 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -6,3 +6,5 @@ DIST coverage-7.13.2.tar.gz 826523 BLAKE2B cad41c9c1b10bdd65d7ea640f14df81a9d196 DIST coverage-7.13.2.tar.gz.provenance 9820 BLAKE2B 5da8bbf1e916389b9482bc4eabdb1637a96b66aaee0cdea1d8e7c11bcec99adb746ec4500dc877fed18649834a0bc6c4346ce5757cd83b58c7a17eb4ebf7212e SHA512 47824e52ad5f2a3a76000e6a284847b53eab94115c4c2875137920c061ff9909cb97145775ecf37963212cf53e9ebddd66ca2bdd87631e05ca4c3832dbc63e12 DIST coverage-7.13.3.tar.gz 826832 BLAKE2B 59b4923ea16ad2634adf6dcf3e4b7fb3a41937a9c22e0a91f7581c44f6eb9239b22d131b7bd8d92f23f683ff954e8c8f406075a2ac42484a7300c273889ca0ff SHA512 34a29ef7220700f280b0eba08e3ef5ee821b6a42fec277782ed665c20304739844e2a387f13d7e3b13db3d31f342ae56293fd624e9762a1bcf0d3d67308ee442 DIST coverage-7.13.3.tar.gz.provenance 9585 BLAKE2B 541bca8acbebf7874d2f50e6bddbe790b28f71840efc3be8a9051570ff5b4fb814f78094b9eb1d701d380320aa8f166b75242a54f282078503b27189914505fa SHA512 b3a6dac06a684c3c38636b5e05e54f0ddcea56374f64aadbbe95c6a95ac67cf382e80f3420acdc5b735573d6e62ce902b6f69b42340db0215d81981292d090d7 +DIST coverage-7.13.4.tar.gz 827239 BLAKE2B 97a0d24240c4e9617909d5138238cebc9d88ff6eaafb51a98d7d9e88db7856ee2397ddc760708407954b6ed1ec0b71c864b5f3e2efa87b79e835d41765289782 SHA512 90369ffbb0105cb31be14cdf3e7a909090c96c692a03c63b36030b734b439b9720ea957d6f03c759a91ae17de93d9030cd314c8630a021f2e4f6d9df376910f8 +DIST coverage-7.13.4.tar.gz.provenance 9440 BLAKE2B f1053da51b5f6697f41fe9bfe1e4f2cee3e30c4539ab6b7a67824e8c6d3f3da2a1badff0efde5941772a0397e0c9b7f949e40e6dce688b9d29b30e4834e741f5 SHA512 a5c490008c872924a19addbda7dc8e574ecc8a8e9197ceaf64700655a475f21e856c0a69f174e3065b0dd4bba3dc1457f640d007bb249e3410df7d691e72dbc9 diff --git a/dev-python/coverage/coverage-7.13.4.ebuild b/dev-python/coverage/coverage-7.13.4.ebuild new file mode 100644 index 000000000000..b3a677b0deba --- /dev/null +++ b/dev-python/coverage/coverage-7.13.4.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/coveragepy/coveragepy +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE="threads(+),sqlite(+)" + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="Code coverage measurement for Python" +HOMEPAGE=" + https://coverage.readthedocs.io/en/latest/ + https://github.com/coveragepy/coveragepy/ + https://pypi.org/project/coverage/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="+native-extensions" + +BDEPEND=" + test? ( + >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( hypothesis pytest-{rerunfailures,xdist} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_compile() { + if ! use native-extensions; then + local -x COVERAGE_DISABLE_EXTENSION=1 + fi + + distutils-r1_python_compile +} + +test_tracer() { + local -x COVERAGE_CORE=${1} + einfo " Testing with the ${COVERAGE_CORE} core ..." + epytest -o addopts= "${@:2}" tests +} + +python_test() { + local EPYTEST_DESELECT=( + # 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 + # mismatch of expected concurrency in error message + # TODO: report upstream? + tests/test_concurrency.py::ConcurrencyTest::test_greenlet + tests/test_concurrency.py::ConcurrencyTest::test_greenlet_simple_code + # packaging tests, fragile to setuptools version + tests/test_setup.py + # looks like a difference in exit status reporting? + # https://github.com/nedbat/coveragepy/issues/2008 + tests/test_process.py::ProcessTest::test_save_signal_usr1 + ) + 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 jobs=${EPYTEST_JOBS:-$(makeopts_jobs)} + local xdist_args=() + if [[ ${jobs} -gt 1 ]]; then + # required upstream to avoid cross-test conflicts + xdist_args+=( --dist=loadgroup ) + fi + + 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 "${xdist_args[@]}" + fi + + test_tracer pytrace "${xdist_args[@]}" + + case ${EPYTHON} in + *3.11) + ;; + *) + # available since Python 3.12 + test_tracer sysmon "${xdist_args[@]}" + ;; + esac + + if [[ -n ${c_ext} ]]; then + rm coverage/*.so || die + fi +} diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest index 9d0d68d699ee..4ae4858c17a1 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1,2 +1 @@ -DIST griffe-1.14.0.gh.tar.gz 427024 BLAKE2B c28f692830e2ecaa64c6dcb94e9d4f72a68612894f7cde903a8952b6979e361dc21f7f95b92fafe7d918a252681c7ebfa53b29ce0620df2a24a6a8aa87a29669 SHA512 e293bbe788de84365add1674faf03ad9815241802ec358b218d1b14fb613b735d42e05531404bacf21aa14bd43e10e548933c7b13af188c3e88af488781a3f19 DIST griffe-1.15.0.gh.tar.gz 427423 BLAKE2B a8df8deab830589a46963cae03fa24ee64c5c06050b1dde3e5f0c7d8dd34764e6bccad5974f3c97fe45b67fd74aacc21afc9fdaba6aedc55f4319ce125379189 SHA512 9dc9d57dd88de7a5649639d3ce7b2bc37c5401ce82c7f6a769329ec51d97b9e97c9b2c9c3c0a399adeda66439b9842b26e8a4cbf44096a540af5e924484cce65 diff --git a/dev-python/griffe/griffe-1.14.0.ebuild b/dev-python/griffe/griffe-1.14.0.ebuild deleted file mode 100644 index fe3df6fd68d6..000000000000 --- a/dev-python/griffe/griffe-1.14.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="Signature generator for Python programs" -HOMEPAGE=" - https://mkdocstrings.github.io/griffe/ - https://github.com/mkdocstrings/griffe/ - https://pypi.org/project/griffe/ -" -# Tests need files absent from the PyPI tarballs -SRC_URI=" - https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/jsonschema-4.17[${PYTHON_USEDEP}] - >=dev-python/mkdocstrings-0.28.0[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # fragile to installed packages - # (failed on PySide2 for me) - tests/test_stdlib.py::test_fuzzing_on_stdlib -) - -export PDM_BUILD_SCM_VERSION=${PV} diff --git a/dev-python/jaraco-text/Manifest b/dev-python/jaraco-text/Manifest index 62e350fe8cb2..b7533e22e010 100644 --- a/dev-python/jaraco-text/Manifest +++ b/dev-python/jaraco-text/Manifest @@ -1,2 +1,3 @@ DIST jaraco_text-4.0.0.tar.gz 17009 BLAKE2B 4aa4381de0988383f4442a1caaab48eae79f2cbe564438b540adfed12d9cfb3680de1e5579029be204024256ba9f3327af225db73f2bd68fed7b2bdd4859a799 SHA512 240c4f6f3df6916e9015479147474a43ea9e858e22821f53263c1ef42c61336c36a34baa9c7384b9d345cf42e10b7499e2efa3c85178a0c2abc47fcd82b63fb3 DIST jaraco_text-4.1.0.tar.gz 19153 BLAKE2B 8585bb938ce694e7d438fe0faf17c51f9fd8392cc7157a4816a94a043aa1cd1e047d25c34fc0e27b82ccae1a73d000a82a90493c1b72f20fe8375c5bade02565 SHA512 8af0377c47c673b5d2a7d6d92f37b945bbe6aa451df7dd152669a8ef1f378c8b04283e23291393c70b818d32a96acffd16f71d401d9115775469a94c19926413 +DIST jaraco_text-4.2.0.tar.gz 20077 BLAKE2B c2c991586f5696995ad60b0238c110fb1094c8b51c35961e01faec6a4b18f5ca1951d1c273c3908d41f1bf26fab7e639f5f4903328e106b7f770416c9990c218 SHA512 63cd8b4c7a66231b4951e2c5d5b8fcc6cab2fd3bddee0f6fb254eafdf131fc1cd8ed88430e0a822096dfd7d871acef335ac30e899b7f715832800cce4005f1dd diff --git a/dev-python/jaraco-text/jaraco-text-4.2.0.ebuild b/dev-python/jaraco-text/jaraco-text-4.2.0.ebuild new file mode 100644 index 000000000000..9f5506f6d050 --- /dev/null +++ b/dev-python/jaraco-text/jaraco-text-4.2.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Text utilities used by other projects by developer jaraco" +HOMEPAGE=" + https://github.com/jaraco/jaraco.text/ + https://pypi.org/project/jaraco.text/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + >=dev-python/jaraco-context-4.1.1-r1[${PYTHON_USEDEP}] + >=dev-python/jaraco-functools-3.5.0-r1[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "setuptools' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "jaraco.text" + version = "${PV}" + description = "Module for text manipulation" + EOF + + # remove CLI tools, they have annoying deps, no entry points + # and since there are dashes in their names, they can't be imported + # anyway + rm jaraco/text/*-*.py || die +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index d12ab8aeaca8..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9cd8a2a93a8d45bf51fe2324402b175d641762ea591fcb99459427f977a95eccffa6ca4777ca4df39814eea6eac62711567faa654456d32f79023a4685804504 SHA512 d973b85ba1a44389a4275f02a779a93a005f7c2e096467b94b072862e4984d5b42cf33f9821ac68aa5b85b12c98983a90b96049989d8c84497969174b6bb838e -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 271137de443d..7100f5f39dd8 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 69b990500c85..1ecc92e6d0dc 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -14,6 +14,8 @@ DIST llvm-project-22.1.0-rc1.src.tar.xz 166976000 BLAKE2B eec2cf8822aa6937c751d9 DIST llvm-project-22.1.0-rc1.src.tar.xz.sig 119 BLAKE2B e3d5a6c00d7960b0694919ff083e02f0273e97da6a40ad452fbb8261b9edfc52d4262733d82a59f03ad7d15b3b62de743b37a1b2e191417443ecb730520be376 SHA512 51326b9402d7719c491ac5c6ab80a678896743dd88e3f997245adb77e7b3f5e0f84f6389c75872aea268de8a7a049684c84cdf575c1f19c4971bb280a9374de6 DIST llvm-project-22.1.0-rc2.src.tar.xz 166979860 BLAKE2B d4d58b2615ce596f97ad743ba43a774a7b1e69f8aa394411cfdfdae6abf76ef23c9f483a8db590eac6012a965dbe720111c3c779cf20d1483bd216a3fe5111a0 SHA512 2690f582950a2b8b4dccfce849080b841b34068bbd07acd25ae7d18ef0bc6919f83cd57edda8b90a00327b73aa5cb3411d413ea800247cf541c89143ca26ef98 DIST llvm-project-22.1.0-rc2.src.tar.xz.sig 119 BLAKE2B 797d0fb36d5ff979504bf094c574ab6473d6d428b0ee0f80c95f6b700c534b8d390f0685e01bd9681fd0b33c0fe39af2d6a8b79372d05af1d87b0a602ba7ff2f SHA512 619a9ef733d7f89ed1e7564d027b4d1ad714dbe7912cd7ff258436e9ee6b878cc806d2856f00b600f982a472644cd9ba54739f8d034f5b5033c1036fcddf9a09 +DIST llvm-project-22.1.0-rc3.src.tar.xz 167027608 BLAKE2B 30076ce497a4222ce05849f08742a3a62e5f074453e3a2707fe0bda3b956720897e5c3733869d720c7e51a6c5a16b09dff65fb92d6afa09ba1b0ea2ff75530ee SHA512 65c065167de616e650c2f985f165627698dae7706e032018094d7f6b86a305a40c6f244db3a85c4a455fd26323589594f6ddb4bf677912f22891cddaed7c6d26 +DIST llvm-project-22.1.0-rc3.src.tar.xz.sig 119 BLAKE2B 393e41e0970847f30b484333123e7e5a0ac8a7fd70d15895d8bd82c02f75331646d6921da875db0aa0b7420a6fe2ec632c0e08b931424517e981254238c21e45 SHA512 cbc82d1736a6b481b1894047128699cc8e52bc2322e6b655158775c6da4225a36fcbfaad37fbebb890c1d3e170f4aec1d4ee434bc4454475a799701652744111 DIST llvm-project-424bebd9c784b8490e63290feeeceb42dfdaeb49.tar.gz 259881041 BLAKE2B 3ad34527e65de98be5153d97c7604e0aa8187907f0361bcdf98d37eceaad3a2f152243f5a89ba65f76aba83a69ad3b51f98832095caa7845e7dd5d369611405e SHA512 023581069f5b1f29e1160567df5e365addcf3763829562f7b751d44e0bb0c7adb962101967ae69b2b6a01680af8c833077cd04285727f5fb0292ee7fc61789fc DIST llvm-project-8d2078332c23b10dcf3571adc1a186e5c65f82df.tar.gz 261730510 BLAKE2B 89d2208b2daf0f1a8849d9dc44992b5ce27c716a6818682aa5087f6c1455af73ffda87227b0e7e1fa960721dbc706560b8216a1e575ffbb932c5f5019a37ed01 SHA512 7a23d37bf312ae75bbcdbd812737324a6d45a413aab14d32d8a896d0df35e4f008d315092050ee81033bdc3525a5a9dbc197328f75ad792c51084ebb9684cba8 DIST llvm-project-9eaa1ff11ccde52f2e3bf86f253b6b646548c7cc.tar.gz 259436517 BLAKE2B effc5d342ef8440834d03ca7f9d56dc9f5a0aaa10f62aa81fb3d468cfcd0f28a41b343dc12d91e087a5e509a8bb6aa00b477582f42b87efbf22ea580b48a981e SHA512 fda87f688a8a3626c3b025d2a783d7deb0c64ae83cb9c9c89adb73eba764435981545844eb654d7094361fb3786ea955101ba261f0e4af5ee4beffdd9c2449d7 diff --git a/dev-python/lit/lit-22.1.0_rc3.ebuild b/dev-python/lit/lit-22.1.0_rc3.ebuild new file mode 100644 index 000000000000..2cc4b6485aed --- /dev/null +++ b/dev-python/lit/lit-22.1.0_rc3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +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}] + llvm-core/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from llvm-core/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/markdown/Manifest b/dev-python/markdown/Manifest index ddfc58e30a69..89df8f4a1653 100644 --- a/dev-python/markdown/Manifest +++ b/dev-python/markdown/Manifest @@ -1,2 +1,3 @@ DIST markdown-3.10.1.tar.gz 365402 BLAKE2B 68742d233466d9f4ccb03b60749dbce79b19b4394f29b8d83632f81123ebb2c4eb69d29e7c3199549b8ec88ba6009c293fc908160bf3086d0d3db911f0205ed4 SHA512 34c9f52172640c28ec281575eba29a841e4086b5c898ab4d7df804d691310732d707cfc0f27b36fa9bc9662191b36453a25279c4d9e3d1e0cf012d95f3d90a9d +DIST markdown-3.10.2.tar.gz 368805 BLAKE2B cc5bbbfe702e81937b849f3b9b48089ca07a314ae8603ca5203b11f3eaed0591a042ac855abb1231378848073b9c0d071e22550952659e6b7711e5607ecf0d77 SHA512 cd84d5715002ed58cb1ec64f1b33d048892162cfc9675f570e146bc611ea92cf0dbb3a99018e091131188f29efde8c25da2e9218b5d0d96890c406cbde300074 DIST markdown-3.10.tar.gz 364931 BLAKE2B 43cdbdcda9e43e0525664e13e36708f6565c7e0a8cf0219ed27d3a6de89835c6423caaa67d075d5dc244ef53739414d56dcd26626b2d11d14b4e23ae356eec99 SHA512 5b07895f8bd560348722a97517ef33b740221092cd2567f19ac5baf823a43916c6243ed603c8f6b94b526b39d9876a040b5ef2f4d50f3de277e6d96a2bcc510c diff --git a/dev-python/markdown/markdown-3.10.2.ebuild b/dev-python/markdown/markdown-3.10.2.ebuild new file mode 100644 index 000000000000..731f0f345800 --- /dev/null +++ b/dev-python/markdown/markdown-3.10.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python implementation of the markdown markup language" +HOMEPAGE=" + https://python-markdown.github.io/ + https://pypi.org/project/Markdown/ + https://github.com/Python-Markdown/markdown/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="doc test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/pytidylib[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_install_all() { + use doc && dodoc -r docs/ + + distutils-r1_python_install_all +} diff --git a/dev-python/mkdocstrings-python/Manifest b/dev-python/mkdocstrings-python/Manifest index 9ee393ebf917..bacc706cb31d 100644 --- a/dev-python/mkdocstrings-python/Manifest +++ b/dev-python/mkdocstrings-python/Manifest @@ -1 +1,2 @@ DIST mkdocstrings_python-2.0.1.tar.gz 199345 BLAKE2B 62386822b86462b38e587954e3a8566530f3021d243e2ab13d5f3a948d74f6e4eca9dbd62fdb50dc266ecdeed51c013725ea305d5bcfb81c0bb59dc3c8a3f912 SHA512 b3e3c9b48a451b630ec88c79d254a9095f9a2a1d5d43a0aab9ac2554d0cef681a5ebc2452f44466bc0ea47e27f68f66b0e3fa14534ea97ddb5994ae37c1b4327 +DIST mkdocstrings_python-2.0.2.tar.gz 199124 BLAKE2B e6698c44702e87f84a97db1815924f69f0d3daf0bee5fb6e02a5fb1392ba4ad89b54f6dd3932f137281b2e3f17e56d40ba1cb5ff1e4e1f40aa3a329e6b294b07 SHA512 04613ff0de8b1caa0f39f5f807a5ea3a1bd66f25d1caf5b46822e88e68cc4a66654cf31dba6d0901d5770d2388e97334324b4703517b59fd83c1dd912fcb269a diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-2.0.2.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-2.0.2.ebuild new file mode 100644 index 000000000000..52783686f964 --- /dev/null +++ b/dev-python/mkdocstrings-python/mkdocstrings-python-2.0.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python handler for dev-python/mkdocstrings" +HOMEPAGE=" + https://mkdocstrings.github.io/python/ + https://github.com/mkdocstrings/python/ + https://pypi.org/project/mkdocstrings-python/ +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/griffe-1.13[${PYTHON_USEDEP}] + >=dev-python/mkdocstrings-0.30[${PYTHON_USEDEP}] + >=dev-python/mkdocs-autorefs-1.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/beautifulsoup4-4.12.3[${PYTHON_USEDEP}] + dev-python/mkdocs-material[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( inline-snapshot ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +export PDM_BUILD_SCM_VERSION=${PV} + +EPYTEST_DESELECT=( + # "None" meaning particular formatter not installed + "tests/test_rendering.py::test_format_code[None-print('Hello')]" + "tests/test_rendering.py::test_format_code[None-aaaaa(bbbbb, ccccc=1) + ddddd.eeeee[ffff] or {ggggg: hhhhh, iiiii: jjjjj}]" +) diff --git a/dev-python/nox/Manifest b/dev-python/nox/Manifest index a0662c61ba47..ef9c61902c93 100644 --- a/dev-python/nox/Manifest +++ b/dev-python/nox/Manifest @@ -1,2 +1,2 @@ -DIST nox-2025.10.16.gh.tar.gz 4030415 BLAKE2B 1ad98e773c387669f10de8879bb81d9aeb549f30ba8976e5f8d97589df967244a81138f0dc2e7ff2ddc40e81d694ed8bbf89aa11d9988c615f0b4af100e0b495 SHA512 992bb658ffbc889eeb584a4c3c8785f2a251f111fc0cd4fbe35eb67b5463a45772cefebf2ef2e88d337e4ff7879da47ad0ec07082e904968e7e1996a7d79127d DIST nox-2025.11.12.gh.tar.gz 4030743 BLAKE2B f5d611c37179bb850757d24077a8f4c00a4cd76c26c79ce93eb549c27fd116fdbd1d5380f027dc1355c40ed710b7b1190a15df8294e9a448bdd685ca1c26306c SHA512 fe660f99263ef950e79ae70bd4beeee88046bf2f838e36e33ac74fba5bdd3d36f898a2d7194716f832222a13061f52ad6c03da7f4e3fc5c296ca6db04a48e13f +DIST nox-2026.02.09.gh.tar.gz 4031394 BLAKE2B 6d2c04dec43c09ef2163c04f73ea0833c1963abae7c13a96d6f526e2f936b976d19e4fe79e5272d7b86bed920e9cb362c60fae655a07296d7b509c959096a8e0 SHA512 3ae5901f7f001e5cc607e99d8360697343dd8c7717f2f5b55937b2a759617d0493b37779672cefa0f18153529f46945b10db6a8352e222b0508bc683fc6fbd3f diff --git a/dev-python/nox/nox-2025.10.16.ebuild b/dev-python/nox/nox-2026.02.09.ebuild index 0363029d0463..9cb55e11403f 100644 --- a/dev-python/nox/nox-2025.10.16.ebuild +++ b/dev-python/nox/nox-2026.02.09.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023-2025 Gentoo Authors +# Copyright 2023-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -28,7 +28,7 @@ RDEPEND=" >=dev-python/colorlog-2.6.1[${PYTHON_USEDEP}] >=dev-python/dependency-groups-1.1[${PYTHON_USEDEP}] >=dev-python/humanize-4[${PYTHON_USEDEP}] - >=dev-python/packaging-21[${PYTHON_USEDEP}] + >=dev-python/packaging-22[${PYTHON_USEDEP}] >=dev-python/virtualenv-20.15[${PYTHON_USEDEP}] " BDEPEND=" diff --git a/dev-python/parso/Manifest b/dev-python/parso/Manifest index 5c7f18d2e2ed..3bb455a5e627 100644 --- a/dev-python/parso/Manifest +++ b/dev-python/parso/Manifest @@ -1,2 +1,2 @@ -DIST parso-0.8.4.gh.tar.gz 398241 BLAKE2B 5a8a81f64b20b52cd3349b7bc059621733debfaf5cc271f3e89423d63e4af67391f7740c34b450b2a91fafe34b8986926e8f7c4ca0b8600eafd0171c01e664b0 SHA512 da96f0ab6cfbcf2a54ee73262a672bb4d9720aa91fd884a8c17165d597eece97569b7ee87fd7ea1c0be663c0cb2930a66a03b4e305070f59f346485817607db3 DIST parso-0.8.5.gh.tar.gz 399412 BLAKE2B 38a0036954fec71b2878aeb2a32f437a9f787b51ab27cd773289d728371dc2cae556b8d19559dfb3cf001350d15f7256e1b2c1fcc0d0736249905a85b4b469f0 SHA512 9f24e13d0c4c1ddd818dc86414623f02beb4a2ee7e6df82fa014756f3ea2f7b7202a655250511e29d66b8bf32170780dfeda1b95ef30c051fad832240b40430a +DIST parso-0.8.6.gh.tar.gz 399847 BLAKE2B fc60c16cbb282e4db91a3bfc03b1397c28c90d8bae095310b6b7bd76102c21645d1fd6fb5e69a59a39a37e556b11140197b499a9ae9bb50fc79111910235e967 SHA512 f1468c17f1e64f4c6b7e1c6703f254c5cb93edb0905d31e5687b992726399bf1e62a101af6a80f10393573f930c91d00a07fca05e78104edee56e6b6fca6baee diff --git a/dev-python/parso/parso-0.8.4-r1.ebuild b/dev-python/parso/parso-0.8.6.ebuild index 8e3209360e65..ef46d2d73dd9 100644 --- a/dev-python/parso/parso-0.8.4-r1.ebuild +++ b/dev-python/parso/parso-0.8.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,9 +20,12 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" distutils_enable_sphinx docs + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 distutils_enable_tests pytest EPYTEST_DESELECT=( @@ -32,11 +35,3 @@ EPYTEST_DESELECT=( # but it is not actually a test and thus fails parso/python/token.py::parso.python.token.PythonTokenTypes ) - -src_prepare() { - distutils-r1_src_prepare - - # this ain't perfect but that's what upstream has so far - # https://github.com/davidhalter/parso/commit/f670e6e7dc01e07576ec5c84cbf9fbce1a02c3eb - cp parso/python/grammar{313,314}.txt || die -} diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest index 5c603e7bff80..982ad604365a 100644 --- a/dev-python/pyfakefs/Manifest +++ b/dev-python/pyfakefs/Manifest @@ -1,2 +1,3 @@ DIST pyfakefs-6.0.0.gh.tar.gz 255364 BLAKE2B 953b367fa95cbb2dccf3367de4ba6f768387d87bce2f6849b9cba4b269d52ad15f1facc12137be16095944fec9d863f6bb32aa0eeead27c97a4059e7b7d6b60e SHA512 49112c5f89843eace74ab2011b4ee1db1e5e100d3358950f4664ef3fb7f309fcef720e571e66e4b88d0997cb81f02b30c1063ac55a1877651e8aa9c3e7fa3ee4 DIST pyfakefs-6.1.0.gh.tar.gz 256597 BLAKE2B 9bd8335327bcd4641daddd5d65002849372462c7e9cc6260a2dbc4e84c3116b5b2423bb0ec60c27f37498cfb44858a1b27ed0f9650239399864a0b34edf54be9 SHA512 998ecb17afae46519da9fbca409b7cd0cb6b13c45867ad5c20b6abe1747850e4b9812aee2916f9c20d884adb0e244f87dba74a743e6d98e0e789469f90e2cc5f +DIST pyfakefs-6.1.1.gh.tar.gz 256673 BLAKE2B 649c03eae7f75b579e6f43a110896506bf316ff0222202ec5219106f6cec1e761309c03c9c8514520bf9de97d06cbd4518a39881d46da702acc3bd4a08867dd9 SHA512 e385e5e0b399da169148d40394d98408156717c2f4a9ebdf5f9f3764ffc0d91005286ca974a8e1b01a981be8ecff435fbf78e5d2a0ab34874fc3fd3126afdf2c diff --git a/dev-python/pyfakefs/pyfakefs-6.1.1.ebuild b/dev-python/pyfakefs/pyfakefs-6.1.1.ebuild new file mode 100644 index 000000000000..06a49696668a --- /dev/null +++ b/dev-python/pyfakefs/pyfakefs-6.1.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="A fake file system that mocks the Python file system modules" +HOMEPAGE=" + https://github.com/pytest-dev/pyfakefs/ + https://pypi.org/project/pyfakefs/ +" +SRC_URI=" + https://github.com/pytest-dev/pyfakefs/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +EPYTEST_PLUGINS=( "${PN}" ) +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # requires *.dist-info/RECORD file that we're stripping + pyfakefs/tests/fake_filesystem_test.py::RealFileSystemAccessTest::test_add_package_metadata + # wants dev-python/openpyxl + pyfakefs/tests/patched_packages_test.py::TestPatchedPackages::test_read_excel + ) + local EPYTEST_IGNORE=( + # test for regression with opentimelineio package + pyfakefs/pytest_tests/segfault_test.py + # test for regression with undefined package + pyfakefs/pytest_tests/pytest_fixture_test.py + ) + + if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + pyfakefs/pytest_tests/pytest_reload_pandas_test.py + ) + fi + + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # TODO: this test messes up everything + pyfakefs/tests/fake_filesystem_unittest_test.py::TestDeprecationSuppression::test_no_deprecation_warning + # TODO + pyfakefs/tests/fake_pathlib_test.py::SkipPathlibTest::test_exists + ) + ;; + esac + + epytest +} diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest index 81471e93bf77..0a3e7c2d0dfc 100644 --- a/dev-python/pyproject-fmt/Manifest +++ b/dev-python/pyproject-fmt/Manifest @@ -54,6 +54,8 @@ DIST pyproject_fmt-2.11.1.tar.gz 47310 BLAKE2B f066e5222da660e988abc1abf9425eb54 DIST pyproject_fmt-2.12.1.tar.gz 83062 BLAKE2B 4011b76e449c833653d7e366c5bd9c95b95a79a26ce66c18b5eda623d9df698787cf62c33b0364d03fb52e4cba5790248d010172ae101122b8a8613fb740e429 SHA512 bebc73b705c02df6667a18b3e2c625362d395cffe8aa8423747d42d8fdda8e7c7cfc3994e2edd904c2682d9aa5cf845d3528b6d85c895848a4926aac5b645915 DIST pyproject_fmt-2.14.0.tar.gz 109775 BLAKE2B 7417d3a08af776339056d2fd4b2abb087b901ab3f840b5527251c643ac605d009c4645f3dbf3f8b779c9856957e26d53bcf13e6d30d45d9b03c883fd13ebfe11 SHA512 30d0330c3a45f115d378bdec0497ea1aed1090fdb8a2bb2aa3f59c7f871584222af530f4c8d3bdca9562119330b6b2fc94a6591a79ad5c64c82c81846518820f DIST pyproject_fmt-2.14.1.tar.gz 118476 BLAKE2B 4d1045f4744fac803bb3c72efe51ec6ed36d0f67ad3115a0e28c17e59d6525c75c0010b4728269f7e6c01307c4fcc9f3d014ff5c12786c41f5e6c1c1999e348e SHA512 0a58e5bdafb161fcf19b179a60829e032c8ee94a4461571dd5daff8a0a2e1e3c2bac6ab78388e2d5f666b52793b2055ae84fb0d8f57bbae44bb0d6573683f499 +DIST pyproject_fmt-2.15.1.tar.gz 125598 BLAKE2B af12d3a62b558a3ac7edcaf67db7d2ee2a69f09cfe3968cb977e57b636b230c2356c2ffa03ba11a829447bec2e852b56b54b030e02e8fb19bbf542f093db327e SHA512 2caf5d3c79453692b7f1c971c3404de3647c37a794db404d283f64d6b8dbac917ac20dd8d50105f80c0cbdb75ae73b17e06022094759ef74b88283203d8ea468 +DIST pyproject_fmt-2.15.1.tar.gz.provenance 9836 BLAKE2B 48af8cf30ac4490c5f3b0e4b59347159f61b9c7e5dab43f00b577635e5e5b8a4b4458c9c023f7d7288ca7399128dcdf3e62ef7e7807dc43fdac221ddad3cf5ec SHA512 0ad754761cbb46ea58b1034aa8b9e0310bbed4e6eea3a285628ced9952127877834696c0042df1cf4ce1f71476e7c54ff56058d1cc98814f165740621e3a04b8 DIST quote-1.0.40.crate 31063 BLAKE2B 09036ff3e5ebbd775c466bb936de91d4c070481eb4b98c62a4cddcda57cd7b67d63f979b321f6ec64aabee3f5da6c28e7a3efb83f4647768ba578f1bd0bd0bdb SHA512 45a76e22a2b0bec47e4ba73c3b73cc41d821dfcce9876134c5d8eed514da214aee4ce7612e372c8709f888c0d8b9b7e5442f27adb7a59f3571f0339ed7e2ac99 DIST r-efi-5.2.0.crate 64764 BLAKE2B ee17fae983b2c39137cb75698062a3bf8edb4bc680b04900797730618b54298e2f1d13ceab6b660f7a1799f6fc4113ca15d4320b1b95fc42913e0930f3aa16f8 SHA512 80f89d467b482297ec2c13cb0dc8e310442495483e25c33bb523f1cb66d6ce01fee4a57b36880a4f51c0e9f20eb3f993a5bc0a13224d52693dbc81b97c630158 DIST regex-1.11.1.crate 254170 BLAKE2B 5cf41012fc2ba8a006c0eb4a922cbbf1614bf300be361c9e2d98956a9a5e9b140e37bea09132fab7bfb633d4439158723624bcf45e8c619c4061b399253c1b82 SHA512 d065f6dc405771518260425f39a5eaaf8cab62e78c91ceed3b3994a9a121674d2484cadaaf816bdad89c87a40550d57b66a3d9de6618a7119a658301ce7e67d8 @@ -88,8 +90,10 @@ DIST time-core-0.1.4.crate 8422 BLAKE2B 3c9fd96b77b2d405ef696d62d18639945b81d1c8 DIST time-macros-0.2.22.crate 24604 BLAKE2B a511923e4c8d790ed422e4635244796154b6893a3dfdd32e9b960fe0a12749a23656335573b42c1245984988382e6991e242830c770378580a61e9f451bd06a5 SHA512 7633ea40338364add29e7cf6beb7f2e9c441a8fd6079fba9b9fd13dcda6537c2ccbc3091cb6551715649d13080567fa26ed6db4e4b3402736105f526da2f45bc DIST tombi-45fd7d87b0e081ac3c29b207d4ccf89dc0a7ab97.gh.tar.gz 10358694 BLAKE2B 5c9d9372094dd730a5868b48d5536734b9127b34c416f5cfbb4d2bfeb26446e167fd5b26be06bffa8e774a52a6ef333b603e761033dd5c169c7575d6eead86d7 SHA512 eb4d3f2d51569dac76fc073459b4f24a91089011412353510050e533701fd38c4369003fdc005cc742e9e8ee3fe8b40b4a3c4afd44587dee8892a335e107c277 DIST tombi-73d0800f0cf60e04fea74992d7abb6fcac435749.gh.tar.gz 10358630 BLAKE2B b71e4b99b74341e21539310bcfa7859cafc5e37a92ecc09b7772a12fcdb0ea21650313deaa37de42bbfbc5dc814092d09a4544113432a623fd96387488a5dd9d SHA512 268cb8ce9f09e727e59a108e8c233bf97abaea4b5472dcfd66f9b9d9c77dcab3ad1479665b47b2ccb9a4dc02f0cc1821673bd71b9e39d97d106be7c130d6b6ba +DIST tombi-749df5d762ec02cc6d960f37dbaeaf060ebaf1d5.gh.tar.gz 10358474 BLAKE2B 8be3c90eafd12905f2104ca937e239b30f0c8e3c5cd124e401412c70755daea06f09d7e794f4d6910c6065fdc37c4ab5c3500e3594a9fc747669ace95f8f3a81 SHA512 5b8be960e387af08af4d381958dce6e71319f8022093c2279281e5449e5737d0c6843c1a5b7568076d4f72d86bc06021a5cc8b221af90adc95100c96388eda05 DIST toml-fmt-pyproject-fmt-2.14.0-crates.tar.xz 17729776 BLAKE2B 00b4918b86c3c35d1a0574348ad6f4559b33e06553e25906da65971d33a428c4a2842b07ff551e823800a3b10682fe1c607cd412f0468ac209c68b73d90ac26e SHA512 63b69d0dc643915ff8930dc8a367f7e66ce6034e20a269482cd152ef88dcbd1ccfb2664a291d1881a47eee4b36c1458e3d1f869ea60f1d1d6119deb0fe9ed561 DIST toml-fmt-pyproject-fmt-2.14.1-crates.tar.xz 17945184 BLAKE2B 8e8e9b9713aaac87efcc128f194217c0f662e947d6011d675fe789594ca689ed947f71999a1f2e59ae7afb59cdbb76be1bb96a2a1f54c8a917115ef0a1ef088b SHA512 7d4eec57f8f1733bdbb86fa75ef198a45f9c56e93feff96c3e12c7747f637ffacd55a71f999ec3b34a48ee08e8772e5f858d56bd243b8a003861d504f2edcb8b +DIST toml-fmt-pyproject-fmt-2.15.1-crates.tar.xz 17961528 BLAKE2B 2bb9ec28695cae8feed6166291c82eed4e25e0653046e05b32dfd9fa3d8fec0d4702025c7a13fc8c9b963d8bea3cc2d44b627220b69e000cd64f05b91c236f7d SHA512 f7bf4d6aa77d84016be40a4fc6f4368a425011e285ecb69e9a32188a41141a081d49723974a97128f159767690359ece1a26a3eba94de9c7b5a9b73abf0912b3 DIST toml_datetime-0.6.9.crate 12622 BLAKE2B 0362fbee2359fb7388bd679ccf114e554234294437dd3aa26b0e969aadd0e0fb76ad89eb33e0c4a2b50883764f64708fad2e265562feba13688fdd07623e18af SHA512 8409a902d7f6c22a8837cb71fd0e4fbb40b34c1608c3e858f4f5268c34948b94e9f9dae9e6f3ba73c78e3db14754fcec0b22081160acb228ae366aeafaaead9c DIST toml_edit-0.22.26.crate 121714 BLAKE2B c1e39ec75d3d34e038d7a7e3af4d74b1a53010ed2d837a3643f08e459231ec7f15c149910dbc5294187601e342b0ba03fa8129dbc879b326841a32513ed7fdd2 SHA512 8cad3472f790e3423dadb34da76f77fd122721daa1c855a749699ac0af8e39c2453ed47369b14e8603204acb896a966ea98857118003a5d75cc48ca5e28ecff7 DIST tracing-0.1.41.crate 82448 BLAKE2B c056d938e001654e03efaec7a11eb8ecfbdfe9af2099271fcefa43f4f4683b40c59f7111fdf7f27df4da38bcbe94f1b2ac0abb6ec3d6e6a0d165b9fbb14da3a3 SHA512 dffb8d3a1375f1b9d5418550a46cb7b1d92b2cc8ffbccb430a38f7731547960775bb42798074186711847d256eee30fb3e74078b69cb36f28c07d9f231dbf96c diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.15.1.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.15.1.ebuild new file mode 100644 index 000000000000..b5325fb80145 --- /dev/null +++ b/dev-python/pyproject-fmt/pyproject-fmt-2.15.1.ebuild @@ -0,0 +1,101 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYPI_VERIFY_REPO=https://github.com/tox-dev/toml-fmt +PYTHON_COMPAT=( python3_{10..14} ) + +RUST_MIN_VER="1.87.0" +CRATES=" +" + +declare -A GIT_CRATES=( + [tombi-accessor]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-accessor' + [tombi-ast-editor]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-ast-editor' + [tombi-ast]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-ast' + [tombi-cache]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-cache' + [tombi-comment-directive-serde]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-comment-directive-serde' + [tombi-comment-directive-store]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-comment-directive-store' + [tombi-comment-directive]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-comment-directive' + [tombi-config]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-config' + [tombi-date-time]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-date-time' + [tombi-diagnostic]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-diagnostic' + [tombi-document-tree]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-document-tree' + [tombi-document]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-document' + [tombi-formatter]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-formatter' + [tombi-future]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-future' + [tombi-json-lexer]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-json-lexer' + [tombi-json-syntax]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-json-syntax' + [tombi-json-value]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-json-value' + [tombi-json]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-json' + [tombi-lexer]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-lexer' + [tombi-parser]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-parser' + [tombi-regex]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-regex' + [tombi-rg-tree]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-rg-tree' + [tombi-schema-store]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-schema-store' + [tombi-severity-level]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-severity-level' + [tombi-syntax]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-syntax' + [tombi-text]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-text' + [tombi-toml-text]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-toml-text' + [tombi-toml-version]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-toml-version' + [tombi-uri]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-uri' + [tombi-validator]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-validator' + [tombi-version-sort]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-version-sort' + [tombi-x-keyword]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-x-keyword' +) + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Format your pyproject.toml file" +HOMEPAGE=" + https://github.com/tox-dev/toml-fmt/ + https://pypi.org/project/pyproject-fmt/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} + https://github.com/gentoo-crate-dist/toml-fmt/releases/download/pyproject-fmt%2F${PV}/toml-fmt-${P}-crates.tar.xz +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT MPL-2.0 + Unicode-3.0 ZLIB +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + ~dev-python/toml-fmt-common-1.2.0[${PYTHON_USEDEP}] +" +# tox is called as a subprocess, to get targets from tox.ini +BDEPEND=" + test? ( + dev-python/tox + ) +" + +EPYTEST_PLUGINS=( pytest-mock ) +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/pyproject_fmt/_lib.*.so" + +src_unpack() { + pypi_src_unpack + cargo_src_unpack +} + +src_prepare() { + distutils-r1_src_prepare + sed -i -e '/strip/d' pyproject.toml || die +} + +python_test_all() { + # default features cause linking errors because they make pyo3 + # wrongly assume it's compiling a Python extension + # https://github.com/tox-dev/toml-fmt/issues/23 + cargo_src_test --no-default-features +} diff --git a/dev-python/pyproject-metadata/Manifest b/dev-python/pyproject-metadata/Manifest index 13368debed83..c400a7a87a79 100644 --- a/dev-python/pyproject-metadata/Manifest +++ b/dev-python/pyproject-metadata/Manifest @@ -1,3 +1,4 @@ DIST pyproject_metadata-0.10.0.tar.gz 40568 BLAKE2B 2c4280e863aa809a6b2474da48c1207568a76d6ea88ce0c22ee5741557485c12f1f7fe3d4449150b58ef7f2c15de3d91423c7e4bf3c67b700ad9297da7871072 SHA512 78d912dcd0cdb969a543220231822db73da4a7a0dff40587c120484e7596794ee6544a133ae9f4c8f123d7854d0d75fa2ae1f41639544e96964c4cf20a2b5925 DIST pyproject_metadata-0.10.0.tar.gz.provenance 9321 BLAKE2B ecaf063ed462d6917f4c1906b2e0ab44f7e49f4dd5074f28106138a2eaad33766ce26911162a216f0c0d1770a6272033529e79a7dc884a5537dc966e11377790 SHA512 fcd0c1cbb76b8e0fd9fadd37e2fb1e5dc749b0e81f4a28e6e35c627637a3c304d59d7f15a8b23e2f704f576800f771047b5ace2e3a29afc024bfc3bcc541ecaa -DIST pyproject_metadata-0.9.1.tar.gz 38415 BLAKE2B dced26d0cf326e1efc8029e7de595d3f0be4818cb3c78fcb809fb2888db1b51cb7ee5c45be9fbe7b4a4d6bd15a8c6aad9fb80b135572c62df5cf23531fc140f9 SHA512 df4623d0798d5203e085af3c13107a77c600c70c8e10c3a28c30ee78010e7deebce477b9b24fe91d5990450ba1d9935c55cf2484432caadad2edb3cf58114256 +DIST pyproject_metadata-0.11.0.tar.gz 43799 BLAKE2B b6fc1e7ff0019172b1631864d7aee048f0304388bc7dbab65ae96f30713b75863b051ef73d1c0746c764cd601c8ccdde683dbc84cc1f8ee4d658607fe18ae70f SHA512 c26e6deef7fa34147079006934d79846bba39289f87a1c30fabb5d378b7596bb13f4719686a94350d03933960459b351ba55bebbf0f16558984e40d92f05f784 +DIST pyproject_metadata-0.11.0.tar.gz.provenance 9370 BLAKE2B 0addaafd89084690e0f624e01995be36dcd9024455b26f8130bdb6f99794f4ab2c4764898b2c192a307b230c858f2ed62ab222cc8ee2818245230798cd17efcc SHA512 8ef2f57b1e07009af61ed6dced5db528ed97d5dd2da91fba187081e8cc948426eaff24649fceeffb63bf3386fb1b3847472a42dbd1785b578b245209492d41bd diff --git a/dev-python/pyproject-metadata/pyproject-metadata-0.9.1.ebuild b/dev-python/pyproject-metadata/pyproject-metadata-0.11.0.ebuild index a1e0764124fd..1664c5e94604 100644 --- a/dev-python/pyproject-metadata/pyproject-metadata-0.9.1.ebuild +++ b/dev-python/pyproject-metadata/pyproject-metadata-0.11.0.ebuild @@ -1,9 +1,10 @@ -# Copyright 2022-2025 Gentoo Authors +# Copyright 2022-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=flit +PYPI_VERIFY_REPO=https://github.com/pypa/pyproject-metadata PYTHON_COMPAT=( python3_{10..14} ) inherit distutils-r1 pypi @@ -16,10 +17,11 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" RDEPEND=" - >=dev-python/packaging-19[${PYTHON_USEDEP}] + >=dev-python/packaging-23.2[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/dev-python/pytest-httpserver/Manifest b/dev-python/pytest-httpserver/Manifest index 5ac7256ab9be..89f91c7b94ef 100644 --- a/dev-python/pytest-httpserver/Manifest +++ b/dev-python/pytest-httpserver/Manifest @@ -1 +1,2 @@ DIST pytest_httpserver-1.1.3.tar.gz 68870 BLAKE2B 44d4983f6845c76d4b5355e7dd070a542c040ef41501c96fd4812e180a807947d66cb43e4f38f4f7243d04c9080c03ec1ba3fc17e8d9af97b37cc622761f026f SHA512 502b7f0e3904746277ddd6007fea4f3920d402534855917a5d471ed7ce55c4aacdbb3c24d2cec349c29a128fc28e35f540373165c9de79c3ccb2ce7a9f28ba9b +DIST pytest_httpserver-1.1.4.tar.gz 8295814 BLAKE2B 3581f67eb493bbcfcedae1edecb34877abf198c7b1fa1ac80452c195d2ca7ab9558ed7fa1ef210387603a48e1a18a38482b228a378b43f065f07031e54ce2f25 SHA512 7e94a60113000bb8c91bed4c95f822333ea013b3eb51f969d3033c0c0b7feb146f98821f09b33efbe1304387995ea453296f208732f30c028a1869b8b1b70764 diff --git a/dev-python/pytest-httpserver/pytest-httpserver-1.1.4.ebuild b/dev-python/pytest-httpserver/pytest-httpserver-1.1.4.ebuild new file mode 100644 index 000000000000..80cf2fd65088 --- /dev/null +++ b/dev-python/pytest-httpserver/pytest-httpserver-1.1.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="HTTP server for pytest to test HTTP clients" +HOMEPAGE=" + https://github.com/csernazs/pytest-httpserver/ + https://pypi.org/project/pytest_httpserver/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/werkzeug-2.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( "${PN}" ) +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # tests from building release artifacts + tests/test_release.py +) diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest index 9758322be62b..c9cc3979ee33 100644 --- a/dev-python/redis/Manifest +++ b/dev-python/redis/Manifest @@ -1,3 +1,2 @@ -DIST redis-py-6.4.0.gh.tar.gz 4878820 BLAKE2B 672421ec98cec3c908f3980fb995433e2e52137d9e6786b43fe7d6412884e6774d234698cac96f9a96a6176e14c55cc2742b3697b70c1d9a308a8a6ee0e5b8ce SHA512 94df8fb65e991d98be6e776b8c889d73615f5b1ab8727a9b5f6982f50ef441bc2c3aff0db3383cd8001df2fd525f98513046f7a1ff7f067fc16c479aecf507ae -DIST redis-py-7.0.1.gh.tar.gz 4995439 BLAKE2B 5862023741c2ceefd71733c41898d97921e679d8971cf1a806c2969db22da8f19918e71018c1b6f392030328901001f4517e86c742d885977e9477b7b56c6684 SHA512 9ce7118be02f5954e83628a1568e564afc84056a958bda9d671154499be458f4d21e1a9a268638afd04f6ed0f6f2d4943bde4fe8eef2a96fcd8406eb853a9452 DIST redis-py-7.1.0.gh.tar.gz 5038766 BLAKE2B 453c2c35303a72f7919208afd5c5891d0b091a44d5177974246bb0b4293f9a909b576e95fd7072cdbc206c534dc9f8f13f729a558ac1d628e6d2213fecfa7632 SHA512 b2a00b43cb04cabbf9c69b3f70d9250a215d1bb9dde8ba50aef27b28e786b70f7e65f684203258c97d7b7d8c9ce1511d404f507a7273cb528f6e3a983bcdb47a +DIST redis-py-7.1.1.gh.tar.gz 5042907 BLAKE2B 311fb245207cff3fc791820e4d8c434e12fc8eb4997b467d8d7e23bdc10185f6bbfe4e6ff776b9e8908646fbb38032b97f7a45439e3779ab435df9644a4d1d1d SHA512 14aea43cfa497fd2f7ceb6452fa4cc82e5e9844310bbaf39aa1221c3f3d42b12adbd069a4c9afce461fd5c4617f7f358345afed6b97135c444e76f9b91a6848e diff --git a/dev-python/redis/redis-6.4.0.ebuild b/dev-python/redis/redis-6.4.0.ebuild deleted file mode 100644 index 5e826cf72500..000000000000 --- a/dev-python/redis/redis-6.4.0.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -MY_P=redis-py-${PV} -DESCRIPTION="Python client for Redis key-value store" -HOMEPAGE=" - https://github.com/redis/redis-py/ - https://pypi.org/project/redis/ -" -SRC_URI=" - https://github.com/redis/redis-py/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86" - -BDEPEND=" - test? ( - dev-db/redis - dev-python/numpy[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( pytest-{asyncio,timeout} ) -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # Flaky test - tests/test_pubsub.py::TestPubSubDeadlock::test_pubsub_deadlock - # require extra redis modules that apparently aren't packaged - # on Gentoo - tests/{,test_asyncio/}test_bloom.py - tests/{,test_asyncio/}test_graph.py - tests/{,test_asyncio/}test_json.py - tests/{,test_asyncio/}test_timeseries.py - # apparently available only in "Redis Stack 7.2 RC3 or later" - tests/test_commands.py::TestRedisCommands::test_tfunction_load_delete - tests/test_commands.py::TestRedisCommands::test_tfunction_list - tests/test_commands.py::TestRedisCommands::test_tfcall - # TODO - tests/test_commands.py::TestRedisCommands::test_lolwut - tests/test_commands.py::TestRedisCommands::test_module - tests/test_commands.py::TestRedisCommands::test_module_loadex - tests/test_commands.py::TestRedisCommands::test_zrank_withscore - tests/test_commands.py::TestRedisCommands::test_zrevrank_withscore - tests/test_commands.py::TestRedisCommands::test_xinfo_consumers - tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrank_withscore - tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrevrank_withscore - tests/test_asyncio/test_commands.py::TestRedisCommands::test_xinfo_consumers - tests/test_asyncio/test_pubsub.py::TestPubSubAutoReconnect::test_reconnect_socket_error[pool-hiredis-listen] - # requires sentinel? - tests/{,test_asyncio/}test_sentinel.py - ) - local EPYTEST_IGNORE=( - # fails over missing certs, we don't do cluster anyway - tests/test_asyncio/test_cluster.py - # require redis_entraid - tests/test_asyncio/test_credentials.py - tests/test_credentials.py - ) - - # TODO: try to run more servers? - epytest -m "not redismod and not onlycluster and not replica and not ssl" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - if has_version ">=dev-db/redis-7"; then - local extra_conf=" - enable-debug-command yes - enable-module-command yes - " - fi - - # Spawn Redis itself for testing purposes - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 ::1 - ${extra_conf} - EOF - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} diff --git a/dev-python/redis/redis-7.0.1.ebuild b/dev-python/redis/redis-7.1.1.ebuild index 32801065db42..1272b41076a6 100644 --- a/dev-python/redis/redis-7.0.1.ebuild +++ b/dev-python/redis/redis-7.1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" BDEPEND=" test? ( diff --git a/dev-python/spyder-kernels/Manifest b/dev-python/spyder-kernels/Manifest index 879e793f8c9e..cd20f2f65512 100644 --- a/dev-python/spyder-kernels/Manifest +++ b/dev-python/spyder-kernels/Manifest @@ -1 +1,2 @@ DIST spyder-kernels-3.1.2.gh.tar.gz 246773 BLAKE2B 45084796db9b6c77ff32acf4ccceac62963b263394f398eccd299c7990e26175749904048707d2ebab3758656be2d1100d905a962fd726e7a13c0ebfc0ad63b4 SHA512 581da418e46c71c05548187b1c0ddab283bb58c4c5cbbb71e54ef8bab24fa54a51ef1d15b513c4f93d95d1d66c3d32de2ed8b403ff3eb7e8fa5fcdf755695a9f +DIST spyder-kernels-3.1.3.gh.tar.gz 246952 BLAKE2B 5de8c726e011d4d62e44c7b732bdc6aaae1ad3cda8a4358281707e7a26d18ac0ca3ce59977a376fad489bd2327f58f05c85fb2ba5abf10d5e5e59b3b81f9ae7a SHA512 b2560c55dc70f53a83f3962a9e150658edee68ae74acc5e0ce60c6d3137514838a392616aee55ba9c8cab462e38b2a38d1f72a9ff89e6c3bf9c7dbfd552f68b3 diff --git a/dev-python/spyder-kernels/spyder-kernels-3.1.3.ebuild b/dev-python/spyder-kernels/spyder-kernels-3.1.3.ebuild new file mode 100644 index 000000000000..5002eaabed23 --- /dev/null +++ b/dev-python/spyder-kernels/spyder-kernels-3.1.3.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +MY_P=${P/_beta/b} +DESCRIPTION="Kernels used by spyder on its ipython console" +HOMEPAGE=" + https://github.com/spyder-ide/spyder-kernels/ + https://pypi.org/project/spyder-kernels/ +" +SRC_URI="https://github.com/spyder-ide/${PN}/archive/refs/tags/v${PV/_beta/b}.tar.gz -> ${MY_P}.gh.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/cloudpickle[${PYTHON_USEDEP}] + <dev-python/ipykernel-7[${PYTHON_USEDEP}] + >=dev-python/ipykernel-6.29.3[${PYTHON_USEDEP}] + <dev-python/ipython-10[${PYTHON_USEDEP}] + >=dev-python/ipython-9.5.0[${PYTHON_USEDEP}] + <dev-python/jupyter-client-9[${PYTHON_USEDEP}] + >=dev-python/jupyter-client-7.4.9[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pyxdg-0.26[${PYTHON_USEDEP}] + >=dev-python/pyzmq-24.0.0[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.14.3[${PYTHON_USEDEP}] + >=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/cython[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +EPYTEST_PLUGINS=( anyio pytest-rerunfailures ) +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # pydicom only packaged in ::sci at the moment + spyder_kernels/utils/tests/test_iofuncs.py::test_load_dicom_files + + # require polars + spyder_kernels/console/tests/test_console_kernel.py::test_get_value_with_polars + spyder_kernels/utils/tests/test_nsview.py::test_polars_dataframe + ) + local EPYTEST_IGNORE=() + + if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + # require pandas + spyder_kernels/utils/tests/test_nsview.py + ) + fi + + if ! has_version "dev-python/h5py[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + # require hdf5 + spyder_kernels/utils/tests/test_iofuncs.py::test_save_load_hdf5_files + spyder_kernels/utils/tests/test_dochelpers.py + ) + fi + + epytest +} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index d052f1f571ee..815baae386c3 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -1,5 +1,6 @@ DIST sqlglot-27.24.2-crates.tar.xz 8973180 BLAKE2B f893ebe4b94d4c2ab94f8fa902e51066e861511f698b24660d5becd31a98837c5a7f23a3d80c0716e8017012ae61f7202440c0092e1417e5f61b62e2e9f4260b SHA512 6a92b1ba2fbb51eac170db7a927927f8a06f184ebf820107a813c9cfa4dcdbea794199090a33986b48f5f00b3f43b404b7e1d26f5bf9663c53cb2b8f134d69af DIST sqlglot-27.29.0.tar.gz 5503507 BLAKE2B f9c92b8f287ca4c99c792d005e62846afd669ba27b5d09042de06c8c3fa5e46b21abdf5134cc81ae3ae2cb13d0a5997c56ac07c14e5fb938544d5dbc08c70632 SHA512 5fc7a8a81b39a2dba007b501f1f5c2de9fa1e74b39d44e1bea706491db1ead0329aa2fbfb7c4997a50458137af70d259a227a8662ac26ba2904dde2b66922bb1 DIST sqlglot-28.10.0.tar.gz 5739594 BLAKE2B 80096fb378882195090942eaedc96a08fd30b45e654f1b0f8fed6601baf8706d747365f5731bbe7747ea077d6cb03587d5510f8443a4864b517ff39495bd2bb3 SHA512 dad42fa4e5f9c66efcfe3230187a1f859a1ef7e90ec97bc644ce097f04b6ae40002b9cdf5977d1258e1aa4aaafd4ef2fcae68309774b30ee2465e6325033ab1a +DIST sqlglot-28.10.1.tar.gz 5739510 BLAKE2B 0de78bca49ed34067754b4a85476fb2c1c25223c1623144bd6bc1939ea8e2f300be77310842595342dd4d482ed81b73076b8c6e3b78696e98ce4556f7085bf16 SHA512 9427028c5cd1d99f9c904658d16359098109bb4ec502f4c3119265fbfc7cfa438203bb876b92efbb6041820d58d55d404b4dacba9b6018718486466e58801400 DIST sqlglot-28.7.0-crates.tar.xz 6575196 BLAKE2B 29a29117c0118312e425cadb4ad2b2051bb3e7740175fab28865740051916b636f161ad0aa1afc346575698156b595c05cf9eec217b1ddd92d2f8a8741ba1686 SHA512 205a6932d593c41439e8de6b694bb1206e554c92ee2647cdd0fa33cf5497f46bea2e67e5e6b3e4af336837e3bd2cf2c0b82dfd7dc99a283bf134ba62c413d2ff DIST sqlglot-28.8.0.tar.gz 5734732 BLAKE2B 06ffba829543a83bf70880f64eb5822c3f56c791e4faea810e61d307f19c59fb567fdce42b67e7713b5bd48da396c4667fe9deb1238ae49311ba954a5c0cd2c2 SHA512 cc5441759541adaa642954d0abc8dccb1a77a400182b87a12e5e4ebd573233431ae39f90bfb7f5f9032fa7ad716f8b53f1eec4706613b69c221d118079a6057d diff --git a/dev-python/sqlglot/sqlglot-28.10.1.ebuild b/dev-python/sqlglot/sqlglot-28.10.1.ebuild new file mode 100644 index 000000000000..c1ea5b5b0b0d --- /dev/null +++ b/dev-python/sqlglot/sqlglot-28.10.1.ebuild @@ -0,0 +1,92 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES="" +CARGO_OPTIONAL=1 +RUST_MIN_VER="1.81.0" +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) +CRATE_PV=28.7.0 + +inherit cargo distutils-r1 pypi optfeature + +DESCRIPTION="An easily customizable SQL parser and transpiler" +HOMEPAGE=" + https://sqlglot.com/ + https://github.com/tobymao/sqlglot/ + https://pypi.org/project/sqlglot/ +" +SRC_URI+=" + native-extensions? ( + https://github.com/gentoo-crate-dist/sqlglot/releases/download/v${CRATE_PV}/sqlglot-${CRATE_PV}-crates.tar.xz + ) +" + +LICENSE="MIT" +LICENSE+=" native-extensions? (" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 +" +LICENSE+=" )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+native-extensions" + +BDEPEND=" + native-extensions? ( + ${RUST_DEPEND} + dev-util/maturin[${PYTHON_USEDEP}] + ) + test? ( + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" + +pkg_setup() { + use native-extensions && rust_pkg_setup +} + +src_unpack() { + cargo_src_unpack +} + +python_compile() { + distutils-r1_python_compile + + if use native-extensions; then + local DISTUTILS_USE_PEP517=maturin + cd sqlglotrs || die + distutils-r1_python_compile + cd - >/dev/null || die + fi +} + +python_test() { + local EPYTEST_IGNORE=( + # Tests require pyspark or duckdb which aren't in the tree. + # Pandas would be a requirement normally, but it gets ignored by proxy. + "tests/dataframe/integration/test_dataframe.py" + "tests/dataframe/integration/test_grouped_data.py" + "tests/dataframe/integration/test_session.py" + "tests/test_executor.py" + "tests/test_optimizer.py" + ) + + # make sure not to use an earlier installed version + local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) + rm -rf sqlglotrs || die + epytest +} + +pkg_postinst() { + optfeature "simplifying timedelta expressions" dev-python/python-dateutil +} diff --git a/dev-python/types-setuptools/Manifest b/dev-python/types-setuptools/Manifest index dde11385810d..c16078a18937 100644 --- a/dev-python/types-setuptools/Manifest +++ b/dev-python/types-setuptools/Manifest @@ -1,4 +1,3 @@ DIST types_setuptools-80.10.0.20260124.tar.gz 43299 BLAKE2B a8b2a540aabd60c4ea028a99beb868765654eb1849221b2d110f54f921e298c97333e77b35eab501126864e42c56197f5bce451caed115a9574dd685d0578487 SHA512 567c74b5090478a95384bfbed8c74b9d575abb610dd9c3cb2301316c7217374b8d39b1948f9e07ad7bbedd747ab47259afec70d7a0b57895e6bb211c1014bed3 -DIST types_setuptools-80.9.0.20250822.tar.gz 41296 BLAKE2B c516853b056856dba1594a1ff78a665b4cf18c9f0be42931a07dfb46b0157fa4da871a95b5f1636a25c9955a0634fbde7366f5d5bf13a63e66fe619cc14b674e SHA512 45eb43575f18865ae8d168f6b7e6e99823323baca1d9b00cc797ac62c7a4e24503233ac1dff2804b361339c016251cd98fe72826187b9dab311ef68933f8e012 -DIST types_setuptools-80.9.0.20251221.tar.gz 42240 BLAKE2B f5ffbf3c3aa1335b2215b96d9757afc30b8abef3baf602ffefd115ce335c5d5f98d603ee7d18d11d870c4bff2fbda37a85e1633c77a21a2bb0bbd8141f582af4 SHA512 0502ab67233cb5a48e2d820b9d0e1386a58ccaedea218becef509cfd4584b3b522355e75af85f63daa4548f06d8b285396c166598daac11fec91e1c7ecb4123d DIST types_setuptools-80.9.0.20251223.tar.gz 42420 BLAKE2B 1c023a586b1898ab3e7d262e83f8e7c05b700a0c52362732c4f1a8b0b02f395b71373d0dca11121c230e0b4feece8175c5239a1dd8eaf214ba60ed019cd8fd35 SHA512 1cad22757d1ddce329f0b61c0f76f0c4b293b9fdc035330650cd0820e6554f0f5b430f4d76e0f8e3d3a9a74d192490aa65bdc89bda177456f8a905313307bcbe +DIST types_setuptools-82.0.0.20260210.tar.gz 44768 BLAKE2B 6c5b14731a8ece67e233dcaf3ae65a058351eba85865954dfdca5ccee563c5aa552d5731350b9bde92b5e16c2afd63f964ad3115cc45ca7609591f0ec36dba34 SHA512 e1ec89d826df32a77dbba33721402588fe363fb17f098df6473e6711d1ac67e90dce3d20c47774c28d08aceb1f134c15dbc9bfc3ca6306d10773ec7c80979aa0 diff --git a/dev-python/types-setuptools/types-setuptools-80.9.0.20250822.ebuild b/dev-python/types-setuptools/types-setuptools-80.9.0.20250822.ebuild deleted file mode 100644 index 6ebe6ced4375..000000000000 --- a/dev-python/types-setuptools/types-setuptools-80.9.0.20250822.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Typing stubs for setuptools" -HOMEPAGE="https://pypi.org/project/types-setuptools/" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" diff --git a/dev-python/types-setuptools/types-setuptools-80.9.0.20251221.ebuild b/dev-python/types-setuptools/types-setuptools-82.0.0.20260210.ebuild index 8ae418e8f6ba..5debe9da527f 100644 --- a/dev-python/types-setuptools/types-setuptools-80.9.0.20251221.ebuild +++ b/dev-python/types-setuptools/types-setuptools-82.0.0.20260210.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023-2025 Gentoo Authors +# Copyright 2023-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/wxpython/Manifest b/dev-python/wxpython/Manifest index b2d248bc4136..f1a8f1d81fd3 100644 --- a/dev-python/wxpython/Manifest +++ b/dev-python/wxpython/Manifest @@ -1,2 +1,3 @@ DIST wxPython-4.2.3.tar.gz 58861286 BLAKE2B 2c674227ff109564be1431f2a86a212250ffac809fed4ca8934f7473c93616603e252098511e443ffdf460ab546b5eb17b3f29ab275fb8b5433041a4d47e48cb SHA512 c7b9f0758b9d77dbeab436e8069c024796b6f252af5043615e14083b3f62fb44386c5f325a118f9e2d99c15eeb7687bb1cc1a13a00263114689b32e2126364a7 DIST wxpython-4.2.4.tar.gz 58583054 BLAKE2B 03b236deb44a345beb989273af605228f5336eaa8b4a3a18b5654536007457b8a31b4a266e31ca8445a7b948c6d6af4040f9b005930ec5c653394e97af539a0f SHA512 4ae124bced8a0d357a34763c981ef370b7c0c978dfba0f941f37e83227816881fee2e65eb7eaa2a114bbaded14afd8e96ad17dba5a9886b38ac35bc75ec82737 +DIST wxpython-4.2.5.tar.gz 58732217 BLAKE2B 767238e3279c92c3a15fdcd8752ccab47325ca5e3fb3750f47e8d7a13882024dfc84470dfefb885c7aff121a385feb205db211a4c66d850230953e6ddbfd7e47 SHA512 a094faab4f901e46c6a771168160b0e3fec336e937507fedab97a0645df55671af046e673344a37d3d6997fadcb83c5490a673c2475c200841ef9eb12bc19763 diff --git a/dev-python/wxpython/wxpython-4.2.5.ebuild b/dev-python/wxpython/wxpython-4.2.5.ebuild new file mode 100644 index 000000000000..1b6dab08228a --- /dev/null +++ b/dev-python/wxpython/wxpython-4.2.5.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2026 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..14} ) +PYPI_PN="wxPython" +WX_GTK_VER="3.2-gtk3" + +inherit distutils-r1 multilib multiprocessing virtualx wxwidgets pypi + +DESCRIPTION="A blending of the wxWindows C++ class library with Python" +HOMEPAGE=" + https://www.wxpython.org/ + https://github.com/wxWidgets/Phoenix/ + https://pypi.org/project/wxPython/ +" + +LICENSE="wxWinLL-3" +SLOT="4.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test webkit" +RESTRICT="!test? ( test )" + +# wxPython doesn't seem to be able to optionally disable features. webkit is +# optionally patched out because it's so huge, but other elements are not, +# which makes us have to require all features from wxGTK +DEPEND=" + >=x11-libs/wxGTK-3.2.7:${WX_GTK_VER}=[gstreamer,libnotify,opengl,sdl,tiff,webkit?,X] + media-libs/libpng:= + media-libs/tiff:= + media-libs/libjpeg-turbo:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + app-text/doxygen + dev-python/cython[${PYTHON_USEDEP}] + >=dev-python/sip-6.11.1-r1[${PYTHON_USEDEP}] + test? ( + ${VIRTUALX_DEPEND} + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/${PN}-4.2.0-flags.patch" + "${FILESDIR}/${PN}-4.2.1-x86-time.patch" + "${FILESDIR}/${PN}-4.2.2-setuppy.patch" +) + +python_prepare_all() { + if ! use webkit; then + eapply "${FILESDIR}/${PN}-4.2.0-no-webkit.patch" + fi + + local build_options="build_py --use_syswx --no_magic --jobs=$(makeopts_jobs) --verbose --release" + + DISTUTILS_ARGS=( + --verbose + build + --buildpy-options="${build_options}" + ) + + distutils-r1_python_prepare_all +} + +src_configure() { + setup-wxwidgets +} + +python_compile() { + # Patch will fail if copy of refreshed sip file is not restored + # if using multiple Python implementations. + # TODO: Could we do this in python_compile_all() instead? It would + # save a lot of time. + DOXYGEN="$(type -P doxygen)" ${PYTHON} build.py dox touch etg sip --nodoc || die + + cp "${S}/sip/cpp/sip_corewxAppTraits.cpp" "${S}" || die + + eapply "${FILESDIR}/${PN}-4.2.2-no-stacktrace.patch" + + distutils-r1_python_compile + + # This package's built system relies on copying extensions back + # to source directory for setuptools to pick them up. This is + # hopeless. + find -name "*$(get_modname)" -delete || die + + cp "${S}/sip_corewxAppTraits.cpp" "${S}/sip/cpp/" || die +} + +python_test() { + local EPYTEST_DESELECT=( + # virtx probably + unittests/test_display.py::display_Tests::test_display + unittests/test_frame.py::frame_Tests::test_frameRestore + unittests/test_mousemanager.py::mousemanager_Tests::test_mousemanager1 + unittests/test_uiaction.py::uiaction_KeyboardTests::test_uiactionKeyboardChar + unittests/test_uiaction.py::uiaction_KeyboardTests::test_uiactionKeyboardKeyDownUp + unittests/test_uiaction.py::uiaction_KeyboardTests::test_uiactionKeyboardText + unittests/test_uiaction.py::uiaction_MouseTests + + # assertion (TODO) + unittests/test_aboutdlg.py::aboutdlg_Tests::test_aboutdlgGeneric + unittests/test_lib_agw_piectrl.py::lib_agw_piectrl_Tests::test_lib_agw_piectrlCtor + + # seems to rely on state from a previous test (sigh) + unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerRestore + unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerPersistValue + + # requires Spanish localization + unittests/test_intl.py::intl_Tests::test_intlGetString + + # TODO + unittests/test_tipwin.py::tipwin_Tests::test_tipwinCtor + unittests/test_lib_pubsub_provider.py::lib_pubsub_Except::test1 + unittests/test_windowid.py::IdManagerTest::test_newIdRef03 + ) + local EPYTEST_IGNORE=() + if ! use webkit; then + EPYTEST_IGNORE+=( unittests/test_webview.py ) + fi + + rm -rf wx || die + # We use pytest-forked as opensuse does to avoid tests corrupting each + # other. + virtx epytest --forked unittests +} |
