diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-02-27 07:17:49 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-02-27 07:17:49 +0000 |
| commit | b9d64a32714555a5c8087f7cf26c31b6d301ab69 (patch) | |
| tree | f0fb712c9804762323cb59db9346f45f343b7003 /dev-python | |
| parent | b5a52ae9fa4b035d327b44444c5dddfc3d51908c (diff) | |
| download | baldeagleos-repo-b9d64a32714555a5c8087f7cf26c31b6d301ab69.tar.gz baldeagleos-repo-b9d64a32714555a5c8087f7cf26c31b6d301ab69.tar.xz baldeagleos-repo-b9d64a32714555a5c8087f7cf26c31b6d301ab69.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
29 files changed, 781 insertions, 48 deletions
diff --git a/dev-python/array-api-compat/Manifest b/dev-python/array-api-compat/Manifest index 445a150f294b..8609f81b4e7d 100644 --- a/dev-python/array-api-compat/Manifest +++ b/dev-python/array-api-compat/Manifest @@ -1,3 +1,5 @@ DIST array_api_compat-1.12.0.tar.gz 99883 BLAKE2B d95f8dd57c83cd72a007a3065efdac69bf8c15ccc7a47516d51340c2bd91eb127072d8b5c31a85c8e9b77afcf9e64f8bef539fae3ddf726973a74424dd68bd1b SHA512 93d309b1212671986cf588d537638d001345a64733b5ffb503e5aded451be0f12e185447a3c3ca5aa0b074494e644a9d4d56309ac90b19259c4ed5939c08f1b5 DIST array_api_compat-1.13.0.tar.gz 103065 BLAKE2B 6894c002e024bbd204b9ae69ca66a766ab6a0d42096720a215df50c87b89174f6548b0879f93b00b03700c81208ca32c66e613cce53b2d1640fe381864f09d68 SHA512 6e8007aa6fdcd17b90412a8dc3745ca91f005439445b839ea35cb814e0fcffa9cf69d08256f6bfb847e73484821330e6f1e401be43614d946967a4d687302072 DIST array_api_compat-1.13.0.tar.gz.provenance 9487 BLAKE2B 04f797708b1c8915ed72c69f9344c05ccf47d781a9e9c721b68d49cf7bc020ce045e2b883951aef82447c376dbec6ccf9e009e9300a24fe51bb64920b4aa6349 SHA512 ee1a6210dded7a7e8bbe8c5564514a5bbddd67cb9954c5f0a430823d0431e892fe708e7ba8fb55ca3dac63c4d04ea7ab140de39fc56855ab521566e3fb7fb3ee +DIST array_api_compat-1.14.0.tar.gz 106369 BLAKE2B 3fc2b8388fcb85ebf19075c64c9ef1206835cae43d4a760e2998491f51b7226b834e519964341e073f21d3b3a62996bed4daa1720ff25b0e136c92926f30288f SHA512 bf233eb506b783d2d0500a93e7f5ee4b3deb826b33e01e504be14188b5b432deeb8a5bd85b050814afe1f60d1128cc6ebf4373c2453e274cf885bf9eafbda48a +DIST array_api_compat-1.14.0.tar.gz.provenance 9918 BLAKE2B 20a13459baa793462f7dab2e0d5dd51b27facaa7db3dbeb06cd4e1b6d99330414e3311822eaf1430a1079927fd48d655f401c3841afa10e51fa2d892af5ae962 SHA512 de2c0eb809322ce3762634dda54218a4348659a59d5fa4c7db6bcec929c2836495f6ef601698250f2a53a30d029448b1a0d7b2860352cb3e13b4d90a02d7c014 diff --git a/dev-python/array-api-compat/array-api-compat-1.14.0.ebuild b/dev-python/array-api-compat/array-api-compat-1.14.0.ebuild new file mode 100644 index 000000000000..75eb619ab639 --- /dev/null +++ b/dev-python/array-api-compat/array-api-compat-1.14.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/data-apis/array-api-compat +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Array API standard compatibility wrapper over NumPy and others" +HOMEPAGE=" + https://github.com/data-apis/array-api-compat/ + https://pypi.org/project/array-api-compat/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/numpy-1.22[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # err, what? + tests/test_vendoring.py +) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 1568f1ae2692..1fed1f3622dd 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -14,3 +14,4 @@ DIST boto3-1.42.54.gh.tar.gz 1088047 BLAKE2B 882bb5e1c8b5b3b5539b8536e286e9df4fe DIST boto3-1.42.55.gh.tar.gz 1088949 BLAKE2B fee5acfd89f82682e0b508dde5f4bc7dfacf7d47efdf4b7483961d28ccfec0136f0ca19bd693d1ffbf6c5c54c4d33473f500ec844fa7c376f5b3e8f051869db7 SHA512 97e2df1943805519243e84782573c7b8efed9c0ee6c8ba59c886760b8cc846f287b5af17f4a24ade913951b08f0a59b77d29c1d2a92e683d5faf6049b6617334 DIST boto3-1.42.56.gh.tar.gz 1089923 BLAKE2B 47a20b523662bb4d1db0c7c84f54c560ec0cad5c40b526d70aaa21fea3a22b60a38ffe0fcb16c1b3aa33b2ceaa465b818a135470e6aae17a9cc1c8c16187418c SHA512 b3351b1e77a648b5b8adcc9072ca1cc56f6a409648214576b52a4f35092c00a1c47fb8e2f6a3a67db26d46d0e55bc8549ef4a40834a4dc936f23d5373a644cb0 DIST boto3-1.42.57.gh.tar.gz 1090375 BLAKE2B 1e595744c11b1f0a6ea5f1ce919023706580e7e10d322371286886c7443a2c09bdbe8c79e313f19a2414c4ce1a24cce37c89e9f8ea1c1331320a0103784f7720 SHA512 ab1bd99840c1371ca458cd47a8bc6ecad04abe285cef3fdcf0504be436e7dae20a50b69e5c3215a0ea261bb9860d0faff7c1b6d4bf36d9cec22ae22c540270ec +DIST boto3-1.42.58.gh.tar.gz 1091132 BLAKE2B a1156afe1a294b216117ed842cb638e388c703957a1e7e3eba909229dfdebb53c313bd2562cb63e600c526c35ca62eeaf5593030757211f2ae4d2036fff902c7 SHA512 793a8f22d2b3ab8db2ae8b85f6dbba2920413a1ec5163ee71422d35c7f24680c2c6730f3a8b67bfc92ed3bd9f587f298fda4fe7ffe355d3a6a97f896e1862706 diff --git a/dev-python/boto3/boto3-1.42.58.ebuild b/dev-python/boto3/boto3-1.42.58.ebuild new file mode 100644 index 000000000000..6e5f06a012ad --- /dev/null +++ b/dev-python/boto3/boto3-1.42.58.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.16.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 1d219c88773d..41bb702c90c4 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -14,3 +14,4 @@ DIST botocore-1.42.54.gh.tar.gz 15809562 BLAKE2B 555e6c10bb65e5f14fbae4366084ddb DIST botocore-1.42.55.gh.tar.gz 15814283 BLAKE2B b97e4be1a5e14706670742fb706e3d890660f92b7fed773ae3725466483607b5d551d414f92f1bcd5c0439e26ec37a62bd8891a9524fb2408ca094596cc4edb7 SHA512 8676ae2929beca575c58bd78e03eaf89b07fd74edf54194c02a196db4d6963fec42babed5e08e07041b8b0eee9c32d68e8ae0560428b323f4a7f01bf7e7d3bd1 DIST botocore-1.42.56.gh.tar.gz 15829334 BLAKE2B 534b02792685089ede7ce7c9514a4225d1fc78161847bda26b0772ed9aa3a9bedfd9ce20067b1d207af70eb4e028c5ced23146262bfa313af3d4e184db253a0c SHA512 dd0e7bc7703ebe846562a357fb581654c0c678df882399ec8b6d783b01bbac01f638cbd51a891ced08d97f087a240c7f02adc635dc6974d8a3f1392da19e00df DIST botocore-1.42.57.gh.tar.gz 15831429 BLAKE2B 894a693b9d4b769011f493fba546fa473ab570dfe3cc31ea4ce4699378295df343f158a9beaadb1724a1b88dce8dd262c29b0dc40f8d0644fd60e98d20a362b6 SHA512 76ebd7f3e442e2b9cde912deeedc15a0d6729413724040b6ef5b490e4dfab4aab9188eb49d5fa84a3535afab67330a827f6f0d51d9c6eac1798c6a6326eeebdd +DIST botocore-1.42.58.gh.tar.gz 15832682 BLAKE2B 66fc32d1a251fe4cdfd5c09a5f5ccc6131bc3b2b0e95e3e977a75aec65b02262b00bdb390f32fcbebd167967a9ba0879ff765ee922fcacef1786322dfe676599 SHA512 9aea418130e44d199a5c4406914034b38b4d0a4e4bd6d2a0d1745f3d934f4cfc55de92a4698fd1f957050648d49a53584168d73ca63a76fc150a9371d740bc5f diff --git a/dev-python/botocore/botocore-1.42.58.ebuild b/dev-python/botocore/botocore-1.42.58.ebuild new file mode 100644 index 000000000000..f6ce0d9ed8d5 --- /dev/null +++ b/dev-python/botocore/botocore-1.42.58.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + epytest tests/{functional,unit} +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..d12ab8aeaca8 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9cd8a2a93a8d45bf51fe2324402b175d641762ea591fcb99459427f977a95eccffa6ca4777ca4df39814eea6eac62711567faa654456d32f79023a4685804504 SHA512 d973b85ba1a44389a4275f02a779a93a005f7c2e096467b94b072862e4984d5b42cf33f9821ac68aa5b85b12c98983a90b96049989d8c84497969174b6bb838e +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch deleted file mode 100644 index 637368d2f237..000000000000 --- a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." - ---- a/setup.py -+++ b/setup.py -@@ -18,7 +18,7 @@ setup( - author_email='michal.danilak@gmail.com', - url='https://github.com/Mimino666/langdetect', - keywords='language detection library', -- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], -+ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], - include_package_data=True, - install_requires=['six'], - license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 7100f5f39dd8..271137de443d 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2025 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,6 +19,4 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) - distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index c0f74ac187e2..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,9 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>pastalian46@gmail.com</email> - <name>Takuya Wakazono</name> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> </maintainer> - - <origin>gentoo-guru-overlay</origin> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/openapi-schema-validator/Manifest b/dev-python/openapi-schema-validator/Manifest index e0b64f3b93f1..38c9f1184e46 100644 --- a/dev-python/openapi-schema-validator/Manifest +++ b/dev-python/openapi-schema-validator/Manifest @@ -5,3 +5,7 @@ DIST openapi_schema_validator-0.7.1.tar.gz 14432 BLAKE2B c30c02c56f4952f918a4bdc DIST openapi_schema_validator-0.7.1.tar.gz.provenance 9867 BLAKE2B 183e7431b4c8209d4280182c3d8773bfb2452e1625dc064dbd0356f8129cb9795efc932327e5b6e2b357aab56ae82d9b935ec136a0e0891ad26c57c13e2307cd SHA512 83ad37dbb8406df1d57707f20974f22c376753b08563fdbe3b7596c02285e59935ea721439e5343280420f956f3558d78ca2b6cbe4164c0a299cb62c6c7a9d2d DIST openapi_schema_validator-0.7.2.tar.gz 16983 BLAKE2B d3dfe018fbe3786bffc592409fd3f4ac6294840ebfca1fcc6e14eb4806e3fe492848a8f45618809d80a1e084b724971d99f793877c8a4af58c5188f141a09086 SHA512 bb87f63ffad0b087dff634ea19b503b539684be60f1ed94604e8296dc284392c79c8df7b481b2da9b2c0c51d4369657d319bec3f599f4370bb903469b9e4b598 DIST openapi_schema_validator-0.7.2.tar.gz.provenance 10055 BLAKE2B 4d17dcc3fb6785f25d2ea4fa8c2b03941e48b3b45a9144975a130ff99a01ea26a656589655aea997f2b7e3487c68e525668ab528d58016c4ae0bfc46e069cf8c SHA512 81ef4c66028511d96118a7543f85e04fe8868d92cbfe4a92f5d9beab373f203bc11a6c09286b4747d35992a640914ecfead1835cf150080652c022330d005a58 +DIST openapi_schema_validator-0.7.3.tar.gz 20323 BLAKE2B cbbb7ed894a0ef88c619fbc50247b35a8ba8d91d67e3997721f2ff7a87b2a96fe9de1cb082788458d116345d06fc209453e4bcfa38b415cae7a8017a2a486c5f SHA512 c8d64a9f5957c4e45aa6d4b82efa68ee4fe04d0b75a0e43457d5aac73b81b88959b78f2d05a2abab5f82d56eebb1d7b334b577cff5bf6a2ec8023e5b8f77a9b3 +DIST openapi_schema_validator-0.7.3.tar.gz.provenance 10012 BLAKE2B d89a0099a1e4b5b1b89caa6c925828a6a8fa7348627d4cdf16f8e90729aa8d559c57d4459a3fc4fdc5e0d8c03d0d47c7eb49782f1973d098a8b5734fcd0a6a90 SHA512 9a69e2766a2ce19a3f18972505b86e988ee960a7636345edfb019438e7904ce60e1e6054e3da834729fdc7a1195eab8465e5c0b811fef8b9bc764e41da886591 +DIST openapi_schema_validator-0.8.0.tar.gz 20744 BLAKE2B 2833ea5c972bcc398daacd8f7c189760b69b7576b1a7e733c7d9173eecf8a9f69cf42b26b9141de1f3763fe6bb49979d34e9b61d25026a29151411545983193b SHA512 a8faa6bffbc3c94458a7ad346803d7b872036e1fed30df14ee8423378f0fed35cee1fc5db0fda8768b16d1807d588fd1ff45584e5359e0fb7db652ca0bd0a783 +DIST openapi_schema_validator-0.8.0.tar.gz.provenance 10149 BLAKE2B c5c2779dfa3cad822b3a42d097db7590c1563499d825f3cce1f3dabb89a17cc431d7723e2a26c072a16ab38687a7e41ec714852ae327a893d73676aafe47b1d4 SHA512 148845ccabe0a8c89cc74ee6b80ffbd653b319552191caae9696db8cd44ead6b187efa338459b9c8542f8cc0c237ccb33f934f2d8f8e8a73101f29a7e7101b1a diff --git a/dev-python/openapi-schema-validator/openapi-schema-validator-0.7.3.ebuild b/dev-python/openapi-schema-validator/openapi-schema-validator-0.7.3.ebuild new file mode 100644 index 000000000000..21d45c81314d --- /dev/null +++ b/dev-python/openapi-schema-validator/openapi-schema-validator-0.7.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYPI_VERIFY_REPO=https://github.com/python-openapi/openapi-schema-validator +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="OpenAPI schema validation for Python" +HOMEPAGE=" + https://github.com/python-openapi/openapi-schema-validator/ + https://pypi.org/project/openapi-schema-validator/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + <dev-python/jsonschema-5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.19.1[${PYTHON_USEDEP}] + >=dev-python/jsonschema-specifications-2024.10.1[${PYTHON_USEDEP}] + >=dev-python/referencing-0.37.0[${PYTHON_USEDEP}] + dev-python/regress[${PYTHON_USEDEP}] + dev-python/rfc3339-validator[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + sed -i -e '/--cov/d' -e 's:\^:>=:' pyproject.toml || die +} diff --git a/dev-python/openapi-schema-validator/openapi-schema-validator-0.8.0.ebuild b/dev-python/openapi-schema-validator/openapi-schema-validator-0.8.0.ebuild new file mode 100644 index 000000000000..21d45c81314d --- /dev/null +++ b/dev-python/openapi-schema-validator/openapi-schema-validator-0.8.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYPI_VERIFY_REPO=https://github.com/python-openapi/openapi-schema-validator +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="OpenAPI schema validation for Python" +HOMEPAGE=" + https://github.com/python-openapi/openapi-schema-validator/ + https://pypi.org/project/openapi-schema-validator/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + <dev-python/jsonschema-5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.19.1[${PYTHON_USEDEP}] + >=dev-python/jsonschema-specifications-2024.10.1[${PYTHON_USEDEP}] + >=dev-python/referencing-0.37.0[${PYTHON_USEDEP}] + dev-python/regress[${PYTHON_USEDEP}] + dev-python/rfc3339-validator[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + sed -i -e '/--cov/d' -e 's:\^:>=:' pyproject.toml || die +} diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index c319e5a27d8a..2e31b584b0ab 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -2,3 +2,4 @@ DIST phonenumbers-9.0.21.tar.gz 2297827 BLAKE2B abc80c432a48ae9efa6bdea47d672d00 DIST phonenumbers-9.0.22.tar.gz 2297728 BLAKE2B 25993ad2b58df7e15a978ee1d68ff8741df08d6bd507cd947840da9ca1c58d0602245aa8f75d3a28779119b7f34718c5440a0dec997c66e14b9b7e8365a57f28 SHA512 ce3f19cc77c4b10e6f1f36ed8efc5634d8cfa440094f8a16148b44b17e0ff16af88fa3930421478c92059f7fd415cae0e0b46087a2e32a0bdc56b70d297cc221 DIST phonenumbers-9.0.23.tar.gz 2298342 BLAKE2B 28ac9678230caed10e6575b5f4df925c31e6f40100f6a7de8082fdbd9730a02fc264ab47de139fc91b6cdb9f0903b0ffa6e5b9963242000dafad0ecb90996d29 SHA512 bb91e71fe1a880e36fc31c7b19b7ec165eea75e83b565383c60d03dba02a44dcf9eabd0acada78060089f66a396b855bcc04f59b05f6e9f76c0e337dc25b18ac DIST phonenumbers-9.0.24.tar.gz 2298138 BLAKE2B cb9a0a1f7e962ced422aa8961254ce8df9fbfdd6ca31c711df20def32fc43adc85a461416a046bd9808e2421d7eaec77444543c4d98785e986eea338887a8d5c SHA512 32a963b54e1ac69749d24b4c902257958754b993d09bb93e964a2bbf492c5828fcff4cf284c9ca28b4746206f3ec7e47a8564b55c467cdb2e7653bf051eb27fe +DIST phonenumbers-9.0.25.tar.gz 2298295 BLAKE2B e1a13e783d0a44aea7973033faeadca260cf33f9ac307dbf54601a36e3960b105a4c20213995dca48c6830bfc995967cbebca9497b44c48d26159dd4746fe7e8 SHA512 81ad4f4c982bb11d9591e2f6d423846a4c27f20ff8f2eb53f1df0946bfb8e0382cee9cb838cfb0cc21e4be2a10398de8949a4b7c7370463fc0e6742f6ed7e79e diff --git a/dev-python/phonenumbers/phonenumbers-9.0.25.ebuild b/dev-python/phonenumbers/phonenumbers-9.0.25.ebuild new file mode 100644 index 000000000000..56b0d243a266 --- /dev/null +++ b/dev-python/phonenumbers/phonenumbers-9.0.25.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python port of Google's libphonenumber" +HOMEPAGE=" + https://github.com/daviddrysdale/python-phonenumbers/ + https://pypi.org/project/phonenumbers/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/protobuf[${PYTHON_USEDEP}] + ) +" + +python_test() { + "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/protobuf/Manifest b/dev-python/protobuf/Manifest index 6a3f91870b2c..75959db19932 100644 --- a/dev-python/protobuf/Manifest +++ b/dev-python/protobuf/Manifest @@ -4,6 +4,7 @@ DIST protobuf-33.2.gh.tar.gz 6875303 BLAKE2B 74e09134d5a8c524f1c2c11244d41c7b26a DIST protobuf-33.3.gh.tar.gz 6889779 BLAKE2B 8031047309ee32633860b23e93bb30984d87a65749cdb4d36b93abcccc6b22782aea0d69970d849a3f43dafc75a27a5c98335a18dc72c3600a4ffb04b16c357b SHA512 fa54336ad4ee40fdf7024122dac455b5da3262e965b25096b7e5f7e4cbc94ee9179aa02a0570b4a732c06f6f921a17d8b3d44dfd367afb0ec52fe5bd7e00068b DIST protobuf-33.4.gh.tar.gz 6889595 BLAKE2B fd378ca66464f39d32551bcf8ccab719b7d97e0fafa896bb69fa34c3866b5ae0d3938e75f57df6a712831ca5ea302595b35508037b11ea35c14ee54bb43a2fa2 SHA512 540059a93721447cf4723bcca06e91c43a4399cb366c05bf84e9d8e2c439f3107ba17803f9d912549b54c471f2dcc4c9fc834145ec441dff31ca24f9a3543aa9 DIST protobuf-33.5.gh.tar.gz 6890609 BLAKE2B d6069a5189cc02d7d1c7586883caab626d09bde61194fca54619f4e940ac4669d73fa7af4145b7559eb53f2d5b2b3c6184391c7c15ad920b04eebe53b520b2c8 SHA512 71110cd2cbf9f2e7f1bda4eed346ad6cad84a05ab0214d1e0880afc20a788f43176e2ccc8ac284eab38ec21578db147c2837b58789baf2823e4615d4b3557937 +DIST protobuf-34.0.gh.tar.gz 7036108 BLAKE2B da33db4c3a81cf40c327fc3560db253a694b947e7282e1b1a35a9699efe4e316616942041e9ddfbfbe6add687a9815235940a4943fdb7416b7468e88ab77f480 SHA512 ba7fb01479c169003d8258896092a217f9781f51dcd59ebe7f5cc9b274f7f242bab2963f8eacb7ae6e1250db6fe8c2099ab54a9a9f399ef2aaeb44455f9afb98 DIST protobuf-5.29.5.py.tar.gz 425226 BLAKE2B 1d7461e94ba8bc097d6f52170678665e3cd97ef44e4757e6c20bcb1bdfbfe673d26cd4a63f8e6972af964e381dfffedeb9a4959ec7a7d5a3a3f87f917c8aa329 SHA512 cbb39efe7f6499362b3e4cc9f073df921c8b83d3aafde245a2ca3432f3e744a428e946799c48b2797e08312342e164eced0bf2b8865b8d042b54913855abb1c8 DIST protobuf-5.29.6.py.tar.gz 425623 BLAKE2B 113d56d001efde5d432437b0740c92255d7178a6900bf7b8266cece0d9c99815f12029034697f7363566d7500b853fc0825c5b3c01d8104b483323fcdbbcbb07 SHA512 42cb4c9b69dec89f001e6b70e35a25ddc94708e2977076ecd7d0e414b9547b2d1a044a1e8bfbf7eb7bebe6395888056f30cfb4c29608d86c9d0fcb7733c2b69a DIST protobuf-6.30.2.gh.tar.gz 9523913 BLAKE2B d3950abfe8b3b61dc2bb61f683b014de29451252c46b670dee75a81eb0b8ed30a3209227aa9483800244af16058469deb281521609d769a3456a798ca8a9a4a3 SHA512 f2ee857a36b49f87257a306b3f3c361770d74aaf24c4650b9d00994e1e1a0b09079fb0ce5ffb4d5a4a32d8ca46e3247d6db454918fa0b104fc8d58e8a0546a96 @@ -16,3 +17,4 @@ DIST protobuf-6.33.2.py.tar.gz 444296 BLAKE2B d91fd1164ac67c33b04a4f882aba253bd9 DIST protobuf-6.33.3.py.tar.gz 444318 BLAKE2B 42c4bf4e7878eee03a0728feaf83bfcb037614d28332dddb490052586484cb034c20fefc95d82926a8183b6171f9b8d53b7fdf00e5a254824d7a8c4b3c6e9bfb SHA512 ba532469efd48e9541db67fb127846080ffee8e89b4b72587587f584e31b577c737f36c830a7591186722e6c432674ed033c037ce8813360af8023b1399329e9 DIST protobuf-6.33.4.py.tar.gz 444346 BLAKE2B a6b0481e7ed353081bf32ded3fc821196b3c67cbefc3320c2dda0ffc1616fb5162f024a469df404aa91409eeff12d99ecbe67471d664d1d8e356f4301a0c2ff5 SHA512 d556fd78572967b3ce0421c1838cd4f0c3f5ebff981ce9f4b95919cd9c3ddb7faa10083ea3e160a8f571ba9893d9523533c077f75bc14d2254664dbf66c21453 DIST protobuf-6.33.5.py.tar.gz 444465 BLAKE2B c00267bc22ce78a8ae717b2feed153a8749088184842509178a5a9074def2236d04eba3b7fc7a6d5106625a4e094df76637d62c51fda68d9adfd3ade5b09d080 SHA512 56a92cf4b5092965c925a7c6faa058aea5ad03b09efb871e3a9485e6cb03b16b1cc7b1e74184981b5108153febdfec1ad457b5b177831309c20b0e12416d45e1 +DIST protobuf-7.34.0.py.tar.gz 454726 BLAKE2B 8aef8d604226f0eaddb7c5a9a59f2fa92af1bc860c5221d8db728cb9df76759c210ecda60c0db06daa69a44d29f0d787b4ee446a874cf7ed7f4a2a3fadb53822 SHA512 e41a9ab227b8cadd7410d9e782d635899d63d22777931eabdf57f89d99e8eaeed994faf535d2ffc4a8f9f7e419155437d79065f0f466926bc51308257c68a219 diff --git a/dev-python/protobuf/protobuf-7.34.0.ebuild b/dev-python/protobuf/protobuf-7.34.0.ebuild new file mode 100644 index 000000000000..2d6d1184e1c9 --- /dev/null +++ b/dev-python/protobuf/protobuf-7.34.0.ebuild @@ -0,0 +1,157 @@ +# Copyright 2008-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Default implementation currently is upb, which doesn't match dev-libs/protobuf +# https://github.com/protocolbuffers/protobuf/blob/main/python/README.md#implementation-backends + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +GH_PV=$(ver_cut 2-3) +GH_P=${PN}-${GH_PV} + +DESCRIPTION="Google's Protocol Buffers - Python bindings" +HOMEPAGE=" + https://protobuf.dev/ + https://pypi.org/project/protobuf/ +" +# Rename sdist to avoid conflicts with dev-libs/protobuf +SRC_URI=" + $(pypi_sdist_url) -> ${P}.py.tar.gz + test? ( + https://github.com/protocolbuffers/protobuf/archive/v${GH_PV}.tar.gz + -> ${GH_P}.gh.tar.gz + ) +" + +LICENSE="BSD" +SLOT="0/$(ver_cut 1-3)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +# need protobuf compiler +BDEPEND=" + test? ( + dev-libs/protobuf[protoc(+)] + dev-python/absl-py[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_unpack() { + unpack "${P}.py.tar.gz" + + if use test; then + mkdir "${WORKDIR}/test" || die + cd "${WORKDIR}/test" || die + unpack "${GH_P}.gh.tar.gz" + fi +} + +src_prepare() { + distutils-r1_src_prepare + + # strip old-style namespace + rm google/__init__.py || die +} + +python_test() { + local EPYTEST_DESELECT=() + local EPYTEST_IGNORE=( + # TODO: figure out how to build the pybind11 test extension + # (NB: upstream actually ignores these tests...) + google/protobuf/internal/recursive_message_pybind11_test.py + google/protobuf/internal/proto_api_test.py + ) + + case ${EPYTHON} in + python3.11) + EPYTEST_IGNORE+=( + # syntax error... + google/protobuf/internal/json_format_test.py + ) + ;; + python3.14*) + EPYTEST_DESELECT+=( + # exception message mismatch + google/protobuf/internal/json_format_test.py::JsonFormatTest::testInvalidTimestamp + google/protobuf/internal/well_known_types_test.py::TimeUtilTest::testInvalidTimestamp + ) + ;; + esac + + cp -r "${BUILD_DIR}"/{install,test} || die + local -x PATH="${BUILD_DIR}/test${EPREFIX}/usr/bin:${PATH}" + cd "${BUILD_DIR}/test$(python_get_sitedir)" || die + + # copy test files from the source tree + cp -r "${WORKDIR}/test/${GH_P}/python/google/protobuf/internal/." \ + google/protobuf/internal/ || die + # link the test data for text_format_test.py + # (it traverses directories upwards until to finds src/google...) + ln -s "${WORKDIR}/test/${GH_P}/src" ../src || die + + # compile test-related protobufs + local test_protos=( + # from src + any_test.proto + map_proto2_unittest.proto + map_unittest.proto + unittest.proto + unittest_custom_options.proto + unittest_delimited.proto + unittest_delimited_import.proto + unittest_features.proto + unittest_import.proto + unittest_import_option.proto + unittest_import_public.proto + unittest_legacy_features.proto + unittest_mset.proto + unittest_mset_wire_format.proto + unittest_no_field_presence.proto + unittest_no_generic_services.proto + unittest_proto3.proto + unittest_proto3_arena.proto + unittest_proto3_extensions.proto + unittest_retention.proto + util/json_format.proto + util/json_format_proto3.proto + # from python + internal/descriptor_pool_test1.proto + internal/descriptor_pool_test2.proto + internal/factory_test1.proto + internal/factory_test2.proto + internal/file_options_test.proto + internal/import_test_package/import_public.proto + internal/import_test_package/import_public_nested.proto + internal/import_test_package/inner.proto + internal/import_test_package/outer.proto + internal/message_set_extensions.proto + internal/missing_enum_values.proto + internal/more_extensions.proto + internal/more_messages.proto + internal/no_package.proto + internal/packed_field_test.proto + internal/packed_field_test.proto + internal/self_recursive.proto + internal/test_bad_identifiers.proto + internal/test_proto2.proto + internal/test_proto3_optional.proto + internal/well_known_types_test.proto + ) + local proto + for proto in "${test_protos[@]}"; do + protoc --python_out=. -I"${WORKDIR}/test/${GH_P}/src" -I. \ + "google/protobuf/${proto}" || die + done + + epytest +} diff --git a/dev-python/python-discovery/Manifest b/dev-python/python-discovery/Manifest new file mode 100644 index 000000000000..5a469d62d107 --- /dev/null +++ b/dev-python/python-discovery/Manifest @@ -0,0 +1,2 @@ +DIST python_discovery-1.1.0.tar.gz 55674 BLAKE2B 0873b460369b07973a8e8375d7c04bd354f699f149721f0f4a1b2f9959874d1fd7ed768631d22a4b81bfecdfc84e2401b39b8839e5e64c2c8d412b87d745c72c SHA512 80650fba8dd637b78286c0d029e748ecb5201d94cb9faa3ece87bdafee5c51f00609738d9452bb95b88464752fcd95e5d8248e035950a5c645fc5391fb143226 +DIST python_discovery-1.1.0.tar.gz.provenance 9353 BLAKE2B 41747cb58865e3dd391a99be351c5d10fc3ebbfaf2a647660da02b0ed7de224a15ec0281eec2707c613db3864fccb8f3b650b05ead0a23729764e880a9c939a1 SHA512 6e93df010db38c40cd36db30f9a1b50eb0c19e3dcf1529ecb4ee00f7f204b01d828f7f96c3eeac68474e902c6bcbcacc587329ca1e84cf809cce3c6cbe4c043c diff --git a/dev-python/python-discovery/metadata.xml b/dev-python/python-discovery/metadata.xml new file mode 100644 index 000000000000..a0d4c5913ba0 --- /dev/null +++ b/dev-python/python-discovery/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/python-discovery/python-discovery-1.1.0.ebuild b/dev-python/python-discovery/python-discovery-1.1.0.ebuild new file mode 100644 index 000000000000..bc99a8c9d3eb --- /dev/null +++ b/dev-python/python-discovery/python-discovery-1.1.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/tox-dev/python-discovery +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python interpreter discovery" +HOMEPAGE=" + https://github.com/tox-dev/python-discovery/ + https://pypi.org/project/python-discovery/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/filelock-3.15.4[${PYTHON_USEDEP}] + <dev-python/platformdirs-5[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.3.6[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/setuptools-75.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-mock ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + python3.*t) + EPYTEST_DESELECT+=( + # TODO + tests/test_py_info_extra.py::test_satisfies_path_not_abs_basename_match + ) + ;; + esac + + epytest +} diff --git a/dev-python/scikit-build-core/Manifest b/dev-python/scikit-build-core/Manifest index b73412f33dbc..09a473f35b9c 100644 --- a/dev-python/scikit-build-core/Manifest +++ b/dev-python/scikit-build-core/Manifest @@ -1,3 +1,5 @@ DIST scikit_build_core-0.11.6.tar.gz 286006 BLAKE2B 73c1dccfd32d70e96de2b948f35e7d69ed58fb0e7946b219fba1791692a068c5b661a21cda0789c548d4e851062737013c666fb6ec06aea157a0346c9fed1c68 SHA512 bc0c8fc346597be1166dd4cf575a7b22806a6ac4d04cf6625dad60ad0d95f29360f3fbe65c1298edae344349a07f8ff3b06842429fa2ec5f082b5122f188a9d0 DIST scikit_build_core-0.12.0.tar.gz 302652 BLAKE2B 131fefc3d6288965bb65f246d20c2b056f79941e5927bcf82c023013f06c5c74e9634bd20e6a2b2fb0415d5e2189f7fd93df9c5989200708bed03bccde2d341d SHA512 eee8c18eba3e0ed9bff43f0ee43e593c9621f41057ad3be5136f02d867212587e60cac120dc43d5369082cb3011d78556ba05fe4abebc433ff0d083c9ce6d473 DIST scikit_build_core-0.12.0.tar.gz.provenance 9853 BLAKE2B bb618cca1960fe45e3cbcef97acbd2497b87277423ed38ea8a176e95d213118f767b78ea438c9687b83fb61694656f531da6cbd7e017bc1b8945737cb6b97677 SHA512 6f09d417c62935194a4c1571337ff7f3d43b0719b13aac7323d72ae8dba6454986649da1b431ada3b28cde9214be0546dc13732bc073620d5a096c1cf6a0f5b8 +DIST scikit_build_core-0.12.1.tar.gz 302856 BLAKE2B 49b797fe8040c86b26be5390a3d79231b3848b43d05f7dc8ffd474c6332727f5ff351cf13f823d8cb41871185e9b141064a5c5d60227cf78775957a32f87fe18 SHA512 ee934d5e4c337c6d4a4c7b0746ff6504ceeea3518ba93991803ba37deb7e823c27c225b1f2c9ed11e944d78639ffe68451b40c7f7732ccb7884f7b5bc7dac6b6 +DIST scikit_build_core-0.12.1.tar.gz.provenance 9807 BLAKE2B 5cd84bb03f4d6b598e0fc3a2e4ae28610a998ae985c57853479cb22090f306edddb69b2827c46524125a63bd503755558de72c37a1adf870f42bd9b90a3f3079 SHA512 128ab0dd6ae95d29ffcb459921c2f44130543c0a38c46d507c9b6737ccc4e56b1b1bdebccb51e380397ba2496924121c5c517e8049ccf1aaaee583948f1171cc diff --git a/dev-python/scikit-build-core/scikit-build-core-0.12.1.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.12.1.ebuild new file mode 100644 index 000000000000..785a2ba54b46 --- /dev/null +++ b/dev-python/scikit-build-core/scikit-build-core-0.12.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/scikit-build/scikit-build-core +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Build backend for CMake based projects" +HOMEPAGE=" + https://github.com/scikit-build/scikit-build-core/ + https://pypi.org/project/scikit-build-core/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +# we always want [pyproject] extra +RDEPEND=" + app-alternatives/ninja + dev-build/cmake + >=dev-python/packaging-23.2[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] + >=dev-python/pyproject-metadata-0.5[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + >=dev-python/cattrs-22.2.0[${PYTHON_USEDEP}] + dev-python/fastjsonschema[${PYTHON_USEDEP}] + dev-python/pybind11[${PYTHON_USEDEP}] + >=dev-python/pytest-subprocess-1.5[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-subprocess ) +distutils_enable_tests pytest + +python_test() { + local _EPYTEST_DESELECT=( + # TODO / we don't package validate_pyproject anyway + tests/test_schema.py::test_compare_schemas + ) + local EPYTEST_IGNORE=( + # needs unpackaged validate_pyproject + tests/test_schema.py + ) + + epytest -m "not isolated and not network" +} diff --git a/dev-python/tempest/Manifest b/dev-python/tempest/Manifest index e392073e73c4..8b9ccd0eeeeb 100644 --- a/dev-python/tempest/Manifest +++ b/dev-python/tempest/Manifest @@ -1,2 +1,3 @@ DIST tempest-46.0.0.tar.gz 1172210 BLAKE2B 76ebb5a5914de0cd78b737411ee38df6f349d31f3f253f184bd3ad7bf03db5c5c1139e97758edcf22702249d6a2799b66be09bd69256048397fa18d76b277efd SHA512 d6e6247f3bb4a9b5fc465c0c5d6c64aa7335a417a6614a9ae61e55d6b6a02423ebcab34867427b7b92c749d465374bb82b9915dff4e3748201b0c5e4844f402e DIST tempest-46.1.0.tar.gz 1180586 BLAKE2B 1639df90a10382fd4e8cec0684280fabeacb31e35835b3ed8bee553af3b8c2d757e1614fc2482f05215fff9b2a3ed5dc797a59389859cbf79f5b6b49d2023034 SHA512 d0babe574407d6d35c84926ef5adf09ad46b159aafbb4b1ec38a1debf8a4352d3e21bbd6bf5b0917541a646bd1f6061f5d4da748d602a903cf623f2afe6f0634 +DIST tempest-46.1.1.tar.gz 1180447 BLAKE2B cb74fb5ca4b283a5e6e640cd2ef938f8edc0c1946341daa40375af4755dfee320079957eee34648c5b38f001f5e87df5ed0887b2d89f79719da6e8151ae40dcf SHA512 e850ee2ac2382807e44c70fa705e16b807bc1f88393dae63d54978fe3725fecb922f9210ca833dd9aafee130e5cce727cc004e9c80e540ed55dfc95b4672f74b diff --git a/dev-python/tempest/tempest-46.1.1.ebuild b/dev-python/tempest/tempest-46.1.1.ebuild new file mode 100644 index 000000000000..5f779ed79bc9 --- /dev/null +++ b/dev-python/tempest/tempest-46.1.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 2021-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="OpenStack Integration Testing" +HOMEPAGE=" + https://pypi.org/project/tempest/ + https://docs.openstack.org/tempest/latest/ + https://launchpad.net/tempest/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/cliff-2.9.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.5.0[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/paramiko-2.7.0[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] + >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-4.7.0[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.12[${PYTHON_USEDEP}] + >=dev-python/python-subunit-1.0.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] + >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] + >=dev-python/fasteners-0.16.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.5.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + dev-python/stestr[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + # Small subset of tests, which fail as result of not using specific + # testing environment. + rm -r tempest/tests/lib/services/volume/v3/ || die + + # remove dep on hacking + rm tempest/tests/test_hacking.py || die + + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + mv "${BUILD_DIR}"/install/{usr/,}etc || die +} + +python_test() { + local -x OS_LOG_CAPTURE=1 OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 + local -x OS_TEST_TIMEOUT=300 + stestr --test-path ./tempest/tests run --concurrency="$(makeopts_jobs)" || + die "Tests failed for ${EPYTHON}" +} diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index 964be62f3880..d0b0895cb037 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -14,3 +14,5 @@ DIST virtualenv-20.39.0.tar.gz 5869141 BLAKE2B 382ae1d0cd95e7401cf43f8269c0f81cf DIST virtualenv-20.39.0.tar.gz.provenance 9492 BLAKE2B 177bbccf5bb17e44cf78e4e646f69a321684cac89bf892e5bf5464e636b18a1934cc1bd8d567b10a724dfbbfd344a84a0e7650e4b75042c6fe98e8aa94573584 SHA512 22945883f27ddb456341db8975e55db1481b4055b9fd5b57a7ffb35e2d6fbce8fff9b0e0c0495feeb2044f06f7c604d9ee5c3f17be6fd6527436cfc29a5de436 DIST virtualenv-20.39.1.tar.gz 5870061 BLAKE2B 30fb2c107616c080935ede0ea2e72e5b70bc184d46d7eb26e08f612f8cc6be26dde2a8c53c8d415b586904749e5dd4bfc5f82ff6c186cdc51815a480e1dbbe80 SHA512 8d8fb281cd55bf60065b4d57e37963a90bf116e46e67eb3688177f40d975da93a558e1ad67b6d7ee8ecfd1a005cd3d4dccc4c50c72569fad221634136a61e23d DIST virtualenv-20.39.1.tar.gz.provenance 9445 BLAKE2B 39909e09db2ab5b8fdd9a192943e3e8279a16efd2c55a88dca6c2f76bb86b78d569d6e9a8a6ef8415a6805d42a0967f0862609eb9a59a5ef7bf35dbfb3a55a51 SHA512 6c7f752fc702cfb00005215186fc6062a30f319d5d22457abc7a98ee9fbc8e7e466aa6b0af319ff3a98dde013e98759f16100003012c00e644ae91982ceaf157 +DIST virtualenv-21.0.0.tar.gz 5836591 BLAKE2B de13338edd22cf251a69834416e19556d7fe8a543bac1d7c7a5596c799b4bdb96e3668fcb0b961cf88c5cc3a144c9526d84607d5f32b3b02b42e121df3bd8cc2 SHA512 9969ed76b32e70183a3935304efbf58e4141305edb9848d208ff29d595a71dbcff9ce914c27983c6f98a258bc72c73ebc52e2ccb207412a0684f2ebbe523f5e6 +DIST virtualenv-21.0.0.tar.gz.provenance 9374 BLAKE2B 9bab5b3cb5445578f37554f9b7def3d8119bbd9dd1b876cc2411a65a86a2cb00502ceed80f1b35fd90d8637fb2adfe1da1e5d794fcf37ade1d1fc1bee43b6bba SHA512 1ddfd8a1852b09705bf8b2d98da40b4a9604d287555b4dc004d120573aa0ae235952407594b1c0367475e78246f6f7513691f3c084e4bb6034635960cb4dd188 diff --git a/dev-python/virtualenv/virtualenv-21.0.0.ebuild b/dev-python/virtualenv/virtualenv-21.0.0.ebuild new file mode 100644 index 000000000000..48ae76175d90 --- /dev/null +++ b/dev-python/virtualenv/virtualenv-21.0.0.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/pypa/virtualenv +PYTHON_TESTED=( python3_{11..14} pypy3_11 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 pypi + +DESCRIPTION="Virtual Python Environment builder" +HOMEPAGE=" + https://virtualenv.pypa.io/en/stable/ + https://pypi.org/project/virtualenv/ + https://github.com/pypa/virtualenv/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/distlib-0.3.7[${PYTHON_USEDEP}] + >=dev-python/filelock-3.24.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] + >=dev-python/python-discovery-1[${PYTHON_USEDEP}] + + dev-python/ensurepip-pip + >=dev-python/ensurepip-setuptools-70.1 + dev-python/ensurepip-wheel +" +# coverage is used somehow magically in virtualenv, maybe it actually +# tests something useful +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/coverage[${PYTHON_USEDEP}] + >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' python3_{11..14}) + $(python_gen_cond_dep ' + >=dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}] + ' 'pypy3*') + ) +" + +src_prepare() { + local PATCHES=( + # use wheels from ensurepip bundle + "${FILESDIR}/${PN}-20.31.1-ensurepip.patch" + ) + + distutils-r1_src_prepare + + # workaround test failures due to warnings from setuptools-scm, sigh + echo '[tool.setuptools_scm]' >> pyproject.toml || die + + # remove useless pins + sed -i -e 's:,<[=0-9.]*::' pyproject.toml || die + + # remove bundled wheels + rm src/virtualenv/seed/wheels/embed/*.whl || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping testing on ${EPYTHON}" + return + fi + + local EPYTEST_DESELECT=( + tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data + # tests for old wheels with py3.7 support + tests/unit/seed/embed/test_pip_invoke.py::test_base_bootstrap_via_pip_invoke + tests/unit/seed/wheels/test_wheels_util.py::test_wheel_not_support + # broken by different wheel versions in ensurepip + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_string + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_exact + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_none + tests/unit/seed/wheels/test_acquire.py::test_download_wheel_bad_output + # hangs on a busy system, sigh + tests/unit/test_util.py::test_reentrant_file_lock_is_thread_safe + # TODO + tests/unit/create/via_global_ref/test_build_c_ext.py::test_can_build_c_extensions + # random resource leaks or xdist + tests/unit/test_file_limit.py::test_too_many_open_files + # Internet + tests/unit/create/test_creator.py::test_create_distutils_cfg + ) + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # these don't like the executable called pypy3.11? + tests/unit/activation/test_bash.py::test_bash + tests/unit/activation/test_fish.py::test_fish + tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable + ) + ;; + esac + + local -x TZ=UTC + local EPYTEST_PLUGINS=( pytest-{mock,rerunfailures} ) + if [[ ${EPYTHON} == pypy3* ]]; then + EPYTEST_PLUGINS+=( pytest-freezer ) + else + EPYTEST_PLUGINS+=( time-machine ) + fi + local EPYTEST_RERUNS=5 + local EPYTEST_TIMEOUT=180 + local EPYTEST_XDIST=1 + epytest -o addopts= +} + +src_install() { + distutils-r1_src_install + + # remove bundled wheels, we're using ensurepip bundle instead + find "${ED}" -name '*.whl' -delete || die +} diff --git a/dev-python/xvfbwrapper/Manifest b/dev-python/xvfbwrapper/Manifest index 7f30c57a3c01..71ce95e40633 100644 --- a/dev-python/xvfbwrapper/Manifest +++ b/dev-python/xvfbwrapper/Manifest @@ -1,4 +1,3 @@ -DIST xvfbwrapper-0.2.16.tar.gz 9284 BLAKE2B d2d09b8a0a1576f7708ee40e3ea30bb0b42096ea64bdebf1d9a485fb3790ca11fb43e4dbed7a9ca8617639d0f639a21d444941f7578daac9ec4285261584579b SHA512 98c741e35d3ad9da0889578aceeb5607be60c5c9375e706e508d10af16c8ae4b2d40e5296dbffceb41ea4b42857185fb065c76bb9df67ee0e7b7e21a67043162 -DIST xvfbwrapper-0.2.17.tar.gz 9292 BLAKE2B 7e0b5bea1ab92ffd005d81c8eaf0eab9c72b521b41f44a3f0ca8738a6849f2a4f3d7e1dab828e37edfe84eb8c2cd6c35fac5cf3b86da77c5dd69732acee734af SHA512 ce13180b392aae5df283cc0db9477320fc1df5cd32f45e81c32494e9575cfdbcc81f83ec6e6893d350b57a94d92e5d84d464666dfeacaf0546096d35fa7f1f2a DIST xvfbwrapper-0.2.18.tar.gz 11745 BLAKE2B 497b5ed94e3a93c1d798f1f934fa42b33fc94b6cdf2bcdfc37fa9bf6350bd9b3959dd17f8850077b2b2a0e605a9d20e6635eb0c3d2d8582110ece52cf0e4eda0 SHA512 9af11d1e5e5be13bc9c3e130d0f9ebd5f3b0ada056d15a3a9097c620287f2bc115ac2b4c4f39c7225758ebf01f7c7664203abfc981828a0777e8f39f213964cd DIST xvfbwrapper-0.2.20.tar.gz 12527 BLAKE2B 3f66c1d35d77fa2a42809794a2acce795bb4808968742a8c683193ab19a276b4de50b9216491ed85aad9c7a63040f6d482cec98dd5780f0797d78f185a1cd3ae SHA512 b913296b7ba6e3bbe7cd40e588718e730ecd1042b2b5859bff6c1cf38b2e11c5519f00657c02a610de2d22df850e96e8be07c152ac2d7fae568b2045ef8b4417 +DIST xvfbwrapper-0.2.21.tar.gz 13078 BLAKE2B 8a13042807adc3c84af7e5acbae751f7e15a593a426dc2dc2607b0b20a9cc68b12d5c798b1aa6f005d8f94b6b1bd59470cc70e1150cfe96ae292ef675977d0d4 SHA512 d41d80fcc58fe210be0272d53e0aacdf301f78009d79560cb0fadfeb5a1a84a60211a06fee4391aa6f0ad14b025473bbdc5160c67d27d3a4836015eee898ef23 diff --git a/dev-python/xvfbwrapper/xvfbwrapper-0.2.16.ebuild b/dev-python/xvfbwrapper/xvfbwrapper-0.2.16.ebuild deleted file mode 100644 index 2289fb8f8193..000000000000 --- a/dev-python/xvfbwrapper/xvfbwrapper-0.2.16.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python wrapper for running a display inside X virtual framebuffer" -HOMEPAGE=" - https://github.com/cgoldberg/xvfbwrapper/ - https://pypi.org/project/xvfbwrapper/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - x11-base/xorg-server[xvfb] -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest diff --git a/dev-python/xvfbwrapper/xvfbwrapper-0.2.17.ebuild b/dev-python/xvfbwrapper/xvfbwrapper-0.2.21.ebuild index 6b95aacc1ea4..c42edea660f6 100644 --- a/dev-python/xvfbwrapper/xvfbwrapper-0.2.17.ebuild +++ b/dev-python/xvfbwrapper/xvfbwrapper-0.2.21.ebuild @@ -21,6 +21,11 @@ KEYWORDS="~amd64 ~x86" RDEPEND=" x11-base/xorg-server[xvfb] " +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + ) +" EPYTEST_PLUGINS=() distutils_enable_tests pytest |
