diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-18 07:11:03 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-18 07:11:03 +0000 |
| commit | 7db68c1e73545d1f0f88d8dd71425864a63d0faa (patch) | |
| tree | a3d96f8d34efd4fac5e26adb9dd608965002e481 /dev-python | |
| parent | c8dcb274f379713bdd93a32b91c9c3e5310ea5c8 (diff) | |
| download | baldeagleos-repo-7db68c1e73545d1f0f88d8dd71425864a63d0faa.tar.gz baldeagleos-repo-7db68c1e73545d1f0f88d8dd71425864a63d0faa.tar.xz baldeagleos-repo-7db68c1e73545d1f0f88d8dd71425864a63d0faa.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
22 files changed, 641 insertions, 6 deletions
diff --git a/dev-python/autoprop/autoprop-4.1.0.ebuild b/dev-python/autoprop/autoprop-4.1.0.ebuild index bbd6ed493546..bdb201cc51f8 100644 --- a/dev-python/autoprop/autoprop-4.1.0.ebuild +++ b/dev-python/autoprop/autoprop-4.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,4 +22,5 @@ RDEPEND=" >=dev-python/signature-dispatch-1.0.0[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 0dcd07bc49d9..badd10a2ebeb 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -11,3 +11,4 @@ DIST boto3-1.42.87.gh.tar.gz 1119510 BLAKE2B f800b5931768f707c5f53c7171d5a0828f2 DIST boto3-1.42.88.gh.tar.gz 1120718 BLAKE2B f45f5c0ee3a6b262f4e49a5fe670a225c1a3ea429072ad7a6318ac21802016aa8cf69a34c9a1d7dee710d6f8b5a2ba604825bb10efa6bc9f5b6a5c627f76a5ca SHA512 121dfb7ea610fb8689e53aa8a5e8bb203458b141cc48e725dd2df756d70b6d1de251e202544dfda07ce006958e96876ade58eeeac32053badd15d3ee4d090b73 DIST boto3-1.42.89.gh.tar.gz 1122098 BLAKE2B 8f81c17e47e8c07278b4eaf26c4e24a265f2c0e37c9d5e4ac364de781f0ec1d4869faa78b451726906ff3e967779c600d15a78954c721766a7ef494b193fb2dd SHA512 ef9c48233a08ff3147c589851af0c87b48bcd0506f7f3b1dd58de067ab3a7c9eef48e55f3696bcdae99094cde89339162d3432f492498555dacbf1288b4d0a53 DIST boto3-1.42.90.gh.tar.gz 1123585 BLAKE2B c70766edc67bee9deceb08f779ace13f327c2d966996e780b3e6681115fceff7c18d69fcb16907c0753c6d4c36e3aba2ad07d141fe9e20cfce774441630430bf SHA512 ffc470e9a6a5165419180b99085e1461131d11cdf018969d1e7428e6e0b7ab3ab5c08e9e4e1b8401f3e5c74b28e10fab1d12e8e8dc9bbacf68a65b6002b390d3 +DIST boto3-1.42.91.gh.tar.gz 1124704 BLAKE2B b6916ead939d892467698a93b7fa9257f094cf3095465a38010ddbd0125e8ad042a28b10c4ee260e12e2819504855ab11ce18ab4100405c95ceec5272a894e71 SHA512 f6c8fc30f6846dbf9dce51177306cea7794bd74438322566ad7f5d6bdc60ca419b23dd08c5f92ba9a73fca8c8bc017555167a68c8966a0a0d04851e81c9a7990 diff --git a/dev-python/boto3/boto3-1.42.91.ebuild b/dev-python/boto3/boto3-1.42.91.ebuild new file mode 100644 index 000000000000..6e5f06a012ad --- /dev/null +++ b/dev-python/boto3/boto3-1.42.91.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 1674469de24c..6336593b9ffb 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -11,3 +11,4 @@ DIST botocore-1.42.87.gh.tar.gz 16110857 BLAKE2B d3f328970ab32dfcb4a139e15de275e DIST botocore-1.42.88.gh.tar.gz 16115557 BLAKE2B cb2470ce6d16bb0e91d6976b84899eea502f7fe41dc0da6727f8d55150dfd6f3aff67a7b8282c6b09e1aa8f8df419d5bd4285788603e72406a9f6d7cb86da165 SHA512 c9ccab70325b68e69fd38c728b5d525a2420c1e9a32d1acb6892fcb61f607a68e1cf8021b15e754e74a869b0fc337cfe584cd75b4f60a480328e5050c47fac3d DIST botocore-1.42.89.gh.tar.gz 16126567 BLAKE2B 7f3586175496d9d767346ed9037cb8416f76bc080d921f248d27b4e391242ad6fd0ffd3337fcddf413f2dd272e8d6a9c7951e0c120a27686f1f921d782b4dbf2 SHA512 1e2fa4687a8e01a025c30fe01e6ae4e63c9ef00241fdedd329230f8fa8189e205a0566d75fd0d35ef28b53bcd0a0023aa74d3150f527cec8db41ee0a44329e6d DIST botocore-1.42.90.gh.tar.gz 16133286 BLAKE2B be3d2f1bb0c29c3d43fbd17d4c893923edd0f4287013d4e7f4bee36bc575c0fe4e5a12a8e976f0b1f898cdc8831539b1d34f615147eb40b4ff58addb9cacca9f SHA512 a6e7650163935b6e78a0cbfb27ce4ca7911b95012b46a478ec1b32233c28da59a8a4f7b8df221269b4e57722055d7d05cd600ec176117c5c270a6dcc716ca839 +DIST botocore-1.42.91.gh.tar.gz 16138871 BLAKE2B b5090d9707e20d83bdcc2757f13f6555a2fe50bc10361c8bbea9fba5fe09183ac588700864fec9677ba0bc84d85337c0b2a5f8d38ab0a832068dd1292000ee95 SHA512 5c96771c9170476817b3c4fc8e4201123389867015285c14a6db09856f2a5f9b9110523cf3a757fa2182fe726e99c549871b62a2ce3dc80d6b8abf703f0103cb diff --git a/dev-python/botocore/botocore-1.42.91.ebuild b/dev-python/botocore/botocore-1.42.91.ebuild new file mode 100644 index 000000000000..f6ce0d9ed8d5 --- /dev/null +++ b/dev-python/botocore/botocore-1.42.91.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/faker/Manifest b/dev-python/faker/Manifest index 03fb406f23f6..b8c01ea788a3 100644 --- a/dev-python/faker/Manifest +++ b/dev-python/faker/Manifest @@ -1,4 +1,5 @@ DIST faker-40.11.1.tar.gz 1957415 BLAKE2B ab833fa71e8b91daca52d30f4c98e4c4eaa0e22ed1e05977e30d3f1cf8eb4f9f7931bee1d7f5e59bed123f38b4f53f8d8c047725eb192649e0dc90e41a929775 SHA512 72510523ebbf69aac637ca4554994c9df8a985050f2068d85e7dd826502f3b4da1f262df2b701fc0ec18ac77b8e3b233c0dcedbd2a804afa38b14c538d99dd00 DIST faker-40.12.0.tar.gz 1962003 BLAKE2B 439f4ca14d0abbb5923cfc1669c2e62449015d732c84213831688fbb6d4cf0adae6c566255925b9d61ab0fb4baa9af9f1823d1b664d00a4a67978b10a408e265 SHA512 2b0ac55aa08c149a2c8aa179e4db12070035014cbf11915e0e74e49516a0c7db6ac2e7dd5dcdd236c8f4958217054ab804e847bb27e965a09ce7db15d32bdf31 DIST faker-40.13.0.tar.gz 1962043 BLAKE2B 31cf6db337625a4ac077e62724b63995d8c9776cb0501082696909a1f1fe8b034635a0677ce52f77d8d280fe6693425d79d0da00d504cd1aeb94ae3f7be4d455 SHA512 8a150043d57ebf0edd556124d960215f3719904295ac42707e8f5c7cc55e8b3a7fd36d2f744681fdaa1c841c0dfbdace6dafdc6065a5098aaf1506a6e2f5d13e +DIST faker-40.14.1.tar.gz 1962264 BLAKE2B edfedc3d138937c87dfe27e3249a823053caac7befa2dc2d534b98dd0d20aa3a91965b056cd3a0b63afb976c9b6cbaea024801dc9ae0227d54897fe6ff463d88 SHA512 d97d1789c9bafa8c6e56af535db0b4af3bf3fd2ff251820b4e6bbca443ef37a243ae785ec8051a0597df6ca91c78349a23b312674ba6d6d315e8739f37d1277f DIST faker-40.7.0.tar.gz 1956310 BLAKE2B b19cd1f4532a9a07e0fd7dfd19943d985e596b21ffe33cc83072b6a3cfa8447842f8d9a39b8b45ff73290a36e2460539083da1d26860f1b22190180d44168996 SHA512 5e545163239789adbc3cde2538cd2579a1ead306a266d01f260094a3a2fb8c2321edf58b183e50d5651a60135f7e7de600558e6c37b646da249d75fc7bd22529 diff --git a/dev-python/faker/faker-40.14.1.ebuild b/dev-python/faker/faker-40.14.1.ebuild new file mode 100644 index 000000000000..22e0ad6d9c1f --- /dev/null +++ b/dev-python/faker/faker-40.14.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python package that generates fake data for you" +HOMEPAGE=" + https://github.com/joke2k/faker/ + https://pypi.org/project/Faker/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + !dev-ruby/faker +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},tiff] + dev-python/validators[${PYTHON_USEDEP}] + ) +" + +# note: tests are flaky with xdist +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" ) +distutils_enable_tests pytest + +python_test() { + epytest + epytest --exclusive-faker-session tests/pytest/session_overrides +} diff --git a/dev-python/flask-caching/Manifest b/dev-python/flask-caching/Manifest index cc9c3ca08c90..eb98ab6bc2f4 100644 --- a/dev-python/flask-caching/Manifest +++ b/dev-python/flask-caching/Manifest @@ -1 +1,2 @@ DIST flask_caching-2.3.1.tar.gz 67560 BLAKE2B e4bd5121b4a43a81a359fb839c886e499028f4144c8a529a56ec8700db3b4819ddf59680131bc277d001ece976a9623f462be22f5aacd9668019e85e4d13d380 SHA512 ec591131746ee15f6e451b38af93194eeede1ff191b78042eafdf4fc9ab91eec6347372312cd9be8a92880679446af0c98be546b23845a12ef602e9593d48955 +DIST flask_caching-2.4.0.tar.gz 153673 BLAKE2B 9bc1cf2e861148a06666ecb3a3e8d4e019d0bd31e64b86bd4917620c12753736233233bb40306076e8cc7b504df91b56f99b0a11aa4fd435d929c921fda12a21 SHA512 87b87591b55cfd805c6a4656d29667061bf86aaef575d6b412fc471b90ebb8caa47eda20902200e081df15f13fddb70316df12c58ed8db35abf9795bd7f8ec14 diff --git a/dev-python/flask-caching/flask-caching-2.4.0.ebuild b/dev-python/flask-caching/flask-caching-2.4.0.ebuild new file mode 100644 index 000000000000..ef4cf98db231 --- /dev/null +++ b/dev-python/flask-caching/flask-caching-2.4.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYPI_PN=Flask-Caching +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Adds caching support to Flask applications" +HOMEPAGE=" + https://github.com/pallets-eco/flask-caching/ + https://pypi.org/project/Flask-Caching/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~x86" + +RDEPEND=" + >=dev-python/cachelib-0.9.0[${PYTHON_USEDEP}] + >=dev-python/flask-2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/asgiref[${PYTHON_USEDEP}] + dev-python/pylibmc[sasl(-),${PYTHON_USEDEP}] + dev-python/redis[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{asyncio,xprocess} ) +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # broken with new redis + tests/test_backend_cache.py::TestRedisCache::test_generic_inc_dec +) diff --git a/dev-python/identify/Manifest b/dev-python/identify/Manifest index 5e8a2bbdb617..f804c262f033 100644 --- a/dev-python/identify/Manifest +++ b/dev-python/identify/Manifest @@ -1,2 +1,3 @@ DIST identify-2.6.17.gh.tar.gz 102233 BLAKE2B ac9b4dd72eea4406817d27459f2dd5a926148179a98885b9e6f483a5fac1c64ae6e6fd415c07d4a65f39f4365765673c0a3fe2f2ffb8d83a751e20ad709d0a70 SHA512 8d0cc02714bb2799d745b29906c01bd061ad0bce04e1b4eb275e6e948ad648076e99cd15e96aa808637d24c602538bd0765bd302003fb680614a3e669d82a276 DIST identify-2.6.18.gh.tar.gz 102246 BLAKE2B 58673e43a634f62529a45b01e9e85a97156663347e73eaa36ce59029788f2571e4822ffd921a2cb1561164d5dc2f3ddc34d062fb83e1e77f974115e0cca12bd0 SHA512 9574cd9936c572a1eae819a0eefe35a7baedde478d2cc589f5c92a845029b170a77f5b5cad9fe285cd491692de58c986bed5f5df54705f5a4e9efbf444b4ca98 +DIST identify-2.6.19.gh.tar.gz 102248 BLAKE2B fe1bf189dbb91abeecc3a2b08a941b2f2744f9ffd0c0f4215c104227a05e2658c472fcb30b145698ee88b15853277d24be16a909522b20ab2ff1727c0bc51b2e SHA512 746a9452e2cba83a2054addb564b7d131115166946a2fca6af2f307e20f210c8eb97052ec4d1b596885db71b190c0091d9b3ba3def286079ed9935801631534d diff --git a/dev-python/identify/identify-2.6.19.ebuild b/dev-python/identify/identify-2.6.19.ebuild new file mode 100644 index 000000000000..3ba628cd5bfc --- /dev/null +++ b/dev-python/identify/identify-2.6.19.ebuild @@ -0,0 +1,30 @@ +# 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="File identification library for Python" +HOMEPAGE=" + https://github.com/pre-commit/identify/ + https://pypi.org/project/identify/ +" +SRC_URI=" + https://github.com/pre-commit/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/ukkonen[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/mediafile/Manifest b/dev-python/mediafile/Manifest index e7ac2868a63b..f484d59d1e85 100644 --- a/dev-python/mediafile/Manifest +++ b/dev-python/mediafile/Manifest @@ -2,3 +2,4 @@ DIST mediafile-0.14.0.gh.tar.gz 622631 BLAKE2B da29261941eca30b067eb08021d6adc93 DIST mediafile-0.15.0.gh.tar.gz 622616 BLAKE2B f8b36e6bd1400f55033fe7a85c76ba666890c42d75ea97dea241f7aea1bd8bb52113f4356b893cbb57f81fa3a66d8a19d3afad58d7c1cde6038acf418fea7f29 SHA512 4b2459a7274846f1db570bb18c93d6609945420107c1a91d62c75236f246042d961199e27d4a8fa19652fc9b1b82b31d7a4022a175e6b8ce89a40b387817b222 DIST mediafile-0.16.0.gh.tar.gz 627848 BLAKE2B 46e82b6855cd11b63ba3f83fe369b760ae486829c4eb726b33ed282af1c50d8a7653c0be60797532dbab37f5fdc13830a7a17c1af93406e6d1bdd69aad08c9aa SHA512 7459f098f4db44cedef19d005ee3526c1a220756128a3fb790e9e8bf7e082dafe31045c18cc44f9764d84fa1ebbc5bd9830f9832335e1c0481310ad588bb7b67 DIST mediafile-0.16.1.gh.tar.gz 666169 BLAKE2B dbc4ea1673071df08b47850296cbf5781fdc6b576af0146c8f11b81e42acbc2e80dca60395ca85d3f4549d5b2914321d62c3cd1fc486784ee0491b5ce649190c SHA512 4100f8fe66383fdf6b238bad18573af9b9a57ae68606be0a7494950387d04f4478f1d58b2d12869dc8cebc904dc0db357656f6144041902c0787d2ea70121841 +DIST mediafile-0.16.2.gh.tar.gz 666245 BLAKE2B e4ba0732e205e58348cb94e03c43cd210b287cb7cb309f471f277a42437611e7ed1beb9b6c4c47d92bd7382a5e8704a98a1e1c56a3fad4b4194fa97144447f7d SHA512 e7cc9a606d59e930b8bcacb208561e92f5d9ffb5d7aaf59b65260f2ac63780c6b9bc4042402955783717454f358b24b514fe5a17e174e644e1eed9ee3e45cc7d diff --git a/dev-python/mediafile/mediafile-0.16.2.ebuild b/dev-python/mediafile/mediafile-0.16.2.ebuild new file mode 100644 index 000000000000..f9d3d5b77088 --- /dev/null +++ b/dev-python/mediafile/mediafile-0.16.2.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=poetry +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="Read and write audio files' tags in Python" +HOMEPAGE=" + https://github.com/beetbox/mediafile/ + https://pypi.org/project/mediafile/ +" +SRC_URI=" + https://github.com/beetbox/mediafile/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/filetype-1.2.0[${PYTHON_USEDEP}] + >=media-libs/mutagen-1.46.0[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs +distutils_enable_tests unittest diff --git a/dev-python/pydantic/Manifest b/dev-python/pydantic/Manifest index 9d72c1a4178e..2ff3e8bd2e4d 100644 --- a/dev-python/pydantic/Manifest +++ b/dev-python/pydantic/Manifest @@ -60,9 +60,12 @@ DIST pydantic-2.13.0.tar.gz 843468 BLAKE2B 7b4149a6645e2210a2cc677337d02d2958b41 DIST pydantic-2.13.0.tar.gz.provenance 9100 BLAKE2B 1b275087801a2bd65a6dda25eee447fb03ef2b9b33414a946b8c2bfcd303ddf22a27d5d6df3831d8ea2d21018fac646da184fca635fb48ea905c26633fc94ebd SHA512 7b47143fced3520d99b3fff7156102299875a00d08ea558b9260a7c1833504e2edbed6545bf21cd323105995f8849d3740f01c3e474576924d9f2986f1bf5302 DIST pydantic-2.13.0b3.tar.gz 841035 BLAKE2B 8abe85c8bf03d89621b5230c55a5e5ca65ab4429d91cbdefa95bdc2d2385f8906f24d03e9c8e8769ecdcad5111b378fcaebe2241dca4eb614980f2edea944b9d SHA512 f16a630e7311b37d54be9558bfafbd988d476bc6a120aba004d91733fe9722788c732953d9670df40bb3222c07641940f5684264d9998dda788f1bf6b9c2609d DIST pydantic-2.13.0b3.tar.gz.provenance 9430 BLAKE2B 63fa74fe50a3b879841580cd28606eeac0b9a55bcab651bd2504e66336c10ff557ff2efe86e21106beaf3e4927c4f787674a8863e3ef0698c868b20a25e967b7 SHA512 ac4d225bbb6b0b1cd94b497d121df3b9865748e7e7cba63754756056c1a27cf8bc03c824404c7a906b5fefa8d4dbe385ee4e56397a5176246d443445c52a5687 +DIST pydantic-2.13.2.tar.gz 843836 BLAKE2B 853fee7028efcac0d8c9c2168708bd390e7cad657247b89734a48f29e59431190bfb4ac019709b533bffcd7c1953e5d658fe795a1eb7b2a3634eae9a305e3c30 SHA512 8cbb910e5ecd60cd8b0816623a3b667ebccf774735b00afed900c89def457a66cf97a544d840f457a0d0b15764f7da725c15ce12288359fa00f49da6be8a6e5f +DIST pydantic-2.13.2.tar.gz.provenance 9445 BLAKE2B 39e499de92600d04f2a470b522537a3cc96fabcafc1e3845192b58afe2b4957658d978f41c5a651b5be1fd72a2471c9043ea144dfac1f71de7ef553f895d4971 SHA512 37d1666690698f30ba0c6e580fbc0641516386a2a5a6aea38e9b4c5ffd7ab63f8f8ee4c9838b2a98e329dfbc9d88ccdc9fbd48c766ff43a452dd41081dc6906d DIST pydantic_core-2.41.5.tar.gz 460952 BLAKE2B dd7d45acdc5f3093668cb57813c0c4e40e5916d04f75ef8f06308ec00243c9b0469cba5ffd2eb8449e11279d28c12ccc039dc03ed108cdb879da675d9f61aebe SHA512 1447f257efdbad0f70b490569c073696f8bdcdbd0baccac40e843520eb3cabfd23d499dca31afdc67581dd6a690cc138b882f393a91f57afcc309c800b9620c3 DIST pydantic_core-2.45.0.tar.gz 471391 BLAKE2B bd88e8d2b6683d7275bae392a42ee207aed60022acd46137b3ffe5bef48b6d7a3ca0a76388b1849a3e08e2bd6a5041029b0777dfba5cbf1cf3b44d468761f098 SHA512 dd9ad080637dbe2f9150cb32b691873544301b5d9bde16aa394f8b3e5fe99a6bbb2df49241849b0f19cf90316160358e2b0b8c18b6861cf78d37e5b9205299f5 DIST pydantic_core-2.46.0.tar.gz 471441 BLAKE2B 26a135a6c7a5cfbb36beecef35ce25b7f8c236cfe724f921a1cf51ab85a2ffed7ec924544f1c3f1270d413e703947938b9a3df7ad07a338794eb26cb992bf9ed SHA512 417bfb49944f3d0739e6413e826db1c2e6b2262875b1921446cfb770c4af71003a50cfd5557e3f61ffe7dee14e34b260d071fcd7c053a2683f9915508f48cc57 +DIST pydantic_core-2.46.2.tar.gz 471269 BLAKE2B f190930db969a9b481d4c439eeb44e482d5917af46638d5ac05b5faf66de8d4e4cb671290159b45f3e6e4c24b6fa0fabfc8508943455accc93c487f11857983d SHA512 7fda00ebe980cbe3ab21f972ec1833601e7faaa0bc73ba1233fd9ef2b8c3570601e723c44793e990742d3d02b41ed3dd50cbece01d1c41dedec24e87ea1e6ab4 DIST pyo3-0.26.0.crate 1151579 BLAKE2B bcc8236785502928bf4a0b7a320e0a8f3d6140c562de4351a52d015aaebb8dd6b4d68fe607c8ea13ec66941c8f01d2c18c4249adfacb521355d4bf158667f3a3 SHA512 e073a4d893f88aa0301ef0ead78048137515edd93c490e6dccbc301ff65a208534c65c1d216b04639d4b1ec1e4b69bc87bd34974e5d0659134c28dcce589c194 DIST pyo3-0.28.2.crate 1202843 BLAKE2B 18158e22631ab35348eab1f117f16b311932de832d910f37a71cf481ec04ced03c37baaf63f1c8afc7ecccef039fc8f9072cbe0dd5109a74e7fb9f6b3ddb18a4 SHA512 fd4a03eb1cdfa40c1ed67b588cd4da31c90972f95c669b20a1099fb9304cd9506337f674e0bc9efd1d22a453162aac79a36ab18ca97eaca3515d640e2e9b923f DIST pyo3-0.28.3.crate 1204476 BLAKE2B 8540a1c51bac4fbe04ea34d5ce38471c13d5a3f0759e60cf21d67e846b00feb8316e70f32cb8dc6b74d09f0901ffc83d5f41b1a06da6d34790ef13e4cefcad45 SHA512 f955957eec4b95cc9337d331bba3bba52b4754b301cf86cd974601e64eb20c2424023b19be89a224661fe2e185de646cd3d0d00705b6b5cbd139856c9443a247 diff --git a/dev-python/pydantic/pydantic-2.13.2.ebuild b/dev-python/pydantic/pydantic-2.13.2.ebuild new file mode 100644 index 000000000000..25d83bf95ebd --- /dev/null +++ b/dev-python/pydantic/pydantic-2.13.2.ebuild @@ -0,0 +1,233 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=hatchling +# no provenance for pydantic-core: +# https://github.com/pydantic/pydantic-core/issues/1842 +PYPI_VERIFY_REPO=https://github.com/pydantic/pydantic +PYTHON_COMPAT=( python3_{10..14} ) + +PYDANTIC_CORE_PV=2.46.2 +RUST_MIN_VER="1.88.0" +CRATES=" + ahash@0.8.12 + aho-corasick@1.1.3 + allocator-api2@0.2.21 + autocfg@1.3.0 + base64@0.22.1 + bitflags@2.9.1 + bitvec@1.0.1 + bumpalo@3.19.0 + cc@1.0.101 + cfg-if@1.0.0 + displaydoc@0.2.5 + enum_dispatch@0.3.13 + equivalent@1.0.2 + foldhash@0.2.0 + form_urlencoded@1.2.2 + funty@2.0.0 + getrandom@0.3.3 + hashbrown@0.16.1 + heck@0.5.0 + hex@0.4.3 + icu_collections@1.5.0 + icu_locid@1.5.0 + icu_locid_transform@1.5.0 + icu_locid_transform_data@1.5.0 + icu_normalizer@1.5.0 + icu_normalizer_data@1.5.0 + icu_properties@1.5.1 + icu_properties_data@1.5.0 + icu_provider@1.5.0 + icu_provider_macros@1.5.0 + idna@1.1.0 + idna_adapter@1.2.0 + itoa@1.0.11 + jiter@0.14.0 + js-sys@0.3.77 + lexical-parse-float@1.0.5 + lexical-parse-integer@1.0.5 + lexical-util@1.0.6 + libc@0.2.155 + litemap@0.7.3 + log@0.4.27 + lru@0.16.3 + memchr@2.7.4 + num-bigint@0.4.6 + num-integer@0.1.46 + num-traits@0.2.19 + once_cell@1.21.3 + percent-encoding@2.3.2 + portable-atomic@1.6.0 + proc-macro2@1.0.86 + pyo3-build-config@0.28.3 + pyo3-ffi@0.28.3 + pyo3-macros-backend@0.28.3 + pyo3-macros@0.28.3 + pyo3@0.28.3 + python3-dll-a@0.2.14 + quote@1.0.44 + r-efi@5.2.0 + radium@0.7.0 + regex-automata@0.4.13 + regex-syntax@0.8.5 + regex@1.12.3 + rustversion@1.0.17 + serde@1.0.228 + serde_core@1.0.228 + serde_derive@1.0.228 + serde_json@1.0.149 + smallvec@1.15.1 + speedate@0.17.0 + stable_deref_trait@1.2.0 + static_assertions@1.1.0 + strum@0.27.2 + strum_macros@0.27.2 + syn@2.0.82 + synstructure@0.13.1 + tap@1.0.1 + target-lexicon@0.13.4 + tinystr@0.7.6 + unicode-ident@1.0.12 + url@2.5.8 + utf16_iter@1.0.5 + utf8_iter@1.0.4 + uuid@1.23.0 + version_check@0.9.5 + wasi@0.14.2+wasi-0.2.4 + wasm-bindgen-backend@0.2.100 + wasm-bindgen-macro-support@0.2.100 + wasm-bindgen-macro@0.2.100 + wasm-bindgen-shared@0.2.100 + wasm-bindgen@0.2.100 + wit-bindgen-rt@0.39.0 + write16@1.0.0 + writeable@0.5.5 + wyz@0.5.1 + yoke-derive@0.7.4 + yoke@0.7.4 + zerocopy-derive@0.8.25 + zerocopy@0.8.25 + zerofrom-derive@0.1.4 + zerofrom@0.1.4 + zerovec-derive@0.10.3 + zerovec@0.10.4 + zmij@1.0.6 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Data parsing and validation using Python type hints" +HOMEPAGE=" + https://github.com/pydantic/pydantic/ + https://pypi.org/project/pydantic/ +" +# pydantic-core & pydantic have a perfect circular test dep now +SRC_URI+=" + $(pypi_sdist_url pydantic_core "${PYDANTIC_CORE_PV}") + ${CARGO_CRATE_URIS} +" +PYDANTIC_CORE_S=${WORKDIR}/pydantic_core-${PYDANTIC_CORE_PV} + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0 Unicode-DFS-2016 + ZLIB +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/annotated-types-0.6.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.14.1[${PYTHON_USEDEP}] + >=dev-python/typing-inspection-0.4.2[${PYTHON_USEDEP}] + dev-python/tzdata[${PYTHON_USEDEP}] + !dev-python/pydantic-core +" +BDEPEND=" + >=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}] + dev-util/maturin[${PYTHON_USEDEP}] + test? ( + $(python_gen_cond_dep ' + dev-python/cloudpickle[${PYTHON_USEDEP}] + ' 'python3*') + dev-python/dirty-equals[${PYTHON_USEDEP}] + >=dev-python/email-validator-2.0.0[${PYTHON_USEDEP}] + >=dev-python/faker-18.13.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.23.0[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + ) +" +# pydantic-core +BDEPEND+=" + test? ( + >=dev-python/dirty-equals-0.5.0[${PYTHON_USEDEP}] + >=dev-python/inline-snapshot-0.13.3[${PYTHON_USEDEP}] + >=dev-python/typing-inspection-0.4.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( hypothesis pytest-mock ) +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/pydantic_core/_pydantic_core.*.so" + +src_unpack() { + pypi_src_unpack + cargo_src_unpack +} + +src_prepare() { + sed -i -e '/benchmark/d' {.,"${PYDANTIC_CORE_S}"}/pyproject.toml || die + sed -i -e '/^strip/d' "${PYDANTIC_CORE_S}"/Cargo.toml || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + + local DISTUTILS_USE_PEP517=maturin + local DISTUTILS_UPSTREAM_PEP517=maturin + cd "${PYDANTIC_CORE_S}" || die + distutils-r1_python_compile + cd - >/dev/null || die +} + +python_test() { + local EPYTEST_DESELECT=( + # == pydantic == + # -Werror, sigh + tests/test_types_typeddict.py::test_readonly_qualifier_warning + + # == pydantic-core == + # TODO: recursion till segfault + tests/serializers/test_functions.py::test_recursive_call + ) + local EPYTEST_IGNORE=( + # require pytest-examples (pydantic) + tests/test_docs.py + # benchmarks (both) + tests/benchmarks + ) + + if ! has_version "dev-python/cloudpickle[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + # (pydantic) + tests/test_pickle.py + ) + fi + + cd "${PYDANTIC_CORE_S}" || die + rm -rf pydantic_core || die + # tests link to libpython, so they fail to link on pypy3 + [[ ${EPYTHON} != pypy3* ]] && cargo_src_test + epytest -o xfail_strict=False -o addopts= + cd - 2>/dev/null || die + + epytest +} diff --git a/dev-python/pyqtgraph/pyqtgraph-0.14.0.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.14.0.ebuild index 933bacdf7296..deae1eedc304 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.14.0.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.14.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/seaborn/files/seaborn-0.13.2-test.patch b/dev-python/seaborn/files/seaborn-0.13.2-test.patch new file mode 100644 index 000000000000..9b2c3235d760 --- /dev/null +++ b/dev-python/seaborn/files/seaborn-0.13.2-test.patch @@ -0,0 +1,82 @@ +From ab486df804b0b306d2b1d407eec5185bcdd40543 Mon Sep 17 00:00:00 2001 +From: Michael Waskom <mwaskom@gmail.com> +Date: Sat, 25 Jan 2025 20:52:38 -0500 +Subject: [PATCH 2/6] Address np.in1d deprecation + +--- + tests/test_categorical.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/test_categorical.py b/tests/test_categorical.py +index 3df7824787..21db60beb7 100644 +--- a/tests/test_categorical.py ++++ b/tests/test_categorical.py +@@ -1206,7 +1206,7 @@ def check_boxen(self, patches, data, orient, pos, width=0.8): + + assert verts[pos_idx].min().round(4) >= np.round(pos - width / 2, 4) + assert verts[pos_idx].max().round(4) <= np.round(pos + width / 2, 4) +- assert np.in1d( ++ assert np.isin( + np.percentile(data, [25, 75]).round(4), verts[val_idx].round(4).flat + ).all() + assert_array_equal(verts[val_idx, 1:, 0], verts[val_idx, :-1, 2]) + +From 2eada7ee9f69a97b43c7c6b41b3c56feb756a5c2 Mon Sep 17 00:00:00 2001 +From: Michael Waskom <mwaskom@gmail.com> +Date: Mon, 16 Dec 2024 07:23:31 -0500 +Subject: [PATCH] Fix tick visibility introspection on 3.10 + +--- + tests/_core/test_plot.py | 25 +++++++++++++------------ + 1 file changed, 13 insertions(+), 12 deletions(-) + +diff --git a/tests/_core/test_plot.py b/tests/_core/test_plot.py +index 5554ea650f..50851646cf 100644 +--- a/tests/_core/test_plot.py ++++ b/tests/_core/test_plot.py +@@ -1782,6 +1782,17 @@ def test_labels(self, long_df): + + class TestLabelVisibility: + ++ def has_xaxis_labels(self, ax): ++ if _version_predates(mpl, "3.7"): ++ # mpl3.7 added a getter for tick params, but both yaxis and xaxis return ++ # the same entry of "labelleft" instead of "labelbottom" for xaxis ++ return len(ax.get_xticklabels()) > 0 ++ elif _version_predates(mpl, "3.10"): ++ # Then I guess they made it labelbottom in 3.10? ++ return ax.xaxis.get_tick_params()["labelleft"] ++ else: ++ return ax.xaxis.get_tick_params()["labelbottom"] ++ + def test_single_subplot(self, long_df): + + x, y = "a", "z" +@@ -1852,12 +1863,7 @@ def test_1d_column_wrapped(self): + for s in subplots[1:]: + ax = s["ax"] + assert ax.xaxis.get_label().get_visible() +- # mpl3.7 added a getter for tick params, but both yaxis and xaxis return +- # the same entry of "labelleft" instead of "labelbottom" for xaxis +- if not _version_predates(mpl, "3.7"): +- assert ax.xaxis.get_tick_params()["labelleft"] +- else: +- assert len(ax.get_xticklabels()) > 0 ++ assert self.has_xaxis_labels(ax) + assert all(t.get_visible() for t in ax.get_xticklabels()) + + for s in subplots[1:-1]: +@@ -1882,12 +1888,7 @@ def test_1d_row_wrapped(self): + for s in subplots[-2:]: + ax = s["ax"] + assert ax.xaxis.get_label().get_visible() +- # mpl3.7 added a getter for tick params, but both yaxis and xaxis return +- # the same entry of "labelleft" instead of "labelbottom" for xaxis +- if not _version_predates(mpl, "3.7"): +- assert ax.xaxis.get_tick_params()["labelleft"] +- else: +- assert len(ax.get_xticklabels()) > 0 ++ assert self.has_xaxis_labels(ax) + assert all(t.get_visible() for t in ax.get_xticklabels()) + + for s in subplots[:-2]: diff --git a/dev-python/seaborn/seaborn-0.13.2.ebuild b/dev-python/seaborn/seaborn-0.13.2.ebuild index ae87a6ff81b7..b5bcf10889ec 100644 --- a/dev-python/seaborn/seaborn-0.13.2.ebuild +++ b/dev-python/seaborn/seaborn-0.13.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -27,10 +27,17 @@ RDEPEND=" >=dev-python/scipy-1.7[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=() EPYTEST_XDIST=1 distutils_enable_tests pytest src_prepare() { + local PATCHES=( + # https://github.com/mwaskom/seaborn/pull/3802 + # https://github.com/mwaskom/seaborn/pull/3820 + "${FILESDIR}/${P}-test.patch" + ) + distutils-r1_src_prepare # https://github.com/mwaskom/seaborn/pull/3685 diff --git a/dev-python/signature-dispatch/signature-dispatch-1.0.1-r1.ebuild b/dev-python/signature-dispatch/signature-dispatch-1.0.1-r1.ebuild index bdfce1ce41c3..f7e4e9f56dd4 100644 --- a/dev-python/signature-dispatch/signature-dispatch-1.0.1-r1.ebuild +++ b/dev-python/signature-dispatch/signature-dispatch-1.0.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2024 Gentoo Authors +# Copyright 2021-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,6 +18,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" +EPYTEST_PLUGINS=() distutils_enable_tests pytest RDEPEND=" @@ -31,6 +32,5 @@ src_prepare() { } python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest -o addopts= } diff --git a/dev-python/vecrec/vecrec-0.3.1-r1.ebuild b/dev-python/vecrec/vecrec-0.3.1-r1.ebuild index 944c9979b37a..b57503efbfdb 100644 --- a/dev-python/vecrec/vecrec-0.3.1-r1.ebuild +++ b/dev-python/vecrec/vecrec-0.3.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,6 +22,7 @@ RDEPEND=" dev-python/autoprop[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=() distutils_enable_tests pytest src_prepare() { diff --git a/dev-python/wrapt/Manifest b/dev-python/wrapt/Manifest index 32e9fb7432d3..8c1c0bfbd764 100644 --- a/dev-python/wrapt/Manifest +++ b/dev-python/wrapt/Manifest @@ -1,4 +1,5 @@ DIST wrapt-1.17.3.gh.tar.gz 140900 BLAKE2B 88c4cd718cd98a97c866c4f0b9f7e095347fe6fa5fed60c54e389329c89f9f07099c8fb79561cf5e12c19c44a4067d81e805c55b54a74429e6b75913dedd6b3f SHA512 1a1f7419f20faa461a9e23ad09cc98d381ef2c48b3b24ed1dfe98d42d16857a958252301e78dd41b7fa8ef37eea379f9244cace2b396b49718c44cbc701308a3 DIST wrapt-2.1.2.tar.gz 81678 BLAKE2B f7fc45f31b8077d6d97c14c1f649437e0f1da7537769d369d427edede0ba1b84c8c07e6de9ded8088f29f2fb774272186d0f9b707e6b2bef650dc5f78444d852 SHA512 97f1af4cabfd7a4cfabfaf36d26d1afc577747f18946226fbb80256e13c55302b746005e01720e874d46d536826c83e9234544c98f8dd1ecd3c9a091113da808 +DIST wrapt-2.2.0rc10.tar.gz 123726 BLAKE2B 6997cb2d4a04ab371969fd81465a62430d9e3bfde8191d9cae299359fb41076ab16e6fd3f70adaa7fa660e32008d5db5f5d20fb03250e960d16f9e68d0445807 SHA512 143fee72a4321308fee90147fbb50ea114bf38f440e56b13352ed2e514511cb439f57a3e74db3a6b936a5156d8f267ed6fe57f72028380ca3beb41e6fa8bb9b3 DIST wrapt-2.2.0rc7.tar.gz 110602 BLAKE2B 727d02fd827ac875bb35430d9c2d3a9d8a33cc12ea16c7e15519c8eb2a51f59b90487629a49efebae44d8911655466b32864e4c1bc1f182a796268133bd94b8e SHA512 17848645d32e58f1bb18fea0a99f3cd156eff7353f7a7c7328873597a2ca3ca6b48173f4109f70e48311d9f26780fc7b3d331a8581474cfe27cb3654bc996ee9 DIST wrapt-2.2.0rc9.tar.gz 119647 BLAKE2B fe6b0855f0ec003e8d1720d94ff8188887029286bfaf9d808e8daf7223bbac65867db6e94df664150cc5e262bd635a35ece9dd8cc4bda82daabfd08a252703cd SHA512 462d4fcdf9190136b3cfdd670c666464b82713ecd4b86a0b17840bd4dd0829903c50125349fb2587a400b32ae1cb467a079147aa1c1f59cddc37467f644416e2 diff --git a/dev-python/wrapt/wrapt-2.2.0_rc10.ebuild b/dev-python/wrapt/wrapt-2.2.0_rc10.ebuild new file mode 100644 index 000000000000..8514e94dc258 --- /dev/null +++ b/dev-python/wrapt/wrapt-2.2.0_rc10.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +MY_P=${P/_} +DESCRIPTION="Module for decorators, wrappers and monkey patching" +HOMEPAGE=" + https://github.com/GrahamDumpleton/wrapt/ + https://pypi.org/project/wrapt/ +" + +LICENSE="BSD" +SLOT="0" +if [[ ${PV} != *_rc* ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +fi +IUSE="+native-extensions" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # skip mypy tests, they are fragile + rm -r tests/mypy || die +} + +python_compile() { + local -x WRAPT_INSTALL_EXTENSIONS=$(usex native-extensions true false) + distutils-r1_python_compile +} |
