diff options
| author | root <root@alpha.trunkmasters.com> | 2026-09-02 03:04:44 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-09-02 03:04:44 -0500 |
| commit | db7f283451256f94921bd723861f0e82ed7157f2 (patch) | |
| tree | 938785cb5ae699af0bf0839b6e9c6a0eb776d6e0 /dev-python | |
| parent | 8d04041d08ac162ab85e05cce67bc70c471bcb33 (diff) | |
| download | baldeagleos-repo-db7f283451256f94921bd723861f0e82ed7157f2.tar.gz baldeagleos-repo-db7f283451256f94921bd723861f0e82ed7157f2.tar.xz baldeagleos-repo-db7f283451256f94921bd723861f0e82ed7157f2.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
50 files changed, 1039 insertions, 246 deletions
diff --git a/dev-python/bitarray/Manifest b/dev-python/bitarray/Manifest index 6b0b46c2d5c7..f3b24397aeaa 100644 --- a/dev-python/bitarray/Manifest +++ b/dev-python/bitarray/Manifest @@ -1,3 +1,3 @@ DIST bitarray-3.10.1.tar.gz 168648 BLAKE2B 12b22225a86c93db32dc70854c17a5046fd0ec2baa6686edea9c0cb795ce0714713c7c8f3964714d16a59ee8343636b68a0da4d54f35233df904d954b2e6f76a SHA512 330881a94c31f51501b9ab610b6567e6c347e17833cb882d7268281ee876da41bea7242ce061633eca8fd1a5826fedab7dba313aa896d4579335037b9a0afead -DIST bitarray-3.8.2.tar.gz 153516 BLAKE2B c643c2152bf8533a97b6f93116446958927a8ec0f73f191e7e48ed262beda701050231a33e23f96cd3e1f915c2b8e1f807e3105456dd370e7c3c0383d8b41a89 SHA512 fed909f53005b747c0df2cb2a3bbe64a76fc29f8cfe11ee93d441d694378dd42993ade28acb14b9d12efec73339536294806e1a8e8a9390a5c868557b7a7c344 +DIST bitarray-3.11.0.tar.gz 174911 BLAKE2B e9a2444607225488576e565046039ae5fa8787543ca6a3c75cd72fc28a49944168cc5cbdf0f573c32ba1387007dc665bbde7c11d260af3cc1fc85c1e3d7f77af SHA512 de61eff60c8534af4505046e99b1343d49e6a29f39bcd02693ad28a6ff03643c04103c2ab21c19d1515a9720721765a41a3acfb5c1452df44fb4561e8b79c691 DIST bitarray-3.9.2.tar.gz 160932 BLAKE2B 41bd8f964644df43aaa53d3f247d56d7eb313d65b7cc2f0b90215e58c9adc1d6d39254c24d4002da03d433958039818f29e952c6c95f5a971154300975792a75 SHA512 6d7c7dab22a7fdc3d4e6db3e0c582565470063de9e05baa572d5a059d0ea01bd5dc07e72a7c5ba29b37bfde5f78f2eafa7074752f67ad87d624dddfd3bff1a95 diff --git a/dev-python/bitarray/bitarray-3.8.2.ebuild b/dev-python/bitarray/bitarray-3.11.0.ebuild index d209348146c9..93b1ff66517e 100644 --- a/dev-python/bitarray/bitarray-3.8.2.ebuild +++ b/dev-python/bitarray/bitarray-3.11.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" python_test() { "${EPYTHON}" bitarray/test_bitarray.py -v || die "Tests fail with ${EPYTHON}" diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index d750f30cd3db..33649fc78d85 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -14,3 +14,4 @@ DIST boto3-1.43.81.gh.tar.gz 1216141 BLAKE2B d9a59d8ea543bc52a4258ef9ac24c76d943 DIST boto3-1.43.82.gh.tar.gz 1217312 BLAKE2B 0db0ca79b4107a3e2c31b9d93bb0e6c7b7638fde96d91eeca4aea93b5a44abef4dc8945580e645012878075a76facb79fec0af7f0cd6146599ff7ea823f4b957 SHA512 69faa2bb7044833adc64b7249ee48bd531c97f91a3ae034cdecd9cd847e6a65da9a29cdb8f71823f3478302a397e9189f7cad924c91ac384846b87abd767a232 DIST boto3-1.43.83.gh.tar.gz 1218064 BLAKE2B 0758e28dd9b086615b045e107aece2ef46bee541110e51fdcd231c60cac0452f4cdfec58ea4041757835c195cd2b8becb3c4e9fd24ad7bc306d90b16af082f63 SHA512 ed110edd551138c5d63ab7ead46a4c9ddb410dea1b5e642045102936af22c4208f357f79fc994434fc6a7df7c16aba99052508103bad7599f8cc558ae1c5f842 DIST boto3-1.43.85.gh.tar.gz 1219943 BLAKE2B 4fe0a155efcdd5dcc17c91047fab4c59edb71ac6574fc1e6472db83d9b5effb66d69d346767a159f6708d7e2f61f2f59f6bf84557df98eb6fab83b4438f7540e SHA512 3f8ca9eb5857d3376dbc204b4c3755704e6039ddc3363665e7c3a3d764808815b43c3ce0181e19113a51b5e3c8965d3030c875435cf9b872df6e02bb6136e09f +DIST boto3-1.43.86.gh.tar.gz 1222155 BLAKE2B 9d7b9fcc7a0b016779a75fba6bbefc9e8482a4f0d323be4f70df93501384a089eb9958e70d54f8ae7034d20783f123124eed5e3bef80d432b2d73cfc1994ba4d SHA512 928731d0772f743654316b3280821450979dd219457370bbbbf2cd4670a1f0c414c022c042b35a950b6c1fdc7de2c7865f4ada12c3f43851a7279d056073964a diff --git a/dev-python/boto3/boto3-1.43.86.ebuild b/dev-python/boto3/boto3-1.43.86.ebuild new file mode 100644 index 000000000000..93fbbe6dd59b --- /dev/null +++ b/dev-python/boto3/boto3-1.43.86.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_{13..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.19.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 e5d134fd8b9e..00b2d37aba78 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -14,3 +14,4 @@ DIST botocore-1.43.81.gh.tar.gz 17028673 BLAKE2B d2aa2b4106f30ded0a4abf2e703bcfd DIST botocore-1.43.82.gh.tar.gz 17033461 BLAKE2B fded5d528a205512c30a447c110550d37bcd6da33b3923497c3a07d4959a89b2801bb1de483206771e6787c8b5fa7b4bc93fa7760cb39c959e76183164452def SHA512 041996da7c7d0d7108bd651668b1cbb3a92b78f3e9f00923055583222c122d987dbddb13795b0db053fc4b4eb1d81fada9b2ec8e36445027b7b2dd5476063623 DIST botocore-1.43.83.gh.tar.gz 17038145 BLAKE2B f74b399b04f9b259e1a2f424719c4b80cc279627174ac96f9b79d85418ecc0442fbd27d7e79ccdf12526ac02489fde4254e360f216103f3cd5ff050b3cf1a838 SHA512 618c0ef0fc89879ee6900606e3378b2876901c4a63ede52529de12898a65e34fc41a8f0ad8ab682b7788626176f9b86904e257b63d88be9d58c53116918b1d12 DIST botocore-1.43.85.gh.tar.gz 17071353 BLAKE2B 84edcc7b58925e2674af6610760d683e74351dbf53c86d8fb5412739b4705677b2bd66a7f9b904ef917894cf0f1d818821fd3a61730c544d25f13e6ab54a3e1f SHA512 425d67488cfe19cd306792ab3a72e0afff0c269abb46fb26121c302f41bf683f905f480729b21929718e86ac74e390a70c07f52d0fabdc7961e063cfc87f49df +DIST botocore-1.43.86.gh.tar.gz 17090953 BLAKE2B 678080faeba0124717742214de0d2aeff669d12c315dda79df1213d897435fba91ceee6f999ae57e5f98784bdce771cbc4da735b1228c5ce945a08cd8e086173 SHA512 107571fc5da8d1ca180b64001f866e03099bec06d37129de9874ac2f28512dc0ff3915334b7681f151c4c6e4d50d58b1417552d0379afcb67c4743a0575acf99 diff --git a/dev-python/botocore/botocore-1.43.86.ebuild b/dev-python/botocore/botocore-1.43.86.ebuild new file mode 100644 index 000000000000..a3a161f78545 --- /dev/null +++ b/dev-python/botocore/botocore-1.43.86.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_{13..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/deepmerge/Manifest b/dev-python/deepmerge/Manifest index df58394d0165..02d34b722a2e 100644 --- a/dev-python/deepmerge/Manifest +++ b/dev-python/deepmerge/Manifest @@ -1,2 +1,3 @@ DIST deepmerge-2.1.0.gh.tar.gz 18155 BLAKE2B bf77b3e586469d65d0d1e7d6f6ffdd83b907a8f68194cde070eb99598cccd796b837558faaa3905be39a05438fbf324b263e15097262bd89381c6fdbf2d9934b SHA512 53aacb267e6c556b1d015825e238e3225b4ef9db80e9fc11898f81a67163bacb82f22c7828582a63b952564ccc124339dd5e74524b0d2d784076c2d442879ffd +DIST deepmerge-3.0.1.gh.tar.gz 18576 BLAKE2B 0aed21b2bbfbcb96973d28bb333474f809adf4893286980682006f96d5ea8a0a4d89b6025f537c3252227e20295f7408560ed23260b66d3e5e44fa3bf171e4dd SHA512 eed09c60be1187e18e66f8a82bf202f89c3577a30e52702a5e9a8e1ef66bd74b893111b0cfbc458d660c9224845f72cc0791603eb32e1499cfd78453104a7bc1 DIST deepmerge-3.0.gh.tar.gz 18552 BLAKE2B 0fea763e2ab571095298f85d9eb45463a3af3664dcb8aecf7a77738b6c58f9f54b3b1e3110dcced97ec2b3bc12506b21afdf0d31526f30a0997321f1f1930884 SHA512 54d5d05a24a664e1678ebe654785eca286bf0c41edda34c14ab3d4507f8c20ffe553379462b378f5fa244911e224beaa8dae0ef63b88777c1ef27bc3036e6956 diff --git a/dev-python/deepmerge/deepmerge-3.0.1.ebuild b/dev-python/deepmerge/deepmerge-3.0.1.ebuild new file mode 100644 index 000000000000..926d3ce4a287 --- /dev/null +++ b/dev-python/deepmerge/deepmerge-3.0.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 2021-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Tools to handle merging of nested data structures in python" +HOMEPAGE=" + https://deepmerge.readthedocs.io/en/latest/ + https://github.com/toumorokoshi/deepmerge/ + https://pypi.org/project/deepmerge/ +" +SRC_URI=" + https://github.com/toumorokoshi/deepmerge/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/django-debug-toolbar/Manifest b/dev-python/django-debug-toolbar/Manifest index bab607cfe40e..cc82e7fed3b1 100644 --- a/dev-python/django-debug-toolbar/Manifest +++ b/dev-python/django-debug-toolbar/Manifest @@ -1,4 +1,4 @@ -DIST django_debug_toolbar-7.1.0.tar.gz 363278 BLAKE2B 529194b2c1178e1a63c6e88a885daee91fd0e17687259e663d73a1a699325da287b1ec0fe1acd5d94ed0d80d1a93676e65f0fa884118d668e9c0efe6e5a8e459 SHA512 dc950d7d7addd2f0bd625e7cca7f2cb8cfdfe091ab3f07661845c0ea5597193e81c9c872ea16d399ba08e560aeace88fb7de531502baba98da017ba409818b5e -DIST django_debug_toolbar-7.1.0.tar.gz.provenance 10334 BLAKE2B ad6a340b8f8b3dd7f329613b361e4763d35514b546b1fe675d4d3190132d2da71d3a20b10c8eeeac6bfe83db2ff86c3aadd7da651663b944a4385dd11300b949 SHA512 4d09c42c539e555a92e8903f01c4e3e6f61a64d25b540fcdea329b9885800900aed315cc2120df65ba14104f9efefe884035845cc6ec3d934ada3a4b02057407 DIST django_debug_toolbar-7.1.1.tar.gz 363531 BLAKE2B 8bb95cb3fee6249be5097e5431fda74db148ec8cf5c204bcd92c5461f6ffb1b91a5f69c4344af616e4e366f63a9823d5b32e73e40a57bebf9706b35db2f440f7 SHA512 ba69f482f96d2a492c5e1ec06f39f51745b93e486c179882f51c986964f7de83edd3731d877657a3396dd330e3fde42cf47bf5550d18285c85abfd55b063b982 DIST django_debug_toolbar-7.1.1.tar.gz.provenance 10477 BLAKE2B 4b3179945196235ba103fd4ced53398f075df62cfeb792fadb751ef11be321f33bffcf9e02d617f80bfe3363629b41bf2c095018218053f10a41a2dc80ad6868 SHA512 51a8d5f751297c2648a0d201724d9dfb3a40298fec4ee9bc36503eadd362ab798e80666b1ab514e5dcec36348d82efd52b9d7e5da6f90b798635b6ca67535b1a +DIST django_debug_toolbar-8.0.0.tar.gz 1239141 BLAKE2B 9cbf7b8257b807642f3e819b143a1bf30107b90417971ad2785d0563dfafd93dd9752bfa713833245bedfd38ae24f33e7a414e244f8f719dc67d09c25ddf72b1 SHA512 628a67514de7ec815d04cac7ab58b6e9910f3fdb859f73c7a22e7a9d5204bde00b834b6fbf23b3376fc61a0105d99a547a94994b8a72cca94be6935a2dfb97c4 +DIST django_debug_toolbar-8.0.0.tar.gz.provenance 10328 BLAKE2B 590b8a46c17890749f747e7133e17302d3f2318a8a838ea80983fbb1ddb980c682b7d40f2134e63056cd566f52342356db775a8c8c6dfd589abef3ece7678cbd SHA512 b288494922b5847c1f42e25c5380a6f8c05f3c8fa2b8d5b9361a4185953f32e4d0abc5ec0d8836829b29fee82d734dd97d8ef8a121664da0fec958e975c6a84c diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-7.1.0.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-8.0.0.ebuild index 1bb7c4deefe7..1bb7c4deefe7 100644 --- a/dev-python/django-debug-toolbar/django-debug-toolbar-7.1.0.ebuild +++ b/dev-python/django-debug-toolbar/django-debug-toolbar-8.0.0.ebuild diff --git a/dev-python/faker/Manifest b/dev-python/faker/Manifest index b5645d47ce3a..57e80a2036fa 100644 --- a/dev-python/faker/Manifest +++ b/dev-python/faker/Manifest @@ -1,5 +1,3 @@ -DIST faker-40.31.0.tar.gz 2024136 BLAKE2B f3c1256c9d03d6ec918a849fb720b9bf18e8c177babc422896b174effac242b3c979092a084e7d290b718b7f2f9caaa5040479b62dd5d5cde2ac8c4e7ea14cc8 SHA512 aca52d229f21e80b41b94a95986ea1f5f96bbcfe42e3e9a6b197b44a95b0b6b6ef43fac7be7189a9afa8bd11fd28b6735ee321da37a1d74b222ae62f0c419ffb -DIST faker-40.32.0.tar.gz 2024472 BLAKE2B 5c42bea5eacbcafb4a6752280486a3dbe850c189a59cb320089ca0fd17c9641b9b4ceaebba1e765e0dc5fe6bbfa1cdab4275ecef7e683e66470b453a2da9bd26 SHA512 c4bf118dad8befcded8bc0b02fe3b07874e9672ba5a5a0e9729d6b17f3004b2711369590f057a4af8eb96782a7eda4b25dafffb72d9e64d0a1715f5a61a74744 -DIST faker-40.35.0.tar.gz 2025535 BLAKE2B acdd04c498750e0160a3e3aee05cf275815c3c2ab10199268910b614b6ad7ade4309f812405ea0d631eb0ae2ffef8306121ad55b05c4d7504b353f2311156909 SHA512 25ae34988466b469211676330d22339fd4c803e6a5f0d5543fdc2b211453f801bc6e136a5b9dd7b0bec3a217cd27996331779eecdc7fbe22157854ff5f217915 DIST faker-40.36.0.tar.gz 2025903 BLAKE2B fb7877800cd1f2baf4ab5497d5996b968721396da21ead130d419537490c8bfe7d1d9a14c8799b70144e84be311b0c3ed6e5d6638f4a01802507ea5baca264bd SHA512 889e96ba9497dea82a909b47a183b6a6872b5b9f47fca4cc52285968b8f00f0898fd9e6b831769f775b4f298d0ec7e0ba19eafa2ffe3d0b08a9d023a7a131ba9 DIST faker-40.37.0.tar.gz 2025920 BLAKE2B 2b9456eaaa83cc0904a03462f9407a639126dd36820246b75fce3687287ac1b323a27ccec1390816628f13901bb2ce5cf767f85d73d6cffe038aa6d724a80bc4 SHA512 35458e864afadc9ee73b3ed40e3f99387f46ec122e6a1a29efa0dae47a4535c733bd61a72f5aa5629aef9c63de0696404512b1dff32ba9014cb056483309ed12 +DIST faker-40.38.0.tar.gz 2029190 BLAKE2B 5cf20928b68bb9bfd899e4e2a597cf4e61ad606036b03632f9b2cb9ae853ecdabd3be0201c878bf8c0f6f68b17e45def090500c687e89187880a60358044c9bc SHA512 40007ace30ca733e0a7a8f5dfd4aeda628ee9a889b47f4e7f8bcfcc19630ce17da908856b15e6d9a07141dceb4da89bc8af10d070a0ed36b11170851cd05d981 diff --git a/dev-python/faker/faker-40.31.0.ebuild b/dev-python/faker/faker-40.31.0.ebuild deleted file mode 100644 index a2455830ee3f..000000000000 --- a/dev-python/faker/faker-40.31.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 2022-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_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A Python package that generates fake data for you" -HOMEPAGE=" - https://github.com/joke2k/faker/ - https://pypi.org/project/Faker/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - !dev-ruby/faker -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP},tiff] - dev-python/validators[${PYTHON_USEDEP}] - ) -" - -# note: tests are flaky with xdist -EPYTEST_PLUGIN_LOAD_VIA_ENV=1 -EPYTEST_PLUGINS=( "${PN}" ) -distutils_enable_tests pytest - -python_test() { - epytest - epytest --exclusive-faker-session tests/pytest/session_overrides -} diff --git a/dev-python/faker/faker-40.35.0.ebuild b/dev-python/faker/faker-40.35.0.ebuild deleted file mode 100644 index 125fe3904e57..000000000000 --- a/dev-python/faker/faker-40.35.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 2022-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_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A Python package that generates fake data for you" -HOMEPAGE=" - https://github.com/joke2k/faker/ - https://pypi.org/project/Faker/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - !dev-ruby/faker -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP},tiff] - dev-python/validators[${PYTHON_USEDEP}] - ) -" - -# note: tests are flaky with xdist -EPYTEST_PLUGIN_LOAD_VIA_ENV=1 -EPYTEST_PLUGINS=( "${PN}" ) -distutils_enable_tests pytest - -python_test() { - epytest - epytest --exclusive-faker-session tests/pytest/session_overrides -} diff --git a/dev-python/faker/faker-40.32.0.ebuild b/dev-python/faker/faker-40.38.0.ebuild index 125fe3904e57..125fe3904e57 100644 --- a/dev-python/faker/faker-40.32.0.ebuild +++ b/dev-python/faker/faker-40.38.0.ebuild diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest index a173a38f1135..0b9f8978b6a5 100644 --- a/dev-python/ipython/Manifest +++ b/dev-python/ipython/Manifest @@ -4,3 +4,5 @@ DIST ipython-9.16.1.tar.gz 4515302 BLAKE2B 45412c6eeae21026d701ca75678a2f6b9dbbd DIST ipython-9.16.1.tar.gz.provenance 9689 BLAKE2B 665fb5f17b407b1b6d82459550901892130bc19c6d88ff6d4857702fa6995b2b9d125de448a5501254cb195f5368070438f2d6aaa3ae87312a90d3a4dd06e90b SHA512 ee98b364ff7c94b8b4e2a31e98818fd3646c23a693d1e5221723ddecd66b8fbe8c65b01360e4111f2a765641fc6908a44fb03408b25f3cd643afa4b9507c5e03 DIST ipython-9.17.0.tar.gz 4538547 BLAKE2B a0a935973231b7d4bd49e88a44a1750343e2c97cbdcd1bd9a07a6164298ec2ce6fe9cbc3aa98084c4ad6cff7519315f2d0f929f2f46da38ad1c26671fa05d574 SHA512 c185d5cb7e003c5fbc701bd7c25fb6d250fc82051ebcf57453bfd79c6b7870d54e3869ba371556ad9242e651ffb39cb3ab0291e52331fc822758f7c5572ffadd DIST ipython-9.17.0.tar.gz.provenance 9507 BLAKE2B c1bdf74d20692ec5bc000aef133f8eca717b212b051b24c8218376d5c82480e07df48feec43417b35dd867f1020d14966dad89fd76a5ecc2a8fb3049f375116b SHA512 bda827dfce194894ae0c329adeb675e5b9b2cbd81bd70d05d6446cdb4cd4f1049bc54a00de43c1fc597813217bcb7aceff5a69d49de6d3fde2b4b68312a78d19 +DIST ipython-9.17.1.tar.gz 4539289 BLAKE2B 5e1de4efc83c9d3d8c04b87dc30939690403c81c3b5d36638542c7b4c6109715d6a588cc505435be5c26b2751c0e94e2ce7d2403436ef81d0dab5537c203177a SHA512 bafbb8204920360e99dcb7a0b436b6006650ecdd15d2cf767167d05178010abcbbe3a0733705e0399cff9860aa4fa427b38a299700cd0900a8d5384a7fdcaab7 +DIST ipython-9.17.1.tar.gz.provenance 9644 BLAKE2B 1cec23d63f3b20707475a7b6e9ba524ec549863bfa671a3a5fd6936b8d4d935625b92d92ac545ddd90bffb59ebf6e97981730f65dbcc7b96ad0aae6243df3ed6 SHA512 d0f318e7e51e98f7edc2b33149a152a3d3b281b8134b80494501719c472ba82effc3da0d50e26e88aa369883f98466118aff23407171f24340d1a794dff9189a diff --git a/dev-python/ipython/ipython-9.17.1.ebuild b/dev-python/ipython/ipython-9.17.1.ebuild new file mode 100644 index 000000000000..c5a9237046d7 --- /dev/null +++ b/dev-python/ipython/ipython-9.17.1.ebuild @@ -0,0 +1,145 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYPI_VERIFY_REPO=https://github.com/ipython/ipython +PYTHON_COMPAT=( python3_{13..14} ) +PYTHON_REQ_USE='readline(+),sqlite,threads(+)' + +inherit distutils-r1 optfeature toolchain-funcs pypi virtualx + +DESCRIPTION="Advanced interactive shell for Python" +HOMEPAGE=" + https://ipython.org/ + https://github.com/ipython/ipython/ + https://pypi.org/project/ipython/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples gui notebook nbconvert +smp test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/ipython-pygments-lexers-1.0.0[${PYTHON_USEDEP}] + >=dev-python/jedi-0.18.2[${PYTHON_USEDEP}] + >=dev-python/matplotlib-inline-0.1.6[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.7[${PYTHON_USEDEP}] + >=dev-python/prompt-toolkit-3.0.41[${PYTHON_USEDEP}] + <dev-python/prompt-toolkit-3.1[${PYTHON_USEDEP}] + >=dev-python/psutil-7[${PYTHON_USEDEP}] + >=dev-python/pygments-2.14.0[${PYTHON_USEDEP}] + >=dev-python/stack-data-0.6.0[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.13.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + >=dev-python/setuptools-80[${PYTHON_USEDEP}] + test? ( + app-text/dvipng[truetype] + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + >=dev-python/matplotlib-3.9[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + >=dev-python/numpy-2.0[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + >=dev-python/packaging-23.0.0[${PYTHON_USEDEP}] + dev-python/pickleshare[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + >=dev-python/testpath-0.2[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +RDEPEND+=" + nbconvert? ( + dev-python/nbconvert[${PYTHON_USEDEP}] + ) +" +PDEPEND=" + $(python_gen_cond_dep ' + gui? ( dev-python/qtconsole[${PYTHON_USEDEP}] ) + ' 'python*') + $(python_gen_cond_dep ' + notebook? ( + dev-python/notebook[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}] + dev-python/widgetsnbextension[${PYTHON_USEDEP}] + ) + ' 3.{12..14}) + smp? ( + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + # Rename the test directory to reduce sys.path pollution + # https://github.com/ipython/ipython/issues/12892 + mv IPython/extensions/{,ipython_}tests || die + + distutils-r1_python_prepare_all +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local -x IPYTHON_TESTING_TIMEOUT_SCALE=20 + local EPYTEST_DESELECT=() + + if [[ $(tc-get-ptr-size) == 4 ]] ; then + EPYTEST_DESELECT+=( + # https://github.com/ipython/ipython/issues/15107 + IPython/extensions/ipython_tests/test_deduperreload.py::DecoratorPatchingSuite::test_function_decorator_from_other_module + IPython/extensions/ipython_tests/test_deduperreload.py::DecoratorPatchingSuite::test_function_decorators + IPython/extensions/tests/test_deduperreload.py::DecoratorPatchingSuite::test_method_decorator + ) + fi + + # nonfatal implied by virtx + nonfatal epytest || die "Tests failed on ${EPYTHON}" +} + +python_install() { + distutils-r1_python_install + + # Create ipythonX.Y symlinks. + # TODO: + # 1. do we want them for pypy? + # 2. handle it in the eclass instead (use _python_ln_rel). + # With pypy not an option the dosym becomes unconditional + # TODO2: figure out what TODO meant. + dosym ../lib/python-exec/${EPYTHON}/ipython \ + /usr/bin/ipython${EPYTHON#python} +} + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} + +pkg_postinst() { + optfeature "code formatting" dev-python/black + optfeature "sympyprinting" dev-python/sympy + optfeature "cythonmagic" dev-python/cython + optfeature "%lprun magic command" dev-python/line-profiler + optfeature "%matplotlib magic command" dev-python/matplotlib-inline + + if use nbconvert; then + if ! has_version virtual/pandoc ; then + einfo "Node.js will be used to convert notebooks to other formats" + einfo "like HTML. Support for that is still experimental. If you" + einfo "encounter any problems, please use app-text/pandoc instead." + fi + fi +} diff --git a/dev-python/jwcrypto/Manifest b/dev-python/jwcrypto/Manifest index a20925128464..b30249ac17b0 100644 --- a/dev-python/jwcrypto/Manifest +++ b/dev-python/jwcrypto/Manifest @@ -1,2 +1,3 @@ DIST jwcrypto-1.5.8.tar.gz 90772 BLAKE2B b91b810466e527d5a121b021f5cb8c4f952b88aebe6a0c3e8cff4afd285c135b71c45254dd2d821f2fe645f02f3a78763c819f84c53033f9100bc8969c37970d SHA512 b7f63049583e6d468952d46f41ce80258868a0bd74b7123bbfe02b44f01668be550247b67374db42b24bc2d25af5f71abe97b857fb2842d877cc6217a888f869 DIST jwcrypto-1.5.9.tar.gz 115793 BLAKE2B f5905b2d7c3f8a20b71a1542b351fab790db4eff23af6502bd0765a3702a5628098fcfa795eae5d4bcf1a045dde2719e676a96bbf325f88dcfe0f064e850e888 SHA512 a77d7f77dfec3e05b0b07db9d4d6d393cb5be58feb85c019cb561d0ac651a28492c3d509a5ba7724b65f374c608579b1a831b7a5791b92a91250da7aacbb3892 +DIST jwcrypto-1.6.0.tar.gz 116186 BLAKE2B 013484d22e3b2f0fee5899495c5168fa8b80a9e1aede4fdae400f82540f61270ada3e9eeaaa83634b1ce8ef15420edfe18f506984471e7dd1d1aa009efb8065d SHA512 8f8fb08fb8ce13c0a11d58aca9a81bdbcad398c300c4e55108ca75c1fa42fc9ab44e8fe149a0e26bb901e40bffa68eab80a3aa2d226c3c0b5fa27897531a11c7 diff --git a/dev-python/jwcrypto/jwcrypto-1.6.0.ebuild b/dev-python/jwcrypto/jwcrypto-1.6.0.ebuild new file mode 100644 index 000000000000..1befd595f58c --- /dev/null +++ b/dev-python/jwcrypto/jwcrypto-1.6.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Implements JWK,JWS,JWE specifications using python-cryptography" +HOMEPAGE=" + https://github.com/latchset/jwcrypto/ + https://pypi.org/project/jwcrypto/ +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/cryptography-49.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_install() { + distutils-r1_src_install + rm -r "${ED}/usr/share/doc/jwcrypto" || die +} diff --git a/dev-python/pbs-installer/Manifest b/dev-python/pbs-installer/Manifest index aaefcb7fc1f5..efb4209e1363 100644 --- a/dev-python/pbs-installer/Manifest +++ b/dev-python/pbs-installer/Manifest @@ -1,6 +1,4 @@ -DIST pbs_installer-2026.8.14.tar.gz 77276 BLAKE2B 0f9b5789a7ea4572ac221fb8db7c5fe859a656c2cc696975bf455c84ec439d7445afc4d4c3b10cf4c3797cf5e224d4cddde5b822b835b5a22baaf9682e3044da SHA512 8d13b718385531b68b889f7803cbf7d6c2cd3daef14b5ae6d082d50139384d1199da8371335a6d5b8b57d655fa4acdfb3de0336d89bb72f52303860550b9aea5 -DIST pbs_installer-2026.8.14.tar.gz.provenance 10037 BLAKE2B 7148877f6a9de17d3fd18b799146c72660aee5cc23acef2df38bd87c59a469a9dca6d7b9cfaaeffd5f1e0ad587dc1023bff80208692d68c746677f5d0e401e31 SHA512 5c6f816ed1d629bbc1c01a4faf71e9cf151f895a389507fda89f2353d38770702c1d91dbd1f17f06af8b3bc896b7175899edb658b3fa5556e0ef252b938eb26a DIST pbs_installer-2026.8.25.tar.gz 77316 BLAKE2B 62c55233af7d42d0a61fc6dbdc4ac6b047e9d9a5b8b51be3d3d07fc5b48941c1bcbe2f30bb612bcb4529412e1f95c3b38f35b726fcb26d60fd95f5b687b2680e SHA512 dd21517db3d97f60d2c5bd98f0ce20ce31e313c43175bb47e5f1765443c7635644202ab20826899c6957bbaac86157d68d30da1f95ab7743a9fb634dad0aebba DIST pbs_installer-2026.8.25.tar.gz.provenance 9943 BLAKE2B 6dfda1992b69318f8b0319390704c35082e021eb5e11991a0144230e7db64e0d932ea0a01ec49007e9e4e21c0df8c87d99a9a8b0941098dd7201325ff3d49a35 SHA512 85cce968cb89f610aff8f505f1bf71bed239ec9c2351296185d4b7d6e860e0031f9ddba4d8d60cca8bdc353638eefac2b084f75a69071e94b087f59870b3b4df -DIST pbs_installer-2026.8.7.tar.gz 75286 BLAKE2B a4a0e6e55cf8a8fcb944fd7ec4e1a36e608fd298a8fcd425c0d094ca7e4e4ea1e8ceb1318d0b46ef065c4dcb2cac456a25a65f734a7ab97a671a6687d1e9f421 SHA512 a89d2e820f7ea1d4114427a37d82e9064ad9509915caec14acbf6a49622abf622b4c938de52787c71fc6d590d1f690dc5341c03c23c7378ff97aa64390d664a6 -DIST pbs_installer-2026.8.7.tar.gz.provenance 9937 BLAKE2B 835be2260368bfec02d3702e2aeda4515884e5f4cc0515c6d5420cb14df8d507c84be347f68d672da15fa92e09ec0ef1ad33dfb60df3290cd97eabbef1f238c8 SHA512 3eaa5186d0c61bab7dd8509d71751ac2c0a40316aa1eb0a67f2ef6fa21f753cda04bea0e17a46351d7d2b81fce432f1766493017ef178f8c5b1dda0de89bf8aa +DIST pbs_installer-2026.9.1.tar.gz 77293 BLAKE2B c1e836f3f50b358615095e6ca7c13389322ba940d4ab55cae9635851db6c578e54cf235044f2c86ca0d407e0d8f8620da3d37a3122c698adce6f2158cf42fb58 SHA512 8d07247fc3251a6679f1cd96d7ad1c915dafafbcaf2e89e127b1bbe6b261f9fea341e7cf14aefd4e501dab2057934fa2aca5328c91af7de0d87f7cd719d4d662 +DIST pbs_installer-2026.9.1.tar.gz.provenance 9751 BLAKE2B 651c18665595549bd0b32e94b5e11c9a4f4c98f21cd898c7746f13586c0c221089ba670315576ec076effeae0603c8802762193c4a728db6f0c828bea586d9eb SHA512 48e7f147a0f02999824b664cca10b813f2331b7f653bc7dffb994df3da9bf8f71f7e6d5eddffe3699563b5220314bf787cd0d9d7b903c128c5f0179b6fe13172 diff --git a/dev-python/pbs-installer/pbs-installer-2026.8.14.ebuild b/dev-python/pbs-installer/pbs-installer-2026.8.14.ebuild deleted file mode 100644 index f3bc021d04f4..000000000000 --- a/dev-python/pbs-installer/pbs-installer-2026.8.14.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 2024-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYPI_VERIFY_REPO=https://github.com/frostming/pbs-installer -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Installer for Python Build Standalone" -HOMEPAGE=" - https://pypi.org/project/pbs-installer/ - https://github.com/frostming/pbs-installer/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~x86" - -# httpx is needed to download builds -# zstandard is needed to install them -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/backports-zstd-1.0.0[${PYTHON_USEDEP}] - ' 3.11 3.12 3.13) - <dev-python/httpx-1[${PYTHON_USEDEP}] - >=dev-python/httpx-0.27.0[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=() -distutils_enable_tests import-check diff --git a/dev-python/pbs-installer/pbs-installer-2026.8.7.ebuild b/dev-python/pbs-installer/pbs-installer-2026.9.1.ebuild index f3bc021d04f4..ad138f3a6f5d 100644 --- a/dev-python/pbs-installer/pbs-installer-2026.8.7.ebuild +++ b/dev-python/pbs-installer/pbs-installer-2026.9.1.ebuild @@ -17,14 +17,14 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" # httpx is needed to download builds # zstandard is needed to install them RDEPEND=" $(python_gen_cond_dep ' >=dev-python/backports-zstd-1.0.0[${PYTHON_USEDEP}] - ' 3.11 3.12 3.13) + ' 3.12 3.13) <dev-python/httpx-1[${PYTHON_USEDEP}] >=dev-python/httpx-0.27.0[${PYTHON_USEDEP}] " diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest index 77708d9c3f1a..8e96f9240dc5 100644 --- a/dev-python/platformdirs/Manifest +++ b/dev-python/platformdirs/Manifest @@ -6,3 +6,5 @@ DIST platformdirs-4.11.4.tar.gz 34079 BLAKE2B daf5b088aa61382c1cbcbda0eebb23b9b4 DIST platformdirs-4.11.4.tar.gz.provenance 9840 BLAKE2B a0988dc801b4d8bc449aeb7db45e9760e410dc58e9ac8bce7a8e0d48ce2d57deda740312c822b018a517073779af4e105d9f10a5a060eb20465f1ca17d47d71b SHA512 307d1916679a68ec9affd36b1ccd49a331058f87673ab0b630e8b21318561db98aad97d45ee6a0b6d3c9544d557d18330de86718379ccb699432922cd418714e DIST platformdirs-4.11.5.tar.gz 34823 BLAKE2B f293190f29e9fa5417bd2eb4ce0f1039481abe86729b1a652fabf29e3aa6ad708ed1f962cf96011f764a561d4fb914b6a17baf8f006911fd82a0c99b8826d263 SHA512 6238abd47f5d3ec6f5b87db98bc3a051e521594c280decf3f4f0403e2c43e07fa3b3802d40637b7414d322b8e0ed64853377b0b547a580654a3cbc198bd4f61e DIST platformdirs-4.11.5.tar.gz.provenance 9871 BLAKE2B 026412ddd8cf20de7dc7b43c2cb02cb4812a537bcba18dcec5680d70ac8bb2deae31798fab48f288009dbf0360f94c72fe04332a38d415bc1cb59353c7de0293 SHA512 69e8fcfb25ac561c65562fa08205876fe47ea59d98f8fa53378871af81a0b213d6f3d13df883b54823687d8e91c031a666fda7588b280aa644ea1c4352c9c812 +DIST platformdirs-4.11.7.tar.gz 35127 BLAKE2B 1cd3f4461c0f1c2c1c7ac62491d23a7d57ad14fb4f1a58f0ce78f72ea6fd9cc7ac2428dad2129a3ca70335377085a7854cd4d45ec229b178c65339377d3f439d SHA512 717cfe7407e3afcbd9a115d4a7758d8e70c96f7b26479c8d3144bc41aebe87852197b534a86c11c0c3ed01687955aacd049c656062fb3ca4e802476872a65197 +DIST platformdirs-4.11.7.tar.gz.provenance 9640 BLAKE2B 2cbc679cbcabea84ba9533d4aedd50a9339f2c727823dab79726aa8d005fb8a4e65995b65b6df3d9924290d4c8f9e3266a459353eb713509af967d4536fe0acd SHA512 814547814683965b3285c82b66747b7c712ef01ec92e90be5ef4b50d9bb0e103cbcdc848dd7b27c2aa95dccbb4f813c64bc3dd76cb51bc9ce69b518cf3540f18 diff --git a/dev-python/platformdirs/platformdirs-4.11.7.ebuild b/dev-python/platformdirs/platformdirs-4.11.7.ebuild new file mode 100644 index 000000000000..97987e113428 --- /dev/null +++ b/dev-python/platformdirs/platformdirs-4.11.7.ebuild @@ -0,0 +1,50 @@ +# Copyright 2021-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYPI_VERIFY_REPO=https://github.com/tox-dev/platformdirs +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A small Python module for determining appropriate platform-specific dirs" +HOMEPAGE=" + https://pypi.org/project/platformdirs/ + https://github.com/tox-dev/platformdirs/ +" + +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" + +BDEPEND=" + test? ( + dev-python/appdirs[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-mock ) +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "hatchling' 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 = "${PN}" + version = "${PV}" + description = 'A small Python package for determining appropriate platform-specific dirs, e.g. a "user data dir".' + EOF + # sigh + cat > src/platformdirs/version.py <<-EOF || die + __version__ = version = '${PV}' + __version_tuple__ = version_tuple = (${PV//./, }) + EOF +} diff --git a/dev-python/python-cinderclient/Manifest b/dev-python/python-cinderclient/Manifest index 265530a26726..d4cdf365d77c 100644 --- a/dev-python/python-cinderclient/Manifest +++ b/dev-python/python-cinderclient/Manifest @@ -1 +1,2 @@ +DIST python_cinderclient-9.10.0.tar.gz 236997 BLAKE2B b587b16e75363d667dd8526dcc357da70114e339aabec687e1772ddf85deb2dc6cd6be47bc029bd4f569b653aa9762c309b49a932d3ce9c42fd95246d43850fe SHA512 4f8fe9c0a745c124d7d38b3e936036de891c710850bbe65254e892e97457badfce900113a7bb62ad547b4dd0c03f9b36ea78cbed9d8bf5cb4fb8f143f0a59f9b DIST python_cinderclient-9.9.0.tar.gz 236806 BLAKE2B c4fe3f2b711e27defb2b585fe245e9b8f50eb68bc51ea2e2605e654983fc939fd1664e210f81a8ab264364150c7507d7046997477882a0584744f792a6ad5059 SHA512 7f3a8cdf6c3db29bf4e27cc63fbf7561e0edc5fab10faf0d03eef9993a902baf45a5fc5505af2bf03a971c2d73d2b42d6a4158e7ee2568be5fc3b30573e05e91 diff --git a/dev-python/python-cinderclient/python-cinderclient-9.10.0.ebuild b/dev-python/python-cinderclient/python-cinderclient-9.10.0.ebuild new file mode 100644 index 000000000000..5b5d2057434d --- /dev/null +++ b/dev-python/python-cinderclient/python-cinderclient-9.10.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pbr +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A client for the OpenStack Cinder API" +HOMEPAGE=" + https://opendev.org/openstack/python-cinderclient/ + https://github.com/openstack/python-cinderclient/ + https://pypi.org/project/python-cinderclient/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/keystoneauth1-5.9.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-5.0.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-4.8.0[${PYTHON_USEDEP}] + >=dev-python/pbr-5.5.0[${PYTHON_USEDEP}] + >=dev-python/prettytable-0.7.2[${PYTHON_USEDEP}] + >=dev-python/requests-2.25.1[${PYTHON_USEDEP}] + >=dev-python/stevedore-3.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/ddt[${PYTHON_USEDEP}] + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/oslo-serialization[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_test() { + # functional tests require cloud instance access + eunittest -b cinderclient/tests/unit +} diff --git a/dev-python/python-tests/Manifest b/dev-python/python-tests/Manifest index e3906ea9ce94..34081ddc58b1 100644 --- a/dev-python/python-tests/Manifest +++ b/dev-python/python-tests/Manifest @@ -18,6 +18,8 @@ DIST Python-3.15.0b4.tar.xz 35509544 BLAKE2B d7fb1fb55cb75ab28971dc4ce575a61213b DIST Python-3.15.0b4.tar.xz.sigstore 7105 BLAKE2B 78f8667ab32ae1353cb1475a9318e669922d475e0c31fd5e5bd86f944dc318d33299b9fbb6d00eb833cfa0f33dd0f043a6301f3e09f25fb1af892f3bb3a633b2 SHA512 df6545bc6899bcaafa056066b25a35de010a64587af223060f14ae35313b18c9e221f8bced7e256d2b3f9f13fa56c86a1cb8feefe0e24c7ad2efc41e4bf115b9 DIST Python-3.15.0rc1.tar.xz 35516700 BLAKE2B 97bcfd712f442c0811591c4e23b29840de9755893f5ac03c3a10eaf68682a9620b39d147cf857c319b047b1d816b521b9e1e9b7cb21321974d50bbc1b8ce8c3b SHA512 70dfe0b18bf769206d50d1efa2d3c5d3da7b8333139d9d7f8f404bc8273cdf86348714a7c94869b4af4a38c0ee45559ad0bac6e90e434f11f1ee07ebbda0618a DIST Python-3.15.0rc1.tar.xz.sigstore 7297 BLAKE2B bc1c314774909316c1860e3bb947740ed9beaa00821416459b9f66eb681a2467a19ca0187ab515f54829a3df8fb3214ac2bf8c68d1b6ead09b5c810c96253fd4 SHA512 1ce9eebc29918a5a74378f3af893104b957a5565cd7f3878e099b799787cc731caccd70f6e8fc450bc4f6a6690e1e1570fdc9ee6722b67fad455e3b075881f7b +DIST Python-3.15.0rc2.tar.xz 35544464 BLAKE2B bd5e1203f2c65bd6cb20f822927b77b65b1f13e2cfd08b295e966f92f3c6c7d9ad9178224fe6cc6d07900c41b5083ce25a8cd1fd896bf50a905b699da4a37fe2 SHA512 afef5f1aa89e7cd875ec99a7b6681c9f1ce18474955b7bbd1cc0def9a3cf69163bc028d06263a008b48b12361d67943289967914a1503e2ccc4e724be7e06c6f +DIST Python-3.15.0rc2.tar.xz.sigstore 7011 BLAKE2B 1a48036e37fc1cc218e9be491303239953b83259947a6ca76241f1a16af3626edefdec270666c0ba6f7835578486872b171e75fbedc24171188609e1b8caa230 SHA512 dcec0764b89abc84e3220448b17d3612c4ddf2ab8dddd282860faf8159cda1b4fae2e7583f4936ed3c62e752289f561efd9cbef9c3f42df71fddfbe17fa9e8a9 DIST python-gentoo-patches-3.12.13_p1.tar.xz 12408 BLAKE2B 2b232c2742eafcb803713c837b4ddaa38f45c88e707ec272571739570f9e2e5c94644681369d887992eadf5f0c1178489f1aa3a7d8163a2aa4ce6a86732e73da SHA512 e06d78ad24c9fbc3fa9c47b25ba722342ddd140aa30f624b41d605dae40d00ab956d879a247db2d7980c063a1472de40587a0d3cd6947e560aa7e8d0e4f89309 DIST python-gentoo-patches-3.12.14.tar.xz 14296 BLAKE2B aa38928fedcdca5b681f5b1d7cb227038a60202c91c561f2dd3dd40e80167e683676670b7a3fb791ad37f92801d23a429b5adc869eb5566f4223057e932d2f2f SHA512 aafa1c59b54c131efa7fc7db5e64ab01f6c15b4d9d6bedf44bed747b3b06610dc731c4d527b91b321205e83eba944da4b687f23628155468cfc4c8b531a822c0 DIST python-gentoo-patches-3.13.14.tar.xz 9360 BLAKE2B 257a43992b857d44881174b36b0940fab3f879060938fe6e6464ae671832a3af624a0cc6f012e44ee344a34d0a8da0c898a29176029bfab70086434fbd3c3b99 SHA512 0084ffc35ff81a7056dd7a3624083ed957fbe482b1cbca9e401ef5851e0046b82b9102f4cf358f2974d7a7dfb3e21e96dcafe6c207417fa01834b9d10a2ee8d6 @@ -30,3 +32,4 @@ DIST python-gentoo-patches-3.15.0b3.tar.xz 3432 BLAKE2B 994e9339e00dfa4b40395e76 DIST python-gentoo-patches-3.15.0b4.tar.xz 3436 BLAKE2B 82a8b6a3467613229b938313f69dca219793fe5e4a16266483705f00062eec30f775bbaf4b50aa38062a96377a44071f2d29b5ae7926a003d3b70094ddc0db5e SHA512 0858432978d85453ca136c4b54737c6df8ca536852723f0625984ca7cb4aef623286d94e34b8ac80f2f7547a8fe95390972e569bdcdb30c93f4466eab586022b DIST python-gentoo-patches-3.15.0rc1.tar.xz 3432 BLAKE2B ecd250cefb140de9b9072e4fc256a21c0f2b0a372a4fc715cf954e04c8b5ed8932f9729e14fa1c31edbca3db72b6c9fade2bb4571544e26425bfa841cbd9acad SHA512 2d587b31bafe712f87b79c93fc197e7232da29a14df218ec495a57a50a92d1543dc5fb32214a5ef83dc2b0dac22dad493a03cac39b25566f1b4688d810dacefa DIST python-gentoo-patches-3.15.0rc1_p1.tar.xz 5204 BLAKE2B 088022af757ebcb93a6fed65211147f5e1b4fc3cf319aa4fd6ca18998a96a579711cc18ba392e91a58cbea44fc71facca47ace333fc79957ae779876b30e0349 SHA512 c72a2a312c97e67962b06a2fa2da6292b11fa19cb8fe237e9a100c85672a230acf2f74b47832a601513a100358bcfd70296501652a9692e86a53447f5962fdfa +DIST python-gentoo-patches-3.15.0rc2.tar.xz 3428 BLAKE2B 9bd66e1faff64ddf07367e22c606ea893d073ff6641f443e6dcca88455ae3b9fbca0eaaedfd99a0359eef4ff9b335351dc9b27ac70c4635dfeeaad208d5b2867 SHA512 fe24da1974f6bf25d65c39051584b6b8463d3aad19a7841ee6d16534ab06825acba02842b56e4e93871da6c046d6e5cfa23bad9e1e7b0d23e1a7047c13eb1b97 diff --git a/dev-python/python-tests/python-tests-0.3.15.0_rc2.ebuild b/dev-python/python-tests/python-tests-0.3.15.0_rc2.ebuild new file mode 100644 index 000000000000..f3a756fe9c02 --- /dev/null +++ b/dev-python/python-tests/python-tests-0.3.15.0_rc2.ebuild @@ -0,0 +1,75 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) +VERIFY_SIG_METHOD=sigstore + +inherit python-r1 verify-sig + +REAL_PV=${PV#0.} +MY_PV=${REAL_PV/_} +MY_P="Python-${MY_PV%_p*}" +PYVER=$(ver_cut 2-3)t +PATCHSET="python-gentoo-patches-${MY_PV}" + +DESCRIPTION="Test modules from dev-lang/python" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz + https://distfiles.gentoo.org/pub/proj/python/patchsets/${PYVER%t}/${PATCHSET}.tar.xz + verify-sig? ( + https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz.sigstore + ) +" +S="${WORKDIR}/${MY_P}/Lib" + +LICENSE="PSF-2" +SLOT="${PYVER}" +if [[ ${PV} != *_* ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi +# enable by default to help CI handle it (we have no additional deps) +IUSE="+python_targets_${PYTHON_COMPAT[0]}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} +" +BDEPEND=" + ${PYTHON_DEPS} +" + +# https://www.python.org/downloads/metadata/sigstore/ +VERIFY_SIG_CERT_IDENTITY=hugo@python.org +VERIFY_SIG_CERT_OIDC_ISSUER=https://github.com/login/oauth + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.sigstore} + fi + default +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + cd .. || die + default +} + +src_install() { + python_setup + # keep in sync with TESTSUBDIRS in Makefile.pre.in + python_moduleinto "/usr/lib/python${PYVER}" + python_domodule test + python_moduleinto "/usr/lib/python${PYVER}/idlelib" + python_domodule idlelib/idle_test +} diff --git a/dev-python/python-tests/python-tests-3.15.0_rc2.ebuild b/dev-python/python-tests/python-tests-3.15.0_rc2.ebuild new file mode 100644 index 000000000000..b7e5d0c7a099 --- /dev/null +++ b/dev-python/python-tests/python-tests-3.15.0_rc2.ebuild @@ -0,0 +1,74 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) +VERIFY_SIG_METHOD=sigstore + +inherit python-r1 verify-sig + +MY_PV=${PV/_} +MY_P="Python-${MY_PV%_p*}" +PYVER=$(ver_cut 1-2) +PATCHSET="python-gentoo-patches-${MY_PV}" + +DESCRIPTION="Test modules from dev-lang/python" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz + https://distfiles.gentoo.org/pub/proj/python/patchsets/${PYVER%t}/${PATCHSET}.tar.xz + verify-sig? ( + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.sigstore + ) +" +S="${WORKDIR}/${MY_P}/Lib" + +LICENSE="PSF-2" +SLOT="${PYVER}" +if [[ ${PV} != *_* ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi +# enable by default to help CI handle it (we have no additional deps) +IUSE="+python_targets_${PYTHON_COMPAT[0]}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} +" +BDEPEND=" + ${PYTHON_DEPS} +" + +# https://www.python.org/downloads/metadata/sigstore/ +VERIFY_SIG_CERT_IDENTITY=hugo@python.org +VERIFY_SIG_CERT_OIDC_ISSUER=https://github.com/login/oauth + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.sigstore} + fi + default +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + cd .. || die + default +} + +src_install() { + python_setup + # keep in sync with TESTSUBDIRS in Makefile.pre.in + python_moduleinto "/usr/lib/python${PYVER}" + python_domodule test + python_moduleinto "/usr/lib/python${PYVER}/idlelib" + python_domodule idlelib/idle_test +} diff --git a/dev-python/setuptools-scm/Manifest b/dev-python/setuptools-scm/Manifest index 51b63d40fc4d..8aa3ff89c4f7 100644 --- a/dev-python/setuptools-scm/Manifest +++ b/dev-python/setuptools-scm/Manifest @@ -1,8 +1,6 @@ -DIST setuptools_scm-10.0.5.tar.gz 56748 BLAKE2B b41195c9f55f911a8287814ca92216cdc8169f0eec9573f20739d02a2b08fd89eaa268585b589e8e6351e8ec14d1411bf057265c04796891c764abc88a5685bd SHA512 7384b3d27497e298265aadb03dc7edd907c46cce9caf4c086751a84e5ae151e41cd4af7b07e641a5d799374c348585c118bb82a9715568b01a5cc814d71057fa -DIST setuptools_scm-10.0.5.tar.gz.provenance 9960 BLAKE2B a87ce476be89d90cd11ddff5c92bfaae0716f59dd4953f495273cd4a56f1f57f27461fb07c39884ce64c6b8094fa914e2a374580ca301e9b5ac35dc102f61700 SHA512 578aea9cb7238b26fc421fcef9de704598970700967af4f1a94ca9d582a16e408759f2434fe7fa623d69065cca2b795af0eef10ee4faf65fa86bbf84524c82b1 -DIST setuptools_scm-10.1.2.tar.gz 66674 BLAKE2B 236058e5c0ba6299757e3e4693e51ea004eb06d4159a4c4dfc3a1f8af59344772a01ba4dc32cd0e3763e5f55943effd393ccae51901693eb85f8eff891c76d3b SHA512 0791ab22419ef79e5aac1ebb5958a831f08ce0834d5ceab2ec0bdf085c73060d75e81cd6dfce7b29a317a68e444be681465662406247ac3e572a5bf100000362 -DIST setuptools_scm-10.1.2.tar.gz.provenance 10213 BLAKE2B 96096834a2f4cf59f557c7b813adaa4f77f6d9aaacf1695cebeb4a84fe7ff7f26a2c37c20f678fbc8f7bbdb42c255abd6b903310d6369dd36c5429f4513e94b4 SHA512 fa8855840d287a382ecbb8c6292824b11e62640155ffddd178804a0e06374d78b81e6699623fd26613c21f84b47d21a6947f5985b3b2b28be04836c8118b66df DIST setuptools_scm-10.2.1.tar.gz 154237 BLAKE2B 250978fc39815dc05f79aa5da3a688330c5a0a553e62e631f6781dda9551d5b077bb9bd07c70dec0fe340296f66d247a287bfe04dae60051212cd0b11bee1f65 SHA512 9ca752d7b6f56e4ba8d84d619099be04b0711719926e9e0fcbe9776bf42cb9485c78014532d0b787cf625820f664863a086dd7b600e8d1c54ae58ab6725187c0 DIST setuptools_scm-10.2.1.tar.gz.provenance 10217 BLAKE2B 305ce26746d8239bca467956131f6d61b10084218e72e668cdee2108af9c03da6597d663d7bbc8309e056c3865d4808538ac7187c31dcfdeb9f659571754ef4c SHA512 e1620b0da56d77d6ca658e993d7663a86ac3cd5eb7d4e31ce147d156ad3365d922aa28ab42cf61c8c85f0f8e2cc350590d1f5cf4b2a63def8517d963125f870f +DIST setuptools_scm-10.2.2.tar.gz 67111 BLAKE2B ce2f0eb600dbe7c6622bacb7307e8cc49273b516f9b907cb6cc93332c53e1ebdb5eab2e75312632931e7e81d519596dc38a40fb207341882c4aa98a05df3f347 SHA512 6b790910b6658c0843e8dd74ed21a2aa50eee67dbf20648ab7a466f020f871037f7826a0392c6398f515df5e7e57ed7c92bf855245d2e8b6275c73a5147e4dfe +DIST setuptools_scm-10.2.2.tar.gz.provenance 10207 BLAKE2B 4d2aed3ed9bfb79eceeb1ab5dd138afd11452beca54062c7a20523eaef910225e839c3548ef268ff1533697284ccda84fd902641e7c602bb79b5ab49b2103d36 SHA512 93502cdff448756fda9ff9ca45de0480a2250745a5fd63cc57b369d4378baf42755cf942925eb03fff90433b95c603293dd6014c032ccc16fba1edabfbc1bdb7 DIST setuptools_scm-9.2.2.tar.gz 203385 BLAKE2B 8577c4c6265ae851212be04b245b3da8b49d541174f5e675dea916c76b3cba5b5ab9f6264a97904e2d5ca02dee4e3f8eb88c9e8badbba2ed53bed531fe9f6b6c SHA512 757ca11a3d13601606b6914ea70e3d271d287f26ada976ec77334fc0f611208669585d2580994f1ddff830cd698a837d3e882dd5cdccdaf9f8eba34fdd8cb708 DIST setuptools_scm-9.2.2.tar.gz.provenance 9705 BLAKE2B b710df7f8cbb324aa2927243ab0416869319813016d64f589b7a9f565576fff58c1aee18da4ea9bc3fb5a969cf74c1fcaa1332812bf88267ec9f2bf437876e53 SHA512 6ac563d0ab5f1afce28976eb030364a451508ec7d47b6e99668c37b8ba09e3b56500b104d62ad6047fad9f6be0b2b6ebea66b561041485b9d15b84c39fe92313 diff --git a/dev-python/setuptools-scm/setuptools-scm-10.0.5.ebuild b/dev-python/setuptools-scm/setuptools-scm-10.0.5.ebuild deleted file mode 100644 index df522f7cd255..000000000000 --- a/dev-python/setuptools-scm/setuptools-scm-10.0.5.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# 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=setuptools -PYPI_VERIFY_REPO=https://github.com/pypa/setuptools-scm -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Manage versions by scm tags via setuptools" -HOMEPAGE=" - https://github.com/pypa/setuptools-scm/ - https://pypi.org/project/setuptools-scm/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ppc ppc64 ~riscv ~s390 ~sparc x86" - -# there's an optional dep on rich for cute logs -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/setuptools-64[${PYTHON_USEDEP}] - >=dev-python/vcs-versioning-1.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/vcs-versioning-1.0.0[${PYTHON_USEDEP}] - test? ( - dev-python/build[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - dev-vcs/git - ) -" - -EPYTEST_PLUGINS=( pytest-timeout ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # Internet - testing_scm/test_functions.py::test_dump_version_mypy - testing_scm/test_integration.py::test_xmlsec_download_regression - testing_scm/test_regressions.py::test_pip_download - ) - - if ! has_version "dev-python/pip[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - testing_scm/test_integration.py::test_editable_install_without_env_var - testing_scm/test_integration.py::test_editable_install_version_file - ) - fi - - epytest -} diff --git a/dev-python/setuptools-scm/setuptools-scm-10.1.2.ebuild b/dev-python/setuptools-scm/setuptools-scm-10.2.2.ebuild index 982f24c22341..1670599d087d 100644 --- a/dev-python/setuptools-scm/setuptools-scm-10.1.2.ebuild +++ b/dev-python/setuptools-scm/setuptools-scm-10.2.2.ebuild @@ -18,16 +18,18 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" # there's an optional dep on rich for cute logs RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] >=dev-python/setuptools-64[${PYTHON_USEDEP}] =dev-python/vcs-versioning-2*[${PYTHON_USEDEP}] + >=dev-python/vcs-versioning-2.3.2[${PYTHON_USEDEP}] " BDEPEND=" =dev-python/vcs-versioning-2*[${PYTHON_USEDEP}] + >=dev-python/vcs-versioning-2.3.2[${PYTHON_USEDEP}] test? ( dev-python/build[${PYTHON_USEDEP}] dev-python/typing-extensions[${PYTHON_USEDEP}] @@ -45,6 +47,8 @@ python_test() { testing_scm/test_functions.py::test_dump_version_mypy testing_scm/test_integration.py::test_xmlsec_download_regression testing_scm/test_regressions.py::test_pip_download + # dependent on ruff version + testing_scm/test_functions.py::test_dump_version_ruff ) if ! has_version "dev-python/pip[${PYTHON_USEDEP}]"; then diff --git a/dev-python/shtab/Manifest b/dev-python/shtab/Manifest index dc42c732a1d1..373fe967f18f 100644 --- a/dev-python/shtab/Manifest +++ b/dev-python/shtab/Manifest @@ -4,8 +4,8 @@ DIST shtab-1.11.0.tar.gz 58653 BLAKE2B 8e93804da4bd3122e7e0b4618a89bb775f15c5075 DIST shtab-1.11.0.tar.gz.provenance 9263 BLAKE2B 938172b2866834a73845731006fb74279f372b85290beb651d5ee5e35ef80b924b222b17bf1fbc30fc2e73d93d68f5c2584b83ea3d08ee64865febf9c3f7c783 SHA512 90f85d016c37fc3411f9e8a124866ff6096b7833adebca3b16fdedc6eea12020784459ed3508a5c0e9bf169f1d7a2872eebcfccac8d6a43307f16c49bd559c28 DIST shtab-1.12.0.tar.gz 65967 BLAKE2B dea9e0f5fc163f9339a7221e64c1de72bb294ec0c7c5634751cba2cc7e5a76606ed6b557b05b6a5f994eafa098f6e7d20d944327e7afa74dbfb7d7d743db038e SHA512 84db3392efe5fe217e721e2d162a05dc6382db7fabae2a8176ce60e279af7a1260a05ec8b83978e0c2405d9a076383696f2eec4b4094b7d441685f94c71455b4 DIST shtab-1.12.0.tar.gz.provenance 9361 BLAKE2B fef6947f75466c5df3ff313bc9c1e458d3aaf3a52d6177bb7afa924c0f436138c2d8bf7883f18788df27d4e76d0c65063cccc4a56ad05620d1ed8353885f6744 SHA512 2f29e94f6d94654352fc7bca62047a38ff2a75d3f13805d50ef1e613b44fc5f928d55baa6621ddba4d427aeebde18b369a24f22056ad0e38fe3c0192ea215e4d -DIST shtab-1.8.1.tar.gz 46449 BLAKE2B eb71eff85121ccb37bcd4ac00e33aed89ed770c69386ec3c8fd6d17b8895a3b24b755880b58eb7ea6d02dc77b19e740ca44870919c384c2b630f39062f529a47 SHA512 d8a1dc61a12272c72c06c719806400f182fddc7b8e75e62a77c85e1f773e6e37a5138e3e166187fdab06a94e2f9676a1da6d3f66f86e6c778bf4055d222461ab -DIST shtab-1.8.1.tar.gz.provenance 9531 BLAKE2B 1a422235d4a1387c139e01d50079b9456939242628e097f291053a939d18bdb2aeb6a33358630ebe212b8d6873e73417f0fa3ab093244825807eeb3ae5a9f0d9 SHA512 e85a719310143fec6df4f87aaa312009f39c24b98185f812b66ec2a5a3776943f00ac49501709bd742ba95b524edcc05c3fbad44f7f25092038cf4e0a2571635 +DIST shtab-1.12.1.tar.gz 66195 BLAKE2B dd884496a7c7feb07b91913376776c379d6e475f71109dc335f1d0737de0cd6737b19179d050bb01c1457ac44e0e53e8a41d2708ef333cf631fd3938fa9e324a SHA512 3b7efd1c8e5985912eab61a6ceb7609031e0b1a29c5fc28d809db36c87774ed3b32cc8cd816b71cf306015e250012c400c456b1138cf69666f2aca568e5b41b6 +DIST shtab-1.12.1.tar.gz.provenance 9310 BLAKE2B 97a746947bb7b03c06d2692c7351ea4fd1a12616b07cec67d6ee89c0f788b4a7d064afb97c47b8dbd0e627aac370cd9a594b912b31e0257bebb1708f4a90896b SHA512 6f6cdf627b74ef55a85ff27abb745a1e6ef63d48df99645cac74c335416d2aa4caeaca077242928401fe2bd5c4a79ffc20a0fdf6a882c74c409cb3f52982b393 DIST shtab-1.8.2.tar.gz 46701 BLAKE2B 6b943b26f29984d3d736ab43ece3e8fff4ba513edbaab282b8485db219451d77cfab5d08172cde7949dd5229289c3424f356011741265ff0616a9b3eb3a8e906 SHA512 9b4e88e648daa6c5709ad83b9781d787752d8eeb71dfe6bc6392fd530211f36d710ffb96aaa67730a4f29ff48d2b7c8e7195e9fb8169a20fccad1fc1ec608081 DIST shtab-1.8.2.tar.gz.provenance 9249 BLAKE2B e4d849b6172ccd282c744263b58063ee87298f096d6612eb0e2a0cd0c716e01493d38a540316103bffd221ec29852b3df5afdaab46bfa64bcd1d3c86efdfea82 SHA512 c7bc34b4feba05ee44300a463bf6dca53bb5ca1f887cdc21bd2517476285d0129e3295be0603f3104d01034cd47a9a14d6e7b66c13dba8aff1893ae074749670 DIST shtab-1.9.3.tar.gz 52443 BLAKE2B 40ee277c63e390844a1d2e89680fa6b8e398d01e15be50d4e9c7e02040a52eebacd2bb49ba4ad5f9375d98023ce9f535118bb38b8e1a086e161bcc39747798e3 SHA512 4bd1ac1eb83c6467b29c089c94f0d1cd1548ed49f171e1f6126d432f98116fa5f02c11b1ee6eb1e2fc6fce9c88ee84a962886a5d4f9e7260215bd60a6fd504f7 diff --git a/dev-python/shtab/shtab-1.8.1.ebuild b/dev-python/shtab/shtab-1.12.1.ebuild index 9b749f4bf937..6799197f5470 100644 --- a/dev-python/shtab/shtab-1.8.1.ebuild +++ b/dev-python/shtab/shtab-1.12.1.ebuild @@ -17,16 +17,18 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/click[${PYTHON_USEDEP}] + ) " EPYTEST_PLUGINS=() distutils_enable_tests pytest python_test() { - # Disable pytest-cov epytest -o addopts= } diff --git a/dev-python/sphinx-autodoc-typehints/Manifest b/dev-python/sphinx-autodoc-typehints/Manifest index 3745048e2994..166104421d59 100644 --- a/dev-python/sphinx-autodoc-typehints/Manifest +++ b/dev-python/sphinx-autodoc-typehints/Manifest @@ -4,3 +4,5 @@ DIST sphinx_autodoc_typehints-3.13.2.tar.gz 88492 BLAKE2B c98510386f21e9922767f7 DIST sphinx_autodoc_typehints-3.13.2.tar.gz.provenance 10041 BLAKE2B 57d4b5d3fd46726c71eee70cc715883d0412c00c56777032263eb8dbc5c81cc07e300dea3fe7ecf6716bc9a5215b238d96a292e56d28602e6e8d857ae770e3f3 SHA512 4b3698e630f789e49f92c590dd085605cf9bfd2204498c53fa397fcb32cde4d5583d7e8583cf4c7fd15c7b6050d179492aae28d43b8ca6af1b1701ee8755eeb7 DIST sphinx_autodoc_typehints-3.13.4.tar.gz 92020 BLAKE2B a779fb9f55d0d4bb34174f9c16d65fcc2d5cdca8dfaf6012b25cf0c98e8d596ccbe2e5c2074576f581a16d760edbc124af7a24414798445595f1df767adb3c3c SHA512 c96b7b921c1a9420b946091902aeb2b666a6e79f25221aa3bdfac36b5384eb498c60d0a9d2cf04d6a1164d4b2bc6c801f241b29bfc46407bfaf2f83f27a1f263 DIST sphinx_autodoc_typehints-3.13.4.tar.gz.provenance 10000 BLAKE2B 9051daeda979371a7bf67238512430562be8aa83b29db46cc2955d8402dffcd2cb38070eb4c2e82411f001289d43efbb4ae685da9c49c5bfe5299092b465e1f8 SHA512 f2d15633423a043857fafaf7948baa6913a7417a704cac6a61750e8e29276a6644ce39c9f61144451914b25bfafb7c9d9676a57056038d8ee8f352f1e701c57d +DIST sphinx_autodoc_typehints-3.13.5.tar.gz 92932 BLAKE2B 20c8d262aa0458f2e153314d50799cade2a8d37ad8923d1d5dea463c12b4507688acdcb1e8ddb5b9136fc9e8c6b38f776425c2e1ca52cc89ea5aebf0ffd48386 SHA512 b09a7a9599cc4b3f1ed2938c7abc06128c87813e0a83192bb50e7eb36f8346583493740a3c83aee768f441d996ae21c05c6c20db676bb791aac02e7cf78756bb +DIST sphinx_autodoc_typehints-3.13.5.tar.gz.provenance 10227 BLAKE2B 8bc6b35c9f3ff8c4e5087b346524371aa8a6511da7d3ad776f5fb89f1c529695beea84d845ed246816a871b6f48c46d7423f7330b62c93de88f0cdc9b51fd1d2 SHA512 05b8a43e687bdd9fb6011bd556744bf2c69719c00ca3453882108c298637a0a4b7b4390217fdbb62fe13ee1cf60b862018e311d09bedc51a92c3e9f7e4ff3c5e diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.13.5.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.13.5.ebuild new file mode 100644 index 000000000000..238733c448a1 --- /dev/null +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.13.5.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=hatchling +PYPI_VERIFY_REPO=https://github.com/tox-dev/sphinx-autodoc-typehints +PYTHON_COMPAT=( python3_{13..14} ) + +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 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/sphinx-9.0.4[${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/attrs-25.4[${PYTHON_USEDEP}] + >=dev-python/numpydoc-1.10[${PYTHON_USEDEP}] + >=dev-python/sphobjinv-2.3.1[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet + tests/test_annotations.py::test_format_annotation + tests/test_resolver/test_stubs.py::test_sphinx_build_stub_types_produce_crossrefs +) diff --git a/dev-python/sphinxcontrib-mermaid/Manifest b/dev-python/sphinxcontrib-mermaid/Manifest index 154803048847..923efb497392 100644 --- a/dev-python/sphinxcontrib-mermaid/Manifest +++ b/dev-python/sphinxcontrib-mermaid/Manifest @@ -1,2 +1,2 @@ -DIST sphinxcontrib-mermaid-2.0.3.gh.tar.gz 25727 BLAKE2B 385a2cfc0ff5a99f7e6353c069ab4a99cd0bcddd44085df2a769daba1a418db7d01beb73d642459dcea8e9a6e02f69991a0d987775f824eb78dc4107354764f0 SHA512 612e02eacb84c56700a710a9338b6cd3b9167c6e88b5a4e4d814fdfe91d5887d24ca3d504b97bbc91997379eadb5596a6bcf4e916d84177076603df7cf137707 DIST sphinxcontrib-mermaid-2.1.0.gh.tar.gz 27473 BLAKE2B c5582e488f7ced6bcf563ad429c6ab910afd501a095569c40855363d7b4cf05cfc1e0f366f7047ca3f5c7c6a8f72ae83044cd7bb8cf934c9e56823a3b811b051 SHA512 d704a020249367e9e0404d0a4d91b7f1646952af359ec39215a7959a25d18ea981634d1014134f703e5ad0b0f8ff8689aac91b9635fdda019e46788f45c4afde +DIST sphinxcontrib-mermaid-2.1.1.gh.tar.gz 28683 BLAKE2B c6d479fb4f6af4ecdd767b4212a8028c6088c842d8b11dc6f16c6b3409bcbf42d6369cda1514740a32276f67c646c0e0af091dfa0656a554579fe2f048088c77 SHA512 919f93dff60b3fe105b98e04cb82f0445b93b05f7e21a6ed6858e8e8bd54db1e3f74df3866c17428a713ffca6b9fe890844f76364844e80bf3896f5f131feecd diff --git a/dev-python/sphinxcontrib-mermaid/sphinxcontrib-mermaid-2.0.3.ebuild b/dev-python/sphinxcontrib-mermaid/sphinxcontrib-mermaid-2.1.1.ebuild index 7e74ad3c563c..395135d9d7c7 100644 --- a/dev-python/sphinxcontrib-mermaid/sphinxcontrib-mermaid-2.0.3.ebuild +++ b/dev-python/sphinxcontrib-mermaid/sphinxcontrib-mermaid-2.1.1.ebuild @@ -15,12 +15,13 @@ HOMEPAGE=" " # pypi does not include test files, so we use the GitHub tarball SRC_URI=" - https://github.com/mgaitan/sphinxcontrib-mermaid/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz + https://github.com/mgaitan/sphinxcontrib-mermaid/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz " LICENSE="BSD-2" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ppc64 ~riscv x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~riscv ~x86" RDEPEND=" dev-python/jinja2[${PYTHON_USEDEP}] diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index dd0ade085742..2419fa8c9c3c 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,8 +1,8 @@ -DIST stripe-15.3.1.tar.gz 1516385 BLAKE2B cfdc04afa2c1cbba575cc67bf77375f84487c31a81641a903e82d24157d7f9121fc8ef9e23f57552763af07c7bfde36792d8a37b14053159672437795a968288 SHA512 f2a8c287b94672a9b73152fdaa20e1fcdd0e6d3cbcc6183b3b546a8fce9381a62d1a40e2d2c60756713590a92d5913e4745bd429e868cc58a5dd1404661fc884 -DIST stripe-15.3.1.tar.gz.provenance 9712 BLAKE2B 6b312c68c711c6afa03fd0650a1719535f76edbb0a34c49e3088fad2b97d76071938135ffd8dc78be01b93ba96a6855c2d22a3e13c9d3ba7d0f00f25eb90cd74 SHA512 1eb4547c84982b1eb50fcf49efc509207a42fb8673c35ea273ac833f4311af1a9ac21d01b9aea8d00a88547cbbf3fc9028458e5eaafc373a2387149d64e250b1 DIST stripe-15.4.0.tar.gz 1538270 BLAKE2B e2fed8eb46ec91a8f27ca3408b6b32a0c3b365059a92d6997c5d266c11bb0b11d101f9198ca48c0dfd43e3b6d746eaf26996a6b4d21cc432fe020d3e6dd8caf8 SHA512 544d6c8c2dc47d7f68c097f2eac5cb3075397742031b59fde01d2141e15655feb879b9a9c575dbf65ed5c9d37e4c75adcb53291f9b7e072af625ede33eb3cc2c DIST stripe-15.4.0.tar.gz.provenance 9618 BLAKE2B 7772df6031e1cebb15bbbfff575dc6e7a0b86477dbc6c261221aab1398da0f35c3524f925e92f6931c5fd30195a054421d7241644ed32452af2f0c06f288682d SHA512 c05853f5a4841b2f6e9a1bba6c27eab320f10392b2c922e1bacaaac0fbd3bbd21e6eae7375dc50ea4c9e2dbab1a5a1f5536d88f14d628bead3477968daa93cfb DIST stripe-15.5.1.tar.gz 1544797 BLAKE2B d2af1a485a4ace353c35240c3daa4cc15b6e557a16f510633a56849c885db09007a67034965271a184a5f0089abfbd058995e40c7fa44ed7fbefa565e89de382 SHA512 3c31ff744972622323faa84598b75718bcda8a5dac4e2e510ff1c5265af2306f2ef7fbd005aa6ad48659102c5b60d8c84dd4666ba1631096260b7f68c291a63c DIST stripe-15.5.1.tar.gz.provenance 9722 BLAKE2B 3b89619847e7ed07348ce8b386063da97d635d4a246e224a16371d1ef4a737d29286e68207da4d3ff045f37d24fdfe9192e7d830780a9dd972ef56fa50c53940 SHA512 27fd6ebf1e35c2057a36a2e930a63b5f88f6ca9371e1c1f3b51e3d181f401ceb0d0068962f3bdd9c197dc3d7c2cb557f2b3c9c955fd39238c54d88ff14ac446a DIST stripe-15.6.0.tar.gz 1562255 BLAKE2B fc893d387de746e183a7157988d29d12ae416ba87f300a011dd728075ce5809d6ae18e32414370227559caa0cacde6c65f1fe2a0fc9a7de104ac608c4feff572 SHA512 bcc3016dfcfd921e4b8a6add963daccede4870c7bdd23f27831b7621c5c6e62727f767ad51706149b970b06d9a6e604c362a768a9c16a2636eb75f6f09ca34a5 DIST stripe-15.6.0.tar.gz.provenance 9761 BLAKE2B 502dc35278978a20f92e722cd6ad6c428232fd7c216353c61a293a2e104a5c9191ba0dfa1bdb463cab969610fa2cb3ea98b1dd3bd96c412ef74f76d6ac51fb56 SHA512 e61ecc33b74ac291bad6087d21a517acabb753773a34f317195f4707fdea40177212b921db86052656f12d66f6db9bad93946cb31ad80934f31433369c958e04 +DIST stripe-15.6.1.tar.gz 1569005 BLAKE2B fd6fd2143291040140eb0172cbc6b04a0ddfc5fa8536d537e074f994d51f00ec8f323eef6361f3d385f9b93a0b7405f3046ed51c5e4f09467e0e7d4c10f79984 SHA512 f46566430302ac8fff22121ee560253a68d909f1fb0d3c27adad4c5f07b9c1d201bf64413ada517748b518c65d5c62a5f158e208370aade1b073634ac6e8b826 +DIST stripe-15.6.1.tar.gz.provenance 9757 BLAKE2B 94e375fa32980d5462775d78e7b386e7409e65182d627c5242c78fd4b87461ffc8187a94e7ec8ced22eb7f4cba2ed6748b9f49b45dc49d4b584c654ef4479721 SHA512 4e1f1623c50897edc33fef0f89801f30f18eb89b874446620a3a620977257cf8a25938023038d15dd210ba09daadca59778454bcde3fc419a870371fb1bb1cc3 diff --git a/dev-python/stripe/stripe-15.3.1.ebuild b/dev-python/stripe/stripe-15.6.1.ebuild index 4087375d52b2..d87b66115eea 100644 --- a/dev-python/stripe/stripe-15.3.1.ebuild +++ b/dev-python/stripe/stripe-15.6.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm64 x86" +KEYWORDS="~amd64 ~arm64 ~x86" IUSE="telemetry" RDEPEND=" diff --git a/dev-python/translate-toolkit/Manifest b/dev-python/translate-toolkit/Manifest index dc2729606f26..0fc2b19ef307 100644 --- a/dev-python/translate-toolkit/Manifest +++ b/dev-python/translate-toolkit/Manifest @@ -1,3 +1,3 @@ -DIST translate-3.19.15.gh.tar.gz 1406521 BLAKE2B a47cd9202ef318b518a7c268fd3eb8b9f3aca526c4735d1c71d4dccf150da7793b6fd468cf473c25006a4f32fe3a8677b8544f7407a90a9c4f5e3a95a32efcaa SHA512 cdc353b7730eb18a177fdc32a0c0018d636be37cba4392eb6f28d74fcc33c8abf34caa8f54cb0e7351a9fcfddf0bb78ced065a2309995b82a24338766b9c917a DIST translate-3.19.17.gh.tar.gz 1419163 BLAKE2B 6dbfd25d4a8ca2e22be4da2c6f4e1e081ac2902d5911498d0e4d13fd182dff3f338cfe36a5ef93e4ad9c276b443f84bac6b44b12cdae1ac07a46830dec36aecc SHA512 8f28c6d312e6a6a9aef3b177981222ee8f80751b1ea0075f0ad7ec7774840822a50d806d9fbbcb21ed95d4dfdf491a8added8ef7bba1166665160613d5e08444 DIST translate-3.19.18.gh.tar.gz 1430779 BLAKE2B cd8276ede35ac17df538688c5bc4d9135799f651dafe56daaecae78a2369fe5782c5c4d9d26e81e5a666c81eace1e68fa747a0f7b3e17941d49565ce540db95e SHA512 83e05ff2a200fde531d390d36da5ed8915a8aa61184c6fe924223fbb75c5e27eecce29af1252c89c3aee393fe8fdc68f88b6d7df4f97881406eb8ab204f9c1b6 +DIST translate-3.19.19.gh.tar.gz 1436103 BLAKE2B 05d4e3e9b39e363af629ef352eaeaf0da6668ed2372b4a1f69c8373f421a8d868fc7f75947f4b41df99e60147c76871ae2f47c936e3c14d80418dfd87c741d25 SHA512 f9eeb572b8003ade578a5bf67eb8c482e200088da5df99f72751d5bf2a58a5094bd2602cff778d4565c48bb3de31f2a0381bf527403a8b73e1079384bf50bccf diff --git a/dev-python/translate-toolkit/translate-toolkit-3.19.15.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.19.19.ebuild index e3e3737485ca..87c171eea069 100644 --- a/dev-python/translate-toolkit/translate-toolkit-3.19.15.ebuild +++ b/dev-python/translate-toolkit/translate-toolkit-3.19.19.ebuild @@ -23,7 +23,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 arm64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" IUSE="+html +ical +ini +subtitles +yaml" RDEPEND=" diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest index e85b0d3781d1..d501ea26995d 100644 --- a/dev-python/uv-build/Manifest +++ b/dev-python/uv-build/Manifest @@ -6,3 +6,4 @@ DIST uv_build-0.12.3.tar.gz 414444 BLAKE2B f226c1c2bf0b2af538f66095e20c02ad1933a DIST uv_build-0.12.6.tar.gz 419593 BLAKE2B f6de34befe98b15e30e4a067993fa1763cb9769612e8ed518080fcb91a994cc0d86a0a08b9e784fa5ddf9ab343e4889e2615548b94003835512b2e9ac8495259 SHA512 c609f89b8c0f1decdf64c056084354ae04d6337e27dbd22297b5d462fcba0f0ce29f5a0a40b8f274ac5668f4805d9971b1da5509d10071ee2354f6fe78cc65ee DIST uv_build-0.12.7.tar.gz 418759 BLAKE2B 94aa33b2644f849a686d80d7f7d365ca8433615d93f27209fca5b21747363cd349d11e887d090420102f06a49977ce963b8f19c24a4280bf82a09943ba08885b SHA512 135f845b3ee6d1925f740917f83f94ec1a7e95aab5ed2db0aa70516c712ab0a143a0e427d3c172fac0bb1fabaa9103718bb2a26c31c9a287e3af65ac0175a245 DIST uv_build-0.12.8.tar.gz 423420 BLAKE2B 35f99b89540d3fdab189d9d0df9367f98cf427e893748bbd06bf55c4eb515a17211d517ac06977d08e87863e3ba6f5691e5ca5d9863d01b94cf2127ed113ca65 SHA512 e391cc931ff27730eed9dab0cbfc16de8958e744cd172eedc3f0e11f2a2593967b47a71cf183f0d6b94e9ba64e365e61511a5d9d0bd157f21322d3cc6e7debfa +DIST uv_build-0.12.9.tar.gz 423446 BLAKE2B 8f32f7527633f5853a11a0f798a2aa075f9e96c2b34144f986a639dbd042bac7c5e33853287ef43273352a3ee84da852062c42daead1f188281295b635694177 SHA512 3aa6ea5b4e60218e7cbc3c5ed8ff7fbeeace36eb0d2c75627fb7a0ce7c060e8d6405378e9713f7164319cce55dc96b1a335ccb3032cfc7e9e60e99862295e79e diff --git a/dev-python/uv-build/uv-build-0.12.9.ebuild b/dev-python/uv-build/uv-build-0.12.9.ebuild new file mode 100644 index 000000000000..65d94f2051ae --- /dev/null +++ b/dev-python/uv-build/uv-build-0.12.9.ebuild @@ -0,0 +1,100 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maturin compiles uv-build executable for every impl, we do not want +# that, so we use another backend. And since we use another backend, +# why not dogfood it in the first place? +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="PEP517 uv build backend" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv-build/ +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/uv-${PV} +" +BDEPEND=" + test? ( + app-arch/unzip + dev-python/build[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + distutils-r1_src_prepare + + # use the executable from dev-python/uv instead of building + # a largely overlapping uv-build executable (at least for now) + sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die + + # replace the build-system section + sed -i -e '/\[build-system\]/,$d' pyproject.toml || die + cat >> pyproject.toml <<-EOF || die + [build-system] + requires = ["uv_build<9999"] + build-backend = "uv_build" + backend-path = ["src"] + EOF + + # rename to make uv-build find it + mv python src || die +} + +python_test() { + "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" + + local zip_result=$( + unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die + ) + local zip_expected="\ +Archive: dist/uv_build-${PV}-py3-none-any.whl + testing: uv_build/ OK + testing: uv_build/__init__.py OK + testing: uv_build/__main__.py OK + testing: uv_build/py.typed OK + testing: uv_build-${PV}.dist-info/ OK + testing: uv_build-${PV}.dist-info/WHEEL OK + testing: uv_build-${PV}.dist-info/METADATA OK + testing: uv_build-${PV}.dist-info/RECORD OK +No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ +" + if [[ ${zip_result} != ${zip_expected} ]]; then + eerror ".zip result:\n${zip_result}" + eerror ".zip expected:\n${zip_expected}" + die ".whl result mismatch" + fi + + local tar_result=$( + tar -tf "dist/uv_build-${PV}.tar.gz" || die + ) + local tar_expected="\ +uv_build-${PV}/PKG-INFO +uv_build-${PV}/pyproject.toml +uv_build-${PV}/pyproject.toml.orig +uv_build-${PV}/ +uv_build-${PV}/README.md +uv_build-${PV}/src +uv_build-${PV}/src/uv_build +uv_build-${PV}/src/uv_build/__init__.py +uv_build-${PV}/src/uv_build/__main__.py +uv_build-${PV}/src/uv_build/py.typed\ +" + if [[ ${tar_result} != ${tar_expected} ]]; then + eerror ".tar.gz result:\n${tar_result}" + eerror ".tar.gz expected:\n${tar_expected}" + die ".tar.gz result mismatch" + fi +} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index b65547904815..58ce6cdcd8c2 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -14,3 +14,5 @@ DIST uv-0.12.7-crates.tar.xz 44143088 BLAKE2B 075113e8cbafd99a1c70c4ce53678f2ceb DIST uv-0.12.7.gh.tar.gz 8659716 BLAKE2B ab7d74e16821dbbefeb247cf80926ae23f75b5f309a8864070b3a01344044a966f772685cb864470b4c30877f8e03715ec675b658862bd04906e740866ebffd1 SHA512 7f9bd1aef6c285aedd3fe588a5f70e0458f85f6db14f0368ea24c5524fd66990510e0d5624a7faf48091a3dc73ff66ac52ab9a6ed571a10cca272b9588fb1aff DIST uv-0.12.8-crates.tar.xz 44173544 BLAKE2B acdbb473c57cebddedc908d0e4e2e4b69ce233ffe7afe5dde2ef01bf0025a089e4be2a2c95e48e57176f08d3f970b82d0fc7f14c1dc23228d846a26c33bed410 SHA512 9974e7f5fa53b5848986f20147560b096a8812c4e5f4af619bcfe3f29f50e3edde6d05a959f906064e81316f81e4d4a4b8b4f0de315774d7f5f05bdf97003a2b DIST uv-0.12.8.gh.tar.gz 8678426 BLAKE2B 71c97c50ca10bba766e0cb0877792a1e9aee1821f3de0eca7964522eacc870b62df50e6a5820e75e9daef559cbc24905c9dd01596e98488bbba348cb12e467be SHA512 ecac878e03791c00875b7d1f0a1849ed165435e94d1ce999b4158be2bd305111ee69c418f4e75bb15541089a29a15a86e4201a56b024cdcf522554b925829e49 +DIST uv-0.12.9-crates.tar.xz 44161200 BLAKE2B ef5f654005a5c074a2c251471bfe91db9e172b5733ede5e9b5f48a3464194f50e288aeb8afdbd2f0923106380812490bb800506c3c10dca916e994c2c6548a6c SHA512 26676348002e1c3ddfdc772ce6a429ab0d69fe7641a539dba2694a0e946c2f23789e5c8d6ceeaef407efbd20ec4b0fe889463d94c498514462bc19f0d85fff7d +DIST uv-0.12.9.gh.tar.gz 8688302 BLAKE2B 0ec1ded90f77ad7b9eb0e0a5c8001b26e10b7485ffa6e709638130173ded90d92969a54f10a455e8a0c032d5872881a3f527a6d4b612d378f283349dea816cab SHA512 18d35675a3e15531a9542c951b265866da4b762e0f2ba91f66dcc8b55ba5352ec97638ee2dc7fd3a908639201b27a442112a75c67053f9d861840c041e0b5290 diff --git a/dev-python/uv/uv-0.12.9.ebuild b/dev-python/uv/uv-0.12.9.ebuild new file mode 100644 index 000000000000..9826f9045941 --- /dev/null +++ b/dev-python/uv/uv-0.12.9.ebuild @@ -0,0 +1,151 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" +RUST_MIN_VER="1.96.0" + +inherit cargo check-reqs + +CRATE_PV=${PV} +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 + CDLA-Permissive-2.0 ISC MIT MIT-0 MPL-2.0 Unicode-3.0 + Unicode-DFS-2016 ZLIB +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + dev-lang/python:3.13 + !!~dev-python/uv-0.5.0 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space + rust_pkg_setup +} + +src_prepare() { + default + + # force thin lto, makes build much faster and less memory hungry + # (i.e. makes it possible to actually build uv on 32-bit PPC) + sed -i -e '/lto/s:fat:thin:' Cargo.toml || die + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + # TODO: unbundle tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/zstd-sys-*/ -name '*.c' -delete || die +} + +src_configure() { + local myfeatures=( + test-git + test-pypi + test-python + ) + + cargo_src_configure --no-default-features + # otherwise, rustc/llvm runs out of address space + use arm && export RUSTFLAGS="${RUSTFLAGS} -Copt-level=0" +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + dobin "$(cargo_target_dir)"/{uv,uvx} + + insinto /etc/xdg/uv + newins - uv.toml <<-EOF || die + # These defaults match Fedora, see: + # https://src.fedoraproject.org/rpms/uv/pull-request/18 + + # By default ("automatic"), uv downloads missing Python versions + # automatically and keeps them in the user's home directory. + # Disable that to make downloading opt-in, and especially + # to avoid unnecessarily fetching custom Python when the distro + # package would be preferable. Python builds can still be + # downloaded manually via "uv python install". + # + # https://docs.astral.sh/uv/reference/settings/#python-downloads + python-downloads = "manual" + + # By default ("managed"), uv always prefers self-installed + # Python versions over the system Python, independently + # of versions. Since we generally expect users to use that + # to install old Python versions not in ::gentoo anymore, + # this effectively means that uv would end up preferring very + # old Python versions over the newer ones that are provided + # by the system. Default to using the system versions to avoid + # this counter-intuitive behavior. + # + # https://docs.astral.sh/uv/reference/settings/#python-preference + python-preference = "system" + EOF +} diff --git a/dev-python/vcs-versioning/Manifest b/dev-python/vcs-versioning/Manifest index 513f83acc9e6..c0fa35050544 100644 --- a/dev-python/vcs-versioning/Manifest +++ b/dev-python/vcs-versioning/Manifest @@ -1,10 +1,8 @@ -DIST vcs_versioning-2.2.2.tar.gz 143135 BLAKE2B a04f2687e8cd34caea599090decb6be74f886020a75582929052cea301a36e086f8ae0917b16007a5cf34103230f99c1bf74f96a45fe7ec4eaa654e9988a36b8 SHA512 b65af99a5078d8b129e34610bbeb7d1fa8f57badb304e00f14c6318a13b2314b7ca739a26fc7729b0d2df6d829769f8b93fee28ae9f0450ab1246a2a4c36fc8f -DIST vcs_versioning-2.2.2.tar.gz.provenance 10134 BLAKE2B 47904c81c239851654bcf0f58326efbaa245fb3e7a673c12e5c8eda809fc403862b4d277d193ad8955072628f5cd7b7127b61fd50142ad9ea85740344df0e509 SHA512 60512914d4701ae0b14896188b0bcce97c9807ef6ae400e60b77225c8bfc6e8c05801a042e4a28cc4ae5f15d832c808bb609d665ec08ba8c6693654c07fcbfb2 DIST vcs_versioning-2.2.3.tar.gz 143653 BLAKE2B a0b1b4a923d775ca62ec60a0c006ee7b98ce047a9eaca2bbda7bdfe81fe945ac1dd4ebeec7f96bb6d8fbe45d1411e149cbbd83174e9f28f58f1937b966d3fbcf SHA512 847d97ffe3262052076876907e2564656dd6caf38ee8587ce2dd6759c22a4f1f7fd052b542ae78aa1baba25dc673e28d1ee8b984272ea25054a92dc94ff53779 DIST vcs_versioning-2.2.3.tar.gz.provenance 10154 BLAKE2B 5fdf3e7f32c762afdcf1bb10b4b4a44c493ffa555a370a356462d54e950f28a7d91a6edf501dd2971967140b76b5356ee538e6ef1de5c26c4bc72be8265daee8 SHA512 d6b3fe687707de6ffbf7dc1036bc94cc1973c555c3e49151ba0393ef9fa13498d7005d71d38202ce0e582f785d76b70d9940f2e1be582f9c22677de4a6508153 DIST vcs_versioning-2.2.4.tar.gz 145243 BLAKE2B 16d123f10c3152f4b544eed83810b3f3696cb0bcd393d987b33dd2fa86455275403e47866c3b3bc95f3e93752eadf3501adc0dcee948d43a944281db3b5f61e6 SHA512 f2fa4536d3f204f291341af3be4ec22c12867fe8bfe4ee5851794bf7a6847c3657f55297a8a42639916115cc4e5b2cb2a14171e3591610dd55ec0035f2c0a347 DIST vcs_versioning-2.2.4.tar.gz.provenance 10291 BLAKE2B e72e9eb5e0d79167d096ab41c490644df810dda5294bec656a3089e46b50aa9ace2abbada783b3d2af16e076e54e836df2a15028a9657661836ad71e029aedd8 SHA512 c13a63480f0985d56a17965cff2e2b41aa1c491be153409d4dcb62a4b578d677718e4c2de98d89b4043d6a547184fda81e15f1ddf663caf95969b77981a2a3ec -DIST vcs_versioning-2.3.0.tar.gz 155949 BLAKE2B 414f9e8b2fedb6bd5cdc12787194fb67323d8e15595afb477b8533f62c1ecda5ec108f0e41daaad09696c6fe62a5c897564c4918dad5f94b1d0ce4d16dbb6ccd SHA512 93f23736f11a79d5b9629de4ce0b8172158096ec701b7e7d3808797f49f06c81218e567640fb73db98ec0b1ec0604545a2db36250e2dbca98a0866f6c4ace86b -DIST vcs_versioning-2.3.0.tar.gz.provenance 10293 BLAKE2B 6f289766625d642f1c87c33a7040ec5b164422ebb1cefadc2bb6281d067f473a49283f5482a7ebd36dcaedfef9a8e7430855c7c8fbd1921a16543ebe76d585fc SHA512 78eb471ee736774c3d8d926f80e7f1e0def8faed82b4843212bf2e9f33d1b2ddade2b0e3dab60dd157b32d2d5ae9c041665b2326f8bfec95af0ad1b95ab3b638 DIST vcs_versioning-2.3.1.tar.gz 156292 BLAKE2B 5d8ceee494d3d048e6e6102455123ff7b41a9ee6237d9788133189f90c77b55995f27a10a4209a87ff6f6e919ed57078b7e05bce3e271b2452d1eabf88bfe527 SHA512 31ea5d94b881eb19c709873086110498c64da4a3525f6eace82fe693ea7243b812f1434c20e08ad8c6ad9c3cb013831ecfe88834739dc60a9c1b78fb746c5dee DIST vcs_versioning-2.3.1.tar.gz.provenance 10199 BLAKE2B 3e9f7ba44894c8a28eadd9cf6d5398dd56ed53a60776e89d0f6eadbe379e0c0f6d973ebaa4580c96e1f7862bf711ab6e1db26f196c5bdff42f8e271ed2c053e5 SHA512 cbafe022dbcf0bc28db3d4e17a272f052ff2ab17c44a155a8e63b11fe640bdbdbec8ab4b9ba3fe8ed9028de3a756190e0b76eed1be692d7234a5086046839a3c +DIST vcs_versioning-2.3.2.tar.gz 149377 BLAKE2B 59ef750eef0f2bfe8a23697830bd1b30aaf262a875f4926d362a71390cec5ef38e7d741587751432ae02df563ec457aff1a72ec385887dce0927bb705197d7d5 SHA512 d50d809d2062e828181180d74f983aa68bb35e3cc985e5a14cad785da47a99c390b44da66ab473bcff22b49d340338ae2027efbb70087938ba23743550eaead0 +DIST vcs_versioning-2.3.2.tar.gz.provenance 10156 BLAKE2B a4ff73c5f12f0da7c2cbd20f9eff44a60fe9e9157a040439059f0e577744b0505b4fb870ad2c9c937dce791e06a366950db382b89e4dc5930fefb91d9e78bd96 SHA512 4f0de3cf863dc730cd5d2ac0e4802fbdd0803749254c4ec0e30095d2619ebcab52bcef284c46d95c6a9c4c679150c370bcd328b611b51e81c1bf8cc28db90195 diff --git a/dev-python/vcs-versioning/vcs-versioning-2.2.2.ebuild b/dev-python/vcs-versioning/vcs-versioning-2.2.2.ebuild deleted file mode 100644 index 3f4a4496e157..000000000000 --- a/dev-python/vcs-versioning/vcs-versioning-2.2.2.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_VERIFY_REPO=https://github.com/pypa/setuptools-scm -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Core VCS versioning functionality from setuptools-scm" -HOMEPAGE=" - https://github.com/pypa/setuptools-scm/ - https://pypi.org/project/vcs-versioning/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - >=dev-python/packaging-20[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/packaging-20[${PYTHON_USEDEP}] - test? ( - >=dev-python/setuptools-scm-10.1.1[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( pytest-timeout ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # the usual nondescript gpg-agent failure - testing_vcs/test_git.py::test_git_getdate_signed_commit -) diff --git a/dev-python/vcs-versioning/vcs-versioning-2.3.0.ebuild b/dev-python/vcs-versioning/vcs-versioning-2.3.2.ebuild index f253689d01b8..f253689d01b8 100644 --- a/dev-python/vcs-versioning/vcs-versioning-2.3.0.ebuild +++ b/dev-python/vcs-versioning/vcs-versioning-2.3.2.ebuild diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index 1603c83f7a75..39058ac0c34b 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -6,3 +6,5 @@ DIST virtualenv-21.7.5.tar.gz 5346743 BLAKE2B 52c54885686970e47eb44c627151516492 DIST virtualenv-21.7.5.tar.gz.provenance 9557 BLAKE2B 9936b0300432ffab4cfa3f7487f25e96f079f74d4b043223f313c1ea73a04b653eb798c9e5da8d74aa9d27d63239705a7a301510b5fd64d57660c58361bba109 SHA512 09cbb81b81bac143fa59f79ca279c386c6317e642ec16d9ba546b784a82a9674feae4e15740e8cf1c17bb0836920c9d64e55e794f53bc1ec201cce31a07a994a DIST virtualenv-21.7.7.tar.gz 5347022 BLAKE2B fbd9fbbb3e48ef719ddf097eca32557ba4ae980d0a752c0d0e900a086b144ef0a52d87ee75ca902dc24bdad973c0588a148573dcdc982fdf460f1e8ffb71cb7c SHA512 b577552968f9e3fe72af4a5771fbcacbd5efb8808d0b7a23e709a90bb4d9df9cf51bc74a5dff0c978e4da9a9977d22300b6a75c7a57396c4fed09a5946e0e03d DIST virtualenv-21.7.7.tar.gz.provenance 9416 BLAKE2B 1908bbb5a2b25e4e2d94661f3939716816c3739a79665e561e139be70802c96012decf5ed8598fd87c466dac83446e55310a6155917a1ef74c98043b694ff863 SHA512 48eb2eedb8d65373496d77fee372c46810768a74be9388f3810ffe97e5e96b44e12ff50dc37c076e7d0f85fb4750851a963bf228c30f7115008a647df122b36c +DIST virtualenv-21.7.8.tar.gz 5347580 BLAKE2B d5b2c8258b36b19d646a4e907e938bd336a05a501d66d5f9b3ce38b55d8473b4c2443eca60f06e78ce4afb210b7c4a247f68be3f1bd286a7b859aa8fc1af57e6 SHA512 df5a7fa1fa924f4294d4248ea1ab8aebf43b1efae1fce94932135e3fac53d2e2070f3369d2509253215d7ed824a936d7d9f51672575700981ac12f2b9a3b4a5e +DIST virtualenv-21.7.8.tar.gz.provenance 9342 BLAKE2B 2d8b235ef47c92657a63bac84558e3eba85afafb71e46c0aa2d4231c1246d12e7b03f81518c1f67d1c4fef07fb9ad3a02b38d6e2ba67c7790a0b5f42193715fe SHA512 23292aebd030e5990faa2e141e0ef10a1b2dc29bfbcc2a95c87aeed8902c9497b92d0bbfbd6e5ef51a3f4ab0de395139f110be7e94c8120da242a16259c33300 diff --git a/dev-python/virtualenv/virtualenv-21.7.8.ebuild b/dev-python/virtualenv/virtualenv-21.7.8.ebuild new file mode 100644 index 000000000000..b2791558c0f7 --- /dev/null +++ b/dev-python/virtualenv/virtualenv-21.7.8.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/pypa/virtualenv +PYTHON_TESTED=( python3_{13..14} ) +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Virtual Python Environment builder" +HOMEPAGE=" + https://virtualenv.pypa.io/en/stable/ + https://pypi.org/project/virtualenv/ + https://github.com/pypa/virtualenv/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/distlib-0.3.7[${PYTHON_USEDEP}] + >=dev-python/filelock-3.24.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] + >=dev-python/python-discovery-1.6[${PYTHON_USEDEP}] + + dev-python/ensurepip-pip + >=dev-python/ensurepip-setuptools-70.1 + dev-python/ensurepip-wheel +" +# coverage is used somehow magically in virtualenv, maybe it actually +# tests something useful +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/coverage[${PYTHON_USEDEP}] + >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] + dev-python/time-machine[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +src_prepare() { + local PATCHES=( + # use wheels from ensurepip bundle + "${FILESDIR}/${PN}-21.5.1-ensurepip.patch" + ) + + distutils-r1_src_prepare + + # workaround test failures due to warnings from setuptools-scm, sigh + echo '[tool.setuptools_scm]' >> pyproject.toml || die + + # remove useless pins + sed -i -e 's:,<[=0-9.]*::' pyproject.toml || die + + # remove bundled wheels + rm src/virtualenv/seed/wheels/embed/*.whl || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping testing on ${EPYTHON}" + return + fi + + local EPYTEST_DESELECT=( + tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data + # tests for old wheels with py3.7 support + tests/unit/seed/embed/test_pip_invoke.py::test_base_bootstrap_via_pip_invoke + tests/unit/seed/wheels/test_wheels_util.py::test_wheel_not_support + # broken by different wheel versions in ensurepip + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_string + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_exact + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_none + tests/unit/seed/wheels/test_acquire.py::test_download_wheel_bad_output + tests/unit/seed/wheels/test_wheels_util.py::test_embed_wheel_below_oldest_supported_is_missing + # hangs on a busy system, sigh + tests/unit/test_util.py::test_reentrant_file_lock_is_thread_safe + # TODO + tests/unit/create/via_global_ref/test_build_c_ext.py::test_can_build_c_extensions + # random resource leaks or xdist + tests/unit/test_file_limit.py::test_too_many_open_files + # Internet + tests/unit/create/test_creator.py::test_create_distutils_cfg + # we do not use bundled wheels + tests/unit/seed/wheels/test_bundle.py::test_every_wheel_on_disk_has_sha256 + ) + + local -x TZ=UTC + local EPYTEST_PLUGINS=( pytest-{mock,rerunfailures} time-machine ) + local EPYTEST_RERUNS=5 + local EPYTEST_TIMEOUT=180 + local EPYTEST_XDIST=1 + epytest -o addopts= +} + +src_install() { + distutils-r1_src_install + + # remove bundled wheels, we're using ensurepip bundle instead + find "${ED}" -name '*.whl' -delete || die +} |
