From 4dec849539ecb0ceab14d66af84960f01b9a284c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 Jan 2025 06:47:12 +0000 Subject: gentoo auto-resync : 25:01:2025 - 06:47:11 --- dev-python/Manifest.gz | Bin 274409 -> 274400 bytes dev-python/atpublic/Manifest | 2 + dev-python/atpublic/atpublic-5.1.ebuild | 27 ++++ dev-python/boto3/Manifest | 2 + dev-python/boto3/boto3-1.36.5.ebuild | 53 ++++++ dev-python/botocore/Manifest | 2 + dev-python/botocore/botocore-1.36.5.ebuild | 67 ++++++++ dev-python/cfn-lint/Manifest | 2 + dev-python/cfn-lint/cfn-lint-1.22.7.ebuild | 70 ++++++++ dev-python/elasticsearch/Manifest | 2 + .../elasticsearch/elasticsearch-8.17.1.ebuild | 76 +++++++++ dev-python/faker/Manifest | 2 + dev-python/faker/faker-35.0.0.ebuild | 43 +++++ dev-python/fonttools/Manifest | 2 + dev-python/fonttools/fonttools-4.55.5.ebuild | 99 ++++++++++++ dev-python/grpcio-status/Manifest | 2 + .../grpcio-status/grpcio-status-1.70.0.ebuild | 47 ++++++ dev-python/grpcio/Manifest | 4 + dev-python/grpcio/grpcio-1.70.0.ebuild | 119 ++++++++++++++ dev-python/id/Manifest | 2 +- dev-python/id/id-1.5.0.ebuild | 2 +- dev-python/owslib/Manifest | 2 + dev-python/owslib/owslib-0.32.1.ebuild | 45 ++++++ dev-python/pydantic/Manifest | 2 + dev-python/pydantic/pydantic-2.10.6.ebuild | 65 ++++++++ dev-python/pytest-aiohttp/Manifest | 2 + .../pytest-aiohttp/pytest-aiohttp-1.1.0.ebuild | 36 +++++ dev-python/pyzotero/Manifest | 2 + dev-python/pyzotero/pyzotero-1.6.8.ebuild | 41 +++++ dev-python/rustworkx/Manifest | 113 ++++++------- .../rustworkx/files/rustworkx-0.14.2-numpy-2.patch | 134 ---------------- dev-python/rustworkx/rustworkx-0.14.2-r2.ebuild | 159 ------------------ dev-python/rustworkx/rustworkx-0.15.0-r1.ebuild | 154 ------------------ dev-python/rustworkx/rustworkx-0.16.0.ebuild | 141 ++++++++++++++++ dev-python/s3transfer/Manifest | 2 + dev-python/s3transfer/s3transfer-0.11.2.ebuild | 39 +++++ dev-python/selenium/Manifest | 3 + dev-python/selenium/selenium-4.28.1.ebuild | 138 ++++++++++++++++ dev-python/semver/Manifest | 2 + dev-python/semver/semver-3.0.4.ebuild | 25 +++ dev-python/snakeoil/Manifest | 2 - dev-python/snakeoil/snakeoil-0.10.9.ebuild | 33 ---- dev-python/sqlglot/Manifest | 2 + dev-python/sqlglot/sqlglot-26.3.6.ebuild | 177 +++++++++++++++++++++ dev-python/twine/Manifest | 2 +- dev-python/twine/twine-6.1.0.ebuild | 2 +- dev-python/uv/Manifest | 2 + dev-python/uv/uv-0.5.24.ebuild | 170 ++++++++++++++++++++ dev-python/zenlib/Manifest | 2 +- dev-python/zenlib/zenlib-3.0.2.ebuild | 4 +- 50 files changed, 1572 insertions(+), 554 deletions(-) create mode 100644 dev-python/atpublic/atpublic-5.1.ebuild create mode 100644 dev-python/boto3/boto3-1.36.5.ebuild create mode 100644 dev-python/botocore/botocore-1.36.5.ebuild create mode 100644 dev-python/cfn-lint/cfn-lint-1.22.7.ebuild create mode 100644 dev-python/elasticsearch/elasticsearch-8.17.1.ebuild create mode 100644 dev-python/faker/faker-35.0.0.ebuild create mode 100644 dev-python/fonttools/fonttools-4.55.5.ebuild create mode 100644 dev-python/grpcio-status/grpcio-status-1.70.0.ebuild create mode 100644 dev-python/grpcio/grpcio-1.70.0.ebuild create mode 100644 dev-python/owslib/owslib-0.32.1.ebuild create mode 100644 dev-python/pydantic/pydantic-2.10.6.ebuild create mode 100644 dev-python/pytest-aiohttp/pytest-aiohttp-1.1.0.ebuild create mode 100644 dev-python/pyzotero/pyzotero-1.6.8.ebuild delete mode 100644 dev-python/rustworkx/files/rustworkx-0.14.2-numpy-2.patch delete mode 100644 dev-python/rustworkx/rustworkx-0.14.2-r2.ebuild delete mode 100644 dev-python/rustworkx/rustworkx-0.15.0-r1.ebuild create mode 100644 dev-python/rustworkx/rustworkx-0.16.0.ebuild create mode 100644 dev-python/s3transfer/s3transfer-0.11.2.ebuild create mode 100644 dev-python/selenium/selenium-4.28.1.ebuild create mode 100644 dev-python/semver/semver-3.0.4.ebuild delete mode 100644 dev-python/snakeoil/snakeoil-0.10.9.ebuild create mode 100644 dev-python/sqlglot/sqlglot-26.3.6.ebuild create mode 100644 dev-python/uv/uv-0.5.24.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index c550b1eb5740..7a1f39dc5b77 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/atpublic/Manifest b/dev-python/atpublic/Manifest index 1c528aa8e756..54c27de818ad 100644 --- a/dev-python/atpublic/Manifest +++ b/dev-python/atpublic/Manifest @@ -1,5 +1,7 @@ DIST atpublic-4.1.0.tar.gz 14426 BLAKE2B c535d36b8c4723fa0c36ed543461f8364445c52893e8a5cd6a6bfdec0a387308a74d9f6a9d4c204ac753fcc847a105f6f4a5dc7afa5848d08f0a269af8b01397 SHA512 bd840a44f3f9d8f7099c22d67866744ef43ed4bfa00e0fd8a6a7516e8e995287b234fb97eaf30be494f06a8ff1020c0479533bfe33adc56ae62bd976bd997b4b DIST atpublic-5.0.tar.gz 14646 BLAKE2B 92d545d7f8d90b47348a302662473f154783d0f5e3aa6ef165f6ddecbd7024792ef5dec02edf9b513c03021c5550cc915c258b5ee600869e10ba9c6c99f1dafa SHA512 b5b3dabb4891c0aa75a6e2f0d6f19e1447ba358c139a73bc582c2ef58bec0ea44bfee44f44635de7da1e1c1e4e7edb99ea7e6a2090c1df710a200eb16440098f +DIST atpublic-5.1.tar.gz 14670 BLAKE2B 46a9b0b583504e394d9ff1bf5db63d486a600aeedd7a2a15bb0b84074aaec6087afe9346c545da233af17a895359f23396a73f563a019b1db3ec10248d481b57 SHA512 7f15a6852e7a3140376ca15500f0154cb86d7183cf0fd7e847fd7ec52c14c64854d5578b8a78b8fce808886ace54971396d882be08c6932a62acbb0e0939e306 EBUILD atpublic-4.1.0.ebuild 650 BLAKE2B 964ce7b6bd087614e7e54d70152f3d38c123f67679b95ce0de567db7dcd9b450e656634bc51c3a903fe72e18b72f972f06509eeacb275611b198706c9690882c SHA512 8715249a80148ff62830f1926df12dd2a871b31ba0897ef3987137299ac58de8bfb3c62a6b78557e16ad807113aeaf45ba691da4f44f4a9f55c3bddf838c7ebd EBUILD atpublic-5.0.ebuild 552 BLAKE2B c1e60b4aa5c3ddd9c7305bf3a51edfea82b52da35adf7b91cccc626e23f76d5a60678f9c8fe46b248b41a599ed258b2484d58e2c238e604a0d95d56c936d3096 SHA512 2ae58bc3bdd8bd3d1a71d2d5faab24844738e09c021303dc169e91ae49a1c3116dd2aa171356bcd8e3a3c7cfb2d1e8794957e676255970ce36293175cffd9109 +EBUILD atpublic-5.1.ebuild 559 BLAKE2B d1962fc62818ee98cbd4b5ed1d82b94f9296bdcaa8f5c522fd495512b10700b74abb59b907270d695aa46c48605c0aa4f25fadba43868a1d489e444d74ce305b SHA512 392e544c452f941dfe4bf70f0d6920e2c144d2d5bf7521316d41b4809ca88b12b0e39ce908940e30364d2c8b842e07e837265460cb726552dcad3c28f725f0bc MISC metadata.xml 504 BLAKE2B 3b732123bf02f2346619de1b3e68f451c58e1138868fd8c52a24f979188115d9abf9308c390d061d5e679cbcc9bfa5059414dfd69e6fdfdd052e4bb1e61d496c SHA512 5ccf87022bea4e77dc26275572a97530d340b70f1b428676a6d86a3f24666ab702756cb285216a7ce6e670973a2ff50d7ca3f848ebab24c318d39563ae01305b diff --git a/dev-python/atpublic/atpublic-5.1.ebuild b/dev-python/atpublic/atpublic-5.1.ebuild new file mode 100644 index 000000000000..69c6a0481fb9 --- /dev/null +++ b/dev-python/atpublic/atpublic-5.1.ebuild @@ -0,0 +1,27 @@ +# 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..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A decorator to populate __all__ and the module globals" +HOMEPAGE=" + https://gitlab.com/warsaw/public/ + https://pypi.org/project/atpublic/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/sybil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index b369c4ceb585..dac807e8cc84 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -8,6 +8,7 @@ DIST boto3-1.36.1.gh.tar.gz 923135 BLAKE2B 7935b58d3a5815ec5e34541981d18c82400e0 DIST boto3-1.36.2.gh.tar.gz 923432 BLAKE2B 91f19eb6e1451923adbf323688d89cfadd384009fbc3fdcae688b48dee54d9a3f14956cedaed07b15f2cdc3badaf0533a6ec1e1baf5cedc88e91580104834eb2 SHA512 e9e14f4aacd0814952198d5446050f0cf822baac0b3ce3604c40dbb6b122c431624b46b144ea4699be7328f6236e099981905a4be6a9de3400750800d8d40e60 DIST boto3-1.36.3.gh.tar.gz 924862 BLAKE2B 62b42a498a3d75f988d155ae6263d6e736785566217644c9435af5e89fc8e4e7e64559f58ab8ab113107172b23fc7935fdaa554fb8c3632f69dc0901048e4505 SHA512 39202187a7a643d9b9cac8aaef14e9ab1834e14d0ae242e15342fdcf8e055529dc8b2ffd585126b0b69b8bcd0e5986cc8352d9f93fbb20ca8d543b709e9be954 DIST boto3-1.36.4.gh.tar.gz 925176 BLAKE2B fccd1bbe23180d7c0b3aa5ace72534d715e2887d370180199004982e32c80c4c71ba0637f565e2b85e95718e66574dd099ba88f9533db2955a281d505c2a68a9 SHA512 b6036cd3a1150558589ee7c3f28b1e673d15079a3f57579b45e9fc63aee54f5b1200e05a24ca8e8d5a291ad52c028c890f74f63e5191b19ed8208d05cbedfd7a +DIST boto3-1.36.5.gh.tar.gz 925252 BLAKE2B 443a64b8854b40f9a822b01b05272c9ed9b9b0397a3ea5282ad4043938198dfad8d2c7097530c728b1c99a9c00234aa09fa949aa44fe3ba6d7da59edb3d52d19 SHA512 7a3fca10fca1fac5ca92a24dccf63007c6c1565efc560f01989a70b390fb7bd60c07f30df4ddc0c0f4d87a30a47794783e1ee996b39e6c083bddcf9c47fd1c42 EBUILD boto3-1.35.90.ebuild 1198 BLAKE2B ec71d0de9c5dd2eed35c014ff377e34751aa2a332d9b456f2032ddfaebfc6f2c764e88ea1cc6f35d23cabf4241214e2873f33ef6c9d3628110c60e45d5e71777 SHA512 02de280c07e856df0cf3dcefad70f45804523eeef4009810ffa7c46abadf0747c497f47193ee77e32d6d69a21fa1f05fe3b3cb223ce9dfe1b4b5fdce73ec7a6b EBUILD boto3-1.35.92.ebuild 1205 BLAKE2B 48272bc4fa09cfd30bc09717307db56d5cd6145061991934ef794516b2fc914de60bb753fd09dc385e291e7eb262c90f2a3966cc6da4dde5b4ec24c0b69136af SHA512 e4c5c61dea81fa4c6cc1cdba0d212e6d2bdc5b864181887ca29c948640c36188479d0b26239ae96adae25fc574de172d50023e42c6f8f263c9999af8a17cbf87 EBUILD boto3-1.35.97.ebuild 1212 BLAKE2B 621f867bae650da10c251c621c99f342a692c9e2b54efe59f082e5d99ebab653c1f17c171213794ba6d50ac81af1f65d357ca709b2ba1a8b13756081a71725ff SHA512 8bd89fbc5ddd964d40d5d2907ba406a43f35e152ea334568624c1d1e3324b4ff555d88f728a306f2bea1655e69dd3896e586181e300a9b109bf7cc670aadb9c7 @@ -18,4 +19,5 @@ EBUILD boto3-1.36.1.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e EBUILD boto3-1.36.2.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 EBUILD boto3-1.36.3.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 EBUILD boto3-1.36.4.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 +EBUILD boto3-1.36.5.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.36.5.ebuild b/dev-python/boto3/boto3-1.36.5.ebuild new file mode 100644 index 000000000000..b087a88814e8 --- /dev/null +++ b/dev-python/boto3/boto3-1.36.5.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="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 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.11.0[${PYTHON_USEDEP}] +" + +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() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index fce19684a471..df12e5f5058a 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -8,6 +8,7 @@ DIST botocore-1.36.1.gh.tar.gz 14190157 BLAKE2B ff3c5ef62d6eb7c3907187ccb29bedc4 DIST botocore-1.36.2.gh.tar.gz 14197789 BLAKE2B 21441cd52052d117ce05e425c13f34941dcc1ca26a03e2e7eefb6c82584d7faffb548435ebb6b716b72db8149cfe6a3378b79f9174c676fd193c194501b0c844 SHA512 45d9515c493b238a003e5ad264b152b68a62e7ca140ea13111865a4b7c674a7b309a0f550f9782c37966b95c114136b8788f00ba0c83ed4bc61521b593376594 DIST botocore-1.36.3.gh.tar.gz 14202092 BLAKE2B 8760e2afcd12b0982dacb9815bf8030c5dd1b43c27b53bfd0dea558e9f92cc655dc94c39df47a2d130c43103b7a6249585f764169d9d6c615d4392969a2e071e SHA512 fa80cdb2231497d96878719df8307812ac0ec4882c10da27f2ff19f30eed0ca51751e0394b2416bbebb20b8eaf5b3bbc089bffeacc36ac427e351081b7226823 DIST botocore-1.36.4.gh.tar.gz 14204777 BLAKE2B 8a21c35240f272bbf4eacdd5da2ef6b6d65c761ad0c5363311750c7f3d30dd3d0762b0b769055c78ef4778e372ad352d486e098d225fa58eb4dfec1c0531f0df SHA512 55705e9cd0828fad15111e47e7514c2838684bc0a4afdfc529c00a8d30acecf9a535b809e23943f657321a7bfbc5c27f804c5cddae4fe015e636d9f343ae90e7 +DIST botocore-1.36.5.gh.tar.gz 14171897 BLAKE2B 2dad209a50740e417b780ed6bd499e5c36e31563544b4c80b95688f36d444ca61a4bd405d793d64fb85bfa94fb783819e29e15f37d74bb5ce1a43ef385586d5d SHA512 44de481a8b520b9d19a5037b17354dbc2900bec30b476739da8a52d482a9dde0e18438776c6fcf1e783c16b6884b863a0d822e9ef2fdf64eea97875cea97baa0 EBUILD botocore-1.35.90.ebuild 1477 BLAKE2B 6c4f8c3b7c87ab8cc4cb0e40fb937d01012fd6602a9ddbf4db3f74e4eb47ef6e09446d51d3e59b06a5bdb30e6a705033ccfba182948991b3079f097bfe3498eb SHA512 3c6e4878e7f9a494a3715a4c5fc072aad4a21afd4672e2b7da664caf13faca3e466e802d8fcfd488252184ac776c51bf37f659cab2b45c83fbbab5bf82fc64ad EBUILD botocore-1.35.92.ebuild 1484 BLAKE2B f8847f5232997b160c78bc74d7d726e053a84db13101bd70e6ef8ee734e1acd4994f2df0aeae03c8feabfb570e46fe950d85cedf90bcdee80e364e8ced773422 SHA512 a8725ac8c147c21a9ec5adf6602ba0eab22c3822d90ec45ae145db559d2862b567ed8cefab65b0247c11a807fe425770c664f4c35cbd10690c055e5257c73cac EBUILD botocore-1.35.97.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae @@ -18,4 +19,5 @@ EBUILD botocore-1.36.1.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f EBUILD botocore-1.36.2.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae EBUILD botocore-1.36.3.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae EBUILD botocore-1.36.4.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae +EBUILD botocore-1.36.5.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.36.5.ebuild b/dev-python/botocore/botocore-1.36.5.ebuild new file mode 100644 index 000000000000..9e1580d45581 --- /dev/null +++ b/dev-python/botocore/botocore-1.36.5.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="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 ~amd64-linux ~x86-linux" + +RDEPEND=" + =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_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 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 7dbfc1f89c52..4cd2c8e8404f 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,7 +1,9 @@ DIST cfn_lint-1.22.3.tar.gz 2700564 BLAKE2B d1bfed3fda2d5133919396a54257ad484c3c7fd50b1a387e94eff404f9b8175135f0f39455bc45b69c8112e2f2c57eb055d7b2c879415bdc4abfdad74b7bb34f SHA512 45502d913488784ff8e355a24317cce42fc7df39b3afd80b8fc170c9c5b7e6191f3ff41a460e8bb0277d1c21483aef8addb41d60fe2e8e5d13058aa85fefcc84 DIST cfn_lint-1.22.5.tar.gz 2722622 BLAKE2B 147f1ec4543a2e54c6b6652b439ca4dd870aad44532a71bc75564bcb71e1aed0258b0387e3be57ef2c8059343cefaf2fef1af02b9442c37347987c018c9411ef SHA512 772430a958e53b90c529311a6f90602de7c2ced9d86840907a9c1e612f18db456c6678d2de43b3bee2e3498cc71b238e2ab8564238aef4467cc285c52ad3a6dd DIST cfn_lint-1.22.6.tar.gz 2734354 BLAKE2B cda53c8500de713af87c2ad9a1306869c8305cc26389a3e01403d6df0e1a0d4c4014811135712bfa2af54f6333a25c5687c8d5b9c163f4798b394e29a4644622 SHA512 7fddd9ddde5eca7b68e838535ce8a0a0b4d50807467cecb3c51e78736a0c49f85a81608481b7f89b972222b08530b4f29ae8023bf5cdbd70bc79ec27782e9b11 +DIST cfn_lint-1.22.7.tar.gz 2735518 BLAKE2B 4357981083d1a32c6be9194552ddb6d2064d8da59b869d617f0047833386232e7fbfede778ad5949a1a10708a1ea166c6bcdfecbaac0e4684e209c812fbde564 SHA512 c079f0b3f7947545ad79d8700833fca1ddc74bc9a224604ced3ab09981e6c363f73a6b214981fbdc16264611213d9a8a41e960de077943a4c407c79af458c551 EBUILD cfn-lint-1.22.3.ebuild 2173 BLAKE2B c38787bdd2b850b0cf2c02a4c4f573926d67677a8529d356bf1d8d6912fffc4c16f3364361175fc7c6f4f67ebc306e94492412ff96a58bfa41356f3273966cdd SHA512 7a46fb2c6f247507fb39b12d1e4c726f8584f3ee1b7a57e8f926e3208fb653667f62ca3ad1482065d5b338f5468df6b3a36efbf07ae2cd442456ade0cf3b0c58 EBUILD cfn-lint-1.22.5.ebuild 2176 BLAKE2B 5a8d1aff8959104114cce624b38fb1cd77a19f890f444f747a5e79e2925b933e4454c06b4580669c8b91b71a352f3b083b981a362ea41e8c8908cbdcaba0f9e5 SHA512 da493f200f8720b8d5b9f73ca41f5d959497cac8e62e9889493d378ad5d8ea40e35cf5414e748a82a351f6b46581f8a8df34508fb67f6fa14309975cedaf5424 EBUILD cfn-lint-1.22.6.ebuild 2176 BLAKE2B 5a8d1aff8959104114cce624b38fb1cd77a19f890f444f747a5e79e2925b933e4454c06b4580669c8b91b71a352f3b083b981a362ea41e8c8908cbdcaba0f9e5 SHA512 da493f200f8720b8d5b9f73ca41f5d959497cac8e62e9889493d378ad5d8ea40e35cf5414e748a82a351f6b46581f8a8df34508fb67f6fa14309975cedaf5424 +EBUILD cfn-lint-1.22.7.ebuild 2176 BLAKE2B 5a8d1aff8959104114cce624b38fb1cd77a19f890f444f747a5e79e2925b933e4454c06b4580669c8b91b71a352f3b083b981a362ea41e8c8908cbdcaba0f9e5 SHA512 da493f200f8720b8d5b9f73ca41f5d959497cac8e62e9889493d378ad5d8ea40e35cf5414e748a82a351f6b46581f8a8df34508fb67f6fa14309975cedaf5424 MISC metadata.xml 478 BLAKE2B 79b8a28c1df2fd10729d91d38794aed81db55cbfba57be5999163d2daffa66e8558b71af1b282e3ce059374605ca51b4e367a4f027cbab8caad628610c48bd59 SHA512 b77b106f37ef48af4c9acc81a935b2780156f32017d23becab65aadfe3cb930986186775a8f129b6d997b0b6171ede2906ce1080d44fa87e7533a06621eeb85c diff --git a/dev-python/cfn-lint/cfn-lint-1.22.7.ebuild b/dev-python/cfn-lint/cfn-lint-1.22.7.ebuild new file mode 100644 index 000000000000..11b35b918d51 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.22.7.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="CloudFormation Linter" +HOMEPAGE=" + https://github.com/aws-cloudformation/cfn-lint/ + https://pypi.org/project/cfn-lint/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.94.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] + =dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] + >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] + >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin the deps + sed -e 's:~=[0-9.]*::' -i pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + test/unit/module/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # Internet + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 + # TODO: it looks as if AWS_DEFAULT_REGION didn't work + test/unit/module/core/test_run_cli.py::TestCli::test_bad_config + test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_template_config + # different graphviz version? + test/unit/module/template/test_template.py::TestTemplate::test_build_graph + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/elasticsearch/Manifest b/dev-python/elasticsearch/Manifest index 8caca83840ef..8c74cf60662b 100644 --- a/dev-python/elasticsearch/Manifest +++ b/dev-python/elasticsearch/Manifest @@ -1,3 +1,5 @@ DIST elasticsearch-py-8.17.0.gh.tar.gz 1604639 BLAKE2B 94363d23606ec820fbc4608ad8319a2753f04f6a250204ec91662772712079ac56d63ef630780fc19f20e9b0527ceea4db2c3d7c4db98c7e4410d5ce67751a6f SHA512 2239fe52a49387988903d574e33d2f5aedf077beb9c00c46a725af942289f0b0522aef462fb8ee43b078594e4af65b3b14b2fdaefea076ddd1dad8ca0a306843 +DIST elasticsearch-py-8.17.1.gh.tar.gz 1690228 BLAKE2B da442d4a9a469ed5fc5f9035652746a0d5b28e90644d9fd8afb5127bfc00ed15bbe5fde27efff0506d07dc48fdce72cd326eed36d86ba8a596e180e07c2e6b0d SHA512 45312d4ebe90c84c06a8e19d66618f668ad6b8a81b16a89ebf68136a925733a0373321df0726a967d7ede9f30c0e5be6fed1c69056e9ec1156e7cd784341c621 EBUILD elasticsearch-8.17.0.ebuild 2303 BLAKE2B c5327bb23b44bc5bdb64ad86ec8ce5d539bf07fd7850e06fe8e12e84124433f0adbd29dd1e1d944de51f88e706302e0fc76a086aa05ea23acdd5a47da2a46870 SHA512 f272c2977dadf53f1751c2cade5da32cb0544b4787c31fc72f2c51efb21fae01f431d29b572e68818a9a524fe45c7c09eff3ca185106679ed406836138caaaa9 +EBUILD elasticsearch-8.17.1.ebuild 2305 BLAKE2B 45373eec24baad4d955b7dbc26584dc1b2ebbaa1b2cdf7ef82260849785171f0566e7e8bfab526a9db3ebf25853d08a18f5424c0efd2e523257767e7849fd209 SHA512 5073627d6b42496bc5b543d923885e93cc1bf05dcaae0797859499b232ab3c1d151f5e61a4df92f4c15fb717b0bf185154d1495da1f72ab8d02263b1e39f6b2e MISC metadata.xml 617 BLAKE2B f87827e173c4284a6ac830c48f92384140ad388a1c35562e5522ffc7fa654a9fc1eca14fd55b4365aec7ecbe1ca54f1a58772e240f09c3a56aaf25114b807cae SHA512 dc52446e828b8506e5144fb77e2bf5f761afeed8dda67c1aa72f0f67a3df838712d3deceba12c434b2d53923130e55ba6a71086ec289d90d5577cb5950b46999 diff --git a/dev-python/elasticsearch/elasticsearch-8.17.1.ebuild b/dev-python/elasticsearch/elasticsearch-8.17.1.ebuild new file mode 100644 index 000000000000..3be4ed08b0cb --- /dev/null +++ b/dev-python/elasticsearch/elasticsearch-8.17.1.ebuild @@ -0,0 +1,76 @@ +# 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_{11..12} ) + +inherit distutils-r1 + +MY_P="elasticsearch-py-${PV}" +DESCRIPTION="Official Elasticsearch client library for Python" +HOMEPAGE=" + https://ela.st/es-python + https://github.com/elastic/elasticsearch-py/ + https://pypi.org/project/elasticsearch/ +" +SRC_URI=" + https://github.com/elastic/elasticsearch-py/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0/$(ver_cut 1)" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + =dev-python/aiohttp-3[${PYTHON_USEDEP}] + =dev-python/elastic-transport-8.15.1[${PYTHON_USEDEP}] + >=dev-python/orjson-3[${PYTHON_USEDEP}] + =dev-python/requests-2.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/mapbox-vector-tile[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/opentelemetry-api[${PYTHON_USEDEP}] + dev-python/opentelemetry-sdk[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pyarrow[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + dev-python/unasync[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/sphinx \ + dev-python/sphinx-autodoc-typehints \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # REST api tests are a black hole for effort. It downloads the tests + # so its an ever moving target. It also requires effort to blacklist + # tests for apis which are license restricted. + "test_elasticsearch/test_server/test_rest_api_spec.py" + # Counting deprecation warnings from python is bound to fail even + # if all are fixed in this package. Not worth it. + "test_elasticsearch/test_client/test_deprecated_options.py" + # Running daemon for tests is finicky and upstream CI fails at it + # as well. + "test_elasticsearch/test_server/" + "test_elasticsearch/test_async/test_server/" + ) + + local -x TEST_WITH_OTEL=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p asyncio +} diff --git a/dev-python/faker/Manifest b/dev-python/faker/Manifest index 2fcd4b25b522..bbdc917a094b 100644 --- a/dev-python/faker/Manifest +++ b/dev-python/faker/Manifest @@ -2,8 +2,10 @@ DIST faker-33.1.0.tar.gz 1850515 BLAKE2B 71ff6e379f195f220af96562daa1876cd0476f3 DIST faker-33.3.0.tar.gz 1854655 BLAKE2B 6a877f7d39b9174285cf406d343a2fbfd204eb0648c9964819c9eb0a4c77b866a846e2c6142221d28ef04097ff9a48971d5ea2ed5f93862a3f4bac77c6345959 SHA512 137082c70e37a863a27f1e0fb5ff807a6b8072fc71c53b1f7ace45f19e98398cfe7a7a419f39bd113755ab50939aa6b5991508015e990f18039d4cd61d397964 DIST faker-33.3.1.tar.gz 1854895 BLAKE2B 15862330622cd257b0d663a67df4141b3673d077858a655def54152878ba290cb0c3480b0dfb40b2c69ac7481b827ac62827545bddd1edc97a1c5e55af35aad4 SHA512 48e1be12bdbcf12b4da44ede6bb0cd3a8937308f50e4145bbaf1fc80a3fb51dc430e03b5c4bf9a99fce66ea5cac9c5a8e806d036e4052588971ed264c8c472aa DIST faker-34.0.2.tar.gz 1855985 BLAKE2B f05d6588efad674391fc63d8c11d618193e33029b15d372e1c6ecb626fa39b628e7fcba43070087c824d17d6580b9362c19909560d9e87a989d8876126d6954d SHA512 dc5b2b135402a1392d9fb671c9c37030f4ea78008e47bed1b9dc02579a2a8251c9a4022263b36c1cf3286945aa14f9a81b0d16494bfca6ff6a41fe9cad5a0d49 +DIST faker-35.0.0.tar.gz 1855098 BLAKE2B 38429e14ccca4e315b562903e218ceb3942818da34229da59adca51afeec837a8877ed902de7624bbf057c2cf7a838edfec78b45cd7157855ab05b5fca868c84 SHA512 8f9744f1e935218ce7a25b93288357fd4767c3079ed2a44e9613a666984e737e1f8ee615680cc9722ba83e448843a581adc0d84cf41085a195c2eefac9eda9c9 EBUILD faker-33.1.0.ebuild 1008 BLAKE2B da51ee33d20bd3dd0e146139e5fe84bbbd1e9da34fab57638f69651f2cfb65b887b7dc6abbdacce1f12ca2fb10c51b8d6e4a3aa223f699d068023136880faa8e SHA512 d93818fe6bc635465880c85cc659a0295570b04c99909a72fe705ae872d0f9d5c581ce0afd07a89a8c756335cfd7222f8c0d2c9742b3ee2bba1c16ab0bf74b69 EBUILD faker-33.3.0.ebuild 1015 BLAKE2B 0010aac368c7c89b55a7bc1058e0639596c55be800975a80635cb102c7c8c66e94ae74b2257444985b404fd2e50dc6e3fe31453bc9c5cc47e4d7c1dc2e585d5a SHA512 7924dff75757fac609b9b78689689715585cad26e0fee717aef93251f70281231242f45bac956c368274fc7c93cab70369618b78df200ddb0992bb066f71ee74 EBUILD faker-33.3.1.ebuild 1015 BLAKE2B 0010aac368c7c89b55a7bc1058e0639596c55be800975a80635cb102c7c8c66e94ae74b2257444985b404fd2e50dc6e3fe31453bc9c5cc47e4d7c1dc2e585d5a SHA512 7924dff75757fac609b9b78689689715585cad26e0fee717aef93251f70281231242f45bac956c368274fc7c93cab70369618b78df200ddb0992bb066f71ee74 EBUILD faker-34.0.2.ebuild 1015 BLAKE2B 0010aac368c7c89b55a7bc1058e0639596c55be800975a80635cb102c7c8c66e94ae74b2257444985b404fd2e50dc6e3fe31453bc9c5cc47e4d7c1dc2e585d5a SHA512 7924dff75757fac609b9b78689689715585cad26e0fee717aef93251f70281231242f45bac956c368274fc7c93cab70369618b78df200ddb0992bb066f71ee74 +EBUILD faker-35.0.0.ebuild 1015 BLAKE2B 0010aac368c7c89b55a7bc1058e0639596c55be800975a80635cb102c7c8c66e94ae74b2257444985b404fd2e50dc6e3fe31453bc9c5cc47e4d7c1dc2e585d5a SHA512 7924dff75757fac609b9b78689689715585cad26e0fee717aef93251f70281231242f45bac956c368274fc7c93cab70369618b78df200ddb0992bb066f71ee74 MISC metadata.xml 498 BLAKE2B c9b7885dc7d34f2263068624a6b07ac6f1ec8078cc11abb6137612ba57edffefc48dae2708284aa83ecc941ebb2d3b8a87a143648e404a0683e75bb6c078f4e2 SHA512 0b385bbbfbb026803526e43c6c43965ff75f42d3ab133603708b187686aac29de508856e5e8ae7622a66b99032efa97f95c21625e10d074c858d8aff7446a312 diff --git a/dev-python/faker/faker-35.0.0.ebuild b/dev-python/faker/faker-35.0.0.ebuild new file mode 100644 index 000000000000..b0c932d87fbe --- /dev/null +++ b/dev-python/faker/faker-35.0.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN^} +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +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-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + !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 +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin + epytest + epytest --exclusive-faker-session tests/pytest/session_overrides +} diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index ce9fe2f3cfc5..fd92ca9112cb 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -1,7 +1,9 @@ DIST fonttools-4.55.0.gh.tar.gz 3886815 BLAKE2B ace8c3c1c866f4c181f685a44aeb69b8927bd7ddd452cb8268dc7c06183b372ddd88b64f7eba7ab3e4fa15ae359ffcf1d8144de4afbb1b4751173d75259eef3b SHA512 5f8a65687b5d66604eff5c518aaa51e5b2307e624e5397e5dc15b9489eeb6f300376ab6c70288f9bb7056532951f16085c5580f03b44de2a1d53f2860b573191 DIST fonttools-4.55.3.gh.tar.gz 3894793 BLAKE2B 0b02f5d5cac5b7cdd97d4c32310d02507604afbef12ecd59237fb0a5683170bd563f8e5c08f4f2ca057a8f952aafef7c6e087d072d96786ef8bea603521ce4ab SHA512 23257ebb9e890c0e5eb9776a9e82479a33859f4ab49015ee8434ae998814b7821b5226d14405667f9c67f03bbd0db41087d95dbc7650d812ed826db71929cab3 DIST fonttools-4.55.4.gh.tar.gz 3895558 BLAKE2B 9769f07c110f774bc597b6c4d63b502ff3d762136cb17ae8c3a97dc9826691944db88d62f858229cac827c9c76690a504c3f53416eecfb260b76dcf2c4dded40 SHA512 dd7aa3dc6650edcae4d72472f2530bea75a8e3f11b882712c241738f7f467346a1035dda73672cc82710fc09a40fc3ad1073238b9b1ef84bcaa6fa79a44ce468 +DIST fonttools-4.55.5.gh.tar.gz 3897134 BLAKE2B 7e7cd6f172e34488a095ff55341a9f6a075ad5ccd4f375d052ab3a586244923464d21a93c75af985ae81cc85bb897f8a1731fe7eabcfdf0b1f2c6bb9eed9e36f SHA512 fb2d4fb67c7778ebcb166f39651e3fceb8986844dee2ce711554e7bf0d160c458110352e922c8faf85a5514f6fc56762f82d037b0df44c3cb8b17191b827a6d9 EBUILD fonttools-4.55.0.ebuild 2480 BLAKE2B 4b717209b380796d2c21d0bef0f246419bd51565de86cbeef0f78eee1834aff35181e6cf21baee526e3dbee547d2abe5bdd54643cdaa710956ed65ecf699e8b0 SHA512 55ff7f044d322d1ef0ee86725f9f380622a85172d0a666b0ab1568520082089b251ff95e25e7bbdffd7f37e2f5c7c70429e3e515215d697e4c1ba7372f80a164 EBUILD fonttools-4.55.3.ebuild 2480 BLAKE2B ff0046976735766eb4ee6051f0ab462c6a74f236f477ae69ed80fbb0c1f95c026fa9fa72ddbb96d5082eac742455cf787a149d4e16fb0e7d34de303bf699b348 SHA512 dc81eaa2fd1ef7c0771c2d06a1d16647f004b4fb5f2f6de550589a756405aab9adf83a7202593f2a2df2787982f8ffafff93fda907297ff603ecfc923776c3bf EBUILD fonttools-4.55.4.ebuild 2487 BLAKE2B e3c1220b3926375b1894ce629a24426c829fcf2b8e7a267916e5162abf0c851643c841b8c398b6c42be5954c4eea5b8a5e35ae98f96af2510be1b3cd37e27087 SHA512 a3f540087eb8c72c73946b1feb79566a69b58e830bcee736e5c93dbbcd9d20ffd66f6c141a4b34eb1bc120c3cb74b17c8ad41678d58a94e28d2eebb26b463a33 +EBUILD fonttools-4.55.5.ebuild 2487 BLAKE2B e3c1220b3926375b1894ce629a24426c829fcf2b8e7a267916e5162abf0c851643c841b8c398b6c42be5954c4eea5b8a5e35ae98f96af2510be1b3cd37e27087 SHA512 a3f540087eb8c72c73946b1feb79566a69b58e830bcee736e5c93dbbcd9d20ffd66f6c141a4b34eb1bc120c3cb74b17c8ad41678d58a94e28d2eebb26b463a33 MISC metadata.xml 372 BLAKE2B 950ec78bf127250847c6513c22a5108b251afdb000d361068edf9d00d64a5baf6925ba4058bb889724febb28d92abc044c29af5936a48d8e8951b12314b64357 SHA512 03e76e28959bab83fe41c3ee4b55692ced9b1360e73e38a6e8f6e5c06fd1185dcbe0214aea2edff18d248abf252c1877d0d2c2b78b8e088e606c09c34e93e7ac diff --git a/dev-python/fonttools/fonttools-4.55.5.ebuild b/dev-python/fonttools/fonttools-4.55.5.ebuild new file mode 100644 index 000000000000..0adf50c35de4 --- /dev/null +++ b/dev-python/fonttools/fonttools-4.55.5.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..13} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 virtualx + +DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" +HOMEPAGE=" + https://github.com/fonttools/fonttools/ + https://pypi.org/project/fonttools/ +" +SRC_URI=" + https://github.com/fonttools/fonttools/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions" + +RDEPEND=" + >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] +" +BDEPEND=" + native-extensions? ( + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] + ' 'python*') + ) + test? ( + dev-python/brotlicffi[${PYTHON_USEDEP}] + dev-python/munkres[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + app-arch/zopfli + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # When dev-python/pytest-shutil is installed, we get weird import errors. + # This is due to incomplete nesting in the Tests/ tree: + # + # Tests/feaLib/__init__.py + # Tests/ufoLib/__init__.py + # Tests/svgLib/path/__init__.py + # Tests/otlLib/__init__.py + # Tests/varLib/__init__.py + # + # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. + touch Tests/svgLib/__init__.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + local -x FONTTOOLS_WITH_CYTHON=$(usex native-extensions) + [[ ${EPYTHON} == pypy3 ]] && FONTTOOLS_WITH_CYTHON=0 + distutils-r1_python_compile +} + +src_test() { + # virtualx used when matplotlib is installed causing plot module tests to run + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # flaky test + Tests/ttLib/woff2_test.py::WOFF2ReaderTest::test_get_normal_tables + ) + + if [[ ${EPYTHON} == pypy3 ]] && + has_version "dev-python/pyxattr[${PYTHON_USEDEP}]" && + { + has_version " -Date: Fri, 5 Apr 2024 14:51:11 +0100 -Subject: [PATCH] Fix test suite for Numpy 2 (#1156) - -The only change needed was a now-removed alias. Also fix a typo in a -test file's name that otherwise took me literally 6 goes to type even -with tab completion. ---- - tests/digraph/test_adjacency_matrix.py | 8 ++++---- - ...test_adjencency_matrix.py => test_adjacency_matrix.py} | 8 ++++---- - 2 files changed, 8 insertions(+), 8 deletions(-) - rename tests/graph/{test_adjencency_matrix.py => test_adjacency_matrix.py} (98%) - -diff --git a/tests/digraph/test_adjacency_matrix.py b/tests/digraph/test_adjacency_matrix.py -index 38d998559..7b85a31ef 100644 ---- a/tests/digraph/test_adjacency_matrix.py -+++ b/tests/digraph/test_adjacency_matrix.py -@@ -153,10 +153,10 @@ def test_random_graph_float_dtype(self): - - def test_non_zero_null(self): - input_matrix = np.array( -- [[np.Inf, 1, np.Inf], [1, np.Inf, 1], [np.Inf, 1, np.Inf]], -+ [[np.inf, 1, np.inf], [1, np.inf, 1], [np.inf, 1, np.inf]], - dtype=np.float64, - ) -- graph = rustworkx.PyDiGraph.from_adjacency_matrix(input_matrix, null_value=np.Inf) -+ graph = rustworkx.PyDiGraph.from_adjacency_matrix(input_matrix, null_value=np.inf) - adj_matrix = rustworkx.adjacency_matrix(graph, float) - expected_matrix = np.array( - [[0.0, 1.0, 0.0], [1.0, 0.0, 1.0], [0.0, 1.0, 0.0]], -@@ -231,10 +231,10 @@ def test_random_graph_complex_dtype(self): - - def test_non_zero_null(self): - input_matrix = np.array( -- [[np.Inf, 1, np.Inf], [1, np.Inf, 1], [np.Inf, 1, np.Inf]], -+ [[np.inf, 1, np.inf], [1, np.inf, 1], [np.inf, 1, np.inf]], - dtype=np.complex128, - ) -- graph = rustworkx.PyDiGraph.from_complex_adjacency_matrix(input_matrix, null_value=np.Inf) -+ graph = rustworkx.PyDiGraph.from_complex_adjacency_matrix(input_matrix, null_value=np.inf) - expected = [ - (0, 1, 1 + 0j), - (1, 0, 1 + 0j), -diff --git a/tests/graph/test_adjencency_matrix.py b/tests/graph/test_adjacency_matrix.py -similarity index 98% -rename from tests/graph/test_adjencency_matrix.py -rename to tests/graph/test_adjacency_matrix.py -index d303c7550..4944ea418 100644 ---- a/tests/graph/test_adjencency_matrix.py -+++ b/tests/graph/test_adjacency_matrix.py -@@ -165,10 +165,10 @@ def test_graph_to_digraph_adjacency_matrix(self): - - def test_non_zero_null(self): - input_matrix = np.array( -- [[np.Inf, 1, np.Inf], [1, np.Inf, 1], [np.Inf, 1, np.Inf]], -+ [[np.inf, 1, np.inf], [1, np.inf, 1], [np.inf, 1, np.inf]], - dtype=np.float64, - ) -- graph = rustworkx.PyGraph.from_adjacency_matrix(input_matrix, null_value=np.Inf) -+ graph = rustworkx.PyGraph.from_adjacency_matrix(input_matrix, null_value=np.inf) - adj_matrix = rustworkx.adjacency_matrix(graph, float) - expected_matrix = np.array([[0, 1, 0], [1, 0, 1], [0, 1, 0]], dtype=np.float64) - self.assertTrue(np.array_equal(adj_matrix, expected_matrix)) -@@ -231,10 +231,10 @@ def test_random_graph_complex_dtype(self): - - def test_non_zero_null(self): - input_matrix = np.array( -- [[np.Inf, 1, np.Inf], [1, np.Inf, 1], [np.Inf, 1, np.Inf]], -+ [[np.inf, 1, np.inf], [1, np.inf, 1], [np.inf, 1, np.inf]], - dtype=np.complex128, - ) -- graph = rustworkx.PyGraph.from_complex_adjacency_matrix(input_matrix, null_value=np.Inf) -+ graph = rustworkx.PyGraph.from_complex_adjacency_matrix(input_matrix, null_value=np.inf) - expected = [ - (0, 1, 1 + 0j), - (1, 2, 1 + 0j), -From a6c9849e61228be20158dee03fe687456cbb3022 Mon Sep 17 00:00:00 2001 -From: Matthew Treinish -Date: Fri, 26 Apr 2024 20:42:45 -0400 -Subject: [PATCH] Relax numpy upper version cap (#1172) - -* Relax numpy upper version cap - -In #1012 we added an upper version cap to numpy to prevent it from -installing numpy 2.0 before we confirmed that rustworkx was compatible -with it. Now that numpy 2.0.0rc1 has been released we're able to confirm -that rustworkx works fine with numpy 2.0. This commit raises the upper -bound on the numpy version to < 3 to enable installing numpy 2.0 with -rustworkx. - -* Handle new __array__ API in numpy 2.0 - -While we didn't have any test coverage for this looking at the numpy 2.0 -migration guide one thing we'll have to handle is the new copy kwarg on -array: - -https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword - -This commit updates the sole use of __array__ we have on custom sequence -return types so that if copy=False is passed in we raise a ValueError. -Additionally, the dtype handling is done directly in the rustworkx code -now to ensure we don't have any issues with numpy 2.0. - -* Fix __array__ stubs - -* Update src/iterators.rs - -* Pin ruff to 0.4.1 - ---------- - -Co-authored-by: Ivan Carvalho <8753214+IvanIsCoding@users.noreply.github.com> ---- - .github/workflows/main.yml | 2 +- - rustworkx/rustworkx.pyi | 2 +- - setup.py | 2 +- - src/iterators.rs | 28 ++++++++++++++++++++++------ - tests/test_custom_return_types.py | 10 ++++++++++ - 5 files changed, 35 insertions(+), 9 deletions(-) - -diff --git a/setup.py b/setup.py -index 82a390d7e..40bf25ca8 100644 ---- a/setup.py -+++ b/setup.py -@@ -28,7 +28,7 @@ def readme(): - PKG_NAME = os.getenv("RUSTWORKX_PKG_NAME", "rustworkx") - PKG_VERSION = "0.15.0" - PKG_PACKAGES = ["rustworkx", "rustworkx.visualization"] --PKG_INSTALL_REQUIRES = ["numpy>=1.16.0,<2"] -+PKG_INSTALL_REQUIRES = ["numpy>=1.16.0,<3"] - RUST_EXTENSIONS = [RustExtension("rustworkx.rustworkx", "Cargo.toml", - binding=Binding.PyO3, debug=rustworkx_debug)] - RUST_OPTS ={"bdist_wheel": {"py_limited_api": "cp38"}} diff --git a/dev-python/rustworkx/rustworkx-0.14.2-r2.ebuild b/dev-python/rustworkx/rustworkx-0.14.2-r2.ebuild deleted file mode 100644 index 7f9ec72bc304..000000000000 --- a/dev-python/rustworkx/rustworkx-0.14.2-r2.ebuild +++ /dev/null @@ -1,159 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -CRATES=" - ahash@0.8.6 - alga@0.9.3 - allocator-api2@0.2.16 - approx@0.3.2 - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - crossbeam-deque@0.8.5 - crossbeam-epoch@0.9.18 - crossbeam-utils@0.8.19 - either@1.9.0 - equivalent@1.0.1 - fixedbitset@0.4.2 - getrandom@0.2.12 - hashbrown@0.12.3 - hashbrown@0.14.3 - heck@0.4.1 - hermit-abi@0.3.4 - indexmap@1.9.3 - indexmap@2.1.0 - indoc@2.0.4 - itertools@0.10.5 - itertools@0.11.0 - itoa@1.0.10 - libc@0.2.152 - libm@0.2.8 - lock_api@0.4.11 - matrixmultiply@0.3.8 - memchr@2.7.1 - memoffset@0.9.0 - ndarray-stats@0.5.1 - ndarray@0.15.6 - noisy_float@0.2.0 - num-bigint@0.4.4 - num-complex@0.2.4 - num-complex@0.4.4 - num-integer@0.1.45 - num-traits@0.2.17 - num_cpus@1.16.0 - numpy@0.20.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - petgraph@0.6.4 - ppv-lite86@0.2.17 - priority-queue@1.3.2 - proc-macro2@1.0.78 - pyo3-build-config@0.20.2 - pyo3-ffi@0.20.2 - pyo3-macros-backend@0.20.2 - pyo3-macros@0.20.2 - pyo3@0.20.2 - quick-xml@0.31.0 - quote@1.0.35 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - rand_pcg@0.3.1 - rawpointer@0.2.1 - rayon-cond@0.3.0 - rayon-core@1.12.1 - rayon@1.8.1 - redox_syscall@0.4.1 - rustc-hash@1.1.0 - ryu@1.0.16 - scopeguard@1.2.0 - serde@1.0.195 - serde_derive@1.0.195 - serde_json@1.0.111 - smallvec@1.13.1 - sprs@0.11.1 - syn@2.0.48 - target-lexicon@0.12.13 - unicode-ident@1.0.12 - unindent@0.2.3 - version_check@0.9.4 - wasi@0.11.0+wasi-snapshot-preview1 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 - zerocopy-derive@0.7.32 - zerocopy@0.7.32 -" - -inherit cargo distutils-r1 - -DESCRIPTION="A high performance Python graph library implemented in Rust" -HOMEPAGE=" - https://github.com/Qiskit/rustworkx/ - https://pypi.org/project/rustworkx/ -" -SRC_URI=" - https://github.com/Qiskit/rustworkx/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" - -LICENSE="Apache-2.0" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT - Unicode-DFS-2016 - || ( LGPL-3 MPL-2.0 ) -" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/numpy-1.16.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-rust[${PYTHON_USEDEP}] - test? ( - dev-python/fixtures[${PYTHON_USEDEP}] - dev-python/graphviz[${PYTHON_USEDEP}] - >=dev-python/networkx-2.5[${PYTHON_USEDEP}] - dev-python/stestr[${PYTHON_USEDEP}] - >=dev-python/testtools-2.5.0[${PYTHON_USEDEP}] - media-gfx/graphviz[gts] - ) -" - -# Libraries built with rust do not use CFLAGS and LDFLAGS. -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rustworkx/rustworkx.*\\.so" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/Qiskit/rustworkx/pull/1156 - # part of https://github.com/Qiskit/rustworkx/pull/1172 - "${FILESDIR}/${P}-numpy-2.patch" -) - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local EPYTEST_DESELECT=( - # TODO: hangs - tests/retworkx_backwards_compat/visualization/test_mpl.py - tests/rustworkx_tests/visualization/test_mpl.py - ) - rm -rf rustworkx || die - epytest -} diff --git a/dev-python/rustworkx/rustworkx-0.15.0-r1.ebuild b/dev-python/rustworkx/rustworkx-0.15.0-r1.ebuild deleted file mode 100644 index 2809ede475f2..000000000000 --- a/dev-python/rustworkx/rustworkx-0.15.0-r1.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -CRATES=" - ahash@0.8.11 - alga@0.9.3 - allocator-api2@0.2.16 - approx@0.3.2 - autocfg@1.2.0 - bitflags@1.3.2 - cfg-if@1.0.0 - crossbeam-deque@0.8.5 - crossbeam-epoch@0.9.18 - crossbeam-utils@0.8.19 - either@1.10.0 - equivalent@1.0.1 - fixedbitset@0.4.2 - getrandom@0.2.12 - hashbrown@0.12.3 - hashbrown@0.14.5 - heck@0.4.1 - hermit-abi@0.3.9 - indexmap@1.9.3 - indexmap@2.2.6 - indoc@2.0.5 - itertools@0.10.5 - itertools@0.11.0 - itoa@1.0.11 - libc@0.2.153 - libm@0.2.8 - lock_api@0.4.11 - matrixmultiply@0.3.8 - memchr@2.7.2 - memoffset@0.9.1 - ndarray-stats@0.5.1 - ndarray@0.15.6 - noisy_float@0.2.0 - num-bigint@0.4.5 - num-complex@0.2.4 - num-complex@0.4.6 - num-integer@0.1.46 - num-traits@0.2.19 - num_cpus@1.16.0 - numpy@0.21.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - petgraph@0.6.5 - portable-atomic@1.6.0 - ppv-lite86@0.2.17 - priority-queue@2.0.3 - proc-macro2@1.0.79 - pyo3-build-config@0.21.2 - pyo3-ffi@0.21.2 - pyo3-macros-backend@0.21.2 - pyo3-macros@0.21.2 - pyo3@0.21.2 - quick-xml@0.34.0 - quote@1.0.35 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - rand_pcg@0.3.1 - rawpointer@0.2.1 - rayon-cond@0.3.0 - rayon-core@1.12.1 - rayon@1.10.0 - redox_syscall@0.4.1 - rustc-hash@1.1.0 - ryu@1.0.17 - scopeguard@1.2.0 - serde@1.0.203 - serde_derive@1.0.203 - serde_json@1.0.118 - smallvec@1.13.2 - sprs@0.11.1 - syn@2.0.57 - target-lexicon@0.12.14 - unicode-ident@1.0.12 - unindent@0.2.3 - version_check@0.9.4 - wasi@0.11.0+wasi-snapshot-preview1 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 - zerocopy-derive@0.7.32 - zerocopy@0.7.32 -" - -inherit cargo distutils-r1 - -DESCRIPTION="A high performance Python graph library implemented in Rust" -HOMEPAGE=" - https://github.com/Qiskit/rustworkx/ - https://pypi.org/project/rustworkx/ -" -SRC_URI=" - https://github.com/Qiskit/rustworkx/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" - -LICENSE="Apache-2.0" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT - Unicode-DFS-2016 - || ( LGPL-3+ MPL-2.0 ) -" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/numpy-1.16.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-rust[${PYTHON_USEDEP}] - test? ( - dev-python/fixtures[${PYTHON_USEDEP}] - dev-python/graphviz[${PYTHON_USEDEP}] - >=dev-python/networkx-2.5[${PYTHON_USEDEP}] - dev-python/stestr[${PYTHON_USEDEP}] - >=dev-python/testtools-2.5.0[${PYTHON_USEDEP}] - media-gfx/graphviz[gts] - ) -" - -# Libraries built with rust do not use CFLAGS and LDFLAGS. -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rustworkx/rustworkx.*\\.so" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local EPYTEST_DESELECT=( - # TODO: hangs - tests/retworkx_backwards_compat/visualization/test_mpl.py - tests/rustworkx_tests/visualization/test_mpl.py - ) - rm -rf rustworkx || die - epytest -} diff --git a/dev-python/rustworkx/rustworkx-0.16.0.ebuild b/dev-python/rustworkx/rustworkx-0.16.0.ebuild new file mode 100644 index 000000000000..72e0ed90f111 --- /dev/null +++ b/dev-python/rustworkx/rustworkx-0.16.0.ebuild @@ -0,0 +1,141 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +CRATES=" + adler2@2.0.0 + ahash@0.8.11 + allocator-api2@0.2.21 + autocfg@1.4.0 + byteorder@1.5.0 + cfg-if@1.0.0 + crc32fast@1.4.2 + crossbeam-deque@0.8.6 + crossbeam-epoch@0.9.18 + crossbeam-utils@0.8.21 + either@1.13.0 + equivalent@1.0.1 + fixedbitset@0.5.7 + flate2@1.0.35 + foldhash@0.1.4 + getrandom@0.2.15 + hashbrown@0.15.2 + heck@0.5.0 + hermit-abi@0.3.9 + indexmap@2.7.0 + indoc@2.0.5 + itertools@0.11.0 + itertools@0.13.0 + itoa@1.0.14 + libc@0.2.169 + matrixmultiply@0.3.9 + memchr@2.7.4 + memoffset@0.9.1 + miniz_oxide@0.8.3 + ndarray-stats@0.6.0 + ndarray@0.16.1 + noisy_float@0.2.0 + num-bigint@0.4.6 + num-complex@0.4.6 + num-integer@0.1.46 + num-traits@0.2.19 + num_cpus@1.16.0 + numpy@0.23.0 + once_cell@1.20.2 + petgraph@0.7.1 + portable-atomic-util@0.2.4 + portable-atomic@1.10.0 + ppv-lite86@0.2.20 + priority-queue@2.1.1 + proc-macro2@1.0.93 + pyo3-build-config@0.23.4 + pyo3-ffi@0.23.4 + pyo3-macros-backend@0.23.4 + pyo3-macros@0.23.4 + pyo3@0.23.4 + quick-xml@0.37.2 + quote@1.0.38 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + rand_pcg@0.3.1 + rawpointer@0.2.1 + rayon-cond@0.3.0 + rayon-core@1.12.1 + rayon@1.10.0 + rustc-hash@2.1.0 + ryu@1.0.18 + serde@1.0.217 + serde_derive@1.0.217 + serde_json@1.0.135 + smallvec@1.13.2 + sprs@0.11.2 + syn@2.0.96 + target-lexicon@0.12.16 + unicode-ident@1.0.14 + unindent@0.2.3 + version_check@0.9.5 + wasi@0.11.0+wasi-snapshot-preview1 + zerocopy-derive@0.7.35 + zerocopy@0.7.35 +" + +inherit cargo distutils-r1 + +DESCRIPTION="A high performance Python graph library implemented in Rust" +HOMEPAGE=" + https://github.com/Qiskit/rustworkx/ + https://pypi.org/project/rustworkx/ +" +SRC_URI=" + https://github.com/Qiskit/rustworkx/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT Unicode-3.0 + ZLIB + || ( LGPL-3+ MPL-2.0 ) +" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/numpy-1.16.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] + test? ( + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/graphviz[${PYTHON_USEDEP}] + >=dev-python/networkx-2.5[${PYTHON_USEDEP}] + dev-python/stestr[${PYTHON_USEDEP}] + >=dev-python/testtools-2.5.0[${PYTHON_USEDEP}] + media-gfx/graphviz[gts] + ) +" + +# Libraries built with rust do not use CFLAGS and LDFLAGS. +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rustworkx/rustworkx.*\\.so" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_DESELECT=( + # TODO: hangs + tests/retworkx_backwards_compat/visualization/test_mpl.py + tests/rustworkx_tests/visualization/test_mpl.py + ) + rm -rf rustworkx || die + epytest +} diff --git a/dev-python/s3transfer/Manifest b/dev-python/s3transfer/Manifest index b00ccd3e0896..27b8c358800f 100644 --- a/dev-python/s3transfer/Manifest +++ b/dev-python/s3transfer/Manifest @@ -1,7 +1,9 @@ DIST s3transfer-0.10.4.tar.gz 145287 BLAKE2B 0b15068862236237287243237639310d35de942b0d3d399edd5ee924195ee8f45b2badea4b02f8dceef64f034111a810910b8208cb6e0c5db070b39f5c39f615 SHA512 671d95e9f507bdca8cf53b88cd28285f9c2ae1456fcb24ba4a61a75d30e8c8fa8b2a4faa8c8364114dc3e5c57f630d5b61575847b167e37b3de44b42c45f6a63 DIST s3transfer-0.11.0.tar.gz 146986 BLAKE2B 050e757482c5b7524b2cc0b7aee1d41cbbff2ee26f62caff481077a4985932ffc486abe7076e4f4e4e4549eb616b302da0a279d86b826a780f4cf017168ad828 SHA512 8e12199fbcec039f228df877ff2026a1e977eafb9fd967d7e5669a9e6f8b73673f295df1a469ed6ce082a1882dab4518b1f6621ca3714c13f8febaa90dfee922 DIST s3transfer-0.11.1.tar.gz 146952 BLAKE2B 25da68be52e1ba6723061ac87628235062ce4fef0a03d8c9958f72bade37b2851f77f5ed3944c8f43b82b45c65d90fecc41b5dbf4830215e4a533c2e5186088a SHA512 c1a9e14dd1f19166944193d5891c58b4392c2693d8171900937f473a2f55bc504a667c23730f0da837a7252948c62faa1476448c1254d61d4cc01db881d33cb7 +DIST s3transfer-0.11.2.tar.gz 147885 BLAKE2B ec8e8bbcce2136dbc3ddc502ee166ac4bec3c3236c13238a5f9bd8be93671c3d445cef3fe952491aebb43e6db05350f615e3a44e992f3dbd06ee54696f284d10 SHA512 f118422878cfbbbc965ddecc6e93e49d194e68fce223ddf0bb7ff342ba48fa6fd0621cdc158e7e0bd1f35f22bafaed259e743304f4aac23bc58679e955dd9b40 EBUILD s3transfer-0.10.4.ebuild 882 BLAKE2B 7e3678ee4df65b0ede5c305b75a1bf0745069832bc303acca75e67aace8e87f04ca6772b12352e9e0dfe27119ee516241e03efa6243482da81832bc00d26be89 SHA512 464b152b04354b2280f5104ffdd2d7b037fa46729180200748fa674f06c3b67ee367c12057908f3507280b0e8ec35f7f68c1c15ef03a9e6d41664e015b6d4b9f EBUILD s3transfer-0.11.0.ebuild 889 BLAKE2B 595fb60abfa7c475f6a19b8ae5be292d1427c03d601ea2df3eed45b39b4fa1d73b6919a3ec62b2f76c23d811c71ab6f1968b30bce6c571d03e731537955e19ea SHA512 c6b67cbcd88fd0fd939d5492f28de64b77f651efab5f1375e3932bfccbab228852f5457d32a2f7b0a0590d3130c90496bfd012e87b725587d91857f9f46df116 EBUILD s3transfer-0.11.1.ebuild 889 BLAKE2B f5433ff3f7fd3895b32f61e1afac9d13652281770d32c55c646e341cf5a247bc9f9cc44599d4ba803f9ab112b9ba8eb135969d81e8d2741901032904940c84cd SHA512 f68be43a554312c32f1b21e543f70eb8ed903feb521a588d84bbe3f5a3e56f3b88d5217fd70b6fcaa5dd2cc39f5147c26b430a121a06e826db2a10d5a6afa459 +EBUILD s3transfer-0.11.2.ebuild 889 BLAKE2B f5433ff3f7fd3895b32f61e1afac9d13652281770d32c55c646e341cf5a247bc9f9cc44599d4ba803f9ab112b9ba8eb135969d81e8d2741901032904940c84cd SHA512 f68be43a554312c32f1b21e543f70eb8ed903feb521a588d84bbe3f5a3e56f3b88d5217fd70b6fcaa5dd2cc39f5147c26b430a121a06e826db2a10d5a6afa459 MISC metadata.xml 503 BLAKE2B 7b8bc8c7e251064ab7becbccff47ab889e54362d3350cf2b78529b60a95a2f52f39b42451c2a26af30ea8cd3fddd9c950c3b40d07d1c72bc6b0730817d7f4680 SHA512 25529c55cc73bca86f770a069f995e2f6f6494d436b52ae24e5b7e1523bf8f62bcfe5ad8e3f727456897a5f9c0ff9b8752ccaba4d3b65b62b5d70b9a3c4b0b43 diff --git a/dev-python/s3transfer/s3transfer-0.11.2.ebuild b/dev-python/s3transfer/s3transfer-0.11.2.ebuild new file mode 100644 index 000000000000..89ed9abf75cd --- /dev/null +++ b/dev-python/s3transfer/s3transfer-0.11.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="An Amazon S3 Transfer Manager" +HOMEPAGE=" + https://github.com/boto/s3transfer/ + https://pypi.org/project/s3transfer/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + =dev-python/botocore-1.36.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + # 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_src_prepare +} + +python_test() { + epytest tests/{unit,functional} +} diff --git a/dev-python/selenium/Manifest b/dev-python/selenium/Manifest index 7c59a9d812b3..9f8451a54165 100644 --- a/dev-python/selenium/Manifest +++ b/dev-python/selenium/Manifest @@ -2,12 +2,15 @@ DIST selenium-4.25.0.tar.gz 957765 BLAKE2B e62f1e9e0619f376e75cbfdbc67540184dde3 DIST selenium-4.26.0.tar.gz 967159 BLAKE2B 211a82d59813884cd4be133726b2ae70c530bb8676c505d44ae25e8b8e5bc38fd7e35839fe042a85fb3dd93c1c87ecd7d6c81cb1a1d7811b4b9f6f1811328c21 SHA512 8864c7d49591e29ee82c66c4548ca7286d0770efecf5b15e41c3622f541a665a404958afdc22b872f191487349602da13a3db7cd32aa14155c09d21a8a3e7b92 DIST selenium-4.26.1.tar.gz 967543 BLAKE2B 7e7476338a030083261199b725aaa38d03bb62f71c56c16495600428e976067b456c32b98d18a0fa4fcdcd6544ddb0043a8104b3c6c075917924ebb8466aee56 SHA512 08d75ee4b3b5d93ad5385c0755d1b9b4e604e491127da19ba3531c6de2213c6cbbdb768893168112643e6272019d4d761873039f42af1c96dffc7ccfb9fc3bab DIST selenium-4.28.0.tar.gz 981603 BLAKE2B 234aa3cc9a877b680c48483a08cf5b9bd385f1552db2999d8689e3bec5e9d84e7bb25029db9bb2193ad85199889508c7d513c502b30ec03b8efd24b166f2c0a0 SHA512 b45d42dbeaeafe750404414beec78b11ef085691829b82dbac2c0c1f628bfd90b931213fb8636690c7ea9184c95a0da4bb70e8e783b0b9cfbbaaf2e61b15d420 +DIST selenium-4.28.1.tar.gz 981633 BLAKE2B a8b856d4de7be4a68028f97c88852faf867224c2632ec40273d1589de2b84a75ae96d4b3799bce50dd8967ed979da686511212c0fa2bad5775f9288c5fbf0be4 SHA512 cefcf4286fcce8f3e33d9d97001bee0ecee157609aa921adfe58b748cb4f7b90feeda95181a4d67ebc6ed2b5381db1fb2f1ffb105c6469f0034918a93cba01d1 DIST selenium-selenium-4.25.0.gh.tar.gz 77158053 BLAKE2B 9978239a874d32e23d98ec98eb5292153496c42abcdd0f959875b2b460df5a85c0b532b6843e0d13b931078490958ebdc2944a8c21ce2eae24a0ac6a3c830772 SHA512 6d11d1aa22d27dbc07c3d39f5f852080c5089b12b1da0251e7b09c38ac3b8f56f452a24c64a20685eb0aff238698ab4bd18a8b7089c69f261cfbcdc679ceeac8 DIST selenium-selenium-4.26.0.gh.tar.gz 77107740 BLAKE2B d4e466dbdb9a12126ae8ee9e311d5d997228da3b22620ead3dbf1a553232503fbd8c19470419d6ad5862acfc19f0012c4c48b3a5e1ccecaf0f7c4171f35904fb SHA512 03197215c04e8f6e151631d769975e70b5140d2d7635443c07e43e63b1c0cc3bc99b0694300ca4dbfea6178af9d037d28699a756ef74926a357f7a3030086182 DIST selenium-selenium-4.26.1-python.gh.tar.gz 77109265 BLAKE2B c0c5693c64fa65a627e5edf0cbbc051410fcddf59e4fd80c362b9a382c586fc3ad3d574674e5523ab284b40b6639e95e85fd1c8195f2f1a6f35ad6532ed667ce SHA512 7ace69332f17c6f7e28b81223f4c8c62cde1832b5acaf2fd1c777a08a5a9cfebb5d9c83daa10462eeb3acb9c7cb5038711f5acee51f5dad3910d7e29e4387d3f DIST selenium-selenium-4.28.0.gh.tar.gz 52440665 BLAKE2B c954745ffc62d05c7686dfad8be2963dc520d831849a3ff50e75d6b3bf6f14e985932026b61bd6c4df37a1cd50d877bd6b52d0ee35df3b0763d4f5d2f08b8b6a SHA512 02316b264a25888116070f697be59094139114ce3388013da8e907dc55ac4e0d60b773b35ae5a786fbd94ee59c3afc7ff9344aeec709c160960a343337f42d8c +DIST selenium-selenium-4.28.1-python.gh.tar.gz 52438112 BLAKE2B 62e2a8334238a6fbe063eda6253f2e6d6ab83484dde2b6b7d2fb6fab3e37d7c1d78b82b424c665c5b38fa06928ec693ece8dab03831132b3d7666c296c4cd39f SHA512 f5c917615a7424470c095c7b9730c02e1e7d7e691b51bc29fbb2d72f3ea08d647705d67702e287e962c033f1269b7cff8cba93bef4999de09c90a6f0e9029efa EBUILD selenium-4.25.0.ebuild 4194 BLAKE2B b6877b705f144862ae7a23e26e86339225422cbf4fb3b5af44dc9860158dda116968349ce3cff3f9b3cfa4e71a182f00a48b055a2cd9605c0b038021cabf5961 SHA512 ea12c310a886e39854b476fc04452c4c79cc2bd4e38d01f396bd4ab0eb36f0373719831830e762b2822e4672513343997bbb5854a0ffda60038abc35af37efbe EBUILD selenium-4.26.0.ebuild 4201 BLAKE2B b0ed725b0b4b250aa95d2decb5035cee2a35e7f10579b8524f1b7a05b1791b865a6d23891247ee05aac3088794b01b1c6937c6f57f0569317d751aa2d6d8ee87 SHA512 35d3ccd18f33d22336bceb9af0fe90e6011db93e17b8f40f043ab827a6cc34a150ed30d7bbb02e0ccf3f3ed1167af521cca1ef09fbec1feb6414e6f155fa0482 EBUILD selenium-4.26.1.ebuild 4202 BLAKE2B 9876ef8e0a106967968b0750fca67847337cd13e5a9bd842467d2fb71bb9919e21f782e3d63df9576b2f847720e35b9c6c8122cc93d5962b4e7e27c4ff21ef18 SHA512 0a6fd259df456323b953c11d8baa9ff1fd5f6b6fbbcb3cb292b76f03a6523abec33d0dbe9e0fa7ea9a80c3a453a5293f0d70030b7070eae294b968d04578f920 EBUILD selenium-4.28.0.ebuild 4466 BLAKE2B 46bf561300ce2707a176b4b97e5f0dddebb0bedd06ced00e313a3a054838e85837e639653e3ca8d7957510601d231b6e3cc89aa95620805f69f7a60c8b0bf671 SHA512 b4894ed802728aa84729f2510666572a8c68643633586e11ab1bbbb48d3ceb7b13a72a0af38d8829de7de2d806eddb7531ebe1a347937647d701606e025b4408 +EBUILD selenium-4.28.1.ebuild 4341 BLAKE2B 06b24a38cb39a7c11b9f633b49628474b6ef6d839bb502b5e7c1793b180fa6f5379fd644b5f4aa0cfc1d880bd9e1370938d08351aa07e5f808f636d6bf9dbd23 SHA512 fe36eb89faee9e8d4f953195af39b829bfba8eed5a99d8da00ad9916a9db7b8a8106785350f29f48bb59b7fc5744baef718f3594c65c93396175bb082390c4aa MISC metadata.xml 383 BLAKE2B d437d1631cefdba12fe2c3ce38ddff34bf9dd2bbc777d5d3425556bda76865711c991c9e3a735130a1d55cb7c6578b083ecb473c28706a2d45563b31bdbe6d1b SHA512 c087323da996b9ad4d0bf8f00306cf044d5daab194b60af029cb1ce06bf60c660fd5959b7914e6f1103143c3e4533d293a6d3bd0ec1c95163eba09d8a19c13a1 diff --git a/dev-python/selenium/selenium-4.28.1.ebuild b/dev-python/selenium/selenium-4.28.1.ebuild new file mode 100644 index 000000000000..96fe852ad727 --- /dev/null +++ b/dev-python/selenium/selenium-4.28.1.ebuild @@ -0,0 +1,138 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_TESTED=( python3_{10..13} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 pypi + +# base releases are usually ${P}, followups ${P}-python +TEST_TAG=${P} +[[ ${PV} != *.0 ]] && TEST_TAG+=-python +TEST_P=selenium-${TEST_TAG} + +DESCRIPTION="Python language binding for Selenium Remote Control" +HOMEPAGE=" + https://www.seleniumhq.org/ + https://github.com/SeleniumHQ/selenium/tree/trunk/py/ + https://pypi.org/project/selenium/ +" +SRC_URI+=" + test? ( + https://github.com/SeleniumHQ/selenium/archive/${TEST_TAG}.tar.gz + -> ${TEST_P}.gh.tar.gz + ) +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/certifi-2021.10.8[${PYTHON_USEDEP}] + =dev-python/trio-0.17[${PYTHON_USEDEP}] + =dev-python/trio-websocket-0.9[${PYTHON_USEDEP}] + =dev-python/typing-extensions-4.9[${PYTHON_USEDEP}] + =dev-python/urllib3-1.26[${PYTHON_USEDEP}] + =dev-python/websocket-client-1.8.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/filetype[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + test-rust? ( + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-util/selenium-manager + net-misc/geckodriver + || ( + www-client/firefox + www-client/firefox-bin + ) + ) + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # do not build selenium-manager implicitly + sed -e 's:\[tool\.setuptools-rust:[tool.ignore-me:' \ + -i pyproject.toml || die +} + +python_test() { + if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local EPYTEST_DESELECT=( + # expects vanilla certifi + test/unit/selenium/webdriver/remote/remote_connection_tests.py::test_get_connection_manager_for_certs_and_timeout + # TODO + 'test/selenium/webdriver/common/devtools_tests.py::test_check_console_messages[firefox]' + ) + local pytest_args=( + # https://github.com/SeleniumHQ/selenium/blob/selenium-4.8.2-python/py/test/runner/run_pytest.py#L20-L24 + # seriously? + -o "python_files=*_tests.py test_*.py" + -p pytest_mock + ) + if use test-rust; then + local -x PATH=${T}/bin:${PATH} + local -x SE_MANAGER_PATH="$(type -P selenium-manager)" + + local EPYTEST_XDIST=1 + pytest_args+=( + -p rerunfailures --reruns=5 + + --driver=firefox + --browser-binary="$(type -P firefox || type -P firefox-bin)" + --driver-binary="$(type -P geckodriver)" + --headless=true + ) + + EPYTEST_DESELECT+=( + # expects prebuilt executables for various systems + test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_windows + test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_linux + test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_mac + test/selenium/webdriver/common/selenium_manager_tests.py::test_errors_if_invalid_os + + # TODO: these don't respect --*-binary and try to fetch versions + test/selenium/webdriver/firefox + test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns + test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns + test/selenium/webdriver/marionette/mn_options_tests.py::TestIntegration::test_we_can_pass_options + test/selenium/webdriver/marionette/mn_set_context_tests.py::test_we_can_switch_context_to_chrome + + # TODO + test/selenium/webdriver/common/bidi_script_tests.py + test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_binary + test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_ctor + test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_prefs + test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_to_capabilities + ) + else + EPYTEST_DESELECT+=( + test/selenium + ) + fi + + cd "${WORKDIR}/${TEST_P}/py" || die + rm -rf selenium || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest "${pytest_args[@]}" +} diff --git a/dev-python/semver/Manifest b/dev-python/semver/Manifest index 745cecf147f9..c5a444ed4905 100644 --- a/dev-python/semver/Manifest +++ b/dev-python/semver/Manifest @@ -1,3 +1,5 @@ DIST semver-3.0.2.tar.gz 214988 BLAKE2B c436ccc99bab2044472444e48de46f7b584291872db6d311d4a16aad0755f633cbe366bd0be6149431fd2db06011018a6cc5bd527f8627a1fbed8999086d2531 SHA512 f7b848f76ae72a8f0f06800d6c02b11a07149dfdff191e356709b75ac15ad19c010d8f13bc32ea082e15858524b38639838fbc09c2d9eb067eee8e163eb1e497 +DIST semver-3.0.4.tar.gz 269730 BLAKE2B 5a406c7c1385f4cde578f232c3866d4decdb454d6e4d43a503a5228fb8d54dcfd4387a5c46bead143f7134263136efa83585db54df6e6a4f767c6a96461e49d8 SHA512 dde83495fb759d547313b706ba783d0bb23bdc27b84d13bdb0a2b4557677fd07cab396f15b18ba469dbcd494d5c85f815b6206184af3e975b42185624f542c2a EBUILD semver-3.0.2.ebuild 567 BLAKE2B a875e366c2433977ebd2b79e83fbb6569cdd55b11266d437ebb2965c57362d0059968ab40c922f28ba108493eed93fcc16175a0b7d51d201c8e0bf5bb5ce9ae7 SHA512 8e8f7d97bbbe7ac9183f67fe686cc3b077eac3871ca0d6f461e250ecfaf66dcad535df3481eed29f5995399888d13c4dfc836ed8dc67b2fb8daa4242d39341b0 +EBUILD semver-3.0.4.ebuild 510 BLAKE2B 9233def2103c1a93e3f78e8860ffeadcc60453060ea7b49fb853717c3812259cb35fd311923ecd31997e8cbcc08b47518c953902d1cb4496fb278b280ad58f00 SHA512 23ef33e6e0462a1f002c04aa88ba2a9d67cd662913c1d8302e00d7ff2bc521a94c23b2dd769ecde35cf19baa5cff1b6bda68ad642da96d9ba61ad5049f729488 MISC metadata.xml 401 BLAKE2B 4f7d1e6e5a49bddd7ad4fff00ba473e07600f7065e49fe3fb14eebaff64e27fc3b58e6cdd070e8320b92bbd10beb89d45ea173654c2202024afdc9f48b18d090 SHA512 ccf9ff4e627914699a63813d8342185d50d73b88b08386133c3ee3e64919874cda7d9b0253caed278d0288425bd1e5ac69dc10ce9c249a2e08fbda29d19668dc diff --git a/dev-python/semver/semver-3.0.4.ebuild b/dev-python/semver/semver-3.0.4.ebuild new file mode 100644 index 000000000000..d673cde7572c --- /dev/null +++ b/dev-python/semver/semver-3.0.4.ebuild @@ -0,0 +1,25 @@ +# Copyright 2019-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python module for semantic versioning" +HOMEPAGE=" + https://github.com/python-semver/python-semver/ + https://pypi.org/project/semver/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" + +distutils_enable_tests pytest + +python_test() { + epytest -o addopts= +} diff --git a/dev-python/snakeoil/Manifest b/dev-python/snakeoil/Manifest index aea4b761d31c..ec816969b1f6 100644 --- a/dev-python/snakeoil/Manifest +++ b/dev-python/snakeoil/Manifest @@ -1,6 +1,4 @@ DIST snakeoil-0.10.10.tar.gz 174648 BLAKE2B b71a7006bef87527b1fca1dac4608ba38c33f38de23d7b3533ee5333b3671f69b0300c18a737d663532ce1a60f092fb4d9a40f1edab020604c4a78e92053ad59 SHA512 606204d80f099334abfc73475982b724da78117753a545ebcee9378f7cc88cd67e42c0f3c4dbf98c9c138dddf2bcf067ca47add664fde8454e4185bb8e8474d1 -DIST snakeoil-0.10.9.tar.gz 174546 BLAKE2B c42771bff9b068aa4c31f76e0d8efc44121d2946b24ff8b8ce6e11028503d7272087ae62c1b6c9963c9b3eb89202ffbad917c63984d478d062c4ba2272811ba2 SHA512 0cedfeca3c8a30cfa53a2135b9dc8f83b003dd07fd0a1767fc1e2fe3d1ee67022033c20c4f990dede7e6a0ad0e8dc94eeebce7529b230ce83c84d6161c1b656d EBUILD snakeoil-0.10.10.ebuild 815 BLAKE2B 3c5db7772bdc009c44c4211da27516e03b105b6805afd43e415058f71081d9feb233373248c3edf0ba8b587b236f1d22610c5270cf8b41f4069dfc9ab0f12f16 SHA512 bc3549c7d3d46365d7e4591d3ceb8c1cc7bc718644acad72c1a029580ff7e0b11dd9202b40ca7ceb26a35de41c758e0e6a7b998105161a3b226ddc2cdeabaf2f -EBUILD snakeoil-0.10.9.ebuild 815 BLAKE2B 3c5db7772bdc009c44c4211da27516e03b105b6805afd43e415058f71081d9feb233373248c3edf0ba8b587b236f1d22610c5270cf8b41f4069dfc9ab0f12f16 SHA512 bc3549c7d3d46365d7e4591d3ceb8c1cc7bc718644acad72c1a029580ff7e0b11dd9202b40ca7ceb26a35de41c758e0e6a7b998105161a3b226ddc2cdeabaf2f EBUILD snakeoil-9999.ebuild 823 BLAKE2B ad99aa3acc30a10739bb646605a28af34283e64f16bf289aac40b110d865ce873daf6f2c5dc7d8506818052316d4afe3f57bff288c568bf2aac61d8b99498a62 SHA512 0ccf351c90387da3df43fa57b0201b2b3de276b5e9032da89d1a2e8f07f02df0229383a8b72854b2f1db599ffc48aaa2f47a455e86f985f4b3a871b1bf11f9ae MISC metadata.xml 394 BLAKE2B 1f11a6a69a1ed5736bdddaf949b97760d2986eaf848bbceafa706dae01dd8e84f2977d130179324856e35353702e8f84e2cf7b2e30587b5f21a7113237825c3e SHA512 71abd7d9037eb4412a992bcf6933999f0dfec0c39465fe5bcb63e6a8437ff901764c03ad65e363f4ce5d8789f364b7f732542c7f298f1d04a2a68343acbc2129 diff --git a/dev-python/snakeoil/snakeoil-0.10.9.ebuild b/dev-python/snakeoil/snakeoil-0.10.9.ebuild deleted file mode 100644 index c5937703364d..000000000000 --- a/dev-python/snakeoil/snakeoil-0.10.9.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..13} pypy3 ) -PYTHON_REQ_USE="threads(+)" -inherit distutils-r1 - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/pkgcore/snakeoil.git - https://github.com/pkgcore/snakeoil.git" - inherit git-r3 -else - KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - inherit pypi -fi - -DESCRIPTION="misc common functionality and useful optimizations" -HOMEPAGE="https://github.com/pkgcore/snakeoil" - -LICENSE="BSD BSD-2 MIT" -SLOT="0" - -RDEPEND=" - dev-python/lazy-object-proxy[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/flit-core-3.8[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 116a79f76dc7..196e1ee25f1f 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -57,6 +57,7 @@ DIST serde_derive-1.0.216.crate 57674 BLAKE2B 12a9228679c16288c08c8b256707e276ae DIST serde_json-1.0.133.crate 150739 BLAKE2B 7891eb5b8edcc7fd09ab1e15d3881ffdcb629aa39f2bd758c0505700a5f2dfabd85b1b66c3b094268bc1627b346e204c792f4ca61efa76c54ab9cd5744fb0ee2 SHA512 20e65ec87bff319897a141960d13deb5cadcf821209c1ee8799f1dc7f458ce432bc62c16df5bdada1c8d3cc01ff23b8125e8fa0a03545d4614f32efd687dc69f DIST sqlglot-26.1.3.tar.gz 19858552 BLAKE2B d89dd7480dffc3028ac7f9687bbb99c74d2194426ae21420f1fc636f2649e69b29d616951ddb2dbae2a093e908c2ceff816d4ce81037033aadcd355e23349aba SHA512 0de92250a41b9390bd85370bafb2dd4e45f1078a17c67494d75e4d3a211294afd925f29fdbbc5394452911882dd821bcd0d59c21a8e9ca67fe89f4107d8a1ce4 DIST sqlglot-26.2.1.tar.gz 19933689 BLAKE2B 6c04880973de1a0dd66b825cb7d1a1c32d140ca3a8885c09885c4f2c6a0b52b9ff36c65f2cfc2e62b564b7156c37522991518a7c4857b98fce77b3daaa82d935 SHA512 1bb0110bd572daaa3cfd2d93ff6f03d2175f304b31a5043020730ecb547d8638afcf75f1a1ad431aa03bf43f3331a39a15166ca9495962842afe00294f5fc8ac +DIST sqlglot-26.3.6.tar.gz 19957589 BLAKE2B 443236538247a9e536916376c82f69e12126e74f74c35844c1b2896359828c2ed3882ea4b4d04fa54cccabf4e9d91065b010c1a8169c08123e054d5adbdf0364 SHA512 6b49aa4db1337b10aeaa005eb779b1591bce6d97e5f9c98cb454de2b7c5f81c614d696e1f34410158925941c6b370529d58bbb01e6c185fdee25fa6896a61d05 DIST syn-2.0.87.crate 278076 BLAKE2B 93385f64103fdb482bec34c7912474ae7a5935948715e6eb9a54907e0db5c39f089f6cd393bab33c935c59a1bbb0f4099431f206343811c1a450554d96a35756 SHA512 bcfff545d6dfefd81e09f8f30a86bdd85759b3a7d4093ef3365ed02718e10dbd604c52b94c9d7fa955d339fdc5b6c079940c6f345b5a48c52b5c8607794ca6f2 DIST target-lexicon-0.12.16.crate 26488 BLAKE2B e7950e4a302059a1bfc9bc15618a3c1b971a17cffae117a6e8f5f63a0d82fd2bd02680301d15338612d5426d349dd24cfee30ee787a15a7d3187f2a6825e69ce SHA512 092639957c4a0391560b6442b31c47159c04d12e971010f730a6ec9cb5389e4be903ef3d7daa06db95e64dc78b6970731fb647179ebaad2b12e9ed5e9b24da27 DIST tinytemplate-1.2.1.crate 26490 BLAKE2B af39d96f33f63238e455a4e38fde1d1730fd9661ae68be7b05df6ef9d2ab1a04db1332cc4ec9deb6da3a8e22b124df81b0fa8916d8491b808742bb733c8e48be SHA512 0cc080057e096f0796e72004343e1a8332c2e8a12e43f6ade150ebf632e9c29c7ad04de0b940cd57df81efdc4d07a6607da9b86a30d8383e39ac3d7be185edb9 @@ -83,4 +84,5 @@ DIST windows_x86_64_gnullvm-0.52.6.crate 435707 BLAKE2B ab77dccd06328cdb00175f41 DIST windows_x86_64_msvc-0.52.6.crate 832564 BLAKE2B 8e9a3044654c6de99a9153e7cacd575474e7a8a3d883c67b02132af5d3fc99d03cd5f7a4dd666a3947451d11218e6acc6eb5e2526f012481106cc13453839719 SHA512 21944cd8e3a481b514509e73ae3f62722fe7ed380d37ea0c25f8fbdeba79174dd52ff65d898838da5df4197894b74e00f45d47489418e978753b4e55c7e623e7 EBUILD sqlglot-26.1.3.ebuild 3623 BLAKE2B 80dbac57f7bdc5afc248f6e171e49cb0d0267011ead01e2522e6b7936fe1a7b79e3d351e2476503f260ebd18d15d12e352a77be772781369a35da24d3edfa9a2 SHA512 28628d65b64f5b8e42c55b0f5a1afe072b0c7bd91efd7abb4fd692ef24ea2e5632a1079f03775a274306108c6176910593b8573f72702d6c0a66314a47d09d00 EBUILD sqlglot-26.2.1.ebuild 3641 BLAKE2B 8d1848b9605a9125dbbdf7dfdc70f2deea6d15ed54cd4c173681d43247ae4c1a6693872bac6863c192573bf72efc4b267cf3caeebdd6779a79bfee456c4c5238 SHA512 12a927f528e20c29e75ac3aca17e43705851464571883b7534294d3a285af04237f6d310aa2a248bc856d5e7364c891713e134fb82e785c7f8443ff871e37d89 +EBUILD sqlglot-26.3.6.ebuild 3641 BLAKE2B 8d1848b9605a9125dbbdf7dfdc70f2deea6d15ed54cd4c173681d43247ae4c1a6693872bac6863c192573bf72efc4b267cf3caeebdd6779a79bfee456c4c5238 SHA512 12a927f528e20c29e75ac3aca17e43705851464571883b7534294d3a285af04237f6d310aa2a248bc856d5e7364c891713e134fb82e785c7f8443ff871e37d89 MISC metadata.xml 611 BLAKE2B 10bf684677182565c9932d51ed9b3b9c80d376d6db945bd7b0dd0d9a19a85dc0d10cb169ff2048ae5f7f73d0f438d259b6231c13c525b5374ec99377f4ffdd10 SHA512 2b26d0f77962807052b94ad78addcfdce9859042af3be34df267dc6e70b6231dd779563935fd21955cd8646fd0cce3fee8c939387ac8056194a0b777743dd2ae diff --git a/dev-python/sqlglot/sqlglot-26.3.6.ebuild b/dev-python/sqlglot/sqlglot-26.3.6.ebuild new file mode 100644 index 000000000000..f66889c1ac68 --- /dev/null +++ b/dev-python/sqlglot/sqlglot-26.3.6.ebuild @@ -0,0 +1,177 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +CARGO_OPTIONAL=1 +CRATES=" + aho-corasick@1.1.3 + anes@0.1.6 + anstyle@1.0.10 + autocfg@1.1.0 + bumpalo@3.16.0 + cast@0.3.0 + cfg-if@1.0.0 + ciborium-io@0.2.2 + ciborium-ll@0.2.2 + ciborium@0.2.2 + clap@4.5.23 + clap_builder@4.5.23 + clap_lex@0.7.4 + criterion-plot@0.5.0 + criterion@0.5.1 + crossbeam-deque@0.8.6 + crossbeam-epoch@0.9.18 + crossbeam-utils@0.8.21 + crunchy@0.2.2 + either@1.13.0 + half@2.4.1 + heck@0.5.0 + hermit-abi@0.4.0 + indoc@2.0.4 + is-terminal@0.4.13 + itertools@0.10.5 + itoa@1.0.14 + js-sys@0.3.76 + libc@0.2.169 + log@0.4.22 + memchr@2.7.4 + memoffset@0.9.0 + num-traits@0.2.19 + once_cell@1.19.0 + oorandom@11.1.4 + plotters-backend@0.3.7 + plotters-svg@0.3.7 + plotters@0.3.7 + portable-atomic@1.9.0 + proc-macro2@1.0.89 + pyo3-build-config@0.22.6 + pyo3-ffi@0.22.6 + pyo3-macros-backend@0.22.6 + pyo3-macros@0.22.6 + pyo3@0.22.6 + quote@1.0.37 + rayon-core@1.12.1 + rayon@1.10.0 + regex-automata@0.4.9 + regex-syntax@0.8.5 + regex@1.11.1 + rustc-hash@2.1.0 + ryu@1.0.18 + same-file@1.0.6 + serde@1.0.216 + serde_derive@1.0.216 + serde_json@1.0.133 + syn@2.0.87 + target-lexicon@0.12.16 + tinytemplate@1.2.1 + unicode-ident@1.0.12 + unindent@0.2.3 + walkdir@2.5.0 + wasm-bindgen-backend@0.2.99 + wasm-bindgen-macro-support@0.2.99 + wasm-bindgen-macro@0.2.99 + wasm-bindgen-shared@0.2.99 + wasm-bindgen@0.2.99 + web-sys@0.3.76 + winapi-util@0.1.9 + windows-sys@0.52.0 + windows-sys@0.59.0 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.52.6 +" + +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? ( + ${CARGO_CRATE_URIS} + ) +" + +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}] + ) +" + +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_DESELECT=( + # timing, sigh + # https://github.com/tobymao/sqlglot/issues/3961 + tests/test_generator.py::TestGenerator::test_generate_nested_binary + ) + 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/twine/Manifest b/dev-python/twine/Manifest index c4285f811a6b..38bfbd5fa7a7 100644 --- a/dev-python/twine/Manifest +++ b/dev-python/twine/Manifest @@ -1,5 +1,5 @@ DIST twine-6.0.1.gh.tar.gz 223827 BLAKE2B ab88eb21908954ee7c32744ae9f7ccd7d50cb2b5207917144ef559e142837c89625596dea2c1bb0be21858bb0967690df999bb8a123e01beb5637a025dc490f9 SHA512 4fa7727d0728da3e05eaca068bf1dd85656225dd61958666ec0747359ee6bd88b25fd443d6c77bd8db245e71418cf8e5b594a6559ac1ecaafe3c079ecaefadba DIST twine-6.1.0.gh.tar.gz 163562 BLAKE2B c1fa279f62c5c6c5dfdc59120a9d80776d69527fec69356358963956ce7e1f76f05b432eaef3586c52a4150ce2893975cff252361740a7ce24b2917379c212f8 SHA512 d8235561f13eaaee7607b4b50dd70fdb67b9a9863a7d69fa2d173d8625cb3c44c8adccb27c5fe2203b3c1db7f36a685cc9da7f847aac3d5a3622b8e7125dd2b8 EBUILD twine-6.0.1.ebuild 2003 BLAKE2B 26d277b403871a245d189d96cb0a064b383eccd4fee0fd05692aa36cf6c5ae79a92b72acadf33e1a113eb704c93efe2e375ddee8b9f5200a05346cd37741f209 SHA512 afee62ef43fb994508976489c3877edae99e1579dcdf1219d8f4f68ebb948ca8e56d8a468630df401dba5eb76f3f8b57c0b3cd0a0231a30731be1d207f0db502 -EBUILD twine-6.1.0.ebuild 1986 BLAKE2B d9ec5d3cf8348bc2748aedd1f216913e698714475b0f11774d79474d9bb1e50f7452b4b3fa183862e406b54a524591761538d9e981d05c68875abaeed707821f SHA512 4d9f365313426d6ec4ca5f8b7eb8ec2cb2c022a2f10925edc8dc30a1f218c39780cd78b448c49e50c80c3353165c6b6a8240d3b6ac5cd8b77681a4eef3258b93 +EBUILD twine-6.1.0.ebuild 1993 BLAKE2B a130386a03534dd95434bdfbe505a5c4808942f6be5b915be202ea4910c0682c09a4b5b0a51fb3bc579709bdd9adc39b0b6dfabec5364aa5875b4b15f22fa7da SHA512 45084463b6014cecd5436e287fe5324301c7959448e8cc37e25be621b4dffcebb17ab93bfc36626a9fe17d253b3dc1829e281ddeb60f5cbe932473f1344af0f4 MISC metadata.xml 383 BLAKE2B e2a596604a2f3e40ddd0196ea79105e318f8a04d9e5a2c7e458d403d215af1371f2a526fa7d8cbc430f20747f7b65ed6c8546263fb8a54ddd8a6db487c358634 SHA512 cd5c1f1ed89dc5c314975fc5b503108d6828db37826ebba98d6edd580b72cd41867e19e65a9a022f8c07babadecd810f21febeb8a015c51eecec412b9df4f0d5 diff --git a/dev-python/twine/twine-6.1.0.ebuild b/dev-python/twine/twine-6.1.0.ebuild index 50b07be03895..1e0781543334 100644 --- a/dev-python/twine/twine-6.1.0.ebuild +++ b/dev-python/twine/twine-6.1.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~sparc ~x86" RDEPEND=" >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}] diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 7353e27712bf..2304b166842e 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -11,6 +11,7 @@ DIST uv-0.5.21.gh.tar.gz 3260658 BLAKE2B 064f52d4c690d2992988ca1683ce2c5183c2662 DIST uv-0.5.22-crates.tar.xz 53858800 BLAKE2B c5b6ee71e1e8dfbfa053f6c0d29515c8a16d4bc16c8625f8890ca4f62b603230981c872bb9e9a3cb8960105f6c0ba5331c97a373d3242ea17c5d3302342b844d SHA512 fae1412a761953b0bc19229f959366222d8af2a15bb2c60feb1174639d3b78bb62ed0eab55ed09b6da796fb945d4c9b60120a8a5cbb327a080ff46be76eace23 DIST uv-0.5.22.gh.tar.gz 3302316 BLAKE2B 13cb21c5c1b3961bb5d34e744e17580ec45a9dc22f22d1d589109d9fb3378aafe882f551855bde8050778e49784e3748ebf9f90eaafc3d64571974d34d235a68 SHA512 57b84f8da8867e013d3bffd581f3d2b7bc730ab9dcccc2020e00a4f4c8c5848546461a8c15ec06581115aabc0b765db2ff2ab7048aa15bf485d0fff2c130d546 DIST uv-0.5.23.gh.tar.gz 3311484 BLAKE2B bf7feb6d34a39358326a7a13053139179ca1d636b414286204180e1d0d314d6a38dc823e1d29321f815886155c6ee5c207402f2a77984573ca0ce32670370951 SHA512 483be9e257169a3818a3a6e923601c9ff50654e23d30968253229cb11aed12f1d553e33133d1e58d77e6ce7cb7d5909dac61601d978199e2ba0879bf2e4aa658 +DIST uv-0.5.24.gh.tar.gz 3319136 BLAKE2B a75ca99fcd1f5ccefc0e22e421b1f9da0e01a394a5a9015a364dfdf775240210e58098fa3996ba1c190550f2ce33aadcbe2395b689cb2b77726b9af3125ac7c7 SHA512 9cb55bdb163c491b0fd1fe9d9a2f41d8e64b5b93e4458a4fd703191e19b8babf03196a544266c72fff2a7af1805a60cc6fa405d0397fb9a1a51c71efd75df85a DIST uv-0.5.6-crates.tar.xz 46263172 BLAKE2B 73b1d2dc957f89f923dda09a8c038426041292c442ce253ff9110f996cd1e1f892a5a438d8e1c894fc0d823401cced0ddc8ad88b5e6a83199af7055a04ce85dc SHA512 c9d4f8085416bffb1e1872fd907d15a50cae0c0c5fba994d27b3acdc3c836dffd771558246573af4bb7467353a031ea56018d5ae1fbdffa4f63988462de00343 DIST uv-0.5.6.gh.tar.gz 2952255 BLAKE2B b815b60b99f959751f5839365b8b210919247ad99bff93ee4d202bc152bd06b83a62914cfbf341bfddb5b2c87d9e546c5e2a6d1baff1599d0218160ee89de504 SHA512 fc8c7f4f60a3d2ce997341450daf20ad039ef379ac5dd4575f8db0327284bd8278419b66f8f9695f2701a9579ab004b5b60476bd8dc4c27314211f795118bc5a EBUILD uv-0.5.15.ebuild 4334 BLAKE2B ff82d759cf6c62656d664b8e540fe251f4326926860bb8f85a6ce09256906247d2dbb680ef0a3cc4dac5011ae8377ce008b3f64568f273cd6626eba797fbf8e1 SHA512 4fa4c9a5987ebdff340e7aa8d60525444586bdd5a9420dfc5411cb31f72bfecdd12ee0a54a8ec66973104ace5856657bd9cf86c7be951bdfe5924ebe4890dbac @@ -18,5 +19,6 @@ EBUILD uv-0.5.18.ebuild 4340 BLAKE2B fa047c28a05defa25bfc4571877eb93bf7db88987f0 EBUILD uv-0.5.21.ebuild 4340 BLAKE2B d2e2840ae6782f3b7e00dd04fd753ff44e7d60830d518cd12541ef9c37525cebedddae3df317d1ee98a58842f3971dd0bc22c5493d0a272c6af6faf405edd28a SHA512 9098d60ac6c94461f3ba30981cfbf16503395c6c3a51cb25299d72fcb2333cba8c0e8965a9d9000bef6c367a1142a56f11662c67109fa62ec9ccfdf1b97f4735 EBUILD uv-0.5.22.ebuild 4339 BLAKE2B e76c137fbe10e67bb68138cb6e127a9628fb30f1f304337f0f7940ff0c3da8c673c651e9841d88c87ba939d51232432fddb076571cebf60bf9df344c5b1bf002 SHA512 335ecf516cac2c4270b12168894f7de6a8ec2d205f43d0c63eb61f6623268ce988de2b39c6c24595db69dffcf39407886551673624fa28a28ba4821e4093519f EBUILD uv-0.5.23.ebuild 4340 BLAKE2B 454058371de0705fe14a83146695230a3ccf8507df58a061e8ca69ccee0e29a57df88b0b415d09bc34e738894ac4ff60a9005591b391dd8738069618e68bb710 SHA512 eeaeb999f49641a8d2e541404e1cf0017889db8d37d08e4ffedfa54154121bbf565706a9c31a143a6a3106727b7923a8902adc5eae5e75244962a31fda4837a0 +EBUILD uv-0.5.24.ebuild 4340 BLAKE2B 454058371de0705fe14a83146695230a3ccf8507df58a061e8ca69ccee0e29a57df88b0b415d09bc34e738894ac4ff60a9005591b391dd8738069618e68bb710 SHA512 eeaeb999f49641a8d2e541404e1cf0017889db8d37d08e4ffedfa54154121bbf565706a9c31a143a6a3106727b7923a8902adc5eae5e75244962a31fda4837a0 EBUILD uv-0.5.6.ebuild 4330 BLAKE2B a3e3a8bf1902c43d9ec15f0eed696f3d1a00b68f7668378dc0d42cf8f55c7603ad45b88a8c3e545b92b7836762ac3bff1df5c5cb45a75b79f3767129d288ae31 SHA512 2345ff40864b7e3e633ef1acbdd861c5ca7bf10de1d90f6542ab5cd46ad7571f59369b76335ed279fdfd6d3e0f859a5b563389b532087efe2d3ca9d5f5094abd MISC metadata.xml 336 BLAKE2B 4b5933e24e3e9450dde5da099185dcdf3afb5916b55cffa7c2f3f6fac77e439197cbe4ba529a87f83442d8f87d238e8abef06dc052ce9a62659060ffea9fdb47 SHA512 9910fd10ebbc395b9c330774b74798c9ffdba3bb368347658380a22e01d6dc9d1961ea50fbfb4a904c9db84b94c713c054e418a7294425b86ff41a607fd3e310 diff --git a/dev-python/uv/uv-0.5.24.ebuild b/dev-python/uv/uv-0.5.24.ebuild new file mode 100644 index 000000000000..1be33b3920b3 --- /dev/null +++ b/dev-python/uv/uv-0.5.24.ebuild @@ -0,0 +1,170 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" + +declare -A GIT_CRATES=( + [async_zip]='https://github.com/charliermarsh/rs-async-zip;c909fda63fcafe4af496a07bfda28a5aae97e58d;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;648aa343486e5529953153781fc86025c73c4a61;pubgrub-%commit%' + [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' + [version-ranges]='https://github.com/astral-sh/pubgrub;648aa343486e5529953153781fc86025c73c4a61;pubgrub-%commit%/version-ranges' +) + +RUST_MIN_VER="1.83.0" + +inherit cargo check-reqs + +CRATE_PV=0.5.22 +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://dev.gentoo.org/~mgorny/dist/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 ISC MIT + MPL-2.0 Unicode-3.0 Unicode-DFS-2016 ZLIB +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + test? ( + dev-lang/python:3.8 + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + !!~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 + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die + + # bzip2-sys requires a pkg-config file + # https://github.com/alexcrichton/bzip2-rs/issues/104 + mkdir "${T}/pkg-config" || die + export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} + cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die + Name: bzip2 + Version: 9999 + Description: + Libs: -lbz2 + EOF +} + +src_configure() { + local myfeatures=( + git + pypi + python + ) + + cargo_src_configure --no-default-features +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + # work around https://github.com/astral-sh/uv/issues/4376 + local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} + local -x COLUMNS=100 + local -x PYTHONDONTWRITEBYTECODE= + # fix tests failing because of our config + local -x XDG_CONFIG_DIRS=${T} + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install + + 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/zenlib/Manifest b/dev-python/zenlib/Manifest index bbfaecf0e2f7..1c68cdbcaf17 100644 --- a/dev-python/zenlib/Manifest +++ b/dev-python/zenlib/Manifest @@ -3,7 +3,7 @@ DIST zenlib-3.0.2.gh.tar.gz 21046 BLAKE2B 1416246d7f030e938a28e6ec8ad7981ca52186 DIST zenlib-3.1.4.gh.tar.gz 23131 BLAKE2B f1595317c2384227ee65e8730889c8af8d243a51075a5dfa0e5b3e40ad5c74cb7e0e13b6789fd77eb109633c793820c3c742660d2f33e46e2dd630c64cb59109 SHA512 13ff8ab3d1a206844731f06aa26bb4060e83efb7c915b946bfa9b60fe83f273f8f938a4ca54324969e60f337e4ba7132a0abce586e173e4658372315e8f32e9e DIST zenlib-3.1.5.gh.tar.gz 23230 BLAKE2B 900cc0dbdb087d0d294027747eed046dee452ac7dd15cb572ff769e148e07478a5030f8412fdbebcf89db17c6e06df5368fe28ff1df983723e068b9005cba6ce SHA512 2ece8426ab169e77e14c27c86b4d0d5dab7a0318a9a264a255db102d4f882d1297ac6f8de23b8e80c6ab0d7fbfc0998a08f04eab53bad007efd39171f45b8089 EBUILD zenlib-2.4.1.ebuild 512 BLAKE2B c75b40f64204cf962fa5b87d9963bf082fa9073e7f01f3fcc81740f463e1878d8a59057b61c210ae45ed991443379b294e68ca63b068aa7ce7817acedb860d28 SHA512 1ce07aec15b742f2fc7e9e8cd6ed87b9189dfdbffced9e4325742843fabcc366216d208165ccb1ec737081bf76a5e519cdc117fb5e9609e0f876c7acfa1af44d -EBUILD zenlib-3.0.2.ebuild 514 BLAKE2B 189a1cb2aa09285e839015e805428e90c4e7a6760c91b63da3d5c624f1ee25f08fd61b269c22499ea9d4f17378f537b94a7fc1b3b4f3b30beb936aeed5bab08f SHA512 325cf7b7ff7a1616c441d0f9ca1dceffbe28776262885f9c076246f1bed02c8ec10f2a90b209d61b48839db430ca92a272790b81a9fb73e1e970fd8d17f52bb3 +EBUILD zenlib-3.0.2.ebuild 513 BLAKE2B 033fd66589d970f62f2ab40438696c69580d6506c57ddd80600a9894f8865f63b35bb3d2b11691b713464f486a65423b524962a49d48aaf83884c7bdc5295787 SHA512 e63372f2a0f4d56b2745856adb0d5ce3b2933412b9d6db794743324a150c5c561d43f4c7c9cf7bcbc80b5b0ef312030c1c4d2bfafe019f2c2807123f9f346597 EBUILD zenlib-3.1.4.ebuild 583 BLAKE2B 0b71fe5a3410a9976f98763ae00a3e910ba57dd43b0c93c89fa09e0aeaf1f19e27356fde4122c62c7c9d33e5fc4039b646c68f625036947d36a21efbfd8c40c9 SHA512 28fb8c1880ebc6a2cf542ae31d71cb9ed359ea75ca052c51b037fbd2897c38f56e638da237327be42f43801ee89c9739a796ff70dff866b109adadf5c277528e EBUILD zenlib-3.1.5.ebuild 583 BLAKE2B 0b71fe5a3410a9976f98763ae00a3e910ba57dd43b0c93c89fa09e0aeaf1f19e27356fde4122c62c7c9d33e5fc4039b646c68f625036947d36a21efbfd8c40c9 SHA512 28fb8c1880ebc6a2cf542ae31d71cb9ed359ea75ca052c51b037fbd2897c38f56e638da237327be42f43801ee89c9739a796ff70dff866b109adadf5c277528e EBUILD zenlib-9999.ebuild 529 BLAKE2B a0f9faa0deeed30aaa7e944e5ac781227a6bea72ec75e4e8004a38d0c5734ddb04a35f2bdb80fcd8ad75005df7e8690a220b45031436fd80b2b4a7b6125e6397 SHA512 8e9adbbe616ba1b9179f2b9bd3298ccc2615bfa08b7a5243338818543a9377078314d49cc40bf03ea812a5eca05df06838dc7e805971257ba165e2b9ecfc6094 diff --git a/dev-python/zenlib/zenlib-3.0.2.ebuild b/dev-python/zenlib/zenlib-3.0.2.ebuild index cd63c6cb8120..94a721bdd3e8 100644 --- a/dev-python/zenlib/zenlib-3.0.2.ebuild +++ b/dev-python/zenlib/zenlib-3.0.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023-2024 Gentoo Authors +# Copyright 2023-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="~amd64 arm64" distutils_enable_tests unittest -- cgit v1.2.3