diff options
Diffstat (limited to 'dev-python')
1296 files changed, 14567 insertions, 13616 deletions
diff --git a/dev-python/Babel/Babel-2.15.0.ebuild b/dev-python/Babel/Babel-2.15.0.ebuild new file mode 100644 index 000000000000..2ffa65633c48 --- /dev/null +++ b/dev-python/Babel/Babel-2.15.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 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} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +# see scripts/download_import_cldr.py +CLDR_PV=44.0 +DESCRIPTION="Collection of tools for internationalizing Python applications" +HOMEPAGE=" + https://babel.pocoo.org/ + https://pypi.org/project/Babel/ + https://github.com/python-babel/babel/ +" +SRC_URI+=" + https://unicode.org/Public/cldr/${CLDR_PV%.*}/cldr-common-${CLDR_PV}.zip +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +# RDEPEND in BDEPEND for import_cldr.py usage, bug #852158 +BDEPEND=" + app-arch/unzip + ${RDEPEND} + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +src_prepare() { + rm babel/locale-data/*.dat || die + rm babel/global.dat || die + distutils-r1_src_prepare +} + +python_configure() { + if [[ ! -f babel/global.dat ]]; then + "${EPYTHON}" scripts/import_cldr.py "${WORKDIR}"/common || die + fi +} + +python_test() { + local -x TZ=UTC + epytest +} diff --git a/dev-python/Babel/Manifest b/dev-python/Babel/Manifest index 15e42b496964..c5f61bf09a2e 100644 --- a/dev-python/Babel/Manifest +++ b/dev-python/Babel/Manifest @@ -1,2 +1,4 @@ DIST Babel-2.14.0.tar.gz 10795622 BLAKE2B 7beb79d34e5fc44a7520b7ca8541dbe41676b466c418a4fcf994fc556ca86d9cbc9ddeecad886b49a61ea4f62502413472a96df0fd65606f447e423c7ece4723 SHA512 cfcd93bc5e57e3d23b8fb67f77fdeeb08183cc5ef9a6e044085a090cec3d722cf658e740c639f5a834df11a4cff0dacafdbba435184d77a78d56fc0bb6b62fd2 +DIST babel-2.15.0.tar.gz 9390000 BLAKE2B 9cd99524dbb191b5b8835452118b57b23abc89123e358a29de2375263a0264a1ea4c71324632eff8711cab7dbb40a20e97acd8e0faa448872353852b064ca524 SHA512 8cff4dbbe84047f7e8b625772036d2a23b6f7dfc36aa15332e581d4331fdac1d0308341294741afc43f3180368a7cc7675f68f28bbf94a621c693a822d4a2028 DIST cldr-common-43.0.zip 31934452 BLAKE2B 8390db2fb58ede0f55ebe369e5598c6a47b6ed01c95162d85365a699ceeb15d4d912a1ea26062c8f37a467c58fdaca27e99a9a133fec4afe15bf6ac6ba29b4f6 SHA512 930c64208d6f680d115bfa74a69445fb614910bb54233227b0b9ae85ddbce4db19e4ec863bf04ae9d4a11b2306aa7394e553384d7537487de8011f0e34877cef +DIST cldr-common-44.0.zip 31750682 BLAKE2B a6f708d6c5bd02efc1e0672250b181542fb0f91d48bbaabddfc3b6b9e21201e3c9e6d09222cbc929b4ae654d2a0804a90f77f384df93577af188a907ce20bd61 SHA512 f2cd8733948caf308d6e39eae21724da7f29f528f8969d456514e1e84ecd5f1e6936d0460414a968888bb1b597bc1ee723950ea47df5cba21a02bb14f96d18b6 diff --git a/dev-python/Faker/Faker-24.4.0.ebuild b/dev-python/Faker/Faker-25.0.1.ebuild index 95ff3728fb55..a50fd1b6760c 100644 --- a/dev-python/Faker/Faker-24.4.0.ebuild +++ b/dev-python/Faker/Faker-25.0.1.ebuild @@ -36,5 +36,8 @@ distutils_enable_tests pytest python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin + local EPYTEST_DESELECT=( + tests/providers/test_job.py::TestCsCZ::test_job + ) epytest } diff --git a/dev-python/Faker/Faker-24.8.0.ebuild b/dev-python/Faker/Faker-25.1.0.ebuild index 4a85c701f3c8..6677ad70e7c8 100644 --- a/dev-python/Faker/Faker-24.8.0.ebuild +++ b/dev-python/Faker/Faker-25.1.0.ebuild @@ -36,5 +36,8 @@ distutils_enable_tests pytest python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin + local EPYTEST_DESELECT=( + tests/providers/test_job.py::TestCsCZ::test_job + ) epytest } diff --git a/dev-python/Faker/Faker-24.9.0.ebuild b/dev-python/Faker/Faker-25.2.0.ebuild index 4a85c701f3c8..6677ad70e7c8 100644 --- a/dev-python/Faker/Faker-24.9.0.ebuild +++ b/dev-python/Faker/Faker-25.2.0.ebuild @@ -36,5 +36,8 @@ distutils_enable_tests pytest python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin + local EPYTEST_DESELECT=( + tests/providers/test_job.py::TestCsCZ::test_job + ) epytest } diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest index 068670fb5187..f0a5e50bb7de 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -1,3 +1,3 @@ -DIST Faker-24.4.0.tar.gz 1724351 BLAKE2B 2eeb2d660462b0f0b55aadd32768c9a5eaaf22a8036ae203dab7538b8c24f0e6fcdf08533c7737fe597dbe395a00a39c8c2d5e3a823133638a90a9ffa8d32f08 SHA512 5ea18faa39cf8506f007557b9a8c84bf2cc21d806a99991bf2fcced3d350f96daf3dd6a0a42dfdb7021b72156eb12ad84a930c669df011f39a17f4c290d08675 -DIST Faker-24.8.0.tar.gz 1725365 BLAKE2B b2646766b993d946bf7965133b7484408370a2e8bed9091b713ffd427d545bb708027066b6787a78cd675659b4d342ac86c9f611aecfb7df3d0565a8066925f0 SHA512 d8fe7e411052bec485b40540317c88ff5aeae8a32ef2e53214816b190d4730c9f5af9157ac2c66aba5fbc887e995d0238f71deefdcf67300e49586c7995b60ff -DIST Faker-24.9.0.tar.gz 1725521 BLAKE2B 30486824e1e9a33cb9bf018ebbe9845c65c5fbb797fd75c0798f854c487b5e02b30fad83dd1f94ef4650e5e6ec981ef3318e1b3ec7cc64169e2b3fb7f90a42d8 SHA512 18fb6970c90c1048fcfcc9bb3f557eb21374b9e0f128833ac32ad281019059d8a8a3a05a276b72d38bd9bd6315cf0846d7f8111f054191dae1149cdcaf08187d +DIST Faker-25.0.1.tar.gz 1759603 BLAKE2B 710c362ec8a077880d9728c75d775b318d2c3d65f1bb5488474b2c26fa48094a64e57f667c6b43d841224ced8c08ff98c87677d678e5fb738a3e17c941fcacf7 SHA512 0f0cfc86f76584320fc6ab0afae40da8c022b65fca07eff639ba9a89744814afc7f9e37c987a73d0ec025fa971c0468f3b8b026b16dc4a5813bacb9562a33384 +DIST Faker-25.1.0.tar.gz 1760306 BLAKE2B eb8a35853f8e70902d8ff59532cc8c5766f6986314b88afb973adfd6c8a0184ebcd9d1eecee1e9dd48bc393ba1270be88a3c3f463df8e0679aff7f00544cfd4d SHA512 6d53c843685d735664d6d986e8af76a520372900ea06cb54f86656ebb322d34543aa7aee8417cabb8c81a0ccc3ee3b212114790ff46aeb60cf29071bbf5c0361 +DIST Faker-25.2.0.tar.gz 1760547 BLAKE2B cba47dd21caaabef23212d38b856c67d9d68c6478f44269ed0da7df4aa06cd313caef1d8072572c2b680172e6a6313548228cbd446e397b6e29fd3e5317bc707 SHA512 bec0a516944f36a4714bcb9b8d46dbd4ab3fb3feb6d4818fd28e9d22d0cfd1621845f669940d41365ec423398ef58714e18de5ae537ce7524cf27018ab088c8f diff --git a/dev-python/GitPython/GitPython-3.1.42.ebuild b/dev-python/GitPython/GitPython-3.1.42.ebuild deleted file mode 100644 index 29051eb6c6da..000000000000 --- a/dev-python/GitPython/GitPython-3.1.42.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi - -TEST_P=GitPython-${PV} -GITDB_P=gitdb-4.0.11 -SMMAP_P=smmap-5.0.1 - -DESCRIPTION="Library used to interact with Git repositories" -HOMEPAGE=" - https://github.com/gitpython-developers/GitPython/ - https://pypi.org/project/GitPython/ -" -SRC_URI+=" - test? ( - https://dev.gentoo.org/~mgorny/dist/${TEST_P}.gitbundle - https://dev.gentoo.org/~mgorny/dist/${GITDB_P}.gitbundle - https://dev.gentoo.org/~mgorny/dist/${SMMAP_P}.gitbundle - ) -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-vcs/git - >=dev-python/gitdb-4.0.1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/ddt-1.1.1[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_test() { - git config --global user.email "travis@ci.com" || die - git config --global user.name "Travis Runner" || die - - git clone "${DISTDIR}/${TEST_P}.gitbundle" "${T}"/test || die - git clone "${DISTDIR}/${GITDB_P}.gitbundle" \ - "${T}"/test/git/ext/gitdb || die - git clone "${DISTDIR}/${SMMAP_P}.gitbundle" \ - "${T}"/test/git/ext/gitdb/gitdb/ext/smmap || die - - cd "${T}"/test || die - git rev-parse HEAD > .git/refs/remotes/origin/master || die - TRAVIS=1 ./init-tests-after-clone.sh || die - cat test/fixtures/.gitconfig >> ~/.gitconfig || die - - distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # performance tests are unreliable by design - test/performance - # unimportant and problematic - test/test_installation.py - # Internet - test/test_quick_doc.py::QuickDoc::test_cloned_repo_object - # TODO - test/test_submodule.py::TestSubmodule::test_base_rw - test/test_submodule.py::TestSubmodule::test_root_module - ) - - epytest -o addopts= test -} diff --git a/dev-python/GitPython/GitPython-3.1.43.ebuild b/dev-python/GitPython/GitPython-3.1.43.ebuild index 68edb93079a7..29051eb6c6da 100644 --- a/dev-python/GitPython/GitPython-3.1.43.ebuild +++ b/dev-python/GitPython/GitPython-3.1.43.ebuild @@ -29,7 +29,7 @@ SRC_URI+=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-vcs/git diff --git a/dev-python/GitPython/Manifest b/dev-python/GitPython/Manifest index 3212f57d8398..7e514497ee52 100644 --- a/dev-python/GitPython/Manifest +++ b/dev-python/GitPython/Manifest @@ -1,5 +1,3 @@ -DIST GitPython-3.1.42.gitbundle 10271846 BLAKE2B 72023a523c0bf888d1fa356a303feff19e142018d7d21722510b7fff69174794feed8fdda84c6fc4c8738c551634924331e48eb82dac71d8c5ebcf145296f6bd SHA512 c7b5ce6bf4500f6350bd1b260317e235fb16d4b8d3dfce9849a845a96d466f61eba9d40f18a0c7d302718f856d08f9c50bde811cadedb78d1dd2ebddaf9cfe48 -DIST GitPython-3.1.42.tar.gz 203449 BLAKE2B 7c18cb6cf0cc10b3269889bd7f4b0c3b61fd0ed765b3723c5bdf331a6e030bdc76587ce1c8e3d8ca5d7cb003968b74c6079b466a6afd3326c418f16e81ed9291 SHA512 f83d5fadc5fbd4d7837d42bc78bc07a9609bb0a10f5938de8d6c88da91de5638fafd6df23e468f7c23c19e11b4fbf273c19858336791ff199997dbe4e1aec91e DIST GitPython-3.1.43.gitbundle 10674326 BLAKE2B c430e6fec138077502dce16a1a100459c30134af7865a2e228646791465a7176ee3ef4db5cc83081f56b5e9877aeb4ba7e54b0526d6c2f594520335db4b48e9e SHA512 8c4b2fdf2e382393420bee1cb19929171d72e72669ac3ef96ff112119d803775aae92a14908b9bd51873f102ab85dfadd940b0789da6179b0f99354ae4b6d469 DIST GitPython-3.1.43.tar.gz 214149 BLAKE2B bc95520b839a43b88571678d7dadd3998a613a4e4f5b0e59f8740add7794767db2820e2d68a98940976ed27fa57b6e487895b1f3d2894b55f1d7f4e06757a461 SHA512 c193418bbb6ebb4f202c4f6aa95b731acf319d6560db176aa7126cf848a1f11eea9f432c4ff6812e8ddb5f8386b1fa5e10335fbf170f3ec3ac5fd2dcde783415 DIST gitdb-4.0.11.gitbundle 1620355 BLAKE2B 8095193318d4262b8ebb04f35a0500eda8757057ed472dbaaece53e6afa6227e2b2c02a2be5daa5e4c0cc43dcbb5046555407d3d7c8dbed0bc5c415515032b8d SHA512 17e404b335a3c081f4058aeba5c57e5697a580f8ad7a280fde868968cf48f5a0852bfa45019eab730279582c0c536f8204e973d93af09da05908477329d73360 diff --git a/dev-python/Levenshtein/Levenshtein-0.25.0.ebuild b/dev-python/Levenshtein/Levenshtein-0.25.0.ebuild deleted file mode 100644 index 9fe740dcf45b..000000000000 --- a/dev-python/Levenshtein/Levenshtein-0.25.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -# custom wrapper over setuptools -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Functions for fast computation of Levenshtein distance, and edit operations" -HOMEPAGE=" - https://pypi.org/project/Levenshtein/ - https://github.com/rapidfuzz/Levenshtein/ -" -SRC_URI=" - https://github.com/rapidfuzz/Levenshtein/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -DEPEND=" - <dev-cpp/rapidfuzz-cpp-4 - >=dev-cpp/rapidfuzz-cpp-3.0.0 -" -RDEPEND=" - <dev-python/rapidfuzz-4.0.0[${PYTHON_USEDEP}] - >=dev-python/rapidfuzz-3.1.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/cython-3.0.2[${PYTHON_USEDEP}] - >=dev-python/scikit-build-0.13.0[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - # sterilize build flags - sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die - - distutils-r1_src_prepare -} diff --git a/dev-python/Levenshtein/Levenshtein-0.25.1.ebuild b/dev-python/Levenshtein/Levenshtein-0.25.1.ebuild index 743a37508403..065790cb527a 100644 --- a/dev-python/Levenshtein/Levenshtein-0.25.1.ebuild +++ b/dev-python/Levenshtein/Levenshtein-0.25.1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" DEPEND=" <dev-cpp/rapidfuzz-cpp-4 diff --git a/dev-python/Levenshtein/Manifest b/dev-python/Levenshtein/Manifest index 1f7fe4550525..b44f1f581efe 100644 --- a/dev-python/Levenshtein/Manifest +++ b/dev-python/Levenshtein/Manifest @@ -1,2 +1 @@ -DIST Levenshtein-0.25.0.gh.tar.gz 39076 BLAKE2B cb3bb55b37b5bfa8dc95d78dc6898154b4d4240c27348c6e03b13cdaa2c8ff19d1e8f2bf3d6b4fcc5c77be917afaa391276e93dcac24c2c19e1b285653a45c72 SHA512 e07ea1cef83c19a2a24ae76647ae2c534213ac6044b50a78dd1f2007936eb46032db326728b420471b6cb63ba6ac80a11c575ab277ae77116c592d113daba74c DIST Levenshtein-0.25.1.gh.tar.gz 39060 BLAKE2B 9d058d910be7c6c3e668cca631a7da5bed678e219c96e4255dbf69c46cb3c55002928fcd90f39916b6c1a57845e9cf1a2327701ae21c662b81f909b9ea1f4bff SHA512 936dab36b15df6f2ee5425efb1fdb1490fb8f618ba453f464a6dd615bcc427e55ceee7474f06b34392871d9f38470b853602a11d8f9776eee66ec34156511ca4 diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest index 0e4d5b2ae1fc..8ee35085bd8d 100644 --- a/dev-python/Nuitka/Manifest +++ b/dev-python/Nuitka/Manifest @@ -1,2 +1,2 @@ -DIST Nuitka-2.1.4.tar.gz 3636629 BLAKE2B b5a3f3067e12029c9bd1e9ae60d1c6c6370d929ad38a8092f0150078440c50ed925768e132ac18542eaa3ab4f2198f6773cb79cf51dee68b3dff9bec26cb37ad SHA512 bd7e164bed8943c5ea3e7ff30069ef7b9308cd47486fded22cf1f2a37274f0f6274b2af0cb84ca188e961745b93ab085f937e228ce193a1fff953537d5143205 -DIST Nuitka-2.1.5.tar.gz 3637222 BLAKE2B 1d2b81067cd6877658b4c1665879fe717e10093f635205dd24577ee7039cb20c8151a26378bce639d415987558bc5dc44b0c3e8afa55d202524bff4104b188cd SHA512 ec980c54f7433b87c7e5e3e9d3d6796ec2206c5cb855433146cdeeb64138c2248fa77c2559c1a6e818be9f9977d8bc3b441955c6f63f739b8810ee2d72305a1f +DIST Nuitka-2.2.2.tar.gz 3999091 BLAKE2B 1512b0112dfa36c704900b787ac43a24377ab2994d16865d85da0384d2bb29a6dd26a83be270c51c28bcca68dad2398d68096d4dae1ee3f2044a85dad2571d82 SHA512 13f03fb849d83a1fbb10df2fe54f429f8871068942dfe93316460e1abed9149793b6fc1d7b62b1e72fc00de94ae9fd4b218f4ee65ea7668d138700f2bfd94eb2 +DIST Nuitka-2.2.3.tar.gz 3657438 BLAKE2B f01a213f7dff39b6bba50ba21fbd120927caa60c88156aa0e9094339f260008fe18aaec4aabe5f878224516bddde697020ac16795e528b0e0141937565255b0a SHA512 36147901a75fcefad10ec75b66a3c988be9c8d6f54aca0f2f9ab3a8c4b06efc7c1b4eb5af5686675ce7040948f7032c27a93f7ea2429e02b99c2d817c37c72fe diff --git a/dev-python/Nuitka/Nuitka-2.1.4.ebuild b/dev-python/Nuitka/Nuitka-2.2.2.ebuild index 123acd66de1f..123acd66de1f 100644 --- a/dev-python/Nuitka/Nuitka-2.1.4.ebuild +++ b/dev-python/Nuitka/Nuitka-2.2.2.ebuild diff --git a/dev-python/Nuitka/Nuitka-2.1.5.ebuild b/dev-python/Nuitka/Nuitka-2.2.3.ebuild index 123acd66de1f..123acd66de1f 100644 --- a/dev-python/Nuitka/Nuitka-2.1.5.ebuild +++ b/dev-python/Nuitka/Nuitka-2.2.3.ebuild diff --git a/dev-python/PyQt-builder/Manifest b/dev-python/PyQt-builder/Manifest index 044cb04fb399..be2f01169daa 100644 --- a/dev-python/PyQt-builder/Manifest +++ b/dev-python/PyQt-builder/Manifest @@ -1,2 +1 @@ -DIST PyQt-builder-1.15.4.tar.gz 3766458 BLAKE2B d0bff31ee1c25172c621defdf0a9e4c297b6b4e692142a44018338be8f037b9d286096c642b8efb8ae6df79f5900ee7be9732efbb32142f6b58752c7409a0026 SHA512 ec0b9f7784a32af744111615b93f98d73f284bb752fd71359c798d3b093a01925823effea72c866a5f49f77e3dfc5dee4125bbb289f647d84000bf34b5db6931 -DIST PyQt-builder-1.16.0.tar.gz 3670068 BLAKE2B 909aaead9bd62d3c1ce00f26e13fc81a3293fec212cf8cb1087f59f34d41e9541dbaf12f8a0faffda13434d1340264c2b611ee9061993c4543043ff4539a5bb3 SHA512 1584b41e0c260a45b2b883d035e7611b29501a24172a8d9f36702c4fbde8c3f7953a6897781b59f48b9fa1ceab51eb3767afa83e0e3ff097caf029d87a7114d8 +DIST pyqt_builder-1.16.2.tar.gz 3671133 BLAKE2B 854a3182488ad8b4fc6ddc5a363580f7555ec01aeecc8c8e6d7f121d7477df1481888450dc25fabfbcd965be5a1b98734d2679013b28b95e8a0cce92f4442a3f SHA512 64fc969799a12a176eb730fdc4581f18293dceb8edff20db0177ce409fe7e712cdfb07449b6c4abdd33f1fd9aabe8bee248fe9aeb5373df533d805f9d2a0c6a5 diff --git a/dev-python/PyQt-builder/PyQt-builder-1.15.4.ebuild b/dev-python/PyQt-builder/PyQt-builder-1.15.4.ebuild deleted file mode 100644 index bccaecfc4fee..000000000000 --- a/dev-python/PyQt-builder/PyQt-builder-1.15.4.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) -inherit distutils-r1 pypi - -DESCRIPTION="The PEP 517 compliant PyQt build system" -HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt-builder/" - -LICENSE="|| ( GPL-2 GPL-3 SIP )" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86" - -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/sip-6.7.1[${PYTHON_USEDEP}] -" - -distutils_enable_sphinx doc --no-autodoc - -python_prepare_all() { - distutils-r1_python_prepare_all - - # don't install prebuilt DLLs - sed -i "s:'dlls/\*/\*',::" setup.py || die -} diff --git a/dev-python/PyQt-builder/PyQt-builder-1.16.0.ebuild b/dev-python/PyQt-builder/PyQt-builder-1.16.2.ebuild index f077614d85af..42fda041fa5d 100644 --- a/dev-python/PyQt-builder/PyQt-builder-1.16.0.ebuild +++ b/dev-python/PyQt-builder/PyQt-builder-1.16.2.ebuild @@ -4,8 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi DESCRIPTION="The PEP 517 compliant PyQt build system" @@ -13,14 +12,14 @@ HOMEPAGE="https://github.com/Python-PyQt/PyQt-builder/" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] >=dev-python/sip-6.7[${PYTHON_USEDEP}] " BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] + >=dev-python/setuptools-scm-8[${PYTHON_USEDEP}] " src_prepare() { diff --git a/dev-python/PyQt-builder/metadata.xml b/dev-python/PyQt-builder/metadata.xml index 36d5fd736e1b..097eeda6b6f5 100644 --- a/dev-python/PyQt-builder/metadata.xml +++ b/dev-python/PyQt-builder/metadata.xml @@ -5,6 +5,7 @@ <email>qt@gentoo.org</email> <name>Gentoo Qt Project</name> </maintainer> + <stabilize-allarches/> <upstream> <changelog>https://github.com/Python-PyQt/PyQt-builder/blob/main/docs/releases.md</changelog> <doc>https://www.riverbankcomputing.com/static/Docs/PyQt-builder/</doc> diff --git a/dev-python/PyQt5-sip/PyQt5-sip-12.13.0-r1.ebuild b/dev-python/PyQt5-sip/PyQt5-sip-12.13.0-r1.ebuild index 95b3db8eb4ed..4731764f46dd 100644 --- a/dev-python/PyQt5-sip/PyQt5-sip-12.13.0-r1.ebuild +++ b/dev-python/PyQt5-sip/PyQt5-sip-12.13.0-r1.ebuild @@ -7,7 +7,7 @@ DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYPI_PN=${PN/-/_} -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi DESCRIPTION="sip extension module for PyQt5" diff --git a/dev-python/PyQt6-WebEngine/Manifest b/dev-python/PyQt6-WebEngine/Manifest index 59d27efa5f3a..9f040294111b 100644 --- a/dev-python/PyQt6-WebEngine/Manifest +++ b/dev-python/PyQt6-WebEngine/Manifest @@ -1 +1,2 @@ DIST PyQt6_WebEngine-6.6.0.tar.gz 31817 BLAKE2B 3e795bda50d1a5874e6caec7f69370840913cbbb33662ddc5624f0437c765e3318a2b4233d8e9963145dbeef8a4edc559112f114b850d9879eecb9e3e6b6fd2e SHA512 30927b7728d68cbeff6346234e131f96dfcd4b2af503d27d2f0a1eee584b5a928ac4fe1f66019c90aaf1ccd66fffe2edaf55de86d9aa0c83518c45669613bc0d +DIST PyQt6_WebEngine-6.7.0.tar.gz 32593 BLAKE2B 6c14323b440a83f6fed9f1f77f20b350f00255dfedfbc328a5ee638760d20958d8864eb3c590248acd5c69152c537993a95e66d1f76b28349561c8223dfc2a85 SHA512 8298aecc43e420c4fa912802fd66ee95fd71156d9a6d1f1a499ffcc2d0d45a8c3e3c170f911acfc8f094d2e434567b5143b145ce40413ee75c9a9e4420341c0c diff --git a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.7.0.ebuild b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.7.0.ebuild new file mode 100644 index 000000000000..4bfab28c58dc --- /dev/null +++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.7.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=sip +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/_} +PYTHON_COMPAT=( python3_{10..12} ) +inherit distutils-r1 flag-o-matic multiprocessing pypi qmake-utils + +QT_PV=$(ver_cut 1-2):6 + +DESCRIPTION="Python bindings for QtWebEngine" +HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64" +IUSE="debug quick +widgets" + +RDEPEND=" + >=dev-python/PyQt6-${QT_PV%:*}[gui,ssl,${PYTHON_USEDEP}] + >=dev-qt/qtbase-${QT_PV}[gui,widgets?] + >=dev-qt/qtwebengine-${QT_PV}[widgets] + quick? ( + dev-python/PyQt6[qml] + >=dev-qt/qtwebengine-${QT_PV}[qml] + ) + widgets? ( dev-python/PyQt6[network,printsupport,webchannel,widgets] ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + >=dev-python/PyQt-builder-1.11[${PYTHON_USEDEP}] + >=dev-python/sip-6.8[${PYTHON_USEDEP}] + >=dev-qt/qtbase-${QT_PV} +" + +src_prepare() { + default + + # hack: PyQt-builder runs qmake without our arguments and calls g++ + # or clang++ depending on what qtbase was built with, not used for + # building but fails with -native-symlinks + mkdir "${T}"/cxx || die + local cxx + ! cxx=$(type -P "${CHOST}"-g++) || ln -s -- "${cxx}" "${T}"/cxx/g++ || die + ! cxx=$(type -P "${CHOST}"-clang++) || ln -s -- "${cxx}" "${T}"/cxx/clang++ || die + PATH=${T}/cxx:${PATH} +} + +python_configure_all() { + append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug #892331) + append-cxxflags ${CPPFLAGS} # respect CPPFLAGS notably for DISTUTILS_EXT=1 + + DISTUTILS_ARGS=( + --jobs="$(makeopts_jobs)" + --qmake="$(qt6_get_bindir)"/qmake + --qmake-setting="$(qt6_get_qmake_args)" + --verbose + + --enable=QtWebEngineCore + $(usex quick --{enable,disable}=QtWebEngineQuick) + $(usex widgets --{enable,disable}=QtWebEngineWidgets) + + $(usev debug '--debug --qml-debug --tracing') + ) +} diff --git a/dev-python/PyQt6-sip/PyQt6-sip-13.6.0.ebuild b/dev-python/PyQt6-sip/PyQt6-sip-13.6.0.ebuild index 4fc699fb2293..ef664487a214 100644 --- a/dev-python/PyQt6-sip/PyQt6-sip-13.6.0.ebuild +++ b/dev-python/PyQt6-sip/PyQt6-sip-13.6.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,7 +7,7 @@ DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYPI_PN=${PN/-/_} -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi DESCRIPTION="sip module support for PyQt6" diff --git a/dev-python/PyQt6/Manifest b/dev-python/PyQt6/Manifest index 624cb4ac7cc0..de48659232eb 100644 --- a/dev-python/PyQt6/Manifest +++ b/dev-python/PyQt6/Manifest @@ -1 +1,2 @@ DIST PyQt6-6.6.1.tar.gz 1043203 BLAKE2B dd2b6988ebeabaae47fe57c5c0d17fbe4b62c377262b4bb360adb7fd6724ccb6a67ba5c2bd7498df98db3ce6b00978f936b11a43b464c3c7af169f25b30ee1a6 SHA512 c2ff8c47c9b0e43c009d0c90f565a54344e6f384c67dd30c2d422465d0702c07713acc0095c8b67827d1146675611c07d548ba282a26e41bb60a0a21977a7a64 +DIST PyQt6-6.7.0.tar.gz 1050408 BLAKE2B 30dc8a2762cb5a149c401d497af714bb9209bc46847c0699522ee60080c46f0b1d4da854e70151a508c90820a2aa32da422bfd20c4320bcc9b5d5f92fd9e8677 SHA512 619210d2de3e149b55e2d45cbd8ec2113b3effcaccd25eef6067ea99b82e250f1ce288b38136604536053690071f8c843339b934b5ce5e539a5dfdecc26f44d2 diff --git a/dev-python/PyQt6/PyQt6-6.6.1.ebuild b/dev-python/PyQt6/PyQt6-6.6.1.ebuild index 328355759d54..804dd5543081 100644 --- a/dev-python/PyQt6/PyQt6-6.6.1.ebuild +++ b/dev-python/PyQt6/PyQt6-6.6.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -68,7 +68,10 @@ DEPEND=" quick? ( >=dev-qt/qtdeclarative-${QT_PV}[opengl] ) sensors? ( >=dev-qt/qtsensors-${QT_PV} ) serialport? ( >=dev-qt/qtserialport-${QT_PV} ) - speech? ( >=dev-qt/qtspeech-${QT_PV} ) + speech? ( + >=dev-qt/qtdeclarative-${QT_PV} + >=dev-qt/qtspeech-${QT_PV} + ) svg? ( >=dev-qt/qtsvg-${QT_PV} ) webchannel? ( >=dev-qt/qtwebchannel-${QT_PV} ) websockets? ( >=dev-qt/qtwebsockets-${QT_PV} ) diff --git a/dev-python/PyQt6/PyQt6-6.7.0.ebuild b/dev-python/PyQt6/PyQt6-6.7.0.ebuild new file mode 100644 index 000000000000..955fbff73395 --- /dev/null +++ b/dev-python/PyQt6/PyQt6-6.7.0.ebuild @@ -0,0 +1,178 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=sip +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} ) +inherit distutils-r1 flag-o-matic multiprocessing pypi qmake-utils + +# 'can' work with older Qt depending on features, but keeping it simple +QT_PV=$(ver_cut 1-2):6 + +DESCRIPTION="Python bindings for the Qt framework" +HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64" +# defaults match what is provided with qtbase by default (except testlib), +# reduces the need to set flags but does increase build time a fair amount +IUSE=" + bluetooth +dbus debug designer examples gles2-only +gui help + multimedia +network nfc opengl pdfium positioning +printsupport + qml quick quick3d serialport sensors spatialaudio speech +sql + +ssl svg testlib webchannel websockets +widgets +xml +" +# see `grep -r "%Import " sip` and `grep qmake_QT project.py` +REQUIRED_USE=" + designer? ( gui widgets ) + help? ( gui widgets ) + multimedia? ( gui network ) + opengl? ( gui ) + pdfium? ( gui ) + printsupport? ( gui widgets ) + qml? ( network ) + quick3d? ( gui qml ) + quick? ( gui qml ) + spatialaudio? ( multimedia ) + sql? ( widgets ) + svg? ( gui ) + testlib? ( gui widgets ) + webchannel? ( network ) + websockets? ( network ) + widgets? ( gui ) +" + +# may use qt private symbols wrt qtbase's := +DEPEND=" + >=dev-qt/qtbase-${QT_PV}=[dbus?,gles2-only=,gui?,network?,opengl?,sql?,ssl=,widgets?,xml?] + bluetooth? ( >=dev-qt/qtconnectivity-${QT_PV}[bluetooth] ) + dbus? ( + dev-python/dbus-python[${PYTHON_USEDEP}] + sys-apps/dbus + ) + designer? ( >=dev-qt/qttools-${QT_PV}[designer] ) + help? ( >=dev-qt/qttools-${QT_PV}[assistant] ) + multimedia? ( >=dev-qt/qtmultimedia-${QT_PV} ) + nfc? ( >=dev-qt/qtconnectivity-${QT_PV}[nfc] ) + opengl? ( + gles2-only? ( media-libs/libglvnd ) + ) + pdfium? ( >=dev-qt/qtwebengine-${QT_PV}[pdfium,widgets?] ) + positioning? ( >=dev-qt/qtpositioning-${QT_PV} ) + qml? ( >=dev-qt/qtdeclarative-${QT_PV}[widgets?] ) + quick3d? ( >=dev-qt/qtquick3d-${QT_PV} ) + quick? ( >=dev-qt/qtdeclarative-${QT_PV}[opengl] ) + sensors? ( >=dev-qt/qtsensors-${QT_PV} ) + serialport? ( >=dev-qt/qtserialport-${QT_PV} ) + speech? ( + >=dev-qt/qtdeclarative-${QT_PV} + >=dev-qt/qtspeech-${QT_PV} + ) + svg? ( >=dev-qt/qtsvg-${QT_PV} ) + webchannel? ( >=dev-qt/qtwebchannel-${QT_PV} ) + websockets? ( >=dev-qt/qtwebsockets-${QT_PV} ) +" +RDEPEND=" + ${DEPEND} + >=dev-python/PyQt6-sip-13.6[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/PyQt-builder-1.15[${PYTHON_USEDEP}] + >=dev-python/sip-6.8[${PYTHON_USEDEP}] + >=dev-qt/qtbase-${QT_PV} + dbus? ( virtual/pkgconfig ) +" + +src_prepare() { + default + + # hack: PyQt-builder runs qmake without our arguments and calls g++ + # or clang++ depending on what qtbase was built with, not used for + # building but fails with -native-symlinks + mkdir "${T}"/cxx || die + local cxx + ! cxx=$(type -P "${CHOST}"-g++) || ln -s -- "${cxx}" "${T}"/cxx/g++ || die + ! cxx=$(type -P "${CHOST}"-clang++) || ln -s -- "${cxx}" "${T}"/cxx/clang++ || die + PATH=${T}/cxx:${PATH} +} + +python_configure_all() { + append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug #892331) + append-cxxflags ${CPPFLAGS} # respect CPPFLAGS notably for DISTUTILS_EXT=1 + + pyqt_use_enable() { + local state=$(usex ${1} --enable= --disable=) + shift + echo ${*/#/${state}} + } + + DISTUTILS_ARGS=( + --jobs="$(makeopts_jobs)" + --qmake="$(qt6_get_bindir)"/qmake + --qmake-setting="$(qt6_get_qmake_args)" + --verbose + --confirm-license + + --enable=QtCore + + $(pyqt_use_enable bluetooth QtBluetooth) + $(pyqt_use_enable dbus QtDBus) + $(pyqt_use_enable designer QtDesigner) + $(pyqt_use_enable help QtHelp) + $(pyqt_use_enable gui QtGui) + #--disable=QtLocation # force-disabled in project.py + $(pyqt_use_enable multimedia QtMultimedia \ + $(usev widgets QtMultimediaWidgets)) + $(pyqt_use_enable network QtNetwork) + $(pyqt_use_enable nfc QtNfc) + $(pyqt_use_enable opengl QtOpenGL \ + $(usev widgets QtOpenGLWidgets)) + $(pyqt_use_enable pdfium QtPdf \ + $(usev widgets QtPdfWidgets)) + $(pyqt_use_enable positioning QtPositioning) + $(pyqt_use_enable printsupport QtPrintSupport) + $(pyqt_use_enable qml QtQml) + $(pyqt_use_enable quick QtQuick \ + $(usev widgets QtQuickWidgets)) + $(pyqt_use_enable quick3d QtQuick3D) + --disable=QtRemoteObjects # not packaged + $(pyqt_use_enable sensors QtSensors) + $(pyqt_use_enable serialport QtSerialPort) + $(pyqt_use_enable spatialaudio QtSpatialAudio) + $(pyqt_use_enable sql QtSql) + $(pyqt_use_enable svg QtSvg \ + $(usev widgets QtSvgWidgets)) + $(pyqt_use_enable testlib QtTest) + $(pyqt_use_enable speech QtTextToSpeech) + $(pyqt_use_enable webchannel QtWebChannel) + $(pyqt_use_enable websockets QtWebSockets) + $(pyqt_use_enable widgets QtWidgets) + $(pyqt_use_enable xml QtXml) + + $(usev debug '--debug --qml-debug --tracing') + + $(usev !dbus --no-dbus-python) + # note: upstream currently intentionally skips installing these two + # plugins when using wheels w/ pep517 so, *if* something does need + # them, it will need to be handled manually + $(usev !designer --no-designer-plugin) + $(usev !qml --no-qml-plugin) + + $(usev !gles2-only --disabled-feature=PyQt_OpenGL_ES2) + $(usev !opengl --disabled-feature=PyQt_OpenGL) + $(usev !ssl --disabled-feature=PyQt_SSL) + + # intended for Windows / Android or others + --disable=QAxContainer + --disabled-feature=PyQt_Permissions + ) +} + +python_install_all() { + einstalldocs + use examples && dodoc -r examples +} diff --git a/dev-python/PySensors/Manifest b/dev-python/PySensors/Manifest deleted file mode 100644 index 60d55530bb28..000000000000 --- a/dev-python/PySensors/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST PySensors-0.0.4.tar.gz 10599 BLAKE2B be3a3692a846e5339758eff4f4396dd15bf96b3d20bc40df45436ce58381ac87503bca190fa215121506ecf9ce5175b254d93142ee881c4d5b8ef8e045854659 SHA512 8e6b2beee9bf282f073618c0b45e53330ce82c9fc9c6565a3c6b5f812231421c8c6e15ccc4fc92cda67ed08df5c482577d4a34720c920dbba7604f2b7c3ba21c diff --git a/dev-python/PySensors/PySensors-0.0.4-r1.ebuild b/dev-python/PySensors/PySensors-0.0.4-r1.ebuild deleted file mode 100644 index 954d8809546f..000000000000 --- a/dev-python/PySensors/PySensors-0.0.4-r1.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python bindings to libsensors (via ctypes)" -HOMEPAGE="https://pypi.org/project/PySensors/" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=">=sys-apps/lm-sensors-3" diff --git a/dev-python/PySocks/PySocks-1.7.1-r2.ebuild b/dev-python/PySocks/PySocks-1.7.1-r2.ebuild index dee394271fcc..eb503cb2a644 100644 --- a/dev-python/PySocks/PySocks-1.7.1-r2.ebuild +++ b/dev-python/PySocks/PySocks-1.7.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # please keep this ebuild at EAPI 7 -- sys-apps/portage dep @@ -6,7 +6,7 @@ EAPI=7 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/a2wsgi/a2wsgi-1.10.4.ebuild b/dev-python/a2wsgi/a2wsgi-1.10.4.ebuild index df53d55470fc..26de004d6e5c 100644 --- a/dev-python/a2wsgi/a2wsgi-1.10.4.ebuild +++ b/dev-python/a2wsgi/a2wsgi-1.10.4.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi @@ -24,7 +24,13 @@ BDEPEND=" >=dev-python/asgiref-3.2.7[${PYTHON_USEDEP}] <dev-python/httpx-1[${PYTHON_USEDEP}] >=dev-python/httpx-0.22.0[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] ) " distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio +} diff --git a/dev-python/accessible-pygments/Manifest b/dev-python/accessible-pygments/Manifest index c3f6487d5040..783a4e37143d 100644 --- a/dev-python/accessible-pygments/Manifest +++ b/dev-python/accessible-pygments/Manifest @@ -1 +1,2 @@ DIST accessible-pygments-0.0.4.gh.tar.gz 4540933 BLAKE2B 1fdd376b9f069590552632a806f161404aeb3ae0c9b522705ea64476bccc97e3f888af270fba5e05680bb87e2d3283f2c93259c687e137efc56a38ca4d71b507 SHA512 b45b3c17bcfb2d66d397ee7e535c35159ab79080163f8ace286d73ea65a08f7e39c757414755d7f59bdae22a52198e26546ae61893bd9cd5c901d2e2b1efb2b1 +DIST accessible-pygments-0.0.5.gh.tar.gz 2273172 BLAKE2B ed07ecb1ef0d6dcc2b02383d1620c373bb54c65522752404a0e2e2382e374d35c11d7ad6978889b4fd20d4536b38d5ea951a2e6366725279123f5357ecff8a0a SHA512 2f5984c4f95a13dc566a0f916168fb293332f175da61f88ef7dcbc9f2bfcd8781d891b7830ed401839eef09ad65f7cbf94bb5a153bc5b4454ddf4c28573948d2 diff --git a/dev-python/accessible-pygments/accessible-pygments-0.0.5.ebuild b/dev-python/accessible-pygments/accessible-pygments-0.0.5.ebuild new file mode 100644 index 000000000000..30ce5a7b1367 --- /dev/null +++ b/dev-python/accessible-pygments/accessible-pygments-0.0.5.ebuild @@ -0,0 +1,39 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="A collection of accessible pygments styles" +HOMEPAGE=" + https://pypi.org/project/accessible-pygments/ + https://github.com/Quansight-Labs/accessible-pygments/ +" +# no tests in sdist, as of 0.0.5 +SRC_URI=" + https://github.com/Quansight-Labs/accessible-pygments/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/pygments-1.5[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/adblock/adblock-0.6.0.ebuild b/dev-python/adblock/adblock-0.6.0.ebuild index 720f90e60bfc..2204153a01f8 100644 --- a/dev-python/adblock/adblock-0.6.0.ebuild +++ b/dev-python/adblock/adblock-0.6.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -71,7 +71,7 @@ CRATES=" " DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit cargo distutils-r1 DESCRIPTION="Python wrapper for Brave's adblocking library, which is written in Rust" @@ -106,6 +106,9 @@ python_test() { # unimportant (for us) test that uses the dir that we delete below # so pytest does not try to load it while lacking extensions tests/test_typestubs.py::test_functions_and_methods_exist_in_rust + # FileNotFound exception test that triggers a new assertion in + # python:3.13[debug], not an issue for normal usage (bug #931898) + tests/test_engine.py::test_serde_file ) local EPYTEST_IGNORE=( # not very meaningful here (e.g. validates changelog), diff --git a/dev-python/agate/Manifest b/dev-python/agate/Manifest index c8acd0f2c61e..444e93cf4111 100644 --- a/dev-python/agate/Manifest +++ b/dev-python/agate/Manifest @@ -1 +1,2 @@ -DIST agate-1.9.1.tar.gz 202303 BLAKE2B a5e62ca5fdf8dc6e1b7393da3efa0432a2d7a89bcb2af744458ae04446ea85941968f1ee75facc6b29de9fdec92f9432d2b939392edbfadc5c0598a91feb9f76 SHA512 f8bbe9ed24c786063a1d99aa408a2e5b4841dd9d804004b8c74a272d564432013e0ddebc5325e73893c53a60636d64f27f2e64ad624a468a070cf6a8833b8620 +DIST agate-1.10.1.tar.gz 203139 BLAKE2B 656cc5f9abcc38848560bb81a9e7b1a8cf498897ea49a98bd3b44f3d625c69047ef3fa32b4a7191d8807c1bee29bd0c5a8d0ed99e1b91e30ea294b8fb436fb3d SHA512 b039fa587d1fc49277860f9876ad1f885f2530e82888ad8a32066f35e3086b5da0cb7aa9a2ed09ea7992efe649d32df27a372f85e4a06e8aca0d6ec8651567b5 +DIST agate-1.10.2.tar.gz 203542 BLAKE2B 697aa898756ab256ed8e9bb92a29b3ad1f8edeb7a8b9636d753a74373714d84a6d0a5d4abb8600b52eb510e478f16ca707839a01ab3a05fec72d88e443322dae SHA512 87385515e3ffe88afdeaa1202368d69824501dc5816b40e1f475afd027bbd5229c70e7449485e0845f50203e6749f3a736d16f17752d1bdd040dc92cbcc2461a diff --git a/dev-python/agate/agate-1.9.1.ebuild b/dev-python/agate/agate-1.10.1.ebuild index baca934b9901..baca934b9901 100644 --- a/dev-python/agate/agate-1.9.1.ebuild +++ b/dev-python/agate/agate-1.10.1.ebuild diff --git a/dev-python/agate/agate-1.10.2.ebuild b/dev-python/agate/agate-1.10.2.ebuild new file mode 100644 index 000000000000..baca934b9901 --- /dev/null +++ b/dev-python/agate/agate-1.10.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python data analysis library that is optimized for humans instead of machines" +HOMEPAGE=" + https://github.com/wireservice/agate/ + https://pypi.org/project/agate/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/pytimeparse-1.1.5[${PYTHON_USEDEP}] + >=dev-python/parsedatetime-2.1[${PYTHON_USEDEP}] + >=dev-python/Babel-2.0[${PYTHON_USEDEP}] + >=dev-python/isodate-0.5.4[${PYTHON_USEDEP}] + >=dev-python/pyicu-2.4.2[${PYTHON_USEDEP}] + >=dev-python/python-slugify-1.2.1[${PYTHON_USEDEP}] + >=dev-python/leather-0.3.3-r2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/cssselect-0.9.1[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/furo + +EPYTEST_DESELECT=( + # require specific locales + tests/test_data_types.py::TestDate::test_cast_format_locale + tests/test_data_types.py::TestDateTime::test_cast_format_locale +) diff --git a/dev-python/aiodns/Manifest b/dev-python/aiodns/Manifest index 238836382033..eb086c8df57a 100644 --- a/dev-python/aiodns/Manifest +++ b/dev-python/aiodns/Manifest @@ -1,2 +1 @@ -DIST aiodns-3.1.1.tar.gz 7363 BLAKE2B bb5a465be00ff61406b61cef133cb5eed8e007114ddcd1475a12fed5481ec377bc96291fdc7fd6cc5936de865118f7008625ec5d69c09f96eacdb83b4b29c786 SHA512 7c28cc6256a575681778376cc197a9504133b1127eb3508f6e5cd1c992c95adef66cf8399b7e90ca012347485e476f71e3f032f7e2f555954ad9a0cade8df5f9 DIST aiodns-3.2.0.tar.gz 7823 BLAKE2B 8bafeebbf6ef69001670dffe8df3bd89b817bca921e266e218eaf2a53653d5bb150cef0c99b2fd498d39befb57c6e2edb4d94fbf4b4548e1debce69bcd114ff3 SHA512 ca6ae2d53cc0a0e5b8cd5f47da56d7db43236eb6738509d5cc088e56db996c49eba8b024cfe368e5acf44ad4de4cb5d6f949c7f0d4cd16ff4d5cc42ae3b27cb1 diff --git a/dev-python/aiodns/aiodns-3.1.1.ebuild b/dev-python/aiodns/aiodns-3.1.1.ebuild deleted file mode 100644 index e02ba3f75621..000000000000 --- a/dev-python/aiodns/aiodns-3.1.1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Simple DNS resolver for asyncio" -HOMEPAGE="https://github.com/saghul/aiodns/" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv ~x86" - -# Tests fail with network-sandbox, since they try to resolve google.com -PROPERTIES="test_network" -RESTRICT="test" - -RDEPEND=">=dev-python/pycares-3[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # Internet changed, https://github.com/saghul/aiodns/issues/107 - tests.py::DNSTest::test_query_bad_chars - ) - - epytest tests.py -} diff --git a/dev-python/aiodns/aiodns-3.2.0.ebuild b/dev-python/aiodns/aiodns-3.2.0.ebuild index 04f4bea5d751..f7bad191f32e 100644 --- a/dev-python/aiodns/aiodns-3.2.0.ebuild +++ b/dev-python/aiodns/aiodns-3.2.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm64 ~riscv ~x86" # Tests fail with network-sandbox, since they try to resolve google.com PROPERTIES="test_network" diff --git a/dev-python/aiofiles/aiofiles-23.2.1.ebuild b/dev-python/aiofiles/aiofiles-23.2.1.ebuild index a01f67abe08d..ed9870a2b8d8 100644 --- a/dev-python/aiofiles/aiofiles-23.2.1.ebuild +++ b/dev-python/aiofiles/aiofiles-23.2.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" test? ( diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index 792e71ab48ef..687f3cba9168 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -1,2 +1 @@ -DIST aiohttp-3.9.3.tar.gz 7499669 BLAKE2B 0712df73af60cc9cbf12f0a4e063b6aa6da1b19b0668effe16672a4b7ca3f24cc831218ec8d4672cd86acd4335a75e16f94133dbb1bf783baf8ed96e471f3eec SHA512 6236f27b6def0c3bba1b5fc59f4af74f8076aa369cf5c1b9bd9ff9dee1c71ee49387ded812875da9450130e92d2091fd01f0608b25b03ff37e99162b89120fd7 -DIST aiohttp-3.9.4.tar.gz 7500720 BLAKE2B 1f41e481590425c16ef9e797ecc78e08d00fda65b40c38e34226ada969f3114cae3f6953980d23b0e96e284f6e49fd0a84aa93c6b7a666d60690e9a9fd9c41b2 SHA512 e26e7148602d72c77fe46e0596614b448f38a9014834a72c4131d8b315dbbd401ce4e1a403ef35ea7a9ba7fafaddc42031d38b93b45464accdedf26ba99fc960 +DIST aiohttp-3.9.5.tar.gz 7504841 BLAKE2B f051ee88d45952219f72d542f1c6d0cc33c699c6c5fb5dbe3bc054ee4d0e03121b219c8c8524fd1236a8b878329b0997b8afe07d6c66074102d4a2052a8738ff SHA512 da11468a2f131275593395b052700a99cf79055a32d48327dca0f58547ad30add8cd0a375dbd831e2f06fe7a739183251e4ad69c16f3d141799bbed45a8a5dc4 diff --git a/dev-python/aiohttp/aiohttp-3.9.3.ebuild b/dev-python/aiohttp/aiohttp-3.9.3.ebuild deleted file mode 100644 index 320d491c039c..000000000000 --- a/dev-python/aiohttp/aiohttp-3.9.3.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-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} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="HTTP client/server for asyncio" -HOMEPAGE=" - https://github.com/aio-libs/aiohttp/ - https://pypi.org/project/aiohttp/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="test-rust" - -RDEPEND=" - >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] - >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] - dev-python/brotlicffi[${PYTHON_USEDEP}] - >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] - >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] - >=dev-python/yarl-1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - <dev-python/async-timeout-5[${PYTHON_USEDEP}] - >=dev-python/async-timeout-4.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - www-servers/gunicorn[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/re-assert[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python3*') - test-rust? ( - dev-python/trustme[${PYTHON_USEDEP}] - ) - ) -" - -DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # increase the timeout a little - sed -e '/abs=/s/0.001/0.01/' -i tests/test_helpers.py || die - # xfail_strict fails on py3.10 - sed -i -e '/--cov/d' -e '/xfail_strict/d' setup.cfg || die - sed -i -e 's:-Werror::' Makefile || die - - distutils-r1_src_prepare -} - -python_configure_all() { - # workaround missing files - mkdir tools || die - > requirements/cython.txt || die - > tools/gen.py || die - chmod +x tools/gen.py || die - # force rehashing first - emake requirements/.hash/cython.txt.hash - > .update-pip || die - > .install-cython || die - emake cythonize -} - -python_test() { - local EPYTEST_IGNORE=( - # proxy is not packaged - tests/test_proxy_functional.py - # python_on_whales is not packaged - tests/autobahn/test_autobahn.py - ) - - local EPYTEST_DESELECT=( - # Internet - tests/test_client_session.py::test_client_session_timeout_zero - # broken by irrelevant deprecation warnings - tests/test_circular_imports.py::test_no_warnings - # TODO - tests/test_client_session.py::test_request_tracing_url_params - # fragile timing test - tests/test_imports.py::test_import_time - # crash in time-machine - # https://github.com/aio-libs/aiohttp/issues/7851 - # https://github.com/adamchainz/time-machine/issues/403 - tests/test_cookiejar.py::TestCookieJarSafe::test_max_age - ) - - case ${EPYTHON} in - pypy3) - # upstream unconditionally blocks building C extensions - # on PyPy3 but the test suite needs an explicit switch, - # sigh - local -x AIOHTTP_NO_EXTENSIONS=1 - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin,pytest_forked - rm -rf aiohttp || die - epytest --forked -} diff --git a/dev-python/aiohttp/aiohttp-3.9.4.ebuild b/dev-python/aiohttp/aiohttp-3.9.5.ebuild index a4d57535e7e2..028d600247e0 100644 --- a/dev-python/aiohttp/aiohttp-3.9.4.ebuild +++ b/dev-python/aiohttp/aiohttp-3.9.5.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test-rust" RDEPEND=" diff --git a/dev-python/aioitertools/aioitertools-0.11.0.ebuild b/dev-python/aioitertools/aioitertools-0.11.0.ebuild index 9b87df203633..84c84be558c3 100644 --- a/dev-python/aioitertools/aioitertools-0.11.0.ebuild +++ b/dev-python/aioitertools/aioitertools-0.11.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/aiosignal/aiosignal-1.3.1.ebuild b/dev-python/aiosignal/aiosignal-1.3.1.ebuild index 3166f7d518dd..f580fbd017b2 100644 --- a/dev-python/aiosignal/aiosignal-1.3.1.ebuild +++ b/dev-python/aiosignal/aiosignal-1.3.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,9 +25,15 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc RDEPEND=" >=dev-python/frozenlist-1.1.0[${PYTHON_USEDEP}] " +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" distutils_enable_tests pytest python_test() { - epytest -o addopts= + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p asyncio } diff --git a/dev-python/aiosmtpd/aiosmtpd-1.4.5.ebuild b/dev-python/aiosmtpd/aiosmtpd-1.4.5.ebuild index 14d3e185e602..9ba4752f000d 100644 --- a/dev-python/aiosmtpd/aiosmtpd-1.4.5.ebuild +++ b/dev-python/aiosmtpd/aiosmtpd-1.4.5.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" RDEPEND=" >=dev-python/atpublic-4.0[${PYTHON_USEDEP}] diff --git a/dev-python/aiostream/Manifest b/dev-python/aiostream/Manifest index 25aa9658bef7..2b15d6e44bd6 100644 --- a/dev-python/aiostream/Manifest +++ b/dev-python/aiostream/Manifest @@ -1 +1 @@ -DIST aiostream-0.5.2.gh.tar.gz 42945 BLAKE2B 36e4f3c7834df589da3e7ec8bafb6a5b6fe40a1e868fbe0b9b81233f6721852b0e31b12144775db8785835cd5a3a0ca0a88784f7955388efd55b6ce97311b10e SHA512 282139cda0f7d08dd11af88bc3a568054906c2e0e2708f72e0ce3a67d13a44822612e3989c398ab346f8c043f17ad2e5cd2f958b1461325ad9768affec8f63fc +DIST aiostream-0.6.1.gh.tar.gz 45466 BLAKE2B 848594d9ae191e32553dbff25ffa5926a2fd069bdc36d202f861603495ed5b33e04c4d6ae04704ca3f1d3525b73bf4f83455acc74fcfa831991c8c1ea504fe65 SHA512 0e7a87196ee7749247a6554a9347f2d8a46474db58e3793a8ac2c76b92b61e8ec7d372a05c692fcb600e81be502745ec1e7320e9dba75f50ebeff2a1ffdc35bd diff --git a/dev-python/aiostream/aiostream-0.5.2.ebuild b/dev-python/aiostream/aiostream-0.6.1.ebuild index 6830c0af8f5c..6c43c63606c6 100644 --- a/dev-python/aiostream/aiostream-0.5.2.ebuild +++ b/dev-python/aiostream/aiostream-0.6.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 @@ -34,7 +34,7 @@ BDEPEND=" distutils_enable_tests pytest src_prepare() { - sed -i -e 's:--cov aiostream --cov-report html --cov-report term::' \ - setup.cfg || die + sed -i -e 's:--cov aiostream::' \ + pyproject.toml || die distutils-r1_src_prepare } diff --git a/dev-python/ansi/ansi-0.3.7.ebuild b/dev-python/ansi/ansi-0.3.7.ebuild index 432895441825..df8611005a94 100644 --- a/dev-python/ansi/ansi-0.3.7.ebuild +++ b/dev-python/ansi/ansi-0.3.7.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/ansi2html/ansi2html-1.9.1.ebuild b/dev-python/ansi2html/ansi2html-1.9.1.ebuild index 03b0e0b61b08..858bc3ae90bf 100644 --- a/dev-python/ansi2html/ansi2html-1.9.1.ebuild +++ b/dev-python/ansi2html/ansi2html-1.9.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/ansible-compat/Manifest b/dev-python/ansible-compat/Manifest index 8fab0b525641..f9da22d4cff0 100644 --- a/dev-python/ansible-compat/Manifest +++ b/dev-python/ansible-compat/Manifest @@ -1,2 +1 @@ -DIST ansible-compat-4.1.11.tar.gz 73021 BLAKE2B 4d62c6c6739ae5dcfe98347eac268f6976f12cabcf8706f89ebaed2a6750a47faaf53ce5585ee2d6a2cf8a92add9f8f74bd050e44fa6f5515a9b77a7f49979c5 SHA512 0e8de16ef0da9a036595dadbdfa5fd776f8edf0d2c16e8e2759a0e1b07f0d0fffc22a8c7be17aefb73312f3c8f56d48fdf097c527fa3b8919907923fffc44fa7 DIST ansible-compat-4.1.12.gh.tar.gz 67966 BLAKE2B 3c665eb2cb87e184042da78ed1c41e7ca2b437c5151ba21bdd609104b44fa28c5f03247d275c58cfdf04a8e9ed328947cb0c2670603218798e3a484861274af2 SHA512 c9b2c340dc2b1ffb6f6db76017f7537e20307a7519a4df2dfb31811180cd647e39812bc433db51bd94d42f4c52a6c2f729d81edadcd615a5e0d23566969d8911 diff --git a/dev-python/ansible-compat/ansible-compat-4.1.11.ebuild b/dev-python/ansible-compat/ansible-compat-4.1.11.ebuild deleted file mode 100644 index 677d014c9062..000000000000 --- a/dev-python/ansible-compat/ansible-compat-4.1.11.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Contains functions that facilitate working with various versions of Ansible" -HOMEPAGE=" - https://pypi.org/project/ansible-compat/ - https://github.com/ansible/ansible-compat/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv" - -RDEPEND=" - >=app-admin/ansible-core-2.12[${PYTHON_USEDEP}] - >=dev-python/jsonschema-4.6.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - >=dev-python/subprocess-tee-0.4.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-plus[${PYTHON_USEDEP}] - ) -" - -# All these tests attempt to connect to galaxy.ansible.com -EPYTEST_DESELECT=( - test/test_runtime.py::test_install_collection - test/test_runtime.py::test_install_collection_dest - test/test_runtime.py::test_prepare_environment_with_collections - test/test_runtime.py::test_prerun_reqs_v1 - test/test_runtime.py::test_prerun_reqs_v2 - test/test_runtime.py::test_require_collection_no_cache_dir - test/test_runtime.py::test_require_collection_wrong_version - test/test_runtime.py::test_require_collection - test/test_runtime.py::test_upgrade_collection - test/test_runtime_example.py::test_runtime - # pip, failing due to internets - test/test_runtime_scan_path.py::test_scan_sys_path -) - -distutils_enable_tests pytest diff --git a/dev-python/ansible-compat/ansible-compat-4.1.12.ebuild b/dev-python/ansible-compat/ansible-compat-4.1.12.ebuild index bdd51b5dca54..6c992bf59229 100644 --- a/dev-python/ansible-compat/ansible-compat-4.1.12.ebuild +++ b/dev-python/ansible-compat/ansible-compat-4.1.12.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/ansible/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" +KEYWORDS="amd64 ~arm64 ~riscv" RDEPEND=" >=app-admin/ansible-core-2.12[${PYTHON_USEDEP}] diff --git a/dev-python/ansicolor/ansicolor-0.3.2-r1.ebuild b/dev-python/ansicolor/ansicolor-0.3.2-r1.ebuild index 5dd87fb09a73..75231623f257 100644 --- a/dev-python/ansicolor/ansicolor-0.3.2-r1.ebuild +++ b/dev-python/ansicolor/ansicolor-0.3.2-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 diff --git a/dev-python/ansicolor/ansicolor-9999.ebuild b/dev-python/ansicolor/ansicolor-9999.ebuild index 4d55e8a5e08c..9734c8646eb3 100644 --- a/dev-python/ansicolor/ansicolor-9999.ebuild +++ b/dev-python/ansicolor/ansicolor-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 diff --git a/dev-python/anyio/anyio-4.3.0-r1.ebuild b/dev-python/anyio/anyio-4.3.0-r1.ebuild new file mode 100644 index 000000000000..b4a410314649 --- /dev/null +++ b/dev-python/anyio/anyio-4.3.0-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2024 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="Compatibility layer for multiple asynchronous event loop implementations" +HOMEPAGE=" + https://github.com/agronholm/anyio/ + https://pypi.org/project/anyio/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/idna-2.8[${PYTHON_USEDEP}] + >=dev-python/sniffio-1.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.2.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.1[${PYTHON_USEDEP}] + ' 3.10) +" +# On amd64, let's get more test coverage by dragging in uvloop, but let's +# not bother on other arches where uvloop may not be supported. +BDEPEND=" + >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}] + test? ( + >=dev-python/exceptiongroup-1.2.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}] + >=dev-python/psutil-5.9[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/trio-0.23[${PYTHON_USEDEP}] + ' 3.{10..12}) + amd64? ( + $(python_gen_cond_dep ' + >=dev-python/uvloop-0.17[${PYTHON_USEDEP}] + ' python3_{10..12}) + ) + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + '>=dev-python/sphinx-rtd-theme-1.2.2' \ + dev-python/sphinxcontrib-jquery \ + dev-python/sphinx-autodoc-typehints + +python_test() { + local EPYTEST_DESELECT=( + # requires link-local IPv6 interface + tests/test_sockets.py::TestTCPListener::test_bind_link_local + ) + + local filter=() + if ! has_version ">=dev-python/trio-0.23[${PYTHON_USEDEP}]"; then + filter+=( -k "not trio" ) + EPYTEST_DESELECT+=( + tests/test_pytest_plugin.py::test_plugin + tests/test_pytest_plugin.py::test_autouse_async_fixture + tests/test_pytest_plugin.py::test_cancel_scope_in_asyncgen_fixture + ) + fi + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + 'tests/test_fileio.py::TestPath::test_properties[asyncio]' + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -m 'not network' "${filter[@]}" +} diff --git a/dev-python/apipkg/apipkg-3.0.2.ebuild b/dev-python/apipkg/apipkg-3.0.2.ebuild index ad7cb885a7c5..0db5320c7160 100644 --- a/dev-python/apipkg/apipkg-3.0.2.ebuild +++ b/dev-python/apipkg/apipkg-3.0.2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/apispec/Manifest b/dev-python/apispec/Manifest index 37b35b4aa165..6deb9cf8a8ae 100644 --- a/dev-python/apispec/Manifest +++ b/dev-python/apispec/Manifest @@ -1,3 +1,4 @@ DIST apispec-6.4.0.tar.gz 79114 BLAKE2B 998b153a3d80c45247148210a929a0713d930560a4219dc0da0791e02480ff2a99a74d0b8bc2c170534f7d9e4e05a5fa231fa1d0eaf9359191e7ea6f37e5caf3 SHA512 2b9ceb99945c2e40e00af9f1626d0bd45cdb853fea1b75c58ef312b42b10d521405138c3bc788a33bf38eb31fc9220ed8e9a23c6a3c8980fc5549688d999dcdf DIST apispec-6.5.0.tar.gz 76109 BLAKE2B 63cf1fe60a828e3612d211214c07eb250accbab62760e76af48e30871f0bfbb6a3d80efe6373549da43a3b3e5ccacc80f61de48a236ad0391e210d9033e87c9f SHA512 1102bd0c00b8b7018c1ad88fe2b4531fbfcfc83fca73aa63e9b7965c0775634f40fb59c061ec901b804c79e69df43f5b33c7b64129a1684a4f8b0b6228f1b1de DIST apispec-6.6.0.tar.gz 76220 BLAKE2B b4dc3a931a501eb4abb0148c93234cb03929d45e7a8f939dfc996cb7ff1573b22e1b1941b52f7cc31374c68ae5dbae623d35cb6f15c03e5ae1b2155f3991e106 SHA512 8bdff0a7df17e30639bea2a2f6afb13c84d74bdeceef5c4748c85886c1bc2662a8d257f7873804fdca3e109380159c1671af9001bfeeae81da2c659858a39b19 +DIST apispec-6.6.1.tar.gz 76537 BLAKE2B e08f1545441be7f1dd266205a6a7dc1317385961325e47c25fde0aecbd68712410601249bced9b0c3491d3e6f772c94c14f638d77e3dbfac37bba5bb0dd1e284 SHA512 a6820444b017f9551d21cf5ba5a14f8f4eaa6bccd1848c540e41bd37140df06dc897bf5d29bc77a2e55b670d58dc84eeb6588769efb3fe400eba243c0a1b5425 diff --git a/dev-python/apispec/apispec-6.6.1.ebuild b/dev-python/apispec/apispec-6.6.1.ebuild new file mode 100644 index 000000000000..7d9e2538b1f3 --- /dev/null +++ b/dev-python/apispec/apispec-6.6.1.ebuild @@ -0,0 +1,46 @@ +# 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..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A pluggable API specification generator" +HOMEPAGE=" + https://github.com/marshmallow-code/apispec/ + https://pypi.org/project/apispec/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/bottle[${PYTHON_USEDEP}] + >=dev-python/marshmallow-3.18.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx-issues \ + dev-python/sphinx-rtd-theme + +python_test() { + local EPYTEST_DESELECT=( + # requires unpackaged prance + tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v2 + tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v3 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/appdirs/appdirs-1.4.4-r3.ebuild b/dev-python/appdirs/appdirs-1.4.4-r3.ebuild index bac28f7a310c..c526c49b17d7 100644 --- a/dev-python/appdirs/appdirs-1.4.4-r3.ebuild +++ b/dev-python/appdirs/appdirs-1.4.4-r3.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/apprise/Manifest b/dev-python/apprise/Manifest index ab95fdbe6b00..a32f0b5c3d39 100644 --- a/dev-python/apprise/Manifest +++ b/dev-python/apprise/Manifest @@ -1,3 +1,2 @@ -DIST apprise-1.7.4.tar.gz 1648673 BLAKE2B 33c91a63e3d0e730dcfe2b99433cd97e16ff9635e9ff717e9c4f7b708e6536185265e591ff419a785044877cadd4793f2df73fe9420ffed65838fb16654810f8 SHA512 5e3ab2136f1bdbd9d769fb3e3c5a5c899834b7ffb6ba57f3601079d516e31bed9d988b76745c251fff6df91f1fcd186d23a0878165ad73b811f76a8118278a64 -DIST apprise-1.7.5.tar.gz 1652098 BLAKE2B 01acc8be50b76cdcb5c7ce068b6f644d5edbbf28ea964d95e8d2ea0579a3a9c60e9715ae482ec0d7f16f4ce8118acf99e4159249bc763f268f89362a3e4fcde9 SHA512 d783d74a8e4a9f9b39c2ab86c0207a99e6f5fe30492b5bc50cb7008477acc1c5831d94c18bd3cee22fa28e028571108237191cc7a253aa072e121cecd0ce7afa DIST apprise-1.7.6.tar.gz 1656123 BLAKE2B 49720f6ba6522f3496ad5cbf5bf72340c6b21f207d11f3c3fcdd113db2e01730b64209fad1d0c7f1ed357251e567a0fe8c875b2ab8f1befdeeab9af59f5678e3 SHA512 39fdfd129d9e8bc16070a015bc9e2b4f4bf6e61e1b87ee45ec11e99e7e87dcc3896312c7ff71d0dac9532cee36709de40d6397d98b8affda069cb3a436ab8683 +DIST apprise-1.8.0.tar.gz 1651688 BLAKE2B 32458b2a4787c0366db54890b505ca86cf1abee4299d32fd49f8fc8d37b87a6123c902747f97466b061857e7f284ed78c4001e61f587f3b47e17194324217d37 SHA512 312165b1b5c05ee632b5f2631eafc4af2b318881444851966ff6893775caa303b8d8fc819de9c2f8790eb224ac849535c5e5038a2f51dc30d477a503ed48b920 diff --git a/dev-python/apprise/apprise-1.7.4.ebuild b/dev-python/apprise/apprise-1.7.4.ebuild deleted file mode 100644 index 4f6bb4ff272e..000000000000 --- a/dev-python/apprise/apprise-1.7.4.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Push Notifications that work with just about every platform" -HOMEPAGE=" - https://pypi.org/project/apprise/ - https://github.com/caronc/apprise/ -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv" -IUSE="+dbus mqtt" - -RDEPEND=" - dev-python/click[${PYTHON_USEDEP}] - dev-python/markdown[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/requests-oauthlib[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) - mqtt? ( dev-python/paho-mqtt[${PYTHON_USEDEP}] ) -" -BDEPEND=" - dev-python/Babel[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/apprise/apprise-1.7.6.ebuild b/dev-python/apprise/apprise-1.7.6.ebuild index a85837c32c40..4f6bb4ff272e 100644 --- a/dev-python/apprise/apprise-1.7.6.ebuild +++ b/dev-python/apprise/apprise-1.7.6.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv" +KEYWORDS="amd64 ~arm ~arm64 ~riscv" IUSE="+dbus mqtt" RDEPEND=" diff --git a/dev-python/apprise/apprise-1.7.5.ebuild b/dev-python/apprise/apprise-1.8.0.ebuild index a85837c32c40..a85837c32c40 100644 --- a/dev-python/apprise/apprise-1.7.5.ebuild +++ b/dev-python/apprise/apprise-1.8.0.ebuild diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index 3400d17ff13a..6cbc5354ccb5 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -1,2 +1 @@ -DIST apsw-3.45.1.0.gh.tar.gz 904083 BLAKE2B 4cf397557bfe36e38fd48d124345de395b77a8dd313ebd77f97624d873123d5ecd82e56b6e134849e00a77f94b0c3ee2fa0cfc888b8fbbddc34b99b3274b8dc8 SHA512 5d754c45881db9e299c70bd0c290211f7e30421da258b25b5aa0d8b3c97a10622f0b75735fc84d687f78403fc257139ffc249d926be611a4101b98caf3c60a3a -DIST apsw-3.45.2.0.gh.tar.gz 904263 BLAKE2B 4071e2dc24a304f4f08cefc87cce27d617cab8f2699d134134b2c0c2618422139ebdd38dfafcb17e8a6c515fe5e799d6d827ef5099af23cf628f26c18764aa0a SHA512 864cde25cfd15e3cbddbf1df80dbd861e93c2e8ea458a9f16d0ff4a8ecaf17721321f08bf7ab0659c0a18845be5bcc879b6708175ed971b263a0f274c08b05b9 +DIST apsw-3.45.3.0.gh.tar.gz 904570 BLAKE2B 644c884b6f5624c2d8b48f204a43bbb6dd8761979099e1ebad96a30acc7d79f80549e50300279b8d1061f86f8852735fa92c99df4a6c81a364391a3635464ff1 SHA512 73c09aba4ff211e98dfb3365e5f0202f85fa0a05e78f6a35fe08515e84b74ed1576e7bb5c46c77c309ba3e6acacc5681d31e5a4d3d66835d347d82af8feced74 diff --git a/dev-python/apsw/apsw-3.45.2.0.ebuild b/dev-python/apsw/apsw-3.45.2.0.ebuild deleted file mode 100644 index 7fe76f0deaa5..000000000000 --- a/dev-python/apsw/apsw-3.45.2.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-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} ) - -inherit distutils-r1 - -DESCRIPTION="APSW - Another Python SQLite Wrapper" -HOMEPAGE=" - https://github.com/rogerbinns/apsw/ - https://pypi.org/project/apsw/ -" -SRC_URI=" - https://github.com/rogerbinns/apsw/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -IUSE="doc" - -DEPEND=" - >=dev-db/sqlite-${PV%.*}:3 -" -RDEPEND=" - ${DEPEND} -" - -src_configure() { - cat >> setup.cfg <<-EOF || die - [build_ext] - enable=load_extension - use_system_sqlite_config=True - EOF -} - -python_test() { - esetup.py build_test_extension - cd "${T}" || die - "${EPYTHON}" -m apsw.tests -v || die "Tests failed under ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/apsw/apsw-3.45.1.0.ebuild b/dev-python/apsw/apsw-3.45.3.0.ebuild index 617cadf72867..ebff5eb704f6 100644 --- a/dev-python/apsw/apsw-3.45.1.0.ebuild +++ b/dev-python/apsw/apsw-3.45.3.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest index 86dea222dc53..24a4bccc2f52 100644 --- a/dev-python/argcomplete/Manifest +++ b/dev-python/argcomplete/Manifest @@ -1,2 +1 @@ -DIST argcomplete-3.2.3.tar.gz 81130 BLAKE2B 1c3a1c3fe9159ba1ab64db2a05d32dd961b08bb00d4cf3015fbb7990c02ebb766200fabe228c4e48ad791ea1a02db0775df1eec3181c7d1291743894e986f61c SHA512 25c73ec01a9c7e0b3d2cab1b86953369b0464431e86d6be2ba14d0209c1e1bc9fe5c5ce02590d86a44df74c9e828d4579b1265d2a37adf21f1e8bfdfb2350a44 DIST argcomplete-3.3.0.tar.gz 81832 BLAKE2B 63778dc48f90bb06dbf59c8d4d94ca905c9b188ec5b64e3a8cf7604d66cf075b31350f241da00e460d97b1920c620d4fbf8df772485987897a698cec060b6ec9 SHA512 30776b7e2dc3ee1f7dfcd665d2ae6e403b09644829c1cd7a30ce80e39c6bd7331cc0b7bd7d6cec58a409ef6ec209ca6b1cca0888e83a7a9a228658fa72f6e578 diff --git a/dev-python/argcomplete/argcomplete-3.2.3.ebuild b/dev-python/argcomplete/argcomplete-3.2.3.ebuild deleted file mode 100644 index cdda946da90b..000000000000 --- a/dev-python/argcomplete/argcomplete-3.2.3.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Bash tab completion for argparse" -HOMEPAGE=" - https://github.com/kislyuk/argcomplete/ - https://pypi.org/project/argcomplete/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" - -# pip is called as an external tool -BDEPEND=" - test? ( - app-shells/fish - app-shells/tcsh - app-shells/zsh - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pip-19 - ) -" - -PATCHES=( - # increase test timeouts -- this is particularly necessary - # for entry point tests because they read metadata of all installed - # packages which can take real long on systems with lots of packages - "${FILESDIR}/argcomplete-3.1.6-timeout.patch" -) - -python_test() { - "${EPYTHON}" test/test.py -v || die -} diff --git a/dev-python/argcomplete/argcomplete-3.3.0.ebuild b/dev-python/argcomplete/argcomplete-3.3.0.ebuild index 0ea9deb31943..9f27971130b6 100644 --- a/dev-python/argcomplete/argcomplete-3.3.0.ebuild +++ b/dev-python/argcomplete/argcomplete-3.3.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" @@ -36,6 +36,8 @@ PATCHES=( # for entry point tests because they read metadata of all installed # packages which can take real long on systems with lots of packages "${FILESDIR}/argcomplete-3.1.6-timeout.patch" + # https://github.com/kislyuk/argcomplete/pull/485 + "${FILESDIR}/${P}-test-bashrc.patch" ) python_test() { diff --git a/dev-python/argcomplete/files/argcomplete-3.3.0-test-bashrc.patch b/dev-python/argcomplete/files/argcomplete-3.3.0-test-bashrc.patch new file mode 100644 index 000000000000..0e9f2fa1cea6 --- /dev/null +++ b/dev-python/argcomplete/files/argcomplete-3.3.0-test-bashrc.patch @@ -0,0 +1,13 @@ +diff --git a/test/test.py b/test/test.py +index c8f9419..ca38be6 100755 +--- a/test/test.py ++++ b/test/test.py +@@ -73,7 +73,7 @@ def _repl_sh(command, args, non_printable_insert): + + + def bash_repl(command="bash"): +- bashrc = os.path.join(os.path.dirname(pexpect.__file__), "replwrap", "bashrc.sh") ++ bashrc = os.path.join(os.path.dirname(pexpect.__file__), "bashrc.sh") + sh = _repl_sh(command, ["--rcfile", bashrc], non_printable_insert="\\[\\]") + return sh + diff --git a/dev-python/argon2-cffi-bindings/argon2-cffi-bindings-21.2.0-r1.ebuild b/dev-python/argon2-cffi-bindings/argon2-cffi-bindings-21.2.0-r1.ebuild index 8442341fe251..942289a1ac06 100644 --- a/dev-python/argon2-cffi-bindings/argon2-cffi-bindings-21.2.0-r1.ebuild +++ b/dev-python/argon2-cffi-bindings/argon2-cffi-bindings-21.2.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/argparse-manpage/argparse-manpage-4.5.ebuild b/dev-python/argparse-manpage/argparse-manpage-4.5.ebuild index 1c171f970460..12fdb4f81be7 100644 --- a/dev-python/argparse-manpage/argparse-manpage-4.5.ebuild +++ b/dev-python/argparse-manpage/argparse-manpage-4.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~mips ~ppc ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/arrow/arrow-1.3.0.ebuild b/dev-python/arrow/arrow-1.3.0.ebuild index f300a27331d9..ca6dcb9a7e34 100644 --- a/dev-python/arrow/arrow-1.3.0.ebuild +++ b/dev-python/arrow/arrow-1.3.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# 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..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/asgiref/asgiref-3.8.1.ebuild b/dev-python/asgiref/asgiref-3.8.1.ebuild index 5978e7ad43de..29be02c5799b 100644 --- a/dev-python/asgiref/asgiref-3.8.1.ebuild +++ b/dev-python/asgiref/asgiref-3.8.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/asteval/Manifest b/dev-python/asteval/Manifest index b161e448f2d4..a3927b63cae9 100644 --- a/dev-python/asteval/Manifest +++ b/dev-python/asteval/Manifest @@ -1,2 +1 @@ -DIST asteval-0.9.31.gh.tar.gz 54667 BLAKE2B 9bb4ac81118d5fdf2b7437cb64a571e91f44e34ea17ab9eb55201f9edf7c18e7736b7dbdaf2bdac3e83e28c55fe3f869f01ac3ab9d41b15c043de52227c064f8 SHA512 af70363eba0a08dd91d05faf2ac83020f9e89b927dba8752e5bf00ad3b887cf7b57cdf4c64b231d484d55796a9d203af4fb9860ceac3dbd5d8855baf7ffb1417 DIST asteval-0.9.32.gh.tar.gz 54542 BLAKE2B 367c25c6099538e7457aa17a7224bb3112558a7183f948dcec01fe5cb6ef689e9fc6ef34a1c45cd668c84b8d7647e55c15457d34f5aeb5885b03515730ad03d1 SHA512 b8975cedff0680c4581b1a2053b4d7f55cd0fa6e970dfc65c21047f9c919c2fd44ff0a747e1a1cf97ddb69212f564e8d2d1dc705f864563f21684c68c98b5a8c diff --git a/dev-python/asteval/asteval-0.9.31.ebuild b/dev-python/asteval/asteval-0.9.31.ebuild deleted file mode 100644 index 9ce6c80225a3..000000000000 --- a/dev-python/asteval/asteval-0.9.31.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Evaluator of Python expression using ast module" -HOMEPAGE=" - https://newville.github.io/asteval/ - https://github.com/newville/asteval/ - https://pypi.org/project/asteval/ -" -SRC_URI=" - https://github.com/newville/asteval/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -python_test() { - epytest -o addopts= -} diff --git a/dev-python/asteval/asteval-0.9.32.ebuild b/dev-python/asteval/asteval-0.9.32.ebuild index db9c4073802e..5162e3ac4666 100644 --- a/dev-python/asteval/asteval-0.9.32.ebuild +++ b/dev-python/asteval/asteval-0.9.32.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/astor/astor-0.8.1-r1.ebuild b/dev-python/astor/astor-0.8.1-r1.ebuild index c3ee069fdfc4..9133b6b4e67c 100644 --- a/dev-python/astor/astor-0.8.1-r1.ebuild +++ b/dev-python/astor/astor-0.8.1-r1.ebuild @@ -1,17 +1,17 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi DESCRIPTION="Read/rewrite/write Python ASTs" HOMEPAGE=" - https://pypi.org/project/astor - https://github.com/berkerpeksag/astor + https://pypi.org/project/astor/ + https://github.com/berkerpeksag/astor/ " LICENSE="BSD" diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index afe7fa2437d1..9ab4ca269c77 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1 +1,3 @@ DIST astroid-3.1.0.gh.tar.gz 463675 BLAKE2B 363ca82814c170c89beb39118109e8a8488f5b5a43bb4a0fdb6d88a24842789ebfb3bb9ed6ebd00f1cd90dfc2d1c7d9730c8c2fe17eadb8f52f53add47cd5089 SHA512 7b2cd6270d1a9219d32e69e1a9c9eeffd2c5fcf575bc53df4a8c2d8df97b019e3e4e60768286a757a7390effcb454c7997f1f0f677c2b6370a2c3a9d46519057 +DIST astroid-3.2.0.gh.tar.gz 464812 BLAKE2B b8cb241d4c711ebf7737c6fb83081ea6abc2bcacb4eef6c83450b963ff8fe2fa47da5b615cc0c0749a935f1df15df45086066d6bc5372f118c049ffa18f57f9b SHA512 551ad666ed8ffb22fccf44647eee5193cae17fa69837234b26adb91b85f5781e5cd729c55b351ff814a6c7f3fafc86ebed2ecb0b86b0a619933c77c3750b7e39 +DIST astroid-3.2.1.gh.tar.gz 464873 BLAKE2B 0ec3f470b3ecc803d0f8057d0af361b7f72fd60d462752bd6381fbe8cfc74d8695a1123beaacd87db9d9513f68635ccb4e6d2d79be1e210752a53c0ec85798cc SHA512 a9d38e19ab4164a490d6097baa5bd33d5b8f80b4da3172bfff3a7ab9242dfd29bdcaead7fd1ee12ac5abca34bbb1104904261c0fb3fbd42e8c8df3f40790e1f6 diff --git a/dev-python/astroid/astroid-3.2.0.ebuild b/dev-python/astroid/astroid-3.2.0.ebuild new file mode 100644 index 000000000000..867c6a6ee54e --- /dev/null +++ b/dev-python/astroid/astroid-3.2.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Abstract Syntax Tree for logilab packages" +HOMEPAGE=" + https://github.com/pylint-dev/astroid/ + https://pypi.org/project/astroid/ +" +SRC_URI=" + https://github.com/pylint-dev/astroid/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# Version specified in pyproject.toml +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +# dev-python/regex isn't available for pypy +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/attrs[${PYTHON_USEDEP}] + <dev-python/numpy-2[${PYTHON_USEDEP}] + >=dev-python/numpy-1.17.0[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/regex[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local EPYTEST_DESELECT=( + # no clue why they're broken + tests/test_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part + tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils + # pydantic-2? + tests/brain/test_dataclasses.py::test_pydantic_field + # requires urllib3 with bundled six (skipped with urllib3>=2) + tests/test_modutils.py::test_file_info_from_modpath__SixMetaPathImporter + # hangs + tests/test_nodes.py::AsStringTest::test_recursion_error_trapped + # TODO + tests/test_builder.py::BuilderTest::test_data_build_error_filename + ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + tests/test_transforms.py::TestTransforms::test_transform_aborted_if_recursion_limited + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/astroid/astroid-3.2.1.ebuild b/dev-python/astroid/astroid-3.2.1.ebuild new file mode 100644 index 000000000000..867c6a6ee54e --- /dev/null +++ b/dev-python/astroid/astroid-3.2.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Abstract Syntax Tree for logilab packages" +HOMEPAGE=" + https://github.com/pylint-dev/astroid/ + https://pypi.org/project/astroid/ +" +SRC_URI=" + https://github.com/pylint-dev/astroid/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# Version specified in pyproject.toml +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +# dev-python/regex isn't available for pypy +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/attrs[${PYTHON_USEDEP}] + <dev-python/numpy-2[${PYTHON_USEDEP}] + >=dev-python/numpy-1.17.0[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/regex[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local EPYTEST_DESELECT=( + # no clue why they're broken + tests/test_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part + tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils + # pydantic-2? + tests/brain/test_dataclasses.py::test_pydantic_field + # requires urllib3 with bundled six (skipped with urllib3>=2) + tests/test_modutils.py::test_file_info_from_modpath__SixMetaPathImporter + # hangs + tests/test_nodes.py::AsStringTest::test_recursion_error_trapped + # TODO + tests/test_builder.py::BuilderTest::test_data_build_error_filename + ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + tests/test_transforms.py::TestTransforms::test_transform_aborted_if_recursion_limited + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/async-lru/async-lru-2.0.4.ebuild b/dev-python/async-lru/async-lru-2.0.4.ebuild index 610950cbab38..b44a193b0ae1 100644 --- a/dev-python/async-lru/async-lru-2.0.4.ebuild +++ b/dev-python/async-lru/async-lru-2.0.4.ebuild @@ -1,10 +1,10 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/async-timeout/async-timeout-4.0.3.ebuild b/dev-python/async-timeout/async-timeout-4.0.3.ebuild index 974ea4429c64..74991e5d0711 100644 --- a/dev-python/async-timeout/async-timeout-4.0.3.ebuild +++ b/dev-python/async-timeout/async-timeout-4.0.3.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/asyncssh/Manifest b/dev-python/asyncssh/Manifest new file mode 100644 index 000000000000..b8b02af0e904 --- /dev/null +++ b/dev-python/asyncssh/Manifest @@ -0,0 +1 @@ +DIST asyncssh-2.14.2.tar.gz 498190 BLAKE2B 66cc538322688d0782e203eb723c7c7a196fd5da725fe95df8b31e25e35e45b86bb01cb5c46f5516475614b9cf7b8076bc3994ec77daf552e030724b0734c2d1 SHA512 76952b8837832139274fbfc4ec4aa84841c66a4eb4c1bd09fd532727287574509fb2b94b684c14d6f76add80a1fe5c8236a3412ab6a71574c203706895b23f93 diff --git a/dev-python/asyncssh/asyncssh-2.14.2.ebuild b/dev-python/asyncssh/asyncssh-2.14.2.ebuild new file mode 100644 index 000000000000..1ad40f7b2969 --- /dev/null +++ b/dev-python/asyncssh/asyncssh-2.14.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Asynchronous SSHv2 client and server library" +HOMEPAGE=" + https://github.com/ronf/asyncssh + https://pypi.org/project/asyncssh/ +" + +LICENSE="EPL-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + virtual/openssh + >=dev-python/cryptography-39.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-3.6[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/aiofiles[${PYTHON_USEDEP}] + >=dev-python/bcrypt-3.1.3[${PYTHON_USEDEP}] + >=dev-python/fido2-0.9.2[${PYTHON_USEDEP}] + >=dev-python/gssapi-1.2.0[${PYTHON_USEDEP}] + >=dev-python/libnacl-1.4.2[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # https://github.com/ronf/asyncssh/pull/578 + tests/test_process.py::_TestAsyncFileRedirection::test_stdout_aiofile +) + +distutils_enable_tests pytest +distutils_enable_sphinx docs + +pkg_postinst() { + optfeature "OpenSSH private key encryption support" ">=dev-python/bcrypt-3.1.3" + optfeature "key exchange and authentication with U2F/FIDO2 security keys support" ">=dev-python/fido2-0.9.2" + optfeature "GSSAPI key exchange and authentication support" ">=dev-python/gssapi-1.2.0" + optfeature "using asyncssh with dev-libs/libsodium" "dev-python/libnacl" + optfeature "X.509 certificate authentication support" ">=dev-python/pyopenssl-23.0.0" +} diff --git a/dev-python/PySensors/metadata.xml b/dev-python/asyncssh/metadata.xml index 90aa8fd41c4e..1727dacd3918 100644 --- a/dev-python/PySensors/metadata.xml +++ b/dev-python/asyncssh/metadata.xml @@ -1,15 +1,13 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>grobian@gentoo.org</email> - <name>Fabian Groffen</name> - </maintainer> + <upstream> + <remote-id type="pypi">asyncssh</remote-id> + <remote-id type="github">ronf/asyncssh</remote-id> + </upstream> + <stabilize-allarches/> <maintainer type="project"> <email>python@gentoo.org</email> <name>Python</name> </maintainer> - <upstream> - <remote-id type="pypi">PySensors</remote-id> - </upstream> </pkgmetadata> diff --git a/dev-python/atomicwrites/atomicwrites-1.4.1.ebuild b/dev-python/atomicwrites/atomicwrites-1.4.1.ebuild index f9396190ce20..f13d8f9b0e0a 100644 --- a/dev-python/atomicwrites/atomicwrites-1.4.1.ebuild +++ b/dev-python/atomicwrites/atomicwrites-1.4.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/atpublic/atpublic-4.1.0.ebuild b/dev-python/atpublic/atpublic-4.1.0.ebuild index 2ef8be7fd9b8..b7f2b485c337 100644 --- a/dev-python/atpublic/atpublic-4.1.0.ebuild +++ b/dev-python/atpublic/atpublic-4.1.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" BDEPEND=" test? ( diff --git a/dev-python/attrs/attrs-23.2.0.ebuild b/dev-python/attrs/attrs-23.2.0.ebuild index 5c18c763b029..6e858669ffbc 100644 --- a/dev-python/attrs/attrs-23.2.0.ebuild +++ b/dev-python/attrs/attrs-23.2.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -28,7 +28,9 @@ BDEPEND=" dev-python/cloudpickle[${PYTHON_USEDEP}] ' python3_{10..12}) dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/zope-interface[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/zope-interface[${PYTHON_USEDEP}] + ' python3_{10..12} pypy3) ) " @@ -37,4 +39,6 @@ distutils_enable_tests pytest PATCHES=( # https://github.com/python-attrs/attrs/pull/1249 "${FILESDIR}/${P}-pytest-8.patch" + # https://github.com/python-attrs/attrs/pull/1255 + "${FILESDIR}/${P}-py313.patch" ) diff --git a/dev-python/attrs/files/attrs-23.2.0-py313.patch b/dev-python/attrs/files/attrs-23.2.0-py313.patch new file mode 100644 index 000000000000..f7ea8f5e659f --- /dev/null +++ b/dev-python/attrs/files/attrs-23.2.0-py313.patch @@ -0,0 +1,93 @@ +From f9ff9135b472c78a7333d6272c62b92217897464 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Lum=C3=ADr=20=27Frenzy=27=20Balhar?= + <frenzy.madness@gmail.com> +Date: Thu, 7 Mar 2024 10:23:46 +0100 +Subject: [PATCH] Fix test_ne in test_cmp.py for Python 3.13 (#1255) + +* Fix test_ne in test_cmp.py for Python 3.13 + +Compiler in Python 3.13+ strips indents from docstrings +so they need to be compared without it for new Pythons. + +Fixes: https://github.com/python-attrs/attrs/issues/1228 + +* [pre-commit.ci] auto fixes from pre-commit.com hooks + +for more information, see https://pre-commit.ci + +--------- + +Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> +--- + src/attr/_compat.py | 1 + + tests/test_cmp.py | 11 +++++++---- + 2 files changed, 8 insertions(+), 4 deletions(-) + +diff --git a/src/attr/_compat.py b/src/attr/_compat.py +index 46b05ca..9010047 100644 +--- a/src/attr/_compat.py ++++ b/src/attr/_compat.py +@@ -14,6 +14,7 @@ PY_3_8_PLUS = sys.version_info[:2] >= (3, 8) + PY_3_9_PLUS = sys.version_info[:2] >= (3, 9) + PY310 = sys.version_info[:2] >= (3, 10) + PY_3_12_PLUS = sys.version_info[:2] >= (3, 12) ++PY_3_13_PLUS = sys.version_info[:2] >= (3, 13) + + + if sys.version_info < (3, 8): +diff --git a/tests/test_cmp.py b/tests/test_cmp.py +index 07bfc52..b84b66f 100644 +--- a/tests/test_cmp.py ++++ b/tests/test_cmp.py +@@ -4,10 +4,10 @@ + Tests for methods from `attrib._cmp`. + """ + +- + import pytest + + from attr._cmp import cmp_using ++from attr._compat import PY_3_13_PLUS + + + # Test parameters. +@@ -54,6 +54,9 @@ order_ids = [c[0].__name__ for c in order_data] + cmp_data = eq_data + order_data + cmp_ids = eq_ids + order_ids + ++# Compiler strips indents from docstrings in Python 3.13+ ++indent = "" if PY_3_13_PLUS else " " * 8 ++ + + class TestEqOrder: + """ +@@ -325,7 +328,7 @@ class TestDundersUnnamedClass: + method = self.cls.__ne__ + assert method.__doc__.strip() == ( + "Check equality and either forward a NotImplemented or\n" +- " return the result negated." ++ f"{indent}return the result negated." + ) + assert method.__name__ == "__ne__" + +@@ -393,7 +396,7 @@ class TestDundersPartialOrdering: + method = self.cls.__ne__ + assert method.__doc__.strip() == ( + "Check equality and either forward a NotImplemented or\n" +- " return the result negated." ++ f"{indent}return the result negated." + ) + assert method.__name__ == "__ne__" + +@@ -465,7 +468,7 @@ class TestDundersFullOrdering: + method = self.cls.__ne__ + assert method.__doc__.strip() == ( + "Check equality and either forward a NotImplemented or\n" +- " return the result negated." ++ f"{indent}return the result negated." + ) + assert method.__name__ == "__ne__" + +-- +2.45.0 + diff --git a/dev-python/authres/authres-1.2.0-r1.ebuild b/dev-python/authres/authres-1.2.0-r1.ebuild index bdc0dc54432a..4a99173b0e5f 100644 --- a/dev-python/authres/authres-1.2.0-r1.ebuild +++ b/dev-python/authres/authres-1.2.0-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -15,8 +15,8 @@ HOMEPAGE=" " LICENSE="Apache-2.0" -KEYWORDS="amd64 arm64 x86" SLOT="0" +KEYWORDS="amd64 arm64 x86" python_test() { "${EPYTHON}" -m doctest -v authres/tests || diff --git a/dev-python/autobahn/autobahn-23.6.2.ebuild b/dev-python/autobahn/autobahn-23.6.2.ebuild index ac905597289a..de4ff8467e6d 100644 --- a/dev-python/autobahn/autobahn-23.6.2.ebuild +++ b/dev-python/autobahn/autobahn-23.6.2.ebuild @@ -11,13 +11,12 @@ inherit distutils-r1 optfeature pypi DESCRIPTION="WebSocket and WAMP for Twisted and Asyncio" HOMEPAGE=" - https://crossbar.io/autobahn/ https://github.com/crossbario/autobahn-python/ https://pypi.org/project/autobahn/ " -SLOT="0" LICENSE="MIT" +SLOT="0" KEYWORDS="amd64 arm arm64 ~riscv ~sparc x86" IUSE="test xbr" RESTRICT="!test? ( test )" @@ -58,6 +57,11 @@ BDEPEND=" " python_prepare_all() { + local PATCHES=( + # https://github.com/crossbario/autobahn-python/pull/1634 + "${FILESDIR}/${P}-pytest-asyncio.patch" + ) + if use xbr ; then eerror "***************" eerror "Required xbr dependencies are incomplete in Gentoo." @@ -89,8 +93,11 @@ python_test() { unset USE_TWISTED einfo "RE-testing cryptosign and component_aio using asyncio" + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 local -x USE_ASYNCIO=true - epytest --pyargs autobahn.wamp.test.test_wamp_{cryptosign,component_aio} + epytest -p asyncio --pyargs \ + autobahn.asyncio.test.test_aio_{raw,web}socket \ + autobahn.wamp.test.test_wamp_{cryptosign,component_aio} unset USE_ASYNCIO rm -f twisted/plugins/dropin.cache || die diff --git a/dev-python/autobahn/files/autobahn-23.6.2-pytest-asyncio.patch b/dev-python/autobahn/files/autobahn-23.6.2-pytest-asyncio.patch new file mode 100644 index 000000000000..2cdbd863231b --- /dev/null +++ b/dev-python/autobahn/files/autobahn-23.6.2-pytest-asyncio.patch @@ -0,0 +1,42 @@ +From 5ab94618723c488df640ae0777ac5a16ee1ab369 Mon Sep 17 00:00:00 2001 +From: David Hotham <david.hotham@microsoft.com> +Date: Sat, 13 Apr 2024 05:27:01 +0100 +Subject: [PATCH] unit test fixes (#1634) + +--- + autobahn/wamp/test/test_wamp_component_aio.py | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/autobahn/wamp/test/test_wamp_component_aio.py b/autobahn/wamp/test/test_wamp_component_aio.py +index 168933ea5..2de9bf358 100644 +--- a/autobahn/wamp/test/test_wamp_component_aio.py ++++ b/autobahn/wamp/test/test_wamp_component_aio.py +@@ -35,7 +35,7 @@ + + @pytest.mark.skipif(sys.version_info < (3, 5), reason="requires Python 3.5+") + @pytest.mark.asyncio(forbid_global_loop=True) +- def test_asyncio_component(event_loop): ++ async def test_asyncio_component(event_loop): + orig_loop = txaio.config.loop + txaio.config.loop = event_loop + +@@ -72,11 +72,11 @@ def done(f): + txaio.config.loop = orig_loop + assert comp._done_f is None + f.add_done_callback(done) +- return finished ++ await finished + + @pytest.mark.skipif(sys.version_info < (3, 5), reason="requires Python 3.5+") + @pytest.mark.asyncio(forbid_global_loop=True) +- def test_asyncio_component_404(event_loop): ++ async def test_asyncio_component_404(event_loop): + """ + If something connects but then gets aborted, it should still try + to re-connect (in real cases this could be e.g. wrong path, +@@ -151,4 +151,4 @@ def done(f): + finished.set_result(None) + txaio.config.loop = orig_loop + f.add_done_callback(done) +- return finished ++ await finished diff --git a/dev-python/autocommand/autocommand-2.2.2.ebuild b/dev-python/autocommand/autocommand-2.2.2.ebuild index 5c2c6ee2ac68..7fde041a743b 100644 --- a/dev-python/autocommand/autocommand-2.2.2.ebuild +++ b/dev-python/autocommand/autocommand-2.2.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/automat/automat-22.10.0.ebuild b/dev-python/automat/automat-22.10.0.ebuild index 418e3705ed2a..5c0effe3f064 100644 --- a/dev-python/automat/automat-22.10.0.ebuild +++ b/dev-python/automat/automat-22.10.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYPI_PN=${PN^} -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest index 3287697ef239..86072fc1ca38 100644 --- a/dev-python/aws-sam-translator/Manifest +++ b/dev-python/aws-sam-translator/Manifest @@ -1,2 +1,3 @@ -DIST serverless-application-model-1.86.0.gh.tar.gz 5490164 BLAKE2B f784adc234080d447b33e375acf62ab65728655aeef2d6a4c1210535e55558f1afb85c011038b42435d5aaff8d69a179769a03d3c885e1fa487be434492c1c3c SHA512 e4ec2eca9f5531402f34e37c1bc7c9257f3120c3863f18bf2661b9f8757a680c6433d59c2a3f1b31e1ffeeffaa02fbd87f6407b3faf6ba5909bfefb79462ca18 DIST serverless-application-model-1.87.0.gh.tar.gz 5497979 BLAKE2B 96e62bd2c8b7497524f3fcd2fb805d5904d69b875049783e424859e3a038b704bebe212db4d0325050665104f9cfa9a0c746e65c33f3d7934deab3840479e975 SHA512 5577447575bd58a574f912250062d58a2ad087a4322f178580ca13bed16f60683f120c9d11006c7ebdd25937f229dfd3b308a4cc5fca2d09b7771f19e1739842 +DIST serverless-application-model-1.88.0.gh.tar.gz 5568588 BLAKE2B 82b2d8ed46b170d62017916cfdf007bff84e7d909f054e8d6b9cd735607d702257d6c2d06c4c0a911db6718ed215172e7225c502afbfff924b14cef5f0e19bcb SHA512 2b81a46ec72d7afb115e54263fbdf260e0e66f7ae4d0554aa26369c572b2584d3019d25161a8ecca769aa7140bd933abdc4e5d4a7e5852f4402c5576907b098d +DIST serverless-application-model-1.89.0.gh.tar.gz 5659213 BLAKE2B 1b8128c904ee1db34e722e0e4d5e7a0b16685dfbc589c390e34679b75481afad963a30f40d18bedb29010f62a338d1818da957ce6b58b7ee63d83444dccfc8ac SHA512 899fe08f3a16669de86ad3861d1072017af5fb3d2254583e502970c77e280d0ccb39b6a8f7e647acb94fb0cc6305aba35a98663427114764300d69f9c3b5e2fe diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.87.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.87.0.ebuild index 166699d76ae6..b4675407f163 100644 --- a/dev-python/aws-sam-translator/aws-sam-translator-1.87.0.ebuild +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.87.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" RDEPEND=" <dev-python/boto3-2[${PYTHON_USEDEP}] diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.86.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.88.0.ebuild index b4675407f163..166699d76ae6 100644 --- a/dev-python/aws-sam-translator/aws-sam-translator-1.86.0.ebuild +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.88.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" RDEPEND=" <dev-python/boto3-2[${PYTHON_USEDEP}] diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.89.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.89.0.ebuild new file mode 100644 index 000000000000..166699d76ae6 --- /dev/null +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.89.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 multiprocessing + +MY_P=serverless-application-model-${PV} +DESCRIPTION="A library that transform SAM templates into AWS CloudFormation templates" +HOMEPAGE=" + https://github.com/aws/serverless-application-model/ + https://pypi.org/project/aws-sam-translator/ +" +SRC_URI=" + https://github.com/aws/serverless-application-model/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/boto3-2[${PYTHON_USEDEP}] + >=dev-python/boto3-1.19.5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2[${PYTHON_USEDEP}] + <dev-python/pydantic-3[${PYTHON_USEDEP}] + >=dev-python/pydantic-1.8[${PYTHON_USEDEP}] + <dev-python/typing-extensions-5[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # so much noise... + sed -i -e '/log_cli/d' pytest.ini || die + + # deps are installed by ebuild, don't try to reinstall them via pip + truncate --size=0 requirements/*.txt || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x AWS_DEFAULT_REGION=us-east-1 + epytest -o addopts= -o filterwarnings= \ + -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} diff --git a/dev-python/babelfish/Manifest b/dev-python/babelfish/Manifest index 73a014db0e1b..cd4c5efb1ad0 100644 --- a/dev-python/babelfish/Manifest +++ b/dev-python/babelfish/Manifest @@ -1 +1,2 @@ DIST babelfish-0.6.0.gh.tar.gz 90886 BLAKE2B deee75aef23cbcb7c64f385c303310e5ce1ef0a3180729e47e59b8e85015ff36360a4be74ef32869421c6d90cf185ad427a7d55b9ef3cf20f551233dae3d425f SHA512 9d3309e67815c301578533fdaf8baae946ba87148b458f7b01315203d2d4356dd770c1a0b7a0ffbba14036b77f1463d67e3b5732efa6682cb6afdae1a8fd0a4b +DIST babelfish-0.6.1.gh.tar.gz 93127 BLAKE2B 6c1f56432671c0ad7b18401e78637acf8488fa2aa924a4df961403e570f1adbff6d868d6e8e3797e4b26a790b65b2aad8600fc7feb665bb3a73a6a5d4664865f SHA512 e5936b08f7ecf38beea3a2da2ee32cfd93f312548459c18370326a72011aed5ed8a1908b13a091979c3fe83a984b99f299ed6c3d39a47784b4d5c48145796d04 diff --git a/dev-python/babelfish/babelfish-0.6.1.ebuild b/dev-python/babelfish/babelfish-0.6.1.ebuild new file mode 100644 index 000000000000..c78efae6c860 --- /dev/null +++ b/dev-python/babelfish/babelfish-0.6.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Python library to work with countries and languages" +HOMEPAGE=" + https://github.com/Diaoul/babelfish/ + https://pypi.org/project/babelfish/ +" +SRC_URI=" + https://github.com/Diaoul/babelfish/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/babelfish/babelfish-9999.ebuild b/dev-python/babelfish/babelfish-9999.ebuild index 222432e837ce..607c64bac0f1 100644 --- a/dev-python/babelfish/babelfish-9999.ebuild +++ b/dev-python/babelfish/babelfish-9999.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 git-r3 diff --git a/dev-python/backports-tarfile/Manifest b/dev-python/backports-tarfile/Manifest index 16f3d9b62afd..0f072e067214 100644 --- a/dev-python/backports-tarfile/Manifest +++ b/dev-python/backports-tarfile/Manifest @@ -1 +1 @@ -DIST backports.tarfile-1.0.0.tar.gz 32952 BLAKE2B 264f63406f0cbf053bcbbc2933317152cbe89e765b87449111cf3397b072d68b1671918a7e3549f9f96dfc62c540f36a7b4e263d5c3f3ea305093a992d68eb2b SHA512 c44907a9b5c9af5dbcc37ecd613dcd7e269b1eed71a757d4e6c32828cc703a3060943f67a0caf90680ade89df8a938b999ba64d30ebfb5b63fbb0c70a068d349 +DIST backports_tarfile-1.1.1.tar.gz 84734 BLAKE2B 7691aaf4bd66e6fd6ad32dc9f4c4c51887ab502d302dae4931c72076b97d55b7646a716fd0dcd04dfc955a8dbf195d3804800b79375ecac1631fd633aefe2d12 SHA512 59ff0f6d78a0b4b2d868026a2f82375a7bfa3b1a09a96c0d6eaf0620c99ec379c22e12e6222677ca9c430349d40714f265ad879390789d63b8d322a31a7c1923 diff --git a/dev-python/backports-tarfile/backports-tarfile-1.0.0.ebuild b/dev-python/backports-tarfile/backports-tarfile-1.1.1.ebuild index 6ec77e2ea68d..808ce0928be6 100644 --- a/dev-python/backports-tarfile/backports-tarfile-1.0.0.ebuild +++ b/dev-python/backports-tarfile/backports-tarfile-1.1.1.ebuild @@ -5,7 +5,6 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYPI_NO_NORMALIZE=1 PYPI_PN=${PN/-/.} # This is a backport from Python 3.12. PYTHON_COMPAT=( pypy3 python3_{10..11} ) @@ -20,7 +19,16 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" + +BDEPEND=" + test? ( + dev-python/jaraco-test[${PYTHON_USEDEP}] + =dev-python/pytest-8.0*[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest src_configure() { grep -q 'build-backend = "setuptools' pyproject.toml || diff --git a/dev-python/bareos/Manifest b/dev-python/bareos/Manifest index 58563338c54e..9834da74c158 100644 --- a/dev-python/bareos/Manifest +++ b/dev-python/bareos/Manifest @@ -1,2 +1,3 @@ DIST bareos-22.1.2.tar.gz 14746158 BLAKE2B 5d8c9c098f61bd35b11f907a3e215a7c08b504c3e529c67a4c8c5cbbf24775158966800e63efca260b4cc513417332cdf43a158d21684f09be3d89dd93258880 SHA512 76d53425b2a28f4f7887b323a70bf9b37df44302e0e25aff7156c1b3ee26ffa60bbfb45ed29a0f2fe763d5c38b8f7135ac2a3e405d8e2b10717f4893baf9c327 +DIST bareos-22.1.4.tar.gz 14747141 BLAKE2B 1b155c35f22120b07151a54ef314c6f8f42ea14c3f194d787a58ece41f8de148f0b34d0cc6a54f578b1bb5c4d3ae2a7736829f6d2cd642d8e001f1797a18052a SHA512 4285f0f524c6f30ae8f7dd67e2a732cf983663f56b053968a7f10d753e38bc2ee1e2673d1fb6a9b516994b51b45215fac153e301b893c9cb31a164ebff0d4c85 DIST bareos-23.0.2.tar.gz 14724410 BLAKE2B 0fe86c10d62ad322dfbcd5ac972aec27d6f0ad31e156d359398739b2bfd784a02ce89b26b6bdfcf279265114a4e6e13efe21edab8b87cff15f1f9f3ad055c64b SHA512 a8d8270c8060480fe87da9252de86a75eea1cc427db63536f848d19a2c23c499ca294a9656d9a6aac73a756f84c96a2d72f13d1cede7948e18bf93efc2ecfc29 diff --git a/dev-python/bareos/bareos-22.1.4.ebuild b/dev-python/bareos/bareos-22.1.4.ebuild new file mode 100644 index 000000000000..59d31548b8d2 --- /dev/null +++ b/dev-python/bareos/bareos-22.1.4.ebuild @@ -0,0 +1,18 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="python bindings for bareos network backup suite" +HOMEPAGE="https://www.bareos.com/" +SRC_URI="https://github.com/${PN}/${PN}/archive/Release/${PV}.tar.gz -> ${P}.tar.gz" +S=${WORKDIR}/${PN}-Release-${PV}/python-bareos + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="mirror test" diff --git a/dev-python/basho-erlastic/basho-erlastic-2.1.1-r1.ebuild b/dev-python/basho-erlastic/basho-erlastic-2.1.1-r1.ebuild index c452174b517c..eed7f5ce66a4 100644 --- a/dev-python/basho-erlastic/basho-erlastic-2.1.1-r1.ebuild +++ b/dev-python/basho-erlastic/basho-erlastic-2.1.1-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/bcrypt/Manifest b/dev-python/bcrypt/Manifest index 26aa1e334b59..8bb88683a9d8 100644 --- a/dev-python/bcrypt/Manifest +++ b/dev-python/bcrypt/Manifest @@ -1,58 +1,92 @@ DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203 SHA512 df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f +DIST autocfg-1.3.0.crate 16524 BLAKE2B 7d5a03853d6b4f0da08d8e139fb200da21e47fa7e50d1956270d0ff0cc496f660f8f800122c95eee9ba98d9210ab200c3010b782097483d12d6be4ac0df0e7c9 SHA512 a5570b955d57a7183ba148b335837dc5af24b202e80681027536d33fe2822509ba644fc70c29f018c893285ced2bf6774f44ca6c59f7c7e2226d5349cf7c3635 DIST base64-0.21.5.crate 77134 BLAKE2B 901cf92d7dd8af2bbb789ffbe60972c1fd295b16690ecebbcb500e4613afa057ab2b294bbafdcaa4007f46412825260a0711d89e55664418a503dde02c8afd1a SHA512 40b1d8470a932c8b7f31717e33bf26742c1bf920caae639b8a992f77e64d5e6d287569742c1348daa25b7325f8ca8d8a312754a743dab3932181f37149d91b16 +DIST base64-0.22.1.crate 81597 BLAKE2B 6f216a560bd36e6e6b74e908344b457594cc768d9763070e269b56a14b150cbfc4b7f599d4c2a0a5f783638170ee132f0796fefb14fcac7fd73c58db0791007a SHA512 91cf2e4e7fc8815f9b8a86a7fa722a20eee3dc1dd57111b29e420de87ce7836bcdb1db01d3cafb9a977710ef63e7cc41b7772762323e68e0e832156858aace20 DIST bcrypt-0.15.0.crate 11631 BLAKE2B 47a671e252bc4c14d8323031e34b351e57d8c8d5e0683e994a792b8211cdb72432d9b1dbcdf643804fd7e1d3064beb00b0df1ca83b01991233b290ae7b61a1cf SHA512 550cd503ac96d6b12b6fb7336d78423516905f2b60fafc0fe907adac694d74ab97a25937b562d14aea2260319c97b686496e17578f817a0c18362e1dc9f8ec53 +DIST bcrypt-0.15.1.crate 11628 BLAKE2B 71072e92ac88393d5e7676f5afeb16ef8588232f390f02ad15b5ad31ca3a96daa431f867aa6cd52aff81be0cea43c46dbcf53edbf7db571556ea746a5b1713dc SHA512 40d4bec4a7a52a54b3be16e9fe52b8f2734c0f1e36bfa76059d5edb75339b125d70416919ad1c47df569f4abe6723470731bded3b7335c77b4967ea024cc7217 DIST bcrypt-4.1.1.tar.gz 26080 BLAKE2B 136a1de7e61c73314c4df3c2fc6bff4a2cceaf7e8b23ad535e12f46f879c6f053643e372a106ce214e3f999246517b1467ffb2ff546d9bd147b9150de68f6249 SHA512 a6acef147f0dfc00ede36c7e5138dbeb6d8ad2e458daf51a66a46795067e9e57d139f326540de9cd99d5795d6ff53dc571a9b30453941ce4ecb9d935406a4862 DIST bcrypt-4.1.2.tar.gz 26356 BLAKE2B ade0b4b059d71ae767142fff6e1d6af62f243ace65aa3c1219df72d88566cb7c512d0f610d91bea1ff0da02357d470d4c1548cf6cd1109269743152495b32501 SHA512 8e7e8c930b7fcc397f0bd630443b2ba1b6f5ffa6b80ce8e9ff664a7c80d8ff70ae818d7298ddc14ec4c842c121413e0b973fd99b66a7e913dbd51fdb2c79e808 +DIST bcrypt-4.1.3.tar.gz 26456 BLAKE2B 3e88047cc932bfc657f937dcf3af21c9db012cf1cdfe4a714dad6e5ab73f539e5d385759c90face464b2bbe13444ed07107f4f02f6f285d68d66d26fce372e8f SHA512 141c1537c25e15d9fc906e0f59ca8b9758a2e6cc302136521a5f82dc46b61f6977cfa6dea79878a47141cb64ead00c84157918ce0d18165e8bfea1a83462c8fe DIST bcrypt-pbkdf-0.10.0.crate 11032 BLAKE2B 9696f024b049c9d0ee4299e2086eea2d3389c47576d803d00eaccc530589c6158a845fc42afb1b59c3147ced8c9695220047fb2a4283723710011b00de511b3c SHA512 857ae23e1996c11e1e7375f18addffd60c6d02972d5856d594f0e03750065481f414addcf0c846e9f65d93c41982ca6fb3a464a4dc13fb56f67ca39e373def34 DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 +DIST bitflags-2.5.0.crate 43821 BLAKE2B 2d2a78b0a19dcb39580e6f73ed6c468b0626043010b34661084944c83561fe49db24bee1ab57fd692d57617be6506d529e095aea27b753a77e26d0b1ebf7ed78 SHA512 75d7a89e53e5e7582591932bc430e6a1db7ed0f914ded6dbcf957125be52975598df7fee14ef816f66544432ef0505f0a081f3794d17138ec429e283fe14fcf9 DIST block-buffer-0.10.4.crate 10538 BLAKE2B d819c4f9c4be85868e8b105fb7e479d2e58d3ed85c3339bd677a3e111f85cb1ff624a54d7802ab79a6e1d9221115f66388568340480fe83eae1cb448f19f5b11 SHA512 b7d436d8e627e16e6ddc300ee8f706a6cef28ff6f09eff848eedee46f84bdcd03601303c92ab8996042e55922866a59259948177c0a4496eed723523e77f6fdb DIST blowfish-0.9.1.crate 16734 BLAKE2B edb9ef86b168259d37ae74ca5f961d4a2f79f0bd83c64a157b1605655001a8e82a1b40b0e03a24719dd9cc273fd50d1ad6a406b47b1925a9c2c687c119bcae0c SHA512 e005212e2cd0233321f1e84170829c6e05b4f4e47b81342e0fef7e12ac05f09dc6db288b6b28ea2826e9d19afa49366b74b186f2f20db6da77b57f09e124e3a8 DIST byteorder-1.5.0.crate 23288 BLAKE2B 7f85a7948406844070a2c8202e0bd52f73b3dfc7c666a97046128044eb9352195afb80e2bf894c0742ad109e4473339de1365d09591de70dfec6c8c02a8e1453 SHA512 96caf981177f6ded9f27f025922cb94eb0cd9de5303bd91680099912d922092e77b7361efa70011e84f1595e443193e4f1b354443b9980c123f6ae573b236f7f DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff DIST cipher-0.4.4.crate 19073 BLAKE2B 144c45c1bdc5f7aef7f4fc63b6dd85955c453537567d1f1074e436e50d0d61f8413973cf3da207a48f1560ea92f2280fc5880569c78a1dd66bf97fd1d88ccde7 SHA512 1856d8b08bc3dbd2fa5c8b97e9eae43323c7aa19203ef3e80bb49cf15b5ddc832acb7b97121a52032656353e764f1f722200b638f7c28975fec1b5c9dc908846 DIST cpufeatures-0.2.11.crate 12727 BLAKE2B 5b91dffb779e437606db9b75d2b05c2de19069575a8272112e9a0389f5bd8de0f753cd90330b5a5bb6a3f84c9e794e96328664557db31c43853ba43097229efc SHA512 af179e269a4d5f48b50134a5e98ac541a9a0d6aa34f13fb8fd9ce8d5092352e1b322437254449ecb1bce608d8558b1cca2c79232ac1327efd887193bd1d36031 +DIST cpufeatures-0.2.12.crate 12837 BLAKE2B 5b518c58c548d9116f94cefc2214fe2faf87c3aaf3fffbb0bf4085f75372cf7fc5144bc3f827101a3a14a51363d06d8075db94ff5ed853ab2ccffaf597728093 SHA512 52742595702fc3371d4126fb355f3d7a6da514a94e43170f1db041cc6c560027f92115eab7846131dba1018ca5c72003ae36f945c1de88d57a0e7f66331623c6 DIST crypto-common-0.1.6.crate 8760 BLAKE2B f2422bfb89c15d47a8f91c8f6695e05eb56990a922e3cdf3d426044736f9932324c0d899a151a6df4d6683e6a6b21659c657d3988734014c02cd854bb4b924e7 SHA512 471dbc43f517089d2cfe0868e29510c6ca579875b3bb5d013c70796db969b609b6c4bb35c9a07b9a2917012dc5708b717d48e317a20038adbe7e7039bf3ada6f DIST digest-0.10.7.crate 19557 BLAKE2B 61e69d78cb8d6850ae26ad7ff2d52dd6dce820d8c621230def11cc0e8aa6d883a6e1b25340fb45748db52a8ccf3c8d36a8aa0c8cdf4d4eeb4e3f870d86abe09a SHA512 0dd8c012468ab9011b89413ea4d3647d95b1f683b020a0e6274c95ed5148638b56fef19cd9044c837ad53715b582b88eed277fe96e917c27c5d7abdbf7c3794c DIST generic-array-0.14.7.crate 15950 BLAKE2B e74c785e3127095625951da192a018281ea9976aaeb11019f9088c3f27748c5fed1ef25d577150864486dc48b5138d6892e42f99979339f711a66fc70756c82b SHA512 363a7b04e4102f9ca63d429721c1ada6272be6bf0a2e97da681faf76381f73f0e3acb86623b9ce2dae441de9fda704088391779b9769ec02b3c8c9f9f35f897d DIST getrandom-0.2.11.crate 35391 BLAKE2B cc3af20769f8effebcd6fe4f48bb762211f78cfad016b796ce4b6b83a25d0a758ecee4352af18ef97e84c17fb4efb0c7bf113b53d2dd30eaa32067fed97978fa SHA512 2230c219e1080b4b13f207bdfd54b1acff37d9e5fec5263ec9952df9c0279939b231c722b54524deab85002caf1047a471f3fba8090428d918e99d53edf82345 +DIST getrandom-0.2.14.crate 37307 BLAKE2B 5904388869335ea904d950ee83ad1867a0d3f6831b7139102b53f4bb4a2c12371c9396f1f1cbcc44e3ce69a4ea316651b1674722071bfa7562385ad4b6a88c33 SHA512 6c334415e09f570e3123e3c6c6eed1727533ac6c9c4142e16ae995c237a16effe146832a891be9fdde4335bd02b454e0fdd9160f20dc02f107ad106756221658 DIST heck-0.4.1.crate 11567 BLAKE2B 520aeea740cfa30b0cca12f73594ffa655f32959673b1c9caaca1ea0162e455546ae3033881394c0ba0516bcd5c9a997da02162e1585522d665813b9096eabd9 SHA512 8c80e959d2f10a2893f9a71994720f90747742bb5b61fc0a539eed3ea5679b140c48fd7f7690d7122cd6af5f7f20a19d412e3569fe741c6d31f6b2ce1e0b80e8 DIST indoc-2.0.4.crate 14311 BLAKE2B 8d604e20825ae64530014081c627abe4ecec6447e1e214408743aca79ed217531baad4bd7021137ae6628555d769a248f06acc556cc3254d2626074aab110a44 SHA512 ef1b8d19d89d848c1133f2865247e0ce23cbe5552454805910ed0478ac4acb11b11629aa4a5ce8756d0ed5cbc0644abedeac0246f433166c68f47cf58cf4487a +DIST indoc-2.0.5.crate 14396 BLAKE2B fe838c6a855d6ff7396675a3fe9b2e0b06a93cfd4013b0b843d24d2fb81f6566528bfd1753c649646f06cb7e59262bd6ec3ed79d4e6f01d740cf0682355f2e5a SHA512 095fb56a3d87946c42a63065a8b276c2d4b9b835800014b400bb987593bf56701bad9f55d947f090740fdb7641a4f3c87fe8bfa5724709e95254d1e8e2e3616f DIST inout-0.1.3.crate 10743 BLAKE2B ac2fa5cadd98088ea3f6eb94ca46b3a9ceb6547ba49f0de311d86474d71024d1a087ce9b8d44ec808008db69146e9c81446bcfeebeb2fd74d2e8d0ad2c4975ed SHA512 1db5bc2bd87aae145b3b0be6669a9a722df2aac8f970fda210aaf945c372e641b941cee822917926dfa1ab8381c6e99cc7df4b18d2f4e2fbef17fdec36ed2beb DIST libc-0.2.150.crate 719359 BLAKE2B d08e17fb29992c76337bb5862cbc1cdaf7b9d7749cd65021f145fcf49fa7954d6251c8c2f3c9a796b46283c3bc014bccfd259ea52824459841911ad847fd7f5a SHA512 7ae8fe6a1db38ac6d951c0b4880d25a02f064f5e61d6057c20f7208dec8395d58efd085e41857bcf5f4da2b014d2952dc4ddaf18ac4acd3a23675bb659e70385 DIST libc-0.2.151.crate 736640 BLAKE2B ba8ea6d22b0eefdc5c1c5ee9fab960b6ea0eb7098a21b032563ec78b5d6e2a8f1d7ca4d5bb721c71de2c5de28e105029f229b9b03cd5168c78a65c7164e6d07d SHA512 2039bdfd704c5a876ff7d609622bb968260d6e0fd264ca457e92b75660503eca10e1ff21864b3c919d2656de521f03ef443895f5c0150271ae2502857742b0ec +DIST libc-0.2.154.crate 743304 BLAKE2B 25ff132ec29b78dec455f0a1fc9fbfc744ee0d6eb410aba05ec6b1b08af9d83ec61e56f840f86cb833f590e8cdec7f67ce6e7b630ee227a36581650c81298b84 SHA512 891a36cf153a9f4d58793412c104504c57280994e428ce8ba208673a924b2de38cc21eece09b91696eaea3b2359606dbe9f1509f9bf364bdabdb366ef2dd0f61 DIST lock_api-0.4.11.crate 27487 BLAKE2B 87116cf908f7f1f9c300cedded989df305f855883e3df5a482de2c76814c48739582d3079d76a2bdd14a6999204b7fd31dcd8fd06d1dc7f9418f0e2f70a1450e SHA512 9946adf313a5c67a0dd87a1b679b7d9d16a86149fb95974d3f28aa57a9a1a3932e4a5ee1d332097559329c5e3b2295be2e4b655b115d9f75269f33a758b17fb3 +DIST lock_api-0.4.12.crate 27591 BLAKE2B 4504d146a114d8f8e1fe9ae70b993c713cbfe884dd69c61c54dec978733b95a853c3e5af26f237e48ebb4ee9dbebfce0f6c06067f74a3d122e92f5ace40e22d7 SHA512 525d971f495449bbd02eb70fcd84d4aab05ca582142144a5f314f9aa67ad4c5b4c98dc919a416d0ed2e555063eab037a441d671d56b633f2cb75dfab5d99bcf7 DIST memoffset-0.9.0.crate 9033 BLAKE2B 19090c1af8b8cf54a2cf7593748aff4d3dc685ec7080aa476139c1721ef71555495e1bc513b1efaddc7e7702f83e0e1c2a8f71ff40009d266539484c9297e0ed SHA512 2f04f9b6fed31e94388c18162ad275897a835df7b9ac827f4df0f4b0ecf71064ef247f7ad11dbc27d7a6d448984a0f29d1c000e3c8d5fa6e121fa9571770ec55 +DIST memoffset-0.9.1.crate 9032 BLAKE2B 0aab55fe084134bb599c52d77c96400db40949b1013e7037747ada4fcec8dc4a124b6f3755f04b36e057eb2fb4a6bd6f07d6eebcf166f8a71405ef434d802fbf SHA512 3a236c0f481e36973b9f805e454c2efe4dd375e6b4ee406b57145136c70d5fbf4e1183d563ebf3b5fbde7363bbf5f08f0d88e507aae5bda4cc75664ecd0e33aa DIST once_cell-1.18.0.crate 32969 BLAKE2B a08d5beee50a7add28bd9e50b18709e7b34574f0f55f80909d5efb7ac5917e5f30bdcf3fb43ddd0a4f420a427390c7ffe1cc1c7191a3a1d939bc6e3139e6eef7 SHA512 9328968afdf3535b2d9e0113d75afa725259d76994ef2e1948ad7efa4ec8a65bac7cfdc31b749d5cd55ad4e28d2e28ac57b871e3067b89182453c7e2413a13b8 DIST once_cell-1.19.0.crate 33046 BLAKE2B c14b374eaf4ac0f60acc2e02f7bba270a0e8e0a6978d749cd3cb0ab3eb26907e4fbea70dd5132982f90290381ed18ff8a87fd530f1415fabffac864f157ea380 SHA512 4154876afd34a699ee650d1a8a1c5ee5a25f0ebd9388b8bef2564e33629fae68f113d7507488c68abbe7ea1acf9bbc41813cbbf3ef3e464e3f3b9cc7a51d870c DIST parking_lot-0.12.1.crate 40967 BLAKE2B 940a112a066e3cbd15e2f6df89bfff37e4ece2194118618a96fa14871813c91798f93181ab0f768d3e1f3d60805508f216724013afb7e3da95678d0d951a42d4 SHA512 07327d3b737a913508dffb66023766348ce7f9d555c224a099cabb05baefd16a28e15fec638e3a148a5169dbd980c4541b0f8820ae9d06dfe0704482838fbd5c +DIST parking_lot-0.12.2.crate 41723 BLAKE2B 7c9a4f483b09f4e4bb25fc758c80e8259cb02960b791695a061fe595cd6ed9b13f62903513cefb595bd633488b23254dee054a98282162fc4664301ce04853c0 SHA512 42794b06d410771d1ffdfdd4a9cab136cfb80cf95385876a580fc45739fa41f0769adfbf16be54a9a931632e02d2464278c5395092a1d6107703875e9ad112b2 +DIST parking_lot_core-0.9.10.crate 32406 BLAKE2B 25339d028579eb45a957ae5fdbac00288b1472d784c0aa7fa2953fcf9279c750d243ce69744993ee8cbe6899633e71e0a54ffc11e39247755685107f2f8dea54 SHA512 4f30fb60ded274d3154ffb00f6f50ac284b6fb97daebc1a2ac897ce97fa8e2ec6ff30cbdadf3b7419617a410fa7525f30ef5e580334e07d4420f4c0200a57389 DIST parking_lot_core-0.9.9.crate 32445 BLAKE2B 811d8de671bf6e0911cf0df7dcaee4fb03a3b223173a3bb8cee65a28724eeb7bac87f62aa7b1df5ea3fc93af3cee3ef30b83d06c6773d6b856a7e6fa5fa197ea SHA512 7f0df70f9f1ca8d3da0b9dcc96e49daf05d95c3a995289266b5333f68818d686d32b0c733dfe3a0f62da78fa45caa843a963923b2d0c80899c33413dc749c032 DIST pbkdf2-0.12.2.crate 13906 BLAKE2B 062731ec8623719543e497dbfc23b909c8cc62a521ba927f5cb628290c1b3898a0b6ca7677d733b2eb0c563d7af4018981f4ae533b5b3a23c312ce98119eae6c SHA512 5360a661db8ef11586badfa2623dc409e34f3e2f79254cebcb5fb68bfb20c3be47def7bbb16f7779facb42a92bb789cf0e71947d1c4c6f5b1ecb8d358f6b41ef +DIST portable-atomic-1.6.0.crate 140689 BLAKE2B c91d06e04a87c9a207233d8a850859aa1f5cc43dda8aed34511c3fe9641c27412796539ed045a58e649d2a0c7d71100b6b2d78a0c662fc061fd961a652ae8722 SHA512 b27cf57655a2f1e2d6ea7b45d80b4f9920a836e462f132c50dc1e4d314e162444309de1baecf45dad2defc7a5b99759165e54da9fe759b24092f8cb8755c515c DIST proc-macro2-1.0.70.crate 44343 BLAKE2B fff0dec06b21e391783cc136790238acb783780eaedcf14875a350e7ceb46fdc100c8b9e3f09fb7f4c2196c25d4c6b61e574c0dad762d94533b628faab68cf5c SHA512 ae9366856853f7d96caf7a7581843d36bfc7843f8683897b19ffc666c03b0b1eff502ddb18ca4c1c1a239a368f03f6cc258b0e2795f64b61c6a31404462eec5f +DIST proc-macro2-1.0.81.crate 48233 BLAKE2B 94319064772c757b6bf57eb9e759e827454f719d82210271ebab9c6ee4ecfddc9099522cdc8595123efe2efb64fd50eadd7e31419c5842ff1cb8fdd32e8daa0c SHA512 7edec4b786d9fe076ced4fa5c0d369c163fd1c27c895431245a8268ab2e16665b7c0a585552d46ceee6b8103979a4201f92abb381f0e678128abed359f514de7 DIST pyo3-0.20.0.crate 431766 BLAKE2B 104bc21ce2c6931753ca0c7b2d91693f454c964260ca3c4628a899fc8e7edbe4238db913ed7356f3beff154d88a60a17c0e252b655768e75483e1d9d9b86f40b SHA512 85d9533c75f905752c62f6a4898582ae48daf085e287b44949c47260301205a5f00477927877ce46300d2801d22fbc04a958c058a37eb28374c834fff27feca1 +DIST pyo3-0.21.2.crate 504574 BLAKE2B 1b8bf374d1b61e3e4bedce6344338126051a6d951ea87d258e5ed92d4c0e13b0202f2e7e56500277c54743dd16c9b4587f436cf2058567501c8a9ac7c6b6c17a SHA512 5f88cda423e82b62698a74ceaa31fc27e5c1f1d417928accddb2e00337d163fda622f774ae6e24c1cb73c467d6b01e9a2ba866e4454338b1fbfc892ae14ffc53 DIST pyo3-build-config-0.20.0.crate 29534 BLAKE2B eb1d5f75276533483c52c6fcae49b294d6d8edf504859dae18811c1ef695dc6d0a055f2a34bea305975e4c1492c312433d2dcb7753484f793376c62cd59c8e40 SHA512 a01d06ebeb4b9cfe6ff6731046101e9437498453ca5aa68ec53df3bfb2f34665a489f8072636c2da16c1e867f536032fd293f05a43561117fd131bde5fe5aac7 +DIST pyo3-build-config-0.21.2.crate 30581 BLAKE2B 993c1f7f15124336b70570ed3949cc0873c2b883e81dd3a350f347cf014fb9a82d487197fdaf475989b727b7ee8d9a5511a72422f76126b8788c4f40831baed8 SHA512 8b6bedb31235de3dd95bca6e19ea4eb7752227ceb9f1c928c4df2b277df5ee443e5c262e448012e4e54e3104213db4d745c9c42f79ab3029dee68f48ec3a2795 DIST pyo3-ffi-0.20.0.crate 64220 BLAKE2B dfe75b9459b4a564d1dd9f907166b76d00c5b50ba027db65d11540a7b993f3ef4e19e574135b538635ebb9c9eba66115c09198c7b6071b0b82fd94faccb1bb63 SHA512 a68f0b1380f2ac3d3034ac8b3788cd6573850137c6678694cbcc3e814b619510b9b21b11704c2e702d4eb7433d8b1d3a6dac663501b6db5197a409407802b714 +DIST pyo3-ffi-0.21.2.crate 66160 BLAKE2B 759622fa3a41bcdb48170983c4e194898415f8db16a7c57ace89a7945bd47374d9a14e5ecf24e80a178bde597cfa30d41f9e6617b458d365640bdbda048e6f6e SHA512 5cbc9dfb14569210776fd66341e77e61642a9920354251a65b91aa13a0fb1c373258d1a6b4f8feacdc4266d472193d8f20a6dd2cc180ccc3d43fb66237ae6d0d DIST pyo3-macros-0.20.0.crate 7678 BLAKE2B 03fdc0cc9c735086ca2d27e0bcd197e69538c3640ba7f87bc3d65907db374ac7283f61bdb67a1d45b66ce972072ddcb3b1daed4aeb9a66100d11bba6515cdc86 SHA512 79b61f55010dad60dda2c5061c9736bef3f6805f28db230726937340a5c40a3fcfb727a0db7779c3eb094ebd45492f7af4f40a3fcaef42f160989a8ef6174e7e +DIST pyo3-macros-0.21.2.crate 7920 BLAKE2B 60ceb626fd1ffeca7e81ebc721bb4cfebd99bb708d48bbfdd296b250ed41471f82e8657715e1f58840423ac11d8c5a84a6107a7037affdea4e0c2cc561514ed7 SHA512 95335a55d57346107fdc7591d51e36aa0a985d6c44a875475a0ed52df25d33b21a7b922fdab0eed190da9708968e79f7cd50bc683b6d210eb068713a915ac7f4 DIST pyo3-macros-backend-0.20.0.crate 49383 BLAKE2B a239042abdfcf5ad38505b57bc6b858ba346bf8681e24acf2e433f53e4a40bf0b28928b434b96f596d12acbb602b14b7e1bbf4be1e5789e6d9c754368db00a1e SHA512 c823caba48b4a30aaf84c23f80934f0172f2c76a41b538b69ebc25afcb61611b54b8fbb4ab6cac1c7a78b4e6f9f909f22748a2cd279b508d3897b74b17021d56 +DIST pyo3-macros-backend-0.21.2.crate 58088 BLAKE2B 05dd49983c8aeddc47cd94f6cd58f10e41ad6f4ec57006908cde4fe3edbcf6814058d7843a88c9dbeb0824f840ad3509414c52e47fffe5ad4b730f791c9a3f19 SHA512 f8488ba0a68f1ae20d053e2323d065f03b40c24231a50b05205b100e973ae50bc7bb9c25e4d37df56f4cfa73d2001655ce9685078d1017a4a90bd7945c01b833 DIST quote-1.0.33.crate 28090 BLAKE2B 77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d72851d73768d491c56c6779a0882a304c1f30c88732a6168351f0f786b10516ae537cff993892a749175848 SHA512 c1e76c3c017e8554eebe309f8167fd56fce931981c06798aa85a0cc6d64a9cba6ab103f5a1324e69c6f9ca5dc47a8e31ff2e847850542748697afcd265b5939c +DIST quote-1.0.36.crate 28507 BLAKE2B b93495163ed205e33543ed45f084870240d479071d643704b6e348fb9ada6e1d8401893c13348b9964f4b6b17ddb96cb5458eec540f0d761655fcb96a4cd9129 SHA512 f1f002a912692f7ffd4912ca980ec57ff4aca3a7d9e2e42e9e3409e2105c9f59d86c05719f6af309bccaef2f8843b0848a6e3afda3356e045d8e7cc5956ae685 DIST redox_syscall-0.4.1.crate 24858 BLAKE2B c3301137a0b84e03b09d28dfa377ab3bea74d574a08cee21d35713b278d8b5b30ca2a1d73a0981baeb4644cbb88c86c8eb15ab3bb2692e38b93e6b35fab4e0da SHA512 073ed9d96090cf46eab9877742277a013c62d8da86d9caf2310b4fa868af306511936553579e01309f27067d344226cc8dc5e3aef01d9b900da2febd33848f8d +DIST redox_syscall-0.5.1.crate 22536 BLAKE2B b7766fcf35dd865fc98495f60da54ca9a6b4cff007f4323d1c63de5d1152766aa5517139b5ec50afca39d934360c701a180c4516feccbc2600085d5d72dabd2a SHA512 0952b5f4f79f2cff04b4c21d964df7b56bc0cbff8d8a2a9a7d38ba66fd69cbd0fb004cd3d8ac6feadde8d9590858cd7e1763da7e4a5de840cdef42b1b6f1e460 DIST scopeguard-1.2.0.crate 11619 BLAKE2B 8b7e9ed6cefef9ee55407fb9690d57a2a98bb93e5105aeebdb475a52485e9e185255249e1dce8f83cd80534e7402d485aac3efa7e8493b13135de27550cd4bc4 SHA512 6247719a15fe1e4e2d179127b9a934bd2f99367724f41175ed9522f58824b6bc69b35002eae66b35880375ff61d77ac43ddaa78cbde7160a35183a1da32d3fbb DIST sha2-0.10.8.crate 26357 BLAKE2B 1d01b381223a931dc631ad3a1191f5378b1d2f3f9f20474c5f020e366624c73b08330ce8dc4bdd3e63b15f647276f533de655b545b77f70fbedc1a1846f44f0a SHA512 3be73133a6b7690e14acaead47914dc92395dca4191fb657a2ea186fefd0ccd94d12a1121d63a26027d9a9c62b775c53202473edc461587b9dcd75472af77785 DIST smallvec-1.11.2.crate 34801 BLAKE2B 58645e99db8f02db64d02c75860c7ea41836c427c03ee3b0b23365e73a406e4fd6ac312bf13fc5faef8bb6111c10fcfd5f839d5b3686e9b34d1626f8469fc327 SHA512 5cfb427c3b99b0dbd71f6154ed899abcde9d7d2992977ac7b2ef3a4c3ff51e4efafd133071a69609b4ed6cb269bdc26b79eb72e1988f10dfcaef8185d950cd1d +DIST smallvec-1.13.2.crate 35216 BLAKE2B 31a268aad595c06cdb078577a97b089dbea156a0df307a3e6aaaf4861bd9a680c5b11921da9dbdb1bcfe17d58c0cbede1ffe6bba3aef59b384fb1b9703c62d27 SHA512 a97c758b668e40ad9eb572e65feeae4954e09200a04ab92e26a13b48894381cd3a3d2571070c4b7a5e181182e1ede9688f990650342ec69ecfe1a264d234c679 DIST subtle-2.5.0.crate 13909 BLAKE2B 660c3a472ca54c9843ce3feea74b802e27fd7f62dd37a30e2a4ba82e4b3a71df63562e8865d5fc675d31d0900998a8730503f91a61450884446a3bdd6af0041b SHA512 f150b1e2037554f8cd3213a54ddbc258f8f670cc4f39e7084cdea4b47538dbc58b834bc93b443d58a4b9087224efc003234042aaf366687dbd32b1e7174082a0 DIST syn-2.0.39.crate 244129 BLAKE2B 2cff6626624d03f70f1662af45a8644c28a9f92e2dfe38999bef3ba4a4c1ce825ae598277e9cb7abd5585eebfb17b239effc8d0bbf1c6ac196499f0d288e5e01 SHA512 96cc347cfdb0f9ca0b6c7289279a1cad8fc401625783742292564f7ceca8237ced8d9a3f62069696f6132ed06092dff2baaf4be09ef53b21260d93785b0e27c3 DIST syn-2.0.41.crate 246016 BLAKE2B 9d389f2e2a0acb4c84c309456e8ffcc88c5d4d541535ed136832d7a6054dde45a598bb68e8a6f3062ca2a96e1ceae947d54b3aec9bad65b0c51d6733aa6c80db SHA512 6bbaf69ca783025dfb81ac3612ac60bfbed31b2d87792909b35c12892dadebdaff2ddf9463105e536b671dce5870610ab90fe29471284bbd3014dca8d6993f1a +DIST syn-2.0.60.crate 255808 BLAKE2B d7a8e415dd72267fd92da48ba8b3e6feb728f0639797db1aa74aeaa2a57935b7565eec37cbd32eec826154e2c54075b121737369eb15af36c322c34b3cfd7930 SHA512 20bfa02b03c193672a9922f9a5e196185341e082a262f7c00d7c2d467d9e2d77f4af3994634923cfaeee34aa9eab510415165f052ffd9b1ed0b1b581e272898d DIST target-lexicon-0.12.12.crate 25156 BLAKE2B f3803596c75f6c89438592a1176c3748fc2c0524d7d50a20056de1cd26d40c572b05bafcdf6dd702752864bea37c8b4f28f96dadc12a5b3bb1d279b25e489f85 SHA512 6147295c43ba1b7b087a3c5ab51534b2985e4e77e5e15687978cfb9d07e21c4fd9bc7191576d6cabd268d08a44dc733c4a957e59dba8b948c2055d8bb433aeca +DIST target-lexicon-0.12.14.crate 25508 BLAKE2B 5ebb6b49e5c3b0057959557651287d4bf5ffe5b499340019ff64d5fc3b64e780e344982e358c94b1b25a20bf0f526a584aeecc704695b50a55cc268dd65edb97 SHA512 3410ecc0faf854f49c41c99f83972960e67065b1e0e78557a7c4996d996109bfd167d2121a019f5256f996c896cd45af032038ab7918fdcc6ee6311693ce951a DIST typenum-1.17.0.crate 42849 BLAKE2B a6d1162050679e2c4ab2467f3a77d301f6861882eb7c9749f31d047f383dd5bd2ed5846ad63eed99ccc04d6ac36cc697a305861e1d65880b4d2ef04ee0a79b94 SHA512 99773d5d9f850c0602db4bb67dd062b0ade6f086e155216f1bb2fb6569461ba7e1b7c2f2af81ea8833bc3bfcf3fe5033edecb7c438adae63f59d3e30cf63a508 DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 DIST unindent-0.2.3.crate 7306 BLAKE2B a57407b117e99c230750c7d4a2a0899586c8271e4ba88ecb409c976905c014f42885372c234a75fbfbedf71dbed779f95f735975d150adacdcb61152a49db4c2 SHA512 2f1eb420ea3653b00d3e5fa0c2c105da8fd8a37cb3e699373c168604b799fccd5f0faf0cddce4212d119c2afb0c86b41efc3a50752b83ff7beda2bd84d360505 DIST version_check-0.9.4.crate 14895 BLAKE2B fa1fa4008af165bfc1fdbe560488afd9d232cfafee94104fbcc4cbc52f234849bff9ddfa88109a1ac682f6d9c1d86b0459893d223f64e65adc08966aaf93dc89 SHA512 b172dc9a3759a4a683ffc39b9a40b03b9974b626a088217de87090466cef695226557c226cf3e469b2b25ee7297b7eb0d7719878cab42457f80146a81943c0c8 DIST wasi-0.11.0+wasi-snapshot-preview1.crate 28131 BLAKE2B fe501889f25d65e2d032f885cc50c4f8bf7dd70fd5cbc438de349838370d8699e9627b0a4fc76030ea9fe6d508f41d0c9928a875fdbc47e73bfb17241cf7b155 SHA512 043500ab28cd9cb779475255da5d109ebab7fccca72b64873dc28d77bc5a157ba8d96b9e8f05223b5b36c7089bb7b4ba87657fc69bac16b78972f897294a865f DIST windows-targets-0.48.5.crate 6904 BLAKE2B 7396bb210f37bd51da86f39fca3425c8f6610721d5c4e94f9fafa0a8a8046303b3fcc6979146bcfaa32f4406d242a0455f6cbb220f84c6ff84650e755acf5223 SHA512 e079eeef255a046be7f8e6a31c14f7b230254ebcf05eed2944827bb3d2a0dc30940d87593cf544d5e7ef35f6312b99430efcfb01421d91b02bb9c4bef7d98709 +DIST windows-targets-0.52.5.crate 6376 BLAKE2B 1d39fd86380ab086c536d88e67b60956410b345790ccea62a25e6a700757b2a9cfa6dfeb7b86934cf47b981ea2e5f42dddf49780ad9829a551dc507fcf108641 SHA512 d00d7bc7eec3c10272e803ee5c9ea0d9b07c43311124dae975b4f5aae7408c5f2ccb2fe6e68228ea3d4e70b6b658382cac6992ea177f43a9cba2ef95c4fda0ee DIST windows_aarch64_gnullvm-0.48.5.crate 418492 BLAKE2B 5c6f7d73ad05740f0bac304ed1ef9b2ea63b0d6ca8f875552ae299a0b73b1557e8fe996f1c2b69be9f2df350c9288690f49ee62239a2896991364331d6c55462 SHA512 20158d31454488f6053d3ad7b97d7fc6eae6cf37e4ba0e50c28bd29b368505eed64199ae31104d5f97b66846be54e5ed25c0ad31ea850819205c573a31ac0996 +DIST windows_aarch64_gnullvm-0.52.5.crate 433266 BLAKE2B dee1b69cdf1fbd4143136909e4df3adaa7b80d7630a01ca9a42fc5ad0d5a4d9a9e2873b43c6d8e55de59f237d9199fad0768c4e1cda3b1e5354847bd70d4c79e SHA512 b4cf511025458fe30d5b11368af285610e1654a8986ea9f78fa81b8bb87d38a00c4869441c62692534df66d06baf14c8a4d17f8eb06468eb260b99e2fda6439d DIST windows_aarch64_msvc-0.48.5.crate 798483 BLAKE2B 60c466d6536426425a34b5ca20da97c8127ebeb4fb9b1363911165bada484f8913fcd50e90410b5661e0c27dbfe8f4eeaa62fb17d1f3566bfc82b6255e11619b SHA512 223f016c6f1a44dbc5c8a8428b39438f75380ea06951b7c26ed0877b19d79410c6fde5e4c7f2c839b6e76159131f39a1230e0e3a208dfc425ba9117e3665c4ff +DIST windows_aarch64_msvc-0.52.5.crate 827944 BLAKE2B 3bcb16d527be1dfdf18a9105ab259a064f00e949937ca423c8dcd1d2b90090d85aa7e42ca6ccc50c9baeee1aa144123d0a04643f9ff1147e62b2fce28b8a697b SHA512 c8974f81e37a43d92c4a8b142705e36b7acc58d9150d80ffa3997433da878044c467a2d9167ba792d37a183a0082d912500fea8c8fed743f395b63ca62a5758d DIST windows_i686_gnu-0.48.5.crate 844891 BLAKE2B fdc37cd74a4982056bf22fdb7b84e1c55dc838f3cb19ff3648730a77e673ef4ecc0380b3e4277bb8df2fcfa25f57b69014713d9e3ed27c28e19b25b3ea2ab774 SHA512 931ba5c1e4eb8ae73248e00d9611298d1c4b4b0dae719fdeb9243930cd420a103a7bc2738e0a4887c42c8f25728d6c5d64ad141dc092bc3f1d0f35dbe37d303a +DIST windows_i686_gnu-0.52.5.crate 875699 BLAKE2B 528ea431d080c5326e4c6ed316d9ea3e38b40c2e1322a12a432506a2c11555a94537661a0941e90c20eff4a9ce42c12539876dae6e77a1df18b522529928b309 SHA512 cc3e0362fb62dd5e8a855bda3be0177708ec8629ee9685f1f9aaac3f71a8cb082387388bdf49b09d3f5ee24a636b0b4f933d2c8bb75db434ee0192c8ce0547d2 +DIST windows_i686_gnullvm-0.52.5.crate 473064 BLAKE2B abe41ee330c05ee1366b3a835d15c6db3964ffd7b340ee69d215056b0d4b65c67f2782b0c04a55db64001098de87c93e2d447e25ef2a27f2cfa6685b8cf20c88 SHA512 da45c882248070911bf55698f62c245cb081a23254cdcf578df053905adb9117454235e52dcf1dd97c0d2248f92ff1d2fd3e18844a7be8d93ba08590c1eca22b DIST windows_i686_msvc-0.48.5.crate 864300 BLAKE2B 3d3ea8be55e2d6ced0eeda18abe1dffb925a1a78f456d683e4450d9f2fd287ad2e8494d65b2b770c677a12b3a60d10f0435e16c61880e3867c3657fd44892442 SHA512 70e2fb4fdb006a4cbd43ab2c7e940b277a15fb1790dfa2d1fc1f1fd18bead4886f6dc046e44326603e4894d988578917b8932aba5d9a6a4cc8424911cad9dc7e +DIST windows_i686_msvc-0.52.5.crate 895404 BLAKE2B 02555169f8c5b944231a877de8693fc871ea0d7d33f52f60e164bacb35cec13d463af07c57fec4667948047cc222d8bda7f6a0be01a07e7184b69e4adc2b4577 SHA512 08c96f8e9385ac121549bae8ed228741b32004be20b2955d163a98d4b62af464f1682cb813681fa22823d20646f19335cf0a66203a876b105e119e05a4db0634 DIST windows_x86_64_gnu-0.48.5.crate 801619 BLAKE2B aa7e7e6a6ff9f9553ada3a0a39a9aa798e9d995a8eef36e0b6fdb2a0db93ddecee5548970575271fe43aec74797a420d0ee231d503b5bad1bd999059261e0e33 SHA512 1d6056fae430b3d042bdff3c6217c76be4b8b9f5dada9bad06beaac2db7d7ab9b0a82e44f498ec88e61afa73e99f56d84d445dc3847732b9ce5d947e08485f74 +DIST windows_x86_64_gnu-0.52.5.crate 831539 BLAKE2B 54f84c19988addeb7cbbbddb940e430e7345944589419592b99addf9b83bf6d801b18f4e80399b85bbb0b0ccf4608e36d9a50b79d8b1d6ce2b93745856e06eba SHA512 d9bf91765d02d2727344e42081f4bcfa73be97991495126f7e633f27e56a261ada3a8b865a559cfe71f9bc9aed5b14504f89138796766937b3521009726dfab8 DIST windows_x86_64_gnullvm-0.48.5.crate 418486 BLAKE2B 12a2199d434617c1df1a839e9f435620ad64b40c579f6d0c3677553ad7a48e5765d12c266b04946402e15c92cff2e4ac4979ce2130750ef426e2672119680284 SHA512 c016d5b5e73832b61ff67929d92fa8c16e154656294357266ad29ce1f44db4ca2d2935dba31a6b571187dc838b1d22f1e3b41fefffd1d719a338439adf1646aa +DIST windows_x86_64_gnullvm-0.52.5.crate 433246 BLAKE2B f34328a6d100e092ecb34a6305daedf4fecd71840432f104e8707f049b60d784584ce4f02fabdd0281fdb8bc7ebed34b38fdacf3be9c8abd60084e9a4ee9fd56 SHA512 22a978c40df9705cd94e4c52f2b706e477e667b564c608d0adb144b38cb486c279c09d1eb1dd2d6c7bd3401b75a2dc5eafe0f7d642ffe6453f394d1f59483a08 DIST windows_x86_64_msvc-0.48.5.crate 798412 BLAKE2B 8abc0721e2fb337fe17c91d278947d36122d9045b839ba0cf3e690202d242265b676f23cc301da5f9d98c56ca4ecb76f7d6f072ee71bf986a1deca87020b90e5 SHA512 fa1c5cd14ca2ff0082e2504cf59d317dc4dc6f7138d35c12f95d4476a9c13d8b7f5537d0ee251eee7c99411ad31b22263171b7fbd391daa5d3ea3488ceaa61a0 +DIST windows_x86_64_msvc-0.52.5.crate 827905 BLAKE2B fd5dac198bfbf29878cb461a7338c289c9af16ea80b3e5fa567980d2a6a5ea6a1cd83729ce6fd67e4da171873083dbeb1d6e16a287620f0245201f9cb29c29b4 SHA512 81176090dc725d7fe3867e6322fdc4a4065168580847b35e6f8da345f685c4f66a81e35cd1880dbaabdd4cdc82446dde9d6a0e583cf0b7fe47dda8bc8002f1c6 DIST zeroize-1.7.0.crate 19039 BLAKE2B 2f94a5025f409bd2b96a456d2f78a34c6b05b5554abe7ef3fad2a55a8fcff8a6a1b971be660aa4c2954ab7d6e89bebc431036e349edef74711292f9f64b1dbae SHA512 9d31e3e76e8c861309a3579c21f6da5fd6b056c7d7a350427445a1a832e8827204804783f7f9b808acaa2148efef883d9078bf84943b1db55526bba5bf5a2756 diff --git a/dev-python/bcrypt/bcrypt-4.1.3.ebuild b/dev-python/bcrypt/bcrypt-4.1.3.ebuild new file mode 100644 index 000000000000..8129d4bf61a3 --- /dev/null +++ b/dev-python/bcrypt/bcrypt-4.1.3.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-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..13} pypy3 ) + +CRATES=" + autocfg@1.3.0 + base64@0.22.1 + bcrypt-pbkdf@0.10.0 + bcrypt@0.15.1 + bitflags@2.5.0 + block-buffer@0.10.4 + blowfish@0.9.1 + byteorder@1.5.0 + cfg-if@1.0.0 + cipher@0.4.4 + cpufeatures@0.2.12 + crypto-common@0.1.6 + digest@0.10.7 + generic-array@0.14.7 + getrandom@0.2.14 + heck@0.4.1 + indoc@2.0.5 + inout@0.1.3 + libc@0.2.154 + lock_api@0.4.12 + memoffset@0.9.1 + once_cell@1.19.0 + parking_lot@0.12.2 + parking_lot_core@0.9.10 + pbkdf2@0.12.2 + portable-atomic@1.6.0 + proc-macro2@1.0.81 + 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 + quote@1.0.36 + redox_syscall@0.5.1 + scopeguard@1.2.0 + sha2@0.10.8 + smallvec@1.13.2 + subtle@2.5.0 + syn@2.0.60 + target-lexicon@0.12.14 + typenum@1.17.0 + unicode-ident@1.0.12 + unindent@0.2.3 + version_check@0.9.4 + wasi@0.11.0+wasi-snapshot-preview1 + windows-targets@0.52.5 + windows_aarch64_gnullvm@0.52.5 + windows_aarch64_msvc@0.52.5 + windows_i686_gnu@0.52.5 + windows_i686_gnullvm@0.52.5 + windows_i686_msvc@0.52.5 + windows_x86_64_gnu@0.52.5 + windows_x86_64_gnullvm@0.52.5 + windows_x86_64_msvc@0.52.5 + zeroize@1.7.0 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Modern password hashing for software and servers" +HOMEPAGE=" + https://github.com/pyca/bcrypt/ + https://pypi.org/project/bcrypt/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] +" + +# Rust +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/bcrypt/_bcrypt.*.so" + +distutils_enable_tests pytest + +export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests +} diff --git a/dev-python/beartype/Manifest b/dev-python/beartype/Manifest index b16e98d410a2..ac4e1728b94e 100644 --- a/dev-python/beartype/Manifest +++ b/dev-python/beartype/Manifest @@ -1,3 +1 @@ -DIST beartype-0.17.2.tar.gz 1133779 BLAKE2B 61cb21511cbf9274e6e3eb1441bd32eb068b722c4fec1accadeed7aeaf8d26748a4b0adc79e8b9c45bfa8048ccffeef8e2e3506a2b651612b8fcdc6bb6c2953a SHA512 90953abeb80b512a0e127e24f7896b350a243d8593a3d9f0b8508f0e5e8595a8b85a8b28326c2c15dd12779adeb74d1b8637cb646b1e27fea8c95b8d4811d804 -DIST beartype-0.18.0.tar.gz 1173664 BLAKE2B 8c5a1131ccc06ef43e354ef9300ed4f170a8d7b9df4b435345c7e5ec4b7637c0b605c525f3c00033d32425dc9b1e2ae853f5662418053f77939671d113c25f0e SHA512 304dda79941bb458445c63e05d447896c2f8b49db95787fe059b6b25f4aa863fc1cbee1e1b13af22dfe22c2359c83da61632ced03ee4391832ffbf88b5f541a1 -DIST beartype-0.18.2.tar.gz 1174624 BLAKE2B c3099c5569bf6090b33e637c1cacb829900705ad838ad24413cedce96cfb6c7e3ad8cf3d92741ef83f7b88eb3c056c0efff3ebf1f77c9c970193f3873629e398 SHA512 ff26366d210b365fab10af77018ab64ec77d7beed14eb8de5da5711f170b95f862ed5070f7b3aa7a1e66355745309829305cd9db2020b39eae806e0e2af85014 +DIST beartype-0.18.5.tar.gz 1193506 BLAKE2B 497de6f326a3b600992748db8b74ba80d4a14003a0cc484b3eeaf48f0f808864fe64462ef3315d421dc4b5fe5d7060b48585ee00eb822c9f124612f394ab93bb SHA512 114b256619c6c7fc48fbe28db00ae5a8ddea4ce11c5394a06fa026f0317a34907ff12ef0c0009cff7a7b83742e6b66bc8b503b4c0e382c0b6cf79d43780bda5b diff --git a/dev-python/beartype/beartype-0.18.0.ebuild b/dev-python/beartype/beartype-0.18.0.ebuild deleted file mode 100644 index 8337b30a5732..000000000000 --- a/dev-python/beartype/beartype-0.18.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Unbearably fast runtime type checking in pure Python" -HOMEPAGE=" - https://pypi.org/project/beartype/ - https://github.com/beartype/beartype/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -BDEPEND=" - test? ( - dev-python/mypy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # fragile performance test - beartype_test/a00_unit/a70_decor/test_decorwrapper.py::test_wrapper_fail_obj_large - # test for building docs, apparently broken too - beartype_test/a90_func/z90_lib/a00_sphinx - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/beartype/beartype-0.18.2.ebuild b/dev-python/beartype/beartype-0.18.2.ebuild deleted file mode 100644 index 8337b30a5732..000000000000 --- a/dev-python/beartype/beartype-0.18.2.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Unbearably fast runtime type checking in pure Python" -HOMEPAGE=" - https://pypi.org/project/beartype/ - https://github.com/beartype/beartype/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -BDEPEND=" - test? ( - dev-python/mypy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # fragile performance test - beartype_test/a00_unit/a70_decor/test_decorwrapper.py::test_wrapper_fail_obj_large - # test for building docs, apparently broken too - beartype_test/a90_func/z90_lib/a00_sphinx - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/beartype/beartype-0.17.2.ebuild b/dev-python/beartype/beartype-0.18.5.ebuild index cf8363a1d705..cf8363a1d705 100644 --- a/dev-python/beartype/beartype-0.17.2.ebuild +++ b/dev-python/beartype/beartype-0.18.5.ebuild diff --git a/dev-python/beautifulsoup4/beautifulsoup4-4.12.3.ebuild b/dev-python/beautifulsoup4/beautifulsoup4-4.12.3.ebuild index f4bc6d694e2c..fa1f017754ba 100644 --- a/dev-python/beautifulsoup4/beautifulsoup4-4.12.3.ebuild +++ b/dev-python/beautifulsoup4/beautifulsoup4-4.12.3.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/betamax/betamax-0.9.0.ebuild b/dev-python/betamax/betamax-0.9.0.ebuild index b669857f9f9f..a72a0fad054f 100644 --- a/dev-python/betamax/betamax-0.9.0.ebuild +++ b/dev-python/betamax/betamax-0.9.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi diff --git a/dev-python/bitarray/bitarray-2.9.2.ebuild b/dev-python/bitarray/bitarray-2.9.2.ebuild index a667d90d5991..372329f8b57d 100644 --- a/dev-python/bitarray/bitarray-2.9.2.ebuild +++ b/dev-python/bitarray/bitarray-2.9.2.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi @@ -15,8 +15,8 @@ HOMEPAGE=" https://pypi.org/project/bitarray/ " -SLOT="0" LICENSE="PSF-2" +SLOT="0" KEYWORDS="amd64 ~arm arm64 x86 ~amd64-linux ~x86-linux" python_test() { diff --git a/dev-python/bitstring/Manifest b/dev-python/bitstring/Manifest index b39bf8442961..9106b3f81176 100644 --- a/dev-python/bitstring/Manifest +++ b/dev-python/bitstring/Manifest @@ -1 +1,3 @@ DIST bitstring-4.1.4.tar.gz 232014 BLAKE2B fad74a1a2931504b44c7d95c4e88b058c17ee189ab7b4ec6987d1284c273329b7850cd1aff8e93eb6badf7d52284db006f1f1118ee5f871694f2bd5b4b10e449 SHA512 e05d983ac340565b193c4b4d5f7f5fceea3ba68f04c348ab42cd1d783ac64e1b1adb0ce9bcaac20335137f103d51df198421c7cfee1e5c1ad9f3c9b89b77b679 +DIST bitstring-4.2.1.tar.gz 249982 BLAKE2B f13212c3e4a6a516d045e5c6da3a2a943b05e5fa8f406b74d81972fc553d5032bec285766b7057bbaef5fc66aedcdb3f6efbbe72b89711dad7a451182801f419 SHA512 e54f5941b357d783e2951da8673cf38f6498d4e51949ab3200a05ce590208ca35ab7a300075013b6b2d6dfe6422cd81aa2d29b55c6a8088d9417d8c7a58f4716 +DIST bitstring-4.2.2.tar.gz 249409 BLAKE2B ff9d9eb6d789a13632f00e1a7361ad03e8c21e74f2b5b9158fab3ee336aafa884cfe90a30f56cba97f81ee9aed023a974f35571e47640c0bebc7bd2d116db2d0 SHA512 4700b45c9a56c21a09d61c464a4b2de899bb1cbdb1c5057e5c0f7c388adbda8feb260bdd56f073e53e256c39825cf7cd4b105bf9f57dd6d9d4916717941ff4bf diff --git a/dev-python/bitstring/bitstring-4.2.1-r1.ebuild b/dev-python/bitstring/bitstring-4.2.1-r1.ebuild new file mode 100644 index 000000000000..8d95c3d8d2a0 --- /dev/null +++ b/dev-python/bitstring/bitstring-4.2.1-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A pure Python module for creation and analysis of binary data" +HOMEPAGE=" + https://github.com/scott-griffiths/bitstring/ + https://pypi.org/project/bitstring/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + <dev-python/bitarray-3[${PYTHON_USEDEP}] + >=dev-python/bitarray-2.9.0[${PYTHON_USEDEP}] + <dev-python/gfloat-0.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/bitstring/bitstring-4.2.2.ebuild b/dev-python/bitstring/bitstring-4.2.2.ebuild new file mode 100644 index 000000000000..da3b781fc2a7 --- /dev/null +++ b/dev-python/bitstring/bitstring-4.2.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A pure Python module for creation and analysis of binary data" +HOMEPAGE=" + https://github.com/scott-griffiths/bitstring/ + https://pypi.org/project/bitstring/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + <dev-python/bitarray-3[${PYTHON_USEDEP}] + >=dev-python/bitarray-2.9.0[${PYTHON_USEDEP}] + >=dev-python/gfloat-0.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest index dea8dcaaa157..2fd1391260c6 100644 --- a/dev-python/black/Manifest +++ b/dev-python/black/Manifest @@ -1,3 +1,4 @@ -DIST black-23.12.1.tar.gz 620809 BLAKE2B 8522183d8004dd094f87fc8efcbbbafede9f94ded2f67d4815059534da91c969067c5c508636c2654894109f91d8fb5b26f23351b5ffff451aeac8ed5d146da4 SHA512 1a90eadbb7ccf1dd6c4c7d858b3360b7c62c04bf1826dd4817ddb8d542c3155fc72a80d53aa3be34375bd7006ab65432e006572bc5d1eeb6ff23cfa460072e93 DIST black-24.3.0.tar.gz 634292 BLAKE2B 9a853a0943ba081ecb7a4c22913b060607ac47fb90b70a9645358d681f3eab55707ad6fe9ad9928ba0d39a8adf5dfde0168598a8abcc24b823b407287cefaf82 SHA512 57e3b651009578f1d15b6e9ffb49d24be80885b2cf7ad48a68407862778ac2099d119e7ba6d58ddea4fc7fc21345435a7572a970baf882f763d9347868d5504b DIST black-24.4.0.tar.gz 635902 BLAKE2B 2821c0f4674524d3457fb8cbf1f1224d9c7e76abdbb1e47bcd4d488ff560a417b3ad57223318b28951c92c59d13c4a2894a323865a2be2859e7b7e891c54064c SHA512 3f9150faa36413ffff3a65f9f55b33a6b69b3abec5bf649bfc0662a92faa41edc76e90151e27a74f04bc3defc0687c898d54b2f137d16d13ea46e86670aa7a98 +DIST black-24.4.1.tar.gz 641335 BLAKE2B 996528509a71d8e2b8cb8e1ebf1beac5d2460d0759de77805645ca293a648aac8a658a4b9e6b239b591e9e4e43c0af66c7a972ca0b1ecc6d9aef911f559c0cff SHA512 057c2cc2ff47111487a46bfc50b961c719f92caaca49494a6cc57bb5e8aa19d0d47a7f3164421e104ef2815060e7d771a9532e970e07e1c2ce709b4cf7e99656 +DIST black-24.4.2.tar.gz 642299 BLAKE2B aa62394dc4a14fd6dd49502a86e46e7f707d6342127e2fb3b5cb7365ab392f5a0514df548d30219e9b6ed1f9d8ca80241ea206a06011ef8dc3d770191d3328ce SHA512 f3fb63fdbff947a217ad371939a6eaac1e818f58fb924516639f3c9469f0db6fbda8d4b207163d4a6db8a58a048fefe46fbfdb1ddf40f91348bd767208e60f35 diff --git a/dev-python/black/black-24.3.0.ebuild b/dev-python/black/black-24.3.0.ebuild index 0d889f9204fb..1b370ca6b917 100644 --- a/dev-python/black/black-24.3.0.ebuild +++ b/dev-python/black/black-24.3.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" >=dev-python/click-8.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/black/black-23.12.1.ebuild b/dev-python/black/black-24.4.1.ebuild index e35726d65ec9..bbf320447679 100644 --- a/dev-python/black/black-23.12.1.ebuild +++ b/dev-python/black/black-24.4.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" RDEPEND=" >=dev-python/click-8.0.0[${PYTHON_USEDEP}] @@ -40,15 +40,8 @@ BDEPEND=" ) " -EPYTEST_XDIST=1 distutils_enable_tests pytest -EPYTEST_DESELECT=( - # incompatible with xdist - tests/test_black.py::TestCaching::test_output_locking_when_writeback_diff - tests/test_black.py::TestCaching::test_failed_formatting_does_not_get_cached -) - pkg_postinst() { optfeature "blackd - HTTP API for black" \ "dev-python/aiohttp dev-python/aiohttp-cors" diff --git a/dev-python/black/black-24.4.2.ebuild b/dev-python/black/black-24.4.2.ebuild new file mode 100644 index 000000000000..0d889f9204fb --- /dev/null +++ b/dev-python/black/black-24.4.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="The uncompromising Python code formatter" +HOMEPAGE=" + https://black.readthedocs.io/en/stable/ + https://github.com/psf/black/ + https://pypi.org/project/black/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" + +RDEPEND=" + >=dev-python/click-8.0.0[${PYTHON_USEDEP}] + >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}] + >=dev-python/packaging-22.0[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}] + dev-python/aiohttp-cors[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "blackd - HTTP API for black" \ + "dev-python/aiohttp dev-python/aiohttp-cors" +} diff --git a/dev-python/bleach/bleach-6.1.0.ebuild b/dev-python/bleach/bleach-6.1.0.ebuild index ea40acfc772e..514ecaa5ca9f 100644 --- a/dev-python/bleach/bleach-6.1.0.ebuild +++ b/dev-python/bleach/bleach-6.1.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/blinker/Manifest b/dev-python/blinker/Manifest index d10d51af8618..3e4dbe9aebe0 100644 --- a/dev-python/blinker/Manifest +++ b/dev-python/blinker/Manifest @@ -1 +1,4 @@ DIST blinker-1.7.0.tar.gz 28134 BLAKE2B afff064a79ae7ab9fcee46c7eb3f6557bd9149be0a10cddfd13f969649a7aa57cec727cc6a10c54af2f676b8dc9be69beaf6521b5764555ac3e97fda7b68f5f8 SHA512 b55dc104fd69bf9f682184202f9da7cb6925e7e863f38d5ad5b4b5988b2315aae02da6f4c9f0ec34238b8d5b9b6eec52b06258d93e14416cda3e2b718d9aa60c +DIST blinker-1.8.0.tar.gz 22598 BLAKE2B 80a08bc860acc049ea4bbc30dd23f74ed7b0507a6f4dd550a0fb946233445b930732300ddc2201f6217b0557c082fbc90774d64a587ed448d839ee1b085b0c09 SHA512 1862589712c8828b2d9b3d434f213017cd81b2de100290de126a0d796920bd34ac00a667cb3bc8811071c275001e4d1a0dd0cc3563d15ef4b2139769ae3d5ef3 +DIST blinker-1.8.1.tar.gz 23191 BLAKE2B 5d1b5016b24669b8f602beb650126a4da8a7aaee6d096200634206ae3ebcdcbb5d7f3bb554269a08e0aacba0dc7dcda1a2977aeb5c8ef5f38c81dc8892d786d5 SHA512 b6adada7f314369863070e830364833aade954e4cedca390643223d632c110a314856fb1c050402cad7e64959500c4d27d149ce7b682ee6bde99a69dc66ea495 +DIST blinker-1.8.2.tar.gz 23161 BLAKE2B 43254180a0486ee6787f7f02c17418524182529505c5a5d01abc1f151ef85bc736fc442d3e88d670e638c866537863476a2efdc1baf8e39017add9a1372749ed SHA512 037822e014974aaa9d6faf76805b09c06d697de9555cf4cd1265e639c52f72c5ed905e4698140b49a5e011806d91541636a7cf58082aabdd927c60dffd7df012 diff --git a/dev-python/blinker/blinker-1.7.0.ebuild b/dev-python/blinker/blinker-1.7.0.ebuild index caa91f2b57eb..c965ec466d37 100644 --- a/dev-python/blinker/blinker-1.7.0.ebuild +++ b/dev-python/blinker/blinker-1.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,4 +18,15 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio +} diff --git a/dev-python/blinker/blinker-1.8.0.ebuild b/dev-python/blinker/blinker-1.8.0.ebuild new file mode 100644 index 000000000000..9df417e40e36 --- /dev/null +++ b/dev-python/blinker/blinker-1.8.0.ebuild @@ -0,0 +1,32 @@ +# 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..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fast, simple object-to-object and broadcast signaling" +HOMEPAGE=" + https://github.com/pallets-eco/blinker/ + https://pypi.org/project/blinker/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio +} diff --git a/dev-python/blinker/blinker-1.8.1.ebuild b/dev-python/blinker/blinker-1.8.1.ebuild new file mode 100644 index 000000000000..9df417e40e36 --- /dev/null +++ b/dev-python/blinker/blinker-1.8.1.ebuild @@ -0,0 +1,32 @@ +# 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..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fast, simple object-to-object and broadcast signaling" +HOMEPAGE=" + https://github.com/pallets-eco/blinker/ + https://pypi.org/project/blinker/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio +} diff --git a/dev-python/blinker/blinker-1.8.2.ebuild b/dev-python/blinker/blinker-1.8.2.ebuild new file mode 100644 index 000000000000..75f5ef236171 --- /dev/null +++ b/dev-python/blinker/blinker-1.8.2.ebuild @@ -0,0 +1,32 @@ +# 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 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fast, simple object-to-object and broadcast signaling" +HOMEPAGE=" + https://github.com/pallets-eco/blinker/ + https://pypi.org/project/blinker/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio +} diff --git a/dev-python/blurb/blurb-1.1.0.ebuild b/dev-python/blurb/blurb-1.1.0.ebuild index 1495cb48e340..5c5e7524a953 100644 --- a/dev-python/blurb/blurb-1.1.0.ebuild +++ b/dev-python/blurb/blurb-1.1.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 2018-2023 Gentoo Authors +# Copyright 2018-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/blurb/metadata.xml b/dev-python/blurb/metadata.xml index c3ea630df5a9..afed81257401 100644 --- a/dev-python/blurb/metadata.xml +++ b/dev-python/blurb/metadata.xml @@ -23,5 +23,6 @@ </longdescription> <upstream> <remote-id type="pypi">blurb</remote-id> + <remote-id type="github">python/core-workflow</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/boltons/Manifest b/dev-python/boltons/Manifest index 8e780c05c64d..087ee8e437c5 100644 --- a/dev-python/boltons/Manifest +++ b/dev-python/boltons/Manifest @@ -1,2 +1 @@ -DIST boltons-23.1.1.tar.gz 244629 BLAKE2B 458e40179e98cfa914d9f66de18f89b2e6192a7ef38e4c827466fd2eabfa05245a9e592f2d0ff570f0d2288039f6564dd931404de7119730d6e4dbe6a9ddd886 SHA512 bc07d46f08f4883cfbaa54cf27dfb53fba57538d7d98b846840efad5ade64fecc6f9cc5d7dd3271236a1e12111d9e537f847995f28df2d7779026e0939e4ca98 DIST boltons-24.0.0.tar.gz 239550 BLAKE2B e7001b3aa04834f1d234ff7ce996cebd32293189cdf000c8b36719d24b51ab24098c58ad3df58e938a58f319a575b8a0f2f09cec423d33b876103b89ad7d85bb SHA512 afc7f9d495d91e38219378f9f4f287918d6e5b19feb1299c5f504cab1d4a3e0a5fb9fa1c073d46f941c86a18086af5be3a44506d986b010b2595da0c2b908b48 diff --git a/dev-python/boltons/boltons-23.1.1.ebuild b/dev-python/boltons/boltons-23.1.1.ebuild deleted file mode 100644 index 9543983a139a..000000000000 --- a/dev-python/boltons/boltons-23.1.1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) -inherit distutils-r1 pypi - -DESCRIPTION="Pure-python utilities in the same spirit as the standard library" -HOMEPAGE="https://boltons.readthedocs.io/" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -distutils_enable_tests pytest - -DOCS=( CHANGELOG.md README.md TODO.rst ) - -python_test() { - local EPYTEST_DESELECT=( - # breaks on traceback text changes caused by e.g. pytest-qt noise - tests/test_tbutils.py::test_exception_info - ) - - epytest -p no:django -} diff --git a/dev-python/boltons/boltons-24.0.0.ebuild b/dev-python/boltons/boltons-24.0.0.ebuild index 79e6dc2482fa..41ad93998b08 100644 --- a/dev-python/boltons/boltons-24.0.0.ebuild +++ b/dev-python/boltons/boltons-24.0.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi DESCRIPTION="Pure-python utilities in the same spirit as the standard library" @@ -12,7 +12,7 @@ HOMEPAGE="https://boltons.readthedocs.io/" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" distutils_enable_tests pytest @@ -22,5 +22,13 @@ src_test() { # tests break with pytest-qt, django, and likely more local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_DESELECT=( + # fails with 3.13, but ignore for now given causes no + # issues for the only revdep (maturin's tests) + # https://github.com/mahmoud/boltons/issues/365 + tests/test_funcutils_fb_py3.py::test_update_wrapper_partial\[boltons.funcutils\] + tests/test_tbutils.py::test_exception_info + ) + distutils-r1_src_test } diff --git a/dev-python/boolean-py/boolean-py-4.0.ebuild b/dev-python/boolean-py/boolean-py-4.0.ebuild index caf874666e42..aad89d40ea70 100644 --- a/dev-python/boolean-py/boolean-py-4.0.ebuild +++ b/dev-python/boolean-py/boolean-py-4.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index e59ed490b18c..ec7f6b3eda4c 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,4 +1,3 @@ -DIST boto3-1.34.74.gh.tar.gz 790202 BLAKE2B 4368db3e11d6bda6eee4ccde82bcc0c2c5a67448400ce0d29d221840360348ab1c7d3c8360ff3c91190ebccb30e187c6fc3ed72f29f1a1d1f883888a8cad12dc SHA512 977e1b9f8a9506bd040ff6a9a1df106294ff62a100cf5cb31aeaa363a4f3fe28cab71e4740028202829fac3023bf832bd4ac25b3474c2a5e107892c05b356e0c -DIST boto3-1.34.79.gh.tar.gz 792796 BLAKE2B 97a4f8e6fc33bcfe2817ce353df8ff6354bc89c449e5e29833704e12513aa21129863164c51047b17c7f15a47f0ceb90c60a83071464283292089b2535e8fed9 SHA512 15161face918253eac06dfbeb67adb8ef5ed6902b2eed760feb9fdd3aee0e38da3511aa7d829914b6f80addff7feffae7d3645f7567643a37d3659001d7b6a1a -DIST boto3-1.34.84.gh.tar.gz 796658 BLAKE2B 76ad7997f92167f1ed2f14a0a780a1a58b4a853ea132ca38797a228382ad8f55264dfaee99ebf6f8e2bea1848ec918f7b3b0943d0bb6a81b3b858e729b2e74c4 SHA512 55988d7ba69a46b986ed2cffd46b37a154baaa3a73ce62d9ee5b4b8b6f8987f714034ae4f3e59ed9907920216eaf8b18edea4c0fbac99037979b8b30e3b71133 -DIST boto3-1.34.85.gh.tar.gz 797539 BLAKE2B b958d009a7acdd541306f41f8708951ed1bf3d303d5e3b3453307415ddc8cf6f6d3c7ed464f350d1a36646729095b1684a865f5982d2ae9b3d7facf596c8b579 SHA512 91295f89896a705c3cbb941fa55e8d227b12dc28290ca15a31ebf60e936ea805233d7b14c6097c9757f6c7ff310159bcc1f2a2e46227d98b6d04adf9c6d44a33 +DIST boto3-1.34.103.gh.tar.gz 807394 BLAKE2B da291c86a8b20bcaac5f93779899bfa5c6ce207499df393cd921f37021c1c38ed0587edd2261cee8de7ce17264670f9cda072d6748f274e6f3d9b40caa499803 SHA512 3b879f88a145ca7ea7533e4d8aa77cec351f272c59fa119622dab061fd6354f88d33709bd1621802f38f19e8378505caa94b8a6b561d16f4a2aa168828021206 +DIST boto3-1.34.107.gh.tar.gz 809164 BLAKE2B ab11e6bd87ee2fa473e95fc1a135b90769fbde948ca7c9b4c5f1679a10036778ff37b1473e57dc957b5bfaa3a36bd05cd968bbd585f0ab92772aaec0bc3ae868 SHA512 388e1748480a7176b74ffe0142e2a9cd5e95c9badf054053f076ef4c5bd77f40d7052c457a5a671607d551473c0d82f26ea3f88e505127d642429bd4651c69db +DIST boto3-1.34.98.gh.tar.gz 805719 BLAKE2B 5cf7f0cc415e25c8b41aa464b636b1683f4e71198569f5eac3e6e43cef7050e20e92c3fd988517fc1463601073b41b0b9c668a58bb866d03b83973c9b9cd976a SHA512 06cab81bbf73a9c37b68e0312a7c587bace700b8032e283b6782c1275804ea7c93065c4282837957b5cf3523d50fe57319a54af494262e2666f65440da9771fd diff --git a/dev-python/boto3/boto3-1.34.79.ebuild b/dev-python/boto3/boto3-1.34.103.ebuild index 2c733040b7a3..2c733040b7a3 100644 --- a/dev-python/boto3/boto3-1.34.79.ebuild +++ b/dev-python/boto3/boto3-1.34.103.ebuild diff --git a/dev-python/boto3/boto3-1.34.84.ebuild b/dev-python/boto3/boto3-1.34.107.ebuild index 2c733040b7a3..2c733040b7a3 100644 --- a/dev-python/boto3/boto3-1.34.84.ebuild +++ b/dev-python/boto3/boto3-1.34.107.ebuild diff --git a/dev-python/boto3/boto3-1.34.85.ebuild b/dev-python/boto3/boto3-1.34.85.ebuild deleted file mode 100644 index 2c733040b7a3..000000000000 --- a/dev-python/boto3/boto3-1.34.85.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -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 ~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.10.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/boto3/boto3-1.34.74.ebuild b/dev-python/boto3/boto3-1.34.98.ebuild index 2a35a5b9c0d0..51f4c7f3ec96 100644 --- a/dev-python/boto3/boto3-1.34.74.ebuild +++ b/dev-python/boto3/boto3-1.34.98.ebuild @@ -27,11 +27,6 @@ RDEPEND=" >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] " -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - ) -" EPYTEST_XDIST=1 distutils_enable_tests pytest diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 4fadf8a88865..4768b0d2921a 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,4 +1,3 @@ -DIST botocore-1.34.74.gh.tar.gz 12820469 BLAKE2B e9d7a35e82aee30666952ea6f74d8d0f695efad2fd0da520b70fdd313cabf3aff6e67fa71543c630bcfb4b4f78f780321babaf118990d8136b79755beadd8a5a SHA512 f7d741bd86e249ae46a7f79828c8b63c66519f9ae203f1a14a17e126c22d9e3d94710f5f5992f057491d3f7e41c7ea180255e1f766dc3bdee96ddb2ac6e28312 -DIST botocore-1.34.79.gh.tar.gz 12882231 BLAKE2B 56d7d2a1046a164f4f64f375f608b8646e0f7c266b1c7ab37ff7141fd8d8d843ce2890b0a947f051956f61fb2cfc75c2eb3b3cf70305de4ba9ce2e18d8569ded SHA512 00717ad582e23e1c4f4d803eea2069224fc69c6e701d6b4a55d0d99806cebfb1e2c45c7eb65464b84e0cc63399a7b6235b90ba9245e27fe435eca6079b5c29aa -DIST botocore-1.34.84.gh.tar.gz 12910232 BLAKE2B 3a9f9073e34d203f05ae44f9dc437f4d325084dbe858e59008a7b0c826c53d6e9a1911f6e9203aa476787878de88a1d8a9c1e26cedc3c34bebf6739c9bb10fce SHA512 247578e628e5ea57cfb956a10c0975d7a2caa24617e8572f90ca2a0286c75077a732328cb2dde34c937113d288c4a8a346adc074aae14dcebfa16c309d801a31 -DIST botocore-1.34.85.gh.tar.gz 12919998 BLAKE2B 3c23623bc37f2b2b725b3187faad5860b0e8fe6cd6295503ae2abf45e83a7393fa0613400052a668c7c2781f2ce76b8b1bc725a268020b45df62aaaef317e25c SHA512 797b097a99709d04d294f15ea89039567ceecea1ce16439eda31a659cc2b195d2aca79b9b1be264285f917569127b8ccdfe72d37b174d67fb562dbcf0ba081c0 +DIST botocore-1.34.103.gh.tar.gz 13018336 BLAKE2B 84cef06d1eff09fc9e7d4480bc11be16c775e6aa21c300be21735d4bbf891618861a94e7fb52735c34f4f831220411d2b307546e930e77822d8c876dd05f7780 SHA512 f66c3959c5f323117127789d0a3492d5ecfcdfa371f2fdd3339bf1feb7cf1ba67ce7015014e49530f24a440d08a9b634d2ada85c1953ed438f70e5a6cca040f0 +DIST botocore-1.34.107.gh.tar.gz 13028692 BLAKE2B ab26f39a43d1dad6b2ee7a99878a584601d0368bff65ef1beb0869a1272ce528074633091fd52f34ca839865f83c73b7be238666ccfa8975cbe2e83203f426e6 SHA512 59dcd1a4fe32bd61da81b02a78925cc11e010ccd98445c1073665d3de57a532cbc283dace6cd0772be7c366d5e859b2ea904ee5b197c7e395b75b7b795e13236 +DIST botocore-1.34.98.gh.tar.gz 13008491 BLAKE2B 0b5c368264cc43c162d158b383535183c0fd0065dc6c5edfd3eaaab842d0607b3cc3b99860fa8dc4ef207b5be1457fce9d143723da29e262f30ecc82c5f9ba66 SHA512 39ccb0082ecd6ed6cc7d3f7cea01d39e8d5e92224e3290a66f86ed00562a1d858f75d006af725d2b857ac891f1b366300b7e4c2d24277d942b5a9b9e2cdba431 diff --git a/dev-python/botocore/botocore-1.34.79.ebuild b/dev-python/botocore/botocore-1.34.103.ebuild index ba6cd2a5d2a2..ba6cd2a5d2a2 100644 --- a/dev-python/botocore/botocore-1.34.79.ebuild +++ b/dev-python/botocore/botocore-1.34.103.ebuild diff --git a/dev-python/botocore/botocore-1.34.84.ebuild b/dev-python/botocore/botocore-1.34.107.ebuild index ba6cd2a5d2a2..ba6cd2a5d2a2 100644 --- a/dev-python/botocore/botocore-1.34.84.ebuild +++ b/dev-python/botocore/botocore-1.34.107.ebuild diff --git a/dev-python/botocore/botocore-1.34.85.ebuild b/dev-python/botocore/botocore-1.34.85.ebuild deleted file mode 100644 index ba6cd2a5d2a2..000000000000 --- a/dev-python/botocore/botocore-1.34.85.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -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 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - -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_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/botocore/botocore-1.34.74.ebuild b/dev-python/botocore/botocore-1.34.98.ebuild index 7a44b043295f..7a44b043295f 100644 --- a/dev-python/botocore/botocore-1.34.74.ebuild +++ b/dev-python/botocore/botocore-1.34.98.ebuild diff --git a/dev-python/brotlicffi/brotlicffi-1.1.0.0.ebuild b/dev-python/brotlicffi/brotlicffi-1.1.0.0.ebuild index 93e0af953bb0..c0dd86468b3a 100644 --- a/dev-python/brotlicffi/brotlicffi-1.1.0.0.ebuild +++ b/dev-python/brotlicffi/brotlicffi-1.1.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # please keep this ebuild at EAPI 8 -- sys-apps/portage dep @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/btrfs/Manifest b/dev-python/btrfs/Manifest index 8c584ff7f6ff..e4998b6d3298 100644 --- a/dev-python/btrfs/Manifest +++ b/dev-python/btrfs/Manifest @@ -1 +1,2 @@ DIST btrfs-13.gh.tar.gz 93110 BLAKE2B 286e5d1d9aa66ce5072f2fe144b2da6bbcde65dd90eb21efe1eb69b9aaa3230d76e8b8baffcfd269ce5d53e1004b5fc6c5546125bc1a5c26413ba8abc66f068a SHA512 5117b9c6542fe191eccbed56a15bb5d8eadc2d3c0edd986a3e1a33d0b63f58c3db5e7f6d234c43a83d1cc74eea3e106c5882a92926c3087601edc36e6672721f +DIST btrfs-14.1.gh.tar.gz 94011 BLAKE2B f1a0e7f2988417acb8f66fe28b95ea90e8c6c5dea7161730c2c4657d052d84425d26d3ef91b40194c24d9725687ca84104e45b33f258006c6ccb83269869fdee SHA512 384bea01cc459894aced5923b3f2e874c896412a2c51e56f14390aa9d882bb6827b2c40a8dd7e083ee421de2b3a2411912581b617644075499da65d16eb4f6b6 diff --git a/dev-python/btrfs/btrfs-14.1.ebuild b/dev-python/btrfs/btrfs-14.1.ebuild new file mode 100644 index 000000000000..3a0f90e77422 --- /dev/null +++ b/dev-python/btrfs/btrfs-14.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Python module to inspect btrfs filesystems" +HOMEPAGE="https://github.com/knorrie/python-btrfs" +SRC_URI="https://github.com/knorrie/python-${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="examples" + +S="${WORKDIR}/python-${P}" + +python_install_all() { + if use examples; then + # skip symlink meant for development + rm examples/btrfs + dodoc -r examples + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/build/Manifest b/dev-python/build/Manifest index 75c88e83f845..870963f6d9b7 100644 --- a/dev-python/build/Manifest +++ b/dev-python/build/Manifest @@ -1,3 +1,2 @@ DIST build-1.1.1.gh.tar.gz 44605 BLAKE2B aa1d554d55007e8cb715981938bb8765230ae5ddc6c5bc29efeb52c0e18b6337a13c27f3389772a83cc0ecc9b7d3e889fbc305e91f1290424d7031a1782f683f SHA512 5fa64b07f2c22faca074d1447f5fcb12b7ad40e5fe897f034901d7932d8a9aa2c1dfa806d373503246255d7d9a2429b336384a980376f4ae7c810ae275b735da -DIST build-1.2.0.gh.tar.gz 47350 BLAKE2B 874f4871d5b8c22ce1d93a840fd00315cfa3a93b01a44e3c8c3270d2dcb66455e2c44e757d0ae15a58a35ea4ee8679a797191523254c914150d801cf3c0a5fa8 SHA512 aaa4677f8eb04c2872dc0f64287e00cd0aa47b10d3bfd67a63c22db42caef8baae9996c3a6ced3a07cce4a54d6fd52a3f15d167f804f7f518d258aa5da68419c DIST build-1.2.1.gh.tar.gz 47394 BLAKE2B d38a138dee5065ff0faee453bdc608fc519bc4b4a3cec8b60cf4f745288f8238dd7e9334f75bdd67765037a62b220079ce924c6581f745eb3750e732b2184d48 SHA512 77003e16d3776c3a4be920251bf14650eea112b92d94116cb1893195b8e16aae57321206ae63267119247f2794f220c891b7d913e07a8258b313d34c07d54fe9 diff --git a/dev-python/build/build-1.2.0.ebuild b/dev-python/build/build-1.2.0.ebuild deleted file mode 100644 index 92cc73481513..000000000000 --- a/dev-python/build/build-1.2.0.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A simple, correct PEP517 package builder" -HOMEPAGE=" - https://pypi.org/project/build/ - https://github.com/pypa/build/ -" -SRC_URI=" - https://github.com/pypa/build/archive/${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc64 ~sparc" -IUSE="test-rust" - -RDEPEND=" - >=dev-python/packaging-19.1[${PYTHON_USEDEP}] - dev-python/pyproject-hooks[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - test? ( - >=dev-python/filelock-3[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-2[${PYTHON_USEDEP}] - >=dev-python/pytest-rerunfailures-9.1[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-1.34[${PYTHON_USEDEP}] - >=dev-python/setuptools-56.0.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20.0.35[${PYTHON_USEDEP}] - >=dev-python/wheel-0.36.0[${PYTHON_USEDEP}] - test-rust? ( - !sparc? ( dev-python/uv ) - ) - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # broken by the presence of flit_core - tests/test_util.py::test_wheel_metadata_isolation - # broken by the presence of virtualenv (it changes the error - # messages, sic!) - 'tests/test_main.py::test_output[via-sdist-isolation]' - 'tests/test_main.py::test_output[wheel-direct-isolation]' - # broken when built in not normal tty on coloring - tests/test_main.py::test_colors - 'tests/test_main.py::test_output_env_subprocess_error[color]' - # Internet - 'tests/test_main.py::test_verbose_output[False-0]' - 'tests/test_main.py::test_verbose_output[False-1]' - ) - - if ! has_version ">=dev-python/uv-0.1.18"; then - EPYTEST_DESELECT+=( - tests/test_env.py::test_external_uv_detection_success - tests/test_env.py::test_uv_impl_install_cmd_well_formed - 'tests/test_env.py::test_venv_creation[uv-venv+uv-None]' - ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -m "not network" -p pytest_mock -p rerunfailures -} diff --git a/dev-python/build/build-1.2.1.ebuild b/dev-python/build/build-1.2.1.ebuild index dc10d3d3d4a2..9db1b060db58 100644 --- a/dev-python/build/build-1.2.1.ebuild +++ b/dev-python/build/build-1.2.1.ebuild @@ -4,7 +4,8 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_TESTED=( python3_{10..13} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) inherit distutils-r1 @@ -19,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test-rust" RDEPEND=" @@ -31,23 +32,29 @@ RDEPEND=" " BDEPEND=" test? ( - >=dev-python/filelock-3[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-2[${PYTHON_USEDEP}] - >=dev-python/pytest-rerunfailures-9.1[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-1.34[${PYTHON_USEDEP}] - >=dev-python/setuptools-56.0.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20.0.35[${PYTHON_USEDEP}] - >=dev-python/wheel-0.36.0[${PYTHON_USEDEP}] - test-rust? ( - !sparc? ( dev-python/uv ) - ) + $(python_gen_cond_dep ' + >=dev-python/filelock-3[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-2[${PYTHON_USEDEP}] + >=dev-python/pytest-rerunfailures-9.1[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-1.34[${PYTHON_USEDEP}] + >=dev-python/setuptools-56.0.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.0.35[${PYTHON_USEDEP}] + >=dev-python/wheel-0.36.0[${PYTHON_USEDEP}] + test-rust? ( + !s390? ( !sparc? ( dev-python/uv ) ) + ) + ' "${PYTHON_TESTED[@]}") ) " -EPYTEST_XDIST=1 distutils_enable_tests pytest python_test() { + if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + local EPYTEST_DESELECT=( # broken by the presence of flit_core tests/test_util.py::test_wheel_metadata_isolation @@ -73,5 +80,6 @@ python_test() { fi local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_XDIST=1 epytest -m "not network" -p pytest_mock -p rerunfailures } diff --git a/dev-python/cachelib/Manifest b/dev-python/cachelib/Manifest index 056183421786..d095229779f1 100644 --- a/dev-python/cachelib/Manifest +++ b/dev-python/cachelib/Manifest @@ -1,2 +1 @@ -DIST cachelib-0.12.0.gh.tar.gz 30768 BLAKE2B 5d147e63d0be58c7134f851cea79a002aa89b5364aec5c0e0906bfb9573578b094d71f361265b15eb519da897eed069d4aaeae1a8599176a95c074186018a713 SHA512 a35bfa9dfb6db8ae0e6fcdad86e5221d82144d5c0fcdb046b951d193f70f706712800b27c27825f8020314c521eb568131257ce0e20dc820cb3f7f8ffbf2650f DIST cachelib-0.13.0.gh.tar.gz 31116 BLAKE2B fcb5f065778533bbe9200c77f12d374a62111c5dc26e366c07ea0986bba138a97c56de0440dd3b4a5603b8700ec8035b65ebe95d48e4dcf60c03f78a2215f128 SHA512 6b58f3823d1169ca1e25a5accc7a51752e26c8e7f62b58a571b0de4d8792dd6c3eb3d3c60f3843653b7aaa17177a1d6d56e442ceb6b69a486d76511003ff97b2 diff --git a/dev-python/cachelib/cachelib-0.12.0.ebuild b/dev-python/cachelib/cachelib-0.12.0.ebuild deleted file mode 100644 index 0fb1ea9cefa5..000000000000 --- a/dev-python/cachelib/cachelib-0.12.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 - -DESCRIPTION="Collection of cache libraries in the same API interface. Extracted from werkzeug" -HOMEPAGE=" - https://pypi.org/project/cachelib/ - https://github.com/pallets-eco/cachelib/ -" -SRC_URI=" - https://github.com/pallets-eco/cachelib/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86" - -BDEPEND=" - test? ( - dev-db/redis - dev-python/pylibmc[${PYTHON_USEDEP}] - dev-python/pytest-xprocess[${PYTHON_USEDEP}] - dev-python/redis[${PYTHON_USEDEP}] - net-misc/memcached - www-servers/uwsgi[python,${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # bug #818523 - tests/test_redis_cache.py - # requires some test server running - # (these tests require dev-python/boto3) - tests/test_dynamodb_cache.py - # requires mongo test server - tests/test_mongodb_cache.py -) diff --git a/dev-python/cachelib/cachelib-0.13.0.ebuild b/dev-python/cachelib/cachelib-0.13.0.ebuild index 0262028d040d..14e98fc303ac 100644 --- a/dev-python/cachelib/cachelib-0.13.0.ebuild +++ b/dev-python/cachelib/cachelib-0.13.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm arm64 x86" BDEPEND=" test? ( diff --git a/dev-python/cachetools/cachetools-5.3.3.ebuild b/dev-python/cachetools/cachetools-5.3.3.ebuild index 3b4a467cded3..b581588689f8 100644 --- a/dev-python/cachetools/cachetools-5.3.3.ebuild +++ b/dev-python/cachetools/cachetools-5.3.3.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/cairocffi/Manifest b/dev-python/cairocffi/Manifest index 2a442a821865..1dc1807d7404 100644 --- a/dev-python/cairocffi/Manifest +++ b/dev-python/cairocffi/Manifest @@ -1 +1,2 @@ DIST cairocffi-1.6.1.tar.gz 87436 BLAKE2B 54f7f3db31ab52aac6ebce1c830c4c0ff2f5ffde1f6a803bf8453b0ab3307414732c2e43b5b931ff77c9cbf6fe3229150e49254f13891f5e75e88eeef73970b9 SHA512 5489263b7e7e2aca7291860a90a6339d35e819cc03a9add47cd21b4ec0cb0274445c3e852ee3be127c42d8b5d9fcb98b02ff7eb66e3d9d243bd33527ce6ddf5c +DIST cairocffi-1.7.0.tar.gz 87840 BLAKE2B f31a07c865e16fb5448451bb2a57c2f33017165d2c374a4ea60222a28dc7a9bfd9839a6014594c5e90cc8880773e85cbb29e5bcc5c32d0150b07274f25f81b94 SHA512 bfc0f388a6ea1885523d99ad0ccfd59fec89848ef053c240ea9e3e8aab3f3aed5dc343b74de5cc72fb8512d460e55c70ef99a4ae4705fb1dd92d654a4197d7a9 diff --git a/dev-python/cairocffi/cairocffi-1.7.0.ebuild b/dev-python/cairocffi/cairocffi-1.7.0.ebuild new file mode 100644 index 000000000000..1fa88d3b36f5 --- /dev/null +++ b/dev-python/cairocffi/cairocffi-1.7.0.ebuild @@ -0,0 +1,51 @@ +# 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..12} pypy3 ) + +inherit distutils-r1 pypi virtualx + +DESCRIPTION="CFFI-based drop-in replacement for Pycairo" +HOMEPAGE=" + https://github.com/Kozea/cairocffi/ + https://pypi.org/project/cairocffi/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" + +DEPEND=" + >=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}] + x11-libs/cairo:0=[X,xcb(+)] + x11-libs/gdk-pixbuf[jpeg] +" +RDEPEND=" + ${DEPEND} + $(python_gen_cond_dep ' + >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}] + ' 'python*') +" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}] + ' 'python*') + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pikepdf[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/${PN}-0.8.0-tests.patch +) + +src_test() { + virtx distutils-r1_src_test +} diff --git a/dev-python/calver/calver-2022.06.26.ebuild b/dev-python/calver/calver-2022.06.26.ebuild index b97f567d3127..e1d7c1e905a8 100644 --- a/dev-python/calver/calver-2022.06.26.ebuild +++ b/dev-python/calver/calver-2022.06.26.ebuild @@ -1,10 +1,10 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/carbon/Manifest b/dev-python/carbon/Manifest deleted file mode 100644 index 167ab4cf755d..000000000000 --- a/dev-python/carbon/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST carbon-1.1.10.tar.gz 77091 BLAKE2B 367beb81a4dcf4c5fff6bf9884c7accb8aea9daa88d6d890bb977c926268b7ae041c9ac8e4b537f07d08d6c970f536ccc87ae6b4caef555883aadeab155fedce SHA512 a5c8d730e311bb65682c701b79a5e3e02e35eec5c0d923fece3f63d7036ca1f85775100fba9a2090487f2cf75bae7708dae9580deccd8fc586f2820b03e14b4c diff --git a/dev-python/carbon/carbon-1.1.10.ebuild b/dev-python/carbon/carbon-1.1.10.ebuild deleted file mode 100644 index 72cc0318ec8d..000000000000 --- a/dev-python/carbon/carbon-1.1.10.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Backend data caching and persistence daemon for Graphite" -HOMEPAGE="https://graphiteapp.org/" - -SLOT="0" -LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~x86" - -# whisper appears to have been missed from listing in install_requires in setup.py -RDEPEND=" - dev-python/twisted[${PYTHON_USEDEP}] - dev-python/cachetools[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - =dev-python/whisper-${PV}*[${PYTHON_USEDEP}]" - -python_prepare_all() { - # Do not install the configuration and data files. We install them - # somewhere sensible by hand. - sed -i -e '/data_files=install_files,/d' setup.py || die - # We want FHS-style paths instead of /opt/graphite - export GRAPHITE_NO_PREFIX=yes - distutils-r1_python_prepare_all -} - -python_install_all() { - distutils-r1_python_install_all - - insinto /etc/carbon - doins conf/* - - keepdir /var/log/carbon /var/lib/carbon/{whisper,lists,rrd} - - newinitd "${FILESDIR}"/carbon.initd2 carbon-cache - newinitd "${FILESDIR}"/carbon.initd2 carbon-relay - newinitd "${FILESDIR}"/carbon.initd2 carbon-aggregator - - newconfd "${FILESDIR}"/carbon.confd carbon-cache - newconfd "${FILESDIR}"/carbon.confd carbon-relay - newconfd "${FILESDIR}"/carbon.confd carbon-aggregator -} - -pkg_postinst() { - einfo 'This ebuild installs carbon into FHS-style paths.' - einfo 'You will probably have to set GRAPHITE_CONF_DIR to /etc/carbon' - einfo 'and GRAPHITE_STORAGE_DIR to /var/lib/carbon to make use of this' - einfo '(see /etc/carbon/carbon.conf.example).' - einfo ' ' - einfo 'OpenRC init script supports multiple instances !' - einfo 'Example to run an instance b of carbon-cache :' - einfo ' ln -s /etc/init.d/carbon-cache /etc/init.d/carbon-cache.b' - einfo ' cp /etc/conf.d/carbon-cache /etc/conf.d/carbon-cache.b' -} diff --git a/dev-python/carbon/files/carbon.confd b/dev-python/carbon/files/carbon.confd deleted file mode 100644 index b1875e134678..000000000000 --- a/dev-python/carbon/files/carbon.confd +++ /dev/null @@ -1,5 +0,0 @@ -# Use the given config file -CARBON_CONFIG="/etc/carbon/carbon.conf" - -# Add extra parameters -CARBON_EXTRA_PARAMETERS="" diff --git a/dev-python/carbon/files/carbon.initd2 b/dev-python/carbon/files/carbon.initd2 deleted file mode 100644 index ff1509747ef1..000000000000 --- a/dev-python/carbon/files/carbon.initd2 +++ /dev/null @@ -1,53 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -export GRAPHITE_CONF_DIR=/etc/carbon -export GRAPHITE_STORAGE_DIR=/var/lib/carbon - -INSTANCE=${SVCNAME#*.} -if [ "${INSTANCE}" = "${SVCNAME}" ]; then - INSTANCE="a" -fi - -PIDFILE="/var/run/${SVCNAME}.pid" -PROGRAMNAME=${SVCNAME%%.*} - -CARBON_CONFIG=${CARBON_CONFIG:-/etc/carbon/carbon.conf} - -depend() { - use net -} - - -start_pre() { - if [ ! -f ${CARBON_CONFIG} ] ; then - eend "Missing ${CARBON_CONFIG}" - fi - case "${PROGRAMNAME}" in - "carbon-relay" ) - if `grep -q "^RELAY_METHOD = rules$" ${CARBON_CONFIG}`; then - [ -f /etc/carbon/relay-rules.conf ] || eend "Missing relay-rules.conf" - fi - ;; - "carbon-aggregator" ) - [ -f /etc/carbon/aggregation-rules.conf ] || eend "Missing missing aggregation-rules.conf" - ;; - esac -} - -start() { - ebegin "Starting ${PROGRAMNAME} instance ${INSTANCE}" - start-stop-daemon --start --exec /usr/bin/${PROGRAMNAME}.py \ - --pidfile ${PIDFILE} \ - -- --pidfile ${PIDFILE} --instance ${INSTANCE} \ - --logdir /var/log/carbon/ --config ${CARBON_CONFIG} start >/dev/null - eend $? "Failed to start ${SVCNAME}" -} - -stop() { - ebegin "Stopping ${PROGRAMNAME} instance ${INSTANCE}" - start-stop-daemon --stop \ - --pidfile ${PIDFILE} - eend $? "Failed to stop ${SVCNAME}" -} diff --git a/dev-python/carbon/metadata.xml b/dev-python/carbon/metadata.xml deleted file mode 100644 index d38ab1927158..000000000000 --- a/dev-python/carbon/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>patrick@gentoo.org</email> - <name>Patrick Lauer</name> - </maintainer> - <maintainer type="person"> - <email>grobian@gentoo.org</email> - <name>Fabian Groffen</name> - </maintainer> - <upstream> - <remote-id type="pypi">carbon</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/cattrs/cattrs-23.2.3.ebuild b/dev-python/cattrs/cattrs-23.2.3.ebuild index aee6c6116b63..a3b6fcf9d90f 100644 --- a/dev-python/cattrs/cattrs-23.2.3.ebuild +++ b/dev-python/cattrs/cattrs-23.2.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="test-rust" RDEPEND=" diff --git a/dev-python/cbor2/Manifest b/dev-python/cbor2/Manifest index 7cb9096822bc..3102e4aee93f 100644 --- a/dev-python/cbor2/Manifest +++ b/dev-python/cbor2/Manifest @@ -1,2 +1 @@ -DIST cbor2-5.6.2.tar.gz 100016 BLAKE2B a0a71f40f39ba86c545e5f8462af74e17b6851d350f0c9831be2ac414216437021150d0d7ddb481d62454d5ff73b99ccda7ae0676fd6d53b7e3228616fa0042d SHA512 da98aaf17b17b50bdfc4dbecc1e88e70ed6e99f26e9eb4124de0e92ea2d63f827cee3da83c9aeba1af386cf5a7e95d76be30c79b0a8fde7d53ee8c203b2119b9 DIST cbor2-5.6.3.tar.gz 100224 BLAKE2B bccdca4fb2659c201663897a27801b7ae040fecc1c734356d4e4859df94eb65ef122bdda68384670102ee40476135d0c781c9f966b7c2845babb2bbd9729bc78 SHA512 1ab6a88a95cde178b21a75275fb286038f15d2fbd752059f9fc6fdb64e23eca90f65f7e443cae4bdbb7f451378711b20963909136c06b3bb4f054d52a7a95207 diff --git a/dev-python/cbor2/cbor2-5.6.2.ebuild b/dev-python/cbor2/cbor2-5.6.2.ebuild deleted file mode 100644 index 33573d3fc1ed..000000000000 --- a/dev-python/cbor2/cbor2-5.6.2.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-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=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Pure Python CBOR (de)serializer with extensive tag support" -HOMEPAGE=" - https://github.com/agronholm/cbor2/ - https://pypi.org/project/cbor2/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="+native-extensions" - -BDEPEND=" - >=dev-python/setuptools-61[${PYTHON_USEDEP}] - >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}] - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # remove pytest-cov dep - sed -i -e "s/--cov//" pyproject.toml || die - distutils-r1_python_prepare_all -} - -python_compile() { - local -x CBOR2_BUILD_C_EXTENSION=1 - # pypy3 not supported upstream - if [[ ${EPYTHON} == pypy3 ]] || ! use native-extensions; then - CBOR2_BUILD_C_EXTENSION=0 - fi - distutils-r1_python_compile -} diff --git a/dev-python/cbor2/cbor2-5.6.3.ebuild b/dev-python/cbor2/cbor2-5.6.3.ebuild index 4d83e1c675b4..6877cb919c11 100644 --- a/dev-python/cbor2/cbor2-5.6.3.ebuild +++ b/dev-python/cbor2/cbor2-5.6.3.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="+native-extensions" BDEPEND=" diff --git a/dev-python/cchardet/cchardet-2.1.19.ebuild b/dev-python/cchardet/cchardet-2.1.19.ebuild index 12bec7243fe1..8b20dc4e9371 100644 --- a/dev-python/cchardet/cchardet-2.1.19.ebuild +++ b/dev-python/cchardet/cchardet-2.1.19.ebuild @@ -7,7 +7,7 @@ DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYPI_PN=faust-cchardet -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/cerberus/cerberus-1.3.5.ebuild b/dev-python/cerberus/cerberus-1.3.5.ebuild index 7cad11fd81a6..e0c7d2354523 100644 --- a/dev-python/cerberus/cerberus-1.3.5.ebuild +++ b/dev-python/cerberus/cerberus-1.3.5.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/certifi/certifi-3021.3.16-r4.ebuild b/dev-python/certifi/certifi-3021.3.16-r4.ebuild index 797d38ddf0e6..563a3059ac9f 100644 --- a/dev-python/certifi/certifi-3021.3.16-r4.ebuild +++ b/dev-python/certifi/certifi-3021.3.16-r4.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # please keep this ebuild at EAPI 7 -- sys-apps/portage dep EAPI=7 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/cffi/Manifest b/dev-python/cffi/Manifest index de8f69ee1c67..1e242988b7d2 100644 --- a/dev-python/cffi/Manifest +++ b/dev-python/cffi/Manifest @@ -1 +1,2 @@ DIST cffi-1.16.0.tar.gz 512873 BLAKE2B 9e8d107b3124a072e559c4a536b54a172e90f9fe51d8184dacc2914a8ffa84f2682eee9c90401325dfb0f36f3f8ea0456afc93e2b85a4fef5f07ae4475e0a76b SHA512 fd2588115092202aa9289c9d4e0a0b3e264b5e9ec1dc192950f31aeb412fd9f9d4e5c96a3f9c6762987b58ccc1e229f2012ddda89211797104df672d8ed51152 +DIST cffi-d7f750b1b1c5ea4da5aa537b9baba0e01b0ce843.gh.tar.gz 523050 BLAKE2B 498085e9bc497eb1abf2d2e26e2cdb9d7544509b2c1686b306930c2da8a39a5ef133b77302761b44d5231c5255ef30cbd22579c79921dc2dc71e723ff5624939 SHA512 a0d1eb7bf8df12331d3493d86894ba062f7a15f4e7421863d44e264d4ca40ef864c7574d42cb7a4f2ea44ab80242942d6f4c8772c64b8dd0789aeb9f1908fc89 diff --git a/dev-python/cffi/cffi-1.17.0_pre20240424.ebuild b/dev-python/cffi/cffi-1.17.0_pre20240424.ebuild new file mode 100644 index 000000000000..549ae28013a6 --- /dev/null +++ b/dev-python/cffi/cffi-1.17.0_pre20240424.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +# DO NOT ADD pypy to PYTHON_COMPAT +# pypy bundles a modified version of cffi. Use python_gen_cond_dep instead. +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 toolchain-funcs + +EGIT_COMMIT=d7f750b1b1c5ea4da5aa537b9baba0e01b0ce843 +MY_P=${PN}-${EGIT_COMMIT} + +DESCRIPTION="Foreign Function Interface for Python calling C code" +HOMEPAGE=" + https://cffi.readthedocs.io/ + https://pypi.org/project/cffi/ +" +SRC_URI=" + https://github.com/python-cffi/cffi/archive/${EGIT_COMMIT}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +# Needs recent libffi for HPPA fixes +DEPEND=" + >=dev-libs/libffi-3.4.4-r1:= +" +# setuptools as a modern distutils provider +RDEPEND=" + ${DEPEND} + dev-python/pycparser[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + virtual/pkgconfig + test? ( + dev-python/py[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx doc/source +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/cffi-1.14.0-darwin-no-brew.patch +) + +src_prepare() { + if [[ ${CHOST} == *darwin* ]] ; then + # Don't obsessively try to find libffi + sed -i -e "s/.*\-iwithsysroot\/usr\/include\/ffi.*/\tpass/" setup.py || die + fi + distutils-r1_src_prepare +} + +src_configure() { + tc-export PKG_CONFIG +} + +python_test() { + local EPYTEST_IGNORE=( + # these tests call pip + testing/cffi0/test_zintegration.py + ) + + "${EPYTHON}" -c "import _cffi_backend as backend" || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest src/c testing +} diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index d4340aec779e..d5283f7f1774 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,3 +1,3 @@ -DIST cfn-lint-0.86.1.tar.gz 3865324 BLAKE2B b5b31d12dde1e0d5d3f8da42cf22bb6cc7c2a6b87f12edc3bdbaed5b51da013f24c58ce4cb2a6e0a412ba153b15f6ac46cce194f9617bd493041d922025ba067 SHA512 b396b68a93782e018b0690dc33430d4f013d597f78e66218af3058fd97c766e4c36ab5d78a0b620b0838b55e6197bef66580f1c3cd98320ddd29ec1ff91bd6c2 -DIST cfn-lint-0.86.2.tar.gz 3918328 BLAKE2B c46528a4de5ae26554a5c7099ac87c7b5984bd3b7c602f87991b441b7678442202f9a669814b356efe8dbf9287e7f911ccf6641bb738d0900a9e059915ee536e SHA512 a7f7ce49ea2acfa5c32057ae01c1ed4cf8b9e8caee854ee91a6631b200c289e9cf2169d918fe997ad44f0ab21507894e5d6c5f18a06f563373384da003a139f4 -DIST cfn_lint-0.86.3.tar.gz 3909137 BLAKE2B 8fa9e895c444935e655e64b123c0506216640905da4cd133c01ff996fdbccfe02c61f0aa3c96bfc3153084219ded432670cb1482c59c286094c7eade6c548c94 SHA512 a2b93339ad2ed89773c84370953a03c55d09ab421ce2cc4f40d08df7a4fa810a1041c4925a376e4a742be987d4021085a8bc96c56bd65a519f57104dc2c93f62 +DIST cfn_lint-0.86.4.tar.gz 3911739 BLAKE2B ea2d58abb78b466371b5a65cda2f5fd06f31eb16eece4d5bb3741f166e0bfb54d35c5d6605f5d9b333876fa1a85916f0aaecab5f0b0bd6b29841a2b5e813ed09 SHA512 71b50058ccdbcccedc92b70ca1af4c5163feb26415a97afad6e39761645423259b4dcdb6a24b517ba494e7474b31909d44399461c6d19834791d5057b14ef886 +DIST cfn_lint-0.87.1.tar.gz 3997592 BLAKE2B 058de8badb0b37bda16e5239a2d9aa3727804bc9bd1b308cf9225c4b650eb6d0ad184025eee9e32ac9909db429641a8c928695be9c1a0cf587cffbf4f50dcba2 SHA512 3143d23738de9435c63b1f7f6f8abcea9fa235e45c885f15869a18a67089421094f77b5f4dd472f354f2901595bf1d0c2ef66f5605ff5ebc1ebbdbdca181d6bf +DIST cfn_lint-0.87.2.tar.gz 3963369 BLAKE2B e1238db45fa2856ed1becdbaeccd2bd7aab3c0c3f54e3bd13cdad27d20c0c9e0c85a232121f63b152554f95066cf24119b9e2c02d0402d673ed5d7eefc8565ed SHA512 b0503138d7ca939003b472ce0e35ae0f0c3aa9550cc889e28a709856051d059c619c2ac5d47735ce0702cb975949d6ea64aff6c2b5168738ccf8afbcf950801d diff --git a/dev-python/cfn-lint/cfn-lint-0.86.1.ebuild b/dev-python/cfn-lint/cfn-lint-0.86.4.ebuild index a84c212491e0..8c0f19a4516e 100644 --- a/dev-python/cfn-lint/cfn-lint-0.86.1.ebuild +++ b/dev-python/cfn-lint/cfn-lint-0.86.4.ebuild @@ -4,7 +4,6 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 pypi @@ -20,7 +19,7 @@ SLOT="0" KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" - >=dev-python/aws-sam-translator-1.86.0[${PYTHON_USEDEP}] + >=dev-python/aws-sam-translator-1.87.0[${PYTHON_USEDEP}] dev-python/jsonpatch[${PYTHON_USEDEP}] >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] <dev-python/jsonschema-5[${PYTHON_USEDEP}] diff --git a/dev-python/cfn-lint/cfn-lint-0.86.3.ebuild b/dev-python/cfn-lint/cfn-lint-0.87.1.ebuild index ccd32235036e..ccd32235036e 100644 --- a/dev-python/cfn-lint/cfn-lint-0.86.3.ebuild +++ b/dev-python/cfn-lint/cfn-lint-0.87.1.ebuild diff --git a/dev-python/cfn-lint/cfn-lint-0.86.2.ebuild b/dev-python/cfn-lint/cfn-lint-0.87.2.ebuild index 1ace14e6286b..ccd32235036e 100644 --- a/dev-python/cfn-lint/cfn-lint-0.86.2.ebuild +++ b/dev-python/cfn-lint/cfn-lint-0.87.2.ebuild @@ -4,7 +4,6 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 pypi @@ -20,7 +19,7 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" RDEPEND=" - >=dev-python/aws-sam-translator-1.86.0[${PYTHON_USEDEP}] + >=dev-python/aws-sam-translator-1.87.0[${PYTHON_USEDEP}] dev-python/jsonpatch[${PYTHON_USEDEP}] >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] <dev-python/jsonschema-5[${PYTHON_USEDEP}] diff --git a/dev-python/cftime/cftime-1.6.3.ebuild b/dev-python/cftime/cftime-1.6.3.ebuild index f2632ffc3ecb..bac7bb43831c 100644 --- a/dev-python/cftime/cftime-1.6.3.ebuild +++ b/dev-python/cftime/cftime-1.6.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm64 ~riscv ~s390 ~x86" DEPEND=" >=dev-python/numpy-1.26.0[${PYTHON_USEDEP}] diff --git a/dev-python/chameleon/Manifest b/dev-python/chameleon/Manifest index d9f831354ec1..4ee915bcc858 100644 --- a/dev-python/chameleon/Manifest +++ b/dev-python/chameleon/Manifest @@ -1,3 +1 @@ -DIST Chameleon-4.5.2.tar.gz 178964 BLAKE2B e7225fe77aa9af65fba16aa91857993a7f9e6682b52f650bcca0c8cd78f621fc2a4c71defe9f8067c5912fdc2fcbaeff42aa08815299c1478d184cad7d0dafee SHA512 34077680ff8d185db863278f4191d551b9710824e8d6b6a6dcd8c4abeadc87f926227181a6f5a1d594ea39a99f56627999969230f5231083f6ae61ace8684955 -DIST Chameleon-4.5.3.tar.gz 180148 BLAKE2B 952602d4dbee6adcab2eb2fec012ae150014d66e7fb03376da3b9aafd6a129e2727e8b22f50ad23c4e920833243baf79f4b8eb4dadec9ac46be4d3502a239a21 SHA512 60914af16e946db85bda205c6c2a21d82123015239279355c127f33260a774daa4e27cd6d7603444c4f630f4b10d00e65e19d9558cdcf9cc751b593f72aede3d DIST Chameleon-4.5.4.tar.gz 180464 BLAKE2B cb77a1a928e67b029038f7e2704f077cc45e2baf79dfb30bdf460d0f940cb8fb30f5e42ef5b977a6c33e070b229ede1b53268d30a5d2f165607db8f03179f061 SHA512 476ecc902e252eca6de0552f4526666eaccd305f973d2cf6035c209174152c27d7dce8f4e8a21b9507a3609c38215446bfaa7203865c6151d02922893422e160 diff --git a/dev-python/chameleon/chameleon-4.5.2.ebuild b/dev-python/chameleon/chameleon-4.5.2.ebuild deleted file mode 100644 index 7fa2a2be9ac7..000000000000 --- a/dev-python/chameleon/chameleon-4.5.2.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN^} -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fast HTML/XML template compiler for Python" -HOMEPAGE=" - https://github.com/malthe/chameleon/ - https://pypi.org/project/Chameleon/ -" - -LICENSE="repoze" -SLOT="0" -KEYWORDS="amd64 arm64 x86" - -distutils_enable_tests pytest diff --git a/dev-python/chameleon/chameleon-4.5.3.ebuild b/dev-python/chameleon/chameleon-4.5.3.ebuild deleted file mode 100644 index 1286310121b6..000000000000 --- a/dev-python/chameleon/chameleon-4.5.3.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN^} -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fast HTML/XML template compiler for Python" -HOMEPAGE=" - https://github.com/malthe/chameleon/ - https://pypi.org/project/Chameleon/ -" - -LICENSE="repoze" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -distutils_enable_tests pytest diff --git a/dev-python/chameleon/chameleon-4.5.4.ebuild b/dev-python/chameleon/chameleon-4.5.4.ebuild index 1286310121b6..7fa2a2be9ac7 100644 --- a/dev-python/chameleon/chameleon-4.5.4.ebuild +++ b/dev-python/chameleon/chameleon-4.5.4.ebuild @@ -18,6 +18,6 @@ HOMEPAGE=" LICENSE="repoze" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" distutils_enable_tests pytest diff --git a/dev-python/chardet/chardet-5.2.0.ebuild b/dev-python/chardet/chardet-5.2.0.ebuild index d10fec43fffb..32f4b0a8a7f5 100644 --- a/dev-python/chardet/chardet-5.2.0.ebuild +++ b/dev-python/chardet/chardet-5.2.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/charset-normalizer/charset-normalizer-3.3.2.ebuild b/dev-python/charset-normalizer/charset-normalizer-3.3.2.ebuild index d768b5c4343d..35b48d025508 100644 --- a/dev-python/charset-normalizer/charset-normalizer-3.3.2.ebuild +++ b/dev-python/charset-normalizer/charset-normalizer-3.3.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # please keep this ebuild at EAPI 8 -- sys-apps/portage dep @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/cheroot/Manifest b/dev-python/cheroot/Manifest index ccec99c932d8..fe5c14a2e8b1 100644 --- a/dev-python/cheroot/Manifest +++ b/dev-python/cheroot/Manifest @@ -1 +1 @@ -DIST cheroot-10.0.0.tar.gz 148461 BLAKE2B d6a07878b03529be0d7ebefc91096f89b437374f9ede1db357a286bc199403798d35e9695dc1251d5045b6febc37940986693d9b36c89968ac3147ec68a481ea SHA512 02e32e52a596463cbb9874a800dbcdc5680dd7d9dfa95ca6e73c81f9248a488087c514ae70cdba94fe9df1f5d3ab1c68efcb720561cbeb7b667109fe5962f85b +DIST cheroot-10.0.1.tar.gz 167586 BLAKE2B d8c882c3d16d29a2f97f35542321fd0aba4d0f9b310bc1359f9b832362e2d75424077d02d9a810a33a1bd10cf2ba9922a8baf8519dbd04c5e6f9b48edd3c3db1 SHA512 c878647a7bcf564509ee07481b3e371a2e09019d78240e79293bc4e0bfa872e8e2f947925c54eda56cc1790a3ff4d656c70066278c74073b44fc070627f5c71d diff --git a/dev-python/cheroot/cheroot-10.0.0.ebuild b/dev-python/cheroot/cheroot-10.0.1.ebuild index 9431c10fa7df..9c4bf1185172 100644 --- a/dev-python/cheroot/cheroot-10.0.0.ebuild +++ b/dev-python/cheroot/cheroot-10.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,7 +25,7 @@ RDEPEND=" dev-python/jaraco-functools[${PYTHON_USEDEP}] " BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] + >=dev-python/setuptools-scm-7.0.0[${PYTHON_USEDEP}] test? ( dev-python/jaraco-context[${PYTHON_USEDEP}] dev-python/jaraco-text[${PYTHON_USEDEP}] @@ -42,6 +42,7 @@ BDEPEND=" ) " +EPYTEST_XDIST=1 distutils_enable_tests pytest python_prepare_all() { @@ -62,8 +63,19 @@ python_test() { local EPYTEST_DESELECT=( # requires pypytools, see above cheroot/test/test_server.py::test_high_number_of_file_descriptors + # known test failures with OpenSSL 3.2.0 + cheroot/test/test_ssl.py::test_https_over_http_error ) + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # https://github.com/cherrypy/cheroot/issues/695 + cheroot/test/test_conn.py::test_remains_alive_post_unhandled_exception + ) + ;; + esac + local EPYTEST_IGNORE=() if ! has_version "dev-python/pyopenssl[${PYTHON_USEDEP}]" || ! has_version "dev-python/trustme[${PYTHON_USEDEP}]" @@ -73,5 +85,6 @@ python_test() { ) fi - epytest -p no:flaky + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock } diff --git a/dev-python/chump/chump-1.6.0-r2.ebuild b/dev-python/chump/chump-1.6.0-r2.ebuild index 926b5b6dbf00..75e60112a8dd 100644 --- a/dev-python/chump/chump-1.6.0-r2.ebuild +++ b/dev-python/chump/chump-1.6.0-r2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{9..11} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 5f8ec851a9f6..2d017f8f682a 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -1,11 +1,9 @@ -DIST llvm-project-12735916bd3a63aa9f316af8eebfe9420cfec489.tar.gz 208645973 BLAKE2B 4a64dcaa15cb592634eceb384ecfc11173dbf0285402c32be2b8056374bb8ecef8fa1055fbe353a0836c84b75736cc05f3a14428bc431c18362cfaa7bf96a50a SHA512 ee42f7db322c84dfae3c67ffcfff2ee8d56d6bd4a0412b6bd4f8952ac1da4d57d18fa38011fe514631363b4cc143327be887792dd2e9562942261c99e655d948 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5 SHA512 4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a SHA512 ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2 SHA512 6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7 SHA512 f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340 -DIST llvm-project-18.1.3.src.tar.xz 132049300 BLAKE2B 0681177cfe6a65f5cf11942381078388e8f5d9d5a4bb50b040e4c10a3898e7311ff379fcca008e82e4bef225792a38eb77f722c972725b9251a0fda29d8d7ecc SHA512 b8b8a00c560bc7d4c4b5d533b92dbd52f2c0254f0acf687e787e8b7fa780cd5d96f6e9709356d2c406c0b36b186dee4de6b1bc1928a97de0bda863fa873e0783 -DIST llvm-project-18.1.3.src.tar.xz.sig 566 BLAKE2B dcecf41346cc864c6e5bedd3a7db3db4f32a68534364d2537a15ca7e4e2f2d35a22722385ac556d2a4ac48ab37567566094f223534e696299f98040e702146d0 SHA512 b7e50779841891e9ed9de5ed917c5be3209a52a5d98c67a032509ae8fad8a2a882bf619c66d2ee45bb53dfb03d750cb94dc4b2750ec2a8edb0465700d5bc657c -DIST llvm-project-a8b0ecd2605ff23f495a8af64e06c35f86834e54.tar.gz 208451583 BLAKE2B 3f8557637b9d10ed924cfec0b3e83d85996417df24b317cac55740aa199ef97cf7560fe634debd1dbfc7c9fc25aa2b2643fccaecc4c866481dc57b11eba1d02f SHA512 1f4bf5a8a59582af426ad13cc828e1e482c5c831ed5a4bb0da419ed3cf67e5e485fd36074603ad22328e35be44b8ccd2d92d1382bc7a228fdf38d458a2321e07 -DIST llvm-project-ee284d2da0720dc21191d6f545504cbfcf5dcbcf.tar.gz 208883034 BLAKE2B e37c9f1a6a4d0caa9a3091f979dd09f509d458f8b7b30286c77dd2385aea748b7aac6dd488c79573f82feb655aa321717bd2fb46bba4a12b388b52064f6e13bf SHA512 1335ade87cd2accc47ac47ed2ab302999e375808b158b6c9d31fac9059cbb992d2bdaaadf1fd9a1b37268c1123d43346ea4d150894d6d2e6f80ba790b65b93b1 +DIST llvm-project-18.1.5.src.tar.xz 132061072 BLAKE2B bfdd987d5992a4d94ae8b14792df3be67a8e8fdf1daef9834cdaa2132df1b7ddb72ba0aabbb34b171a73d0f3b2b0f61e7160f0b278a67fd4850e3f501fd21531 SHA512 9e2f1e251b3754a24a0b39676d78c98692887c05c85cf0bee50fd44d9635290019930d4dabd1ff4ba3c9c1067e7e0e09aa1bbcd3d76687f919a1d44ba85eee20 +DIST llvm-project-18.1.5.src.tar.xz.sig 566 BLAKE2B ad935db71ec3b9fc885d696af440764a71fe7cafc5b3ca0b25a2963100d9cb3790392daebcac1341716c95a8da3c6243f5a8667fea1ed18b93fc8baa495414c9 SHA512 3cbca1059d940f3bd7bd72d68f2828039b66304980cc5f43769649e5494fc7d71117bf8aba5cc7f7a2ffca52f60ba30fadf3b28f984fd49ddb14300e30b45237 +DIST llvm-project-a7ee81e8279e0bf6e05617a4a638e5f2f8e45022.tar.gz 210384692 BLAKE2B 28b85b08a42c173e1c3bf530483112b1629c7e6684a83a016fbe9f132774f7b864d793581873a6529defeabb4479ad9a3d7c025b781b2fa4952c239b6d567b11 SHA512 1d593818347452f96611a62fa3aa22ce4355a4ee5d5dcfcb54a286a1aa980e9531d5fb6cbee3b0ee5943c6d0f4e2ba2245e13262fe7859e5b114f9c5d5cf1417 diff --git a/dev-python/clang-python/clang-python-18.1.3.ebuild b/dev-python/clang-python/clang-python-18.1.5.ebuild index 92a6321a504f..92a6321a504f 100644 --- a/dev-python/clang-python/clang-python-18.1.3.ebuild +++ b/dev-python/clang-python/clang-python-18.1.5.ebuild diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240404.ebuild b/dev-python/clang-python/clang-python-19.0.0_pre20240404.ebuild deleted file mode 100644 index bef9bf6fddbd..000000000000 --- a/dev-python/clang-python/clang-python-19.0.0_pre20240404.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -inherit llvm.org python-r1 - -DESCRIPTION="Python bindings for sys-devel/clang" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -DEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( - sys-devel/clang:${LLVM_MAJOR} - ) -" - -LLVM_COMPONENTS=( clang/bindings/python ) -llvm.org_set_globals - -python_test() { - # tests rely on results from a specific clang version, so override - # the search path - local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) - local -x CLANG_NO_DEFAULT_CONFIG=1 - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240410.ebuild b/dev-python/clang-python/clang-python-19.0.0_pre20240410.ebuild deleted file mode 100644 index bef9bf6fddbd..000000000000 --- a/dev-python/clang-python/clang-python-19.0.0_pre20240410.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -inherit llvm.org python-r1 - -DESCRIPTION="Python bindings for sys-devel/clang" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -DEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( - sys-devel/clang:${LLVM_MAJOR} - ) -" - -LLVM_COMPONENTS=( clang/bindings/python ) -llvm.org_set_globals - -python_test() { - # tests rely on results from a specific clang version, so override - # the search path - local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) - local -x CLANG_NO_DEFAULT_CONFIG=1 - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240330.ebuild b/dev-python/clang-python/clang-python-19.0.0_pre20240509.ebuild index bef9bf6fddbd..bef9bf6fddbd 100644 --- a/dev-python/clang-python/clang-python-19.0.0_pre20240330.ebuild +++ b/dev-python/clang-python/clang-python-19.0.0_pre20240509.ebuild diff --git a/dev-python/click-default-group/click-default-group-1.2.4.ebuild b/dev-python/click-default-group/click-default-group-1.2.4.ebuild index 259619b6b43c..b805da93d0cb 100644 --- a/dev-python/click-default-group/click-default-group-1.2.4.ebuild +++ b/dev-python/click-default-group/click-default-group-1.2.4.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# 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..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/click-help-colors/click-help-colors-0.9.4.ebuild b/dev-python/click-help-colors/click-help-colors-0.9.4.ebuild index 98ffce385cf5..d187df21e384 100644 --- a/dev-python/click-help-colors/click-help-colors-0.9.4.ebuild +++ b/dev-python/click-help-colors/click-help-colors-0.9.4.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/click-log/click-log-0.4.0.ebuild b/dev-python/click-log/click-log-0.4.0.ebuild index d3469fc7757f..d57f5318b0d2 100644 --- a/dev-python/click-log/click-log-0.4.0.ebuild +++ b/dev-python/click-log/click-log-0.4.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/click-plugins/click-plugins-1.1.1-r1.ebuild b/dev-python/click-plugins/click-plugins-1.1.1-r1.ebuild index b125e2eed0d4..6d3af448a7d1 100644 --- a/dev-python/click-plugins/click-plugins-1.1.1-r1.ebuild +++ b/dev-python/click-plugins/click-plugins-1.1.1-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi @@ -16,8 +16,8 @@ HOMEPAGE=" " LICENSE="BSD" -KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv x86" SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv x86" RDEPEND=" dev-python/click[${PYTHON_USEDEP}] diff --git a/dev-python/click-threading/click-threading-0.5.0-r1.ebuild b/dev-python/click-threading/click-threading-0.5.0-r1.ebuild index efae0ab8277d..472ea7c0d11e 100644 --- a/dev-python/click-threading/click-threading-0.5.0-r1.ebuild +++ b/dev-python/click-threading/click-threading-0.5.0-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/click/click-8.1.7.ebuild b/dev-python/click/click-8.1.7.ebuild index db27707518fa..bc39e3ec0a10 100644 --- a/dev-python/click/click-8.1.7.ebuild +++ b/dev-python/click/click-8.1.7.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/cliff/Manifest b/dev-python/cliff/Manifest index a884de01fe6c..bfe0f1eeca57 100644 --- a/dev-python/cliff/Manifest +++ b/dev-python/cliff/Manifest @@ -1 +1,2 @@ DIST cliff-4.6.0.tar.gz 83765 BLAKE2B a71ec00ac4525b960da4b40135477a3ed3fab8651c12b69af1a48ef19ae6e2eec37c8ab8f83ab23e0a948b002a7bfb152b677fd0ec313deb5e70ee5cb37fdd46 SHA512 59e887eddbdf695927e9ece46749f3f62557fd20bb24d7ff109f174a4ae4886cb3b44994903522c1d31c83b9f7f101f16604f6ffc4167ed6405e49a09f236dd0 +DIST cliff-4.7.0.tar.gz 84250 BLAKE2B e49cb9b5e05ab37885df47b80489e41eaf7662cf39ce61bdcb545a6ef5496b786c94c60c2164af15ae9536af7a9841e723fa62091300b28a49beed8945941dc0 SHA512 f1e6a28fbedb911efae02a3827f019411b99afdc316fcb07b115ca2157dcd23bbcce72d2d63b9850bb5b1cb21a4787575528a26d178943f7aba2a125ed9b55e5 diff --git a/dev-python/cliff/cliff-4.7.0.ebuild b/dev-python/cliff/cliff-4.7.0.ebuild new file mode 100644 index 000000000000..087b9699e509 --- /dev/null +++ b/dev-python/cliff/cliff-4.7.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Command Line Interface Formulation Framework" +HOMEPAGE=" + https://opendev.org/openstack/cliff/ + https://github.com/openstack/cliff/ + https://pypi.org/project/cliff/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/autopage-0.4.0[${PYTHON_USEDEP}] + >=dev-python/cmd2-0.8.0[${PYTHON_USEDEP}] + dev-python/prettytable[${PYTHON_USEDEP}] + >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.12.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-2.0.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-5.0.0[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/clr-loader/clr-loader-0.2.6.ebuild b/dev-python/clr-loader/clr-loader-0.2.6.ebuild index b3a9bcf26c64..a18dcbd28462 100644 --- a/dev-python/clr-loader/clr-loader-0.2.6.ebuild +++ b/dev-python/clr-loader/clr-loader-0.2.6.ebuild @@ -29,7 +29,7 @@ if [[ "${PV}" == *9999* ]] ; then else inherit pypi - KEYWORDS="~amd64" + KEYWORDS="amd64" fi SRC_URI+=" ${NUGET_URIS} " diff --git a/dev-python/colorama/colorama-0.4.6.ebuild b/dev-python/colorama/colorama-0.4.6.ebuild index 751fdfcdc4c9..92e804f5a314 100644 --- a/dev-python/colorama/colorama-0.4.6.ebuild +++ b/dev-python/colorama/colorama-0.4.6.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/configupdater/configupdater-3.2.ebuild b/dev-python/configupdater/configupdater-3.2.ebuild index b6b1b481d310..15906bae302b 100644 --- a/dev-python/configupdater/configupdater-3.2.ebuild +++ b/dev-python/configupdater/configupdater-3.2.ebuild @@ -1,10 +1,10 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/conway-polynomials/Manifest b/dev-python/conway-polynomials/Manifest index 21c10c107e81..cf82c7974e30 100644 --- a/dev-python/conway-polynomials/Manifest +++ b/dev-python/conway-polynomials/Manifest @@ -1 +1,2 @@ DIST conway-polynomials-0.9.tar.gz 245106 BLAKE2B 3b44b337151428a18f8fc01bfa92ffe4019d2427242efed3a9edec93e2054f706ad3735505a5d90382a1c4c8e9846080de1d34538f053ba2ccda88e91fcc5fc6 SHA512 15f0dcd69f2ffb78f4f4a7d8e11ac0e37fb23bea124778b24a4bff228a00f2f09e830e49225f0b574869f88e9c90e9114921e240eb462c10071c124d04fe90a2 +DIST conway_polynomials-0.10.tar.gz 307447 BLAKE2B f079041954dc280204ae7d0dcb467c1cd982ff1f4a46eb8193ae3bb20c47f7394c1f5de31dd573f240a89b9e2f174d97744af944ce498cd6a6cc029389ca7517 SHA512 8ddaea35ba5974cea7ede93c5fde8d481a484cd5c5c2d310e64a7fb9bb22f6781a36cc30d1e75fc79c47af2241b34102cff60e5776963859bfee5f3799772fc8 diff --git a/dev-python/conway-polynomials/conway-polynomials-0.10.ebuild b/dev-python/conway-polynomials/conway-polynomials-0.10.ebuild new file mode 100644 index 000000000000..a60b97eac7be --- /dev/null +++ b/dev-python/conway-polynomials/conway-polynomials-0.10.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python interface to Frank Lübeck's Conway polynomial database" +HOMEPAGE=" + https://github.com/sagemath/conway-polynomials/ + https://pypi.org/project/conway-polynomials/ +" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index 080ee9646050..73b9bf169f61 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -1,2 +1,3 @@ -DIST coverage-7.4.3.tar.gz 783214 BLAKE2B d9c3bba00ffd85d3ed260613880b7c8214be11092d539c011894a9d0b9b57f462b20ca38622c6c8aafa575220e34e9c0affa512cffa372ea4d421b89296193b8 SHA512 10c64eddb5d95023cb9d5c480b898389a041ab8d354a7cb48f1ed39f9bc958cc4be21ee04be620e9c74d102fd81f215f6f949a3dd8817e39300a1de4d4913fa5 DIST coverage-7.4.4.tar.gz 783727 BLAKE2B e7d7af92ddcb3d7b5857cc83d8e14bb16ea2bde720eba63b082d35358934047ef7285ac70a6cd8fcb4720a9ddea5c22cf4cb14404ac2800794c49650ff5a1dd4 SHA512 26d4715ce69556ca12d1b65db5f21807c08733810b4398750280184812ebfb698e7b424b9e30f55e7524323861a22d4581db0524e9e285ca858132359fd24d28 +DIST coverage-7.5.0.tar.gz 798314 BLAKE2B 6f7b80d1a46fb88f92571bc23fa2e061680e4e72e6339332f135ace6072570776abbfdce7654d34599ccd1dff920fb1d7cbdc7039a341d10e130408d554e6f83 SHA512 1332f630e6f6ed9a2445f93a3826f22151cf4eff2491163a6d01ef1ce468928a52871ee71aeeb716e8e4f04542524ae25213a37bdb874c4a663cbc581482530d +DIST coverage-7.5.1.tar.gz 784825 BLAKE2B 4dd659d170b026aa868a066fedc9ab0cfa16b5ac2cb90a45578528f2733b7a01b7d3546836b908412d81a7ff21645b0ceebcf27d3414a99d474a7fd44d2539f4 SHA512 db9fe405c52e30e2aa673caf0cc8a02b5f62fd53b969003d231b52cf9463afc22924d5c29859447d6139be9c6642036f3cbc690ae4055d250a73c9dcd1f805a2 diff --git a/dev-python/coverage/coverage-7.4.4.ebuild b/dev-python/coverage/coverage-7.4.4.ebuild index a1803a92bb0d..7e8f13a6c388 100644 --- a/dev-python/coverage/coverage-7.4.4.ebuild +++ b/dev-python/coverage/coverage-7.4.4.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/coverage/coverage-7.4.3.ebuild b/dev-python/coverage/coverage-7.5.0.ebuild index 7e8f13a6c388..d7fb22bbd856 100644 --- a/dev-python/coverage/coverage-7.4.3.ebuild +++ b/dev-python/coverage/coverage-7.5.0.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/coverage/coverage-7.5.1.ebuild b/dev-python/coverage/coverage-7.5.1.ebuild new file mode 100644 index 000000000000..4903c1472391 --- /dev/null +++ b/dev-python/coverage/coverage-7.5.1.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-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..13} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Code coverage measurement for Python" +HOMEPAGE=" + https://coverage.readthedocs.io/en/latest/ + https://github.com/nedbat/coveragepy/ + https://pypi.org/project/coverage/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{9..10}) +" +BDEPEND=" + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/addopts/s:-q -n auto::' pyproject.toml || die + distutils-r1_src_prepare +} + +test_tracer() { + local -x COVERAGE_CORE=${1} + einfo " Testing with the ${COVERAGE_CORE} core ..." + epytest -p flaky -p hypothesis -p xdist tests +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO: fails because of additional "Terminated" print on SIGTERM + tests/test_concurrency.py::SigtermTest::test_sigterm_threading_saves_data + # broken because of pytest plugins explicity loaded + tests/test_debug.py::ShortStackTest::test_short_stack{,_skip} + # these expect specific availability of C extension matching + # COVERAGE_CORE (which breaks testing pytracer on CPython) + tests/test_cmdline.py::CmdLineStdoutTest::test_version + tests/test_debug.py::DebugTraceTest::test_debug_sys_ctracer + ) + local EPYTEST_IGNORE=( + # pip these days insists on fetching build deps from Internet + tests/test_venv.py + ) + + "${EPYTHON}" igor.py zip_mods || die + + local -x COVERAGE_TESTING=True + # TODO: figure out why they can't be imported inside test env + local -x COVERAGE_NO_CONTRACTS=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + + local prev_opt=$(shopt -p nullglob) + shopt -s nullglob + local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) + ${prev_opt} + + if [[ -n ${c_ext} ]]; then + cp "${c_ext}" coverage/ || die + test_tracer ctrace + fi + + test_tracer pytrace + + case ${EPYTHON} in + python3.1[01]|pypy3) + ;; + *) + # available since Python 3.12 + test_tracer sysmon + ;; + esac + + if [[ -n ${c_ext} ]]; then + rm coverage/*.so || die + fi +} diff --git a/dev-python/cramjam/cramjam-2.8.3.ebuild b/dev-python/cramjam/cramjam-2.8.3.ebuild index f5ee8c61b442..9f8de85b5fb7 100644 --- a/dev-python/cramjam/cramjam-2.8.3.ebuild +++ b/dev-python/cramjam/cramjam-2.8.3.ebuild @@ -194,6 +194,14 @@ src_prepare() { distutils-r1_src_prepare } +src_test() { + pushd ../libcramjam >/dev/null || die + cargo_src_test + popd >/dev/null || die + + distutils-r1_src_test +} + python_test() { local EPYTEST_DESELECT=( # random health check failures diff --git a/dev-python/croniter/Manifest b/dev-python/croniter/Manifest index c0d46608e67d..4999c62f0353 100644 --- a/dev-python/croniter/Manifest +++ b/dev-python/croniter/Manifest @@ -1 +1 @@ -DIST croniter-2.0.3.tar.gz 43274 BLAKE2B 30efe8767d6705518a1f7f605f63ad0e114eb6fc0e5f8677aaed5627ff7c3f3923fb0858fe27c167146b494950a8dfe9b8c8b14a89cc47a715ea4528fffaac98 SHA512 28c6596dad10ffb0c8a682d959505713c3ac3188034c5f7d1771772805b57363a66a213f36b90b1208d897b35da5c8805c6f7e4744ff511e0c5b6da686bd7dbe +DIST croniter-2.0.5.tar.gz 47450 BLAKE2B fe7260cea5ec477cc39660af98a11b933182c08d66d696edece1b88d3b3212f3cdc82d4c750a83d9ceb03cd7d7d90ec139bcf6e737f2a2d791412f5a562b7819 SHA512 a61d98182754773e8a556d01ca1926452a392e55285ae3654a8cadce12418e665c6cadd2cdffa4a4091c341c8f0cb3180e473b6e91c928c5309a4d376c5e3560 diff --git a/dev-python/croniter/croniter-2.0.3.ebuild b/dev-python/croniter/croniter-2.0.5.ebuild index 42ebaaf9cb4b..42ebaaf9cb4b 100644 --- a/dev-python/croniter/croniter-2.0.3.ebuild +++ b/dev-python/croniter/croniter-2.0.5.ebuild diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest index 8207fd6a659c..d54e16ab3b5c 100644 --- a/dev-python/cryptography/Manifest +++ b/dev-python/cryptography/Manifest @@ -14,19 +14,13 @@ DIST cc-1.0.79.crate 62624 BLAKE2B b3cbed3bd6fcac1c6ea258ec96cd107f859947a35dc89 DIST cc-1.0.83.crate 68343 BLAKE2B 33245b33fa845ea2f36da36e3830ec835f937e4319865b357ee9d5ea29a0f9f8392eadb38bf1d95e3c15ed201e561acaa87aedcef744f8db3dabff87a96c7f02 SHA512 742a248c3a7547bb220a0b9c97b67a831fab9b4ac21daa08c85a3966b9fe576088def33e16132fcabec9a2828a6fc437088bb045bfc98b2cea829df6742565a7 DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff DIST cryptography-41.0.7.tar.gz 630892 BLAKE2B a2786c999b8a3fa9e413a330eeaf1076574b8f49a91a91887a7976e7260aa4bd6c25354ff4656917c9e729cd12fc457ff708d904449d03b665965f775f8b7aaf SHA512 c678da6dfc02d84ca9a26bc42844da8ba356f5dc839fefa0b63636c99107b18415b5970d721b72075fc0f8aefc3785dbf143327ceb7f4ebd075df41291b63219 -DIST cryptography-42.0.0.tar.gz 671860 BLAKE2B 40452225cac2937603000a496fd95ea0734a6d055c44a4d385aff22cf943133e5a06c1efd4e401f4b43b56eb4c87af33b8b99d1aebd84e6768217887fd12a3bb SHA512 96a9eab6b23ed8a0789742e824429646ac6a038047dcc3ec092955b1308843d1686b012f7e12c64d8c40308049be98bbdb1af233e83c60b388a30035e50bb58d -DIST cryptography-42.0.1.tar.gz 672364 BLAKE2B 5e83c2dff17dc1ae03ca339766c91b28205694d73c9f2a08a169c4e41d63262a7f0180e0f4b92afd2a59d3226576b761c901341bdd4f2568111cfd9e6ffd3063 SHA512 978f21bb14dd15ab559af4c85cbc5c98b2ad047bedc980307d7fc91816ee50ace4b1259dac083eb03f03ce12db1eaae171405e33348ac3affd58c140b986dfbd -DIST cryptography-42.0.2.tar.gz 672761 BLAKE2B 9c97305adebb88127cc6e2e44affee6c9703638abb1b09e34da424a617aa9eaddd8498a2452711af998dbe7818a6148392be78106104d01f2106d8de2b65ac97 SHA512 100f604884cfe5335369d48eeb1d28ccd822f13ddd13c007f4a265c887362bda2b88646328ca570c9969897bd838df6c1f6b7fe4abaf36e82cdb93358694b12c -DIST cryptography-42.0.3.tar.gz 669589 BLAKE2B 328c297a989f96d10e92c92d5b84e147512498be7ad205b2f36fcdb6234b4c77ac7f20f3ba8f74d05a573e2eacc68e315a97fbc429b87b5da625d4cf359773bd SHA512 d3733d08afea1cb3ad5a01f241ea7f58aaf38334cd25e2b7f64686ffd697f20ec30133931af7fe6a439ba0cb365d63ea6ec0512c627b768891f9e82c15dc0cdd -DIST cryptography-42.0.4.tar.gz 670311 BLAKE2B 9dc906048bf3be1b457a528cebf8d947ef9088ac5bdcae18b43359412c793fa25fe66a1032d118d0a64924e20065e449977ace3027e508cb383381dd175119ce SHA512 e949672bbe5347c994e1217767c45b4a302830074ed404b65fdad5166f415c4d4c597c1b928eba3a61b338438a178c32302e001ffd6a2c34bbb51ba79ae2e938 DIST cryptography-42.0.5.tar.gz 671025 BLAKE2B 0eb4b6722ffcbd8b1107afeff23ad72de8199b82923e82412176601aeda8eaf0fe53485ad0fb504be0e5d1898a4006d4bc2ecf5a406f818a69120df382d2ee87 SHA512 5524fd230b55580a2c647a0a78197a783e201fdfa8b3177b72c6d7b689afd76a689e4fe3593120d3adb7ee5cc4adf9211e8deedc8fab355e9ed70076db09f68b +DIST cryptography-42.0.6.tar.gz 670978 BLAKE2B ffe93d5a875f49531b06727bdf5727a0c12bb903d7db176b6e2e93abbb23108484dab94dbd05ab771d371211e2c0d491a4887f3e5d428b5146a442bf796d8618 SHA512 60c962357c201c5e8b78b460377a60911785c6fc3d20a501481da88f14aa1763efbacd94a65a1c1076b8efc08960f9f5ef7306f2f38de590a4135982ff37ef31 +DIST cryptography-42.0.7.tar.gz 671230 BLAKE2B d0c1e0c752e066a4bd7a01eb351463f4264603610981f738d629785a783bcdedbd5a9fefbdbf4eaac2cf56a3db12334991b284c5195bed2f8050f836a816308d SHA512 2f502fd78490ed2dc26884b05c9db32d6dcf8ed17ca3808299e528aa53ec13805e2be741d92d6a540b7dded011850cf033abe2e073f22f07e271c7c1c25c024b DIST cryptography_vectors-41.0.7.tar.gz 35288159 BLAKE2B ef2e82f42bb4964a256e875bf3b7bcca549df11839893ac3b8d909d05308360bb0696774fd89bd8951bf4f13aaf752a7700bfde78e68cce450ffaf5117182958 SHA512 05a96cc8d1e3653e62c6822f202f6c25157b2a11bcc42fa8a9462ac1844c295147ed5f49315f0b297c689e244cf13d02948ff5e57c21a487f0210f87518c913f -DIST cryptography_vectors-42.0.0.tar.gz 35277565 BLAKE2B a770b13244633dc155f21c9179440d4f5d393c71801e44e374e38c183055b842f127090160fab6ba44748e68b2004c0d128980b89b1ae760e6148ba4784fecce SHA512 2d7a633ddf6b81bc3098a54dc61b801e7ea8117424d02db2b9baeb2a2a6da734e07b64f24f924fbf1ae45d65ce2f34db8cc76b1bfaed9dab00a69ef0332245e1 -DIST cryptography_vectors-42.0.1.tar.gz 35277715 BLAKE2B a1996ddd91eb5986c6ea72a3a163506ac60522eb459ce36b90ade44045d662ecbc6e2c2875a0437371885968524c43829e02bcbc094e6a1cb5ade5b743114cb4 SHA512 b7d4503f182e29d1d33bcd5ad2f4327a8deb3e11c640c843eab3b870780b7285323fa044f98dd052101e4926b2bbbbecdf5de00858df8fbedc25e7c69912b335 -DIST cryptography_vectors-42.0.2.tar.gz 35277730 BLAKE2B 63e2d1b707b66e13f8aecefeebe1474118f05fcc017635b4fe91bfbd73ac43db2923375a75e0725eb35fb37d4facc2e2dadef771c84563d08d13e85fd90c0dfe SHA512 8ebc90e26b1398c5315061f621c3364e0b1759ccedcc566e6420e730f7df65763741e2cb26a87f4004964f4fb57703be2009fc5443266e0bfd9b5620ced9d04d -DIST cryptography_vectors-42.0.3.tar.gz 35277759 BLAKE2B 4474fca84de99b025a8aa8c7414f5ead4c2c7e8098b80689229c133a8422b1aff034bcb54fcd840d9090230649ce26b52c10c1d4fb35e3ad7ec888952c809fb7 SHA512 35d0220b564c384458c0844c66d80f49af763e728ca59658964ebefcf0433197a72be0a896ce6007b183b761c49200a7b6bba3b84bc13390336ca2875e04f7f4 -DIST cryptography_vectors-42.0.4.tar.gz 35277611 BLAKE2B 84c998730505b5ac355b548cdd25dde876e43fc7fcb11feb5714ab9e21314d1a1fb519ba46ca5986e3f3522434a96a7803e7dcb6f303a61bb1fa2f8bab341ad1 SHA512 a1f324a43b0041733bb18f9e0b371ae7aab0786a0d5166ccde622946d5ee68c143a5b92a4c50bd8649b5b71962399994ec506250cdf6e691cd259d93f9910662 DIST cryptography_vectors-42.0.5.tar.gz 35277812 BLAKE2B 3511f90a90816dbf48fb588e24e432844b51f9b969f03bf9f01e7cba55a8b7fc1aebf66409e137ccee14279535b366c54e1b3af6af026812cdfe92c3137106ec SHA512 38af39f8cb869af630d4b75d7a62ba9778fd59ceee2858504655d9065a82d2365644c9ab301c90f3ebd9f32f2e04867650b6d392c1f2b6880e3bb0c216e6a419 +DIST cryptography_vectors-42.0.6.tar.gz 35277817 BLAKE2B f78c96e1b2ca1d347b010f52d37b310cca8f42e796f28f13becef1e8d40781510b039b023f7e41577772be249b8dc6d0cdaadc8e72874c3feca074fbd5663616 SHA512 99f523c4df9c7d291c03808b830673b2dfb8ae1c46d621220df75c1d012cfa1be335094cef31fa6390c833452a503459ee6a06bb8c027b3e33760e8262ab9dc9 +DIST cryptography_vectors-42.0.7.tar.gz 35277664 BLAKE2B e8d999f6c139d610f7539287de22b97febebd8abcbf5989aa47139705b076aa5657a3af4fd00668c5fadb4cd8e7b2253a53f3cc057d9b2636e982f7487ac5fa0 SHA512 5d64b3b7576ff1f39db1c12fbe5ed71e8430ca82cd936aedaf41c45812ec6f72456d6369dbbc58fed1d29909a845fac467a41e0acf74e681f3de8ccb1b8422fc DIST foreign-types-0.3.2.crate 7504 BLAKE2B 520818b702d990d296ecd31a8646850202509ccfa18edd0e1b260289619a6c351e758f317ec0824bd76eccb209b6f087057c25f1bd01a47897715013dd834867 SHA512 bf27b8243ed482c202d120383374f19ff09422535e24b9c1aebccc66529bf300ca17b8bbc76d67f98ac092e614497afe3add9dc68aa69c93074df05762f91232 DIST foreign-types-shared-0.1.1.crate 5672 BLAKE2B d2e42e04b6657e7a69fe0bd20c672176629c743e49a55fd007bb30e289710b70045d445ae9cae0eeaa747ee708c90e8abd9b5fc39bad8ec0666befe1b696d4f1 SHA512 bafdb2143e136fb0818e2ffd90b5c862b7181647d6568947d4e4531012bbf7a57b597221ec7056c1b562dfc0c3b5dead26d1a4111ebc15e7863737a873518a4a DIST heck-0.4.1.crate 11567 BLAKE2B 520aeea740cfa30b0cca12f73594ffa655f32959673b1c9caaca1ea0162e455546ae3033881394c0ba0516bcd5c9a997da02162e1585522d665813b9096eabd9 SHA512 8c80e959d2f10a2893f9a71994720f90747742bb5b61fc0a539eed3ea5679b140c48fd7f7690d7122cd6af5f7f20a19d412e3569fe741c6d31f6b2ce1e0b80e8 @@ -42,7 +36,9 @@ DIST once_cell-1.17.2.crate 33335 BLAKE2B 8f1bf825fd618fa1070c3497264085bd354c9b DIST once_cell-1.19.0.crate 33046 BLAKE2B c14b374eaf4ac0f60acc2e02f7bba270a0e8e0a6978d749cd3cb0ab3eb26907e4fbea70dd5132982f90290381ed18ff8a87fd530f1415fabffac864f157ea380 SHA512 4154876afd34a699ee650d1a8a1c5ee5a25f0ebd9388b8bef2564e33629fae68f113d7507488c68abbe7ea1acf9bbc41813cbbf3ef3e464e3f3b9cc7a51d870c DIST openssl-0.10.60.crate 265736 BLAKE2B a5a2386470baa5bfecfd9bf32a9965babf1c222e6e35d8652846ac342f75dc6ff022d8344350adcbd42d3313cde3831664fa9e65affb8e3825d58d4a8f5b7418 SHA512 4341098b55136862b2206091e740801c165c42f30404e4224c9d5cf3e68b5b6b26f5c4c383495a4b5b6baef232fa698f80136b0c3e86dbc9d411d3bde0d59616 DIST openssl-0.10.63.crate 270890 BLAKE2B 0571a214347f823c9079c1f6d204c62469235ced63cbfdb8494427aed8069f45bbb26b81d1edbddb3602c0bffd54d1ca96204aef8cb85aec041edf45d89889db SHA512 47baa5f2e34b622dff0cd475dbbf6772adf48abbcec5be1cbcafe2beb9060ae46a3d873896ee4b5d864da0b132f0efd956596c49f2afc650a44cff6af001aa56 +DIST openssl-0.10.64.crate 272306 BLAKE2B a8b618aa403cdb06a7f135cd966775f21c99739365c55aabde2680a6154d03c7d554bfae6c62a069841c70ed82ece6c3f0cd589da8c26022b7022c3c4d79a6d8 SHA512 a1fa9f71cfebbb37ed9d4a902360f2cc95a78f55b5da5d51eef69db38cef016fc03236485158d689ccf054e04937b8cddf88e3f0f31672997fb30c6cac73cbf6 DIST openssl-macros-0.1.1.crate 5601 BLAKE2B 69dc1c1f3b7bc4f934cae0dce64c3efa501162e5279efd6af3b74f7a7716c04b6996b306b310f1c045cfa2eff2895314a47ecbb020a817e461c6d77d0bc11e92 SHA512 57e75c84f78fb83f884eeaedb0dd135ecb40192dad2facd908e6a575c9b65b38a2c93bca4630e09ea5a82c77d8bc8364cb2f5778cbfe9d8f484cafe3346b883c +DIST openssl-sys-0.9.102.crate 68622 BLAKE2B 0d3d3c9ef8e2542c7f35db1d8feaf512cc7313481bfcc99354d601e8d6332adfc2e7ee8b35599a9241de35c163efd840186e904375bdc9c65ee743abbc154cba SHA512 7ecfaa0b49cea5c60f6f063fe5217252a65b27c5e6d1185e0aa1bb4b59c4cf9bf326840e8795a870a537c18ee5a987feedaaf2dd767cd6f1380f25468a1622bd DIST openssl-sys-0.9.96.crate 67743 BLAKE2B 0336ef48841d263c7c5883f0e2c3b7224c5561c521fc15d692b56fadac50681d18ecabbea8b0d5adcdad20f3d3ba60fa29950f04ed1ed35fa3b7b4816f556af8 SHA512 b5f0290fde2198e314b8e0d3fddfe0fd6d5ea88024cd1f2a70d99a0b78905568a82e63818cd58bae7f362d663e47202e6fba8cf4fc83354dc0253d78a9dafd76 DIST openssl-sys-0.9.99.crate 68158 BLAKE2B 59995535bc24f0ca67ea204193aee4114f88538bbd74ade7c22bc2ea1b0d7e41a79118b6d22917bd1e305a43c16f8aea095c635d27a56fc0481a2baa3092dfa3 SHA512 b91197583135c22d34814e6382dc4ad4be9c3905c979addee8688dbc52ce627815e719b9d0b365195335d4d665eaa79a406f89e4c19cef73988938d51fe2f4ee DIST ouroboros-0.15.6.crate 11257 BLAKE2B f7f8758a7456e4561279fbc88d0bf994bf97e93f9d42d2a3476d959d40a85d2d8f7910e36f96824cb0316193d42efeab608767ada00bde6803bf193405f51233 SHA512 ba777f29b26b1a934d7bcf5f456e2e6485dabfe7b8a25160b34feea438e1e7649fb45cb62d83cb1ba9262564b7b877d84f9c9419d877669b65869bed2df9c02c @@ -60,19 +56,14 @@ DIST proc-macro-error-attr-1.0.4.crate 7971 BLAKE2B 98e2925881c2be186e22c2c43969 DIST proc-macro2-1.0.64.crate 44848 BLAKE2B 4422122d9299eff3bfbb4507c4a117fef7c0906cab5a680933d482b7f9b49480bcb9c8172b412e70bf87dd0737b8532e90c310bf083f144292cc72190059ba3b SHA512 884fd14ff23c19420692e35a38f88bb6a766a09da105759cd958c315b9360a2c49cfe61ceaa3122307d44040195ec9dffb12b6d0ce224fbac5d3701621a12b04 DIST proc-macro2-1.0.78.crate 47158 BLAKE2B c56a24fce3faca9e04db7965cab552d2a976c3764df0a84179b5a89d1230ab355c777a82b4c982e3945414f1f0478473a88821dd176c32d6de394d73a26adb9a SHA512 11956fe03a2e77a925cdff2c3c8bc8804dffab4fa1de963a128fa23f4189976fd2e2102bd346b92c33524beae320b71dadaa5213695a3ec638404196e14fa769 DIST pyo3-0.18.3.crate 420236 BLAKE2B bc00a825a67ed3590b31d3ea6bd77f6c4c927c0355d9d03ce64ca44e36ae3e29ab4d891bf2d94ca074b3bf858e077c516dc64e4620f875fe1e8fbffb5c9db1ec SHA512 39f044a19a42a5e2f46049431fbe3fe10c14d12a4741cc789b42de7cbf448bcbded7fe38a0f124d994ff9bcd3d95a19305dbfdc7462331fda3e6686cc4289be5 -DIST pyo3-0.20.2.crate 434326 BLAKE2B 3114fd6f3fb8ae7d1b35c9d2ac5ba6a49c5ac911ee3a5b941c5063263ca7cce47fa4b4f7ec34cbfe3083f3d1303fd7f061639fba833a04fedb9d5098f5784028 SHA512 cc5151a116179157046ec92677e5a72318b4cdb13a7d7e3bb83778739b5758040e5020f667dd83554a66b758581a08f5de05eb38e7b339813cec85e0712e6355 DIST pyo3-0.20.3.crate 434673 BLAKE2B 1dcb881fd1fe5c76e9b4951f4d95fcd1daa1845c226a4ab1db4283cabe67bda822ff03e3cc85d797fe4665a1614229e7406dea65ec5e99ce4aac96b973a7f55d SHA512 77cce558fa60bbd8d9981ff5e62fdfa9bac94bd650b287fbf14ac93ef1c326c8ae7fda82d744e3582df03cab8adf490e0f2752fabd9ae3de044e7d80984e0350 DIST pyo3-build-config-0.18.3.crate 29137 BLAKE2B 5fa645b64f50a078f38cc10a27ed52bd7e7aadd8a069c05ec2963f0b7c869b94d29eddda97cc31d200cf749ab8e2cd9cd1ea00e75620287e9187745ae0e100a5 SHA512 7ccad5f245e84895e147389f05270f32d12f81aba46bcd0dc184b8d62af2ea579efc50383502efda40601c981c4dbcf911aa7d8192364caa2e177ad939062cdb -DIST pyo3-build-config-0.20.2.crate 30029 BLAKE2B 846eb95d1417a658763417a2750dca1c55201105a3978d61b1db5e3962680ede188f8285dd7deec778ea9860d43e40513b88f5a54f0b1881b08416760bdbbedf SHA512 9dbc669ec69d38716c3909fa8f3b6c5be13c717b20bfd5dd11edab59b8eb35247d7996acd260fec88f92eb3e71248c86e9b40c1a700827889e2990bba20ecddf DIST pyo3-build-config-0.20.3.crate 30060 BLAKE2B ef122b0b7d840d5362928bac76e1299b333775ec5c49a3bf23a19eccec074917931356bbf719c6d700999941bb6a396948ee7f8761e685c8e9251af07ba0cadc SHA512 70685415bba443787dabb9c61ca3702aefbcacb0705471b496b4f01efe34291735321d91243355b4be9aed8b243e393c09fb65556f1b926ac7f22f64560bd927 DIST pyo3-ffi-0.18.3.crate 64474 BLAKE2B 32bedfb4c7d88e539e958af0dd48af311934a817282a01f860af7cd824fa1e3825c505463b78cda57541bea8ccbbedacdc0f67bef686e6775fab3787c26c6d2c SHA512 55240c7824ad1e5c69e05a31ec03e2064290c89c4c98f06c3ebc38c311a10b1690571c977a103790ddcc9623ac42fbf525fb028e910baedb9acafe39fd6e4a82 -DIST pyo3-ffi-0.20.2.crate 64601 BLAKE2B cf1141ad34a13dcb46de0d1e15dda192ca41a7441bfc92a9295861876dcc690d1d5d6d39dafa51cd70c4627353efa91563eaefee8c39f655d12818003f9524da SHA512 ee6386b6fdb80689d104f9cd5229f02e1893d00a52be710bd36882c47305abbe24ef2f3cdef8200fddc0bb97e29001fa3a2fd9d3d2673ecd9a104a070420d01e DIST pyo3-ffi-0.20.3.crate 65024 BLAKE2B 33e79a02c7ab85f4767e02a39d8553ddc015c80d13bea674885ad8a18d89bd90f866cc39d81ecbf56270ebe87d29bca48f635c4e73ec99df02ce425f1427cb31 SHA512 3d1ced58e243be7cee4a3ca831dc08a1631fcd511c707dd3bada87d7662807dea2d88393d76e56ff19a6d1c2804d93b5b6b7b5efd36b9c275d66fa1bb1bfc384 DIST pyo3-macros-0.18.3.crate 7175 BLAKE2B 424cda4d0d75c7d4df6aeab0a475fc744039c9a663215c633e62762083930eb6736348f431b6f00d11a093961433fb13fb4c9da8a18268d1904e933157255646 SHA512 2b643ec3451267e836076bd79d110826fa0a2407955543c8a6a46b0dd16c477eb3ad919d51b7beca90eca2938a59577b32e1e67169df67429fac4cfaae5bf5ab -DIST pyo3-macros-0.20.2.crate 7925 BLAKE2B 00fc60becfa39bf452786d8a612247785f1737cc3e627700d0d144ab2efaadfb34ce8a8f46e932382a1ea99caebfe1946fbc517b5c26fadb0822ecaa8b2e9df0 SHA512 dd9ea9acda95dfc53689a4c26d8c2139f8a90a05ab06737037f19b8bccd5e52b0da5f297a29194b958f5f8b59cbb566b5f409b3f17a863eddf855ecb755d2719 DIST pyo3-macros-0.20.3.crate 7920 BLAKE2B 0510accf51cd83390cbb7b6ba4ec9f4610e3dbb7448d1213994013487ae81bb087df1ba0076a3862e5ecfd172b7846f9439a2d86950a93b016aae565ced4f03b SHA512 454f3c0c054aa131ffe955e4be1af061005b9c81b4d80702827e19b983224c118dfea474da515d5fc2c79cfd3fa21204ed4af2d9e81427123e0a78bd246a23f8 DIST pyo3-macros-backend-0.18.3.crate 48922 BLAKE2B 4937f6d9459c6651f85fd520e4783c051f28932192d02aba5711fbf0294ed617f5b0b35ebbac74f3e6048a3fd3b75028518ebadf1277eefaa501015a91269c77 SHA512 1e607e4925486e1a48748ef3163666910a06f9a4f4a2fd7eb6a6af87ea37b5b7edb9d3ab4958e6fe907a55c5f4bcb702a251d836dc3b57c4ab1c5d9248b8cd35 -DIST pyo3-macros-backend-0.20.2.crate 49710 BLAKE2B 711b18984e61219555df4b62667f7f376951c6cb47e6dd947fc24618b923c4f4f790eb1aba1901abea4761632cdb58cfa81cce91f33586da3022e6c7d126bc9f SHA512 c6ca2a2cdae8630fba3f8e4122e81b60ef2ef0905ad2a3fbcfae134456d5ca9e73690b61590e391f3b9d82c24725809f18544c5dfa0b36ffdb1914844fe65d3a DIST pyo3-macros-backend-0.20.3.crate 49797 BLAKE2B 59c55d482577ce105db3e19a1db794eaab8221d7de01197716b75d5d2602e0f27c86aaae527eae7098eafad311144550bd597efe8cd6560c82dc435021f3428f SHA512 e177ee0d6a538a555fbe9108e3e2c20102622b2c9b9696ae309189e5c4d068efad2132afd4a97d734ebabb4d7146980a26cb68dc05d5eb88f338be2ad0cd651f DIST quote-1.0.28.crate 28382 BLAKE2B 9fb16c3bb2a7fec3d8138ffec1f58277061f4a643c9051e1f6525f9e347ed9de41a3797eb3140a6dd828526eb4114c1f7ca562151dc933f338d64b175ed35d9f SHA512 846d718153f78cbae6dc714caa9413a5d5964bcc5e032f5c6c5356c62c33bf22635955ebdff0dede69ba1c9657387e65d61de7c537f6f56f8060721dfa52d735 DIST quote-1.0.35.crate 28136 BLAKE2B 81424245e1e2b94459df68bb3a9a866c6a364102b5e1d010ede9c5f8278f8406d7b651957d091c5914e936b494b0f6e9a6a1dd8b7d35cd7d7100f86dee4ec12e SHA512 f5314fb6af17cf36c228e1970c569c29ec248954a450a5f90ba9e2896d04f74904c9cec5a1f74325f2489295a94491eee4ce8fb461e22cd4b34e53f1f881efd2 diff --git a/dev-python/cryptography/cryptography-42.0.0.ebuild b/dev-python/cryptography/cryptography-42.0.0.ebuild deleted file mode 100644 index de93827364b9..000000000000 --- a/dev-python/cryptography/cryptography-42.0.0.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CARGO_OPTIONAL=yes -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -CRATES=" - asn1@0.15.5 - asn1_derive@0.15.5 - autocfg@1.1.0 - base64@0.21.7 - bitflags@1.3.2 - bitflags@2.4.2 - cc@1.0.83 - cfg-if@1.0.0 - foreign-types-shared@0.1.1 - foreign-types@0.3.2 - heck@0.4.1 - indoc@2.0.4 - libc@0.2.152 - lock_api@0.4.11 - memoffset@0.9.0 - once_cell@1.19.0 - openssl-macros@0.1.1 - openssl-sys@0.9.99 - openssl@0.10.63 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - pem@3.0.3 - pkg-config@0.3.29 - 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 - quote@1.0.35 - redox_syscall@0.4.1 - scopeguard@1.2.0 - self_cell@1.0.3 - smallvec@1.13.1 - syn@2.0.48 - target-lexicon@0.12.13 - unicode-ident@1.0.12 - unindent@0.2.3 - vcpkg@0.2.15 - 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 -" - -inherit cargo distutils-r1 flag-o-matic multiprocessing pypi - -VEC_P=cryptography_vectors-$(ver_cut 1-3) -DESCRIPTION="Library providing cryptographic recipes and primitives" -HOMEPAGE=" - https://github.com/pyca/cryptography/ - https://pypi.org/project/cryptography/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} - test? ( - $(pypi_sdist_url cryptography_vectors "$(ver_cut 1-3)") - ) -" - -LICENSE="|| ( Apache-2.0 BSD ) PSF-2" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-libs/openssl-1.0.2o-r6:0= - $(python_gen_cond_dep ' - >=dev-python/cffi-1.8:=[${PYTHON_USEDEP}] - ' 'python*') -" -DEPEND=" - ${RDEPEND} -" -# XXX: Drop explicit >=virtual/rust-1.56.0 dep once that's the minimum in cargo.eclass -# and replace it with ${RUST_DEPEND} -BDEPEND=" - >=dev-python/setuptools-rust-1.7.0[${PYTHON_USEDEP}] - >=virtual/rust-1.56.0 - test? ( - dev-python/certifi[${PYTHON_USEDEP}] - >=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}] - dev-python/iso8601[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/pyasn1-modules[${PYTHON_USEDEP}] - dev-python/pytest-subtests[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -# Files built without CFLAGS/LDFLAGS, acceptable for rust -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/cryptography/hazmat/bindings/_rust.*.so" - -distutils_enable_tests pytest - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - default - - sed -i -e 's:--benchmark-disable::' pyproject.toml || die - - # work around availability macros not supported in GCC (yet) - if [[ ${CHOST} == *-darwin* ]] ; then - local darwinok=0 - if [[ ${CHOST##*-darwin} -ge 16 ]] ; then - darwinok=1 - fi - sed -i -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \ - src/_cffi_src/openssl/src/osrandom_engine.c || die - fi -} - -python_configure_all() { - filter-lto # bug #903908 -} - -python_test() { - local -x PYTHONPATH="${PYTHONPATH}:${WORKDIR}/cryptography_vectors-${PV}" - local EPYTEST_IGNORE=( - tests/bench - ) - epytest -n "$(makeopts_jobs)" -} diff --git a/dev-python/cryptography/cryptography-42.0.1.ebuild b/dev-python/cryptography/cryptography-42.0.1.ebuild deleted file mode 100644 index de93827364b9..000000000000 --- a/dev-python/cryptography/cryptography-42.0.1.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CARGO_OPTIONAL=yes -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -CRATES=" - asn1@0.15.5 - asn1_derive@0.15.5 - autocfg@1.1.0 - base64@0.21.7 - bitflags@1.3.2 - bitflags@2.4.2 - cc@1.0.83 - cfg-if@1.0.0 - foreign-types-shared@0.1.1 - foreign-types@0.3.2 - heck@0.4.1 - indoc@2.0.4 - libc@0.2.152 - lock_api@0.4.11 - memoffset@0.9.0 - once_cell@1.19.0 - openssl-macros@0.1.1 - openssl-sys@0.9.99 - openssl@0.10.63 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - pem@3.0.3 - pkg-config@0.3.29 - 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 - quote@1.0.35 - redox_syscall@0.4.1 - scopeguard@1.2.0 - self_cell@1.0.3 - smallvec@1.13.1 - syn@2.0.48 - target-lexicon@0.12.13 - unicode-ident@1.0.12 - unindent@0.2.3 - vcpkg@0.2.15 - 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 -" - -inherit cargo distutils-r1 flag-o-matic multiprocessing pypi - -VEC_P=cryptography_vectors-$(ver_cut 1-3) -DESCRIPTION="Library providing cryptographic recipes and primitives" -HOMEPAGE=" - https://github.com/pyca/cryptography/ - https://pypi.org/project/cryptography/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} - test? ( - $(pypi_sdist_url cryptography_vectors "$(ver_cut 1-3)") - ) -" - -LICENSE="|| ( Apache-2.0 BSD ) PSF-2" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-libs/openssl-1.0.2o-r6:0= - $(python_gen_cond_dep ' - >=dev-python/cffi-1.8:=[${PYTHON_USEDEP}] - ' 'python*') -" -DEPEND=" - ${RDEPEND} -" -# XXX: Drop explicit >=virtual/rust-1.56.0 dep once that's the minimum in cargo.eclass -# and replace it with ${RUST_DEPEND} -BDEPEND=" - >=dev-python/setuptools-rust-1.7.0[${PYTHON_USEDEP}] - >=virtual/rust-1.56.0 - test? ( - dev-python/certifi[${PYTHON_USEDEP}] - >=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}] - dev-python/iso8601[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/pyasn1-modules[${PYTHON_USEDEP}] - dev-python/pytest-subtests[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -# Files built without CFLAGS/LDFLAGS, acceptable for rust -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/cryptography/hazmat/bindings/_rust.*.so" - -distutils_enable_tests pytest - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - default - - sed -i -e 's:--benchmark-disable::' pyproject.toml || die - - # work around availability macros not supported in GCC (yet) - if [[ ${CHOST} == *-darwin* ]] ; then - local darwinok=0 - if [[ ${CHOST##*-darwin} -ge 16 ]] ; then - darwinok=1 - fi - sed -i -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \ - src/_cffi_src/openssl/src/osrandom_engine.c || die - fi -} - -python_configure_all() { - filter-lto # bug #903908 -} - -python_test() { - local -x PYTHONPATH="${PYTHONPATH}:${WORKDIR}/cryptography_vectors-${PV}" - local EPYTEST_IGNORE=( - tests/bench - ) - epytest -n "$(makeopts_jobs)" -} diff --git a/dev-python/cryptography/cryptography-42.0.4.ebuild b/dev-python/cryptography/cryptography-42.0.4.ebuild deleted file mode 100644 index c2c8531e6c82..000000000000 --- a/dev-python/cryptography/cryptography-42.0.4.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CARGO_OPTIONAL=yes -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -CRATES=" - asn1@0.15.5 - asn1_derive@0.15.5 - autocfg@1.1.0 - base64@0.21.7 - bitflags@1.3.2 - bitflags@2.4.2 - cc@1.0.83 - cfg-if@1.0.0 - foreign-types-shared@0.1.1 - foreign-types@0.3.2 - heck@0.4.1 - indoc@2.0.4 - libc@0.2.152 - lock_api@0.4.11 - memoffset@0.9.0 - once_cell@1.19.0 - openssl-macros@0.1.1 - openssl-sys@0.9.99 - openssl@0.10.63 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - pem@3.0.3 - pkg-config@0.3.29 - 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 - quote@1.0.35 - redox_syscall@0.4.1 - scopeguard@1.2.0 - self_cell@1.0.3 - smallvec@1.13.1 - syn@2.0.48 - target-lexicon@0.12.13 - unicode-ident@1.0.12 - unindent@0.2.3 - vcpkg@0.2.15 - 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 -" - -inherit cargo distutils-r1 flag-o-matic multiprocessing pypi - -VEC_P=cryptography_vectors-$(ver_cut 1-3) -DESCRIPTION="Library providing cryptographic recipes and primitives" -HOMEPAGE=" - https://github.com/pyca/cryptography/ - https://pypi.org/project/cryptography/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} - test? ( - $(pypi_sdist_url cryptography_vectors "$(ver_cut 1-3)") - ) -" - -LICENSE="|| ( Apache-2.0 BSD ) PSF-2" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-libs/openssl-1.0.2o-r6:0= - $(python_gen_cond_dep ' - >=dev-python/cffi-1.8:=[${PYTHON_USEDEP}] - ' 'python*') -" -DEPEND=" - ${RDEPEND} -" -# XXX: Drop explicit >=virtual/rust-1.56.0 dep once that's the minimum in cargo.eclass -# and replace it with ${RUST_DEPEND} -BDEPEND=" - >=dev-python/setuptools-rust-1.7.0[${PYTHON_USEDEP}] - >=virtual/rust-1.56.0 - test? ( - dev-python/certifi[${PYTHON_USEDEP}] - >=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}] - dev-python/iso8601[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/pyasn1-modules[${PYTHON_USEDEP}] - dev-python/pytest-subtests[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -# Files built without CFLAGS/LDFLAGS, acceptable for rust -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/cryptography/hazmat/bindings/_rust.*.so" - -distutils_enable_tests pytest - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - default - - sed -i -e 's:--benchmark-disable::' pyproject.toml || die - - # work around availability macros not supported in GCC (yet) - if [[ ${CHOST} == *-darwin* ]] ; then - local darwinok=0 - if [[ ${CHOST##*-darwin} -ge 16 ]] ; then - darwinok=1 - fi - sed -i -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \ - src/_cffi_src/openssl/src/osrandom_engine.c || die - fi -} - -python_configure_all() { - filter-lto # bug #903908 -} - -python_test() { - local -x PYTHONPATH="${PYTHONPATH}:${WORKDIR}/cryptography_vectors-${PV}" - local EPYTEST_IGNORE=( - tests/bench - ) - epytest -n "$(makeopts_jobs)" -} diff --git a/dev-python/cryptography/cryptography-42.0.2.ebuild b/dev-python/cryptography/cryptography-42.0.6.ebuild index de93827364b9..9165461ad13c 100644 --- a/dev-python/cryptography/cryptography-42.0.2.ebuild +++ b/dev-python/cryptography/cryptography-42.0.6.ebuild @@ -27,18 +27,19 @@ CRATES=" memoffset@0.9.0 once_cell@1.19.0 openssl-macros@0.1.1 - openssl-sys@0.9.99 - openssl@0.10.63 + openssl-sys@0.9.102 + openssl@0.10.64 parking_lot@0.12.1 parking_lot_core@0.9.9 pem@3.0.3 pkg-config@0.3.29 + portable-atomic@1.6.0 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 + pyo3-build-config@0.20.3 + pyo3-ffi@0.20.3 + pyo3-macros-backend@0.20.3 + pyo3-macros@0.20.3 + pyo3@0.20.3 quote@1.0.35 redox_syscall@0.4.1 scopeguard@1.2.0 diff --git a/dev-python/cryptography/cryptography-42.0.3.ebuild b/dev-python/cryptography/cryptography-42.0.7.ebuild index de93827364b9..11f871a1c23c 100644 --- a/dev-python/cryptography/cryptography-42.0.3.ebuild +++ b/dev-python/cryptography/cryptography-42.0.7.ebuild @@ -6,7 +6,7 @@ EAPI=8 CARGO_OPTIONAL=yes DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) PYTHON_REQ_USE="threads(+)" CRATES=" @@ -27,18 +27,19 @@ CRATES=" memoffset@0.9.0 once_cell@1.19.0 openssl-macros@0.1.1 - openssl-sys@0.9.99 - openssl@0.10.63 + openssl-sys@0.9.102 + openssl@0.10.64 parking_lot@0.12.1 parking_lot_core@0.9.9 pem@3.0.3 pkg-config@0.3.29 + portable-atomic@1.6.0 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 + pyo3-build-config@0.20.3 + pyo3-ffi@0.20.3 + pyo3-macros-backend@0.20.3 + pyo3-macros@0.20.3 + pyo3@0.20.3 quote@1.0.35 redox_syscall@0.4.1 scopeguard@1.2.0 @@ -135,6 +136,8 @@ src_prepare() { python_configure_all() { filter-lto # bug #903908 + + export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 } python_test() { diff --git a/dev-python/cssselect/cssselect-1.2.0.ebuild b/dev-python/cssselect/cssselect-1.2.0.ebuild index 0f8742d158b6..38fb7120848c 100644 --- a/dev-python/cssselect/cssselect-1.2.0.ebuild +++ b/dev-python/cssselect/cssselect-1.2.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/cssutils/Manifest b/dev-python/cssutils/Manifest index b4f1fa7094af..3911c03aef36 100644 --- a/dev-python/cssutils/Manifest +++ b/dev-python/cssutils/Manifest @@ -1,2 +1,3 @@ DIST cssutils-2.10.2.tar.gz 723055 BLAKE2B 7064f1928bf8496bef8eccf4663f944ed79e5e8065808254d12b68f32e9c8f308724e652b24fa584af54a0976ff3ab2f2751a9102e0f31a5f4a8fabf8f417b23 SHA512 c678b6953b13e8a7ac7b2abbe0b8be26283973537089071828e618b359bcce27df636f382d8b0dc50b13962e0d2dffcce991a47f678954ec018849e57026446d -DIST cssutils-2.9.0.tar.gz 723452 BLAKE2B fc3593dec7a61b1a23b346b5a77160248760a934f01e6135a6478eb1164333a910c6c3fb403e3e06c8c7c90214a7c30ddc481dc9623c26091d62c8d092d8cea3 SHA512 d13d53b3e4f133afb5b72faba1e41a95cf2b146efb075dd3b328fc424eccd371194e1e14fd9e607b207b5c7d473e64f1e4c63975173d8491fa8036a16dc94d38 +DIST cssutils-2.10.3.tar.gz 723334 BLAKE2B 3ee122fb843aeb8db79d5288d465fda4f632e63a51e09a9de7d1429b1e7a81de93518eb1c4766b7a18c7db3fb64480815fd3a8c22b9b4a4186890402328f1b42 SHA512 44570c048d64d9d2825f64c551470d86fd5a166c35fef7915e9187ba26807300c342360aa881fc4f7ed86ef7aba63969d5055811f5ecae4b3998bf4b28ffd5ea +DIST cssutils-2.11.0.tar.gz 723164 BLAKE2B 433358b1bd167d72ceda9c60f4460a95804c492a92854747dfc49ef4e2efe69388781c515adbb3c5d9010895e13a039ea33c46d4b2c71cb8bb15eead3e998b60 SHA512 42ce87502757d213ab5b2812c8a76724955f565826c69ffe4db53d49020ce960c8544423428f2b8c24d9b1b215c22f18de9dff66ef249c8060d17aad990d9a6f diff --git a/dev-python/cssutils/cssutils-2.10.2.ebuild b/dev-python/cssutils/cssutils-2.10.2.ebuild index eb9363ad1cdc..9ad5cabb7db4 100644 --- a/dev-python/cssutils/cssutils-2.10.2.ebuild +++ b/dev-python/cssutils/cssutils-2.10.2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +KEYWORDS="amd64 arm arm64 ppc x86" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] diff --git a/dev-python/cssutils/cssutils-2.9.0.ebuild b/dev-python/cssutils/cssutils-2.10.3.ebuild index 1b5c6baf636d..ed12fc16c300 100644 --- a/dev-python/cssutils/cssutils-2.9.0.ebuild +++ b/dev-python/cssutils/cssutils-2.10.3.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi @@ -16,15 +16,16 @@ HOMEPAGE=" LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 arm arm64 ppc x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] test? ( dev-python/cssselect[${PYTHON_USEDEP}] >=dev-python/jaraco-test-5.1[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/lxml[${PYTHON_USEDEP}] + ' 3.10) ) " @@ -34,7 +35,6 @@ python_test() { local EPYTEST_DESELECT=( # network encutils/__init__.py::encutils - cssutils/tests/test_parse.py::TestCSSParser::test_parseUrl examples/website.py::examples.website.logging ) local EPYTEST_IGNORE=( @@ -42,5 +42,6 @@ python_test() { examples/parse.py ) - epytest + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -m "not network" } diff --git a/dev-python/cssutils/cssutils-2.11.0.ebuild b/dev-python/cssutils/cssutils-2.11.0.ebuild new file mode 100644 index 000000000000..ed12fc16c300 --- /dev/null +++ b/dev-python/cssutils/cssutils-2.11.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 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="A CSS Cascading Style Sheets library" +HOMEPAGE=" + https://pypi.org/project/cssutils/ + https://github.com/jaraco/cssutils/ +" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/cssselect[${PYTHON_USEDEP}] + >=dev-python/jaraco-test-5.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/lxml[${PYTHON_USEDEP}] + ' 3.10) + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # network + encutils/__init__.py::encutils + examples/website.py::examples.website.logging + ) + local EPYTEST_IGNORE=( + # path mismatch with "parse" package + examples/parse.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -m "not network" +} diff --git a/dev-python/cstruct/cstruct-5.3.ebuild b/dev-python/cstruct/cstruct-5.3.ebuild index 424b9e8357a9..77ee4c3df03c 100644 --- a/dev-python/cstruct/cstruct-5.3.ebuild +++ b/dev-python/cstruct/cstruct-5.3.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/csvkit/Manifest b/dev-python/csvkit/Manifest index 42187e018ee4..fce740dea5e2 100644 --- a/dev-python/csvkit/Manifest +++ b/dev-python/csvkit/Manifest @@ -1,2 +1,2 @@ -DIST csvkit-1.4.0.tar.gz 3796472 BLAKE2B 4501a320ab9b8f9f5642ea3957caddb024301a3a299fce17876562973874bad8305ce5cb8e879c7269d7b57d54e97e70f315728b52605a1059705111192874ad SHA512 5363fe8380c6ad1e44961bd7781feecd6fd19802a1c30144a45bdac364980413be3ac37e564491aca72c33d8b8a08dd5b49cfe2217b02bb5f3083db75996d687 DIST csvkit-1.5.0.tar.gz 3811034 BLAKE2B 4fd22d532803a520f9276e7f6be9068db4dba288582d85848143a6a5c70357a05450f7dcdc7a086949cd6568c62fa79546026a2a2aaa3e7f10985d0177c0a676 SHA512 e8e776419405a0e278f12440ba43e9f9c801673b54a6d2c0d3b543929f7a00fa30e9fc35697398127bdf73984453300ef5cde44355396b549d1a039e4e7c068e +DIST csvkit-2.0.0.tar.gz 3818527 BLAKE2B 87976e5ea703fe16daac48b65f1f4132821e212c90c6f25fecc17f7e8e1c3859d3224e9b1ee77f6f5a39263391535e83a388ccbe4a610a96cec6256b64056b77 SHA512 70b1d8977bbeefd3ae4cfc26149d17527f6ad56b16b5a932d930505ac7b272fcb0ed9080eba33c9c60daa347c1e79c95c6b05c8dded2e0ea5a301335d21f8a88 diff --git a/dev-python/csvkit/csvkit-1.4.0.ebuild b/dev-python/csvkit/csvkit-2.0.0.ebuild index fc3cd91b4609..a5dbdb5eae39 100644 --- a/dev-python/csvkit/csvkit-1.4.0.ebuild +++ b/dev-python/csvkit/csvkit-2.0.0.ebuild @@ -29,6 +29,7 @@ RDEPEND=" BDEPEND=" test? ( dev-python/lxml[${PYTHON_USEDEP}] + dev-python/zstandard[${PYTHON_USEDEP}] ) " diff --git a/dev-python/cycler/cycler-0.12.1.ebuild b/dev-python/cycler/cycler-0.12.1.ebuild index 01fe7761de74..ba2039970587 100644 --- a/dev-python/cycler/cycler-0.12.1.ebuild +++ b/dev-python/cycler/cycler-0.12.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 @@ -19,8 +19,8 @@ SRC_URI=" -> ${P}.gh.tar.gz " -SLOT="0" LICENSE="BSD" +SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos" distutils_enable_tests pytest diff --git a/dev-python/cython/cython-3.0.10.ebuild b/dev-python/cython/cython-3.0.10.ebuild index bc5b156b9db0..388036570b81 100644 --- a/dev-python/cython/cython-3.0.10.ebuild +++ b/dev-python/cython/cython-3.0.10.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYTHON_TESTED=( python3_{10..12} ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 python3_13 ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 multiprocessing toolchain-funcs @@ -26,7 +26,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/dask-expr/Manifest b/dev-python/dask-expr/Manifest index d1675624e602..2452d0574a05 100644 --- a/dev-python/dask-expr/Manifest +++ b/dev-python/dask-expr/Manifest @@ -1,6 +1,5 @@ -DIST dask-expr-1.0.1.gh.tar.gz 233058 BLAKE2B 2e5f64b75e4786e66b6ccab73af8e4a2fa5f7a3dce9cdce801769a2d85d28a0f7657c306f7e8d3458490391dcb9ae967d344832fcd530ef25fd7ee7c747a89b4 SHA512 c779f0e8e8a7a9ed650f58f4900950b72a4915c899dffa2641f707d8db1537213ea67bafc983fb28e50d16e894e8f9d11db9ae77cee9131b273f7aa8e98e6e7c -DIST dask-expr-1.0.10.gh.tar.gz 242027 BLAKE2B 47965f92a263c14c406732d17789b7cc42f2d5114ee47624a932cb6981760e2a9a9eebe161771d660dbff2269a771bad0c3681e6ba21cf968aa197be2675de5a SHA512 74ab20868b8b853ad52c2aed47d0b951f1402d4a7681566c8f8b5ad90c9d088dfffc7f9e6913564f09a192926f66d1e3a72af0a88ba3b04a114ab92d04203af3 DIST dask-expr-1.0.11.gh.tar.gz 242347 BLAKE2B 38b35e4558fc589738d98b59bcaa378351dfa11110c3a7fd7919b709db1ef5b5b97fd431aa2fc07ba69ec41012c91667873615fea763efee2d8f07b99eee910e SHA512 ddd4cd3582dc843a3dd7702f5a457df44d97b7b3828629d702c209f4b84fc1410b059029f82dc167ebefbf3de148aed7f54ecc69241c179c86bf66f9bbd19f41 +DIST dask-expr-1.0.12.gh.tar.gz 253354 BLAKE2B 566075d45e3d3b0521cf686b231c0e17f8f445ac95f81f8f32a10c2627cba62e243c02b4ef8d8eed88771df6ce52f88923c5d6fad94a84f950c33ffc70ea550f SHA512 423797cb6142761bbaf56970f474ecf96b047675c8032f2e73427158320f3dd012e861cd9c86560c75c51b9e1350b1081ad5bd0943cde6522b3c21a799fee307 +DIST dask-expr-1.0.13.gh.tar.gz 253953 BLAKE2B a3261ef74ec46835b29223a81ac7a69ae36599af4a092ac87876ca64fc764c1b042b14d39bf624132b2d3623979263ed382f6938793d0d7e1ded7679d0971b32 SHA512 5d32b7cdcc9004ca761ab1c16cccab8bd9487f528d0b09a98b5557ff24bf0a4e432e86b1fcb4e4a1ca78b38848ca85a0b6760a904917141cb73d8d27d80a876c +DIST dask-expr-1.0.14.gh.tar.gz 254618 BLAKE2B 02da3b565eb484f7caf75c871d032dfdb747fa683fa163178ab4322d7fd23d025a97cb15c21a8b3d5ba4c8fb8721dc552f533c3155f198c6e825a837c43ace9c SHA512 430bbb0fbf06ffb4d22a8753b9850da063cc834337b431ded2c9dc32272d4984b9e2b058ce33a4a76d1c8b42410c5a9315344768cf303bc3aea21cc6ca698f30 DIST dask-expr-1.0.5.gh.tar.gz 239409 BLAKE2B 0fae8540f40cbdead823f300a68df239bb838bb88d34c000b6d29ee451609a4cfc4422586cbf1fc3d2e10b50ffab6e8a2414c14c00635d929d92d7e40b1abff5 SHA512 3baf9e1aca78bc8158bce0e6beb323e511fa5717578bb10bfce27ec38a8f7b6e25b21edeffc669a1ac5f4a987dbbd948bba0f4375f3c5b329d13fab7093708ea -DIST dask-expr-1.0.6.gh.tar.gz 241469 BLAKE2B 1b73050a19a2050bda507aaabe379dc3d65e1ee631da2eda55152bb544cccc1429da9503731a9a751b63914e7cbe6501ae7736550952b2273e3ba7fca9e61ae1 SHA512 f69efb9a2fe3382715c5e358765e28995fbca7b1eb21f7564d61ae114b50cb76c145f0ce381a09232e589dab1df8ef72c30d166881f54e4f7497eb31a9fff8ea -DIST dask-expr-1.0.9.gh.tar.gz 241840 BLAKE2B 761b5cbb4b6cc1de3efb73e9f1ff2a5e1d31dd7ffad840a0d282a560e91b115f4eb0ed1e596fdb26c96eca894a6ac23e7b3605c26945501156cdf2809e887150 SHA512 ae49eb6ed1dbfe326f9bdb8ec0c09c66a90e071a04b30bd8877f8fcd800346b9433412f05231acc83a9aec7c81dff8867b46fd491746370f6da322d22f4aeb64 diff --git a/dev-python/dask-expr/dask-expr-1.0.1.ebuild b/dev-python/dask-expr/dask-expr-1.0.1.ebuild deleted file mode 100644 index a4af8d2303f6..000000000000 --- a/dev-python/dask-expr/dask-expr-1.0.1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="High Level Expressions for Dask" -HOMEPAGE=" - https://github.com/dask/dask-expr/ - https://pypi.org/project/dask-expr/ -" -# pypi tarball removes tests, as of 1.0.1 -SRC_URI=" - https://github.com/dask/dask-expr/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/dask-2024.3.0[${PYTHON_USEDEP}] - >=dev-python/pyarrow-7.0.0[${PYTHON_USEDEP}] - >=dev-python/pandas-2[${PYTHON_USEDEP}] -" -# TODO: make pandas depend on pyarrow unconditionally? we're having -# transitive deps here. -BDEPEND=" - dev-python/versioneer[${PYTHON_USEDEP}] - test? ( - dev-libs/apache-arrow[parquet,snappy] - dev-python/pyarrow[parquet,${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin - sed -i -e '/dask/s:==:>=:' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # requires distributed - 'dask_expr/tests/test_shuffle.py::test_respect_context_shuffle[shuffle]' - ) - local EPYTEST_IGNORE=( - # requires distributed - dask_expr/io/tests/test_parquet.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/dask-expr/dask-expr-1.0.9.ebuild b/dev-python/dask-expr/dask-expr-1.0.12.ebuild index c6b7e06e8a2f..6a2eead6796d 100644 --- a/dev-python/dask-expr/dask-expr-1.0.9.ebuild +++ b/dev-python/dask-expr/dask-expr-1.0.12.ebuild @@ -24,7 +24,7 @@ SLOT="0" KEYWORDS="~amd64 ~arm64 ~riscv" RDEPEND=" - >=dev-python/dask-2024.4.0[${PYTHON_USEDEP}] + >=dev-python/dask-2024.4.2[${PYTHON_USEDEP}] >=dev-python/pyarrow-7.0.0[${PYTHON_USEDEP}] >=dev-python/pandas-2[${PYTHON_USEDEP}] " diff --git a/dev-python/dask-expr/dask-expr-1.0.10.ebuild b/dev-python/dask-expr/dask-expr-1.0.13.ebuild index 9a011f9034c4..c853f4410855 100644 --- a/dev-python/dask-expr/dask-expr-1.0.10.ebuild +++ b/dev-python/dask-expr/dask-expr-1.0.13.ebuild @@ -24,7 +24,7 @@ SLOT="0" KEYWORDS="~amd64 ~arm64 ~riscv" RDEPEND=" - >=dev-python/dask-2024.4.1[${PYTHON_USEDEP}] + >=dev-python/dask-2024.4.2[${PYTHON_USEDEP}] >=dev-python/pyarrow-7.0.0[${PYTHON_USEDEP}] >=dev-python/pandas-2[${PYTHON_USEDEP}] " @@ -51,6 +51,8 @@ python_test() { local EPYTEST_DESELECT=( # requires distributed 'dask_expr/tests/test_shuffle.py::test_respect_context_shuffle[shuffle]' + # TODO + dask_expr/tests/test_groupby.py::test_groupby_index_array ) local EPYTEST_IGNORE=( # requires distributed diff --git a/dev-python/dask-expr/dask-expr-1.0.6.ebuild b/dev-python/dask-expr/dask-expr-1.0.14.ebuild index c6b7e06e8a2f..c853f4410855 100644 --- a/dev-python/dask-expr/dask-expr-1.0.6.ebuild +++ b/dev-python/dask-expr/dask-expr-1.0.14.ebuild @@ -24,7 +24,7 @@ SLOT="0" KEYWORDS="~amd64 ~arm64 ~riscv" RDEPEND=" - >=dev-python/dask-2024.4.0[${PYTHON_USEDEP}] + >=dev-python/dask-2024.4.2[${PYTHON_USEDEP}] >=dev-python/pyarrow-7.0.0[${PYTHON_USEDEP}] >=dev-python/pandas-2[${PYTHON_USEDEP}] " @@ -51,6 +51,8 @@ python_test() { local EPYTEST_DESELECT=( # requires distributed 'dask_expr/tests/test_shuffle.py::test_respect_context_shuffle[shuffle]' + # TODO + dask_expr/tests/test_groupby.py::test_groupby_index_array ) local EPYTEST_IGNORE=( # requires distributed diff --git a/dev-python/dask/Manifest b/dev-python/dask/Manifest index 87e70c4347b1..0370fa1f55b9 100644 --- a/dev-python/dask/Manifest +++ b/dev-python/dask/Manifest @@ -1,6 +1,5 @@ DIST dask-2024.2.0.gh.tar.gz 9335533 BLAKE2B c23bf3da4624b187f30cf0ca5fe885a705e8e4be9b9d919ff491399d1029d43c4343159acf9bd6a61611af7ecacd8c00bd1cb199176b742ad3c556e2a5da65c9 SHA512 8a0b5c17aa34b309aed370852ddfb25cde220de87fe9c1afd8d88f7a4abad9f4523c90424f8a5cc1d7186850f35071ee10e7a33396ca2c4c4be975783cc5fe2e DIST dask-2024.2.1.gh.tar.gz 9341330 BLAKE2B f5d02fd7389711c5d7b048e541c28af87a8425931277ce035163c16699d7275b802afc90c71256ac268f67390afc9dd4a393df2ddeedac6e378bf787edf43e41 SHA512 3863ec9126ba9fa0cf067a62d3d763d7cf52c6e49cdbfc258336b4536922c46f23443ff8aa4eb49176a38d2a70e03e2d5ca8a2c4b96c98d474654eec4e44c9c5 -DIST dask-2024.3.0.gh.tar.gz 9342813 BLAKE2B d71d3ed2531517a1d01ab72862484b86a1080ecff056c11041ab723e67369794ca3c1f486cd18019f38e49deda65f25acb566e4431c6a1121ddfb930669b20b1 SHA512 be56244c7a96cf43062e7e3658befb73bf318729a2bb906d78ee8ba91a1f4fcfab22e6b01c00cda9bfb8de3f74adf8fc1a5dfb6681e51deb00ba5011dd1dc325 DIST dask-2024.3.1.gh.tar.gz 9342821 BLAKE2B 2d85be59caa48005b1951d56c4af5991bc378932cac34fc9fcfdd4a55027cacf60738af11eab87d13f764b90d7cba74ba239e10949a8231d0e08d4e5a2eaf936 SHA512 465a489cdfd59eb7b20a4736549a0cee9bedb5b864339b1040c5490c70a4a7486a83bdf4d951a1ea15529685838dcdc4d2554b03ebd9b8227cce0d270e80a7cd -DIST dask-2024.4.0.gh.tar.gz 9344730 BLAKE2B ef2da6ea07fae6b31ba0b02489aee64758348f4efff4d7a669a79464d878c6e2ca689ebcd4eacac479a12b81f68158b44a697d02ffe7d25f71121d38dc1e0753 SHA512 35ffd5f36eaa630730e64f3af6b256cb5225f665aaa7b89381e160f2dcb6f84c3b968a4c72fd2def687ac8432963555c0cd85e4a654a80b4576f1c677b0bd9bf DIST dask-2024.4.1.gh.tar.gz 9345547 BLAKE2B 5ac11e23e10985eb9641734d016b84600a67b4d30dfe999f1c7b6c4bb279ba622adf58262721b4c37701a265c02e22d989e94031a1d0b53435d1ecef054704d5 SHA512 683f548da4f0004181b912c1672d6bbefc33f7ab4f3fecee6634c13691ea718560cbaed6391e2380ae776ee1db850fc90bcc8feeea34dc85dd87332cff484726 +DIST dask-2024.4.2.gh.tar.gz 9364544 BLAKE2B b058b6219c5abde7fd91641e962bc4b13a8533a9f8be53f779b196f81f5c2f7bd5f8fcbbb383d6c05b5f5e4b4b0a0dae105f00fe237d2cc7d990ef5607c18695 SHA512 1562cc3ad55973e14526d07d965aff0a41b0521a212070f4dc191bb9c4c48a4ea03c1c196b288b91ee1e917ec91faa1cab227476bbf619aa9cc7beae4bb60042 diff --git a/dev-python/dask/dask-2024.4.0.ebuild b/dev-python/dask/dask-2024.4.0.ebuild deleted file mode 100644 index ab481660322a..000000000000 --- a/dev-python/dask/dask-2024.4.0.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Task scheduling and blocked algorithms for parallel processing" -HOMEPAGE=" - https://www.dask.org/ - https://github.com/dask/dask/ - https://pypi.org/project/dask/ -" -SRC_URI=" - https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/click-8.1[${PYTHON_USEDEP}] - >=dev-python/cloudpickle-1.5.0[${PYTHON_USEDEP}] - >=dev-python/fsspec-2021.9.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.21[${PYTHON_USEDEP}] - >=dev-python/pandas-1.3[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - >=dev-python/partd-1.2.0[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] - >=dev-python/toolz-0.10.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}] - ' 3.{10..11}) -" -BDEPEND=" - dev-python/toolz[${PYTHON_USEDEP}] - >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] - test? ( - dev-libs/apache-arrow[parquet,snappy] - dev-python/dask-expr[${PYTHON_USEDEP}] - dev-python/moto[${PYTHON_USEDEP}] - dev-python/numexpr[${PYTHON_USEDEP}] - dev-python/pyarrow[parquet,${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # fails with sqlalchemy-2.0, even though we don't use it x_x - sed -i -e '/RemovedIn20Warning/d' pyproject.toml || die - sed -i -e 's:--cov-config=pyproject.toml::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # more tests relying on -Werror - "dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]" - dask/array/tests/test_random.py::test_RandomState_only_funcs - dask/dataframe/tests/test_dataframe.py::test_view - dask/dataframe/tests/test_shuffle.py::test_npartitions_auto_raises_deprecation_warning - # TODO - dask/array/tests/test_reductions.py::test_mean_func_does_not_warn - dask/tests/test_config.py::test__get_paths - dask/array/tests/test_linalg.py::test_solve_assume_a - "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>0-float-5-1-True]" - "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>1-float-5-1-True]" - dask/array/tests/test_image.py::test_preprocess - dask/tests/test_system.py::test_cpu_count_cgroups_v2 - # require sqlalchemy<2.0 - dask/dataframe/io/tests/test_sql.py - # crashes - dask/tests/test_base.py::test_tokenize_object_with_recursion_error - # regression with new pandas (?) - dask/dataframe/tests/test_multi.py::test_concat5 - ) - - if ! has_version -b "dev-python/pyarrow[parquet,${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - # fails if pyarrow is installed without USE=parquet - # (optional dep, skipped if it's not installed at all) - dask/dataframe/io/tests/test_parquet.py::test_pyarrow_filter_divisions - ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p pytest_rerunfailures -m "not network" -o xfail_strict=False -} diff --git a/dev-python/dask/dask-2024.3.0.ebuild b/dev-python/dask/dask-2024.4.2.ebuild index ab481660322a..1d1841fc6902 100644 --- a/dev-python/dask/dask-2024.3.0.ebuild +++ b/dev-python/dask/dask-2024.4.2.ebuild @@ -77,6 +77,7 @@ python_test() { "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>1-float-5-1-True]" dask/array/tests/test_image.py::test_preprocess dask/tests/test_system.py::test_cpu_count_cgroups_v2 + dask/dataframe/tests/test_dataframe.py::test_attribute_assignment # require sqlalchemy<2.0 dask/dataframe/io/tests/test_sql.py # crashes diff --git a/dev-python/dbfread/dbfread-2.0.7-r1.ebuild b/dev-python/dbfread/dbfread-2.0.7-r1.ebuild index 71d9e4719c1a..636e463c2a0e 100644 --- a/dev-python/dbfread/dbfread-2.0.7-r1.ebuild +++ b/dev-python/dbfread/dbfread-2.0.7-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/decorator/decorator-5.1.1-r1.ebuild b/dev-python/decorator/decorator-5.1.1-r1.ebuild index 1611e6e5f089..055ad9a7e488 100644 --- a/dev-python/decorator/decorator-5.1.1-r1.ebuild +++ b/dev-python/decorator/decorator-5.1.1-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/defusedxml/Manifest b/dev-python/defusedxml/Manifest index 22b9f00fa8b8..5ad9bba1c92c 100644 --- a/dev-python/defusedxml/Manifest +++ b/dev-python/defusedxml/Manifest @@ -1 +1,2 @@ DIST defusedxml-0.7.1.gh.tar.gz 34709 BLAKE2B cfe69851e0ac6472cb9e66d1b577831eec37b0a01129dcb43cec151aa939029efc194220f3c7b481d306a77db710a639bdd56f3fd1f7ae46fa4ab8f308b8036f SHA512 4f536794b814291520c7db27765014c57f415554cff569cddab596b33e1aa03799aae9448fdaf07417d1a9f4d8782aa827d1b68aac6881ffe5c2ca9b8a40d864 +DIST defusedxml-0.8.0rc2.gh.tar.gz 37727 BLAKE2B 4a9313c4fe171998b84e22cf1cd2e5781cea6d37ea2436c5450fe4d003c915d3c945c8385b172fc102b601abb4612a217265bdd293f5d20ece2896194e37366a SHA512 d0cdaebf459a203c09c679169eeadc076a92b913558924cc6d3d693fe5732cefd5a6d15c4d2cbcdd7710936063a96e6dca467d0a82165194abeb7111d910daee diff --git a/dev-python/defusedxml/defusedxml-0.8.0_rc2.ebuild b/dev-python/defusedxml/defusedxml-0.8.0_rc2.ebuild new file mode 100644 index 000000000000..871461648d52 --- /dev/null +++ b/dev-python/defusedxml/defusedxml-0.8.0_rc2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 + +MY_P=${P/_/} +DESCRIPTION="XML bomb protection for Python stdlib modules, an xml serialiser" +HOMEPAGE=" + https://github.com/tiran/defusedxml/ + https://pypi.org/project/defusedxml/ +" +SRC_URI=" + https://github.com/tiran/defusedxml/archive/v${PV/_/}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +src_prepare() { + distutils-r1_src_prepare + sed -i -e 's:verbosity=1:verbosity=2:' tests.py || die + mv other examples || die +} + +python_test() { + "${EPYTHON}" tests.py -v || die +} + +python_install_all() { + use examples && dodoc -r examples/ + distutils-r1_python_install_all +} diff --git a/dev-python/dirty-equals/dirty-equals-0.7.1.ebuild b/dev-python/dirty-equals/dirty-equals-0.7.1.ebuild index 36c776c91dad..fd70ed6710e3 100644 --- a/dev-python/dirty-equals/dirty-equals-0.7.1.ebuild +++ b/dev-python/dirty-equals/dirty-equals-0.7.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 @@ -29,8 +29,10 @@ RDEPEND=" BDEPEND=" test? ( dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pydantic-2.4.2[${PYTHON_USEDEP}] dev-python/pytest-mock[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/pydantic-2.4.2[${PYTHON_USEDEP}] + ' 3.{10..12}) ) " @@ -42,6 +44,12 @@ python_test() { tests/test_docs.py ) + if ! has_version "dev-python/pydantic[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_other.py + ) + fi + local -x TZ=UTC epytest "${args[@]}" } diff --git a/dev-python/distlib/distlib-0.3.8.ebuild b/dev-python/distlib/distlib-0.3.8.ebuild index ca366516c9bd..7951433808d3 100644 --- a/dev-python/distlib/distlib-0.3.8.ebuild +++ b/dev-python/distlib/distlib-0.3.8.ebuild @@ -1,10 +1,10 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 @@ -34,6 +34,8 @@ src_prepare() { local PATCHES=( # use system pypiserver instead of bundled one "${FILESDIR}"/distlib-0.3.2-system-pypiserver.py + # https://github.com/pypa/distlib/commit/1c08845b05d022692252ed45cb07e9cb9647caac + "${FILESDIR}"/${P}-py313.patch ) # make sure it's not used diff --git a/dev-python/distlib/files/distlib-0.3.8-py313.patch b/dev-python/distlib/files/distlib-0.3.8-py313.patch new file mode 100644 index 000000000000..d47be4f566bd --- /dev/null +++ b/dev-python/distlib/files/distlib-0.3.8-py313.patch @@ -0,0 +1,22 @@ +From 1c08845b05d022692252ed45cb07e9cb9647caac Mon Sep 17 00:00:00 2001 +From: Vinay Sajip <vinay_sajip@yahoo.co.uk> +Date: Wed, 14 Feb 2024 14:46:14 +0000 +Subject: [PATCH] Fix #214: Update representation of interpreter in test. + +--- + tests/test_scripts.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/test_scripts.py b/tests/test_scripts.py +index 5c38687..74ee647 100644 +--- a/tests/test_scripts.py ++++ b/tests/test_scripts.py +@@ -340,7 +340,7 @@ def test_script_run(self): + self.assertIn(b'<H3>Current Working Directory:</H3>', stdout) + self.assertIn(os.getcwd().encode('utf-8'), stdout) + else: +- self.assertIn(b'[Interpreter(id=0, isolated=None)]', stderr) ++ self.assertIn(b'[Interpreter(0)]', stderr) + self.assertEqual(p.returncode, 1) + + @unittest.skipUnless(os.name == 'posix', 'Test only valid for POSIX') diff --git a/dev-python/dj-database-url/dj-database-url-2.1.0.ebuild b/dev-python/dj-database-url/dj-database-url-2.1.0.ebuild index 0a27bfb7445e..32b89e66d94e 100644 --- a/dev-python/dj-database-url/dj-database-url-2.1.0.ebuild +++ b/dev-python/dj-database-url/dj-database-url-2.1.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" SLOT="0" LICENSE="BSD" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/django[${PYTHON_USEDEP}] diff --git a/dev-python/dj-email-url/dj-email-url-1.0.6.ebuild b/dev-python/dj-email-url/dj-email-url-1.0.6.ebuild index 395699422a76..584755880f76 100644 --- a/dev-python/dj-email-url/dj-email-url-1.0.6.ebuild +++ b/dev-python/dj-email-url/dj-email-url-1.0.6.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86" DOCS=( CHANGELOG.rst README.rst ) diff --git a/dev-python/dj-search-url/dj-search-url-0.1-r1.ebuild b/dev-python/dj-search-url/dj-search-url-0.1-r1.ebuild index 86fff562e193..51bfc3b73fbd 100644 --- a/dev-python/dj-search-url/dj-search-url-0.1-r1.ebuild +++ b/dev-python/dj-search-url/dj-search-url-0.1-r1.ebuild @@ -17,4 +17,4 @@ HOMEPAGE=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86" diff --git a/dev-python/django-cache-url/django-cache-url-3.4.5.ebuild b/dev-python/django-cache-url/django-cache-url-3.4.5.ebuild index 7e40b7cb89a4..9415dd5c26d8 100644 --- a/dev-python/django-cache-url/django-cache-url-3.4.5.ebuild +++ b/dev-python/django-cache-url/django-cache-url-3.4.5.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86" RDEPEND=" dev-python/django[${PYTHON_USEDEP}] diff --git a/dev-python/django-configurations/django-configurations-2.5.1.ebuild b/dev-python/django-configurations/django-configurations-2.5.1.ebuild index 74ebf3b12c3e..86eac772cff2 100644 --- a/dev-python/django-configurations/django-configurations-2.5.1.ebuild +++ b/dev-python/django-configurations/django-configurations-2.5.1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/django-otp/Manifest b/dev-python/django-otp/Manifest index 302ad5a338bf..4dbbb8db1ab7 100644 --- a/dev-python/django-otp/Manifest +++ b/dev-python/django-otp/Manifest @@ -1,3 +1,4 @@ DIST django_otp-1.3.0.tar.gz 69013 BLAKE2B 4b6143bb8863e6c151df954a3c4ac4ecca770b1f396dd291e8634e8ad5e0755514111dac02307120e74abacf04bc681503a973bba067817c80bcffc8c462c592 SHA512 ef63c5db096ce7d1b10d6b2a99ab6db46b779d4221f509452921fcbf338decbd5c799aec7476587a03b34288ef3f5ff1964dee72105b65f04a22cbd53d445fa4 DIST django_otp-1.4.0.tar.gz 71690 BLAKE2B 61144122ab6dec438dcc3136e8856b4d66c598e811f1fdd21e5ba77a907ae5bda88fd543a1c87a165d9ba30ce2bcd7415b04d598719ecb46f2f3ddc15a342aa0 SHA512 df4a11d3cb6a55e2506815b81c7e8cc3e9c272afd8d1d9ba94fd1336467b177ea3eb1e89129c3c727d7ce74ce159e5d153a22e0be2d3d638c8357653b22dba56 DIST django_otp-1.4.1.tar.gz 71847 BLAKE2B 49764cd1957ab2a6644780c1c6a0947b20bb4a0c1ca286907122a8b47f937aca8d1d2e480f7a309b546ac503cb0c3b1ea3e03532e7d6c38fe8db1606406eda71 SHA512 bb041a6ecd93dbad4f83d6593dfbc2f4768e1a3e68df332a61ed9ce483a8ec7090179a6865b128d02a2fc5ba2b42cd63dc16595a7b98e2728733fc274d506b1a +DIST django_otp-1.5.0.tar.gz 72265 BLAKE2B e2a687a287b5e7b4f5c9370b280bd60b5e9cd62ff6fea4187988acc703ce5cc61f4ee094026c07391343983d87d9c0cb1ff4fa51d10a3e7a4d8da4da182fcb4b SHA512 0169804992b155dfa88fbc0d695091f3f03225f28a104c595e7790f174ff3f4943280b7a3dbb3d4c263cc1bad0ea0370e4749d8d0b1df1e3675881365fc15dfe diff --git a/dev-python/django-otp/django-otp-1.5.0.ebuild b/dev-python/django-otp/django-otp-1.5.0.ebuild new file mode 100644 index 000000000000..50c19176bea3 --- /dev/null +++ b/dev-python/django-otp/django-otp-1.5.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Django framework adding two-factor authentication using one-time passwords" +HOMEPAGE=" + https://github.com/django-otp/django-otp/ + https://pypi.org/project/django-otp/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-3.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + dev-python/freezegun[${PYTHON_USEDEP}] + || ( + dev-python/qrcode[${PYTHON_USEDEP}] + dev-python/segno[${PYTHON_USEDEP}] + ) + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) + ${RDEPEND} + ) +" + +python_test() { + local -x PYTHONPATH=test:${PYTHONPATH} + local -x DJANGO_SETTINGS_MODULE=test_project.settings + "${EPYTHON}" -m django test -v 2 django_otp || + die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/django-taggit/django-taggit-5.0.1.ebuild b/dev-python/django-taggit/django-taggit-5.0.1.ebuild index f4709002e528..830fca0f6c95 100644 --- a/dev-python/django-taggit/django-taggit-5.0.1.ebuild +++ b/dev-python/django-taggit/django-taggit-5.0.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest index ef18136b41d2..b4d54ae454b3 100644 --- a/dev-python/django/Manifest +++ b/dev-python/django/Manifest @@ -2,9 +2,11 @@ DIST Django-3.2.25.checksum.txt 2560 BLAKE2B e082c588f4e124c9d71c1914e475fd70ed9 DIST Django-3.2.25.tar.gz 9836336 BLAKE2B 586520e0689b2594dd8ce4abb173418aedfde80cc84012d2a4207cbfc67120cbf405a8dfc8d069bb946f027f0eef22b233bd3b3ce569b01ea8fdc7836a6e530f SHA512 ccba83abd1777123186d685e21b96f41abf216a692d18ffe764d2e519eb9d1f6011d08c86b3affdd891591ca4ed7fee27ffa4750d19b486ca775ee680fdb0cb1 DIST Django-4.2.11.checksum.txt 2560 BLAKE2B 75359ca138515642b4cb4bb17f4e5f18f94d9c4b5a98fe62f4813068d3dfccfa6c3fe1a2ae9ec24758610d0c5c8fe899b54f39b9cd657a92635e8cd7c6f7dcf0 SHA512 9ab3700f2675380dd6e18b5cc1ebbf4fbbd31680079e9232f96133810956e3ab5a46eefa45103a90bbec9d0ba85cc54f5cc2dd4f3d69c64960724f2821ecf3f3 DIST Django-4.2.11.tar.gz 10426858 BLAKE2B bce1611700383831138a467cfdc3ad2780385429be040d197cb757206c3d1b4c82075cf6766f8222d0c061ee7c0a7a48caf8cd28e8fe6271c39dc47899c4b276 SHA512 5842f0c2592b695ecfd7f00d250075cb9581efc8a7f389f155dbac74d80ac7899f600ffba0d51e3391f15c4a1444554d901b8a673a1091ab7269e24862122ef0 -DIST Django-5.0.3.checksum.txt 2550 BLAKE2B d69fe42e77a1163509f570488b5744571b314b4f24aa0b2f3727ad26ccc53cdc4e16a4b53f21d7e31b0e120462b68397cb31cceded5f4f2d4f0fc9f7afd0f1ee SHA512 abf04cf4fb43f51a8ecef8924e000680184cbb39a9a1a80b679dd1b5cd1e8a90870bc9749b84a6ada79c76cf9c8adb7f870ac0c7ebad68330e8731acdaf3ff22 -DIST Django-5.0.3.tar.gz 10620661 BLAKE2B eaf2f04abf73ad36f7e7825d3655319fbab2268bf5da67ad112e2662f5f5c1bab16d485c75c681ec7e203c111b9676dab2f3552e599a5592a90981e6f7cc75eb SHA512 ed1899007898fc1f6c0889b28fc94016aa9cd2a3556f486bf77efc4310d04896c73bcef93fb4c9162ce884da01c557f6343a20da15a7d6cf2193fd9e88e0dadb +DIST Django-4.2.13.checksum.txt 2578 BLAKE2B c4dee2c255a77da0655f685852bfac937e6afbfa32c6f5048916675d806c1d9218ff40117c99d7e63ee06b05dd88af4db9460672c3628c948cb17e5ca2f56817 SHA512 0994eef854b991c2db290712aff892e900ef3bab84607e385b4f78e3213b816739e42d5010afaaf30f6c68d5bc52b509b7c6e797e8e87db499a49f75b4cfd232 +DIST Django-4.2.13.tar.gz 10430886 BLAKE2B 09e8743de500f11c32c540d23d9aae1377c83177089732c78c03501dc560fd7b4316d6032534c923c354539421e519ed8439fc09d61500cea479c9eaf115f160 SHA512 2d141e2d710dbd55999db9c7005ca4a8d291dad57f0ef246eb41d4ffed76e62035b36969c5f338c3158ccd2d1677eb23de0b8f783606b4c62a3ee45e8988b712 DIST Django-5.0.4.checksum.txt 2570 BLAKE2B dd60e743933312e8744c89a9602acf6643e778cf23d1ab303845f52a2040ff9de73b843c0facf15e8aecc61d9b29f597d76de1e015e7e5a111668fbeb1f84b99 SHA512 9a180082a1735f5d62b51acaf1bd23941d921208d6e3ea14439ceb29603f35860e0307c0b18c1b17d9a155498ef50943e10bf352090f0b6408c5921655d1f992 DIST Django-5.0.4.tar.gz 10638006 BLAKE2B 81796ec0ba285bebe2c3a4b6d3bfce39e87ad39c01fb450bd66e4eb76c167d08a16e857156d45bce95ac30121fe5855dd7493beb4dcf7628255d729e0d1a2048 SHA512 322b0de4e9e533831937b9f50929e150d9c1ff3045e92b3530d49708df05ad0139819a1056c3def529e93826d26ef8e04f1ced655525fe8c9c2d449c2c701f28 +DIST Django-5.0.6.checksum.txt 2568 BLAKE2B c4c94e1a245248ed59707fb8aeb97a8379e679c50829d0470eefd2f870de32d5b57cb4841ac44809483993bc515514c3e2b0cdf0f1768681a4ba1930e2d278a3 SHA512 231954ae528beff69fbfa385aba192f19d56e862f1a2e5e40ccbba60ce31b59a075af31d75ab9e5767c9405a37f14fd3c5c41e74f60f6b7d6821391a43992301 +DIST Django-5.0.6.tar.gz 10639679 BLAKE2B 2198f273f28f89eb12db481e3531a963e2f5215677f0227d2ce8940cf1c2076acafe9bf1064595b481c6d65fadd7c6d6c7cda5fbbded81a87895e697338c78fd SHA512 6dab32357c423762a4fdd7372aec0ae4855861431fb9a90d4a818144e675cf891c0673a11351ddf8344f31624ce0ea8c9d9c6bc3c4514f38380aecb48a684894 DIST django-4.2.8-pypy3.patch.xz 5900 BLAKE2B b7dc5c5fc162817a218ee6d025ed8a65559b80e4506e49ac393428c26e2621f9e7c5010b36f2412dea8194a9f1086ab21f97286eabd696c6a786285eb07393cf SHA512 f953b5adbd1364f1d84dde55087ccb493256b1327701275fd2fe99f3cd41751d18e002b6e21afc96892e1671428a6b8f3c2e4b88252c3c278f1a79e286bb73e3 DIST django-5.0-pypy3.patch.xz 6124 BLAKE2B 7eba7cc70b30743cf4e186a2c5b0f27c13f49114a7a80bcaa2b25fdd7a959583c115a302c9bc6da97c32f6401cf8f3616818ba759190d317c5b033a0f0088766 SHA512 c550e2b2c1243d13cd1f4908f4b6df606355d1491e3bf72042e4b4777a4474306ff0f67b1c2eb4ab4d137cc85bde52dcdbd54bec245d2ba2e092545be8a2993b diff --git a/dev-python/django/django-3.2.25.ebuild b/dev-python/django/django-3.2.25.ebuild index 5648ebe4220c..a026c5a478e4 100644 --- a/dev-python/django/django-3.2.25.ebuild +++ b/dev-python/django/django-3.2.25.ebuild @@ -35,6 +35,7 @@ RDEPEND=" >=dev-python/asgiref-3.3.4[${PYTHON_USEDEP}] dev-python/pytz[${PYTHON_USEDEP}] >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}] + sys-libs/timezone-data " BDEPEND=" test? ( diff --git a/dev-python/django/django-4.2.11.ebuild b/dev-python/django/django-4.2.11.ebuild index 9fb5be5aea18..7379e6655f94 100644 --- a/dev-python/django/django-4.2.11.ebuild +++ b/dev-python/django/django-4.2.11.ebuild @@ -36,6 +36,7 @@ RDEPEND=" <dev-python/asgiref-4[${PYTHON_USEDEP}] >=dev-python/asgiref-3.6.0[${PYTHON_USEDEP}] >=dev-python/sqlparse-0.3.1[${PYTHON_USEDEP}] + sys-libs/timezone-data " BDEPEND=" test? ( diff --git a/dev-python/django/django-4.2.13.ebuild b/dev-python/django/django-4.2.13.ebuild new file mode 100644 index 000000000000..3d93ca48aced --- /dev/null +++ b/dev-python/django/django-4.2.13.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_REQ_USE='sqlite?,threads(+)' + +inherit bash-completion-r1 distutils-r1 multiprocessing optfeature verify-sig + +DESCRIPTION="High-level Python web framework" +HOMEPAGE=" + https://www.djangoproject.com/ + https://github.com/django/django/ + https://pypi.org/project/Django/ +" +SRC_URI=" + https://media.djangoproject.com/releases/$(ver_cut 1-2)/${P^}.tar.gz + https://dev.gentoo.org/~mgorny/dist/python/django-4.2.8-pypy3.patch.xz + verify-sig? ( https://media.djangoproject.com/pgp/${P^}.checksum.txt ) +" +S="${WORKDIR}/${P^}" + +LICENSE="BSD" +# admin fonts: Roboto (media-fonts/roboto) +LICENSE+=" Apache-2.0" +# admin icons, jquery, xregexp.js +LICENSE+=" MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +IUSE="doc sqlite test" +RESTRICT="!test? ( test )" + +RDEPEND=" + <dev-python/asgiref-4[${PYTHON_USEDEP}] + >=dev-python/asgiref-3.6.0[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.3.1[${PYTHON_USEDEP}] + sys-libs/timezone-data +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[webp,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/selenium[${PYTHON_USEDEP}] + dev-python/tblib[${PYTHON_USEDEP}] + sys-devel/gettext + ) + verify-sig? ( >=sec-keys/openpgp-keys-django-20230606 ) +" + +PATCHES=( + "${FILESDIR}"/django-4.0-bashcomp.patch + "${WORKDIR}"/django-4.2.8-pypy3.patch +) + +distutils_enable_sphinx docs --no-autodoc + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/django.asc + +src_unpack() { + if use verify-sig; then + cd "${DISTDIR}" || die + verify-sig_verify_signed_checksums \ + "${P^}.checksum.txt" sha256 "${P^}.tar.gz" + cd "${WORKDIR}" || die + fi + + default +} + +python_test() { + # Tests have non-standard assumptions about PYTHONPATH, + # and don't work with ${BUILD_DIR}/lib. + PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite \ + -v2 --parallel="${EPYTEST_JOBS:-$(makeopts_jobs)}" || + die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + newbashcomp extras/django_bash_completion ${PN}-admin + bashcomp_alias ${PN}-admin django-admin.py + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature_header "Additional Backend support can be enabled via:" + optfeature "MySQL backend support" dev-python/mysqlclient + optfeature "PostgreSQL backend support" dev-python/psycopg:0 + optfeature_header + optfeature "GEO Django" "sci-libs/gdal[geos]" + optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached + optfeature "ImageField Support" dev-python/pillow + optfeature "Password encryption" dev-python/bcrypt +} diff --git a/dev-python/django/django-5.0.4.ebuild b/dev-python/django/django-5.0.4.ebuild index 1ff45ba52cdf..465a7dcda6cd 100644 --- a/dev-python/django/django-5.0.4.ebuild +++ b/dev-python/django/django-5.0.4.ebuild @@ -28,7 +28,7 @@ LICENSE+=" Apache-2.0" # admin icons, jquery, xregexp.js LICENSE+=" MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos" IUSE="doc sqlite test" RESTRICT="!test? ( test )" @@ -36,6 +36,7 @@ RDEPEND=" <dev-python/asgiref-4[${PYTHON_USEDEP}] >=dev-python/asgiref-3.7.0[${PYTHON_USEDEP}] >=dev-python/sqlparse-0.3.1[${PYTHON_USEDEP}] + sys-libs/timezone-data " BDEPEND=" test? ( diff --git a/dev-python/django/django-5.0.3.ebuild b/dev-python/django/django-5.0.6.ebuild index cb3b94f67c03..8a79467dedd4 100644 --- a/dev-python/django/django-5.0.3.ebuild +++ b/dev-python/django/django-5.0.6.ebuild @@ -28,7 +28,7 @@ LICENSE+=" Apache-2.0" # admin icons, jquery, xregexp.js LICENSE+=" MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" IUSE="doc sqlite test" RESTRICT="!test? ( test )" @@ -36,6 +36,7 @@ RDEPEND=" <dev-python/asgiref-4[${PYTHON_USEDEP}] >=dev-python/asgiref-3.7.0[${PYTHON_USEDEP}] >=dev-python/sqlparse-0.3.1[${PYTHON_USEDEP}] + sys-libs/timezone-data " BDEPEND=" test? ( diff --git a/dev-python/dkimpy/Manifest b/dev-python/dkimpy/Manifest index cac31e0a39f8..b252cae67397 100644 --- a/dev-python/dkimpy/Manifest +++ b/dev-python/dkimpy/Manifest @@ -1,2 +1 @@ -DIST dkimpy-1.1.5.tar.gz 67064 BLAKE2B d4b192a08469be678b5f08cdf2a582ec5cbd4ada56a02de011c372518a3c863e2fea1976af507a1d202f6a36f9ccef8621ba882f542e26ba22acc2f64daaf735 SHA512 650476a54cb39d72fefe05a6fdd8167694cd6f1cf521efb7807713ccfa868dd5458732ee8501c4edea203f9726689c9632a92473698ee31889208d19891b7a13 DIST dkimpy-1.1.6.tar.gz 66557 BLAKE2B 89e6752b97611eba5ecf0f487d10b3210f7b898131e465639aa0a8f2120c3a2901ad844db275748148574cbfcd1a5eeaf3319c09172b51d7a79342a0ee16f285 SHA512 d61331cc7baa3bd5156d919a4a88ad792ac3c3077381585f8b5aa1a35dc50761b86286312e13f3514496ab50bdc6f2dac469f4b5419b49053c1c9204d569d317 diff --git a/dev-python/dkimpy/dkimpy-1.1.5.ebuild b/dev-python/dkimpy/dkimpy-1.1.5.ebuild deleted file mode 100644 index 14f84f5b5e4d..000000000000 --- a/dev-python/dkimpy/dkimpy-1.1.5.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="DKIM and ARC email signing and verification library" -HOMEPAGE=" - https://launchpad.net/dkimpy/ - https://pypi.org/project/dkimpy/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm64 x86" - -RDEPEND=" - >=dev-python/dnspython-2.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/authres[${PYTHON_USEDEP}] - dev-python/pynacl[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -pkg_postinst() { - optfeature "ARC support" dev-python/authres - optfeature "ed25519 capability" dev-python/pynacl - optfeature "asyncio support" dev-python/aiodns -} diff --git a/dev-python/dkimpy/dkimpy-1.1.6.ebuild b/dev-python/dkimpy/dkimpy-1.1.6.ebuild index 58eb09537432..6b4ecb70c5d8 100644 --- a/dev-python/dkimpy/dkimpy-1.1.6.ebuild +++ b/dev-python/dkimpy/dkimpy-1.1.6.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" RDEPEND=" >=dev-python/dnspython-2.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/dnspython/dnspython-2.6.1.ebuild b/dev-python/dnspython/dnspython-2.6.1.ebuild index aefb1a3a556f..68c8b0515348 100644 --- a/dev-python/dnspython/dnspython-2.6.1.ebuild +++ b/dev-python/dnspython/dnspython-2.6.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/docutils/Manifest b/dev-python/docutils/Manifest index 520c7d2dd766..c80b3785c864 100644 --- a/dev-python/docutils/Manifest +++ b/dev-python/docutils/Manifest @@ -1,3 +1,2 @@ -DIST docutils-0.19.tar.gz 2056383 BLAKE2B 9983a905642de4e81ca118578671b503ddfda4bef1afcc0524de40543e1f9617fd8d768ef467da49d2f01076683400bad6a0fe15f6b5a3a1e202c42b2e34ab1b SHA512 fb904a899f2b6f3c07c5079577bd7c52a3182cb85f6a4149391e523498df15bfa317f0c04095b890beeb3f89c2b444875a2a609d880ac4d7fbc3125e46b37ea5 DIST docutils-0.20.1.tar.gz 2058365 BLAKE2B 73fb8302599ffe57b0840c898b0b2e3ccd39ff9ea6eec2b5d345d02c950e1a8357bd821e62733b0484e82bc30e71d30fab381390b0edaef4375b02bcd9eeeb40 SHA512 a0ddca315d03677003036d6a8052ac96fbd3fcc4508564938ea684d79bedb4d322d83449c7b26e55b19b0aadd6e46ca9ac409bb16279a20f06c70e9c15ef5eb0 -DIST docutils-0.21.1.tar.gz 2201080 BLAKE2B a89792a69a7faa0eda7b2470e5e3a3d3cf8250a3577553a8f8f8d3d86d2693394e97dca6c75c1b4815748d2ce126ccd3f71dead5763ec8b70aee7be183165473 SHA512 2816fe074b12d7f15fb6730339f3af5f459f50af0cd2a4922194887f48bfd9931c2f2054a17a5418585b586502b96e05ed18600d31c523084537dc72707ab0ee +DIST docutils-0.21.2.tar.gz 2204444 BLAKE2B 727c2f97fc5835a0ffa62e38ea85af366cd89ad1eaec0b8af8b1f3b12e6cddfddb65161ba34f9109952d37ba2cf8985f3c3b6905ebb2ac1c9a984cce3fb4d170 SHA512 7fafa331f5687448e80d299c20cdccc4b49819fa471b5f586bf0ab18c694ba43a70f58e7c76b0a70a16267585548389214e11a4998ad7fdc19a27f0f7644539c diff --git a/dev-python/docutils/docutils-0.19.ebuild b/dev-python/docutils/docutils-0.19.ebuild deleted file mode 100644 index 1bbeb19e0cb4..000000000000 --- a/dev-python/docutils/docutils-0.19.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python Documentation Utilities (reference reStructuredText impl.)" -HOMEPAGE=" - https://docutils.sourceforge.io/ - https://pypi.org/project/docutils/ -" - -LICENSE="BSD-2 GPL-3 public-domain" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - dev-python/pygments[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} -" - -PATCHES=( - "${FILESDIR}"/${PN}-0.19-pygments-2.14.patch -) - -python_compile_all() { - # Generate html docs from reStructured text sources. - - # Place html4css1.css in base directory to ensure that the generated reference to it is correct. - cp docutils/writers/html4css1/html4css1.css . || die - - cd tools || die - "${EPYTHON}" buildhtml.py --input-encoding=utf-8 \ - --stylesheet-path=../html4css1.css, --traceback ../docs || die -} - -src_test() { - cd test || die - distutils-r1_src_test -} - -python_test() { - "${EPYTHON}" alltests.py -v || die "Testing failed with ${EPYTHON}" -} - -python_install() { - distutils-r1_python_install - - # Install tools. - python_doscript tools/{buildhtml,quicktest}.py -} - -install_txt_doc() { - local doc="${1}" - local dir="txt/$(dirname ${doc})" - docinto "${dir}" - dodoc "${doc}" -} - -python_install_all() { - local DOCS=( *.txt ) - local HTML_DOCS=( docs tools docutils/writers/html4css1/html4css1.css ) - - distutils-r1_python_install_all - - local doc - while IFS= read -r -d '' doc; do - install_txt_doc "${doc}" - done < <(find docs tools -name '*.txt' -print0) -} diff --git a/dev-python/docutils/docutils-0.21.1.ebuild b/dev-python/docutils/docutils-0.21.2.ebuild index 773ff8bded58..8d6d100266ff 100644 --- a/dev-python/docutils/docutils-0.21.1.ebuild +++ b/dev-python/docutils/docutils-0.21.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 optfeature pypi @@ -17,7 +17,7 @@ HOMEPAGE=" # GPL-3+ only for emacs/rst.el LICENSE="BSD BSD-2 GPL-3+ PSF-2.4 public-domain" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" RDEPEND=" dev-python/pillow[${PYTHON_USEDEP}] @@ -27,11 +27,6 @@ BDEPEND=" ${RDEPEND} " -PATCHES=( - # minimal backport of upstream r9637, r9641 - "${FILESDIR}/${P}-test.patch" -) - python_compile_all() { # Generate html docs from reStructured text sources. @@ -45,7 +40,6 @@ python_compile_all() { src_test() { cd test || die - mkdir functional/output || die distutils-r1_src_test } diff --git a/dev-python/docutils/files/docutils-0.19-pygments-2.14.patch b/dev-python/docutils/files/docutils-0.19-pygments-2.14.patch deleted file mode 100644 index 42324aa49c4d..000000000000 --- a/dev-python/docutils/files/docutils-0.19-pygments-2.14.patch +++ /dev/null @@ -1,672 +0,0 @@ -https://bugs.gentoo.org/892213 -https://sourceforge.net/p/docutils/patches/201/ ---- a/test/test_parsers/test_rst/test_directives/test_code.py -+++ b/test/test_parsers/test_rst/test_directives/test_code.py -@@ -10,14 +10,20 @@ Test the 'code' directive in parsers/rst - - if __name__ == '__main__': - import __init__ # noqa: F401 -+from packaging.version import Version - from test_parsers import DocutilsTestSupport --from docutils.utils.code_analyzer import with_pygments -+from docutils.utils.code_analyzer import with_pygments, pygments_version - - - def suite(): - s = DocutilsTestSupport.ParserTestSuite() - if not with_pygments: - del(totest['code-parsing']) -+ del(totest['code-parsing-2-14']) -+ elif pygments_version >= Version('2.14.0'): -+ del(totest['code-parsing']) -+ else: -+ del(totest['code-parsing-2-14']) - s.generateTests(totest) - return s - -@@ -170,6 +176,165 @@ totest['code-parsing'] = [ - \n\ - <inline classes="name builtin"> - print -+ <inline classes="punctuation"> -+ ( -+ <inline classes="literal number integer"> -+ 8 -+ <inline classes="operator"> -+ / -+ <inline classes="literal number integer"> -+ 2 -+ <inline classes="punctuation"> -+ ) -+"""], -+["""\ -+.. code:: latex -+ :class: testclass -+ -+ hello \\emph{world} % emphasize -+""", -+"""\ -+<document source="test data"> -+ <literal_block classes="code latex testclass" xml:space="preserve"> -+ hello \n\ -+ <inline classes="keyword"> -+ \\emph -+ <inline classes="name builtin"> -+ { -+ world -+ <inline classes="name builtin"> -+ } -+ \n\ -+ <inline classes="comment"> -+ % emphasize"""], -+["""\ -+.. code:: rst -+ :number-lines: -+ -+ This is a code block with text. -+""", -+"""\ -+<document source="test data"> -+ <literal_block classes="code rst" xml:space="preserve"> -+ <inline classes="ln"> -+ 1 \n\ -+ This is a code block with text. -+"""], -+["""\ -+Code not parsed but warning silenced in ParserTestCase. -+ -+.. code:: s-lang -+ -+ % abc.sl -+ autoload("abc_mode", "abc"); -+""", -+"""\ -+<document source="test data"> -+ <paragraph> -+ Code not parsed but warning silenced in ParserTestCase. -+ <literal_block classes="code s-lang" xml:space="preserve"> -+ % abc.sl -+ autoload("abc_mode", "abc"); -+"""], -+["""\ -+Place the language name in a class argument to avoid the no-lexer warning: -+ -+.. code:: -+ :class: s-lang -+ -+ % abc.sl -+ autoload("abc_mode", "abc"); -+""", -+"""\ -+<document source="test data"> -+ <paragraph> -+ Place the language name in a class argument to avoid the no-lexer warning: -+ <literal_block classes="code s-lang" xml:space="preserve"> -+ % abc.sl -+ autoload("abc_mode", "abc"); -+"""], -+] -+ -+totest['code-parsing-2-14'] = [ -+["""\ -+.. code:: python3 -+ :class: testclass -+ -+ print('hello world') # to stdout -+""", -+"""\ -+<document source="test data"> -+ <literal_block classes="code python3 testclass" xml:space="preserve"> -+ \n\ -+ <inline classes="name builtin"> -+ print -+ <inline classes="punctuation"> -+ ( -+ <inline classes="literal string single"> -+ 'hello world' -+ <inline classes="punctuation"> -+ ) -+ \n\ -+ <inline classes="comment single"> -+ # to stdout -+"""], -+["""\ -+.. code:: python3 -+ :class: testclass -+ :name: my_function -+ :number-lines: 7 -+ -+ def my_function(): -+ '''Test the lexer. -+ ''' -+ -+ # and now for something completely different -+ print(8/2) -+""", -+"""\ -+<document source="test data"> -+ <literal_block classes="code python3 testclass" ids="my-function" names="my_function" xml:space="preserve"> -+ <inline classes="ln"> -+ 7 \n\ -+ <inline classes="keyword"> -+ def -+ \n\ -+ <inline classes="name function"> -+ my_function -+ <inline classes="punctuation"> -+ (): -+ <inline classes="whitespace"> -+ \n\ -+ <inline classes="ln"> -+ 8 \n\ -+ <inline classes="whitespace"> -+ \n\ -+ <inline classes="literal string doc"> -+ \'\'\'Test the lexer. -+ <inline classes="ln"> -+ 9 \n\ -+ <inline classes="literal string doc"> -+ \'\'\' -+ <inline classes="whitespace"> -+ \n\ -+ <inline classes="ln"> -+ 10 \n\ -+ <inline classes="whitespace"> -+ \n\ -+ <inline classes="ln"> -+ 11 \n\ -+ <inline classes="whitespace"> -+ \n\ -+ <inline classes="comment single"> -+ # and now for something completely different -+ <inline classes="whitespace"> -+ \n\ -+ <inline classes="ln"> -+ 12 \n\ -+ <inline classes="whitespace"> -+ \n\ -+ <inline classes="name builtin"> -+ print - <inline classes="punctuation"> - ( - <inline classes="literal number integer"> ---- a/test/test_parsers/test_rst/test_directives/test_code_long.py -+++ b/test/test_parsers/test_rst/test_directives/test_code_long.py -@@ -10,15 +10,22 @@ Test the 'code' directive in body.py wit - - if __name__ == '__main__': - import __init__ # noqa: F401 -+from packaging.version import Version - from test_parsers import DocutilsTestSupport --from docutils.utils.code_analyzer import with_pygments -+from docutils.utils.code_analyzer import with_pygments, pygments_version - - - def suite(): - settings = {'syntax_highlight': 'long'} - s = DocutilsTestSupport.ParserTestSuite(suite_settings=settings) - if with_pygments: -+ if pygments_version >= Version('2.14.0'): -+ del(totest['code-parsing-long']) -+ else: -+ del(totest['code-parsing-long-2-14']) -+ - s.generateTests(totest) -+ - return s - - -@@ -73,6 +80,94 @@ totest['code-parsing-long'] = [ - \n\ - <inline classes="name builtin"> - print -+ <inline classes="punctuation"> -+ ( -+ <inline classes="literal number integer"> -+ 8 -+ <inline classes="operator"> -+ / -+ <inline classes="literal number integer"> -+ 2 -+ <inline classes="punctuation"> -+ ) -+"""], -+["""\ -+.. code:: latex -+ -+ hello \\emph{world} % emphasize -+""", -+"""\ -+<document source="test data"> -+ <literal_block classes="code latex" xml:space="preserve"> -+ hello \n\ -+ <inline classes="keyword"> -+ \\emph -+ <inline classes="name builtin"> -+ { -+ world -+ <inline classes="name builtin"> -+ } -+ \n\ -+ <inline classes="comment"> -+ % emphasize"""], -+] -+ -+totest['code-parsing-long-2-14'] = [ -+["""\ -+.. code:: python3 -+ :number-lines: 7 -+ -+ def my_function(): -+ '''Test the lexer. -+ ''' -+ -+ # and now for something completely different -+ print(8/2) -+""", -+"""\ -+<document source="test data"> -+ <literal_block classes="code python3" xml:space="preserve"> -+ <inline classes="ln"> -+ 7 \n\ -+ <inline classes="keyword"> -+ def -+ \n\ -+ <inline classes="name function"> -+ my_function -+ <inline classes="punctuation"> -+ (): -+ <inline classes="whitespace"> -+ \n\ -+ <inline classes="ln"> -+ 8 \n\ -+ <inline classes="whitespace"> -+ \n\ -+ <inline classes="literal string doc"> -+ \'\'\'Test the lexer. -+ <inline classes="ln"> -+ 9 \n\ -+ <inline classes="literal string doc"> -+ \'\'\' -+ <inline classes="whitespace"> -+ \n\ -+ <inline classes="ln"> -+ 10 \n\ -+ <inline classes="whitespace"> -+ \n\ -+ <inline classes="ln"> -+ 11 \n\ -+ <inline classes="whitespace"> -+ \n\ -+ <inline classes="comment single"> -+ # and now for something completely different -+ <inline classes="whitespace"> -+ \n\ -+ <inline classes="ln"> -+ 12 \n\ -+ <inline classes="whitespace"> -+ \n\ -+ <inline classes="name builtin"> -+ print - <inline classes="punctuation"> - ( - <inline classes="literal number integer"> ---- a/test/test_parsers/test_rst/test_directives/test_include.py -+++ b/test/test_parsers/test_rst/test_directives/test_include.py -@@ -10,9 +10,10 @@ Tests for misc.py "include" directive. - import os.path - if __name__ == '__main__': - import __init__ # noqa: F401 -+from packaging.version import Version - from test_parsers import DocutilsTestSupport - from docutils import parsers --from docutils.utils.code_analyzer import with_pygments -+from docutils.utils.code_analyzer import with_pygments, pygments_version - - # optional 3rd-party markdown parser - md_parser_name = 'recommonmark' -@@ -27,6 +28,11 @@ def suite(): - # eventually skip optional parts: - if not with_pygments: - del(totest['include-code']) -+ del(totest['include-code-2-14']) -+ elif pygments_version >= Version('2.14.0'): -+ del(totest['include-code']) -+ else: -+ del(totest['include-code-2-14']) - if not md_parser_class: - del(totest['include-markdown']) - s.generateTests(totest) -@@ -1191,6 +1197,313 @@ Including includes/include14.txt - <inline classes="punctuation"> - .. - \n\ -+ <inline classes="operator word"> -+ include -+ <inline classes="punctuation"> -+ :: -+ ../sibling/include7.txt -+""" % reldir(include6)], -+["""\ -+Circular inclusion -+ -+.. include:: %s -+""" % include15, -+"""\ -+<document source="test data"> -+ <paragraph> -+ Circular inclusion -+ <paragraph> -+ File "include15.txt": example of rekursive inclusion. -+ <paragraph> -+ File "include16.txt": example of rekursive inclusion. -+ <system_message level="2" line="3" source="%s" type="WARNING"> -+ <paragraph> -+ circular inclusion in "include" directive: -+ %s -+ > %s -+ > %s -+ > test data -+ <literal_block xml:space="preserve"> -+ .. include:: include15.txt -+ <paragraph> -+ No loop when clipping before the "include" directive: -+ <paragraph> -+ File "include15.txt": example of rekursive inclusion. -+""" % (reldir(include16), reldir(include15), -+ reldir(include16), reldir(include15))], -+["""\ -+Circular inclusion with clipping. -+ -+.. include:: %s -+ :start-line: 2 -+""" % include16, -+"""\ -+<document source="test data"> -+ <paragraph> -+ Circular inclusion with clipping. -+ <paragraph> -+ File "include15.txt": example of rekursive inclusion. -+ <paragraph> -+ File "include16.txt": example of rekursive inclusion. -+ <system_message level="2" line="3" source="%s" type="WARNING"> -+ <paragraph> -+ circular inclusion in "include" directive: -+ %s -+ > %s -+ > %s -+ > %s -+ > test data -+ <literal_block xml:space="preserve"> -+ .. include:: include15.txt -+ <paragraph> -+ No loop when clipping before the "include" directive: -+ <paragraph> -+ File "include15.txt": example of rekursive inclusion. -+ <paragraph> -+ No loop when clipping before the "include" directive: -+ <paragraph> -+ File "include15.txt": example of rekursive inclusion. -+""" % (reldir(include16), reldir(include15), reldir(include16), -+ reldir(include15), reldir(include16))], -+["""\ -+Circular inclusion with specified parser. -+ -+.. include:: %s -+ :parser: rst -+""" % include15, -+"""\ -+<document source="test data"> -+ <paragraph> -+ Circular inclusion with specified parser. -+ <paragraph> -+ File "include15.txt": example of rekursive inclusion. -+ <paragraph> -+ File "include16.txt": example of rekursive inclusion. -+ <system_message level="2" line="3" source="%s" type="WARNING"> -+ <paragraph> -+ circular inclusion in "include" directive: -+ %s -+ > %s -+ > %s -+ > test data -+ <literal_block xml:space="preserve"> -+ .. include:: include15.txt -+ <paragraph> -+ No loop when clipping before the "include" directive: -+ <paragraph> -+ File "include15.txt": example of rekursive inclusion. -+""" % (reldir(include16), reldir(include15), -+ reldir(include16), reldir(include15))], -+["""\ -+No circular inclusion. -+ -+============================= ============================= -+.. include:: data/include.txt .. include:: data/include.txt -+============================= ============================= -+""", -+"""\ -+<document source="test data"> -+ <paragraph> -+ No circular inclusion. -+ <table> -+ <tgroup cols="2"> -+ <colspec colwidth="29"> -+ <colspec colwidth="29"> -+ <tbody> -+ <row> -+ <entry> -+ <paragraph> -+ Some include text. -+ <entry> -+ <paragraph> -+ Some include text."""], -+] -+ -+totest['include-code-2-14'] = [ -+["""\ -+Included code -+ -+.. include:: %s -+ :code: rst -+""" % include1, -+"""\ -+<document source="test data"> -+ <paragraph> -+ Included code -+ <literal_block classes="code rst" source="%s" xml:space="preserve"> -+ <inline classes="generic heading"> -+ Inclusion 1 -+ \n\ -+ <inline classes="generic heading"> -+ ----------- -+ \n\ -+ <inline classes="whitespace"> -+ \n\ -+ This file is used by \n\ -+ <inline classes="literal string"> -+ ``test_include.py`` -+ . -+""" % reldir(include1)], -+["""\ -+Included code -+ -+.. include:: %s -+ :code: rst -+ :number-lines: -+""" % include1, -+"""\ -+<document source="test data"> -+ <paragraph> -+ Included code -+ <literal_block classes="code rst" source="%s" xml:space="preserve"> -+ <inline classes="ln"> -+ 1 \n\ -+ <inline classes="generic heading"> -+ Inclusion 1 -+ \n\ -+ <inline classes="ln"> -+ 2 \n\ -+ <inline classes="generic heading"> -+ ----------- -+ \n\ -+ <inline classes="ln"> -+ 3 \n\ -+ <inline classes="whitespace"> -+ \n\ -+ <inline classes="ln"> -+ 4 \n\ -+ <inline classes="whitespace"> -+ This file is used by \n\ -+ <inline classes="literal string"> -+ ``test_include.py`` -+ . -+""" % reldir(include1)], -+["""\ -+TAB expansion with included code: -+ -+.. include:: %s -+ :code: rst -+""" % include_literal, -+"""\ -+<document source="test data"> -+ <paragraph> -+ TAB expansion with included code: -+ <literal_block classes="code rst" source="%s" xml:space="preserve"> -+ Literal included this should \n\ -+ <inline classes="generic strong"> -+ **not** -+ be \n\ -+ <inline classes="generic emph"> -+ *marked* -+ \n\ -+ <inline classes="name variable"> -+ `up` -+ . -+ <inline classes="whitespace"> -+ \n\ -+ <- leading raw tab. -+ <inline classes="whitespace"> -+ \n\ -+ \n\ -+ Newlines -+ <inline classes="whitespace"> -+ \n\ -+ are -+ <inline classes="whitespace"> -+ \n\ -+ normalized. -+""" % include_literal], -+["""\ -+Custom TAB expansion with included code: -+ -+.. include:: %s -+ :code: rst -+ :tab-width: 2 -+""" % include_literal, -+"""\ -+<document source="test data"> -+ <paragraph> -+ Custom TAB expansion with included code: -+ <literal_block classes="code rst" source="%s" xml:space="preserve"> -+ Literal included this should \n\ -+ <inline classes="generic strong"> -+ **not** -+ be \n\ -+ <inline classes="generic emph"> -+ *marked* -+ \n\ -+ <inline classes="name variable"> -+ `up` -+ . -+ <inline classes="whitespace"> -+ \n\ -+ <- leading raw tab. -+ <inline classes="whitespace"> -+ \n\ -+ \n\ -+ Newlines -+ <inline classes="whitespace"> -+ \n\ -+ are -+ <inline classes="whitespace"> -+ \n\ -+ normalized. -+""" % include_literal], -+["""\ -+Custom TAB expansion with included code: -+ -+.. include:: %s -+ :code: rst -+ :tab-width: -1 -+""" % include_literal, -+"""\ -+<document source="test data"> -+ <paragraph> -+ Custom TAB expansion with included code: -+ <literal_block classes="code rst" source="%s" xml:space="preserve"> -+ Literal included this should \n\ -+ <inline classes="generic strong"> -+ **not** -+ be \n\ -+ <inline classes="generic emph"> -+ *marked* -+ \n\ -+ <inline classes="name variable"> -+ `up` -+ . -+ <inline classes="whitespace"> -+ \n\ -+ \t<- leading raw tab. -+ <inline classes="whitespace"> -+ \n\ -+ \n\ -+ Newlines -+ <inline classes="whitespace"> -+ \n\ -+ are -+ <inline classes="whitespace"> -+ \n\ -+ normalized. -+""" % include_literal], -+["""\ -+Including includes/include14.txt -+ -+.. include:: %s -+""" % include14, -+"""\ -+<document source="test data"> -+ <paragraph> -+ Including includes/include14.txt -+ <paragraph> -+ Including more/include6.txt as rst-code from includes/include14.txt: -+ <literal_block classes="code rst" source="%s" xml:space="preserve"> -+ In includes/more/include6.txt -+ <inline classes="whitespace"> -+ \n\ -+ \n\ -+ <inline classes="punctuation"> -+ .. -+ \n\ - <inline classes="operator word"> - include - <inline classes="punctuation"> ---- a/docutils/utils/code_analyzer.py -+++ b/docutils/utils/code_analyzer.py -@@ -9,11 +9,14 @@ - from docutils import ApplicationError - try: - import pygments -+ from packaging.version import Version - from pygments.lexers import get_lexer_by_name - from pygments.formatters.html import _get_ttype_class - with_pygments = True -+ pygments_version = Version(pygments.__version__) - except ImportError: - with_pygments = False -+ pygments_version = '0' - - # Filter the following token types from the list of class arguments: - unstyled_tokens = ['token', # Token (base token type) - - diff --git a/dev-python/docutils/files/docutils-0.21.1-test.patch b/dev-python/docutils/files/docutils-0.21.1-test.patch deleted file mode 100644 index 507fd239c166..000000000000 --- a/dev-python/docutils/files/docutils-0.21.1-test.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff --git a/test/test_writers/test_html5_polyglot_parts.py b/test/test_writers/test_html5_polyglot_parts.py -index fb2792ee7..cb03fea2f 100644 ---- a/test/test_writers/test_html5_polyglot_parts.py -+++ b/test/test_writers/test_html5_polyglot_parts.py -@@ -24,11 +24,20 @@ if __name__ == '__main__': - - import docutils - import docutils.core -+from docutils.parsers.rst.directives.images import PIL - from docutils.utils.code_analyzer import with_pygments - - ROOT_PREFIX = (Path(__file__).parent.parent/'functional'/'input').as_posix() - DATA_ROOT = os.path.abspath(os.path.join(__file__, '..', '..', 'data')) - -+with_pygments = False -+PIL_NOT_FOUND_PATH = 'dummy.png' -+try: -+ if PIL and (tuple(int(i) for i in PIL.__version__.split('.')) >= (10, 3)): -+ PIL_NOT_FOUND_PATH = Path('dummy.png').resolve() -+except: -+ PIL = None -+ - - class Html5WriterPublishPartsTestCase(unittest.TestCase): - """Test case for HTML writer via the publish_parts interface.""" -@@ -642,14 +651,14 @@ totest['system_messages'] = ({'stylesheet_path': '', - .. image:: dummy.mp4 - :scale: 100% - """, --{'fragment': """\ -+{'fragment': f"""\ - <img alt="dummy.png" src="dummy.png" /> - <aside class="system-message"> - <p class="system-message-title">System Message: WARNING/2 \ - (<span class="docutils literal"><string></span>, line 1)</p> - <p>Cannot scale image! - Could not get size from "dummy.png": -- [Errno 2] No such file or directory: 'dummy.png'</p> -+ [Errno 2] No such file or directory: '{PIL_NOT_FOUND_PATH}'</p> - </aside> - <aside class="system-message"> - <p class="system-message-title">System Message: ERROR/3 \ diff --git a/dev-python/dogpile-cache/Manifest b/dev-python/dogpile-cache/Manifest index a7069916476f..73f153568eb4 100644 --- a/dev-python/dogpile-cache/Manifest +++ b/dev-python/dogpile-cache/Manifest @@ -1 +1,2 @@ DIST dogpile.cache-1.3.2.tar.gz 269742 BLAKE2B 9656ec20cecccc03c101fe23fd2fa9879bf34cbf52f5232677c357690e55185b6fdeeefc8f820e48a1e39f4d3f2ab106705c717edc3fb0245b8d66f2845bc0cb SHA512 4cdc77f5c58ac26dbedd32580ac03a3b1c9ebc7e0526dbc980307704b2a41be604682a24084149e0d09caf535eed3a555a97e47142676b42fdb68276aa04d1a3 +DIST dogpile.cache-1.3.3.tar.gz 272404 BLAKE2B 1d28bf4293d4cbf8c5a97926458f92dc619a010f0f2fbb8242a2a6daff4ac09ec2f76faca7ee3e622d30a9b1adc7ca01d14cab0ebd5f05e0e35c5df32646be21 SHA512 80809d072167c62dcc731ab5b265c54bcc6f6a1dc09e3ea88959a34823dc0bb776b61166b8e60812dd47c38e8f23ba55c2be173d600a10c4c400c1334d0339fb diff --git a/dev-python/dogpile-cache/dogpile-cache-1.3.3.ebuild b/dev-python/dogpile-cache/dogpile-cache-1.3.3.ebuild new file mode 100644 index 000000000000..dcdf789c5f6f --- /dev/null +++ b/dev-python/dogpile-cache/dogpile-cache-1.3.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A locking API for expiring values while a single thread generates a new value" +HOMEPAGE=" + https://github.com/sqlalchemy/dogpile.cache/ + https://pypi.org/project/dogpile.cache/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/decorator-4.0.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-3.0.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0.1[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/mako[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/ecdsa/Manifest b/dev-python/ecdsa/Manifest index a030d88554d3..4e770d68011a 100644 --- a/dev-python/ecdsa/Manifest +++ b/dev-python/ecdsa/Manifest @@ -1,2 +1 @@ -DIST ecdsa-0.18.0.tar.gz 197938 BLAKE2B d4f55591d58a998e69c070983d6cc45720677f83dc6149bd95938c79391df85fe5ce8fe059e961d23b8334d9ac4ef4972bff91a6e9537affc9ddd75c7cbce4f7 SHA512 f26dbeccd8e6ec832405d419b7244ca97b43a2811513493913a4f2f2fd1d2f453068fe0ba7b90b972f42a0d7b9834212fbd4d4559475cffeb1d80075fa954d78 DIST ecdsa-0.19.0.tar.gz 197791 BLAKE2B bcf8cead08bb9354c91a788e7bf03c9c8befa03f6fcbd65de0ba4442353a68683e7e100cef307387b270eb525c9f7778492f43b83929648866e6c0b5fc09b40f SHA512 7fa90c810800f453ffcdf1872f9a8448cb6081478980cc3d7f282284b4e5483c3a86dc7b1ad6c3a4f46102479e9c8493a9d16903c462383ebf09f9021c0f3217 diff --git a/dev-python/ecdsa/ecdsa-0.18.0.ebuild b/dev-python/ecdsa/ecdsa-0.18.0.ebuild deleted file mode 100644 index 4367e2126d07..000000000000 --- a/dev-python/ecdsa/ecdsa-0.18.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="ECDSA cryptographic signature library in pure Python" -HOMEPAGE=" - https://github.com/tlsfuzzer/python-ecdsa/ - https://pypi.org/project/ecdsa/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos ~x64-macos" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/gmpy[${PYTHON_USEDEP}] - ' 'python*') - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/ecdsa/ecdsa-0.19.0.ebuild b/dev-python/ecdsa/ecdsa-0.19.0.ebuild index 811ded38a881..a07d766d6256 100644 --- a/dev-python/ecdsa/ecdsa-0.19.0.ebuild +++ b/dev-python/ecdsa/ecdsa-0.19.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos ~x64-macos" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/editables/editables-0.5.ebuild b/dev-python/editables/editables-0.5.ebuild index 0984046e406e..52cf46aee0df 100644 --- a/dev-python/editables/editables-0.5.ebuild +++ b/dev-python/editables/editables-0.5.ebuild @@ -1,10 +1,10 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/elasticsearch/Manifest b/dev-python/elasticsearch/Manifest index dba38ac869ae..19097361c810 100644 --- a/dev-python/elasticsearch/Manifest +++ b/dev-python/elasticsearch/Manifest @@ -1 +1,2 @@ DIST elasticsearch-py-8.13.0.gh.tar.gz 1052777 BLAKE2B 90d6677fe40a635f33e37b4da90c0d8c6d3cde10a815932ee91b5e411162322edc22d13fe231b5d514f350a2b448ce1722e75426b5b5e08b711f3193d2963453 SHA512 fee1ba95d65be424f4ffeb65898bbafd5860358864d9706c82be663139e4543bce54c57bb21188c5ab6cdf5e15323cb1698bfb17715a7be38f844d3781840c97 +DIST elasticsearch-py-8.13.1.gh.tar.gz 1074911 BLAKE2B 4ba5f728690274ab074fa17993c59fb41d4493bc05b69d4281db56c274ddd522124c96046248bdecf7fc362e624853d7a31fac0a12d952faf0e38296d62c89c9 SHA512 ab5b3b67e70588c31a2b62fe03dd5aa0320da36b4a669986207db5982fabfb8fa800d181be958505bb264a9fb72ab33a9d5167779300e93d0874e9105e990891 diff --git a/dev-python/elasticsearch/elasticsearch-8.13.1.ebuild b/dev-python/elasticsearch/elasticsearch-8.13.1.ebuild new file mode 100644 index 000000000000..386e158ec30f --- /dev/null +++ b/dev-python/elasticsearch/elasticsearch-8.13.1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +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-4[${PYTHON_USEDEP}] + >=dev-python/aiohttp-3[${PYTHON_USEDEP}] + <dev-python/elastic-transport-9[${PYTHON_USEDEP}] + >=dev-python/elastic-transport-8.13[${PYTHON_USEDEP}] + >=dev-python/orjson-3[${PYTHON_USEDEP}] + <dev-python/requests-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/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 + +src_prepare() { + # https://github.com/elastic/elasticsearch-py/pull/2552/ + sed -i -e '/float_/d' elasticsearch/serializer.py \ + test_elasticsearch/test_serializer.py || die + + distutils-r1_src_prepare +} + +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/elementpath/elementpath-4.4.0.ebuild b/dev-python/elementpath/elementpath-4.4.0.ebuild index 8eac7d175276..67f73a2518b7 100644 --- a/dev-python/elementpath/elementpath-4.4.0.ebuild +++ b/dev-python/elementpath/elementpath-4.4.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -27,8 +27,7 @@ BDEPEND=" distutils_enable_tests pytest -src_prepare() { +EPYTEST_IGNORE=( # fails for some reason, more fit for upstream testing anyway - rm tests/test_typing.py || die - distutils-r1_src_prepare -} + tests/test_typing.py +) diff --git a/dev-python/emcee/Manifest b/dev-python/emcee/Manifest index 77a114b77bce..9bed9eb8fc10 100644 --- a/dev-python/emcee/Manifest +++ b/dev-python/emcee/Manifest @@ -1,2 +1,3 @@ DIST emcee-3.1.4.tar.gz 2869179 BLAKE2B 19e93a154a7c9f8c43389681b7318ff6e79aea8588af10bf86d63bdee51551c538ad8850b82c1233f656a45bbbd344655aad01ed93ddb30337ad49b6bfed8b46 SHA512 23f3945571bc4346c90026f9c675cb72a5cf173294eafd5bf02dc8572cfea63de3260ade91cb9360e420969f2a939fa8ac55961e808c55900fef903be357facf DIST emcee-3.1.5.tar.gz 2870972 BLAKE2B 49ddd0a41a61f33573f1b1e0b198306567e097b86153392fc0f874b3c7e728611fdfb2d45b8427c85208beb3c819ec174bdf5481005a3b17a4f5ea196a54ff3e SHA512 7cc6fe30ad472d4823b12c8bab50fa7d3aea49ca22d38479d77d90d357e715c0dadda7f96575291fbe05ff27962f8a180c49b6629ddb891b044db2719bd88610 +DIST emcee-3.1.6.tar.gz 2871117 BLAKE2B 07f1ff1af716f6ef3f3fe9091ec70f700bc9798da1609c13aa5718a4efb9d0e1e5e8c7e45d86fc3cd91b6faef348cfaa3ee402a1df825eb8ac3fdb6ab9a33bfa SHA512 4ea0a57c3c5e7a3c5976016c89ebddbe9a3e149615e48b39caed45d1b671e704ea0d3a765337c0b98a99fe4e74683c55b9ad5861bee59a09a6f0c756fcadfe51 diff --git a/dev-python/emcee/emcee-3.1.6.ebuild b/dev-python/emcee/emcee-3.1.6.ebuild new file mode 100644 index 000000000000..4af1b70ed9fc --- /dev/null +++ b/dev-python/emcee/emcee-3.1.6.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="Python ensemble sampling toolkit for affine-invariant MCMC" +HOMEPAGE=" + https://emcee.readthedocs.io/en/stable/ + https://github.com/dfm/emcee/ + https://pypi.org/project/emcee/ +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +DEPEND=" + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +DOCS=( AUTHORS.rst README.rst ) + +src_prepare() { + # unnecessary dep + sed -i -e '/wheel/d' setup.py || die + distutils-r1_src_prepare +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} diff --git a/dev-python/emoji/Manifest b/dev-python/emoji/Manifest index dc0d107ae04e..d59c4643cf95 100644 --- a/dev-python/emoji/Manifest +++ b/dev-python/emoji/Manifest @@ -1,2 +1,2 @@ -DIST emoji-2.10.1.gh.tar.gz 489388 BLAKE2B 50cf422b77e92ac7f4f395775d78428c24d061bedb8fe80291b7147eb21bc6423d9d9f3733b651b5632fd2e93516930f5be1413dfb3de81354fd077565332592 SHA512 d4e5a2f434a916e47c78ffffda277d239da57aa028e53b2d92507d1f0274540fc613b9fc6ce6b5d60b48813eda1e6d9b6b3e102aea4fca8df722a5d2e5827c25 DIST emoji-2.11.0.gh.tar.gz 502049 BLAKE2B fe5ecfd85cbdf4812818538c601ae42e7fe50ab01da95af6f1a1f68cf11b9e4dfe8e66a191990f28bb92f5f21807c4fab80035488debe7cf90dedc6e132be189 SHA512 2b8263dcb84a73a54c17b63a878d2f6446b41742fd3148d0be6124acc176c97a6b5cdae72bd9bb22b7a384896a8f875f7dd6962cc5bd72700f9b7e5d568c7fd4 +DIST emoji-2.11.1.gh.tar.gz 502076 BLAKE2B 96ceee9822670ffafcd283535c1af89c7fa71f386ff62ed3417f9794298f5310aeebe75a71c5b11f00b0159cc1c4e111bd9b7701d704ce0b02ee98739c0eb3d4 SHA512 c200e3b143569ba6890b5c83721d9c8fbd76288e05e8d8dad02b853adc79fab5886a6a9606fd361430c9cd42689c24f05583bbe1c4aeff520fff4591aa443af5 diff --git a/dev-python/emoji/emoji-2.10.1.ebuild b/dev-python/emoji/emoji-2.11.1.ebuild index e71c124e54b5..e71c124e54b5 100644 --- a/dev-python/emoji/emoji-2.10.1.ebuild +++ b/dev-python/emoji/emoji-2.11.1.ebuild diff --git a/dev-python/ensurepip-setuptools/Manifest b/dev-python/ensurepip-setuptools/Manifest index db11cb48ddcb..1c73e4e45870 100644 --- a/dev-python/ensurepip-setuptools/Manifest +++ b/dev-python/ensurepip-setuptools/Manifest @@ -1,3 +1,2 @@ DIST setuptools-69.0.3-py3-none-any.whl 819530 BLAKE2B 6ecef64755181255d935e234f77db3a4a9ce6426621d5d95196f55820a6bd62ff6bd3efcbf2e66221501b0c7c5296a35f80d275c59a8075392a0e802ee6713f1 SHA512 20c68e4f279a133f33ac85885b2c7e05b68c8c2faf15c9bb251229a6668c5c6b54c4065c54a0b711dae36d7fd161d3dc34218c579e739a2b2c573b85ccc79820 -DIST setuptools-69.2.0-py3-none-any.whl 821485 BLAKE2B 7b5fdc519f57327e323c15c12650d7c820909664d5f45e18f0c3203ced4c68b3f42598481158b3ae899f16ba56b702724f5b362757369ccc5d61a6cdeae64129 SHA512 fa6b2927b16c00a30b135373be399cfec7ab1b0e9b410de6502172d50ba2a191214a4a4adb443d362198d43e86a662565155ea4c8d37f3305e9f7d1aef724b25 DIST setuptools-69.5.1-py3-none-any.whl 894566 BLAKE2B a9d24f51240fd528f87642e8765a4a72ae9e03e936acec3e26edd1c5b40127f00dee53db2dd171404778c2e2910d095b5de49e0af3d2f7a67d8edd52d16a0a45 SHA512 d212edd21ab99f50c2daf6080c68a3cc0eeed566f10e91f857e7eeb86513f33e9cde25b975db1030110c3b1714cfbfd4d3c9e2937b4a5ff2bb8971e605ecee85 diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-69.2.0.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-69.2.0.ebuild deleted file mode 100644 index 6e384d8b8a5b..000000000000 --- a/dev-python/ensurepip-setuptools/ensurepip-setuptools-69.2.0.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit pypi - -DESCRIPTION="Shared setuptools wheel for ensurepip Python module" -HOMEPAGE="https://pypi.org/project/setuptools/" -SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" -S=${DISTDIR} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - !<dev-python/ensurepip-wheels-100 -" - -src_install() { - insinto /usr/lib/python/ensurepip - doins "${A}" -} diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-69.5.1.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-69.5.1.ebuild index 97aca4a61872..6e384d8b8a5b 100644 --- a/dev-python/ensurepip-setuptools/ensurepip-setuptools-69.5.1.ebuild +++ b/dev-python/ensurepip-setuptools/ensurepip-setuptools-69.5.1.ebuild @@ -12,7 +12,7 @@ S=${DISTDIR} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" RDEPEND=" !<dev-python/ensurepip-wheels-100 diff --git a/dev-python/enzyme/enzyme-0.4.1-r3.ebuild b/dev-python/enzyme/enzyme-0.4.1-r3.ebuild index 4e6a35b08544..0f7e8abfbfb8 100644 --- a/dev-python/enzyme/enzyme-0.4.1-r3.ebuild +++ b/dev-python/enzyme/enzyme-0.4.1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,7 @@ HOMEPAGE=" https://pypi.org/project/enzyme/ " SRC_URI+=" - test? ( mirror://sourceforge/matroska/test_files/matroska_test_w1_1.zip ) + test? ( https://downloads.sourceforge.net/matroska/test_files/matroska_test_w1_1.zip ) " LICENSE="Apache-2.0" diff --git a/dev-python/ephemeral-port-reserve/ephemeral-port-reserve-1.1.4.ebuild b/dev-python/ephemeral-port-reserve/ephemeral-port-reserve-1.1.4.ebuild index ff9798e9127a..83c7b1fb6c2f 100644 --- a/dev-python/ephemeral-port-reserve/ephemeral-port-reserve-1.1.4.ebuild +++ b/dev-python/ephemeral-port-reserve/ephemeral-port-reserve-1.1.4.ebuild @@ -1,10 +1,10 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/evdev/Manifest b/dev-python/evdev/Manifest index b0f02696a1ba..fb64589671c1 100644 --- a/dev-python/evdev/Manifest +++ b/dev-python/evdev/Manifest @@ -1 +1,2 @@ DIST python-evdev-1.7.0.gh.tar.gz 87773 BLAKE2B 8ed41fa8b9a8583c863450d6952955477ca8fca649a1615fcce8741624561f5719d535700dc67c6757f193452d618e5850b6f9ab35c32ab49ed48025e4e5b94c SHA512 79cb8e92f5698b120ba0c4b2603a18907097d130e0128cbad68eb95b50935b6aeadd1e844d4c76909c965719cb5b067e37d0921748be3c7c2493acb58c153521 +DIST python-evdev-1.7.1.gh.tar.gz 88275 BLAKE2B 334f70785411bd0e8d348ddeb0a6a728dbfd5c3604a19e7153c47d6868f76b0d3c10317230b0d6874cc14b3765d0e520d932c551842bd0d758b7a735b30ba7cb SHA512 802ba7c252a8817c60480db90b28e89b8356580d7b7f6a35725c70fcacbcabb3d3216330f6639ece940d901434cf1617d7682d344b7428fd5c5b6ab940700ff8 diff --git a/dev-python/evdev/evdev-1.7.1.ebuild b/dev-python/evdev/evdev-1.7.1.ebuild new file mode 100644 index 000000000000..7325d4b2a71e --- /dev/null +++ b/dev-python/evdev/evdev-1.7.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-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} pypy3 ) + +inherit distutils-r1 + +MY_P=python-evdev-${PV} +DESCRIPTION="Python library for evdev bindings" +HOMEPAGE=" + https://python-evdev.readthedocs.io/ + https://github.com/gvalkov/python-evdev/ + https://pypi.org/project/evdev/ +" +SRC_URI=" + https://github.com/gvalkov/python-evdev/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + tests/test_uinput.py +) + +python_configure_all() { + esetup.py build_ecodes \ + --evdev-headers \ + "${ESYSROOT}/usr/include/linux/input.h:${ESYSROOT}/usr/include/linux/input-event-codes.h" +} + +src_test() { + cd tests || die + distutils-r1_src_test +} diff --git a/dev-python/exceptiongroup/Manifest b/dev-python/exceptiongroup/Manifest index d4de9b1ae807..9f098dc3859b 100644 --- a/dev-python/exceptiongroup/Manifest +++ b/dev-python/exceptiongroup/Manifest @@ -1,2 +1 @@ -DIST exceptiongroup-1.1.3.gh.tar.gz 24057 BLAKE2B c178152b92ac4079bb10614918d80f1b772f1d2c02e82fdbc19fc576c434df5f92d731116b46145ef3c3a3e57b4b899f6be11e2452a13170d27072b6b2ad74b5 SHA512 fddc52abb6b61c024c5832f6d2ed723a834c31e2bc713a3c5796581e8edbd3299d9342885cfcb5ed83ad7f7fdbb7c461ffcec354c0328a740a40d5340997d1c8 -DIST exceptiongroup-1.2.0.gh.tar.gz 27368 BLAKE2B 93ac3872fe9f9f0eab80b9e667308a8f1d06541dbfa19dda5bcbd7d9c7d6963872294b7549d88a10e0574e9db1aaa7bd39748e1237ac86e1f83dbb2ef89686d0 SHA512 eeac523fd338099dea66c5b2f7fcc070612746487be244deba8a1c731c1f23db24763dd9e35c28dfb9460b49c645f380e6858f998f95b9244dfb82f5549f159b +DIST exceptiongroup-1.2.1.tar.gz 28717 BLAKE2B 70e8093ad6af81343bf90e349671265e612f12fe25e5caeaef5917353159415215e4bb1921d9a0fcde6c3bd1a31a84f032827a2d5d8884daea777d7b110d8995 SHA512 7e0216ac2d76f0b3d29a0690790aa98d8e0f019eaee74e37e4ddcb97553a6a4d5037982478e663e8dfba49731444decda06122a3cb68f1c538589f5b43bdebfc diff --git a/dev-python/exceptiongroup/exceptiongroup-1.1.3.ebuild b/dev-python/exceptiongroup/exceptiongroup-1.1.3.ebuild deleted file mode 100644 index c06238b9a508..000000000000 --- a/dev-python/exceptiongroup/exceptiongroup-1.1.3.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit_scm -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 - -MY_P=${P/_} -DESCRIPTION="Backport of PEP 654 (exception groups)" -HOMEPAGE=" - https://github.com/agronholm/exceptiongroup/ - https://pypi.org/project/exceptiongroup/ -" -# pypi sdist does not include tests as of 1.1.1 -# https://github.com/agronholm/exceptiongroup/pull/59 -SRC_URI=" - https://github.com/agronholm/exceptiongroup/archive/${PV/_}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT PSF-2.4" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV/_} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/exceptiongroup/exceptiongroup-1.2.0.ebuild b/dev-python/exceptiongroup/exceptiongroup-1.2.1.ebuild index c06238b9a508..112639c10e38 100644 --- a/dev-python/exceptiongroup/exceptiongroup-1.2.0.ebuild +++ b/dev-python/exceptiongroup/exceptiongroup-1.2.1.ebuild @@ -1,26 +1,18 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=flit_scm -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) -inherit distutils-r1 +inherit distutils-r1 pypi -MY_P=${P/_} DESCRIPTION="Backport of PEP 654 (exception groups)" HOMEPAGE=" https://github.com/agronholm/exceptiongroup/ https://pypi.org/project/exceptiongroup/ " -# pypi sdist does not include tests as of 1.1.1 -# https://github.com/agronholm/exceptiongroup/pull/59 -SRC_URI=" - https://github.com/agronholm/exceptiongroup/archive/${PV/_}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} LICENSE="MIT PSF-2.4" SLOT="0" @@ -28,9 +20,17 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv distutils_enable_tests pytest -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV/_} - python_test() { + local EPYTEST_DESELECT=() + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # https://github.com/agronholm/exceptiongroup/issues/122 + tests/test_formatting.py + ) + ;; + esac + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest } diff --git a/dev-python/execnet/Manifest b/dev-python/execnet/Manifest index e294d78a8dc0..d5960022bc9f 100644 --- a/dev-python/execnet/Manifest +++ b/dev-python/execnet/Manifest @@ -1,3 +1 @@ -DIST execnet-2.0.2.tar.gz 161098 BLAKE2B 2a0a4d3071a0436d7c6ec450f1b502047e6a367985771aa58050e149ea060e8a573844bd2380c66be914dd00e3f9491b126e84089006787c61c043116f9e5981 SHA512 9e2e7ff4e04f50b12a3dd47d3326a3ea229f64926e8598bdce6ea25bd57afb41e96249e1c9f7333927a38a2793f67cac77965c922980055ed758dee361bf2ce4 -DIST execnet-2.1.0.tar.gz 166475 BLAKE2B b1149df5e0073ad9e02520bd74a19a3e527a488088d785b902fab2e7d008fe01195134d2742d6443a52645338b79bc69283ad3402495d64089885793446c4aad SHA512 efd63147748d2f26fd75034b2a0a90c7aa10ac647468ceb27c845c3b66dfa6ffda8b8bd3b5d40ce34f429fb151bfd9fe5c2c6ebc20027789de555232851b5525 DIST execnet-2.1.1.tar.gz 166524 BLAKE2B cf6ef7007ecee7cd3e205dfaefc7c46dcc555dd4290a9055413373cbc1f8b24c5769e8e2eb58c9d6169ad766539bf44139a691726d791a69a80a2f800fefcf4e SHA512 486f906ad653d16cce7337d9085c36070fe3dd721a3723ca62ceb25862c3ff837120062df028d5aadec17f854c0d46204537e9d75d22079a677f08c50dd48d21 diff --git a/dev-python/execnet/execnet-2.0.2.ebuild b/dev-python/execnet/execnet-2.0.2.ebuild deleted file mode 100644 index c6707acf4de6..000000000000 --- a/dev-python/execnet/execnet-2.0.2.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Rapid multi-Python deployment" -HOMEPAGE=" - https://codespeak.net/execnet/ - https://github.com/pytest-dev/execnet/ - https://pypi.org/project/execnet/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] -" - -distutils_enable_sphinx doc -distutils_enable_tests pytest - -python_test() { - local -x PYTHONDONTWRITEBYTECODE= - epytest testing -} diff --git a/dev-python/execnet/execnet-2.1.0.ebuild b/dev-python/execnet/execnet-2.1.0.ebuild deleted file mode 100644 index c954dbc26c01..000000000000 --- a/dev-python/execnet/execnet-2.1.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Rapid multi-Python deployment" -HOMEPAGE=" - https://codespeak.net/execnet/ - https://github.com/pytest-dev/execnet/ - https://pypi.org/project/execnet/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] -" - -distutils_enable_sphinx doc -distutils_enable_tests pytest - -python_test() { - # the test suite checks if bytecode writing can be disabled/enabled - local -x PYTHONDONTWRITEBYTECODE= - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # some tests are implicitly run against both sys.executable - # and pypy3, which is redundant and results in pypy3 bytecode being - # written to cpython install dirs - epytest testing -k "not pypy3" -} diff --git a/dev-python/execnet/execnet-2.1.1.ebuild b/dev-python/execnet/execnet-2.1.1.ebuild index c954dbc26c01..c0e980e44d2d 100644 --- a/dev-python/execnet/execnet-2.1.1.ebuild +++ b/dev-python/execnet/execnet-2.1.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" BDEPEND=" dev-python/hatch-vcs[${PYTHON_USEDEP}] diff --git a/dev-python/fakeredis/Manifest b/dev-python/fakeredis/Manifest index 4d773610816d..bd277ead80e3 100644 --- a/dev-python/fakeredis/Manifest +++ b/dev-python/fakeredis/Manifest @@ -1 +1,3 @@ -DIST fakeredis-2.21.3.tar.gz 129013 BLAKE2B 9c56fadc1090cc886fe08b53404c21b1659f4f9c9f5c3c168f02a7ac71e7e660924aec8ad82dbc18d8c2c11245b4548e71ec68d5e83a0a9fd4e5503b85be0cc0 SHA512 aade7596729b7100ef58a2a87cbd011fd4e60970c0c310ca70748e03b787fd3e0ef6d5c54739e91c839f9451a12ec029d441e3cfb4ed3238425b2cce526d8030 +DIST fakeredis-2.22.0.tar.gz 130074 BLAKE2B 28ccc177c8f2d47515ff91834901b8fdf9559b83b1e7665101b5f17e57d65a3c820af6be21251257f35a7db858c22fac3395cfb550b724e020e96778ad380008 SHA512 a533f26c2a4289b1b4d398ee426f44c93f01a4aac0dc841854bf94674d7e0738fde38ea896280d4e83bf16041dba505db13e3fa3837a912dc872b1d36c05cc6e +DIST fakeredis-2.23.0.tar.gz 133649 BLAKE2B 4dcfb0b52f18101311cd6513fa236ecc6100d12fdfceb9eef12e40ea4fc2a8148dd93e2ad9a68cf5347a3048a95136b7fcbedab2ea5348fa789462b9fee6f920 SHA512 8c3b4ad153232101203811d2891985474fe17a86693217cb58e694ded3c309d101a6bef52e1b544bbc489a0c355792bdbdbed220dca00d0f50afb2fb1c6438ce +DIST fakeredis-2.23.1.tar.gz 132829 BLAKE2B 05bc696f22cd3280728cf96614ac68fa9243242934c2d25e09fc20a569295adea6b75efb890cc172b1a0c75b9d96e9a1b30c9c04a01bfca508609b3a6eaad5c5 SHA512 5b8d256460d5930896ee1d8b3259decfdee12d0699da852cf1d6ce2c00d70cb404840808c5385ebae8d4ba7accd744f7f969bee4fc73320f55fc34558dee1294 diff --git a/dev-python/fakeredis/fakeredis-2.21.3.ebuild b/dev-python/fakeredis/fakeredis-2.22.0.ebuild index d0865eabf695..d0865eabf695 100644 --- a/dev-python/fakeredis/fakeredis-2.21.3.ebuild +++ b/dev-python/fakeredis/fakeredis-2.22.0.ebuild diff --git a/dev-python/fakeredis/fakeredis-2.23.0.ebuild b/dev-python/fakeredis/fakeredis-2.23.0.ebuild new file mode 100644 index 000000000000..fe8a86c29b94 --- /dev/null +++ b/dev-python/fakeredis/fakeredis-2.23.0.ebuild @@ -0,0 +1,89 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fake implementation of redis API for testing purposes" +HOMEPAGE=" + https://github.com/cunla/fakeredis-py/ + https://pypi.org/project/fakeredis/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/redis-4.2[${PYTHON_USEDEP}] + <dev-python/sortedcontainers-3[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # also lupa + test/test_aioredis2.py::test_failed_script_error + # TODO + "test/test_fakeredis.py::test_set_get_nx[StrictRedis]" + "test/test_fakeredis.py::test_lpop_count[StrictRedis]" + "test/test_fakeredis.py::test_rpop_count[StrictRedis]" + "test/test_fakeredis.py::test_zadd_minus_zero[StrictRedis]" + "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis]" + test/test_mixins/test_set_commands.py::test_smismember_wrong_type + # new redis-server? + "test/test_mixins/test_pubsub_commands.py::test_pubsub_shardnumsub[StrictRedis]" + # json ext + test/test_json/test_json.py + test/test_json/test_json_arr_commands.py + # tdigest ext? + 'test/test_mixins/test_server_commands.py::test_command[FakeStrictRedis]' + ) + local EPYTEST_IGNORE=( + # these tests fail a lot... + test/test_hypothesis.py + ) + local args=( + # tests requiring lupa (lua support) + -k 'not test_eval and not test_lua and not test_script' + ) + # Note: this package is not xdist-friendly + epytest "${args[@]}" +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/fakeredis/fakeredis-2.23.1.ebuild b/dev-python/fakeredis/fakeredis-2.23.1.ebuild new file mode 100644 index 000000000000..fe8a86c29b94 --- /dev/null +++ b/dev-python/fakeredis/fakeredis-2.23.1.ebuild @@ -0,0 +1,89 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fake implementation of redis API for testing purposes" +HOMEPAGE=" + https://github.com/cunla/fakeredis-py/ + https://pypi.org/project/fakeredis/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/redis-4.2[${PYTHON_USEDEP}] + <dev-python/sortedcontainers-3[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # also lupa + test/test_aioredis2.py::test_failed_script_error + # TODO + "test/test_fakeredis.py::test_set_get_nx[StrictRedis]" + "test/test_fakeredis.py::test_lpop_count[StrictRedis]" + "test/test_fakeredis.py::test_rpop_count[StrictRedis]" + "test/test_fakeredis.py::test_zadd_minus_zero[StrictRedis]" + "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis]" + test/test_mixins/test_set_commands.py::test_smismember_wrong_type + # new redis-server? + "test/test_mixins/test_pubsub_commands.py::test_pubsub_shardnumsub[StrictRedis]" + # json ext + test/test_json/test_json.py + test/test_json/test_json_arr_commands.py + # tdigest ext? + 'test/test_mixins/test_server_commands.py::test_command[FakeStrictRedis]' + ) + local EPYTEST_IGNORE=( + # these tests fail a lot... + test/test_hypothesis.py + ) + local args=( + # tests requiring lupa (lua support) + -k 'not test_eval and not test_lua and not test_script' + ) + # Note: this package is not xdist-friendly + epytest "${args[@]}" +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/fastjsonschema/fastjsonschema-2.19.1.ebuild b/dev-python/fastjsonschema/fastjsonschema-2.19.1.ebuild index 2308e701735e..cf18821f1b26 100644 --- a/dev-python/fastjsonschema/fastjsonschema-2.19.1.ebuild +++ b/dev-python/fastjsonschema/fastjsonschema-2.19.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/filelock/Manifest b/dev-python/filelock/Manifest index 0aa878b5cb6d..58d1c85d1f67 100644 --- a/dev-python/filelock/Manifest +++ b/dev-python/filelock/Manifest @@ -1,2 +1,2 @@ -DIST filelock-3.13.3.tar.gz 14938 BLAKE2B b6593dfdb1f2c6ed76ec0d79375e60c67950251bdecc61215be70b1c14e50932ed9796c0318f582fd62760340a3d569b18eb7854205df0b228d4be4f92a333b2 SHA512 d335f9cffdda98f2d3e3585f9170ad5f062e6457056e75738df8b2a2e7ebaed4939597c5e4d1353a4ed0cd1bd53bbb21dab8418412be98cc0b322a6789dd0c7d DIST filelock-3.13.4.tar.gz 15093 BLAKE2B 1ee07531e4743ad61e9fc2ef85d79e1402be75efb31a6661e1f912a3ae44d19e5578e6e78980228645157ab254f56070ee85b2cdcd2e9d507947c778284159d4 SHA512 072d78bfb3b3831847103b3e7d54e97e9486cbe1ba146d9632edb510abe2d56f3f06bce6b79a2e6cb830ba51e47bbfe32b8f18abb08bd33480ecf78ee0da161b +DIST filelock-3.14.0.tar.gz 15401 BLAKE2B afa95a941189cd73767684016502fba6972541a8a0f16bed0a4acc6452700224d511a17e6882b1c680fa6b20621b617704a7e9d3aff8ae883ede56f40acb5de3 SHA512 51eda6394fcac86a12887fe1974022b9da921fb96a61887f7a91c5b15f083a4c9186600ec61b4e93b91b8c4799c50ca4b6c418416c6bf2b422ea3b41715258e4 diff --git a/dev-python/filelock/filelock-3.13.4.ebuild b/dev-python/filelock/filelock-3.13.4.ebuild index 48908464f081..2ecc4294c592 100644 --- a/dev-python/filelock/filelock-3.13.4.ebuild +++ b/dev-python/filelock/filelock-3.13.4.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Unlicense" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" BDEPEND=" dev-python/hatch-vcs[${PYTHON_USEDEP}] diff --git a/dev-python/filelock/filelock-3.13.3.ebuild b/dev-python/filelock/filelock-3.14.0.ebuild index 2ecc4294c592..b753c7275a84 100644 --- a/dev-python/filelock/filelock-3.13.3.ebuild +++ b/dev-python/filelock/filelock-3.14.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Unlicense" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" BDEPEND=" dev-python/hatch-vcs[${PYTHON_USEDEP}] diff --git a/dev-python/findpython/Manifest b/dev-python/findpython/Manifest index 14a8ce5bd331..80efeabf1979 100644 --- a/dev-python/findpython/Manifest +++ b/dev-python/findpython/Manifest @@ -1,2 +1,2 @@ -DIST findpython-0.4.1.tar.gz 17487 BLAKE2B cbc46628977d0fef358b65bd5344630a1329e4b492a17147bb64146c330f66fc918c0af195eaca57f807b59d160ae758706210f3b46c46f79e27b3026256e0c6 SHA512 1c58a5ca604f6bceccfaf9853eb0dfa23e40eae1f3957bda22602fdabb78d05fdb4b8c1d7b231ad09a7910a859c0f32d77d70980f387d7109e44413b4ad70bef DIST findpython-0.6.0.tar.gz 17774 BLAKE2B ecc60d0ee909e8c354e24f7014b55097723b83600bfdb4797e7c62871a81145ee4348e4366ffeefc6c174625d23267a41cd5b245e3d3e66d8577fe03ef2a323d SHA512 bf388a3dbaadf419b92eafe947716190a9e85612d384291493372a152ae1be55908574dcfecec32afa6025786b3c98a4093a7c9b2ba56ee947a4df2b6a009144 +DIST findpython-0.6.1.tar.gz 17797 BLAKE2B 22008769317bd769768e06f991031c2fdfe1135864fd2df0ddfc43f95b5098cd35f254b005e4f682b4866a035516560c58b59609edcf223536446e08372dcc1e SHA512 4b915dd5ce4e4ae9e09adeec5ef6118c44e8adbc4a629b8c97d8141c85635ef3152b4cfe6acbb89684183f0217e5835779c9091e7271670adaf74b941e17a125 diff --git a/dev-python/findpython/findpython-0.4.1.ebuild b/dev-python/findpython/findpython-0.6.1.ebuild index 6d87fd64cca9..ccb1027273d6 100644 --- a/dev-python/findpython/findpython-0.4.1.ebuild +++ b/dev-python/findpython/findpython-0.6.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/flaky/flaky-3.8.1.ebuild b/dev-python/flaky/flaky-3.8.1.ebuild index 845ce71f41ea..812512de69c7 100644 --- a/dev-python/flaky/flaky-3.8.1.ebuild +++ b/dev-python/flaky/flaky-3.8.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -26,7 +26,6 @@ RDEPEND=" BDEPEND=" test? ( dev-python/genty[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}] ) " diff --git a/dev-python/flasgger/flasgger-0.9.7.1.ebuild b/dev-python/flasgger/flasgger-0.9.7.1.ebuild index 6d77656bedfa..5d4956b18381 100644 --- a/dev-python/flasgger/flasgger-0.9.7.1.ebuild +++ b/dev-python/flasgger/flasgger-0.9.7.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/flask-compress/Manifest b/dev-python/flask-compress/Manifest index 37762b7840da..84ddfd07823c 100644 --- a/dev-python/flask-compress/Manifest +++ b/dev-python/flask-compress/Manifest @@ -1 +1 @@ -DIST Flask-Compress-1.14.tar.gz 13544 BLAKE2B 4a2ba809ef378aa8132a22c87acfb535946f347f41d05bf2d9d8de13d05cb0494000b8aa9ba40548236f0ec3e772159e091b41e0fe90f8d6f782a70aabd1e043 SHA512 7f30f64bddeaa06875725b6195348cdfb20d3fdd0d8a392f0fbeb209ad5a532bd222fc1c9ceadf7dcff614f2513a885724bfc165fccf162c889924e3b73bee3c +DIST flask_compress-1.15.tar.gz 13944 BLAKE2B cdad9f1590b47ce7443d14cba9143f795cf355c2c6991d62ea362744366595b85c5ec8680b448af78c293519b50985a805d275227bf68628039293f72c68c890 SHA512 746fd7fb5efa2098d1aae179823b333ca083e6bb6945400d6a5401df0799a76733a67f8b38f952c59002c07705d7a7b0c6b43fbd291a368f98a363f3121dcd1f diff --git a/dev-python/flask-compress/flask-compress-1.14.ebuild b/dev-python/flask-compress/flask-compress-1.15.ebuild index 4ef1fd7b7989..e5d96fb6107f 100644 --- a/dev-python/flask-compress/flask-compress-1.14.ebuild +++ b/dev-python/flask-compress/flask-compress-1.15.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 PYPI_PN="Flask-Compress" PYTHON_COMPAT=( python3_{10..12} ) @@ -24,6 +23,7 @@ KEYWORDS="amd64 arm64 x86" RDEPEND=" app-arch/brotli[python,${PYTHON_USEDEP}] dev-python/flask[${PYTHON_USEDEP}] + dev-python/zstandard[${PYTHON_USEDEP}] " distutils_enable_tests pytest diff --git a/dev-python/flask-cors/Manifest b/dev-python/flask-cors/Manifest index c5791930cf13..20195edb349a 100644 --- a/dev-python/flask-cors/Manifest +++ b/dev-python/flask-cors/Manifest @@ -1 +1 @@ -DIST flask-cors-4.0.0.gh.tar.gz 31586 BLAKE2B ac3713a08108a621fb0150039a2c40b87a3331084223ec73fb6cf76444e4a7681350a01f18f507b0ee942f01731c289e44950d99412373e7c889beaffa116513 SHA512 04f163d646d2f5fc96b397a3d52ad0e6b99ae6caaec67855e05b4330a323d1b28ab4d624000cbce9a897dba8a00317828e7056537454d1bb7febfcdddd37096d +DIST flask-cors-4.0.1.gh.tar.gz 32226 BLAKE2B f6301842b20175587be43d3c1f22fb341463f25d21fcae9b6463e8c48b149ab7ddf000d5541645f217755bc43863ef060cf1e2f6e57941632db420efb1cd223e SHA512 51dd7c50d5db6a6b6985a32f08f9512603e64199bf90dd22349cd1dbff94f1706b1e26cbe7765fb6dc6310fce86ac470896b127dc83cc740436e1ae11c11f7eb diff --git a/dev-python/flask-cors/flask-cors-4.0.0.ebuild b/dev-python/flask-cors/flask-cors-4.0.1.ebuild index 716c8b9f4065..9b092f6ef4b1 100644 --- a/dev-python/flask-cors/flask-cors-4.0.0.ebuild +++ b/dev-python/flask-cors/flask-cors-4.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ if [[ "${PV}" == "9999" ]]; then inherit git-r3 else SRC_URI=" - https://github.com/corydolphin/flask-cors/archive/v${PV}.tar.gz + https://github.com/corydolphin/flask-cors/archive/${PV}.tar.gz -> ${P}.gh.tar.gz " KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" diff --git a/dev-python/flask/Manifest b/dev-python/flask/Manifest index 981da96b5de6..31db193f2be0 100644 --- a/dev-python/flask/Manifest +++ b/dev-python/flask/Manifest @@ -1,2 +1 @@ -DIST flask-3.0.2.tar.gz 675248 BLAKE2B 137e09ac0f3bb9d027f2c8204769ae98ae5b9992f6126961208a875efb8d450abec471859ab0341120356c9b61238700f0e918da867d7265e31e73cee3a242db SHA512 02f937dae7d654f6286eb9fcf2d68d83f3ef56dbc4d59a961ea1bd95d17fac7a5ace3f27ebb03ff0592f6a87361e59934ffda098714fc8a049a487d4c0bbc0ef DIST flask-3.0.3.tar.gz 676315 BLAKE2B 19013ff4588dc057febe2720eadcfcadb0e1854731c2c9e391449696549106da930c11f94782610424ea40c1377e9b8aa52ca39fedc6ad0c98c9a70a56d01514 SHA512 977c0e5fd2d496fae8e34a035f211118642dc6518a14dc5f6c175b72c6a76407aeb9ff0ed1f5db636370a9aa7e0d36baa783713ea7bdabd7f28c8c2b94643cd1 diff --git a/dev-python/flask/flask-3.0.2.ebuild b/dev-python/flask/flask-3.0.2.ebuild deleted file mode 100644 index e59b6ec1d32e..000000000000 --- a/dev-python/flask/flask-3.0.2.ebuild +++ /dev/null @@ -1,58 +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..12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions" -HOMEPAGE=" - https://palletsprojects.com/p/flask/ - https://github.com/pallets/flask/ - https://pypi.org/project/Flask/ -" -if [[ ${PV} == *9999* ]]; then - EGIT_REPO_URI="https://github.com/mitsuhiko/flask.git" - inherit git-r3 -else - inherit pypi - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" -fi - -LICENSE="BSD" -SLOT="0" -IUSE="examples" - -RDEPEND=" - >=dev-python/blinker-1.6.2[${PYTHON_USEDEP}] - >=dev-python/click-8.1.3[${PYTHON_USEDEP}] - >=dev-python/itsdangerous-2.1.2[${PYTHON_USEDEP}] - >=dev-python/jinja-3.1.2[${PYTHON_USEDEP}] - >=dev-python/werkzeug-3.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/asgiref-3.2[${PYTHON_USEDEP}] - !!dev-python/shiboken2[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs \ - dev-python/pallets-sphinx-themes \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs \ - dev-python/sphinxcontrib-log-cabinet -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/flask/flask-3.0.3.ebuild b/dev-python/flask/flask-3.0.3.ebuild index d356436274d9..d3089d23f34f 100644 --- a/dev-python/flask/flask-3.0.3.ebuild +++ b/dev-python/flask/flask-3.0.3.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 @@ -19,7 +19,7 @@ if [[ ${PV} == *9999* ]]; then inherit git-r3 else inherit pypi - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" fi LICENSE="BSD" diff --git a/dev-python/flit-core/flit-core-3.9.0.ebuild b/dev-python/flit-core/flit-core-3.9.0.ebuild index f2c8e13d8ff9..884223238eb7 100644 --- a/dev-python/flit-core/flit-core-3.9.0.ebuild +++ b/dev-python/flit-core/flit-core-3.9.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 2019-2023 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # please keep this ebuild at EAPI 8 -- sys-apps/portage dep EAPI=8 DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/flit/Manifest b/dev-python/flit/Manifest index 2c1bc351649b..60baf679be04 100644 --- a/dev-python/flit/Manifest +++ b/dev-python/flit/Manifest @@ -1 +1,2 @@ DIST flit-3.8.0.tar.gz 139496 BLAKE2B 85ee9fb13af35bf6716713bd7cf3f5893cd729826ad362aa5ec22077f9b4d16db4d785f183dee37c725b771188f31f2cf38c8e4aedc3af25a3efdc8ff1460bc6 SHA512 08170ee710857fcbfc1f72dbb94c535d70a2477c7598eacacc9a0e2f90f4fe11f4d910f1fcc11de210a6b50d89049e5835127090c6acabb00c69a821919e68cc +DIST flit-3.9.0.tar.gz 141104 BLAKE2B 4ca268c49a34817756dea5fe7d2bd2fa15fe8f4247bcdea50765d56c43fd9c89292f45ae2a68d6f210d994ed1bce159121aba02e769f22940c548baf3e212afe SHA512 3cbca4530fe463e27fb43130e0d00681e63434bdd552bd61b4a2f3b7967729d9d9a49c69b1a2380ed99bcca1e66a38e592f41cbe38a471d3e7297ab00cdabc29 diff --git a/dev-python/flit/flit-3.9.0.ebuild b/dev-python/flit/flit-3.9.0.ebuild new file mode 100644 index 000000000000..249a8b03166e --- /dev/null +++ b/dev-python/flit/flit-3.9.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) +inherit distutils-r1 pypi + +DESCRIPTION="Simplified packaging of Python modules" +HOMEPAGE="https://github.com/pypa/flit https://flit.readthedocs.io/" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~mips ~x86" + +RDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + >=dev-python/flit-core-${PV}[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests_download[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] +" +BDEPEND="${RDEPEND} + sys-apps/grep + test? ( + dev-python/pip[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # requires Internet + tests/test_config.py::test_invalid_classifier + # failing due to Gentoo pip patches + tests/test_install.py::InstallTests::test_install_data_dir + tests/test_install.py::InstallTests::test_install_module_pep621 + tests/test_install.py::InstallTests::test_symlink_data_dir + tests/test_install.py::InstallTests::test_symlink_module_pep621 +) + +distutils_enable_tests pytest +distutils_enable_sphinx doc \ + dev-python/sphinxcontrib-github-alt \ + dev-python/pygments-github-lexers \ + dev-python/sphinx-rtd-theme + +src_prepare() { + # make sure system install is used + rm -r flit_core || die + distutils-r1_src_prepare +} diff --git a/dev-python/flit_scm/flit_scm-1.7.0.ebuild b/dev-python/flit_scm/flit_scm-1.7.0.ebuild index cfba15e67f03..7f035aefd8be 100644 --- a/dev-python/flit_scm/flit_scm-1.7.0.ebuild +++ b/dev-python/flit_scm/flit_scm-1.7.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 @@ -29,6 +29,9 @@ RDEPEND=" >=dev-python/tomli-2[${PYTHON_USEDEP}] ' 3.8 3.9 3.10 ) " +BDEPEND=" + ${RDEPEND} +" src_prepare() { # unpin deps diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index 7c92134a94e7..ed728b0229c5 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -1,3 +1,2 @@ -DIST fonttools-4.49.0.gh.tar.gz 3818768 BLAKE2B add7c03762e6c09950f2abfb8b19e627f7ce367b73c48b02059ab308ee7f8475e94c575719a168166497261cb4762ec4959c7812ab5fc122477a7751a8fabdb9 SHA512 6caa108b92a9661f6761a4e1c65f05cabf0d4f6a6f2517d2a289afc5e60ad73c7e35ee283d1a206b1bcd2ec5861f70272e323b9041aa949c713dc531d2d056d2 DIST fonttools-4.50.0.gh.tar.gz 3823676 BLAKE2B ebcc19b3f2c8367147c7e05a514951d25497b1e6e224226e0831f566464b6d407e6a52a3b30620dbe87df1a0ce03d95cb5769cab15ee78822d218ccd81419263 SHA512 a169f18077f2c4f0ad8a46569a30b3e35ca2343e9f3d43cd362dafa26085f545dd9a42e7edb3054f9d37e1576117aa34a0c2b4adabc9fc29c076e69d3fdd66ee DIST fonttools-4.51.0.gh.tar.gz 3826324 BLAKE2B 84485874ce373ef759746104f8c0593d63e2955427a1606404e56ae006342fef39e3fe9468d85b974741ae26a8cceba23ea46e33fff0e2648c154074b01b5eac SHA512 3a9984b56a8ed1e918781c8503dd8901276ae7e20659777ff0a9bf799a42b4ec112a6cfd31deb81f73f7f19c03145a66962187fb243b2580db9d3ef7011d3d82 diff --git a/dev-python/fonttools/fonttools-4.49.0.ebuild b/dev-python/fonttools/fonttools-4.49.0.ebuild deleted file mode 100644 index b2122f7e18d7..000000000000 --- a/dev-python/fonttools/fonttools-4.49.0.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-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=( pypy3 python3_{10..12} ) -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 ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" -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/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 "<dev-python/pypy3_10-exe-7.3.13_p2" || - has_version "<dev-python/pypy3_10-exe-bin-7.3.13_p2" - } - then - EPYTEST_DESELECT+=( - # affected by a bug in PyPy/pyxattr - # https://github.com/iustin/pyxattr/issues/41 - Tests/t1Lib/t1Lib_test.py::ReadWriteTest::test_read_with_path - ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest \ - -p rerunfailures --reruns=5 \ - Tests fontTools || die -n "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/fonttools/fonttools-4.50.0.ebuild b/dev-python/fonttools/fonttools-4.50.0.ebuild index b558943aa371..b2122f7e18d7 100644 --- a/dev-python/fonttools/fonttools-4.50.0.ebuild +++ b/dev-python/fonttools/fonttools-4.50.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" IUSE="+native-extensions" RDEPEND=" diff --git a/dev-python/fonttools/fonttools-4.51.0.ebuild b/dev-python/fonttools/fonttools-4.51.0.ebuild index 12d8605257bc..b558943aa371 100644 --- a/dev-python/fonttools/fonttools-4.51.0.ebuild +++ b/dev-python/fonttools/fonttools-4.51.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" IUSE="+native-extensions" RDEPEND=" diff --git a/dev-python/fqdn/Manifest b/dev-python/fqdn/Manifest index 84e2296515b2..9b67bc7d2ce7 100644 --- a/dev-python/fqdn/Manifest +++ b/dev-python/fqdn/Manifest @@ -1 +1 @@ -DIST fqdn-1.5.1.tar.gz 18334 BLAKE2B 24dfd88a8176e67209350fe20e446cfee848c392795cde09725526a52af0a9adc6908a4eb6d5dd3ad6f8a11546acb6b82a7b2ad591997010dfdd0a1d235f57ae SHA512 d9d7d1bb8798c63973534bf45fb9bc0ab57b1600c6597212129debb97a908140401f5477f33b83ea273e3f9a2a852072110245a09596ab9a58a10be8043c57fc +DIST fqdn-1.5.1.gh.tar.gz 18334 BLAKE2B 24dfd88a8176e67209350fe20e446cfee848c392795cde09725526a52af0a9adc6908a4eb6d5dd3ad6f8a11546acb6b82a7b2ad591997010dfdd0a1d235f57ae SHA512 d9d7d1bb8798c63973534bf45fb9bc0ab57b1600c6597212129debb97a908140401f5477f33b83ea273e3f9a2a852072110245a09596ab9a58a10be8043c57fc diff --git a/dev-python/fqdn/fqdn-1.5.1-r2.ebuild b/dev-python/fqdn/fqdn-1.5.1-r2.ebuild index e0722ebec285..837ff99b034e 100644 --- a/dev-python/fqdn/fqdn-1.5.1-r2.ebuild +++ b/dev-python/fqdn/fqdn-1.5.1-r2.ebuild @@ -1,10 +1,10 @@ -# Copyright 2018-2023 Gentoo Authors +# Copyright 2018-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 @@ -14,8 +14,8 @@ HOMEPAGE=" https://pypi.org/project/fqdn/ " SRC_URI=" - https://github.com/ypcrts/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz + https://github.com/ypcrts/fqdn/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz " LICENSE="MPL-2.0" diff --git a/dev-python/freezegun/Manifest b/dev-python/freezegun/Manifest index 7cec7af3965a..c3803c16290a 100644 --- a/dev-python/freezegun/Manifest +++ b/dev-python/freezegun/Manifest @@ -1 +1,2 @@ -DIST freezegun-1.4.0.tar.gz 31748 BLAKE2B a7ea433ea8e5f0137fc5d88a5375e3fc0e2f307a04684ab5b844168ed214fd9dd1d1ed2a0e0c91ed20ee1fc32c8e3e75fb9dc73de64723efe881e843a38269a1 SHA512 bbdad19b7fc2da9a2851d6b4c14427ccda1f2e06617993cf7173ded65cced9b98d36e1da05a2718b70653a69986cd81d84317003271eda2075177ccf63495b7a +DIST freezegun-1.5.0.tar.gz 33167 BLAKE2B 3cf05a41c4d66ded61a67385faa07ad80348ad7620db6076f1371d1707b9f6229d85bf2f87ff3533a9529f9d6c30e5f5bcdaf0a499b1e73760070ee5706936b9 SHA512 65d3c95e4992d80c104d52e1164662308aea0884e4a0bb1343f028e514519548dd295dca7dd97d06aaa57a61c0c71fae0bd040f944936858e0f72b2a08860694 +DIST freezegun-1.5.1.tar.gz 33697 BLAKE2B bb08703a7e6f6f4a2145c4dc7b10245af3ced5d1a0a9355df74acd03bfe1687ee22e54ffbbd791204a497b50d4a2c578eb531379dd9e55d274ede72785bb39fa SHA512 384122e31c1db90d4c30cc60ad6d693209c933538e4d507a45c6ff116dcfe2f5f2602116c31aae4576da876ea327d502b01f651414d41b6cb11cc6e98d2aacbc diff --git a/dev-python/freezegun/freezegun-1.4.0.ebuild b/dev-python/freezegun/freezegun-1.5.0.ebuild index 57c62f3fafbf..a0a726d270f2 100644 --- a/dev-python/freezegun/freezegun-1.4.0.ebuild +++ b/dev-python/freezegun/freezegun-1.5.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -30,6 +30,18 @@ BDEPEND=" distutils_enable_tests pytest python_test() { + local EPYTEST_DESELECT=() + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # https://github.com/spulec/freezegun/issues/547 + tests/test_datetimes.py::TestUnitTestMethodDecorator::test_method_decorator_works_on_unittest_kwarg_frozen_time + tests/test_datetimes.py::TestUnitTestMethodDecorator::test_method_decorator_works_on_unittest_kwarg_frozen_time_with_func + tests/test_datetimes.py::TestUnitTestMethodDecorator::test_method_decorator_works_on_unittest_kwarg_hello + ) + ;; + esac + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest } diff --git a/dev-python/freezegun/freezegun-1.5.1.ebuild b/dev-python/freezegun/freezegun-1.5.1.ebuild new file mode 100644 index 000000000000..63b9ab74ac9a --- /dev/null +++ b/dev-python/freezegun/freezegun-1.5.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Let your Python tests travel through time" +HOMEPAGE=" + https://github.com/spulec/freezegun/ + https://pypi.org/project/freezegun/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + +RDEPEND=" + >dev-python/python-dateutil-2.7[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # https://github.com/spulec/freezegun/issues/547 + tests/test_datetimes.py::TestUnitTestMethodDecorator::test_method_decorator_works_on_unittest_kwarg_frozen_time + tests/test_datetimes.py::TestUnitTestMethodDecorator::test_method_decorator_works_on_unittest_kwarg_frozen_time_with_func + tests/test_datetimes.py::TestUnitTestMethodDecorator::test_method_decorator_works_on_unittest_kwarg_hello + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest index 7576b8b44ccd..944bb8092e01 100644 --- a/dev-python/fsspec/Manifest +++ b/dev-python/fsspec/Manifest @@ -1 +1,2 @@ DIST filesystem_spec-2024.3.1.gh.tar.gz 426712 BLAKE2B 9e9c60f581872559bd667e8e3fadcb5c4c56a727901ffc2328b67da6a4553ae2e4981f143838532faa59deb9b3f3926e1e2f0b2dd86daf49f93a1811d4e668a4 SHA512 6b93543b729eae898a71fb0249ed69973cb1d2dfcf0feac7d40fb69b40e1109739819acbec9f239023b8a5eaaba01377215458cb5c4c806741ed319433d8f570 +DIST fsspec-2024.5.0.tar.gz 400066 BLAKE2B 4f497fa8efe4897958414e2739c06fed54ecd67babb7cbdfeb0c1b595547213aed1fb15f97dbd2f7f61a84fef7f3a96f36bb1ab5a2f4ca94251e7dccd64afe22 SHA512 b8430350c56ecaeca9496b6de7910d7f4423e17beb4250dcb440d9af6ab34ed83e2e9304b474d4b5611a9ee0941c34eba5c62d5a1f7d0cc1384d976ae3266e7f diff --git a/dev-python/fsspec/fsspec-2024.5.0.ebuild b/dev-python/fsspec/fsspec-2024.5.0.ebuild new file mode 100644 index 000000000000..d5b9c6d035f3 --- /dev/null +++ b/dev-python/fsspec/fsspec-2024.5.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +MY_P=filesystem_spec-${PV} +DESCRIPTION="A specification that python filesystems should adhere to" +HOMEPAGE=" + https://github.com/fsspec/filesystem_spec/ + https://pypi.org/project/fsspec/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +# Note: this package is not xdist-friendly +distutils_enable_tests pytest + +src_test() { + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + distutils-r1_src_test +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p pytest_mock -o tmp_path_retention_policy=all +} diff --git a/dev-python/furo/Manifest b/dev-python/furo/Manifest index c07004ff0d6d..9572bf24d886 100644 --- a/dev-python/furo/Manifest +++ b/dev-python/furo/Manifest @@ -1 +1,2 @@ -DIST furo-2024.1.29-py3-none-any.whl 325212 BLAKE2B 7dec8d515bb2ac6741d875dac57048e066f6e9602e7c529bfcf5b01a8b47d6ff38d6212d5a5abf8dfbe42d7667481a3a14c20f39367d65d8968e429e6c5fbbea SHA512 375fff9ad283732c0e242da0233e6b3e5bc570c514fa1a5899232599ac1a73c3198071e74635ab115ba28ea9d97156e1c28ae40c5e203cc21cf639b183201893 +DIST furo-2024.4.27-py3-none-any.whl 330359 BLAKE2B 4c6997cb8335cbaf9926cfb8d650edb0baec735858bb141e3a63d24e2bc48bdbaff504539aa449e4f76ca1890e987bdbaaf3e0e55f441e3a5c6467ed6dc94a6c SHA512 2790121eccde99771fe219d7d32887e243eafe87cfe3736cb26d9ae83190bbbe25fe629195f080df8632d51e1644cb142f6433f768e245c9ca0a44b25297279b +DIST furo-2024.5.6-py3-none-any.whl 341199 BLAKE2B 6cecc3407bb91f096ba755d2d36f8e165dd8887f513495013533907017248c8a1f15d8019d5b4d5e7acd2793d95dc82cf95fc5ca1d9ad42bdcc57983d451db97 SHA512 932336ddff321b5dcdf98ee6aeda2cd33ce7981fb3f74fad5c2c732ff7d5be9c8666dd89808630a24b7d610965f8921ad477e9409ba5c2b9ad112d338dd06629 diff --git a/dev-python/furo/furo-2024.1.29.ebuild b/dev-python/furo/furo-2024.4.27.ebuild index 94029c933d5a..94029c933d5a 100644 --- a/dev-python/furo/furo-2024.1.29.ebuild +++ b/dev-python/furo/furo-2024.4.27.ebuild diff --git a/dev-python/furo/furo-2024.5.6.ebuild b/dev-python/furo/furo-2024.5.6.ebuild new file mode 100644 index 000000000000..d306ea1caab9 --- /dev/null +++ b/dev-python/furo/furo-2024.5.6.ebuild @@ -0,0 +1,42 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# sphinx-theme-builder is completely unusable, as it requires pinning +# to a very-specific nodejs version number, and ofc loves fetching +# everything from the Internet + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Clean customisable Sphinx documentation theme" +HOMEPAGE=" + https://pypi.org/project/furo/ + https://github.com/pradyunsg/furo/ +" +SRC_URI="$(pypi_wheel_url)" +S=${WORKDIR} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-basic-ng[${PYTHON_USEDEP}] +" + +src_unpack() { + if [[ ${PKGBUMPING} == ${PVR} ]]; then + unzip "${DISTDIR}/${A}" || die + fi +} + +python_compile() { + distutils_wheel_install "${BUILD_DIR}/install" \ + "${DISTDIR}/${P}-py3-none-any.whl" +} diff --git a/dev-python/gdb-pt-dump/gdb-pt-dump-0.0.0_p20231111.ebuild b/dev-python/gdb-pt-dump/gdb-pt-dump-0.0.0_p20231111.ebuild index 306e29d54100..fa7d3315aa9d 100644 --- a/dev-python/gdb-pt-dump/gdb-pt-dump-0.0.0_p20231111.ebuild +++ b/dev-python/gdb-pt-dump/gdb-pt-dump-0.0.0_p20231111.ebuild @@ -19,7 +19,7 @@ if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/martinradev/gdb-pt-dump.git" else SRC_URI="https://github.com/martinradev/gdb-pt-dump/archive/${GDB_PT_DUMP_COMMIT}.tar.gz -> ${P}.gh.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="amd64 x86" S="${WORKDIR}/${PN}-${GDB_PT_DUMP_COMMIT}" fi diff --git a/dev-python/genshi/genshi-0.7.7.ebuild b/dev-python/genshi/genshi-0.7.7.ebuild index 898aad7839e3..09f46de23198 100644 --- a/dev-python/genshi/genshi-0.7.7.ebuild +++ b/dev-python/genshi/genshi-0.7.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,9 +20,12 @@ KEYWORDS="amd64 ~arm arm64 ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux IUSE="doc examples test" RESTRICT="!test? ( test )" +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] +" BDEPEND=" test? ( - dev-python/six[${PYTHON_USEDEP}] + ${RDEPEND} ) " diff --git a/dev-python/genson/Manifest b/dev-python/genson/Manifest index 942a639b0da1..15fb1b41d7b9 100644 --- a/dev-python/genson/Manifest +++ b/dev-python/genson/Manifest @@ -1 +1,2 @@ DIST genson-1.2.2.tar.gz 34387 BLAKE2B 2e3c3b0fd96d93fe1e7244c11828dfb42d8e9bd97058a1b76d983e02094b2e62560e00b08e2ce1d21abf7e858f481a9e2a5678d51b27162fde1d60535031f54e SHA512 9caf1936518db5ffb412c6b1f1d28b33e9aef2e6f9b2fe50bcc2932a75522dcbc57bf7bc6b3df41244ee470060295a92fb6ba0be9f6fcf512950a81615f85f87 +DIST genson-1.3.0.tar.gz 34919 BLAKE2B 1aef0dd4ef0e6be9b9ac8adeaa58bf092dc8668842c5b8b48a3bdf0675cc1337ea6b265ade80f8f153368f81ae52573294f1c00add471b50fbb51b830fd17258 SHA512 1d5a5c98927e1fd36bedec8ba2479c5562a34af75239a93076d6012e82d9f33332533faef2d99e2481d30434abe710ccbfdea3640bd6d340cffe4c754e917794 diff --git a/dev-python/genson/genson-1.3.0.ebuild b/dev-python/genson/genson-1.3.0.ebuild new file mode 100644 index 000000000000..7a6560389c09 --- /dev/null +++ b/dev-python/genson/genson-1.3.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 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="GenSON is a powerful, user-friendly JSON Schema generator built in Python" +HOMEPAGE=" + https://github.com/wolverdude/GenSON/ + https://pypi.org/project/genson/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + # known broken in this release + [[ ${PV} != 1.3.0 ]] && die "Restore test_bin.py!" + rm test/test_bin.py || die +} diff --git a/dev-python/genty/genty-1.3.2-r3.ebuild b/dev-python/genty/genty-1.3.2-r3.ebuild new file mode 100644 index 000000000000..f8305dabfdf3 --- /dev/null +++ b/dev-python/genty/genty-1.3.2-r3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Allows you to run a test with multiple data sets" +HOMEPAGE=" + https://pypi.org/project/genty/ + https://github.com/box/genty/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + sed -i -e 's:from mock:from unittest.mock:' test/test_genty.py || die +} diff --git a/dev-python/gfloat/Manifest b/dev-python/gfloat/Manifest new file mode 100644 index 000000000000..f7d25682b725 --- /dev/null +++ b/dev-python/gfloat/Manifest @@ -0,0 +1,2 @@ +DIST gfloat-0.0.5.tar.gz 17493 BLAKE2B d2eb75b6ecdf58b0875481fb2428ee2bed998988ded0e0bf212dc5834c428a8a2af0796e6badf2ff2c400432db266a82312743bc338cb6444bbb3133526dcf7b SHA512 b08d4f8cb3c8e2e629d32c96ecf3efb81280363bba9ac90a489ffcd2418a9a4a0c9248ce3f524d9873a295b5e5e520c70ebd098e7cfdfe9a3dc92d8ee58920ca +DIST gfloat-0.1.tar.gz 38500 BLAKE2B 7549af8cb4204176c8f6d9c9bbd1e8047530ca347c1f882cb3ed5ae36a8c2a3e5c1293c8e4ac14527b3846ec0055ed4bb30cef7bb703c30c375d4b8c872c1bb6 SHA512 7c5d01b25172b3e5c4dbd34e99652316f50478b0c34076608e7d56a80f5db9174a1173dc9bcbea0da2121df54e5a22a7972196ee47cb22a69bd4b8afcc1e2782 diff --git a/dev-python/gfloat/gfloat-0.0.5.ebuild b/dev-python/gfloat/gfloat-0.0.5.ebuild new file mode 100644 index 000000000000..953b7adb85b8 --- /dev/null +++ b/dev-python/gfloat/gfloat-0.0.5.ebuild @@ -0,0 +1,30 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Generic floating-point types in Python" +HOMEPAGE=" + https://github.com/graphcore-research/gfloat/ + https://pypi.org/project/gfloat/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/ml-dtypes[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/gfloat/gfloat-0.1.ebuild b/dev-python/gfloat/gfloat-0.1.ebuild new file mode 100644 index 000000000000..953b7adb85b8 --- /dev/null +++ b/dev-python/gfloat/gfloat-0.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Generic floating-point types in Python" +HOMEPAGE=" + https://github.com/graphcore-research/gfloat/ + https://pypi.org/project/gfloat/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/ml-dtypes[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/gfloat/metadata.xml b/dev-python/gfloat/metadata.xml new file mode 100644 index 000000000000..3c2f1ee74595 --- /dev/null +++ b/dev-python/gfloat/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">graphcore-research/gfloat</remote-id> + <remote-id type="pypi">gfloat</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest index 937843d11955..a1587205461d 100644 --- a/dev-python/google-api-core/Manifest +++ b/dev-python/google-api-core/Manifest @@ -1 +1 @@ -DIST python-api-core-2.18.0.gh.tar.gz 210938 BLAKE2B 39ccceb2d5722cb4121ba2007cb171e703e97c57d31dd85a6f540f8b0316281255f563b43c1acd6159e6d59b8609603ca9202c9f46b5c86127a9ff0cf3874c19 SHA512 fe57eb8465c1dfe6d83abd73b0c621da49e7e0687afa59f5d4c1c7022cb8a912734859e5895781c239cfe6053ebdbea2dcf55ef6eac371b8ea58fdf0c7c398d5 +DIST python-api-core-2.19.0.gh.tar.gz 210832 BLAKE2B 89947f8e8bda6de96c1778788e72f88c85d7781c4bf3c7fa08b67cd0e9b40e5774a57a5772add9c724a1bddab9ad514ddc605035289466a5648393ca57854321 SHA512 e8fb94428c3d49dcf760a0b9a471fa7fe3d149ebb11f8c12c16a0f68aaf736c5a8553d628834b4456d2419c40cc30010449ae58026271c32bbd32f67857ba31b diff --git a/dev-python/google-api-core/google-api-core-2.18.0.ebuild b/dev-python/google-api-core/google-api-core-2.19.0.ebuild index 9b9d4cf25536..9b9d4cf25536 100644 --- a/dev-python/google-api-core/google-api-core-2.18.0.ebuild +++ b/dev-python/google-api-core/google-api-core-2.19.0.ebuild diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index f5f677496f3b..2e53e7de89e8 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,3 +1,3 @@ -DIST google-api-python-client-2.124.0.tar.gz 11956565 BLAKE2B efa7273bb4c298804b331ea29218710a7427e614f830fe308763ef226ec392f3f1ea16e4d0f4f5ff98c987eba7c9331f0ff0ed6d32a89e9538d1fa18fcc40399 SHA512 4eacdbe4733a235b5c31c337c8cde18fef88691d55a8b988291dd5ff8cea786f67b4052eb2fb6e7aeb31631311f956e255469c3a1438f137c1eb03b43812f9c9 -DIST google-api-python-client-2.125.0.tar.gz 12020305 BLAKE2B a5c5beef66a40adc8eb9b56476bbd2eb6a5b9b1b528ccbfa964d9a2c65bdff2f949c52de5384faae6c7233be6f3357040a8fe531e0d21f48f822276a8e8a7ec9 SHA512 b2f456edacf515f83755bfaeb35677c3d3f6bef90d4d9be986a9191c3e8a0d80664784cc125524dd77792a329ff58fc9b35b0bd387248450a8b4e67ccaaa2f85 -DIST google-api-python-client-2.126.0.tar.gz 12163106 BLAKE2B b66240ea914b1f673bd96e161e2fdffa4567641471594b166258331c04d5f43cc1a0c6f888cafd904b0b84d3afe5befbf437c347409da6197b4f801c6a15b7a1 SHA512 e21d98106a97de4037d9eead2b2153010d75a07bc00585a8a4d0a584b3da1bd753421ef33fa635a62c850235eede880f34ed222c2b0ede13ba93e7e1558d7cf5 +DIST google-api-python-client-2.127.0.tar.gz 12203690 BLAKE2B 9252bf772c1d52ffc7b658f5c53d6537073f30df4a201573db84e53ded1b4e9693fa293a28d4f00d0d345695ac90639109993afe70908bf22538a2fa5b4bb7f5 SHA512 06887845f769005a10339114bb9d274c685bfcbc37e99ba9ac055e34cf587a4d8c0a2723159b8b2f6f6a25612bc4cc8ec01b248db4fafe3f1e1e7056e4081bdc +DIST google-api-python-client-2.128.0.tar.gz 11193400 BLAKE2B c9762dc89a2dda1bdf96f6ae4b4f3540627510900cfccd6153e2399be7d835afdd1513854a9f25577e24e7555aa81b9bc0df06e8685c3f39871233655c9dc083 SHA512 9edd8c9c7b6736e98652e2abc4e482fae176e72cf5b04521b9ca2d0a86b885766a956b451d78dab038a5cfc7d7709eb2a505f03a07393decc3f3be8673400c88 +DIST google-api-python-client-2.129.0.tar.gz 11153292 BLAKE2B 0d2e909fb592d1b54721143b88f5a841bf53f9dde11fa555aa1384bc306f3648463578886069695568f4491b2d13cc4993adb7df47988fe3440f93c973764e68 SHA512 73b93847f3b2dc2ef722edc033fec6f292b16acbf81227276c34b651915854556ae58eb160baa462bf868aa988e194ed462ff235532f5ca1a35a234bb1eda8e5 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.124.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.127.0.ebuild index da1b22f5ad98..da1b22f5ad98 100644 --- a/dev-python/google-api-python-client/google-api-python-client-2.124.0.ebuild +++ b/dev-python/google-api-python-client/google-api-python-client-2.127.0.ebuild diff --git a/dev-python/google-api-python-client/google-api-python-client-2.125.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.128.0.ebuild index 3961663be4b6..3961663be4b6 100644 --- a/dev-python/google-api-python-client/google-api-python-client-2.125.0.ebuild +++ b/dev-python/google-api-python-client/google-api-python-client-2.128.0.ebuild diff --git a/dev-python/google-api-python-client/google-api-python-client-2.126.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.129.0.ebuild index 3961663be4b6..3961663be4b6 100644 --- a/dev-python/google-api-python-client/google-api-python-client-2.126.0.ebuild +++ b/dev-python/google-api-python-client/google-api-python-client-2.129.0.ebuild diff --git a/dev-python/gpep517/Manifest b/dev-python/gpep517/Manifest index 457730369753..05aa9bf9fda7 100644 --- a/dev-python/gpep517/Manifest +++ b/dev-python/gpep517/Manifest @@ -1 +1,2 @@ DIST gpep517-15.gh.tar.gz 17535 BLAKE2B 265c2392cc70f4a94f6b8329dbba0ec5eb821e687bba553009bdc5e230d856fe6f105c873a79ee7ca99fb75c072c3d3c3b4f716ca873d13a8e393b33a97c8540 SHA512 7c3b878220e907ef801301eadc0e3031dd3c31770cc50bb7119ab32f9244c8a33792b4896ddeffc5d4b7be9f1d881fba5179de155f11845f510e455be59fb92e +DIST gpep517-16.gh.tar.gz 23951 BLAKE2B 9be3bf7845f85b756444e5699509cf12455ea71204fb0e9a4899000cd2802cc063cd785f490d6e3d9ac48bf79a9e43a0edcfb483d898f718be6d783a98834cdd SHA512 fcd7cb0f98003a8ecb9976cffe3d4140b16e537dbfcfa8e8416569cd7e38e8e9ab359b35c1e22b830dc2711b3c07f8e3113c0f6b73d415ce63ad5f7d76f180c6 diff --git a/dev-python/gpep517/gpep517-15.ebuild b/dev-python/gpep517/gpep517-15.ebuild index 5ea577490b8a..59e88ad9c4ca 100644 --- a/dev-python/gpep517/gpep517-15.ebuild +++ b/dev-python/gpep517/gpep517-15.ebuild @@ -5,7 +5,7 @@ EAPI=7 DISTUTILS_USE_PEP517=no -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/gpep517/gpep517-16.ebuild b/dev-python/gpep517/gpep517-16.ebuild new file mode 100644 index 000000000000..30dbb097b1ca --- /dev/null +++ b/dev-python/gpep517/gpep517-16.ebuild @@ -0,0 +1,48 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=no +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="A backend script to aid installing Python packages in Gentoo" +HOMEPAGE=" + https://pypi.org/project/gpep517/ + https://github.com/projg2/gpep517/ +" +SRC_URI=" + https://github.com/projg2/gpep517/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + >=dev-python/installer-0.5.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.2.3[${PYTHON_USEDEP}] + ' 3.10) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o tmp_path_retention_policy=all +} + +python_install() { + python_domodule gpep517 + python_newscript - gpep517 <<-EOF + #!${EPREFIX}/usr/bin/python + import sys + from gpep517.__main__ import main + sys.exit(main()) + EOF +} diff --git a/dev-python/graph-tool/Manifest b/dev-python/graph-tool/Manifest index 6effef3aebdb..47a341ab504d 100644 --- a/dev-python/graph-tool/Manifest +++ b/dev-python/graph-tool/Manifest @@ -1 +1 @@ -DIST graph-tool-2.58.tar.bz2 15189499 BLAKE2B c3137df7e2c49bb453969f6355bda66090daaa993085ccffd0b055e6b6f55e5b7f13d851d860aaed08d961e47df360e88194cde6eced50a1d3e40701c9c823f2 SHA512 89d62c865ab7a2ade1fabf27fef3c74e7bc9fa85a25e3094941d9d7f1824dc2e426eae7a62660d57140c54bf6fefd07673ab9ec3a72ad05c63c84a7da9ba2ffa +DIST graph-tool-2.58.tar.xz 14949712 BLAKE2B f7edfc112e737aad09317b2a754eefa8fad0135d580766b24ef5eb08d9e748a65a7372d95b9b00ffd891a2fe033f7ca29348b700e145361c48c95fe31a9f1500 SHA512 bfb604073c71b1f4a605008e5bfa6414370bc5c14e1b501e1821c1d363370e2f1f7c6dcedabf67723286cac07def1442c24577308458a75c4fc70aee69bf22ee diff --git a/dev-python/graph-tool/graph-tool-2.58.ebuild b/dev-python/graph-tool/graph-tool-2.58.ebuild index 002fda98dac3..cc33f7016710 100644 --- a/dev-python/graph-tool/graph-tool-2.58.ebuild +++ b/dev-python/graph-tool/graph-tool-2.58.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ if [[ ${PV} == *9999 ]]; then EGIT_REPO_URI="https://git.skewed.de/count0/graph-tool.git" inherit autotools git-r3 else - SRC_URI="https://downloads.skewed.de/${PN}/${P}.tar.bz2" + SRC_URI="https://downloads.skewed.de/${PN}/${P}.tar.xz" KEYWORDS="~amd64" fi diff --git a/dev-python/graph-tool/graph-tool-9999.ebuild b/dev-python/graph-tool/graph-tool-9999.ebuild index b61774538a69..933f090ee1fa 100644 --- a/dev-python/graph-tool/graph-tool-9999.ebuild +++ b/dev-python/graph-tool/graph-tool-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ if [[ ${PV} == *9999 ]]; then EGIT_REPO_URI="https://git.skewed.de/count0/graph-tool.git" inherit autotools git-r3 else - SRC_URI="https://downloads.skewed.de/${PN}/${P}.tar.bz2" + SRC_URI="https://downloads.skewed.de/${PN}/${P}.tar.xz" KEYWORDS="~amd64" fi diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest index e975acad3f4b..3704a7f02f9e 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1,8 +1,3 @@ -DIST griffe-0.40.1.gh.tar.gz 216435 BLAKE2B 0b2e304db94dadd113e72fd49d593a56fb4a115d18bde46a76f27a28e44d7efc7620e0782eb9960a32278c63ca79c7a499a5214cc3856794dc9d89c4333f44ec SHA512 6e7d3d120cee4270f6455ac46a43e03da7f77e6b8c2776eea3a49d0809737cdebf24ca413d1fb05c025b820d5dd55717781d33749b29dc60edcfa5848c890d7b -DIST griffe-0.41.0.gh.tar.gz 216110 BLAKE2B ce7865bc38afc60b61ca530937599a25a45e5eb1ed905d989558da39246bf4fd75cf109f8158cd11a1d83c5d369a30d15fda1fa2d301b6ce0b54f198e21284a3 SHA512 48fbe053755027dca9c5cb00ed9eff07667114585381a4ff017de508bcd555a54ea457c652719d43e28878eef26a985517d4b14d4992a8681d60be9090507814 -DIST griffe-0.41.1.gh.tar.gz 216351 BLAKE2B e4c8bad6c6870aab7dee9d8d4326537d7943b3afdb96d8c3ffb90387f1e6dde7296f63a9cecf0b8f7f444ee1d05845af3a064483b6c96e6434ee6469acd9c7ca SHA512 853082357ee79cf29d8551a22c2b6bf40e74a332234afeeea629a27814e8bbc91f682d2a0a305c93baf27e5e4f2697b8ee19cbf43e63e03ac71879f872a71988 -DIST griffe-0.41.2.gh.tar.gz 216659 BLAKE2B b0974a105aaa9ffca5e0b977fd816f228ff78f550e7995fe0f902d9bdfb720c603238b2e084fc2cf1364c13a78311877c87e175eb37b5ac310345ed05b04ec96 SHA512 981c91a48a06d157b42b7415002360158a144845a1cdbd7c09c7e07ff43bbb795bbcda784f72dfb863183fe7093e34483f2c57f8370194f4834d51659401462e -DIST griffe-0.41.3.gh.tar.gz 216756 BLAKE2B 00c979a32409f765b1c7d70edb91c8df71042e3ef0692e4575f8c161d8789f5b0dc8f60500925905089a1e13078a012ad5a8b312e5a78e882238c722c936eff1 SHA512 fb6ee21f3a71021e7b425522d0c0d6d6c7ce27cb62bac61c83d85c09311518a7ef7404347fe597d3b7d5ca19c09a6b7b61135779969777880e307a820ce93bdb -DIST griffe-0.42.0.gh.tar.gz 223478 BLAKE2B f607c552d3576cf37b00c16412cc1925706beedb386e63da0909a7967c4c3aad5782d39cff38d5bbbc4c38baf6967cdf4668bf6017a66409dbb0704eb5ac31c8 SHA512 21e0598d992fb1a22cf75e7d9bd1cadb1622f43817b685cd19f33c1202a67fe12f99baeba7237c64483addd8caed931d8cae2407f1071b06ffb340e00403a5af -DIST griffe-0.42.1.gh.tar.gz 225572 BLAKE2B 90f4773f13534698899abb9447b432835c87dddeb21274b14f26486cbfb720e7bc294c6e342b3d2cfb63a7a3dba0f190fa62112035ed573c492cb547694e3426 SHA512 61b5f5a77a4d90233cf7fe848aaef1bbd94f803417724d44de4d47918c54347a952ecb3ad82fc794b2d3615bca96a611e9cab2d06f7f4dbe36297c2802d60dd0 -DIST griffe-0.42.2.gh.tar.gz 225772 BLAKE2B 43086f43a2e39ae71dfc76e34d99b7c66aa8092000367bb27a6da63a5568d4f89fd2d348266f657356555ca690b77429a0bf30c8eac48df17fa4bcba08dec1a1 SHA512 ca1a4847e4f96e2f8db0d617c378a1858c4f45b332a20aeea62ed9f6b1cfeca9c0f692472227e05f2576c52f777fd438ecacb888ea936a2e5dcf4b69088d8343 +DIST griffe-0.43.0.gh.tar.gz 226278 BLAKE2B c73edf303bb44ac714aca8b9516b332183d1b2d8465aabf3725ce3eabf44325660b05a183492535892cdd227065a41d4d8f808ddfb0204641b12495488bb3862 SHA512 34dbe13414d8f6df8a7fe486f542e195a235644c28b55717fe8abb7197780f51c05ff77a633f236cb09d5072a181fb5bac06e962db1d7d820fcd4316f5cdd471 +DIST griffe-0.44.0.gh.tar.gz 226269 BLAKE2B fd22ed9d11b9016307cd6cb519b7248b9afc2759eb20db2c2d1099f35ae804c9135ba241f1913d146154ff1ee917b9190ebda3fab3268b1b649a4cc925a15ade SHA512 6a60caec49ddc0496bacb5bb1c5a43cb6f56c1513d681b2c9a99a6acc2858ed465a0abacf564fe02c71bcf9ffccccf996c50bfebd005df7855e33852c1a1a955 +DIST griffe-0.45.0.gh.tar.gz 230227 BLAKE2B 9baaf356fe766ffa4537329955dd889e464e9d4521c8c3c35121a8b447de3d1ce6f9a5f91c6141af2bf4aeae02fad478155a705069957570036c53a40061e69f SHA512 36eb1bb70aa9b7888506c6ad13b8d4dadbccfce4d63924eddd3d4d90936c8b2588edbac9181fcd6e649a5945213402da63df8eb753c46db3db94e36ae5df4435 diff --git a/dev-python/griffe/griffe-0.41.2.ebuild b/dev-python/griffe/griffe-0.41.2.ebuild deleted file mode 100644 index 73f99c53e1af..000000000000 --- a/dev-python/griffe/griffe-0.41.2.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Signature generator for Python programs" -HOMEPAGE=" - https://mkdocstrings.github.io/griffe/ - https://github.com/mkdocstrings/griffe/ - https://pypi.org/project/griffe/ -" -# Tests need files absent from the PyPI tarballs -SRC_URI=" - https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/jsonschema-4.17[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export PDM_BUILD_SCM_VERSION=${PV} - -EPYTEST_DESELECT=( - # fragile to installed packages - # (failed on PySide2 for me) - tests/test_stdlib.py::test_fuzzing_on_stdlib -) diff --git a/dev-python/griffe/griffe-0.41.3.ebuild b/dev-python/griffe/griffe-0.41.3.ebuild deleted file mode 100644 index 73f99c53e1af..000000000000 --- a/dev-python/griffe/griffe-0.41.3.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Signature generator for Python programs" -HOMEPAGE=" - https://mkdocstrings.github.io/griffe/ - https://github.com/mkdocstrings/griffe/ - https://pypi.org/project/griffe/ -" -# Tests need files absent from the PyPI tarballs -SRC_URI=" - https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/jsonschema-4.17[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export PDM_BUILD_SCM_VERSION=${PV} - -EPYTEST_DESELECT=( - # fragile to installed packages - # (failed on PySide2 for me) - tests/test_stdlib.py::test_fuzzing_on_stdlib -) diff --git a/dev-python/griffe/griffe-0.42.0.ebuild b/dev-python/griffe/griffe-0.42.0.ebuild deleted file mode 100644 index 73f99c53e1af..000000000000 --- a/dev-python/griffe/griffe-0.42.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Signature generator for Python programs" -HOMEPAGE=" - https://mkdocstrings.github.io/griffe/ - https://github.com/mkdocstrings/griffe/ - https://pypi.org/project/griffe/ -" -# Tests need files absent from the PyPI tarballs -SRC_URI=" - https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/jsonschema-4.17[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export PDM_BUILD_SCM_VERSION=${PV} - -EPYTEST_DESELECT=( - # fragile to installed packages - # (failed on PySide2 for me) - tests/test_stdlib.py::test_fuzzing_on_stdlib -) diff --git a/dev-python/griffe/griffe-0.42.1.ebuild b/dev-python/griffe/griffe-0.42.1.ebuild deleted file mode 100644 index 73f99c53e1af..000000000000 --- a/dev-python/griffe/griffe-0.42.1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Signature generator for Python programs" -HOMEPAGE=" - https://mkdocstrings.github.io/griffe/ - https://github.com/mkdocstrings/griffe/ - https://pypi.org/project/griffe/ -" -# Tests need files absent from the PyPI tarballs -SRC_URI=" - https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/jsonschema-4.17[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export PDM_BUILD_SCM_VERSION=${PV} - -EPYTEST_DESELECT=( - # fragile to installed packages - # (failed on PySide2 for me) - tests/test_stdlib.py::test_fuzzing_on_stdlib -) diff --git a/dev-python/griffe/griffe-0.42.2.ebuild b/dev-python/griffe/griffe-0.42.2.ebuild deleted file mode 100644 index 73f99c53e1af..000000000000 --- a/dev-python/griffe/griffe-0.42.2.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Signature generator for Python programs" -HOMEPAGE=" - https://mkdocstrings.github.io/griffe/ - https://github.com/mkdocstrings/griffe/ - https://pypi.org/project/griffe/ -" -# Tests need files absent from the PyPI tarballs -SRC_URI=" - https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/jsonschema-4.17[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export PDM_BUILD_SCM_VERSION=${PV} - -EPYTEST_DESELECT=( - # fragile to installed packages - # (failed on PySide2 for me) - tests/test_stdlib.py::test_fuzzing_on_stdlib -) diff --git a/dev-python/griffe/griffe-0.40.1.ebuild b/dev-python/griffe/griffe-0.43.0.ebuild index 73f99c53e1af..73f99c53e1af 100644 --- a/dev-python/griffe/griffe-0.40.1.ebuild +++ b/dev-python/griffe/griffe-0.43.0.ebuild diff --git a/dev-python/griffe/griffe-0.41.0.ebuild b/dev-python/griffe/griffe-0.44.0.ebuild index 73f99c53e1af..73f99c53e1af 100644 --- a/dev-python/griffe/griffe-0.41.0.ebuild +++ b/dev-python/griffe/griffe-0.44.0.ebuild diff --git a/dev-python/griffe/griffe-0.41.1.ebuild b/dev-python/griffe/griffe-0.45.0.ebuild index 73f99c53e1af..73f99c53e1af 100644 --- a/dev-python/griffe/griffe-0.41.1.ebuild +++ b/dev-python/griffe/griffe-0.45.0.ebuild diff --git a/dev-python/gst-python/Manifest b/dev-python/gst-python/Manifest index 79e1a599f779..670eba39788d 100644 --- a/dev-python/gst-python/Manifest +++ b/dev-python/gst-python/Manifest @@ -1,3 +1 @@ -DIST gst-python-1.20.5.tar.xz 161508 BLAKE2B 6f34e913e9770d729722f2bcfd18ba4aa9355583e31a5284710ec5584a52fb4c1c4fcfb469528c6e187a8da6dbdc6b35e8a9c382791a95b3617d86d2cdc35fd5 SHA512 4ca6ad292aba24600427f059b278e4245167352a24832209201bd6e201430187ba2028795ea78fc4cbc7a6bf47f8749c8bf4ecdd790d15152d0cb0f2007afd25 -DIST gst-python-1.20.6.tar.xz 162948 BLAKE2B fb0bf4344e64b25a679b54d281f97ce2fa02195b561e2bb0ce88697efecababcbf8c0be0619202b1d0d235e4763307608f6da17ebcbdba3fd8d56df4b9c80614 SHA512 008a2cc9c10976474042bd89a9703a1f7eb66dea7d9eb68a817fa73d606f20dbb3da5fbd69d351c01f40350cac950119ebc364fb20695cc5a342254f6104c7a3 DIST gst-python-1.22.11.tar.xz 118072 BLAKE2B 7133bdc6462ed54669b18f0650ec9e9d5c90d406eadedccc2f125c01b05366c8cfd89ae17178a8197fd4c251d53fd848bdb498ff377076e402983a404f16c186 SHA512 749a3080ad56edfee66c6f24ab106b07cd2a7d6e5f704147a69e12fc0a1da9d9b8d8337c36ce62af459577df3f0804c60cbeb4a211454277ad0a46fd89edcfa5 diff --git a/dev-python/gst-python/gst-python-1.20.5.ebuild b/dev-python/gst-python/gst-python-1.20.5.ebuild deleted file mode 100644 index e1c9054fd9b1..000000000000 --- a/dev-python/gst-python/gst-python-1.20.5.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..11} ) - -inherit meson python-r1 xdg-utils - -DESCRIPTION="A Python Interface to GStreamer" -HOMEPAGE="https://gstreamer.freedesktop.org/" -SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz" - -LICENSE="LGPL-2+" -SLOT="1.0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - >=media-libs/gstreamer-${PV}:1.0[introspection] - >=media-libs/gst-plugins-base-${PV}:1.0[introspection] - >=dev-python/pygobject-3.8:3[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig -" - -src_prepare() { - default - - # Avoid building & testing plugin - it must NOT be multi-python as gst-inspect will map in all libpython.so versions and crash or behave mysteriously. - # Python plugin support is of limited use (GIL gets in the way). If it's ever requested or needed, it should be a - # separate python-single-r1 media-plugins/gst-plugins-python package that only builds the plugin directory. - sed -e '/subdir.*plugin/d' -i meson.build || die - sed -e '/test_plugin.py/d' -i testsuite/meson.build || die - - xdg_environment_reset -} - -src_configure() { - configuring() { - meson_src_configure \ - -Dpython="${EPYTHON}" - } - python_foreach_impl configuring -} - -src_compile() { - python_foreach_impl meson_src_compile -} - -src_test() { - python_foreach_impl meson_src_test -} - -src_install() { - installing() { - meson_src_install - python_optimize - } - python_foreach_impl installing -} diff --git a/dev-python/gst-python/gst-python-1.20.6.ebuild b/dev-python/gst-python/gst-python-1.20.6.ebuild deleted file mode 100644 index e1c9054fd9b1..000000000000 --- a/dev-python/gst-python/gst-python-1.20.6.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..11} ) - -inherit meson python-r1 xdg-utils - -DESCRIPTION="A Python Interface to GStreamer" -HOMEPAGE="https://gstreamer.freedesktop.org/" -SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz" - -LICENSE="LGPL-2+" -SLOT="1.0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - >=media-libs/gstreamer-${PV}:1.0[introspection] - >=media-libs/gst-plugins-base-${PV}:1.0[introspection] - >=dev-python/pygobject-3.8:3[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig -" - -src_prepare() { - default - - # Avoid building & testing plugin - it must NOT be multi-python as gst-inspect will map in all libpython.so versions and crash or behave mysteriously. - # Python plugin support is of limited use (GIL gets in the way). If it's ever requested or needed, it should be a - # separate python-single-r1 media-plugins/gst-plugins-python package that only builds the plugin directory. - sed -e '/subdir.*plugin/d' -i meson.build || die - sed -e '/test_plugin.py/d' -i testsuite/meson.build || die - - xdg_environment_reset -} - -src_configure() { - configuring() { - meson_src_configure \ - -Dpython="${EPYTHON}" - } - python_foreach_impl configuring -} - -src_compile() { - python_foreach_impl meson_src_compile -} - -src_test() { - python_foreach_impl meson_src_test -} - -src_install() { - installing() { - meson_src_install - python_optimize - } - python_foreach_impl installing -} diff --git a/dev-python/gst-python/gst-python-1.22.11.ebuild b/dev-python/gst-python/gst-python-1.22.11.ebuild index ec5a82c8ee8e..23bae95b92e8 100644 --- a/dev-python/gst-python/gst-python-1.22.11.ebuild +++ b/dev-python/gst-python/gst-python-1.22.11.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz" LICENSE="LGPL-2+" SLOT="1.0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="${PYTHON_DEPS} diff --git a/dev-python/h11/h11-0.14.0.ebuild b/dev-python/h11/h11-0.14.0.ebuild index dfa77d65629a..0a2937ba3039 100644 --- a/dev-python/h11/h11-0.14.0.ebuild +++ b/dev-python/h11/h11-0.14.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/h2/Manifest b/dev-python/h2/Manifest index 59642403e537..0dec06e1374a 100644 --- a/dev-python/h2/Manifest +++ b/dev-python/h2/Manifest @@ -1 +1 @@ -DIST h2-4.1.0.tar.gz 2143812 BLAKE2B b9d9a771340b4bde1675b9fd65c242732a1a262456f84a409662cf2b57326e24e0583160ba0531c0b105b79342578714127dddb560d2a27de58af34d1052c698 SHA512 4e9cf88b3ae702a8a42bded775ad337809787fe8172d501c230d55abbf1edd764acf3b227f2e58756d882499661ffcf6bbdd4812a4d938c04fac3f1aa2390b28 +DIST h2-4.1.0.tar.gz 2145593 BLAKE2B d4494ee58b97c3fb28f3480df3ecee9d8a0b6eec7165c692a6d33664eaf4e7a78a3e97f6644ba75a6bc1b67dfc3b6d0e431b90c6fe70ce4d4f3e22259419ace7 SHA512 89553cf1343de14b681706ac254b7e714574c777c6c81c934a00edc4f8fdde26f78fb90b4aebd9feec7893f4d1b68cf30dc9a404dd048cedbbfab3145720edc5 diff --git a/dev-python/h2/h2-4.1.0-r1.ebuild b/dev-python/h2/h2-4.1.0-r1.ebuild index 7dee9b75abc0..9f5652a071f7 100644 --- a/dev-python/h2/h2-4.1.0-r1.ebuild +++ b/dev-python/h2/h2-4.1.0-r1.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="HTTP/2 State-Machine based protocol implementation" HOMEPAGE=" @@ -14,7 +14,6 @@ HOMEPAGE=" https://github.com/python-hyper/h2/ https://pypi.org/project/h2/ " -SRC_URI="https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" @@ -37,17 +36,3 @@ PATCHES=( ) distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=() - if [[ ${EPYTHON} == python3.11 ]]; then - EPYTEST_DESELECT+=( - test/test_events.py::TestEventReprs::test_remotesettingschanged_repr - test/test_events.py::TestEventReprs::test_streamreset_repr - test/test_events.py::TestEventReprs::test_settingsacknowledged_repr - test/test_events.py::TestEventReprs::test_connectionterminated_repr - ) - fi - - epytest -} diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest index c732deb78cdf..39fe84b7e467 100644 --- a/dev-python/h5py/Manifest +++ b/dev-python/h5py/Manifest @@ -1,3 +1,2 @@ DIST h5py-3.10.0-cython3.patch.xz 3868 BLAKE2B 3c0d952bdca5307ebf0bf878c26b94d0593bb89ac538a51017fb94e1e488bffc1583dcf4e713005b87d1b5e20d7b73043b24d65404faf60fb69515e598ca2133 SHA512 a0a0e3d1a9bccad1c89aa7efe3ba1e080eb70cae1f42f8de1021c212817970eaaa7070131e8e39859eea3c18d6c1243a17e7f53f2179f34ff6c406b315bab8fa -DIST h5py-3.10.0.tar.gz 403716 BLAKE2B a8e4351a15aee5fe9d23f9c5f9b6ff44e688a391ba17e27338675bde60415c73e3cd97a4a0c05490df849f649d626450d3dbecc9ae6ea3d24d784a0a4aaa1850 SHA512 840d7f2b9b9d5e22e8edae21c84884abec64acdd6c36437a4921ce9dc1b343c55f66f72b699146d71fe55688f6f948787b62335a24906288e9565b2b19b24b01 DIST h5py-3.11.0.tar.gz 406519 BLAKE2B a5568c96290eee1f6da965174b6fa398f94e2e1825ec4ec50efd856b37ccf2bf634cfeb32101c7c53712fe9c68b0617774e9339a3f0d9373d3df24e6763a20cf SHA512 05d99093d5e7c280779b4167bd3594488dfc348b800da95c2275ddc8d77b4208fd1353942bf8863c4859d0208e8aa8bf84e628b3c5942eb947ecdcf0a7d19e88 diff --git a/dev-python/h5py/h5py-3.10.0-r1.ebuild b/dev-python/h5py/h5py-3.10.0-r1.ebuild deleted file mode 100644 index 0f1d899e8504..000000000000 --- a/dev-python/h5py/h5py-3.10.0-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-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} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Simple Python interface to HDF5 files" -HOMEPAGE=" - https://www.h5py.org/ - https://github.com/h5py/h5py/ - https://pypi.org/project/h5py/ -" -SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.10.0-cython3.patch.xz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" -IUSE="examples" - -DEPEND=" - >=sci-libs/hdf5-1.10.4:=[hl(+)] -" -RDEPEND=" - ${DEPEND} - >=dev-python/numpy-1.17.3[${PYTHON_USEDEP}] -" - -BDEPEND=" - >=dev-python/cython-0.29.31[${PYTHON_USEDEP}] - >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}] - dev-python/pkgconfig[${PYTHON_USEDEP}] - test? ( - dev-python/QtPy[testlib,${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${WORKDIR}"/${PN}-3.10.0-cython3.patch -) - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/alabaster - -python_prepare_all() { - # avoid pytest-mpi dep, we do not use mpi anyway - sed -i -e 's:pytest-mpi::' pytest.ini || die - distutils-r1_python_prepare_all - - export H5PY_SETUP_REQUIRES=0 -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - epytest -m "not mpi" -} - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/h5py/h5py-3.11.0.ebuild b/dev-python/h5py/h5py-3.11.0.ebuild index 31a64dcc7d6d..961ca41db084 100644 --- a/dev-python/h5py/h5py-3.11.0.ebuild +++ b/dev-python/h5py/h5py-3.11.0.ebuild @@ -19,15 +19,15 @@ SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.10.0- LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" IUSE="examples" DEPEND=" + >=dev-python/numpy-1.17.3:=[${PYTHON_USEDEP}] >=sci-libs/hdf5-1.10.4:=[hl(+)] " RDEPEND=" ${DEPEND} - >=dev-python/numpy-1.17.3[${PYTHON_USEDEP}] " BDEPEND=" diff --git a/dev-python/hatch-fancy-pypi-readme/hatch-fancy-pypi-readme-24.1.0.ebuild b/dev-python/hatch-fancy-pypi-readme/hatch-fancy-pypi-readme-24.1.0.ebuild index a2ca280ae91b..17cf5b1dad8a 100644 --- a/dev-python/hatch-fancy-pypi-readme/hatch-fancy-pypi-readme-24.1.0.ebuild +++ b/dev-python/hatch-fancy-pypi-readme/hatch-fancy-pypi-readme-24.1.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/hatch-nodejs-version/hatch-nodejs-version-0.3.2.ebuild b/dev-python/hatch-nodejs-version/hatch-nodejs-version-0.3.2.ebuild index 37d84a552281..02fabfba1cf2 100644 --- a/dev-python/hatch-nodejs-version/hatch-nodejs-version-0.3.2.ebuild +++ b/dev-python/hatch-nodejs-version/hatch-nodejs-version-0.3.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/hatchling-0.21.0[${PYTHON_USEDEP}] diff --git a/dev-python/hatch-vcs/hatch-vcs-0.4.0.ebuild b/dev-python/hatch-vcs/hatch-vcs-0.4.0.ebuild index 08720366cf75..60287b2f1dfa 100644 --- a/dev-python/hatch-vcs/hatch-vcs-0.4.0.ebuild +++ b/dev-python/hatch-vcs/hatch-vcs-0.4.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/hatchling/Manifest b/dev-python/hatchling/Manifest index 6a3418c585bf..14b2a55a964a 100644 --- a/dev-python/hatchling/Manifest +++ b/dev-python/hatchling/Manifest @@ -1,4 +1 @@ -DIST hatch-hatchling-v1.21.1.gh.tar.gz 774577 BLAKE2B 31e2b50598b4fe120ecea407a37e3262876a2ec1e8cf02f272c25838e73afc37f2fef1f8fab08b2e3b83bfd828f6c558ce303b084081b83504343a8bb057c341 SHA512 91b5684737fac19758d7095b357f99031d46e9f981e093cab848ce770fd1f9440b69212f3ef2217e3700e7dd7985a97c2735bbd27b306c7b8aa7bffc5c950fb4 -DIST hatch-hatchling-v1.22.5.gh.tar.gz 782757 BLAKE2B 3431ef7c4e5f0754e51507e29d88ed0277b530d220eb75bdeab459d88172ba51de3cf2456074fa88483cc89e72726f3e147b97e995f9ccaf699b6c2699776a8c SHA512 d4e77872e34e3aba3fce286f911861b795005c37550a2ca72a83216cea67d53be891afc8861b11582c66d38748f9c8d4980548d216c0fb21b2b4e1cadc314e58 -DIST hatch-hatchling-v1.23.0.gh.tar.gz 802345 BLAKE2B 571ae18bda737acf05bd830c4d835b2c785a595844cefbed030383e9ede166b0cd8bba2d7a6e0a4c7b504be825fbca4fa89861e9ae265e9a24bc756025da8d07 SHA512 ed504577d856e42b46ab861972cfb1c47589ae85887c2fc0aa78ded7a2f1cc8eaef796b9331d4ff853a86b6d808080b15d11943775c600c5d10b191ae65cb400 -DIST hatch-hatchling-v1.24.0.gh.tar.gz 802778 BLAKE2B d2dc29c551767cf090588533c47d936aeb38cda14154edc1a78496d0dbad3aecab3869e1f8e877c71a798f4a7ad2c853550ab2d7b9748e4d7f6c37e58811bfe8 SHA512 466748bff35acf7556cad6ee42ad2767c1a52734e1de9ac7b60867714e1707f508c27bcc5573100d68ace950aa9e42122235e439d5ea0ff0b713fa713ef503c6 +DIST hatch-hatchling-v1.24.2.gh.tar.gz 1054297 BLAKE2B b2da7dc3f3d58998b57d6ee625a2b7e890afc078c0d8f6cb9c332480df561090bb8bc255e3e60d5d25fa55001869429f822014891fe1cec0098b61fbe02efe52 SHA512 e83f57089707a267685c9cac7f29cd5862adec62f6346097aa62bd5b3b9f7222621b2ea71004dd52f62798dab71bcf05c33a2c43dbe39d1bbc5f4a4f99f28c40 diff --git a/dev-python/hatchling/hatchling-1.21.1-r1.ebuild b/dev-python/hatchling/hatchling-1.21.1-r1.ebuild deleted file mode 100644 index 6919c16fa12c..000000000000 --- a/dev-python/hatchling/hatchling-1.21.1-r1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=standalone -PYTHON_TESTED=( pypy3 python3_{10..12} ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) - -inherit distutils-r1 - -TAG=${P/-/-v} -MY_P=hatch-${TAG} -DESCRIPTION="Modern, extensible Python build backend" -HOMEPAGE=" - https://pypi.org/project/hatchling/ - https://github.com/pypa/hatch/ -" -SRC_URI=" - https://github.com/pypa/hatch/archive/${TAG}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P}/backend - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -# deps are listed in backend/src/hatchling/ouroboros.py -RDEPEND=" - >=dev-python/editables-0.3[${PYTHON_USEDEP}] - >=dev-python/packaging-21.3[${PYTHON_USEDEP}] - >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] - >=dev-python/pluggy-1.0.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] - ' 3.10) -" -# always depend on the newest version available, at least until upstream -# stops treating unknown classifiers as a fatal error -# https://github.com/pypa/hatch/issues/1368 -RDEPEND+=" - >=dev-python/trove-classifiers-2024.3.25[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/atomicwrites[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/platformdirs[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/rich[${PYTHON_USEDEP}] - dev-python/tomli-w[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" - -distutils_enable_tests pytest - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping tests on ${EPYTHON}" - return - fi - - local -x EPYTEST_DESELECT=( - # these run pip to install stuff - tests/backend/dep/test_core.py::test_dependency_found - tests/backend/dep/test_core.py::test_extra_met - tests/backend/dep/test_core.py::test_extra_no_dependencies - tests/backend/dep/test_core.py::test_extra_unmet - tests/backend/dep/test_core.py::test_unknown_extra - tests/backend/dep/test_core.py::test_version_unmet - # broken if CARGO is set - tests/backend/builders/test_app.py::TestBuildBootstrap::test_no_cargo - ) - - # top-level "tests" directory contains tests both for hatch - # and hatchling - cd "${WORKDIR}/${MY_P}" || die - local -x PYTHONPATH="src:${PYTHONPATH}" - # sigh; standalone test suites are overrated, right? - echo "__version__ = '${PV}'" > src/hatch/_version.py || die - # tests mock cargo subprocess call but the backend raises if CARGO - # is not set and shutil.which() can't find it - local -x CARGO=cargo - epytest tests/backend -} diff --git a/dev-python/hatchling/hatchling-1.22.5-r1.ebuild b/dev-python/hatchling/hatchling-1.22.5-r1.ebuild deleted file mode 100644 index 92ad9f5f8392..000000000000 --- a/dev-python/hatchling/hatchling-1.22.5-r1.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=standalone -PYTHON_TESTED=( pypy3 python3_{10..12} ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) - -inherit distutils-r1 - -TAG=${P/-/-v} -MY_P=hatch-${TAG} -DESCRIPTION="Modern, extensible Python build backend" -HOMEPAGE=" - https://pypi.org/project/hatchling/ - https://github.com/pypa/hatch/ -" -SRC_URI=" - https://github.com/pypa/hatch/archive/${TAG}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P}/backend - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -# deps are listed in backend/src/hatchling/ouroboros.py -# editables are optional but required for editable installs -RDEPEND=" - >=dev-python/editables-0.3[${PYTHON_USEDEP}] - >=dev-python/packaging-21.3[${PYTHON_USEDEP}] - >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] - >=dev-python/pluggy-1.0.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] - ' 3.10) -" -# always depend on the newest version available, at least until upstream -# stops treating unknown classifiers as a fatal error -# https://github.com/pypa/hatch/issues/1368 -RDEPEND+=" - >=dev-python/trove-classifiers-2024.3.25[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/atomicwrites[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/platformdirs[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/rich[${PYTHON_USEDEP}] - dev-python/tomli-w[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" - -distutils_enable_tests pytest - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping tests on ${EPYTHON}" - return - fi - - local -x EPYTEST_DESELECT=( - # these run pip to install stuff - tests/backend/dep/test_core.py::test_dependency_found - tests/backend/dep/test_core.py::test_extra_met - tests/backend/dep/test_core.py::test_extra_no_dependencies - tests/backend/dep/test_core.py::test_extra_unmet - tests/backend/dep/test_core.py::test_unknown_extra - tests/backend/dep/test_core.py::test_version_unmet - # broken if CARGO is set - tests/backend/builders/test_binary.py::TestBuildBootstrap::test_no_cargo - ) - - # top-level "tests" directory contains tests both for hatch - # and hatchling - cd "${WORKDIR}/${MY_P}" || die - local -x PYTHONPATH="src:${PYTHONPATH}" - # sigh; standalone test suites are overrated, right? - echo "__version__ = '${PV}'" > src/hatch/_version.py || die - # tests mock cargo subprocess call but the backend raises if CARGO - # is not set and shutil.which() can't find it - local -x CARGO=cargo - epytest tests/backend -} diff --git a/dev-python/hatchling/hatchling-1.24.0.ebuild b/dev-python/hatchling/hatchling-1.24.0.ebuild deleted file mode 100644 index 0f7cc99b5b95..000000000000 --- a/dev-python/hatchling/hatchling-1.24.0.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=standalone -PYTHON_TESTED=( pypy3 python3_{10..12} ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) - -inherit distutils-r1 - -TAG=${P/-/-v} -MY_P=hatch-${TAG} -DESCRIPTION="Modern, extensible Python build backend" -HOMEPAGE=" - https://pypi.org/project/hatchling/ - https://github.com/pypa/hatch/ -" -SRC_URI=" - https://github.com/pypa/hatch/archive/${TAG}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P}/backend - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -# deps are listed in backend/src/hatchling/ouroboros.py -# editables are optional but required for editable installs -RDEPEND=" - >=dev-python/editables-0.3[${PYTHON_USEDEP}] - >=dev-python/packaging-23.2[${PYTHON_USEDEP}] - >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] - >=dev-python/pluggy-1.0.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] - ' 3.10) -" -# always depend on the newest version available, at least until upstream -# stops treating unknown classifiers as a fatal error -# https://github.com/pypa/hatch/issues/1368 -RDEPEND+=" - >=dev-python/trove-classifiers-2024.3.25[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/atomicwrites[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/platformdirs[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/rich[${PYTHON_USEDEP}] - dev-python/tomli-w[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" - -distutils_enable_tests pytest - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping tests on ${EPYTHON}" - return - fi - - local -x EPYTEST_DESELECT=( - # these run pip to install stuff - tests/backend/dep/test_core.py::test_dependency_found - tests/backend/dep/test_core.py::test_extra_met - tests/backend/dep/test_core.py::test_extra_no_dependencies - tests/backend/dep/test_core.py::test_extra_unmet - tests/backend/dep/test_core.py::test_unknown_extra - tests/backend/dep/test_core.py::test_version_unmet - # broken if CARGO is set - tests/backend/builders/test_binary.py::TestBuildBootstrap::test_no_cargo - ) - - # top-level "tests" directory contains tests both for hatch - # and hatchling - cd "${WORKDIR}/${MY_P}" || die - local -x PYTHONPATH="src:${PYTHONPATH}" - # sigh; standalone test suites are overrated, right? - echo "__version__ = '${PV}'" > src/hatch/_version.py || die - # tests mock cargo subprocess call but the backend raises if CARGO - # is not set and shutil.which() can't find it - local -x CARGO=cargo - epytest tests/backend -} diff --git a/dev-python/hatchling/hatchling-1.23.0.ebuild b/dev-python/hatchling/hatchling-1.24.2.ebuild index 0f7cc99b5b95..4d265ef65886 100644 --- a/dev-python/hatchling/hatchling-1.23.0.ebuild +++ b/dev-python/hatchling/hatchling-1.24.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=standalone -PYTHON_TESTED=( pypy3 python3_{10..12} ) +PYTHON_TESTED=( pypy3 python3_{10..13} ) PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) inherit distutils-r1 @@ -24,7 +24,7 @@ S=${WORKDIR}/${MY_P}/backend LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" # deps are listed in backend/src/hatchling/ouroboros.py # editables are optional but required for editable installs @@ -61,6 +61,31 @@ BDEPEND=" distutils_enable_tests pytest +src_test() { + # top-level "tests" directory contains tests both for hatch + # and hatchling + cd "${WORKDIR}/${MY_P}" || die + + # sigh; standalone test suites are overrated, right? + echo "__version__ = '${PV}'" > src/hatch/_version.py || die + local -x PYTHONPATH="src:${PYTHONPATH}" + + # do not require uv for portability, sigh + mkdir "${T}/bin" || die + cat > "${T}/bin/uv" <<-EOF || die + #!/bin/sh + exit 127 + EOF + chmod +x "${T}/bin/uv" || die + local -x PATH=${T}/bin:${PATH} + + # tests mock cargo subprocess call but the backend raises if CARGO + # is not set and shutil.which() can't find it + local -x CARGO=cargo + + distutils-r1_src_test +} + python_test() { if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then einfo "Skipping tests on ${EPYTHON}" @@ -68,25 +93,13 @@ python_test() { fi local -x EPYTEST_DESELECT=( - # these run pip to install stuff - tests/backend/dep/test_core.py::test_dependency_found - tests/backend/dep/test_core.py::test_extra_met - tests/backend/dep/test_core.py::test_extra_no_dependencies - tests/backend/dep/test_core.py::test_extra_unmet - tests/backend/dep/test_core.py::test_unknown_extra - tests/backend/dep/test_core.py::test_version_unmet + # most of these run uv to install stuff + # the few remaining tests aren't worth running + tests/backend/dep/test_core.py # broken if CARGO is set tests/backend/builders/test_binary.py::TestBuildBootstrap::test_no_cargo ) - # top-level "tests" directory contains tests both for hatch - # and hatchling - cd "${WORKDIR}/${MY_P}" || die - local -x PYTHONPATH="src:${PYTHONPATH}" - # sigh; standalone test suites are overrated, right? - echo "__version__ = '${PV}'" > src/hatch/_version.py || die - # tests mock cargo subprocess call but the backend raises if CARGO - # is not set and shutil.which() can't find it - local -x CARGO=cargo - epytest tests/backend + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock tests/backend } diff --git a/dev-python/hcloud/Manifest b/dev-python/hcloud/Manifest index 77ff91cd8b81..3a1b5910da43 100644 --- a/dev-python/hcloud/Manifest +++ b/dev-python/hcloud/Manifest @@ -1,2 +1 @@ -DIST hcloud-python-1.34.0.gh.tar.gz 114383 BLAKE2B bc1976205c8d9c6ee92bfaf818052eced54bb871fbb83f794d3a56367964dd060530912879332e13abc7dbf5fa868d0b0350bd1ce05f185d7c0fa6fed75cbcf4 SHA512 813eba0619dbb27671001d9692cfc5034c7345e148ca560ad8379901f88f30bd657ce06e8cf5e5de3ecc4f614335f6dae570d154a6293ea4a3ffa1355adb3f40 DIST hcloud-python-1.35.0.gh.tar.gz 114672 BLAKE2B 1742d571fccc369245d9bf9c8f85da1c37061a13368dfe928b666e4f514ed5bf9f87f61bc4e5859ec7a759f5dfa6364c60ff851572071b46b2df21c0fe6f02a6 SHA512 48cee279b4f0025c61662304e67b8cee6a718c071f801daac440054439dedb21ab656c244f486860b056edd8bdc9330d3134ec936085297f24442a93cbbcc9e4 diff --git a/dev-python/hcloud/hcloud-1.34.0.ebuild b/dev-python/hcloud/hcloud-1.34.0.ebuild deleted file mode 100644 index 179cbe6f39fc..000000000000 --- a/dev-python/hcloud/hcloud-1.34.0.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -MY_P=hcloud-python-${PV} -DESCRIPTION="Official Hetzner Cloud python library" -HOMEPAGE=" - https://github.com/hetznercloud/hcloud-python/ - https://pypi.org/project/hcloud/ -" -# sdist is missing doc assets as of 1.19.0 -# https://github.com/hetznercloud/hcloud-python/pull/183 -SRC_URI=" - https://github.com/hetznercloud/hcloud-python/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64" -IUSE="examples" - -RDEPEND=" - >=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}] - >=dev-python/requests-2.20[${PYTHON_USEDEP}] -" - -distutils_enable_sphinx docs \ - dev-python/myst-parser \ - dev-python/sphinx-rtd-theme -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # Integration tests need docker: - # https://github.com/hetznercloud/hcloud-python/blob/master/.travis.yml#L16 - tests/integration -) - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/hcloud/hcloud-1.35.0.ebuild b/dev-python/hcloud/hcloud-1.35.0.ebuild index 4d1d123f8d66..179cbe6f39fc 100644 --- a/dev-python/hcloud/hcloud-1.35.0.ebuild +++ b/dev-python/hcloud/hcloud-1.35.0.ebuild @@ -24,7 +24,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="examples" RDEPEND=" diff --git a/dev-python/hishel/Manifest b/dev-python/hishel/Manifest index 273ee5c48ac2..e3dc6a0cc938 100644 --- a/dev-python/hishel/Manifest +++ b/dev-python/hishel/Manifest @@ -1 +1,2 @@ DIST hishel-0.0.25.gh.tar.gz 825114 BLAKE2B dd7d7bec47700a1ab07976ba31b951adacf7e917dd7ba09419cc6e3b81f1b6609a1f7f14a6c176b0c151ed255cf099f3da60122717b2be9161bd41b7ba080f36 SHA512 16aec1ea495075b4932e1e9d16b07af060b49bb74faed097343bde99c5d2b656b36762b2f2d67fd46c31b700206eec77ecdfb364a1c2cd19bb67c3055abc9e98 +DIST hishel-0.0.26.gh.tar.gz 828246 BLAKE2B e8273020c3b69edc0a080940d8462d33c4eb6b6bbb6f0325975ef29e15d0f16c57a31406f24ae56ad651722ccf6ff704afcedb917417355f67b7536d80dc0c3f SHA512 1d5d55e2ad2743ac15b258c1246a21975c4e8bf5786e331d55acc6e5cb82c0393b23b7c00a5ea9f6f8070e5e3cf6d5f6d9755315403748259d99e6ce20ccd27f diff --git a/dev-python/hishel/hishel-0.0.26.ebuild b/dev-python/hishel/hishel-0.0.26.ebuild new file mode 100644 index 000000000000..07503f286cee --- /dev/null +++ b/dev-python/hishel/hishel-0.0.26.ebuild @@ -0,0 +1,74 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..12} ) +inherit distutils-r1 + +DESCRIPTION="An elegant HTTP Cache implementation for HTTPX and HTTP Core" +HOMEPAGE=" + https://github.com/karpetrosyan/hishel + https://pypi.org/project/hishel/ +" +SRC_URI="https://github.com/karpetrosyan/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] +" + +BDEPEND=" + ${RDEPEND} + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + test? ( + dev-db/redis + dev-python/anyio[${PYTHON_USEDEP}] + dev-python/boto3[${PYTHON_USEDEP}] + dev-python/moto[${PYTHON_USEDEP}] + dev-python/redis[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + sed -e 's:mock_s3:mock_aws:g' \ + -e '/import anysqlite/ d' \ + -i tests/_async/test_storages.py \ + tests/_sync/test_storages.py || die + + distutils-r1_python_prepare_all +} + +src_test() { + local EPYTEST_DESELECT=( + # tests that need anysqlite + tests/_async/test_storages.py::test_sqlitestorage + tests/_async/test_storages.py::test_sqlite_expired + tests/_async/test_storages.py::test_sqlite_ttl_after_hits + ) + + local redis_pid="${T}"/redis.pid + local redis_port=6379 + + einfo "Starting Redis" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 ::1 + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/hpack/Manifest b/dev-python/hpack/Manifest index 854dd72c0ae9..6b5558390e71 100644 --- a/dev-python/hpack/Manifest +++ b/dev-python/hpack/Manifest @@ -1 +1 @@ -DIST hpack-4.0.0.tar.gz 5301419 BLAKE2B 0164f6aafc0d1f17f6c397efe710503a22501faae3c7dbba4e57ca2dc76e4d373bc5e65bf55acda8bc61975d12f8a2084de0e0c4587539e5a3102e3cf66d562b SHA512 f482d086d7a82649393e3cfea55c98966ce57055cb1826bc4dec1ea334661c02708e7903f2e8e588ee1c30df41373e1de9fb960c2e7bbc18d0ace0b8f97b195b +DIST hpack-4.0.0.gh.tar.gz 5301419 BLAKE2B 0164f6aafc0d1f17f6c397efe710503a22501faae3c7dbba4e57ca2dc76e4d373bc5e65bf55acda8bc61975d12f8a2084de0e0c4587539e5a3102e3cf66d562b SHA512 f482d086d7a82649393e3cfea55c98966ce57055cb1826bc4dec1ea334661c02708e7903f2e8e588ee1c30df41373e1de9fb960c2e7bbc18d0ace0b8f97b195b diff --git a/dev-python/hpack/hpack-4.0.0-r1.ebuild b/dev-python/hpack/hpack-4.0.0-r1.ebuild index 213a5bca45cc..6f140d78135a 100644 --- a/dev-python/hpack/hpack-4.0.0-r1.ebuild +++ b/dev-python/hpack/hpack-4.0.0-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 @@ -14,7 +14,11 @@ HOMEPAGE=" https://github.com/python-hyper/hpack/ https://pypi.org/project/hpack/ " -SRC_URI="https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +# PyPI sdist is missing test fixtures, as of 4.0.0 +SRC_URI=" + https://github.com/python-hyper/hpack/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" LICENSE="MIT" SLOT="0" diff --git a/dev-python/hpack/metadata.xml b/dev-python/hpack/metadata.xml index bf52e22daad9..3c801126a927 100644 --- a/dev-python/hpack/metadata.xml +++ b/dev-python/hpack/metadata.xml @@ -11,6 +11,7 @@ <name>Cory Benfield</name> </maintainer> <remote-id type="pypi">hpack</remote-id> + <remote-id type="github">python-hyper/hpack</remote-id> </upstream> <longdescription>This module contains a pure-Python HTTP/2 header encoding (HPACK) logic for use in Python programs that implement HTTP/2. It diff --git a/dev-python/html5lib/html5lib-1.1-r2.ebuild b/dev-python/html5lib/html5lib-1.1-r2.ebuild new file mode 100644 index 000000000000..494fe520e35f --- /dev/null +++ b/dev-python/html5lib/html5lib-1.1-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="HTML parser based on the HTML5 specification" +HOMEPAGE=" + https://github.com/html5lib/html5lib-python/ + https://html5lib.readthedocs.io/ + https://pypi.org/project/html5lib/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +PATCHES=( + "${FILESDIR}"/${P}-pytest6.patch +) + +RDEPEND=" + >=dev-python/six-1.9[${PYTHON_USEDEP}] + dev-python/webencodings[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-expect[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + sed -e 's:from mock:from unittest.mock:' \ + -i html5lib/tests/test_meta.py || die +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_expect +} diff --git a/dev-python/httpbin/httpbin-0.10.2.ebuild b/dev-python/httpbin/httpbin-0.10.2.ebuild index 6aecdd6bc65a..cf036cbb5bba 100644 --- a/dev-python/httpbin/httpbin-0.10.2.ebuild +++ b/dev-python/httpbin/httpbin-0.10.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 optfeature pypi diff --git a/dev-python/httpcore/httpcore-1.0.5.ebuild b/dev-python/httpcore/httpcore-1.0.5.ebuild index 29e200461117..e1b37849a4d5 100644 --- a/dev-python/httpcore/httpcore-1.0.5.ebuild +++ b/dev-python/httpcore/httpcore-1.0.5.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 optfeature @@ -35,15 +35,35 @@ BDEPEND=" test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] dev-python/pytest-httpbin[${PYTHON_USEDEP}] - dev-python/pytest-trio[${PYTHON_USEDEP}] dev-python/socksio[${PYTHON_USEDEP}] - dev-python/trio[${PYTHON_USEDEP}] dev-python/trustme[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/pytest-trio[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + ' 3.{10..12}) ) " distutils_enable_tests pytest +python_test() { + local opts=() + local EPYTEST_IGNORE=() + + if ! has_version "dev-python/trio[${PYTHON_USEDEP}]"; then + opts+=( -k "not trio" ) + EPYTEST_IGNORE+=( + tests/_async/test_connection_pool.py + ) + fi + + if ! has_version "dev-python/pytest-trio[${PYTHON_USEDEP}]"; then + opts+=( -m "not trio" -o addopts= ) + fi + + epytest "${opts[@]}" +} + pkg_postinst() { optfeature "SOCKS support" dev-python/socksio } diff --git a/dev-python/httpx/files/httpx-0.27.0-opt-trio.patch b/dev-python/httpx/files/httpx-0.27.0-opt-trio.patch new file mode 100644 index 000000000000..6c2c9e67255f --- /dev/null +++ b/dev-python/httpx/files/httpx-0.27.0-opt-trio.patch @@ -0,0 +1,17 @@ +diff --git a/tests/concurrency.py b/tests/concurrency.py +index a8ed558..d5ce803 100644 +--- a/tests/concurrency.py ++++ b/tests/concurrency.py +@@ -5,11 +5,11 @@ Async environment-agnostic concurrency utilities that are only used in tests. + import asyncio + + import sniffio +-import trio + + + async def sleep(seconds: float) -> None: + if sniffio.current_async_library() == "trio": ++ import trio + await trio.sleep(seconds) # pragma: no cover + else: + await asyncio.sleep(seconds) diff --git a/dev-python/httpx/httpx-0.27.0.ebuild b/dev-python/httpx/httpx-0.27.0.ebuild index 108c55923dff..0a648891634c 100644 --- a/dev-python/httpx/httpx-0.27.0.ebuild +++ b/dev-python/httpx/httpx-0.27.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 optfeature @@ -44,16 +44,22 @@ BDEPEND=" dev-python/cryptography[${PYTHON_USEDEP}] dev-python/h2[${PYTHON_USEDEP}] dev-python/socksio[${PYTHON_USEDEP}] - dev-python/trio[${PYTHON_USEDEP}] dev-python/trustme[${PYTHON_USEDEP}] dev-python/typing-extensions[${PYTHON_USEDEP}] dev-python/uvicorn[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/trio[${PYTHON_USEDEP}] + ' 3.{10..12}) ) " distutils_enable_tests pytest src_prepare() { + local PATCHES=( + "${FILESDIR}/${P}-opt-trio.patch" + ) + if ! use cli; then sed -i -e '/^httpx =/d' pyproject.toml || die fi @@ -63,6 +69,7 @@ src_prepare() { } python_test() { + local args=() local EPYTEST_DESELECT=( # Internet tests/client/test_proxies.py::test_async_proxy_close @@ -73,7 +80,11 @@ python_test() { tests/test_main.py ) - epytest + if ! has_version "dev-python/trio[${PYTHON_USEDEP}]"; then + args+=( -o filterwarnings= -k "not trio" ) + fi + + epytest "${args[@]}" } pkg_postinst() { diff --git a/dev-python/hvac/Manifest b/dev-python/hvac/Manifest index 01156ac30d21..2e9878e711d9 100644 --- a/dev-python/hvac/Manifest +++ b/dev-python/hvac/Manifest @@ -1 +1,2 @@ DIST hvac-2.1.0.tar.gz 325532 BLAKE2B 61c78e2bcbfcf95c853aef825f68b510522c66fd2f4c526043abd2ea4de166ab4972a5de4e2829ba28a8bc6ac43a0cf5c38ffcb31e4ec050db0cf3f49c86541b SHA512 331effd50a11544683d9b0e186c7b56d9480826c645969940c19b7528d5f4f1fd09f0867f61f421948ddb9558d76d9e68e3a189652e00093ad22cfa8be785825 +DIST hvac-2.2.0.tar.gz 330973 BLAKE2B 3e64d54f0345f3b9bce3e0c4c2837442ded0e0c3d8a2fb82a2d32663738df29cba71fbefd0d29f614ca6dbd4e88d1832660d2dc3832bf94a212b23644d2e49a0 SHA512 15dee76e21e053b51ef062e52ca4021bfebde555590ea95d5dabc71370aa086cf6b8e6cb35d38fbc5ee898ba39b694736f243e80975ad649a43bdf8bd7db434e diff --git a/dev-python/hvac/hvac-2.2.0.ebuild b/dev-python/hvac/hvac-2.2.0.ebuild new file mode 100644 index 000000000000..f9565b6f997b --- /dev/null +++ b/dev-python/hvac/hvac-2.2.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="HashiCorp Vault API client" +HOMEPAGE=" + https://github.com/hvac/hvac/ + https://pypi.org/project/hvac/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/pyhcl-0.4.4[${PYTHON_USEDEP}] + >=dev-python/requests-2.24.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/flask-sqlalchemy[${PYTHON_USEDEP}] + dev-python/jwcrypto[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/semantic-version[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # ldap_test is not packaged. + tests/integration_tests/api/auth_methods/test_ldap.py + # https://github.com/lepture/authlib is not packaged. + tests/integration_tests/api/auth_methods/test_oidc.py +) diff --git a/dev-python/hyperframe/hyperframe-6.0.1-r1.ebuild b/dev-python/hyperframe/hyperframe-6.0.1-r1.ebuild index fd61495e21b9..5c0ad3bfcc12 100644 --- a/dev-python/hyperframe/hyperframe-6.0.1-r1.ebuild +++ b/dev-python/hyperframe/hyperframe-6.0.1-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/hyperlink/hyperlink-21.0.0-r1.ebuild b/dev-python/hyperlink/hyperlink-21.0.0-r1.ebuild index 61ec4a926554..b992c0472523 100644 --- a/dev-python/hyperlink/hyperlink-21.0.0-r1.ebuild +++ b/dev-python/hyperlink/hyperlink-21.0.0-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 8f2f7fd907f7..dc79b53fea3b 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,2 +1,5 @@ DIST hypothesis-6.100.1.gh.tar.gz 9450717 BLAKE2B b27e3be6b43ee7d140ee00064748cd651683414b1b9f8d697c166ddec7596c11e2c47a814de91b567b4d08568e7bcaab42a88665f8b6882d2807afcfdb967257 SHA512 4b46c5dfb330c65c8fc4afce90ed28309fc377e39d65b1ba0bf086efb5fe53b2be021bcb5e6a90fa6bdad463de6254761faab14fe2ad7814e84dfff08ff1a9d9 -DIST hypothesis-6.99.13.gh.tar.gz 9450425 BLAKE2B cb8d559d95c60a931640c978ad3ed4c9898cc048254f105f9cb79cd8e36c8b28712d48304b17f5a837a1fd69b88102461a057d5d9ea3786a846d61362137d426 SHA512 0d74dcb6c5d8015c8c660b66298a3053fce1ad04191f81b216a05b08f24fdaaccc7470937459614b95810dad4e37c4712da67eeff414ca50af1d1e5fa81b4d64 +DIST hypothesis-6.100.8.gh.tar.gz 9458567 BLAKE2B 3deb2c90cbc283451633272954e5ca317d6615d80e37545a583fb2cbdd9e7761ecb158c13cde99daddaf4a0310ed9c616d85be488942a227c505aa2de796c2b0 SHA512 449d1f319405c2e9d65d34926c5d26c1ceebfb8ae61474ed487d459efc7c2640a6f119f1f3c367ef3098629d787a82e3d8ec50970b603358ded34e8dfb73474f +DIST hypothesis-6.101.0.gh.tar.gz 9458712 BLAKE2B b5a920e835fdf3bec6a1c8d21cc35833ec15192a512352a8630b5d7a7428d345b78061f5ee1571aff543ddc65586825de35933b3dc6de479880ddbd8509e352d SHA512 7e73074af127de0987d7b09fa71e0cfae47bbf195e621be3fd811474893bfba04d5b885e3bd7a46f707faeb2420abf93921c2c36c15c25672e400320974c7f7c +DIST hypothesis-6.102.1.gh.tar.gz 9459939 BLAKE2B 36edbaf4ad89af3c4554e05ed395b29681b39708cd85a35cd5662766ce08ac95564a2b7ff7892e98df3fad1e729b779d00fcce86c2d17b879a21f3c877156875 SHA512 acb2b5f62e9f23eb379d61705f22330d9e81f7a23164bbdd196124fc3a67ba1265125597f840fa135f35af6f626229b3340b9557b2d69fc81f0b08c99d948e18 +DIST hypothesis-6.102.4.gh.tar.gz 9461315 BLAKE2B d59f89fc2581cf770ca5118a3956c7ebaf975f21f8d32384137a19630f1c9e92502157fc3ad0c32f73127faba1d37e08d2813db3387620b0d040decc500e32ea SHA512 5e758ec308ae8bbd11a0c715a537541de63ef74bba664f666031d4948cc186a7a450aea77eacbc970c97215f79eda89a85bb77b5cb878b27a5ac99fd053be1b6 diff --git a/dev-python/hypothesis/hypothesis-6.100.1.ebuild b/dev-python/hypothesis/hypothesis-6.100.1.ebuild index 13d62b8d6bd1..231433159471 100644 --- a/dev-python/hypothesis/hypothesis-6.100.1.ebuild +++ b/dev-python/hypothesis/hypothesis-6.100.1.ebuild @@ -25,7 +25,7 @@ S="${WORKDIR}/${MY_P}/hypothesis-python" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="cli" RDEPEND=" diff --git a/dev-python/hypothesis/hypothesis-6.99.13.ebuild b/dev-python/hypothesis/hypothesis-6.100.8.ebuild index 231433159471..c2bf166b155f 100644 --- a/dev-python/hypothesis/hypothesis-6.99.13.ebuild +++ b/dev-python/hypothesis/hypothesis-6.100.8.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 python3_13 ) PYTHON_REQ_USE="threads(+),sqlite" inherit distutils-r1 multiprocessing optfeature @@ -25,7 +25,7 @@ S="${WORKDIR}/${MY_P}/hypothesis-python" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="cli" RDEPEND=" diff --git a/dev-python/hypothesis/hypothesis-6.101.0.ebuild b/dev-python/hypothesis/hypothesis-6.101.0.ebuild new file mode 100644 index 000000000000..c2bf166b155f --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.101.0.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 python3_13 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + esac + + epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ + tests/cover tests/pytest tests/quality +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/hypothesis/hypothesis-6.102.1.ebuild b/dev-python/hypothesis/hypothesis-6.102.1.ebuild new file mode 100644 index 000000000000..c2bf166b155f --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.102.1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 python3_13 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + esac + + epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ + tests/cover tests/pytest tests/quality +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/hypothesis/hypothesis-6.102.4.ebuild b/dev-python/hypothesis/hypothesis-6.102.4.ebuild new file mode 100644 index 000000000000..c2bf166b155f --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.102.4.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 python3_13 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + esac + + epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ + tests/cover tests/pytest tests/quality +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/identify/Manifest b/dev-python/identify/Manifest index 7e529f529c50..85b4b7bbe787 100644 --- a/dev-python/identify/Manifest +++ b/dev-python/identify/Manifest @@ -1 +1 @@ -DIST identify-2.5.35.gh.tar.gz 101691 BLAKE2B 931169744a9126d82b32bd4dea1731f1f4ad209b78d3df9ce490891994194797a7adcaff19400e9856716528f5b3490e05c8e06614c788b089251ef92cd1dd03 SHA512 1d01535f95818533220c06988eb2d9f495c004b41fd197482ab0e3520f81ab2aebce0344dffeb0449423abd6574c21043fa0ad20472b3aaff6cb97986f31fd88 +DIST identify-2.5.36.gh.tar.gz 101732 BLAKE2B c0f7d7f57a757ec828b7def3a0e7e544855bf4eed8f3b612cc35acda34f05379c5267eb33a0110080708c50a838983a6d662130e297f2e0a00382025c58ccf61 SHA512 713ce08bafc076d2724f847c0b051036072d6b8d53c77a0ca011b7ec3af4ec27381de3ef4622235db0791ef4fc449514f78c2ad250d77c055e9fec9dc6f14a57 diff --git a/dev-python/identify/identify-2.5.35.ebuild b/dev-python/identify/identify-2.5.36.ebuild index 6d0d4666c11a..6d0d4666c11a 100644 --- a/dev-python/identify/identify-2.5.35.ebuild +++ b/dev-python/identify/identify-2.5.36.ebuild diff --git a/dev-python/idna/idna-3.7.ebuild b/dev-python/idna/idna-3.7.ebuild index 078243431a5a..9188787397d2 100644 --- a/dev-python/idna/idna-3.7.ebuild +++ b/dev-python/idna/idna-3.7.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/imageio/Manifest b/dev-python/imageio/Manifest index 2412a00ebe94..42be407165db 100644 --- a/dev-python/imageio/Manifest +++ b/dev-python/imageio/Manifest @@ -1,3 +1,5 @@ DIST imageio-2.34.0.gh.tar.gz 413125 BLAKE2B c6f9650265924f370634f5ab87bed94bdb501d078a154b93400d8c89847da3fef7196f18db0682bbfc99ac5c9f4156a113bb2d74f572c010842b9b9593d7c13e SHA512 d28b5b849a8d7fc90c4c4a82b2056431e5351ecce709cd48ccb9aaf58a50964a1b77faf4663d3fdeb4757951fb8a03b5bf632e57f78ddd59d5a9acdb62b78f48 +DIST imageio-2.34.1.gh.tar.gz 413414 BLAKE2B 59371d0aeace317b9006a0b3b182b97259a53ca0d2288d8ee497234e4f2e7e253c1c27b40b2c5c1f531555a71c7f426ae6d4555043525aa88ca2818d26adfd7d SHA512 d7d1f99f735447e559c0b1fdc2dbe19f2991fb3c640cb9f1396d149c3c44f05e1c357ca8753fff8130625f8fb40a72f277ef09e7cec2b060d1a4f3a675e086a0 DIST imageio-chelsea.png 221294 BLAKE2B 58537d7a1678fa5be4cc899e5bacd925bfc180eb4ae691330a53749a49ff544e979609b529ed27e5c1fc9efe4bc050ca1ce49b777f4016fb1d66affd926ef9d3 SHA512 48470cdb843eed4dfa6673811c09c5aac9869ee23dd36be0c6b653d9f108d61d21b148c2a4435aaa6604887ba030e5bbc5e35d378da876366445dfc2d0ba4e27 DIST imageio-cockatoo.mp4 728751 BLAKE2B 45b22cd517c1cb7c0cd12f8865facaca6a847047aea716e49633cf2b1dc13826f94787c8a8f9dd5f48c6a896f5d37794c0058da1bde9e1469f196916476dbfa2 SHA512 e9cb7c25de8019c59ba4090cf10ab29f2b5d62ada37a877081ca07d2ecfe010036222ae843b41bbcc843130d97fa5e14421de252639e9481df1d1c27b19add49 +DIST imageio-test_images-1121036015c70cdbb3015e5c5ba0aaaf7d3d6021.gh.tar.gz 195497374 BLAKE2B 0083212fd63c196dc2e721bff8f89c177b6741317b6b1c6ae9d00a8dd5fb6366efa3f01b9bffafafac7177cfdaa4d700077a2bad42ada735f5553e97f651c4ad SHA512 1bb1f36a069bfaa0d0ffe5258534e02e49237fc6ce85fe3d3648650130165abc9b3d5ff0e7e5861ee1d94add00d4258575f9c2f8556debecf597bdaa5499efe0 diff --git a/dev-python/imageio/imageio-2.34.1.ebuild b/dev-python/imageio/imageio-2.34.1.ebuild new file mode 100644 index 000000000000..75d05d734168 --- /dev/null +++ b/dev-python/imageio/imageio-2.34.1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +TEST_IMAGES_COMMIT=1121036015c70cdbb3015e5c5ba0aaaf7d3d6021 +DESCRIPTION="Python library for reading and writing image data" +HOMEPAGE=" + https://imageio.readthedocs.io/en/stable/ + https://github.com/imageio/imageio/ + https://pypi.org/project/imageio/ +" +SRC_URI=" + https://github.com/imageio/imageio/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/imageio/test_images/archive/${TEST_IMAGES_COMMIT}.tar.gz + -> imageio-test_images-${TEST_IMAGES_COMMIT}.gh.tar.gz + ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + <dev-python/numpy-2[${PYTHON_USEDEP}] + >=dev-python/numpy-1.20.0[${PYTHON_USEDEP}] + >=dev-python/pillow-8.3.2[${PYTHON_USEDEP}] + media-libs/freeimage +" +BDEPEND=" + test? ( + >=dev-python/imageio-ffmpeg-0.4.9-r1[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/tifffile[${PYTHON_USEDEP}] + || ( + media-video/ffmpeg[openh264] + media-video/ffmpeg[x264] + ) + ) +" + +distutils_enable_tests pytest + +src_prepare() { + local PATCHES=( + # block silently downloading vulnerable libraries from the Internet + "${FILESDIR}"/imageio-2.22.0-block-download.patch + ) + + if use test; then + mv "${WORKDIR}/test_images-${TEST_IMAGES_COMMIT}" .test_images || die + # upstream tries to update the image cache, and invalidates it + # if "git pull" fails + sed -i -e 's:git pull:true:' tests/conftest.py || die + # ffmpeg tests expect it there + mkdir -p "${HOME}/.imageio/images" || die + cp .test_images/cockatoo.mp4 "${HOME}/.imageio/images" || die + fi + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_IGNORE=( + # uses fsspec to grab prebuilt .so from GitHub, sigh + tests/test_freeimage.py + ) + + local EPYTEST_DESELECT=( + # Note: upstream has a needs_internet marker but it is also + # used to mark tests that require test_images checkout that we + # supply + + # Tries to download ffmpeg binary ?! + tests/test_ffmpeg.py::test_get_exe_installed + # blocked by our patch + tests/test_core.py::test_fetching + tests/test_core.py::test_request + # Internet + tests/test_bsdf.py::test_from_url + tests/test_core.py::test_mvolread_out_of_bytes + tests/test_core.py::test_request_read_sources + tests/test_pillow.py::test_gif_first_p_frame + tests/test_pillow.py::test_png_remote + tests/test_pillow_legacy.py::test_png_remote + tests/test_swf.py::test_read_from_url + # requires pillow-heif, also possibly Internet + tests/test_pillow.py::test_avif_remote + tests/test_pillow.py::test_heif_remote + # not important, requires random system libs + tests/test_core.py::test_findlib2 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/immutables/files/immutables-0.20-opt-ext.patch b/dev-python/immutables/files/immutables-0.20-opt-ext.patch new file mode 100644 index 000000000000..6dbcb183a612 --- /dev/null +++ b/dev-python/immutables/files/immutables-0.20-opt-ext.patch @@ -0,0 +1,28 @@ +From b1cb26389d8c8aa646c4debae429fb1515408812 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Mon, 13 May 2024 15:51:04 +0200 +Subject: [PATCH] Support disabling C extensions via IMMUTABLES_EXT=0 + +Support using IMMUTABLES_EXT environment variable to control whether +the C extension is built explicitly. When set to a value other than 1, +the extension built is disabled. This is helpful e.g. for future Python +versions where the extension does not work (this is affecting 3.13 right +now, but having an explicit option is more future-proof). +--- + setup.py | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 8cfc9c97..870de2d1 100644 +--- a/setup.py ++++ b/setup.py +@@ -27,7 +27,8 @@ + 'unable to read the version from immutables/_version.py') + + +-if platform.python_implementation() == 'CPython': ++if (platform.python_implementation() == 'CPython' and ++ os.environ.get('IMMUTABLES_EXT', '1') == '1'): + if os.environ.get("DEBUG_IMMUTABLES") == '1': + define_macros = [] + undef_macros = ['NDEBUG'] diff --git a/dev-python/immutables/immutables-0.20.ebuild b/dev-python/immutables/immutables-0.20.ebuild index bac9e6016261..a3dda207372a 100644 --- a/dev-python/immutables/immutables-0.20.ebuild +++ b/dev-python/immutables/immutables-0.20.ebuild @@ -1,11 +1,11 @@ -# Copyright 2019-2023 Gentoo Authors +# Copyright 2019-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=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 @@ -27,17 +27,26 @@ IUSE="+native-extensions" distutils_enable_tests pytest src_prepare() { + local PATCHES=( + # https://github.com/MagicStack/immutables/pull/117 + "${FILESDIR}/${P}-opt-ext.patch" + ) + sed -i -e '/mypy/d' tests/conftest.py || die - # NB: upstream never builds extensions on PyPy - if ! use native-extensions; then - sed -i -e '/ext_modules=/d' setup.py || die - fi distutils-r1_src_prepare } python_compile() { # upstream controls NDEBUG explicitly use debug && local -x DEBUG_IMMUTABLES=1 + local -x IMMUTABLES_EXT=$(usex native-extensions 1 0) + case ${EPYTHON} in + python3.13) + # https://github.com/MagicStack/immutables/issues/116 + IMMUTABLES_EXT=0 + ;; + esac + distutils-r1_python_compile } @@ -47,5 +56,6 @@ python_test() { ) rm -rf immutables || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest } diff --git a/dev-python/importlib-resources/Manifest b/dev-python/importlib-resources/Manifest new file mode 100644 index 000000000000..27040acd0be1 --- /dev/null +++ b/dev-python/importlib-resources/Manifest @@ -0,0 +1 @@ +DIST importlib_resources-6.4.0.tar.gz 42040 BLAKE2B 55b52a42051c6900af7b5b70783476a48398ae02539871a3f508df08fd5b4ec03bbe40980de8cd49a60cc022905a4ffdfd95b55d70e0cfb5d64497b02cc9b88f SHA512 c600e7ba96431f15a929e5acda89a262ceef33a3f44ae361fad4201dde8033dd8f0f2bcb856619fd5e21209a5d17cf9ae3610e65c3e6ecd0e36545437d0064b9 diff --git a/dev-python/importlib-resources/importlib-resources-6.4.0.ebuild b/dev-python/importlib-resources/importlib-resources-6.4.0.ebuild new file mode 100644 index 000000000000..327938fe33e6 --- /dev/null +++ b/dev-python/importlib-resources/importlib-resources-6.4.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +# backport from py3.12 +PYTHON_COMPAT=( pypy3 python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Read resources from Python packages" +HOMEPAGE=" + https://github.com/python/importlib_resources/ + https://pypi.org/project/importlib-resources/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~riscv x86" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/jaraco-test-5.4[${PYTHON_USEDEP}] + >=dev-python/zipp-3.17[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/importlib-resources/metadata.xml b/dev-python/importlib-resources/metadata.xml new file mode 100644 index 000000000000..672c6b745d18 --- /dev/null +++ b/dev-python/importlib-resources/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">importlib-resources</remote-id> + <remote-id type="github">python/importlib_resources</remote-id> + <bugs-to>https://github.com/python/importlib_resources/issues</bugs-to> + <doc>https://importlib-resources.readthedocs.io/</doc> + </upstream> +</pkgmetadata> diff --git a/dev-python/inflect/Manifest b/dev-python/inflect/Manifest index c7a30ab3dc63..deec2a360480 100644 --- a/dev-python/inflect/Manifest +++ b/dev-python/inflect/Manifest @@ -1,2 +1 @@ -DIST inflect-7.0.0.tar.gz 70963 BLAKE2B ae896109acd33946e05902d121ecbd95e04dc33a1d6da6035148521de5baff8cff877a5c56c104bde29d56025e231e20f97e0ee50686de0ec19b567d53612314 SHA512 b2ca39d0e36cda8c8c42d208443d3b84b10d659dcd0d368273503d6e76df19c61ac3c623d526ea918ca8b347d6db8bdfb691609e480eaa33dd4f1c37e008473b -DIST inflect-7.2.0.tar.gz 71448 BLAKE2B 33d7d8cf4b4de05a035e1929fd6c70c3635290cf1387927e5fe15315c06135a6b2daf6b67f044b9ea004c2345bdeb8b2f17e5f54daa9cb18f0d3bc1935295439 SHA512 13b698637a8049987675dd419359907baba6d8a9805c3602bbc414ed8fb422bfaa32ec26bcc309508ead5cb72bed632d9142f7796c981269551f1238b88c9019 +DIST inflect-7.2.1.tar.gz 71580 BLAKE2B f6256388768a850a16e79f5c59cc21bab94c65733aa4502c813e7c32c850eecf80d2148e9cb396b6fb3198004b79dc1c6dea9dbef29d5cd4e3acff25728deec3 SHA512 b994b1cb486f318f54fe73e159ffb41c637298c651e3b2ed0899659add450cd47f168e7ba242fc70dd1c177e622850409485c1671e5b89eb1f2b554d315bdf00 diff --git a/dev-python/inflect/inflect-7.2.0.ebuild b/dev-python/inflect/inflect-7.2.0.ebuild deleted file mode 100644 index a1a608f28790..000000000000 --- a/dev-python/inflect/inflect-7.2.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Correctly inflect words and numbers" -HOMEPAGE=" - https://pypi.org/project/inflect/ - https://github.com/jaraco/inflect/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - >=dev-python/pydantic-1.9.1[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - dev-python/typeguard[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-scm-3.4.1[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # broken upstream - # https://github.com/jaraco/inflect/issues/204 - inflect/__init__.py::inflect.engine.compare -) diff --git a/dev-python/inflect/inflect-7.0.0.ebuild b/dev-python/inflect/inflect-7.2.1.ebuild index 2081c97362fb..3b7dd89edc8a 100644 --- a/dev-python/inflect/inflect-7.0.0.ebuild +++ b/dev-python/inflect/inflect-7.2.1.ebuild @@ -19,17 +19,12 @@ SLOT="0" KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" RDEPEND=" - >=dev-python/pydantic-1.9.1[${PYTHON_USEDEP}] dev-python/typing-extensions[${PYTHON_USEDEP}] + >=dev-python/typeguard-4.0.1[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] " BDEPEND=" >=dev-python/setuptools-scm-3.4.1[${PYTHON_USEDEP}] " distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # broken upstream - # https://github.com/jaraco/inflect/issues/204 - inflect/__init__.py::inflect.engine.compare -) diff --git a/dev-python/ini2toml/Manifest b/dev-python/ini2toml/Manifest index b52a49ba0198..865139b10a3a 100644 --- a/dev-python/ini2toml/Manifest +++ b/dev-python/ini2toml/Manifest @@ -1 +1,2 @@ -DIST ini2toml-0.13.tar.gz 102729 BLAKE2B 27094e0f329ce5d0da3ca1793b5b92e97eba5068225c55fcc9e0c61ead607967b8718976bfa13f76638c1b2bd8ee2a532b8eaf2023895f2ffdeacacd072fff9c SHA512 9700affeeb0434699e708fbeffb34e68f54882d7c5ada25cbdcdf47fed70bf8b5e8ff46503c19aa135079bc8770bdc48e991212b07b6409adf57d197a5ed998e +DIST ini2toml-0.14.tar.gz 108296 BLAKE2B f09ac924eea976b82d68b12132cc671cb5b0f57734fc2a4f4b0dc68e0a9e20d4f906ab757e662c152a5d7db9f0bad17bd28644524bd18a16895ad489eac1d29d SHA512 d29155ae1069084381aef852145a6c734ea4e1e8c6847174fff98bca497cbb4289ee791b26541c6027b716845dd23fc251dde531c6cb9c62d490e4bfed5f862e +DIST ini2toml-0.15.tar.gz 109236 BLAKE2B d844f45e14379af974c86283daa1aa6fa5d9934b219fdf02be9abbeb873487b36eecede39dafc261f5ab2a6bfadceaea3b16611f5d6c1f3bc88a28574a11dc14 SHA512 5726c745972fbdf6a254ccd44133c5c65368f531c17efda3b83323c2c9e450d508fe57f1aa0919c0de6cc6e18d6a974b75dc50ecf29c852d367bc03891f0486c diff --git a/dev-python/ini2toml/ini2toml-0.13.ebuild b/dev-python/ini2toml/ini2toml-0.14.ebuild index 7d727f2ab4f7..2d64a412ee78 100644 --- a/dev-python/ini2toml/ini2toml-0.13.ebuild +++ b/dev-python/ini2toml/ini2toml-0.14.ebuild @@ -1,10 +1,10 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi @@ -27,7 +27,6 @@ BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] test? ( dev-python/configupdater[${PYTHON_USEDEP}] - >=dev-python/pyproject-fmt-0.4.0[${PYTHON_USEDEP}] dev-python/tomli[${PYTHON_USEDEP}] dev-python/tomlkit[${PYTHON_USEDEP}] ) @@ -35,12 +34,26 @@ BDEPEND=" distutils_enable_tests pytest -EPYTEST_IGNORE=( - # validate_pyproject is not packaged - tests/test_examples.py -) - src_prepare() { sed -i -e 's:--cov ini2toml --cov-report term-missing::' setup.cfg || die distutils-r1_src_prepare } + +python_test() { + local EPYTEST_IGNORE=( + # validate_pyproject is not packaged + tests/test_examples.py + ) + local EPYTEST_DESELECT=() + + # Incompatible with pyproject-fmt-2 API: + # https://github.com/abravalheri/ini2toml/issues/103 + if ! has_version "<dev-python/pyproject-fmt-2[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_cli.py::test_auto_formatting + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/ini2toml/ini2toml-0.15.ebuild b/dev-python/ini2toml/ini2toml-0.15.ebuild new file mode 100644 index 000000000000..86e379f5596f --- /dev/null +++ b/dev-python/ini2toml/ini2toml-0.15.ebuild @@ -0,0 +1,59 @@ +# Copyright 2022-2024 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="Automatically conversion of .ini/.cfg files to TOML equivalents" +HOMEPAGE=" + https://pypi.org/project/ini2toml/ + https://github.com/abravalheri/ini2toml/ +" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/packaging-20.7[${PYTHON_USEDEP}] + >=dev-python/setuptools-59.6[${PYTHON_USEDEP}] + >=dev-python/tomli-w-0.4.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/configupdater[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e 's:--cov ini2toml --cov-report term-missing::' setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_IGNORE=( + # validate_pyproject is not packaged + tests/test_examples.py + ) + local EPYTEST_DESELECT=() + + # Incompatible with pyproject-fmt-2 API: + # https://github.com/abravalheri/ini2toml/issues/103 + if ! has_version "<dev-python/pyproject-fmt-2[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_cli.py::test_auto_formatting + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/iniconfig/iniconfig-2.0.0.ebuild b/dev-python/iniconfig/iniconfig-2.0.0.ebuild index 3518b8c151bb..1117f65f2acb 100644 --- a/dev-python/iniconfig/iniconfig-2.0.0.ebuild +++ b/dev-python/iniconfig/iniconfig-2.0.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/installer/installer-0.7.0.ebuild b/dev-python/installer/installer-0.7.0.ebuild index 1d8b92cdcbda..1dbc58a0a422 100644 --- a/dev-python/installer/installer-0.7.0.ebuild +++ b/dev-python/installer/installer-0.7.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # please keep this ebuild at EAPI 8 -- sys-apps/portage dep EAPI=8 DISTUTILS_USE_PEP517=no -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/ipyparallel/Manifest b/dev-python/ipyparallel/Manifest index c766b375c7dd..69b0638f5f73 100644 --- a/dev-python/ipyparallel/Manifest +++ b/dev-python/ipyparallel/Manifest @@ -1,2 +1 @@ -DIST ipyparallel-8.7.0.tar.gz 6798726 BLAKE2B 2f948ab19883e9364cab82227ad9918010f144ccf8d9899c54e4a3a9df99bd42faf6001ba837e6c7bfb25738c6ad25f766396b76ba7fa5097d84f385d69dbc68 SHA512 96b9a3c1435dcb609c81856e5fc2763265a14610483e9d6c1a0b1fe5f7d6981d42d8f0d7b0c245cdf1fec10d4a832854dc745ca02ce90623734216dc858bb322 DIST ipyparallel-8.8.0.tar.gz 6800541 BLAKE2B ae40aa60eec2c07bb1ecce696df9f8429293e1602bced8e6220e6a93b780b44131a4fcbd01c921952cae9945fc509f6084570b96ce0c3da7ce4f0cc1d853db1b SHA512 9b0a03e1f581acbe56e3b51331d9fb97c422469e1d93348e6403d7c95a985f1f5a2a390645222fc4b60c0027ba168933679662561adb618d19ae7d680a2bb680 diff --git a/dev-python/ipyparallel/ipyparallel-8.7.0.ebuild b/dev-python/ipyparallel/ipyparallel-8.7.0.ebuild deleted file mode 100644 index 3a037aa11b4c..000000000000 --- a/dev-python/ipyparallel/ipyparallel-8.7.0.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="Interactive Parallel Computing with IPython" -HOMEPAGE=" - https://ipyparallel.readthedocs.io/ - https://github.com/ipython/ipyparallel/ - https://pypi.org/project/ipyparallel/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/entrypoints[${PYTHON_USEDEP}] - dev-python/decorator[${PYTHON_USEDEP}] - >=dev-python/pyzmq-18[${PYTHON_USEDEP}] - >=dev-python/traitlets-4.3[${PYTHON_USEDEP}] - >=dev-python/ipython-4[${PYTHON_USEDEP}] - dev-python/jupyter-client[${PYTHON_USEDEP}] - dev-python/jupyter-server[${PYTHON_USEDEP}] - >=dev-python/ipykernel-4.4[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/tqdm[${PYTHON_USEDEP}] - >=dev-python/tornado-5.1[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/flit-core[${PYTHON_USEDEP}] - test? ( - dev-python/ipython[test] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-tornado[${PYTHON_USEDEP}] - dev-python/testpath[${PYTHON_USEDEP}] - ) -" - -# TODO: package myst_parser -# distutils_enable_sphinx docs/source -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${PN}-7.1.0-test-timeouts.patch -) - -src_configure() { - export IPP_DISABLE_JS=1 -} - -python_test() { - local EPYTEST_DESELECT=( - # we don't run a mongo instance for tests - ipyparallel/tests/test_mongodb.py::TestMongoBackend - # TODO - ipyparallel/tests/test_util.py::test_disambiguate_ip - # Gets upset that a timeout _doesn't_ occur, presumably because - # we're cranking up too many test timeouts. Oh well. - # bug #823458#c3 - ipyparallel/tests/test_asyncresult.py::AsyncResultTest::test_wait_for_send - # We could patch the timeout for these too but they're going to be inherently - # fragile anyway based on what they do. - ipyparallel/tests/test_client.py::TestClient::test_activate - ipyparallel/tests/test_client.py::TestClient::test_lazy_all_targets - ipyparallel/tests/test_client.py::TestClient::test_wait_for_engines - ) - epytest -} - -python_install_all() { - distutils-r1_python_install_all - # move /usr/etc stuff to /etc - mv "${ED}/usr/etc" "${ED}/etc" || die -} - -pkg_postinst() { - optfeature "Jupyter Notebook integration" dev-python/notebook -} diff --git a/dev-python/ipyparallel/ipyparallel-8.8.0.ebuild b/dev-python/ipyparallel/ipyparallel-8.8.0.ebuild index 86168fffc4d2..f0c25c8d495a 100644 --- a/dev-python/ipyparallel/ipyparallel-8.8.0.ebuild +++ b/dev-python/ipyparallel/ipyparallel-8.8.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/entrypoints[${PYTHON_USEDEP}] diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest index fc48e57709ee..af1d4ba8a99a 100644 --- a/dev-python/ipython/Manifest +++ b/dev-python/ipython/Manifest @@ -1,2 +1 @@ -DIST ipython-8.22.2.tar.gz 5490399 BLAKE2B 61d7d30d77c0b422ba174ac3c3f17c753502d9469d1d2ba8e3f2583761ab1f26230172b7e2efa680bb8f7ef23ef47cfe56241344380591e3da0da5d15f385727 SHA512 ff9c56b0594e63dbb26aad466eb9449d41db4002da61837363aaff817b99a54f310152994e4d361dfd5b6c40452dedf3eb74825c6d0a7d8c5fff84c1ac20f7ff -DIST ipython-8.23.0.tar.gz 5491405 BLAKE2B c4273d20bccdf07283abf9a69b8d64a27be3aa2e0672d14781cd9035ff39a5392518d7e22f45cdd20c8e110111a601d4bdbc36659efde153742de731d574e4be SHA512 4e6f061dba024f5e717f6497706a144c5568c9d650215d898fe8e5efc85b92445f64e2c8eb6ef3c9bfe1a305c9098cc49e79b6d1cc25c8be5add1497682fce28 +DIST ipython-8.24.0.tar.gz 5491819 BLAKE2B 49ca26f4ab6ceb7c787038db5b1073790d7a32cb96951bcc2ffa4ac05b3a689507e654344fda196560e2dc4b9e2225335e27bc3fb7472ba487adebb1ebba44e1 SHA512 adf032a93e94e1e8008a1cc106fb348d0bccb914a335e0ad04490531e7a7d16e7a2dc4a345f7faf1b3151d60a649413fa78130688cb59de088e5eb4291689310 diff --git a/dev-python/ipython/ipython-8.22.2.ebuild b/dev-python/ipython/ipython-8.22.2.ebuild deleted file mode 100644 index 35f532e97131..000000000000 --- a/dev-python/ipython/ipython-8.22.2.ebuild +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( pypy3 python3_{10..12} ) -PYTHON_REQ_USE='readline(+),sqlite,threads(+)' - -inherit distutils-r1 optfeature pypi virtualx - -DESCRIPTION="Advanced interactive shell for Python" -HOMEPAGE=" - https://ipython.org/ - https://github.com/ipython/ipython/ - https://pypi.org/project/ipython/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" -IUSE="doc examples notebook nbconvert qt5 +smp test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/decorator[${PYTHON_USEDEP}] - >=dev-python/jedi-0.16[${PYTHON_USEDEP}] - dev-python/matplotlib-inline[${PYTHON_USEDEP}] - >=dev-python/pexpect-4.3[${PYTHON_USEDEP}] - >=dev-python/prompt-toolkit-3.0.41[${PYTHON_USEDEP}] - <dev-python/prompt-toolkit-3.1[${PYTHON_USEDEP}] - >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] - dev-python/stack-data[${PYTHON_USEDEP}] - >=dev-python/traitlets-5.13.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/exceptiongroup[${PYTHON_USEDEP}] - ' 3.10) -" - -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - app-text/dvipng[truetype] - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/nbformat[${PYTHON_USEDEP}] - >=dev-python/numpy-1.23[${PYTHON_USEDEP}] - dev-python/matplotlib-inline[${PYTHON_USEDEP}] - dev-python/pickleshare[${PYTHON_USEDEP}] - <dev-python/pytest-8[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/testpath[${PYTHON_USEDEP}] - ) - doc? ( - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - >=dev-python/sphinx-2[${PYTHON_USEDEP}] - dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -RDEPEND+=" - nbconvert? ( - dev-python/nbconvert[${PYTHON_USEDEP}] - ) -" -PDEPEND=" - $(python_gen_cond_dep ' - notebook? ( - dev-python/notebook[${PYTHON_USEDEP}] - dev-python/ipywidgets[${PYTHON_USEDEP}] - dev-python/widgetsnbextension[${PYTHON_USEDEP}] - ) - qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] ) - ' 'python*') - smp? ( - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] - >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/2.1.0-substitute-files.patch -) - -python_prepare_all() { - # Remove out of date insource files - #rm IPython/extensions/cythonmagic.py || die - #rm IPython/extensions/rmagic.py || die - - # Prevent un-needed download during build - if use doc; then - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die - fi - - # Rename the test directory to reduce sys.path pollution - # https://github.com/ipython/ipython/issues/12892 - mv IPython/extensions/{,ipython_}tests || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - if use doc; then - emake -C docs html_noapi - HTML_DOCS=( docs/build/html/. ) - fi -} - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local -x IPYTHON_TESTING_TIMEOUT_SCALE=20 - local EPYTEST_DESELECT=( - # TODO: looks to be a regression due to a newer dep - IPython/core/tests/test_oinspect.py::test_class_signature - IPython/core/tests/test_oinspect.py::test_render_signature_long - IPython/terminal/tests/test_shortcuts.py::test_modify_shortcut_with_filters - ) - - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # https://github.com/numpy/numpy/issues/25164 - IPython/lib/tests/test_display.py::TestAudioDataWithoutNumpy - ) - ;; - esac - - # nonfatal implied by virtx - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest || die "Tests failed with ${EPYTHON}" -} - -python_install() { - distutils-r1_python_install - - # Create ipythonX.Y symlinks. - # TODO: - # 1. do we want them for pypy? No. pypy has no numpy - # 2. handle it in the eclass instead (use _python_ln_rel). - # With pypy not an option the dosym becomes unconditional - dosym ../lib/python-exec/${EPYTHON}/ipython \ - /usr/bin/ipython${EPYTHON#python} -} - -python_install_all() { - distutils-r1_python_install_all - - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} - -pkg_postinst() { - optfeature "code formatting" dev-python/black - optfeature "sympyprinting" dev-python/sympy - optfeature "cythonmagic" dev-python/cython - optfeature "%lprun magic command" dev-python/line-profiler - optfeature "%matplotlib magic command" dev-python/matplotlib-inline - - if use nbconvert; then - if ! has_version virtual/pandoc ; then - einfo "Node.js will be used to convert notebooks to other formats" - einfo "like HTML. Support for that is still experimental. If you" - einfo "encounter any problems, please use app-text/pandoc instead." - fi - fi -} diff --git a/dev-python/ipython/ipython-8.23.0.ebuild b/dev-python/ipython/ipython-8.24.0.ebuild index aa975d4a0a8f..bbb1d7e16ff3 100644 --- a/dev-python/ipython/ipython-8.23.0.ebuild +++ b/dev-python/ipython/ipython-8.24.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" IUSE="doc examples notebook nbconvert qt5 +smp test" RESTRICT="!test? ( test )" diff --git a/dev-python/iso8601/iso8601-2.1.0.ebuild b/dev-python/iso8601/iso8601-2.1.0.ebuild index d6dcf0a800fe..ae33a8c0c802 100644 --- a/dev-python/iso8601/iso8601-2.1.0.ebuild +++ b/dev-python/iso8601/iso8601-2.1.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/isodate/isodate-0.6.1-r1.ebuild b/dev-python/isodate/isodate-0.6.1-r1.ebuild index 17b514d09b1c..7ee131e789ff 100644 --- a/dev-python/isodate/isodate-0.6.1-r1.ebuild +++ b/dev-python/isodate/isodate-0.6.1-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/isoduration/isoduration-20.11.0-r1.ebuild b/dev-python/isoduration/isoduration-20.11.0-r1.ebuild index 9f3939e12bef..6b1de6ccffa4 100644 --- a/dev-python/isoduration/isoduration-20.11.0-r1.ebuild +++ b/dev-python/isoduration/isoduration-20.11.0-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/itsdangerous/Manifest b/dev-python/itsdangerous/Manifest index f1ce7421bb69..54a714671d39 100644 --- a/dev-python/itsdangerous/Manifest +++ b/dev-python/itsdangerous/Manifest @@ -1,2 +1 @@ -DIST itsdangerous-2.1.2.tar.gz 56143 BLAKE2B 4c36cb26bcc6b6821b92b88b0254711ebe00bfda2193cecf0a7eb1fd514806f366fc0b4dc587a383003ec1272a2bc732418a46b44fa711beaedc06c379635ddc SHA512 e4d870a33992b309ed778f403c0c1e098983a693d1165260748bf36385ebfadb583811e05ddd48001a33cf6a4e963b7dd8a8c68919c5b4b86f63621d8869e259 DIST itsdangerous-2.2.0.tar.gz 54410 BLAKE2B 8179d8bc705a9d695046c8ec5e37df5a0f7f8e8c7e000d2a25b684ab0292874fa2a79085326a4001df4a782247f5ce1c1425f8c4a6490818929ae80a146f140b SHA512 ed046cc371ea9aa1f7cd3bd201f1b68910a2b008bd8434c425332cecec6539cf031df6e2223a1fdccd68c12ccf5486e80f178d5906911b19417f0ea244e367f8 diff --git a/dev-python/itsdangerous/itsdangerous-2.1.2.ebuild b/dev-python/itsdangerous/itsdangerous-2.1.2.ebuild deleted file mode 100644 index 9ef836ae8a8b..000000000000 --- a/dev-python/itsdangerous/itsdangerous-2.1.2.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Various helpers to pass trusted data to untrusted environments and back" -HOMEPAGE=" - https://palletsprojects.com/p/itsdangerous/ - https://github.com/pallets/itsdangerous/ - https://pypi.org/project/itsdangerous/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" - -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/itsdangerous/itsdangerous-2.2.0.ebuild b/dev-python/itsdangerous/itsdangerous-2.2.0.ebuild index 69483573c260..8bddd59f6cd8 100644 --- a/dev-python/itsdangerous/itsdangerous-2.2.0.ebuild +++ b/dev-python/itsdangerous/itsdangerous-2.2.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" BDEPEND=" test? ( diff --git a/dev-python/jaraco-classes/Manifest b/dev-python/jaraco-classes/Manifest index e95945d6c19e..c8963662aa34 100644 --- a/dev-python/jaraco-classes/Manifest +++ b/dev-python/jaraco-classes/Manifest @@ -1,2 +1 @@ -DIST jaraco.classes-3.3.1.tar.gz 11699 BLAKE2B 4510bc79d9fb0697aabfa5211c250e362048091b38dc1f6d404abc80ded078744dda29e91bc82ff30fbfe352614f3be14e1cf2cebea0ce7bd839d21b6897817d SHA512 368a45965e321506bb4a66c80ddf79e8e58f25f92bf9bbd1cffc9118f696ea23dcca6f9277544d1c2af1cbc18fe0cc5a2bdc7b9ad865f54ac0776b0b58aca90b DIST jaraco.classes-3.4.0.tar.gz 11780 BLAKE2B e16f76f58fae8b42864e5055e8fd97fff634223aa28499fcc8a204f52aec9f2cc66b5cdf53e08acac85bfdeff46b7bdeb8b5bcc9da10fee16f3a5bd84026cd1d SHA512 94e5163120117c51f129d43e85f92ee19efcf8b10683142679511f8b33f4a1fd6c51516b7551aeab9d68c1936791bafc47328b5560ee3fe28e553fe463ea968f diff --git a/dev-python/jaraco-classes/jaraco-classes-3.4.0.ebuild b/dev-python/jaraco-classes/jaraco-classes-3.4.0.ebuild index 6374ebe23e5a..26c33873878d 100644 --- a/dev-python/jaraco-classes/jaraco-classes-3.4.0.ebuild +++ b/dev-python/jaraco-classes/jaraco-classes-3.4.0.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] diff --git a/dev-python/jaraco-collections/Manifest b/dev-python/jaraco-collections/Manifest index bd384cecbf1b..81f7518a5e1f 100644 --- a/dev-python/jaraco-collections/Manifest +++ b/dev-python/jaraco-collections/Manifest @@ -1,2 +1 @@ -DIST jaraco.collections-5.0.0.tar.gz 17852 BLAKE2B 2ba362417835faea2f3ebfb24c8eeac2b302c64d2f653cf820f16218b5ae92aff270a14680ecee82847f65338d1dafbf9951e92f5874e7df79fd27918d9a2456 SHA512 bc4bf9159c3f2878fb3ed57e311c894986fa106af96423a612f25dbefb51f8dfc77fa1468612a224fbe26c64270745ff1c1db7d05d7c3f5d51040a8773298a73 DIST jaraco.collections-5.0.1.tar.gz 17990 BLAKE2B a78de1a3222492dde34271edd8032dc5b8737dc428c1aa6b55ebda799ef4ff986cb0cf495bdbc35f9c776e1d576c2970ae6736ba8d8aa7f2fcc2e6766aefbbc3 SHA512 88b0f261acd91d585e643b810818762af7165eaf505099701b99ee3be6955eebcfd1c95690faa3ecb56b25f6982a8cee242e687e50ead56a557a5b2b72ec6dfe diff --git a/dev-python/jaraco-collections/jaraco-collections-5.0.0.ebuild b/dev-python/jaraco-collections/jaraco-collections-5.0.0.ebuild deleted file mode 100644 index 0a799c220252..000000000000 --- a/dev-python/jaraco-collections/jaraco-collections-5.0.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Models and classes to supplement the stdlib collections module" -HOMEPAGE=" - https://github.com/jaraco/jaraco.collections/ - https://pypi.org/project/jaraco.collections/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/jaraco-text[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-scm-1.15.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/jaraco-collections/jaraco-collections-5.0.1.ebuild b/dev-python/jaraco-collections/jaraco-collections-5.0.1.ebuild index c57882621616..95a54c65123f 100644 --- a/dev-python/jaraco-collections/jaraco-collections-5.0.1.ebuild +++ b/dev-python/jaraco-collections/jaraco-collections-5.0.1.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/jaraco-text[${PYTHON_USEDEP}] diff --git a/dev-python/jaraco-context/Manifest b/dev-python/jaraco-context/Manifest index e95f206d6d7f..ed864f9d20e2 100644 --- a/dev-python/jaraco-context/Manifest +++ b/dev-python/jaraco-context/Manifest @@ -1,3 +1,2 @@ -DIST jaraco.context-4.3.0.tar.gz 9764 BLAKE2B 2905723ec54c6ae63b2088d677cd486dcdc06dfea06bb058eeb512da508b2ae74990894cb62f3751321cb4c813b66ffe9a3084b21eb0cb4236a9515969432dfc SHA512 8882229fa1a68f2733ec4103fbeaf47625b19790f4461ab18df4c1f1a99d4d26d10d7381ab68ba5df48616a1fdb2d5e4a767496a0e40658fd011ed9cd39255de DIST jaraco.context-5.1.0.tar.gz 11626 BLAKE2B c6ac691c6493e0aed5d606784f8418e55fb0c6c8094aa75251ffb12008fb9b4fbfe0912e6ef316d7799d2c0f55be6ba542202f6b8b2bc93afa3a79da4224d35f SHA512 b92c72947060e2219c172c43104055d026f66b119676fcfa31dff34640539d34376b61d209291fffeb558e6051fb92a2a34390fbd3a72f87ee15c5926cb387e5 DIST jaraco.context-5.3.0.tar.gz 13345 BLAKE2B d2f429335ea80a6b50ea9574adc45c25c0fc78e8ebb5edde218bcbbe7a2b27ae6b5c17453e71904240d0d873ebef36f7c7aeda4424d3fea2dd9aaf01af6fb4c5 SHA512 f63bf272c45ff5c43499621651b78841259040ac98d67c9db75fadebb1c497c1156e05f23bf7c91df3e91f1e070acb9f7dc665e7b242ba7b1ac1cf99a619494d diff --git a/dev-python/jaraco-context/jaraco-context-4.3.0.ebuild b/dev-python/jaraco-context/jaraco-context-4.3.0.ebuild deleted file mode 100644 index b0c8171ea6e6..000000000000 --- a/dev-python/jaraco-context/jaraco-context-4.3.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep -EAPI=7 - -DISTUTILS_USE_PEP517=flit -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Context managers by jaraco" -HOMEPAGE=" - https://github.com/jaraco/jaraco.context/ - https://pypi.org/project/jaraco.context/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -distutils_enable_tests pytest - -src_configure() { - grep -q 'build-backend = "setuptools' pyproject.toml || - die "Upstream changed build-backend, recheck" - # write a custom pyproject.toml to ease setuptools bootstrap - cat > pyproject.toml <<-EOF || die - [build-system] - requires = ["flit_core >=3.2,<4"] - build-backend = "flit_core.buildapi" - - [project] - name = "jaraco.context" - version = "${PV}" - description = "Context managers by jaraco" - EOF -} - -python_install() { - distutils-r1_python_install - # rename to workaround a bug in pkg_resources - # https://bugs.gentoo.org/834522 - mv "${D}$(python_get_sitedir)"/jaraco{_,.}context-${PV}.dist-info || die -} diff --git a/dev-python/jaraco-context/jaraco-context-5.1.0.ebuild b/dev-python/jaraco-context/jaraco-context-5.1.0.ebuild index 7cf576c0a86a..ca0ae619ca68 100644 --- a/dev-python/jaraco-context/jaraco-context-5.1.0.ebuild +++ b/dev-python/jaraco-context/jaraco-context-5.1.0.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" distutils_enable_tests pytest diff --git a/dev-python/jaraco-context/jaraco-context-5.3.0.ebuild b/dev-python/jaraco-context/jaraco-context-5.3.0.ebuild index 40bdfafed439..5ace6d25e305 100644 --- a/dev-python/jaraco-context/jaraco-context-5.3.0.ebuild +++ b/dev-python/jaraco-context/jaraco-context-5.3.0.ebuild @@ -7,7 +7,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit PYPI_NO_NORMALIZE=1 PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/jaraco-env/jaraco-env-1.0.0.ebuild b/dev-python/jaraco-env/jaraco-env-1.0.0.ebuild index 1f1fda78a4b8..89894f3a3165 100644 --- a/dev-python/jaraco-env/jaraco-env-1.0.0.ebuild +++ b/dev-python/jaraco-env/jaraco-env-1.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/jaraco-envs/jaraco-envs-2.6.0.ebuild b/dev-python/jaraco-envs/jaraco-envs-2.6.0.ebuild index c74d398bc787..d148db04077f 100644 --- a/dev-python/jaraco-envs/jaraco-envs-2.6.0.ebuild +++ b/dev-python/jaraco-envs/jaraco-envs-2.6.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/jaraco-functools/Manifest b/dev-python/jaraco-functools/Manifest index af2b5b49dc72..eed4c2506fb3 100644 --- a/dev-python/jaraco-functools/Manifest +++ b/dev-python/jaraco-functools/Manifest @@ -1 +1 @@ -DIST jaraco.functools-4.0.0.tar.gz 17779 BLAKE2B ef403411f60e956a723350c949cdbd13fa36473ce77f6b1cea4eb5eaedbd2edd4ea902b8c062d53411c7bc12dcfd3879b0f1c82a1d21c28575f0298eb03f868d SHA512 2545bf3b9c9357ae867e7a5627582e14d0bdf25bac6acc5fbbb7e86f7aa24bc33b5bca584543b4180abdde203610b9716950110253045c1fe11f8bd045283c78 +DIST jaraco_functools-4.0.1.tar.gz 18169 BLAKE2B 86d5b8020f9c44b8dc373fd2f07a8c5f11cb2a7ec069541763ce92562fb230b557a4c3783e899713136c71e457985bc7e4abb0becde9ca7eaacf7798b5815269 SHA512 04e0ea4719ec8c4439e5a1dd3c3ba0241b21b54b06d53ecc44263046e994aa736b9d196490edd3fd9d7ea997c23c177b30db506b2088bd9de62c637856101982 diff --git a/dev-python/jaraco-functools/jaraco-functools-4.0.0.ebuild b/dev-python/jaraco-functools/jaraco-functools-4.0.1.ebuild index 56f61ce83156..b81cb08e6bbc 100644 --- a/dev-python/jaraco-functools/jaraco-functools-4.0.0.ebuild +++ b/dev-python/jaraco-functools/jaraco-functools-4.0.1.ebuild @@ -1,13 +1,12 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # please keep this ebuild at EAPI 8 -- sys-apps/portage dep EAPI=8 DISTUTILS_USE_PEP517=flit -PYPI_NO_NORMALIZE=1 PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/jaraco-path/jaraco-path-3.7.0.ebuild b/dev-python/jaraco-path/jaraco-path-3.7.0.ebuild index 47bb3cf8e848..b0fdda03077b 100644 --- a/dev-python/jaraco-path/jaraco-path-3.7.0.ebuild +++ b/dev-python/jaraco-path/jaraco-path-3.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/jaraco-test/jaraco-test-5.4.0.ebuild b/dev-python/jaraco-test/jaraco-test-5.4.0.ebuild index 185131c7284f..005487247012 100644 --- a/dev-python/jaraco-test/jaraco-test-5.4.0.ebuild +++ b/dev-python/jaraco-test/jaraco-test-5.4.0.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -28,6 +28,13 @@ RDEPEND=" distutils_enable_tests pytest +src_test() { + # workaround namespaces blocking test.support import (sigh!) + mv jaraco/test jaraco_test || die + rmdir jaraco || die + distutils-r1_src_test +} + python_test() { # while technically these tests are skipped when Internet is # not available (they test whether auto-skipping works), we don't diff --git a/dev-python/jaraco-text/jaraco-text-3.12.0.ebuild b/dev-python/jaraco-text/jaraco-text-3.12.0.ebuild index 407c5792a3af..4fc6f1b0833c 100644 --- a/dev-python/jaraco-text/jaraco-text-3.12.0.ebuild +++ b/dev-python/jaraco-text/jaraco-text-3.12.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # please keep this ebuild at EAPI 8 -- sys-apps/portage dep @@ -7,7 +7,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit PYPI_NO_NORMALIZE=1 PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/jaraco-vcs/Manifest b/dev-python/jaraco-vcs/Manifest new file mode 100644 index 000000000000..b34c392f95e2 --- /dev/null +++ b/dev-python/jaraco-vcs/Manifest @@ -0,0 +1,2 @@ +DIST jaraco_vcs-2.1.0.tar.gz 16434 BLAKE2B 96ca37435b5fdd9bc5e7825ba21ff1aa70285885724bfa9bcbdc21531c15d9952336b888846d2e3200e619ee40da68741cc83205e81925f2a8d9b7a833f0fc8c SHA512 72d1a4ee5c29cdd8122a39c856ec9f910fb4d4ffc0d88f1e9c99723f5a076e1166aed842ba54286b8f14b41cb4c570cd7a9862a33fe7f15cdf637a114f4147ae +DIST jaraco_vcs-2.2.0.tar.gz 16660 BLAKE2B 9d48f78839e0e13aa5a520a167144deadce0d607c0bb378370d930d0aa1d94fe5778206384f29a449499e73b3cafc716358417d41f3016115b347d686e557269 SHA512 a842db1dac4beca4273b4a3afaec804bfc89286ad6eba6f9f47cd2b4dab7e04d9d12136bf555108fdbfe133fe62c71935be990b79cb0801766cc565c21343339 diff --git a/dev-python/jaraco-vcs/jaraco-vcs-2.1.0.ebuild b/dev-python/jaraco-vcs/jaraco-vcs-2.1.0.ebuild new file mode 100644 index 000000000000..b6e8b34be387 --- /dev/null +++ b/dev-python/jaraco-vcs/jaraco-vcs-2.1.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2024 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..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Facilities for working with VCS repositories" +HOMEPAGE=" + https://github.com/jaraco/jaraco.vcs/ + https://pypi.org/project/jaraco.vcs/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc" + +RDEPEND=" + dev-python/jaraco-classes[${PYTHON_USEDEP}] + dev-python/jaraco-versioning[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jaraco-path[${PYTHON_USEDEP}] + dev-vcs/git + !s390? ( !sparc? ( + dev-vcs/mercurial + ) ) + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # assumes running inside the git repo + jaraco/vcs/__init__.py::jaraco.vcs +) diff --git a/dev-python/jaraco-vcs/jaraco-vcs-2.2.0.ebuild b/dev-python/jaraco-vcs/jaraco-vcs-2.2.0.ebuild new file mode 100644 index 000000000000..25da53863310 --- /dev/null +++ b/dev-python/jaraco-vcs/jaraco-vcs-2.2.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2024 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..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Facilities for working with VCS repositories" +HOMEPAGE=" + https://github.com/jaraco/jaraco.vcs/ + https://pypi.org/project/jaraco.vcs/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~riscv ~s390 ~x86" + +RDEPEND=" + dev-python/jaraco-classes[${PYTHON_USEDEP}] + dev-python/jaraco-versioning[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jaraco-path[${PYTHON_USEDEP}] + dev-vcs/git + !s390? ( !sparc? ( + dev-vcs/mercurial + ) ) + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # assumes running inside the git repo + jaraco/vcs/__init__.py::jaraco.vcs +) diff --git a/dev-python/sumtypes/metadata.xml b/dev-python/jaraco-vcs/metadata.xml index 98c7a6352e36..d2bc5e8640ce 100644 --- a/dev-python/sumtypes/metadata.xml +++ b/dev-python/jaraco-vcs/metadata.xml @@ -6,7 +6,7 @@ </maintainer> <stabilize-allarches/> <upstream> - <remote-id type="github">radix/sumtypes</remote-id> - <remote-id type="pypi">sumtypes</remote-id> + <remote-id type="github">jaraco/jaraco.vcs</remote-id> + <remote-id type="pypi">jaraco.vcs</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/jaraco-versioning/Manifest b/dev-python/jaraco-versioning/Manifest new file mode 100644 index 000000000000..d44373184e38 --- /dev/null +++ b/dev-python/jaraco-versioning/Manifest @@ -0,0 +1 @@ +DIST jaraco.versioning-1.1.0.tar.gz 9193 BLAKE2B 53839065296a9ae0ecf48553ee4beeffa5771257c58ae2799c15d58a9d0e0accb5b361ca0ac67bc6d69ae3c15aaece96aa479159a3df7ecd545eb75e21240d8b SHA512 aa2e93bb13fa4ca9f2df07f65bc801b3f03566df06be1b388fd1651c3610c59f691170db8de27146c602ef5df2306809efe3a84dc23c1a9e9d6806ad4ce27906 diff --git a/dev-python/jaraco-versioning/jaraco-versioning-1.1.0.ebuild b/dev-python/jaraco-versioning/jaraco-versioning-1.1.0.ebuild new file mode 100644 index 000000000000..68d1d5b5ffe2 --- /dev/null +++ b/dev-python/jaraco-versioning/jaraco-versioning-1.1.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="More sophisticated version manipulation (than packaging)" +HOMEPAGE=" + https://github.com/jaraco/jaraco.versioning/ + https://pypi.org/project/jaraco.versioning/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/sphinxcontrib-asyncio/metadata.xml b/dev-python/jaraco-versioning/metadata.xml index 0fe2c2780fe9..22a407f2797a 100644 --- a/dev-python/sphinxcontrib-asyncio/metadata.xml +++ b/dev-python/jaraco-versioning/metadata.xml @@ -6,7 +6,7 @@ </maintainer> <stabilize-allarches/> <upstream> - <remote-id type="github">aio-libs/sphinxcontrib-asyncio</remote-id> - <remote-id type="pypi">sphinxcontrib-asyncio</remote-id> + <remote-id type="github">jaraco/jaraco.versioning</remote-id> + <remote-id type="pypi">jaraco.versioning</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/jellyfish/jellyfish-1.0.3.ebuild b/dev-python/jellyfish/jellyfish-1.0.3.ebuild index 210b729bc9d2..a115f81b3f34 100644 --- a/dev-python/jellyfish/jellyfish-1.0.3.ebuild +++ b/dev-python/jellyfish/jellyfish-1.0.3.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) CRATES=" ahash@0.8.6 @@ -83,3 +83,7 @@ KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86" QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/jellyfish/_rustyfish.*.so" distutils_enable_tests pytest + +python_test_all() { + cargo_src_test +} diff --git a/dev-python/jinja/Manifest b/dev-python/jinja/Manifest index 4bbe2f1c3895..6bd39cf404da 100644 --- a/dev-python/jinja/Manifest +++ b/dev-python/jinja/Manifest @@ -1 +1,2 @@ DIST jinja-3.1.3.gh.tar.gz 274692 BLAKE2B 0c66600104db89ed17c0a0c58180e8a348f9d505504f4ae1bee01c8c09053994140f87a4d336255e292258f15adc3e535deef494e8fda980ef76547268ddc4fa SHA512 1f4384b3a1cd0f8e128608aa11d00c41f93b6be41459d9e5d8f50e6f879d2427aaea5d04681c85a1577651b9dc434c11c5e7c7caecef6f5fe26518a3d2fdc77e +DIST jinja2-3.1.4.tar.gz 240245 BLAKE2B cb70699cea93ddf53b7c8876b9006cc70599d49f8c64ab615759a53db6829cab7b55ac673777bc4c8dc5dfc68efada29d37f47fe7cf449044721f659fe6a654d SHA512 d07d68a2687af68c705d3b7f5a2c67aca7b9d125316b15085888b9d0d6e769981af76f6f524728b89b5501bd671d518fcb2638f9ae112e57ca2bf2a53482cd89 diff --git a/dev-python/jinja/files/jinja-3.1.4-py313.patch b/dev-python/jinja/files/jinja-3.1.4-py313.patch new file mode 100644 index 000000000000..b68091e5397a --- /dev/null +++ b/dev-python/jinja/files/jinja-3.1.4-py313.patch @@ -0,0 +1,67 @@ +From 679af7f816ced8941ed5cf9b151a0cac543d0336 Mon Sep 17 00:00:00 2001 +From: Thomas Grainger <tagrain@gmail.com> +Date: Mon, 13 May 2024 18:02:35 +0100 +Subject: [PATCH] fix test_package_zip_list on 3.13 + +--- + src/jinja2/loaders.py | 32 ++++++++++++++++++++++++++------ + tests/test_loader.py | 2 +- + 2 files changed, 27 insertions(+), 7 deletions(-) + +diff --git a/src/jinja2/loaders.py b/src/jinja2/loaders.py +index 9eaf647ba..8c2c86cd0 100644 +--- a/src/jinja2/loaders.py ++++ b/src/jinja2/loaders.py +@@ -238,6 +238,30 @@ def list_templates(self) -> t.List[str]: + return sorted(found) + + ++if sys.version_info >= (3, 13): ++ ++ def _get_zipimporter_files(z: t.Any) -> t.Dict[str, object]: ++ try: ++ get_files = z._get_files ++ except AttributeError as e: ++ raise TypeError( ++ "This zip import does not have the required" ++ " metadata to list templates." ++ ) from e ++ return get_files() ++else: ++ ++ def _get_zipimporter_files(z: t.Any) -> t.Dict[str, object]: ++ try: ++ files = z._files ++ except AttributeError as e: ++ raise TypeError( ++ "This zip import does not have the required" ++ " metadata to list templates." ++ ) from e ++ return files # type: ignore[no-any-return] ++ ++ + class PackageLoader(BaseLoader): + """Load templates from a directory in a Python package. + +@@ -382,11 +406,7 @@ def list_templates(self) -> t.List[str]: + for name in filenames + ) + else: +- if not hasattr(self._loader, "_files"): +- raise TypeError( +- "This zip import does not have the required" +- " metadata to list templates." +- ) ++ files = _get_zipimporter_files(self._loader) + + # Package is a zip file. + prefix = ( +@@ -395,7 +415,7 @@ def list_templates(self) -> t.List[str]: + ) + offset = len(prefix) + +- for name in self._loader._files.keys(): ++ for name in files: + # Find names under the templates directory that aren't directories. + if name.startswith(prefix) and name[-1] != os.path.sep: + results.append(name[offset:].replace(os.path.sep, "/")) diff --git a/dev-python/jinja/jinja-3.1.4.ebuild b/dev-python/jinja/jinja-3.1.4.ebuild new file mode 100644 index 000000000000..6f74d056289b --- /dev/null +++ b/dev-python/jinja/jinja-3.1.4.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYPI_PN=jinja2 +PYTHON_COMPAT=( python3_{10..13} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="A full-featured template engine for Python" +HOMEPAGE=" + https://palletsprojects.com/p/jinja/ + https://github.com/pallets/jinja/ + https://pypi.org/project/Jinja2/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" + +RDEPEND=" + >=dev-python/markupsafe-2.0[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-issues \ + dev-python/pallets-sphinx-themes +distutils_enable_tests pytest + +# XXX: handle Babel better? + +src_prepare() { + local PATCHES=( + # https://github.com/pallets/jinja/pull/1979 + "${FILESDIR}/${P}-py313.patch" + ) + + # avoid unnecessary dep on extra sphinxcontrib modules + sed -i '/sphinxcontrib.log_cabinet/ d' docs/conf.py || die + + distutils-r1_src_prepare +} + +pkg_postinst() { + if ! has_version dev-python/Babel; then + elog "For i18n support, please emerge dev-python/Babel." + fi +} diff --git a/dev-python/joblib/Manifest b/dev-python/joblib/Manifest index f54e2992b3dd..0ea7d8f50d4b 100644 --- a/dev-python/joblib/Manifest +++ b/dev-python/joblib/Manifest @@ -1,2 +1 @@ -DIST joblib-1.3.2.tar.gz 1987720 BLAKE2B f16235ead3ef0172a1e0dc2abad44967b029196f6c8c7a7e0c64283cac80e2b942ebfc2df5fa975bc152f574db023a9705f48b38855a11878e5c21e04cf7d831 SHA512 9b5acba1321351cf2ae548161ced18774b8b316aaf883cc8e77bf58898d1913361a3845d64f1f1f87e4e2394eafd92e0a6a8d67947db0c9a95a40e5f579baae6 -DIST joblib-1.4.0.tar.gz 2115863 BLAKE2B cd61f3523ee697382db601ebb460aa6f4cd35947978fb07473c5e2e5337713a05aee8339acee211be0076d84a00174c37623cd6010b492aee84337abc2e5e633 SHA512 5c7e5475347906cdc8575eac8d2052470408c4ed5267d59a88a9d3126fb72b977d20b24fb0983b070e2f3c101e7da000fc03231733fef62531f9aeffacc47baf +DIST joblib-1.4.2.tar.gz 2116621 BLAKE2B e6c00a2308099690ddb89956b090996405d0b1c214e810b4c6ea4fe32bec8f297a324e6faa7c5f459c5ade84230d9b09e263b344069f43523208acf761d7b006 SHA512 d4c84803207ace0025701261f9e7976329e2ff9fa18a3155be1afe1f03ebfd470772e39e94b3ed01f9d1409589991c9592dc4188bca86dba158c44c70355441b diff --git a/dev-python/joblib/files/joblib-1.3.2-py3.12-avoid-ast.num-and-node.n.patch b/dev-python/joblib/files/joblib-1.3.2-py3.12-avoid-ast.num-and-node.n.patch deleted file mode 100644 index a9865e00380e..000000000000 --- a/dev-python/joblib/files/joblib-1.3.2-py3.12-avoid-ast.num-and-node.n.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/joblib/_utils.py b/joblib/_utils.py -index 7693310e0..6cd99ad31 100644 ---- a/joblib/_utils.py -+++ b/joblib/_utils.py -@@ -35,8 +35,8 @@ def eval_expr(expr): - - - def eval_(node): -- if isinstance(node, ast.Num): # <number> -- return node.n -+ if isinstance(node, ast.Constant): # <constant> -+ return node.value - elif isinstance(node, ast.BinOp): # <left> <operator> <right> - return operators[type(node.op)](eval_(node.left), eval_(node.right)) - elif isinstance(node, ast.UnaryOp): # <operator> <operand> e.g., -1 diff --git a/dev-python/joblib/files/joblib-1.3.2-py3.12-no-depr-warn.patch b/dev-python/joblib/files/joblib-1.3.2-py3.12-no-depr-warn.patch deleted file mode 100644 index 4d5a28815e4a..000000000000 --- a/dev-python/joblib/files/joblib-1.3.2-py3.12-no-depr-warn.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/joblib/test/test_parallel.py b/joblib/test/test_parallel.py -index 906d436..c4a727c 100644 ---- a/joblib/test/test_parallel.py -+++ b/joblib/test/test_parallel.py -@@ -189,6 +189,10 @@ def test_main_thread_renamed_no_warning(backend, monkeypatch): - # warninfo catches Warnings from worker timeouts. We remove it if it exists - warninfo = [w for w in warninfo if "worker timeout" not in str(w.message)] - -+ # We don't want to count DeprecationWarnings -+ warninfo = [w for w in warninfo -+ if not isinstance(w.message, DeprecationWarning)] -+ - # The multiprocessing backend will raise a warning when detecting that is - # started from the non-main thread. Let's check that there is no false - # positive because of the name change. diff --git a/dev-python/joblib/joblib-1.3.2.ebuild b/dev-python/joblib/joblib-1.3.2.ebuild deleted file mode 100644 index eacb811bfeb7..000000000000 --- a/dev-python/joblib/joblib-1.3.2.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 pypi - -DESCRIPTION="Tools to provide lightweight pipelining in Python" -HOMEPAGE=" - https://joblib.readthedocs.io/en/latest/ - https://github.com/joblib/joblib/ - https://pypi.org/project/joblib/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv x86 ~arm64-macos ~x64-macos" - -RDEPEND=" - dev-python/cloudpickle[${PYTHON_USEDEP}] - dev-python/loky[${PYTHON_USEDEP}] -" -# joblib is imported by setup.py so we need ${RDEPEND} -BDEPEND=" - ${RDEPEND} - test? ( - dev-python/threadpoolctl[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - # Borrowed from Fedora: https://github.com/joblib/joblib/issues/1478 - "${FILESDIR}/${P}-py3.12-no-depr-warn.patch" - # https://github.com/joblib/joblib/pull/1518 - "${FILESDIR}/${P}-py3.12-avoid-ast.num-and-node.n.patch" -) - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # https://github.com/joblib/joblib/issues/1115 - joblib/test/test_memory.py::test_parallel_call_cached_function_defined_in_jupyter - # unexpectedly pickleable? - joblib/test/test_hashing.py::test_hashing_pickling_error -) - -python_prepare_all() { - # unbundle - rm -r joblib/externals || die - sed -e "/joblib.externals/d" -i pyproject.toml || die - find -name '*.py' -exec \ - sed -e 's:\(joblib\)\?\.externals\.::' \ - -e 's:from \.externals ::' \ - -i {} + || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/joblib/joblib-1.4.0.ebuild b/dev-python/joblib/joblib-1.4.2.ebuild index 428a8245bd46..aa95f7bec3b5 100644 --- a/dev-python/joblib/joblib-1.4.0.ebuild +++ b/dev-python/joblib/joblib-1.4.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv x86 ~arm64-macos ~x64-macos" RDEPEND=" dev-python/cloudpickle[${PYTHON_USEDEP}] diff --git a/dev-python/jq/Manifest b/dev-python/jq/Manifest index 6ec16716199d..df3fd7230d38 100644 --- a/dev-python/jq/Manifest +++ b/dev-python/jq/Manifest @@ -1,2 +1 @@ -DIST jq.py-1.6.0.gh.tar.gz 2842673 BLAKE2B 5ef2d2c6641483123b030c508b04e8f1574a5ca3168a2bacfd7c5a4ad01344d677f723cc3317677275496bd56412c5ab64370ed87b70dcb91dd1d8328daf65a8 SHA512 91e2c0890cece4f09e362c0ae691c768be64ba0d8e0d7441c9a459be37ff70ee816d179c21759ee053b2b434fc0a6998d90b660ae1f1456d4f506474cb80d88e DIST jq.py-1.7.0.gh.tar.gz 1953673 BLAKE2B 861dcb706ef801ff3abb47a6b85fb8aad03988c717a67063d737667ce6853c89dbe10bf61dac517701b8b3e3af6b97d12a15ed03aa0d5a6e6d0d3fa2697e9284 SHA512 918e4537eacf55d0cce888b1946b13acb6d177906d704c99e0b1cc88a55a2929fbeccef7d3fa61daaf0290a97afec581d23a641bdbfc0c700744422135fbcad6 diff --git a/dev-python/jq/jq-1.6.0-r1.ebuild b/dev-python/jq/jq-1.6.0-r1.ebuild deleted file mode 100644 index 28c6e6e21da8..000000000000 --- a/dev-python/jq/jq-1.6.0-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2021-2023 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} ) - -inherit distutils-r1 - -MY_P="jq.py-${PV}" -DESCRIPTION="Python bindings for jq" -HOMEPAGE=" - https://github.com/mwilliamson/jq.py/ - https://pypi.org/project/jq/ -" -SRC_URI=" - https://github.com/mwilliamson/jq.py/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 x86" - -# Minimum versions of jq + onigurama are from setup.py's bundled versions -RDEPEND=" - >=app-misc/jq-1.7:= - >=dev-libs/oniguruma-6.9.8:= -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_compile() { - local -x JQPY_USE_SYSTEM_LIBS=1 - - # Cython compilation isn't part of setup.py, so do it manually - "${EPYTHON}" -m cython -3 jq.pyx -o jq.c || die - distutils-r1_python_compile -} diff --git a/dev-python/jq/jq-1.7.0.ebuild b/dev-python/jq/jq-1.7.0.ebuild index de4242515879..2727438ff8be 100644 --- a/dev-python/jq/jq-1.7.0.ebuild +++ b/dev-python/jq/jq-1.7.0.ebuild @@ -24,7 +24,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" # Minimum versions of jq + onigurama are from setup.py's bundled versions DEPEND=" diff --git a/dev-python/json5/Manifest b/dev-python/json5/Manifest index fe65b21d9761..f2fca4b3dfca 100644 --- a/dev-python/json5/Manifest +++ b/dev-python/json5/Manifest @@ -1,2 +1 @@ -DIST json5-0.9.24.tar.gz 40085 BLAKE2B 6e2823eb9aa982837111d587fc775fe6da11a5071a677d50ede6124cac7133faf99f8c73eeb61820eda2efe798d8ed8b30d3fb4601728a66cde294adcadd1b21 SHA512 ccc9fdc129a8857ca507601a7e52c119648550ecd9d256caf5bf558c7338998712b0e1d9294eb0fc62f630f53897f6993a56a352a5b7bcb49e21c4b989ac4ef3 DIST json5-0.9.25.tar.gz 40332 BLAKE2B 4b24a2f3047c04ce80b0415340ce2d957d319bd45e804147710eb7c1eb0da97b083220839a6e11b852d8c9df5036e2a401060cdec93442245e220fc816d7811f SHA512 0ce3943af45e22415b30a3d43497236a1437adb67b739b97db7bb25b156bb254d0daf613f1f0ba5fafc5904708db81c8a786237ade757267f767afa88d5aa2f2 diff --git a/dev-python/json5/json5-0.9.24.ebuild b/dev-python/json5/json5-0.9.24.ebuild deleted file mode 100644 index 90c8fcac19c6..000000000000 --- a/dev-python/json5/json5-0.9.24.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A Python implementation of the JSON5 data format" -HOMEPAGE=" - https://github.com/dpranke/pyjson5/ - https://pypi.org/project/json5/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" - -distutils_enable_tests pytest diff --git a/dev-python/json5/json5-0.9.25.ebuild b/dev-python/json5/json5-0.9.25.ebuild index ef679f5690a7..90c8fcac19c6 100644 --- a/dev-python/json5/json5-0.9.25.ebuild +++ b/dev-python/json5/json5-0.9.25.ebuild @@ -16,6 +16,6 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" distutils_enable_tests pytest diff --git a/dev-python/jsonpickle/Manifest b/dev-python/jsonpickle/Manifest index 0379ee7ba86a..3caa247709bf 100644 --- a/dev-python/jsonpickle/Manifest +++ b/dev-python/jsonpickle/Manifest @@ -1,2 +1 @@ -DIST jsonpickle-3.0.3.gh.tar.gz 259093 BLAKE2B a281f2054a4b7d66c746abecebb06326682e365941cfb880426bafc3aa0156202463a222a5c24a8eed89eb16ed90d01f38fa9728385e301c62ce27ee6abac770 SHA512 c3576c80d727f7b4f43e993a1dc68b0194dc4308cab9c7a9e3bd7e220a51fe2c2524c02d6afb5c1ead3c37c02d10c1106e89650fe6e609b5052f2a367150e8d1 DIST jsonpickle-3.0.4.gh.tar.gz 260847 BLAKE2B ba990a59276463b66401cc9fdad2c91dfd18a172fa1cb2f0b89cbeb1a280360f6e1d5bf7cc3ec94069b1d05e4eb11d3fc52a594542f31ead220622aa01e0df99 SHA512 e6ad7ae30cc4d56323b612fcf599109828fcf76acfba266a1bed850a633603edc8829f29d8981659460a9941531d6735375a03775c9d7bd51c210edbf7414b1c diff --git a/dev-python/jsonpickle/jsonpickle-3.0.3.ebuild b/dev-python/jsonpickle/jsonpickle-3.0.3.ebuild deleted file mode 100644 index 5cef5c19d745..000000000000 --- a/dev-python/jsonpickle/jsonpickle-3.0.3.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Python library for serializing any arbitrary object graph into JSON" -HOMEPAGE=" - https://github.com/jsonpickle/jsonpickle/ - https://pypi.org/project/jsonpickle/ -" -SRC_URI=" - https://github.com/jsonpickle/jsonpickle/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux" - -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/feedparser[${PYTHON_USEDEP}] - dev-python/gmpy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}] - dev-python/sqlalchemy[${PYTHON_USEDEP}] - dev-python/ujson[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - sed -i -e 's:--cov::' pytest.ini || die - distutils-r1_python_prepare_all - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} -} - -python_test() { - local EPYTEST_IGNORE=( - # unpackaged bson dependency - tests/bson_test.py - ) - - if ! has_version "dev-python/gmpy[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( jsonpickle/ext/gmpy.py ) - fi - if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( jsonpickle/ext/pandas.py ) - fi - - epytest -} - -pkg_postinst() { - # Unpackaged optional backends: yajl, demjson - optfeature "encoding numpy-based data" dev-python/numpy - optfeature "encoding pandas objects" dev-python/pandas - optfeature "fast JSON backend" dev-python/simplejson -} diff --git a/dev-python/jsonpickle/jsonpickle-3.0.4.ebuild b/dev-python/jsonpickle/jsonpickle-3.0.4.ebuild index 2f49cf2a4bad..5cef5c19d745 100644 --- a/dev-python/jsonpickle/jsonpickle-3.0.4.ebuild +++ b/dev-python/jsonpickle/jsonpickle-3.0.4.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] diff --git a/dev-python/jsonpointer/jsonpointer-2.4.ebuild b/dev-python/jsonpointer/jsonpointer-2.4.ebuild index 88ebf8e38935..633d2c32567a 100644 --- a/dev-python/jsonpointer/jsonpointer-2.4.ebuild +++ b/dev-python/jsonpointer/jsonpointer-2.4.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/jsonschema-specifications/jsonschema-specifications-2023.12.1.ebuild b/dev-python/jsonschema-specifications/jsonschema-specifications-2023.12.1.ebuild index 162b48ac20c6..50d28d04e35d 100644 --- a/dev-python/jsonschema-specifications/jsonschema-specifications-2023.12.1.ebuild +++ b/dev-python/jsonschema-specifications/jsonschema-specifications-2023.12.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest index cbf323dbc218..f439c644e693 100644 --- a/dev-python/jsonschema/Manifest +++ b/dev-python/jsonschema/Manifest @@ -1 +1,2 @@ DIST jsonschema-4.21.1.tar.gz 321491 BLAKE2B 5c8fad04bf62af3f9204818cc5cff88dcc492b7957439be2a2fd8c0731a986c223d1612ab79d47696fa5695224fceacea35b5e699466f14393adc2cf9d89c83f SHA512 b0744a80d64572307860c9238ff5048e062b7665d9ed97dd390bae0b168ab96497f359ddc4e95f052d8b177161e5b808ee432bd9fe182c1ea39cbad417db9278 +DIST jsonschema-4.22.0.tar.gz 325490 BLAKE2B aa0fcd9cb35ffe93d9e7ae940f9fbfc6e20656b09bdec91163ee7120b3495210522c2354dd3e74b33274f61bd9364b6b33f9e6482bac58b2ee0c6dd4bba3658e SHA512 72c9ffd1edf8820696d831062cfae2d38729935b32d12b7fa5171fefa3d38d495b588152c07224a5c9d1f4b9f97bd9b2aa7919d3d4ecdae0ba396e60e954b1c5 diff --git a/dev-python/jsonschema/jsonschema-4.22.0.ebuild b/dev-python/jsonschema/jsonschema-4.22.0.ebuild new file mode 100644 index 000000000000..b96024016a08 --- /dev/null +++ b/dev-python/jsonschema/jsonschema-4.22.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="An implementation of JSON-Schema validation for Python" +HOMEPAGE=" + https://pypi.org/project/jsonschema/ + https://github.com/python-jsonschema/jsonschema/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-specifications-2023.03.6[${PYTHON_USEDEP}] + >=dev-python/referencing-0.28.4[${PYTHON_USEDEP}] + >=dev-python/rpds-py-0.7.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + test? ( + !!dev-python/shiboken6 + ) +" + +# formatter deps +RDEPEND+=" + dev-python/fqdn[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/isoduration[${PYTHON_USEDEP}] + >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}] + dev-python/rfc3339-validator[${PYTHON_USEDEP}] + dev-python/rfc3986-validator[${PYTHON_USEDEP}] + dev-python/rfc3987[${PYTHON_USEDEP}] + dev-python/uri-template[${PYTHON_USEDEP}] + >=dev-python/webcolors-1.11[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # requires pip, does not make much sense for the users + jsonschema/tests/test_cli.py::TestCLIIntegration::test_license + # fragile warning tests + jsonschema/tests/test_deprecations.py + # wtf? + jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug +) diff --git a/dev-python/jupyter-core/jupyter-core-5.7.2.ebuild b/dev-python/jupyter-core/jupyter-core-5.7.2.ebuild index 6cfca45bde13..f92329ecead7 100644 --- a/dev-python/jupyter-core/jupyter-core-5.7.2.ebuild +++ b/dev-python/jupyter-core/jupyter-core-5.7.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi @@ -25,7 +25,6 @@ RDEPEND=" " BDEPEND=" test? ( - >=dev-python/ipython-4.0.1[${PYTHON_USEDEP}] dev-python/pip[${PYTHON_USEDEP}] ) " diff --git a/dev-python/jupyter-lsp/Manifest b/dev-python/jupyter-lsp/Manifest index 36b7e12b5083..b4c5d786072f 100644 --- a/dev-python/jupyter-lsp/Manifest +++ b/dev-python/jupyter-lsp/Manifest @@ -1,2 +1 @@ -DIST jupyter-lsp-2.2.4.tar.gz 48663 BLAKE2B 7157d52657b614af1909e681903aa5fabd5b8d4f246f8e87b281615dc9c754c23da928a806980e1f7c8230786870263cb4d9fab32e365dfe660a2e578e40552b SHA512 01d2b18ec3f9575c1d2ab1ea64f94d093fa593374ab8a1343024b78c1baf935a9fd51a4f9a65a1094b6fc59384ca244714e73066d8db13fa00de5c1f625462c6 DIST jupyter-lsp-2.2.5.tar.gz 48741 BLAKE2B c5ab6d735cab3585b5093bb3a60ae360c33414fe32ddd85bd926d71f92bb4997e846d3ac75ac8d502aacd1a296d7fd447d71cdc7d3c76f2856b2e5f5fd60f7dd SHA512 16c3b40a1557d0417553f0a9371dfa49e1b510a8fef77f4420adc2a521eeb57bb3d28d9c905388211174f47ae4dedf0c9213756288712dbe7430178d832f698b diff --git a/dev-python/jupyter-lsp/jupyter-lsp-2.2.4.ebuild b/dev-python/jupyter-lsp/jupyter-lsp-2.2.4.ebuild deleted file mode 100644 index 7bd7fd2446b8..000000000000 --- a/dev-python/jupyter-lsp/jupyter-lsp-2.2.4.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYPI_NO_NORMALIZE=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab" -HOMEPAGE=" - https://github.com/jupyter-lsp/jupyterlab-lsp - https://pypi.org/project/jupyter-lsp/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" - -RDEPEND=" - dev-python/entrypoints[${PYTHON_USEDEP}] - >=dev-python/jupyter-server-1.1.2[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_prepare_all() { - # Do not depend on pytest-cov or flake8 - sed -i -e '/--cov/d' -e '/--flake8/d' setup.cfg || die - - distutils-r1_python_prepare_all -} - -python_test() { - local EPYTEST_DESELECT=( - # hangs - jupyter_lsp/tests/test_auth.py - # Not packaged - jupyter_lsp/tests/test_detect.py::test_r_package_detection - "jupyter_lsp/tests/test_listener.py::test_listeners[bash-language-server]" - "jupyter_lsp/tests/test_listener.py::test_listeners[dockerfile-language-server-nodejs]" - "jupyter_lsp/tests/test_listener.py::test_listeners[pylsp]" - "jupyter_lsp/tests/test_listener.py::test_listeners[r-languageserver]" - "jupyter_lsp/tests/test_listener.py::test_listeners[sql-language-server]" - "jupyter_lsp/tests/test_listener.py::test_listeners[typescript-language-server]" - "jupyter_lsp/tests/test_listener.py::test_listeners[unified-language-server]" - "jupyter_lsp/tests/test_listener.py::test_listeners[vscode-css-languageserver-bin]" - "jupyter_lsp/tests/test_listener.py::test_listeners[vscode-html-languageserver-bin]" - "jupyter_lsp/tests/test_listener.py::test_listeners[vscode-json-languageserver-bin]" - "jupyter_lsp/tests/test_listener.py::test_listeners[yaml-language-server]" - "jupyter_lsp/tests/test_session.py::test_start_known[bash-language-server]" - "jupyter_lsp/tests/test_session.py::test_start_known[dockerfile-language-server-nodejs]" - "jupyter_lsp/tests/test_session.py::test_start_known[pylsp]" - "jupyter_lsp/tests/test_session.py::test_start_known[r-languageserver]" - "jupyter_lsp/tests/test_session.py::test_start_known[sql-language-server]" - "jupyter_lsp/tests/test_session.py::test_start_known[typescript-language-server]" - "jupyter_lsp/tests/test_session.py::test_start_known[unified-language-server]" - "jupyter_lsp/tests/test_session.py::test_start_known[vscode-css-languageserver-bin]" - "jupyter_lsp/tests/test_session.py::test_start_known[vscode-html-languageserver-bin]" - "jupyter_lsp/tests/test_session.py::test_start_known[vscode-json-languageserver-bin]" - "jupyter_lsp/tests/test_session.py::test_start_known[yaml-language-server]" - ) - - case ${EPYTHON} in - python3.12) - EPYTEST_DESELECT+=( - jupyter_lsp/tests/test_session.py::test_start_unknown - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -python_install_all() { - distutils-r1_python_install_all - mv "${ED}/usr/etc" "${ED}/etc" || die -} - -pkg_postinst() { - optfeature "Language server for Python" dev-python/python-lsp-server -} diff --git a/dev-python/jupyter-lsp/jupyter-lsp-2.2.5.ebuild b/dev-python/jupyter-lsp/jupyter-lsp-2.2.5.ebuild index f3f2c82c7e6a..75d26fc45fe4 100644 --- a/dev-python/jupyter-lsp/jupyter-lsp-2.2.5.ebuild +++ b/dev-python/jupyter-lsp/jupyter-lsp-2.2.5.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" RDEPEND=" dev-python/entrypoints[${PYTHON_USEDEP}] diff --git a/dev-python/jupyter-server/Manifest b/dev-python/jupyter-server/Manifest index 42c199aa5d5d..1dc07fc31ac6 100644 --- a/dev-python/jupyter-server/Manifest +++ b/dev-python/jupyter-server/Manifest @@ -1,2 +1 @@ -DIST jupyter_server-2.13.0.tar.gz 718244 BLAKE2B 578e67c6f3cc94c167c27b59e6ef3a5c7dc69048731da9480b2a4021fa52a16cce02d97d4986f5cb739cafd4041b183ccff1a4fa5b22e0cca6e46cdb9d101e86 SHA512 114387c34bf759bc9d27eedf2cb2ab12c07ddaec33d0d37c3bcaa776058c028220dc148fd7bc270644192a693b613b54d0195b5b809c2732c1e04d551b4d060c DIST jupyter_server-2.14.0.tar.gz 719491 BLAKE2B 6a742c2b4a269a23af7c54e72d551045cc17b017efe88e0cb5848aff9d9a9d0855c74ed066b316bb87d15f49984cc5787250b6191f036c8ae8bd0af7a6b53695 SHA512 57258afae5e64af6b499795795c469fd08fb2562da770ba06b78716dccee12f6662b0d6465739857aa5f3fea084eb2d8553c7205edc7b6813e4f5d61815917b3 diff --git a/dev-python/jupyter-server/jupyter-server-2.13.0.ebuild b/dev-python/jupyter-server/jupyter-server-2.13.0.ebuild deleted file mode 100644 index 9392a70bc6b3..000000000000 --- a/dev-python/jupyter-server/jupyter-server-2.13.0.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Core services, APIs, and REST endpoints to Jupyter web applications" -HOMEPAGE=" - https://jupyter.org/ - https://github.com/jupyter-server/jupyter_server/ - https://pypi.org/project/jupyter-server/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] - dev-python/argon2-cffi[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - >=dev-python/jupyter-client-7.4.4[${PYTHON_USEDEP}] - >=dev-python/jupyter-core-5.1.0[${PYTHON_USEDEP}] - dev-python/jupyter-server-terminals[${PYTHON_USEDEP}] - >=dev-python/jupyter-events-0.9.0[${PYTHON_USEDEP}] - >=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}] - >=dev-python/nbformat-5.3.0[${PYTHON_USEDEP}] - dev-python/overrides[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/prometheus-client[${PYTHON_USEDEP}] - >=dev-python/pyzmq-24[${PYTHON_USEDEP}] - >=dev-python/send2trash-1.8.2[${PYTHON_USEDEP}] - >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] - >=dev-python/tornado-6.2[${PYTHON_USEDEP}] - >=dev-python/traitlets-5.6.0[${PYTHON_USEDEP}] - dev-python/websocket-client[${PYTHON_USEDEP}] - -" -BDEPEND=" - dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] - test? ( - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/pytest-console-scripts[${PYTHON_USEDEP}] - >=dev-python/pytest-jupyter-0.7[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-tornasync[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # This fails if your terminal is zsh (and maybe other non-bash as well?) - tests/test_terminal.py - # Fails because above is ignored - tests/auth/test_authorizer.py - # Fails with additional extensions installed - tests/extension/test_app.py::test_stop_extension - ) - - # FIXME: tests seem to be affected by previously installed version - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest \ - -p pytest_tornasync.plugin \ - -p jupyter_server.pytest_plugin \ - -p pytest_console_scripts \ - -p pytest_timeout \ - -o tmp_path_retention_policy=all -} diff --git a/dev-python/jupyter-server/jupyter-server-2.14.0.ebuild b/dev-python/jupyter-server/jupyter-server-2.14.0.ebuild index 51d0d35e0e59..29564bc55704 100644 --- a/dev-python/jupyter-server/jupyter-server-2.14.0.ebuild +++ b/dev-python/jupyter-server/jupyter-server-2.14.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] diff --git a/dev-python/jupyterlab-server/Manifest b/dev-python/jupyterlab-server/Manifest index 3865e8c202e7..b5772d163fa1 100644 --- a/dev-python/jupyterlab-server/Manifest +++ b/dev-python/jupyterlab-server/Manifest @@ -1,2 +1 @@ -DIST jupyterlab_server-2.25.4.tar.gz 74772 BLAKE2B 8647840e2bb93244360db07524374f30e6831fddf6c2b89101b2a01f505470649fcc6aa31b40dc18a480628eeb791b4f7488cd91bb921796c3daad36102e535b SHA512 de04d1c5de3507a2465c316686be10ff6398be2f05d9d84ff6e79c376978503bc6ff836bfca67735d85f8ef23a15d6f30ad69268a25855dc4ebc1bd5f7c2fdaf -DIST jupyterlab_server-2.26.0.tar.gz 75100 BLAKE2B 10f507cf8b6640ee4178d2850561a5d186f9b9004b2d74de7382b4c9a03494d3553e7a2397cafb45b3be60062baf0d3df3026b1f8613e5dd2a597faad0cfc9d5 SHA512 cb9c78ae8afed53637b441767c630666d391a7ce6a19cc5cf8bcc9c3149ef570c5aeaba204878bd4d52806a6e2b9e25f9724536f1addf084bfb15855f7700125 +DIST jupyterlab_server-2.27.1.tar.gz 75524 BLAKE2B d25457954984d66ddcb52330d9a224d8e7bf85fdda7d20957a5949c95ea8d1dad0529a5135fc636911d9eef9f8663c0ef9bca71ec88f9de12cc4924b6f5ce3a5 SHA512 0ddaa2f765131357d1e75509db41a15ded720257fe956acb142e3cfb46c4cff280388b0507dead333d3c6f4cc5e6320e24be1e847c14eaf3e2f5eef0505e12c3 diff --git a/dev-python/jupyterlab-server/jupyterlab-server-2.26.0.ebuild b/dev-python/jupyterlab-server/jupyterlab-server-2.26.0.ebuild deleted file mode 100644 index 023800f2076e..000000000000 --- a/dev-python/jupyterlab-server/jupyterlab-server-2.26.0.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Server components for JupyterLab and JupyterLab like applications" -HOMEPAGE=" - https://jupyter.org/ - https://github.com/jupyterlab/jupyterlab_server/ - https://pypi.org/project/jupyterlab-server/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/Babel-2.10[${PYTHON_USEDEP}] - >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] - >=dev-python/json5-0.9.0[${PYTHON_USEDEP}] - >=dev-python/jsonschema-4.18.0[${PYTHON_USEDEP}] - >=dev-python/packaging-21.3[${PYTHON_USEDEP}] - >=dev-python/requests-2.31[${PYTHON_USEDEP}] - >=dev-python/jupyter-server-1.21[${PYTHON_USEDEP}] - <dev-python/jupyter-server-3[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/jupyter-server[${PYTHON_USEDEP}] - <dev-python/openapi-core-0.19[${PYTHON_USEDEP}] - >=dev-python/openapi-core-0.18[${PYTHON_USEDEP}] - <dev-python/openapi-spec-validator-0.8[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.6[${PYTHON_USEDEP}] - dev-python/pytest-jupyter[${PYTHON_USEDEP}] - dev-python/pytest-tornasync[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/requests-mock[${PYTHON_USEDEP}] - dev-python/ruamel-yaml[${PYTHON_USEDEP}] - dev-python/strict-rfc3339[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -# TODO: package autodoc_traits -#distutils_enable_sphinx docs/source dev-python/pydata-sphinx-theme dev-python/myst-parser - -python_test() { - local EPYTEST_IGNORE=( - tests/test_translation_api.py - ) - - EPYTEST_DESELECT=( - # Fails if terminal not available - tests/test_labapp.py::test_page_config - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p pytest_tornasync.plugin -p timeout -} diff --git a/dev-python/jupyterlab-server/jupyterlab-server-2.25.4.ebuild b/dev-python/jupyterlab-server/jupyterlab-server-2.27.1.ebuild index c8b6aabdf4a2..c8b6aabdf4a2 100644 --- a/dev-python/jupyterlab-server/jupyterlab-server-2.25.4.ebuild +++ b/dev-python/jupyterlab-server/jupyterlab-server-2.27.1.ebuild diff --git a/dev-python/jupyterlab/Manifest b/dev-python/jupyterlab/Manifest index d9b5563f4be6..ebe823d8356b 100644 --- a/dev-python/jupyterlab/Manifest +++ b/dev-python/jupyterlab/Manifest @@ -1,2 +1,2 @@ -DIST jupyterlab-4.1.5.tar.gz 21797132 BLAKE2B f3bb8d2292cfa60392b7e97b7852479767e831c4131e1980deaedbf03332d2fec2f01f3e7a6c0f830528e1d99a77f6092a83eb5303d955165946199aed885ffd SHA512 ddd43d5cf7f3ffe18e3baa846270a61a1c5d588901dcc70a32d30ade29273e9c6975640aa89bc9daf58b7fdfc1eeff2f10a9b3f5d174141cbb13a2622579c15e -DIST jupyterlab-4.1.6.tar.gz 21773628 BLAKE2B b2855ecc4fa0cc892fab9bb79c19a3cec0ea577c9c490571ad4028e9fe35bca87fc61d0035cc889bee14313475825344e1cea69f34af4a908c5d2a304250d983 SHA512 b895aac68c6df3affb47eaebc243ecf7d778228a5adec8b8a047783e341008ab4beb0fe50b92138f765e7a72acfbe906f63f41aebe1a72544fe3030105d52716 +DIST jupyterlab-4.1.8.tar.gz 21774267 BLAKE2B d707257b2f7c53c023fa0e2741ff1ddbb83116c1b8cc8136b550c94120737161c519c4a2e67211fff275267ab31c58e58b17ea6041e9ba00d44baa1919876f1e SHA512 376b9a9b154b70716ca8450126b9623932b44c88b1a83e42fadc4b98f5a3dd3982d77ae9fc807f483fbd84615c184dd8c170297002c9f609b81755aec21e1ff4 +DIST jupyterlab-4.2.0.tar.gz 21488098 BLAKE2B 7857d2ba970b095cf2bd47a7786e47e6aa687a189d165fb04f5685b7848cf9647011a7145cd1a2f351c8f2bc4f876217225583749158b803c4899098ec03be7d SHA512 ee3d99ecd27c44ea9f97b6fbef7e5e0571b0371e5e745d56978151332c840247e1e3464a1947d7df72274032d87c6182cd90f1952669693e3ff72e2c03776e04 diff --git a/dev-python/jupyterlab/jupyterlab-4.1.5.ebuild b/dev-python/jupyterlab/jupyterlab-4.1.8.ebuild index 72f5ef9f095b..69a3d013c708 100644 --- a/dev-python/jupyterlab/jupyterlab-4.1.5.ebuild +++ b/dev-python/jupyterlab/jupyterlab-4.1.8.ebuild @@ -22,17 +22,19 @@ KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" RDEPEND=" dev-python/async-lru[${PYTHON_USEDEP}] >=dev-python/httpx-0.25.0[${PYTHON_USEDEP}] - dev-python/ipykernel[${PYTHON_USEDEP}] + >=dev-python/ipykernel-6.5.0[${PYTHON_USEDEP}] >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] dev-python/jupyter-core[${PYTHON_USEDEP}] >=dev-python/jupyter-lsp-2.0.0[${PYTHON_USEDEP}] >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}] <dev-python/jupyter-server-3[${PYTHON_USEDEP}] - >=dev-python/jupyterlab-server-2.19[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-server-2.27.1[${PYTHON_USEDEP}] <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}] >=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}] - dev-python/tomli[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] + ' 3.10) >=dev-python/tornado-6.2.0[${PYTHON_USEDEP}] dev-python/traitlets[${PYTHON_USEDEP}] net-libs/nodejs diff --git a/dev-python/jupyterlab/jupyterlab-4.1.6.ebuild b/dev-python/jupyterlab/jupyterlab-4.2.0.ebuild index 46f511433227..b655c8c83338 100644 --- a/dev-python/jupyterlab/jupyterlab-4.1.6.ebuild +++ b/dev-python/jupyterlab/jupyterlab-4.2.0.ebuild @@ -28,7 +28,7 @@ RDEPEND=" >=dev-python/jupyter-lsp-2.0.0[${PYTHON_USEDEP}] >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}] <dev-python/jupyter-server-3[${PYTHON_USEDEP}] - >=dev-python/jupyterlab-server-2.19[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-server-2.27.1[${PYTHON_USEDEP}] <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}] >=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/keyring/Manifest b/dev-python/keyring/Manifest index 358cb5dd7100..75cc87fb8a53 100644 --- a/dev-python/keyring/Manifest +++ b/dev-python/keyring/Manifest @@ -1,4 +1,3 @@ DIST keyring-24.3.1.tar.gz 60454 BLAKE2B cb0a9b82163febbbd737f2f25353bf96cbb7b8a87c7db00523960b3fce5595c6af65bc02b7d070b0fa5a466fc53530975de8f7a44ab9a9f783d2db34b1a67901 SHA512 53f26763175c7f1de041d8805062696ef3ef6c79792cdc75ae72621da8e729ac4cbb6e76937db2a0a5ce4bc41ab92c164d62e4627f92edab8c0d0fc02ca4980e -DIST keyring-25.0.0.tar.gz 59863 BLAKE2B b1b955215bf197f52e64c46572f29c2059f75f5eadce249fe1776f10f7f1c6d20428a811a8c36fe4bb85142f61f6281c71e2b97b1f8657fdc35a5075b840d39f SHA512 9b7f25aea1166f80b1b6ded7d691295690dac679e9f931437ae83fc2bf465c541bb1ed74b99a0de749a04df60576e9fe068f2f86b39a3c5bcef953b616678951 -DIST keyring-25.0.1.tar.gz 60063 BLAKE2B 1ffddfa13b672b9811069c09870ab59b9ab3f613ac0348302a14e5475b541f16dd923f20c09dd3d08767b3174eef93716dffd2898585ab12dee9d04f06a43fdb SHA512 3f18b670631e4f0f3ebb06184b6c07e19fe7184b7fe0512531f8d532de296641ceb753b4988b0f6f1ada37d5da4fb1696f2af450b7eeb24e0a0b9ea2ac769ef5 -DIST keyring-25.1.0.tar.gz 60191 BLAKE2B 90cf0088f7740f6bc6562173b98630f885eca4c011be513532630ecaf4ca327053e37444b88ef5110a224567a68ad14228f59cf859090761be08a17d007b18ba SHA512 991023f96c9ffa98b65ee48cb07908bfa0c2a56af13aba60f476a5c99eea9c627112a8eb777c2a8be1ae87cfc8fc79ba68c9ca08ed53002e9e240e64f937cff4 +DIST keyring-25.2.0.tar.gz 60808 BLAKE2B a9f97b80593cc1fc4716b0c97579408d4485dbd9dab415fa98e1827130cea425a03ff6188282ffb0125327feb6ed282260c15d21ce603f4d2561a94f83e6cbd0 SHA512 36ef4a78d5b9081f13ea7aabbfbe508e0ee275cbdf458fbcb36da5a360f91df79ce4c54bf0ce4000d91961d06f019d75a9ffc46328ef7d9e14e9a883508a1950 +DIST keyring-25.2.1.tar.gz 60797 BLAKE2B 706eb0cb1cb5e7f22e603df3b2ab9c95421a389d5bec8034ac452d37e754564379d6133a195e7c7fcbb1f96a8f964e5de505a39dce1da72090daad01d144c213 SHA512 4512c79a1f0c05cd5d28919f55f19c142488d69d9bf7a27e9d7b3aace36535cf43a4522a4ea4b4738f21c82a6980932bd9d1c7ae62592242c333161e791cdb2e diff --git a/dev-python/keyring/keyring-25.0.0.ebuild b/dev-python/keyring/keyring-25.0.0.ebuild deleted file mode 100644 index f5cf6e60f5ce..000000000000 --- a/dev-python/keyring/keyring-25.0.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Provides access to the system keyring service" -HOMEPAGE=" - https://github.com/jaraco/keyring/ - https://pypi.org/project/keyring/ -" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -RDEPEND=" - >=dev-python/secretstorage-3.2[${PYTHON_USEDEP}] - dev-python/jaraco-classes[${PYTHON_USEDEP}] - dev-python/jaraco-context[${PYTHON_USEDEP}] - dev-python/jaraco-functools[${PYTHON_USEDEP}] - >=dev-python/jeepney-0.4.2[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/importlib-metadata-4.11.4[${PYTHON_USEDEP}] - ' 3.10 3.11) -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # this test fails if importlib-metadata returns more than one - # entry, i.e. when keyring is installed already - tests/test_packaging.py::test_entry_point -) - -EPYTEST_IGNORE=( - # apparently does not unlock the keyring properly - tests/backends/test_libsecret.py - # hangs - tests/backends/test_kwallet.py -) diff --git a/dev-python/keyring/keyring-25.1.0.ebuild b/dev-python/keyring/keyring-25.2.0.ebuild index 4e1deec56116..c1d63b0017a6 100644 --- a/dev-python/keyring/keyring-25.1.0.ebuild +++ b/dev-python/keyring/keyring-25.2.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" >=dev-python/secretstorage-3.2[${PYTHON_USEDEP}] diff --git a/dev-python/keyring/keyring-25.0.1.ebuild b/dev-python/keyring/keyring-25.2.1.ebuild index 4e1deec56116..4e1deec56116 100644 --- a/dev-python/keyring/keyring-25.0.1.ebuild +++ b/dev-python/keyring/keyring-25.2.1.ebuild diff --git a/dev-python/lark/lark-1.1.9.ebuild b/dev-python/lark/lark-1.1.9.ebuild index 302e7201818e..6cccd93b1cec 100644 --- a/dev-python/lark/lark-1.1.9.ebuild +++ b/dev-python/lark/lark-1.1.9.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/libcst/Manifest b/dev-python/libcst/Manifest new file mode 100644 index 000000000000..12a368a8f32b --- /dev/null +++ b/dev-python/libcst/Manifest @@ -0,0 +1,114 @@ +DIST aho-corasick-1.0.4.crate 171175 BLAKE2B b3d450533f0799a18fa6ceba41ce841573a3b9fe9bc66745aba9b5a1ef4d86b107aa68c049bd30df7bc86229c71264142e40da8e1d145e776017269a01aed86e SHA512 7cb8feb3289a508b1345b3cc04b59f2f730b80f561b17c7605ce23bf92780b5b3714ec84f5e3c5f4ba0c3abd47ac44fd0064a8bf4c5a7d00bd580774c6a3aee8 +DIST anes-0.1.6.crate 23857 BLAKE2B 9ef464a964709b408c7d7846b9b1e54e52d6ae8f21f22ccfe509ef7197d4694f439084dbdb01fdf88829d181965ea9d1452253789a46fdf6d0520e3413c50d61 SHA512 f9dfaaca9ca327881ec30efaf24e208daae668b1e9d6963c8b0ca9f9fd13be777c793076a87980429f0dfa4db28ef5331ce6652a76da4d5a87485b23fc2fde29 +DIST annotate-snippets-0.6.1.crate 21894 BLAKE2B 4684eb9c7aaaf7e34808338d05c523482709de2c79245df30e1d1148b79de77fc4bff88adefdb85d0675799749c9ed8bd1a14be0d75f68c2c7664ea5db13ec16 SHA512 3354bc87d4ff32f73db98546a6e434f3ecfe6d290f08df5ebaf6afec15dfbe105e6b4e91133f442246a7c2e534730550010ef18ff075f1f7d6267799962e2b23 +DIST anstyle-1.0.2.crate 13983 BLAKE2B 4274b101d1cab2b62f9bb7637dab35f4b16e8c08a080355a2ea53e2b7b353ff230aa77fb3a244e0d6ff0dcd27abe5895eb306c630aa0822d0c608f041d4abfea SHA512 09220abfc844192ca698589897845752e02666b4ecd6529af4cde9f260ef36694e6e631c7503fc0e438ac72c88c419043b78399385cb248e789e86404503935a +DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203 SHA512 df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f +DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 +DIST bitflags-2.4.0.crate 36954 BLAKE2B 1d6cfeb0a17dc53a6249a83c8c7ad7c102985ffcfd7f7f76506889684235e78fe489d23b5a5f9018f0bd526a38d6b1449784c62322fb01f4bb507c0af8bd545c SHA512 0c3d6667abea48811a792749702136ee3db97518b33bc4c7d35737505bf56315e0e5810deeea28b7a1b540ec0e21bd319ba0b3c5c4aef0ba8ed5499ffdfd9b0c +DIST bumpalo-3.12.0.crate 81604 BLAKE2B 2370094f0c23a3e9b75c8e523e54637189543d9df90ae7ddc349d316054d3d1abd1319e51cf1578f1630be0673fd7f65d130469b2729aa32617372e8bc5dd5f7 SHA512 37f2228f251340e82c27f2b34da2af6eb520077b3809331547cbe4887c0b4791b1a7d75a017decccef162cd02a088d504214b7a44b484a7d93eb6a278b329ee4 +DIST cast-0.3.0.crate 11452 BLAKE2B fe6edddd0589fa436cda32342d7beaabe4003afdbdf1d7c5db7e8748adf23b1b2cdcdd286235837c735d2143f29e692c152a5d56fb0458a54961e4dea303b2cb SHA512 4a3e19bc1e9e5ecc03aaef9bcdce01624ac0e6858c065fa1c41693db0ac172b9735ce872064561347cd9e79f00a274129011f6e4ccf9e61d960c8bb684b6d396 +DIST cc-1.0.83.crate 68343 BLAKE2B 33245b33fa845ea2f36da36e3830ec835f937e4319865b357ee9d5ea29a0f9f8392eadb38bf1d95e3c15ed201e561acaa87aedcef744f8db3dabff87a96c7f02 SHA512 742a248c3a7547bb220a0b9c97b67a831fab9b4ac21daa08c85a3966b9fe576088def33e16132fcabec9a2828a6fc437088bb045bfc98b2cea829df6742565a7 +DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff +DIST chic-1.2.2.crate 10269 BLAKE2B 2c792e22b71347e34769e4c43d12dccb92c9c2a3e502f144e5078e71bb6192700d3e783c5c3d6046c0c7070d27f1b19c1dffddd59f4fc4a9b755353c9c0b8340 SHA512 f143424b5d0e5366328a1bea169bd99ab214214c51223974ca847b36e3225f4946a57542a673fb2fb43e0b620782de4e4c87ed4ef22e97905aede4419a8c0603 +DIST ciborium-0.2.0.crate 30130 BLAKE2B 69896bd45dc95fb38df5f6b7f0952866c8efcb65490ad64447e1a645b5558c00a56d81aafe1ff6d2477daab4050c1f69598f0a3f2a74f644e090006291b9af0d SHA512 05f906ca1eec19e903652f2cfe86de36c25f6019af0e10212720bfdb2260a90426cea3acbab6acf64cb059fd138883e5cd4e46032b9a2d7a021715243ca6ecc1 +DIST ciborium-io-0.2.0.crate 2738 BLAKE2B 6f59c4e8d9c91bec47775d96d1089fa3989d347f7138f73f73cda02842a0409d96f32ce25f371a8a7dd5b34706c457b6815aeafeac36a61e309e828f9cc2edd3 SHA512 814059cf5c32c3ca2eab6877eeb73074d38f3419c04137ba345f83c7dc0222b983166e869e0ae9f22d9c604a162555926bff92a3ff57c076d72c9cb39072db63 +DIST ciborium-ll-0.2.0.crate 10740 BLAKE2B f2ab6870bf68d238d51617e17a6a50fb7894d11d7428305fa0ef590b825fa9351dcfec02e27d5cdf716bf392d0a996ecee2a475297de02ed99c65d8fc06f2c08 SHA512 73a7507332c8d941c82e7ff8cc707168f8d231db7531fd28eaba1be341f1511cd494c61f531852e0c5e37a65153addf259ebceac70f70185ede287d93b911845 +DIST clap-4.4.0.crate 54523 BLAKE2B 0292f888fc6426d4e79fbc82fe382be091c222371d2920cfca93cce9a16b3781d7d9bdddb1be62c4593a18d1bc0be0424139ef26745cb26e2ffbe33e684e30df SHA512 359d61374fe40f00a3b3af0e2962e80829cdd34f91b05c7c2347cf58568913037acda79409e44b25f7529901def008c0da0acf5837f784acc45d14936172f2eb +DIST clap_builder-4.4.0.crate 162489 BLAKE2B 0856a43db80c074ee98477a5a83260b56c8fbf73b00855e0120969fb643211955403045c7354878d4774d81df2e3035b9aa361172cd5286adf164565391f6d8b SHA512 2a79dda8d5dc4a0fc7d43f714d003096bacbb6a2c58f5085732f1a9b73d5f8f6346f4d9195a2e5a8d683cc206d59e54e400c9c748c0bc7abb176f6ed62bb3c33 +DIST clap_lex-0.5.1.crate 11793 BLAKE2B 8e3d2dc120401fdd0cf0bf069119c8b7eafa13e5f682c56499062fc09acc05f443caafa6fca791ea53e693a83de69e98fd0488726a4170db037c37118ce0edf1 SHA512 ea5e49e9a8536093f7de89be30add7c3d880b232b0ce393b0429fd4402db2518036998689817bdfd472b6400224fd3c42fec1b5f8538dc433c31dadeb6281e80 +DIST criterion-0.5.1.crate 110088 BLAKE2B b99018b6a6f97fe47d90a2135e3d483ee624d43088d7881bafb2c35ba385629f1a4353110bf190c04903abc4ee99ad1735bc9c5afc6c2854a1aa9221fd714617 SHA512 6a1a32437bdb95f8472bafb5b04bb5999a6ff6fee4ca5965028ec53b4867d01b529241d01809a003722ec7d5710c323274b6f3b50ca0935919a9dee693f4d3b0 +DIST criterion-plot-0.5.0.crate 22706 BLAKE2B 28a50375f2871ce6f168aafabff46f4368bf55cac379c67a2b4396403259372759dba3355786e695b566b1cddee9091a469755a04c06ee949f00aee8e9a28699 SHA512 971e96dcc64a5afa7488f1a99475f0f5639c0ef63f9eeebcada351868697cbff397e99827cc07c0a52e7d7d1a87856fe1fc48c22075776b3bc9c94af62d79f14 +DIST crossbeam-channel-0.5.5.crate 90326 BLAKE2B 0dfbb516facd1b8b7ad7259a434839a4fc279f61389edbbd4241aab771f03daea6a897f9ed039d43b65f736400b160b6c053cb01544f5636ae2260eb96f3802c SHA512 c38bfc10bb1fcfaf067679165eb31b54b4ef05bf6e8e3465f856e3fc717d4f521b2eb98bd441a738eb7fac34472b7b9a030873c3595a267f19b26908713e2218 +DIST crossbeam-deque-0.8.1.crate 20852 BLAKE2B 0e7a2616b82c5e501c0f74935adfea3ee09db5475408be83db8f1b6faab4cd5509de2e029bdf6df90435e474ef91f3fc8d482ce3a72966b2a3bec5967666bdc4 SHA512 44a4fe1d4ab7457e2b0950be787b76b15e1bb0b1c108d032381ce3fe99bf7bf76f3d1718085660083d813e2639e66fdd3635d9186e85a9eb7267063b117eaca4 +DIST crossbeam-epoch-0.9.9.crate 46185 BLAKE2B 1baff196581d02bd7adb32a7e05976dc2c2ab1a289a59d0b0050a22c010e73e6fb01a0005f837c5b7b4836896584fe83587ce39fc6918f6659c1256c5ce3a5d8 SHA512 d32003cf7bac8690c3d8a2cd9393bf06f2a5da8b6371aff68de28be379a86b5b183b67fa6cf397b1a164379e0b095f4c9e6bc7803e229b3867d2c69cdc235085 +DIST crossbeam-utils-0.8.10.crate 40672 BLAKE2B fbc65ab8a68d66f27cfc8495652ec5ff31a3b8c4de41464bf3a9f673249c2fd5ba4bff7ec8c7b838d5903328346214f91fe075bbe7a05a9b11055b7b17376ac6 SHA512 e0ac772262677e7228e4f2e06099ca788f4906f40fe5dbfb0891431c993c7e4d755d3ad93f55570ae06c1f06df14801edb3ba4f28271c4e83c80dbba2fffe24c +DIST difference-2.0.0.crate 147616 BLAKE2B d720202ba8d73fb9b3cc6a982208e4fbe22eda4b3e296f4238a7b2d8ed0339827ca5a3d93a983396901614a9eabe36a0baf55ecc5f55075ebf7fa1e4c0699eb2 SHA512 cc9956757770ecf237d8f46abef25ce219193c877be6cf83163e87c494956cca3202951ac01bba0728e7202fcde2261009c1b4599f389cf979858f25936a5482 +DIST either-1.6.1.crate 13641 BLAKE2B e5f40c40a5edb6dcb07a10bf79183cbe42438f1f70f3932dce72f6f6e91f75f24d17d82bc447507def4dad4345ffc9dd9162dde778afb253bdb1218e91887949 SHA512 4bfe56920e30cbc8eb4f90162db618f7dca653b42db35ab6a7045d3fd9a24ceb1778b1f79613850bdb1a87ad3794fa0d73015e46c48d513f368d8c3776fc9ddf +DIST errno-0.3.2.crate 10424 BLAKE2B 3061d5a5abee015bf41c11ef31dd0f38a738c51992e3bf9f9ec98f67a87b88341c97901211718a5f103b8cf021c875f8fc799fb217ad69fd27371326b5aa40e7 SHA512 b728704f11cfb2bffd421ad39e7bab79b11e548e336e9dd1cfb902bdfbb78a8afb102ae5684fbd6ac4b01b12603a1011a1faa21cfd0702bb25a300364b17ff84 +DIST errno-dragonfly-0.1.2.crate 1810 BLAKE2B 781fc26dce5c33d83b9a1fd9be2b2ce9ac2559aaa858957ba6777e143b1e44cdfee48e1b47e3c91a95075a51921d1a421d0b45eb3d8de827cf4dd0ad744a7d8c SHA512 f853f1e1b8dd0f359a8f9a0399b3384c1103cd090d96e2b2204f91a40d40a9eb99383d4aa6a11e5470c51557afacf452d4be2049600d4235d27f59870fa3b916 +DIST glob-0.3.0.crate 18724 BLAKE2B 1f1dd380e7d668a0c2cff9134279ebda958b4bccdd4a65ff01f9665b45ec4cce8ffbd47eb46e52cf516c5fd5803561e6bcb60cdee21ddfbb8601a95d45500620 SHA512 87098ffdbc518442995c422120cef71f83069c8f88a1970ecec5105b0f284ddd92bcee929f5c230d5b90ae1ead7e1214c3eea26f4a8b26715a00c1ab8b09bc46 +DIST half-1.8.2.crate 41874 BLAKE2B c3c5c01771f05b7af652abb8e5490dde7afd04de130537e67845fe7ed58904e7ad66c7286a4e7deca3641876a6d12c5b6e95883fee2809c8e685d2f79cf96610 SHA512 5eb128e41b8b7f9769a669834b2f8380b115395bf2a2a181732bf6c71234d978dbc4c527fddadaa7bd7fae9add77958b27616bfa1767fd123d3cfb887663292e +DIST heck-0.4.1.crate 11567 BLAKE2B 520aeea740cfa30b0cca12f73594ffa655f32959673b1c9caaca1ea0162e455546ae3033881394c0ba0516bcd5c9a997da02162e1585522d665813b9096eabd9 SHA512 8c80e959d2f10a2893f9a71994720f90747742bb5b61fc0a539eed3ea5679b140c48fd7f7690d7122cd6af5f7f20a19d412e3569fe741c6d31f6b2ce1e0b80e8 +DIST hermit-abi-0.1.19.crate 9979 BLAKE2B 801e8052b85341cca388ada9db4b06bb1bd7b64474185b2ad06c0256b9e597639bd3dd4ba0053ea010f922e53969a4ab47b90d451fd9b94c8f2324055d151ea1 SHA512 1c877fcd562b15d2de9c151fd6c5f3ea4bf48abcb799e6139a180ffad5d64b632f0000d5707bbd92ff23a0e5f349157b9e0f5be8b50f03680b0fa47315dbb78a +DIST hermit-abi-0.3.2.crate 13783 BLAKE2B 43089507a5ca0731a9e9a54fdc8f4dd5f807244797eba5bdcc072c2c2b3761481df65b8cc65900769777d9d21f8345b502cb1915ec36747160e87f179469a661 SHA512 22901ec8976a7c96e93c9e07a2c5d3db49d7af60ce60c7ee6f61c3cbe93190d1f285e737c1c8b2236d540ab14e5d92e42828ec05f1b212332a862baf2b1b57f6 +DIST indoc-2.0.4.crate 14311 BLAKE2B 8d604e20825ae64530014081c627abe4ecec6447e1e214408743aca79ed217531baad4bd7021137ae6628555d769a248f06acc556cc3254d2626074aab110a44 SHA512 ef1b8d19d89d848c1133f2865247e0ce23cbe5552454805910ed0478ac4acb11b11629aa4a5ce8756d0ed5cbc0644abedeac0246f433166c68f47cf58cf4487a +DIST instant-0.1.12.crate 6128 BLAKE2B 728923f757c1ee4e4a7afb90e460eed81392068961240a538e5c6468e15a0b6491f590fb5f6cc46e6d78901ca232351f65abb9f2f230d8f4983c5e58c4011902 SHA512 fae494c00111c51c840f9dd6a10febe403e27ebb933dd16633a213e9c20f2bc11adeb431c71f8a6713bf88f270a010941e15d83df294e658791934f83a5d2407 +DIST is-terminal-0.4.9.crate 8109 BLAKE2B 0fa495da123f6fe5e3ba5f643f1ee097fc4f8e8aa54d9525b6108855a6a2e58556534a5e8dbfe7b5f8e2f1932003ac63f6aa3384317de7b385cf724bee294468 SHA512 0803ea53945715333d9b5fb18feec7230a49cb1a5f7308e2ea8d06a650e376794dd372be111e85622fd21320228706dd589423510dd010cd6ea112f185c46966 +DIST itertools-0.10.5.crate 115354 BLAKE2B f24734bdfedf1dba48554e39b43669efcd4a43656eeb2c511096060daeaf049e1ad3eab232e757057750ce94aabad9fc8a0cf29a997edc6c4b167301c3443391 SHA512 d03c3cfba9841776913bbb6daad0c8945830c155f32ae4b48872e0f937c75a443f0ac9a0355f43b359ff75232f38b15f4f6d446b4be30b00b4209cf66ef770c3 +DIST itertools-0.11.0.crate 125074 BLAKE2B 8e686f176764e92e4da3697eb781e1bc30d6c57ac61d97343b4fc3a48e4febf669d5771fa8620005c620cce52c236760ee2e1bc344cf602e878bc168a2e69cab SHA512 8ece00ba0a7cf481ad4586da24385a6f0b1719b9c3f0c25b9b5b373dd1a0ca7b9687a77cd179853392890b7bf4d31e0356a4e5fd540465b4ac62bd74ef717fd8 +DIST itoa-1.0.2.crate 11112 BLAKE2B e277db8e2f506d4d20b6888b609d9726d594e1cb2c9f21df60a8cf8dcbad1808d8c1bdb0b7857ce7734b92c0f23fb1ec56f8564e779f27eea953d0ffbfcd3f84 SHA512 44a732a102d60b58e72fe76c43a1d185fa12ff08d04eeacf03234368552f84d3de87a2ea0a6e7a56b8cfa74cb6f6697005afcee26f45afe0c2fc7dce5da3b593 +DIST js-sys-0.3.58.crate 78794 BLAKE2B d664fda1e19a7ebb621596cd4773e7ebe86b3749ec8e0e45477d170aa472a80a75bd0ca7f6ca47c9aace5e3962451039b1bf44615ac77ee4db21f46d673943e5 SHA512 74656493c36d9110aae99f58cf1f72a1c89bd971c574ceef8194f68387bcefaa5e93aee736b41a1de1c192113257bd544948dd79a227b5451d13ba2319b58a15 +DIST lazy_static-1.4.0.crate 10443 BLAKE2B 25b2e61bbac48f0dcbc79c81d7bf01f2403d8269ecb6be3ea6147bd00f7a588df15a91f44dfc18ada19b21faa71de4637c7d493a8628cbecd0e547d74e616a23 SHA512 e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8 +DIST libc-0.2.149.crate 715592 BLAKE2B 21dd5d4f9351f3c75790077c7b025046db665f2d48d7a72cda7667bc60febf79d82708cf7d39a323a594397cd590bd3d2a2f85349b4473b90ea4da918382ed0a SHA512 0def64d400d473d6eed30e985522d36801ee6472b15f90e74dc4592e0a8ffbaf30b731be280de52b30255cf60aeca8efe817b67049227dc7000c807e007d7289 +DIST libcst-1.3.1.tar.gz 765034 BLAKE2B 0a7a4b26402d0f7cae851eb2d5a45b845ce42878a30cd9608eec85d637e43874f4d2ba591486684da1bca4711b08046e518892a5a1864a91af9fc17d5108eb53 SHA512 c5ac467bab0ff2808db4510620444cb7705d1af88f0e3f41c43c9ab493206d58561ca2ffb9ee98f14286ee182b4271103d9ca3c3935fef5a8f8dcf60dfae5b50 +DIST linux-raw-sys-0.4.10.crate 1407767 BLAKE2B 8bc633d99bc1ee1a6fdfa19501fd034a4475fa9ebe18a206e4254309d91aee7a91fc70faf9775efa5157a1b2fb7e5f827bde40a770b066643356113f2cf38b5d SHA512 107f61add087bff55869798d5c71bc6ac9ecb27a603d8f9071b856189de8b7b0a7f9243fa1433700f52a0c3020eff5604dbf6e0653109d0dd277b98ab45fae21 +DIST lock_api-0.4.7.crate 25371 BLAKE2B 9ed08433ffa70af60193dcf307287991a3154f0ef16b485f32a6c83e64962661a6e08ef83a6b217d6cbf5bd964c0638d8ed86b290087677c1fb3218321c4bbf8 SHA512 b1a5227fd131edaa70e017f7ddb43af8b4efa58488007b898ca1dfc818a3a441b732b7adbf1270e72a68ee5d2a99a5d48f33b2bca8e2cf78694953d20d27636d +DIST log-0.4.17.crate 38028 BLAKE2B b46be3719fc0a53e50b1f342762e188587e9f1ceb692c72473ce2663edfb8253742d30024e68c1444780ab7fc0e2d5b0601b8ea7228dc3405a9342a57548e605 SHA512 2477d88db42b1d92c30708d88823212e236f613b3465e85eb425f83f8d16fadfaf0352f06c2999a1852102edd2f6ffb10ecb539d8a3b6c48f552a25622ccffa2 +DIST memchr-2.5.0.crate 65812 BLAKE2B 57966413a1f933dcb2d2d4ccb29c247070f65a83299b2a9f5aa83f5a48a5c5f1c4c7c632fa63bd19f9508e9291e7258db2f16e2813a56fd84e0856f70f1e67ab SHA512 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa +DIST memoffset-0.6.5.crate 7686 BLAKE2B 9a797388702389076c426052c3d54dc62802d5db8bc5c9c83990429f2ffaec4fab4c7dd3f09cd0704d1ea555e87976563bb43408ba54b5e66ce7e406d4604009 SHA512 11bdd9185b99dfee8e659e051b09ee301c7142a372a8117864745a5085c015436d2efbb1478192886f09cbc562529e209d2e3325d94938a64bc75b1d91d2bf3f +DIST memoffset-0.9.0.crate 9033 BLAKE2B 19090c1af8b8cf54a2cf7593748aff4d3dc685ec7080aa476139c1721ef71555495e1bc513b1efaddc7e7702f83e0e1c2a8f71ff40009d266539484c9297e0ed SHA512 2f04f9b6fed31e94388c18162ad275897a835df7b9ac827f4df0f4b0ecf71064ef247f7ad11dbc27d7a6d448984a0f29d1c000e3c8d5fa6e121fa9571770ec55 +DIST num-traits-0.2.15.crate 49262 BLAKE2B 942ab170b2acce1cb40e6847f766bf810a79edd293d34f3a27864f464c16fe2b99fb13171ba429cc6d584248de879434beaadf1b231a4001b0e8389ed6c1be04 SHA512 5228498af0f15daeac3c9210f3e6e71cfaaeb30beea81dd37f8eb06b9592c8bf3226a47597cd8592ad4c513964a9a40f1ab2c33102ef3dfe3800d22c8d4528e8 +DIST num_cpus-1.13.1.crate 14752 BLAKE2B 27490aeee349d944c29e50b44e9a84371030459353a9316ffaa0245ce499df4424e39c25a81be59cd0f9a19c3214c78bdc7a84b632059282be476d8f918c44d6 SHA512 91ffe0ec792228621d6c2d5cc544ef4744203d19fc9c86e0aad2610038c43aca0448b6c27d82979417a0f6c939ea73523303a44c28df0d1c1b8d09814d5306d9 +DIST once_cell-1.16.0.crate 32120 BLAKE2B 59bfc8a44f1fec72442e3d34bf4be3a5af073f854f07b3618b2857c759dca4a0fa6ba358514ae28c25d745b01bb7b390ffe9ed6e296d163fd3dd67e49092b87a SHA512 bc199570ee43bde9245a2c4637ae738e370ce9988635c8342349ceb6fb158f376247b69f9ec4ea0e6d76b934decdc77a524299ebde96c0a2c2d29d9501b9a568 +DIST oorandom-11.1.3.crate 10068 BLAKE2B 443ced49f63015823866257a36a88e566f75adaa79511c1c73f1190ec8855ca590d2b6ece07c2ad5e9e47a89f7891af6e9e43b7d74d9ac57cb3551e60b50aca1 SHA512 51ae60ef51da56d7673f36a6c5b99b743580c5f5be54fdcb54b69e5e2f6bbba3267f96b74e7cd6dee6962dfa6696fd9ed073f22726a2861b8f2601946a8efab9 +DIST parking_lot-0.11.2.crate 39869 BLAKE2B 67c555e87b68f5763a7790563fd8d542e126bcb77f91267f3b76c51fd73060a2c32dcb91f9d0db7ea772e555d91576c8d7ff48053a9c35fbd3b749d2459a660c SHA512 526b176363dffa59501c18324bb723a3846ef5b0ff9bf1d890e40ad10e7023284f7c8012eda87520eaa94515ee828d9ef52692a9ed590a55e176383d6d472f9e +DIST parking_lot_core-0.8.5.crate 32466 BLAKE2B 44d9cb65444ea93fded7e216e3bdbe2256ba1611f5cb6f80d67a01e71d428b81e6c7fc73cb928e2125f34bac0abf4d1da39f622e813dff89b01fed7632308b7e SHA512 c4315df551748d1ae77655e4d9f8c90f911498856e5358009e9e02e410bb8085f006f369188b0753a298371ebd74a5c383d848b65e31b55f3462381308c83a00 +DIST paste-1.0.9.crate 17752 BLAKE2B 5480193f6e99b13a887413c5b3522a0e9c670ba9685a86bee1c0b0353e1e2b9505de914b30db18106346b65d0c1e3ca0b7a3d88561a174e9d5a4cb1145f81997 SHA512 7e35cd5ac36b2414b67aa0cbbd6ba42dfd6f0a652f258d0a76134a3f185f49f0fb9a75e40cb03c262adc834ac53561b08eef3f487e62215726d662ac181f8a59 +DIST peg-0.8.1.crate 17093 BLAKE2B 9cef0848d005fac3cd767dff16c1226bac39b1fbf9ab4730a03226249c672fc7d75c964eee0a6c109e631a43a1d9a161cb1093d2e98c29e03631af47c133b681 SHA512 e2b88ee2f55e1761b46191bd79a945261bbc7ce327a98cbd47394e5d60608a47cc845cdb0d834149e43d694ff542fb9eadbbc2b628facfe492f89a6bd1786d38 +DIST peg-macros-0.8.1.crate 27881 BLAKE2B 70705aa86c901bd54cfc8e1bc37d5cfcc4e932e2953e4b2f70be862df938d5e0b57258d0ff7812f217ae19b9dbb3f2a40161a2392d4877b040892d8c61e22593 SHA512 84f7fb240ea3c543df4d28f3bbcd80fa6d68133af3557c214eca2298a8e988dbbea84fda85fc87d1f1149dcf4cf6e8b83e23c3a75525409aa0d02758fcf2cfc1 +DIST peg-runtime-0.8.1.crate 4019 BLAKE2B 48293433e655ee0a243361f1af0fd35160a32a41cb40d5acbbffafec0d9adac9c7b01668288f4108d896c1509abccedac5ba9c08b2ab38482efafee2394c66bc SHA512 360677e388c0d98053bf60d7ae003bafae38e892d4f30e5f31f6fe26f13e236aa1e0dfc7c4d741604b4df601a1cbee376b5a32078ec6b0abe0b2062ab0d136cc +DIST plotters-0.3.1.crate 8595577 BLAKE2B 7c500c43c2b2875d9dc17e4eab57cbd8a470c6064deadf4e78c429abe2f1e97511f64bc67782b4e03e7cc47c8ac54aadfa5f7cc8c27d3b4453d2ee8252896c99 SHA512 c7bcdf9da56c2d1c03053f61256d44d2384fac1a9a7e0db058090c13b359bce76a2a96bbcbfde04fdcde0a9dd3db8a1a22bc57508b0b6e4a374c8b35ec6c9707 +DIST plotters-backend-0.3.2.crate 13524 BLAKE2B cfd42df0fcea4e5ee944a6b8c48e3b7fcecefd6d97f07e1c333067193c211da9eba29fb56e9fc8b861cfa2d1baa3c042fddb494bb66b9109656b26bde7901f7d SHA512 116bc6866094a2ec40a9ab9363378566ff37eeb4a4e3805562dd3e95f1d5e8664b54d3dc858a2c9974b125e308e46b77c294de2a655f836d342712c32f0242a3 +DIST plotters-svg-0.3.1.crate 7596 BLAKE2B ac8dffc5dea833c0506c472567056be0804e5519828b68f7b3bec9ee63dd59f9aa828c10732a50e004214512df06c7eaf164eb9613cda75b2753270fa358c0d6 SHA512 4d3cd02534440dc26f5eaa3b4966081901626c61d9fabe0092fed87c48929cb9be070d9c34486fc7c7bef308337ff4890d30f9581a613549e507db60dd9d8876 +DIST proc-macro2-1.0.70.crate 44343 BLAKE2B fff0dec06b21e391783cc136790238acb783780eaedcf14875a350e7ceb46fdc100c8b9e3f09fb7f4c2196c25d4c6b61e574c0dad762d94533b628faab68cf5c SHA512 ae9366856853f7d96caf7a7581843d36bfc7843f8683897b19ffc666c03b0b1eff502ddb18ca4c1c1a239a368f03f6cc258b0e2795f64b61c6a31404462eec5f +DIST pyo3-0.20.2.crate 434326 BLAKE2B 3114fd6f3fb8ae7d1b35c9d2ac5ba6a49c5ac911ee3a5b941c5063263ca7cce47fa4b4f7ec34cbfe3083f3d1303fd7f061639fba833a04fedb9d5098f5784028 SHA512 cc5151a116179157046ec92677e5a72318b4cdb13a7d7e3bb83778739b5758040e5020f667dd83554a66b758581a08f5de05eb38e7b339813cec85e0712e6355 +DIST pyo3-build-config-0.20.2.crate 30029 BLAKE2B 846eb95d1417a658763417a2750dca1c55201105a3978d61b1db5e3962680ede188f8285dd7deec778ea9860d43e40513b88f5a54f0b1881b08416760bdbbedf SHA512 9dbc669ec69d38716c3909fa8f3b6c5be13c717b20bfd5dd11edab59b8eb35247d7996acd260fec88f92eb3e71248c86e9b40c1a700827889e2990bba20ecddf +DIST pyo3-ffi-0.20.2.crate 64601 BLAKE2B cf1141ad34a13dcb46de0d1e15dda192ca41a7441bfc92a9295861876dcc690d1d5d6d39dafa51cd70c4627353efa91563eaefee8c39f655d12818003f9524da SHA512 ee6386b6fdb80689d104f9cd5229f02e1893d00a52be710bd36882c47305abbe24ef2f3cdef8200fddc0bb97e29001fa3a2fd9d3d2673ecd9a104a070420d01e +DIST pyo3-macros-0.20.2.crate 7925 BLAKE2B 00fc60becfa39bf452786d8a612247785f1737cc3e627700d0d144ab2efaadfb34ce8a8f46e932382a1ea99caebfe1946fbc517b5c26fadb0822ecaa8b2e9df0 SHA512 dd9ea9acda95dfc53689a4c26d8c2139f8a90a05ab06737037f19b8bccd5e52b0da5f297a29194b958f5f8b59cbb566b5f409b3f17a863eddf855ecb755d2719 +DIST pyo3-macros-backend-0.20.2.crate 49710 BLAKE2B 711b18984e61219555df4b62667f7f376951c6cb47e6dd947fc24618b923c4f4f790eb1aba1901abea4761632cdb58cfa81cce91f33586da3022e6c7d126bc9f SHA512 c6ca2a2cdae8630fba3f8e4122e81b60ef2ef0905ad2a3fbcfae134456d5ca9e73690b61590e391f3b9d82c24725809f18544c5dfa0b36ffdb1914844fe65d3a +DIST quote-1.0.33.crate 28090 BLAKE2B 77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d72851d73768d491c56c6779a0882a304c1f30c88732a6168351f0f786b10516ae537cff993892a749175848 SHA512 c1e76c3c017e8554eebe309f8167fd56fce931981c06798aa85a0cc6d64a9cba6ab103f5a1324e69c6f9ca5dc47a8e31ff2e847850542748697afcd265b5939c +DIST rayon-1.7.0.crate 169488 BLAKE2B 518f0eda1fcbd1b1b230587ea18cab0023a699e796c819bf35a6492b7edb051137446bfbc49aaab0a68aef8280c970ad14301a9f8f7461d537af119a65b33a38 SHA512 d999c811b701d0aa4e547234bdc20a7df56728e142c4aa882bae081b7b057e8c3a72f4a62fb35535e57501e8c2ba7ff072068b59d6b5374e9ca6bb66cc0984d3 +DIST rayon-core-1.11.0.crate 73118 BLAKE2B 313d65bb6e3a010569b317b32ac91c72e38282f4fcddbcb56ffa97de42d88c0d34f35f76b62e1ad60ee96b596aa681caf2071a8d5dfdca085fb1fbafb07c3ee4 SHA512 00ac782f49d688da90e823980e83b5ccd858f93769e2d801061fdef78728cff37d3a9fa4fd47a5cddb058f28f3289de349f8c8fdd94fa2f8c400d73bc4529800 +DIST redox_syscall-0.2.13.crate 23759 BLAKE2B b59c3e923b7bddc84285377eca86e649c21ee7dd61924245d43c6554124adf689f9b92841ca64876b34797249698511b322f6e8e639d71e45e1ae9da5f8b7834 SHA512 6551f503ba52c4edc0cb4a418ff212188ddc7be80dcb39eaf3bfb82faa9a76cdf359f604d6b32be6c6a335b54180c9399a0e32670333a5a08351957308486100 +DIST regex-1.9.3.crate 252676 BLAKE2B dd419b02b7dbd28a71e14c90bc538e98a63c0b9cc2ea01e7d8f6a0075c723c42c3d7bcbb45391431dec3008e6709e9d1d396d8e505f7f8d5d3a629ededf74b4d SHA512 ef5ece7d2b80a136d437ac42c5395cb01f6d357dcc490c8f6c89657f3f97af6befcc699008535c27583d7354e979418d1d933e36e8774ff2bb62750b9009d5d6 +DIST regex-automata-0.3.6.crate 607174 BLAKE2B 6d02512501b45b0e87d8746c894009ec669fbfdeb742966e8ba8960ebf692f3b2c3df44ce5ee03e7d5320136709ad83b532dbc322a779e3c21ff0f65768c0d0e SHA512 ab3da2e63ff2c6a4da2c149dd34e565303f961f38547db7b34fbe984cf90aac107d4ec116111c765c9b71c4bf26022742151e1d4c5d01a6beac0a8a0887e30ce +DIST regex-syntax-0.7.4.crate 343365 BLAKE2B b50c01f02e08729496e8bcf023949d088463bf62348b4a1043fe5205650da37863b2ca51f683662a4df33bd56085e0501e50410106c9c471a0daec4c71dfe945 SHA512 b33713c71f6f753820ca6405e8415e5eeed457efd01e81b0b720e48c135b9bb0973962269587ddca31350233aec6d3f598596cb48310db0633bf67f8970f0e18 +DIST rustix-0.38.19.crate 357358 BLAKE2B 02968a58324ee719d424d0087ee7fed8b83979ab5be2aab3738cb577ef2c09f01eeaf1bbf12aef6c56c61c01b80600beef22f663301db0dcc429c6232ecb3b60 SHA512 1ea995a053d1bb36ff1459b5b25b2ec7d02e28a2973554737688f61079bdf1b87c8c139b0284beeea26a404ba3b9e2e4d4d61b13524dd20e15acc2b7218118af +DIST ryu-1.0.10.crate 48485 BLAKE2B cbc0ab4e0b2031f4ca3a34914bd61395d14706d42e2414757aa23a67530d549382d61b630159c92a169d1dd3315951b0071ff18349d2b090ae262de536aa29e2 SHA512 1bd0af71a20715251dd42596df6e7677e44f712bbb40b0d9544109c1b2478a7bd2c9393535f0d4f3bfe2d1b75b3a2b899044051715a7da7d165d6d586e0775f2 +DIST same-file-1.0.6.crate 10183 BLAKE2B a320c8343e0b38078ba81c4f0159d886bf47764c74efe0d7cd2b3218426e8341b51e523c00a9e5fbc2ee1057618296bd70b576c68751bd55d6ddb352defaca15 SHA512 3ba35309742c8db63210d9ea78bff4ecd80471d69e6238eb96c7bf0673814f221e2d838fe6311bfc5a0e71b4a7ccba33e07859c0b9cff2171969ff08a4214a7c +DIST scopeguard-1.1.0.crate 11470 BLAKE2B f774eb90b7d3ffb2efba47518e9d1dead4017ab4b38a4bd74914daa84a5af4bf9eb63da0496e3924499d79cd0439c37447aeda4a21226f95645bddcd6becfabe SHA512 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d +DIST serde-1.0.145.crate 76568 BLAKE2B 2d38e4ced18d204d8c36122ad09fc00f0378c7e9014d3bc67fb7c3e5ab0f923aeabb6a5fefc8699e80e220b12601d01dbe3ae5267a124164bee2e4d9897aa0fd SHA512 8146c39249ad54028717bcfd916fa5abd8b1ddaec54c4d0de485bf10cb6a85676a53068a07b9563e1717fedb4746ef672ae0c285a8998543cf92d7a157f2d442 +DIST serde_derive-1.0.145.crate 54860 BLAKE2B 0c80f1b8844e044bce28c3fd8e46ac732de21736622fd7b2235c41d9a909d7ad224e8e7ba5fa3e5de2cfba5e48a4116f97e9b7eb31b0201c01bc98d40a78d16d SHA512 267389f8cd6d3a7b7d4a4d3226346999294e2fbef7446ff1cd1183dfb4fd17409f5891f6c2cae113b79cffdaca07f2037fd2f4108f93723e6baa5153bb9a61c6 +DIST serde_json-1.0.81.crate 144480 BLAKE2B 3c95d56e65c6673ebe9ef0aa41ba184c5246cbcfb0dd9edf8e87ca6cab736d195ce8b6349846806ba7047854d579517d2d19bbfa932c90b700f06e54cf49b131 SHA512 9f224b2182db2fdddfe1878d05d857c52a60a38f9b4fdfc87c09c20efc8b6ec2419bc60e4b18a0852ed080b09332773eac372f8356af5ac0ddf3da8212345cb8 +DIST smallvec-1.8.1.crate 28295 BLAKE2B c776b37e8cda81fe1df6ace794739b7e0cb1e3c5d5c1ffa57656ef0c0d0aec354c2c93ae23ff895996ab50a26ced28b913fab89ced27cb2f1d15568ab45957c7 SHA512 e93cbce48b81fe1a26d6016ad15b27ede8ae7162933e8923d3eb9c93f61910fee177c1aff16a1dd60c9917e41f8b7e474601a60c6d6d6867ef33c6d2e5fdf688 +DIST syn-1.0.109.crate 237611 BLAKE2B e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9 SHA512 12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d +DIST syn-2.0.41.crate 246016 BLAKE2B 9d389f2e2a0acb4c84c309456e8ffcc88c5d4d541535ed136832d7a6054dde45a598bb68e8a6f3062ca2a96e1ceae947d54b3aec9bad65b0c51d6733aa6c80db SHA512 6bbaf69ca783025dfb81ac3612ac60bfbed31b2d87792909b35c12892dadebdaff2ddf9463105e536b671dce5870610ab90fe29471284bbd3014dca8d6993f1a +DIST target-lexicon-0.12.4.crate 23020 BLAKE2B ad9780b9478b00b4fdcb07bd016d83216695413090ac29cca06388c3790e2832c978b1c7e69f6d34bb6fc9adc39c0a0b6b6636e50a9715a9f5f16445dba22d19 SHA512 194fe1946ad8d9fdb383bf8a65374e24d216382c1ed5379dabc98d58842512624c32838b8d6d0658d866f6559d37f1343a30c5809e8914dd85790399252b3e06 +DIST termcolor-1.1.3.crate 17242 BLAKE2B 5aef69c0004081bd3cc4d531d13d63627cc02313868c0faab62358d13abfa7b4ba82f142c2801d25a6ae46ecbc8b7bdbeaa21c9105ea3b8950ab6a38cdb88513 SHA512 5838fcbfd70f300cb4b62aab50565db52074c56b152ccc8ac1173e4676c0d5a636271bf5a645a77da6e1d4edbf0091af2cd4dd6d73b85c3d198c760898c06f3a +DIST thiserror-1.0.37.crate 18752 BLAKE2B b8d792715cfdffccba72af132e414a6ef28f8e4dfc0608bea49bda1bde5b6acb13da24feaabf4467b8aeace9b6d90a97e2202f7d24bfb753cc4019c2243bda25 SHA512 07f0cf9da1bf1029d70c1b6f0c54bc41ed759214683f35cf6b321ec2d69173e3da0abf80a692115a1e4630400b1fbf462878053853fdc6026edb40f7e13be72e +DIST thiserror-impl-1.0.37.crate 15428 BLAKE2B d91e9f058e1a2b722f604d9a399c0f291c5309299c4bc103427f8927ba41c9937c7e7cd4c0f394dfb9d96799be8a3d5b33f8e869045f58228a43354dead5117b SHA512 37d90875118fe45b51afa89dd0acfbe4d9852b899ad391b419b5181a92bda115cf5569ffef57caf6020964d5d847c2b1f191c99e2c0caf7d4166f531bd19f952 +DIST tinytemplate-1.2.1.crate 26490 BLAKE2B af39d96f33f63238e455a4e38fde1d1730fd9661ae68be7b05df6ef9d2ab1a04db1332cc4ec9deb6da3a8e22b124df81b0fa8916d8491b808742bb733c8e48be SHA512 0cc080057e096f0796e72004343e1a8332c2e8a12e43f6ade150ebf632e9c29c7ad04de0b940cd57df81efdc4d07a6607da9b86a30d8383e39ac3d7be185edb9 +DIST toml-0.5.9.crate 55667 BLAKE2B f2bbcac136e0182cad9b51f07943610c8700b68afd08fdbb822b47bb79d215e8132376da8ac61fd550e86c353a83b007297b6ac92ef5d503e1b90e746c40c649 SHA512 7151bcafbe2bdb1d2bb91562daebd357c884819af047843f1b4a56bc3812d4153eaf70683d0f9bff51bd1048700920322d64d41da13ebb4cbf34f0f7822d7ce7 +DIST trybuild-1.0.71.crate 38006 BLAKE2B d3c4b93148a17e176f76c947d267a83a82606c2a31e8e487bbff1eea4e9385b6de7d7f0226d14cb89fb7552490209c06d2ff300302df86865d434021a390e566 SHA512 d46bc06b5f3f1ed92231745a7f7cbace77d365242742eedc5f6d7c0246549aa69d3713e3179c5449956d70122cec217d800b0111a0717c5f2f88dc2e55d986c7 +DIST unicode-ident-1.0.1.crate 33770 BLAKE2B e028e9f1d6c01a7a37c8f9ecd6b1d99041b45674bc7699066bb7479822cb8d5a1b4083db1117d9d44ab05096d8a37a9bd5d93dfe8cc5db6bb58950b4f5d5c8e8 SHA512 505650712a51c6f309c97bf72029de1eede33c71b84de9733f5f987859a61225e3d07d369b85a89797d870ea436f30b5b5046306f3d5fd672551a4b30c43e428 +DIST unindent-0.2.3.crate 7306 BLAKE2B a57407b117e99c230750c7d4a2a0899586c8271e4ba88ecb409c976905c014f42885372c234a75fbfbedf71dbed779f95f735975d150adacdcb61152a49db4c2 SHA512 2f1eb420ea3653b00d3e5fa0c2c105da8fd8a37cb3e699373c168604b799fccd5f0faf0cddce4212d119c2afb0c86b41efc3a50752b83ff7beda2bd84d360505 +DIST walkdir-2.3.2.crate 23516 BLAKE2B 473f2b51aafd6ac17e5c3da8d545d179b31486b3a65ab39fbd8bd7fbb2ebcc24bebf01781200a26a68f0b1cb464f5763a919aead3b03eba5a7e1be6efec5500b SHA512 6c44071354faf37720ec4117ded34c8d530489542ee107ac26a7a56ef4a882b9003e22e84f1d61f6078643521343e35aa1f7b57c838779e78e5937a667bf82da +DIST wasm-bindgen-0.2.81.crate 165467 BLAKE2B 4b02ad703362d89c280bff92552a632b6cc50a586db4a476fa4f476118b94a89707712c1f6ff65c49a4d6001e9c9e16922a35e36b315b8f544e261ceb43dd5a4 SHA512 dd9a9902789dc8c7c3a8107c52018783b505efcc534c94c95ce55ad735c51489c928f767c319d97f78868a58d4aff7a71b2d1513350c30adb9122401b493906b +DIST wasm-bindgen-backend-0.2.81.crate 25737 BLAKE2B dbfbd09a4d5a1c585fbd8cf8a29dd375c887e77fb5759c74bfbf0dbf012a0340df06f063e1a4908a80a2ff8298689cfb92ef67707e5d2e163abe155523c2029c SHA512 0d3b14b530adb2a32ad3ea169f0555973a25232613ff4269600dc1e86a6d75e4717be2388f132b6bab9a12625f645f644f59dc30a0b4ff3f20c20106083bcfa3 +DIST wasm-bindgen-macro-0.2.81.crate 11796 BLAKE2B 3fb6a60ca59279d3921dd65f7e7d4d91a457e31524671d465c5ce8fb31db7f28f49d80fc0161c2faa9f5a7dbad4c44584f0fed6177e8908de2a421951c62479d SHA512 f1164f7a4413685ec34e22c462b4a4cbaa79eba47079d90b7e15304db222afcc8e966f3bc994a231f21e29ba68a844b3e6622f840e0c335d09201c1dfa046ea3 +DIST wasm-bindgen-macro-support-0.2.81.crate 17855 BLAKE2B 2afb7807913ba01d99ea93030461842b7eeb405f4be0f0d671e1d430b6cc0aa111518c9549b71c8a94dda418c149050fc9d0613e10cdc7fd0dce354d87b8c4c0 SHA512 1fac5ac8b546e4fe55484649d7e2a39537b49797e20a2859a17ac98cc8c25cb3d91dca09e94c33651b9963efed6045ddd79bf646489bbd11065c62e66a59cda4 +DIST wasm-bindgen-shared-0.2.81.crate 7194 BLAKE2B bc31b0e75cafc2dcd207ffcf44b9ae84de4e5bebebe471404736352e9aaa1c2da45e22892a548c05cda24750be028dcaf66e6529d1ff2f833986ab2085b74fb9 SHA512 5ca631a720623e42caf737d3f8faa4961a051eb71b6b0854e4f697f753889cd58df980962d39650acce7712449ae50cf86effa542bd85e451cdb86767aa7ab34 +DIST web-sys-0.3.58.crate 696212 BLAKE2B a76b29a2a1b46239e1e6b134004bf43bd127466d9920077196e59b3ff419e059f433f94a68c24f3a6361d4f751ad3b69c6bfa67cacec0f0a2a58c87f319cd475 SHA512 58215a0d34bf0478514affa8d85f46017ab565b1dafd36f98a1d0f93e04f909b8b09348c06a189700111b5a8bee2049640a3a3a1433c4939e60bb12f32092b05 +DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97 +DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2 +DIST winapi-util-0.1.5.crate 10164 BLAKE2B fc800aceae5249a858c806c3e969ef2545766099872d856ebee51c883d9acf1122278db9607d50ca53eac351502b700fd2463900932d342240f97f683d517963 SHA512 7baeb661f397c4693dfa001fdc774b323c51a7c55caad40f2de5112a1cefd1d6151e3df41fa4ee193460a5905917c83d2b1de5fa10b4bd014ad96690af95c0fd +DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513 +DIST windows-sys-0.48.0.crate 2628884 BLAKE2B 551e900de4f67187ef034b60df9fd0e0d8f82a3100ef28e1eabd543ac129d882dc86ffcc1714071aba09e4cb2ae2d2f07ace1a32b99fd989ce525cf05991edab SHA512 bdf534bcf3face31e9ebe11427a911a53f89f4ff5eaea8cccd094e139bfe14b2aec602b1cab1df774794d999477439d9adc6b627a8e33c20334fc348ba2c47ed +DIST windows-targets-0.48.5.crate 6904 BLAKE2B 7396bb210f37bd51da86f39fca3425c8f6610721d5c4e94f9fafa0a8a8046303b3fcc6979146bcfaa32f4406d242a0455f6cbb220f84c6ff84650e755acf5223 SHA512 e079eeef255a046be7f8e6a31c14f7b230254ebcf05eed2944827bb3d2a0dc30940d87593cf544d5e7ef35f6312b99430efcfb01421d91b02bb9c4bef7d98709 +DIST windows_aarch64_gnullvm-0.48.5.crate 418492 BLAKE2B 5c6f7d73ad05740f0bac304ed1ef9b2ea63b0d6ca8f875552ae299a0b73b1557e8fe996f1c2b69be9f2df350c9288690f49ee62239a2896991364331d6c55462 SHA512 20158d31454488f6053d3ad7b97d7fc6eae6cf37e4ba0e50c28bd29b368505eed64199ae31104d5f97b66846be54e5ed25c0ad31ea850819205c573a31ac0996 +DIST windows_aarch64_msvc-0.48.5.crate 798483 BLAKE2B 60c466d6536426425a34b5ca20da97c8127ebeb4fb9b1363911165bada484f8913fcd50e90410b5661e0c27dbfe8f4eeaa62fb17d1f3566bfc82b6255e11619b SHA512 223f016c6f1a44dbc5c8a8428b39438f75380ea06951b7c26ed0877b19d79410c6fde5e4c7f2c839b6e76159131f39a1230e0e3a208dfc425ba9117e3665c4ff +DIST windows_i686_gnu-0.48.5.crate 844891 BLAKE2B fdc37cd74a4982056bf22fdb7b84e1c55dc838f3cb19ff3648730a77e673ef4ecc0380b3e4277bb8df2fcfa25f57b69014713d9e3ed27c28e19b25b3ea2ab774 SHA512 931ba5c1e4eb8ae73248e00d9611298d1c4b4b0dae719fdeb9243930cd420a103a7bc2738e0a4887c42c8f25728d6c5d64ad141dc092bc3f1d0f35dbe37d303a +DIST windows_i686_msvc-0.48.5.crate 864300 BLAKE2B 3d3ea8be55e2d6ced0eeda18abe1dffb925a1a78f456d683e4450d9f2fd287ad2e8494d65b2b770c677a12b3a60d10f0435e16c61880e3867c3657fd44892442 SHA512 70e2fb4fdb006a4cbd43ab2c7e940b277a15fb1790dfa2d1fc1f1fd18bead4886f6dc046e44326603e4894d988578917b8932aba5d9a6a4cc8424911cad9dc7e +DIST windows_x86_64_gnu-0.48.5.crate 801619 BLAKE2B aa7e7e6a6ff9f9553ada3a0a39a9aa798e9d995a8eef36e0b6fdb2a0db93ddecee5548970575271fe43aec74797a420d0ee231d503b5bad1bd999059261e0e33 SHA512 1d6056fae430b3d042bdff3c6217c76be4b8b9f5dada9bad06beaac2db7d7ab9b0a82e44f498ec88e61afa73e99f56d84d445dc3847732b9ce5d947e08485f74 +DIST windows_x86_64_gnullvm-0.48.5.crate 418486 BLAKE2B 12a2199d434617c1df1a839e9f435620ad64b40c579f6d0c3677553ad7a48e5765d12c266b04946402e15c92cff2e4ac4979ce2130750ef426e2672119680284 SHA512 c016d5b5e73832b61ff67929d92fa8c16e154656294357266ad29ce1f44db4ca2d2935dba31a6b571187dc838b1d22f1e3b41fefffd1d719a338439adf1646aa +DIST windows_x86_64_msvc-0.48.5.crate 798412 BLAKE2B 8abc0721e2fb337fe17c91d278947d36122d9045b839ba0cf3e690202d242265b676f23cc301da5f9d98c56ca4ecb76f7d6f072ee71bf986a1deca87020b90e5 SHA512 fa1c5cd14ca2ff0082e2504cf59d317dc4dc6f7138d35c12f95d4476a9c13d8b7f5537d0ee251eee7c99411ad31b22263171b7fbd391daa5d3ea3488ceaa61a0 diff --git a/dev-python/libcst/libcst-1.3.1.ebuild b/dev-python/libcst/libcst-1.3.1.ebuild new file mode 100644 index 000000000000..19fd96d2908f --- /dev/null +++ b/dev-python/libcst/libcst-1.3.1.ebuild @@ -0,0 +1,187 @@ +# Copyright 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=( pypy3 python3_{10..12} ) + +CRATES=" + aho-corasick@1.0.4 + anes@0.1.6 + annotate-snippets@0.6.1 + anstyle@1.0.2 + autocfg@1.1.0 + bitflags@1.3.2 + bitflags@2.4.0 + bumpalo@3.12.0 + cast@0.3.0 + cc@1.0.83 + cfg-if@1.0.0 + chic@1.2.2 + ciborium-io@0.2.0 + ciborium-ll@0.2.0 + ciborium@0.2.0 + clap@4.4.0 + clap_builder@4.4.0 + clap_lex@0.5.1 + criterion-plot@0.5.0 + criterion@0.5.1 + crossbeam-channel@0.5.5 + crossbeam-deque@0.8.1 + crossbeam-epoch@0.9.9 + crossbeam-utils@0.8.10 + difference@2.0.0 + either@1.6.1 + errno-dragonfly@0.1.2 + errno@0.3.2 + glob@0.3.0 + half@1.8.2 + heck@0.4.1 + hermit-abi@0.1.19 + hermit-abi@0.3.2 + indoc@2.0.4 + instant@0.1.12 + is-terminal@0.4.9 + itertools@0.10.5 + itertools@0.11.0 + itoa@1.0.2 + js-sys@0.3.58 + lazy_static@1.4.0 + libc@0.2.149 + linux-raw-sys@0.4.10 + lock_api@0.4.7 + log@0.4.17 + memchr@2.5.0 + memoffset@0.6.5 + memoffset@0.9.0 + num-traits@0.2.15 + num_cpus@1.13.1 + once_cell@1.16.0 + oorandom@11.1.3 + parking_lot@0.11.2 + parking_lot_core@0.8.5 + paste@1.0.9 + peg-macros@0.8.1 + peg-runtime@0.8.1 + peg@0.8.1 + plotters-backend@0.3.2 + plotters-svg@0.3.1 + plotters@0.3.1 + proc-macro2@1.0.70 + 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 + quote@1.0.33 + rayon-core@1.11.0 + rayon@1.7.0 + redox_syscall@0.2.13 + regex-automata@0.3.6 + regex-syntax@0.7.4 + regex@1.9.3 + rustix@0.38.19 + ryu@1.0.10 + same-file@1.0.6 + scopeguard@1.1.0 + serde@1.0.145 + serde_derive@1.0.145 + serde_json@1.0.81 + smallvec@1.8.1 + syn@1.0.109 + syn@2.0.41 + target-lexicon@0.12.4 + termcolor@1.1.3 + thiserror-impl@1.0.37 + thiserror@1.0.37 + tinytemplate@1.2.1 + toml@0.5.9 + trybuild@1.0.71 + unicode-ident@1.0.1 + unindent@0.2.3 + walkdir@2.3.2 + wasm-bindgen-backend@0.2.81 + wasm-bindgen-macro-support@0.2.81 + wasm-bindgen-macro@0.2.81 + wasm-bindgen-shared@0.2.81 + wasm-bindgen@0.2.81 + web-sys@0.3.58 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.5 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.48.0 + 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 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="A concrete syntax tree with AST-like properties for Python" +HOMEPAGE=" + https://github.com/Instagram/LibCST/ + https://pypi.org/project/libcst/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT Apache-2.0 PSF-2" +# Dependent crate licenses +LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/pyyaml-5.2[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/black[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/libcst/native.*" + +python_test() { + local EPYTEST_IGNORE=( + # fuzzing, require hypothesmith + libcst/tests/test_fuzz.py + # require pyre-check + libcst/metadata/tests/test_type_inference_provider.py + # requires `python -m libcst.codegen.generate` which has extra + # deps and needs patching to work in our venv + # TODO: figure out if we don't need that for revdeps anyway + libcst/codegen/tests/test_codegen_clean.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + # fixtures + ln -s "${S}/native" . || die + + nonfatal epytest + local ret=${?} + + rm native || die + + [[ ${ret} -ne 0 ]] && die "Tests failed on ${EPYTHON}" +} + +python_test_all() { + cd native || die + cargo_src_test +} diff --git a/dev-python/libcst/metadata.xml b/dev-python/libcst/metadata.xml new file mode 100644 index 000000000000..2d277a084361 --- /dev/null +++ b/dev-python/libcst/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">Instagram/LibCST</remote-id> + <remote-id type="pypi">libcst</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/libtmux/Manifest b/dev-python/libtmux/Manifest index 58dd02031fb4..5ae36e7af8b9 100644 --- a/dev-python/libtmux/Manifest +++ b/dev-python/libtmux/Manifest @@ -8,3 +8,4 @@ DIST libtmux-0.33.0.gh.tar.gz 282114 BLAKE2B d1b9b1e0789c81dab17a1d0be3708f34388 DIST libtmux-0.35.0.gh.tar.gz 282514 BLAKE2B b940e3833a54f949a73e19e1c8cdb97f91300425b4eff9f5b4ed0b60bfb117d0c670f3e450937bb453e0a7c2b7c623691d1ad8c42611bc486d65992680cbed9a SHA512 a847a5cd14f0daefaa7582610bcc5ab707aed16b73e4ff53f630bd27794dbdabf1c1d42635d30a3e3823413be79e9c2fcf3710096080b0eac3c49adecb816d59 DIST libtmux-0.35.1.gh.tar.gz 282665 BLAKE2B 7b28e4a4dbbea86102aa37bc1bca6d7de7d184b999dd4cbbe739770a32e0bcc5069f5822a79af426f41dc9ad25fda0cb3e23cba7a5b340b88259d552cb380356 SHA512 400eb10594032e9387a7408626d3be3281fdcb66ed06cc839732ccb39278c20f3f8d8f07e88ea03876a5afe38cb567e585c45716b1edb12cc8f6a89f20873a34 DIST libtmux-0.36.0.gh.tar.gz 282828 BLAKE2B 247f98ae47093090187f2d52792f850f7476427b368f46970ef3fe9bd6449c03ac23101c8c7af711167bbd92e9e2cff3754474375dabd48157154ed89975a71a SHA512 2fa16a55d4b46461d1266179cfa6cf8d710fdbe435369ff195a683a96243b2b7cd2fbeb47b88e3a660c23d3ca57e1c2722bc12492c52ee0961a1c5cc99ceb093 +DIST libtmux-0.37.0.gh.tar.gz 283496 BLAKE2B ef8c9c05cc20f549fc13ffb05276e1ba5b24c366c9cf44eb5ffe609cfe0e603ab7a90747b5df03afa62a6a9d8c81904e7fa7e4598092d3b11c0e9295e413d88d SHA512 8876ad13613d367d6a6ea5945b5a0a495460b5ad68a14d89d20a41f0e5b421e0007041e4e8356e88a8eefb2b2422be306aebd2452e3be556f1cc4fd232327499 diff --git a/dev-python/libtmux/libtmux-0.37.0.ebuild b/dev-python/libtmux/libtmux-0.37.0.ebuild new file mode 100644 index 000000000000..60bbba2f66cb --- /dev/null +++ b/dev-python/libtmux/libtmux-0.37.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Typed library that provides an ORM wrapper for tmux, a terminal multiplexer" +HOMEPAGE=" + https://libtmux.git-pull.com/ + https://github.com/tmux-python/libtmux/ + https://pypi.org/project/libtmux/ +" +SRC_URI=" + https://github.com/tmux-python/libtmux/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + >=app-misc/tmux-3.0a +" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + local issues="https://github.com/tmux-python/libtmux/issues/" + sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die + + # increase timeouts for tests + sed -e 's/0.01/0.1/' -i tests/test_test.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set + # https://bugs.gentoo.org/927158 + local -x TMUX_PANE= + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=libtmux.pytest_plugin + + local EPYTEST_DESELECT=( + # flaky tests + tests/legacy_api/test_test.py::test_function_times_out + tests/legacy_api/test_test.py::test_function_times_out_no_raise + tests/legacy_api/test_test.py::test_function_times_out_no_raise_assert + ) + epytest -o addopts= -p pytest_mock -p rerunfailures tests +} diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest index b5cb9d9d3c1a..1ab3d3ac1343 100644 --- a/dev-python/libvirt-python/Manifest +++ b/dev-python/libvirt-python/Manifest @@ -4,6 +4,8 @@ DIST libvirt-python-10.1.0.tar.gz 246933 BLAKE2B f95757c6e88271874f2e6c5efd52f4b DIST libvirt-python-10.1.0.tar.gz.asc 833 BLAKE2B ae970da8b897efa3c8abf596fa653e2fed23e11dc1e1531093ce7fb1c3f9c76659fb71aab828a02c141bd59695eb6989a39f2c99fdd8494e40a8ded43c727fb8 SHA512 deb6af1a7d59bae6498175c842be7995262d0503a0614267b4fa8a157d5d094d8aacd34184b4149a0821750d57ba3ad36af1fec1f7e9532625bb620229bf404d DIST libvirt-python-10.2.0.tar.gz 246954 BLAKE2B a6987539386acae3f06d97fa3fbe9b53eb93b3877ee0e4f0c2a068104f12c5c7b116392fc078c30ef297c108128eaf29075974502dee75e84c96c8288ab70809 SHA512 36c79491a9be24fc118cbaddcd96c02c7df05c3808cd8f7dbc2d143330aa8f4a6cf8ea90fc1901dcb43d9c2b52edd1a013d01b88a82b1d3ec6a2ab88b671ac61 DIST libvirt-python-10.2.0.tar.gz.asc 833 BLAKE2B 0aaf3853f27e7f2157fed61e1a4dedd80cc70a95b2a265a46d04eb97d0e4b583779eb072f7c94f478c20340f09266079204d9c1805987c3a512f96c4d7f670d4 SHA512 b9fd2d958c3afd23e18559d913dabd3409d68c2eb0094e485f5131e8278f25569c88d443b1ac1b30cad87cd02d9335c5e09a3ea87e37a3a73df650f57d647b11 +DIST libvirt-python-10.3.0.tar.gz 238840 BLAKE2B 35f4b15609550f9f255ee046fda4df22099926779ded4e7a75c02cdfef9156a366f3aa62a92d75bb7bfaa4c5220679ac3231844dc35c0f7db6dd362c81b9ed77 SHA512 5c5b4b6e52887a5fe0436581ef6233e78abbf702db87936743329e62a1e3c66c124ed6e2c2b92d6215027e6cbe459c536a8436ac3cea63269bff78ec3c9efc98 +DIST libvirt-python-10.3.0.tar.gz.asc 833 BLAKE2B 75f38beedc069543f634f0b880e439a6dbc4aea6eec29bbc229a5169f09aa55c5207a3f445f5e70da2b4cb94e7397bdd937f7d5088f7cd7b4f57d3d57e6196c1 SHA512 adeb63e8ecbdbac498d0971bea837f6a8ef5fa673bbade52a623e2f7a70600c443b87ca32cfe9c61c33f9f785eb1215815bf12fbd3cc4d9d4f60a3b898bb3cfb DIST libvirt-python-9.8.0.tar.gz 246277 BLAKE2B c333909d1f4fd32f9e05d42e468b3808971360bb8aaf35934ec25f8155f0231b2ff3bfd90944a50cf13e09cec3cf35fdf41fb5869b1683c1cd36b4767f2b3dd1 SHA512 c9871ca2fa9d18ae42c4aa76e9a7ba9f0a026061b058072c862c8fe402c2d2325189687e1490718360a9b8f6c13d8ae2adfbe54f79a367fb6be9fbde381f4901 DIST libvirt-python-9.8.0.tar.gz.asc 833 BLAKE2B 78e6556031c325674d26322d0a6a4dfc391dd050223bd6d939d30328fc7bb1a2f8671aae95eb3a37b916311e6f4c44a4c1929093844347e06dffa23480793e34 SHA512 b999d442f8e22d91ccf9988f53603159406b3aacd3469fd613ed24afd67722206eb2b319a1518bc7aa8cc12684f84685de885bd40c9ba7d9a94ef16cf03f6065 DIST libvirt-python-9.9.0.tar.gz 246357 BLAKE2B d2e6bc9f8ae3c722ffa18772e40965e7ef1acfb36a863d764ac39c694f687a078b6433cb780a27696f63c698c3e63d203ae1609b48ee31ea5cd95a21a3947666 SHA512 5a09b23b843080f2e55a7b00dc225e0bf23c9c23cac42ce4ffaff725020303745185482c2cc781d519020f50a335d4fa72a7a618bb2c1d0eb0845781d1b22ab7 diff --git a/dev-python/libvirt-python/libvirt-python-10.3.0.ebuild b/dev-python/libvirt-python/libvirt-python-10.3.0.ebuild new file mode 100644 index 000000000000..83f8a3a26364 --- /dev/null +++ b/dev-python/libvirt-python/libvirt-python-10.3.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Packages which get releases together: +# app-emacs/nxml-libvirt-schemas +# dev-python/libvirt-python +# dev-perl/Sys-Virt +# app-emulation/libvirt +# Please bump them together! + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +inherit distutils-r1 verify-sig + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-python.git" + RDEPEND="app-emulation/libvirt:=" +else + MY_P="${P/_rc/-rc}" + SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz + verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + RDEPEND="app-emulation/libvirt:0/${PV}" +fi +S="${WORKDIR}/${P%_rc*}" + +DESCRIPTION="libvirt Python bindings" +HOMEPAGE="https://www.libvirt.org" + +LICENSE="LGPL-2" +SLOT="0" +IUSE="examples test" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + ) + verify-sig? ( sec-keys/openpgp-keys-libvirt ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libvirt.org.asc + +distutils_enable_tests pytest + +python_compile() { + # setuptools is broken for C extensions, bug #907718 + distutils-r1_python_compile -j1 +} + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/line-profiler/Manifest b/dev-python/line-profiler/Manifest index 75ea791ec272..accd2b2f3f35 100644 --- a/dev-python/line-profiler/Manifest +++ b/dev-python/line-profiler/Manifest @@ -1 +1,2 @@ DIST line_profiler-4.1.2.gh.tar.gz 100514 BLAKE2B 4e9fa1f2bcc39658f50b5832a8c2ee15090e03532d574cfa06db846beb191b8e2f19c82e5b03f91f2fc7b9de2a024e86909191982a03702690820972e10b7b2b SHA512 feb3f799770057b1b2dbc5601e497ce8fbc3f802e48e652b30486d453710c811bf46f3c22c0e706bbcce8cf4ef3c6e118bcc4917d8d72ff8bb0bb975324dfa16 +DIST line_profiler-4.1.3.gh.tar.gz 103226 BLAKE2B 209fe81bfd29cad1fe5866af792294d956a8f5d4d20948335a418aa0c7c3c5ff23e271c49cfc6cf228287cb1031e00a0f540fc88f52ccc3a0c329443de17b188 SHA512 cc8367b40558647f097e33152bd1d8b241720a1ed79c1f1930a7958e333cecdf38bc7d1ab0a8ebfb11e3251fa076966076ec42a8b633dfcb9de0c598c02b8b93 diff --git a/dev-python/line-profiler/line-profiler-4.1.3.ebuild b/dev-python/line-profiler/line-profiler-4.1.3.ebuild new file mode 100644 index 000000000000..be13f5e4f4d7 --- /dev/null +++ b/dev-python/line-profiler/line-profiler-4.1.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-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} ) + +inherit distutils-r1 + +MY_P=line_profiler-${PV} +DESCRIPTION="Line-by-line profiler" +HOMEPAGE=" + https://github.com/pyutils/line_profiler/ + https://pypi.org/project/line-profiler/ +" +SRC_URI=" + https://github.com/pyutils/line_profiler/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/ipython[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/ubelt[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export LINE_PROFILER_BUILD_METHOD=cython + +python_test() { + cd tests || die + epytest +} diff --git a/dev-python/linkify-it-py/linkify-it-py-2.0.3.ebuild b/dev-python/linkify-it-py/linkify-it-py-2.0.3.ebuild index 53b5d22c3ec4..7631b68e9f10 100644 --- a/dev-python/linkify-it-py/linkify-it-py-2.0.3.ebuild +++ b/dev-python/linkify-it-py/linkify-it-py-2.0.3.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 5f8ec851a9f6..2d017f8f682a 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -1,11 +1,9 @@ -DIST llvm-project-12735916bd3a63aa9f316af8eebfe9420cfec489.tar.gz 208645973 BLAKE2B 4a64dcaa15cb592634eceb384ecfc11173dbf0285402c32be2b8056374bb8ecef8fa1055fbe353a0836c84b75736cc05f3a14428bc431c18362cfaa7bf96a50a SHA512 ee42f7db322c84dfae3c67ffcfff2ee8d56d6bd4a0412b6bd4f8952ac1da4d57d18fa38011fe514631363b4cc143327be887792dd2e9562942261c99e655d948 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5 SHA512 4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a SHA512 ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2 SHA512 6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7 SHA512 f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340 -DIST llvm-project-18.1.3.src.tar.xz 132049300 BLAKE2B 0681177cfe6a65f5cf11942381078388e8f5d9d5a4bb50b040e4c10a3898e7311ff379fcca008e82e4bef225792a38eb77f722c972725b9251a0fda29d8d7ecc SHA512 b8b8a00c560bc7d4c4b5d533b92dbd52f2c0254f0acf687e787e8b7fa780cd5d96f6e9709356d2c406c0b36b186dee4de6b1bc1928a97de0bda863fa873e0783 -DIST llvm-project-18.1.3.src.tar.xz.sig 566 BLAKE2B dcecf41346cc864c6e5bedd3a7db3db4f32a68534364d2537a15ca7e4e2f2d35a22722385ac556d2a4ac48ab37567566094f223534e696299f98040e702146d0 SHA512 b7e50779841891e9ed9de5ed917c5be3209a52a5d98c67a032509ae8fad8a2a882bf619c66d2ee45bb53dfb03d750cb94dc4b2750ec2a8edb0465700d5bc657c -DIST llvm-project-a8b0ecd2605ff23f495a8af64e06c35f86834e54.tar.gz 208451583 BLAKE2B 3f8557637b9d10ed924cfec0b3e83d85996417df24b317cac55740aa199ef97cf7560fe634debd1dbfc7c9fc25aa2b2643fccaecc4c866481dc57b11eba1d02f SHA512 1f4bf5a8a59582af426ad13cc828e1e482c5c831ed5a4bb0da419ed3cf67e5e485fd36074603ad22328e35be44b8ccd2d92d1382bc7a228fdf38d458a2321e07 -DIST llvm-project-ee284d2da0720dc21191d6f545504cbfcf5dcbcf.tar.gz 208883034 BLAKE2B e37c9f1a6a4d0caa9a3091f979dd09f509d458f8b7b30286c77dd2385aea748b7aac6dd488c79573f82feb655aa321717bd2fb46bba4a12b388b52064f6e13bf SHA512 1335ade87cd2accc47ac47ed2ab302999e375808b158b6c9d31fac9059cbb992d2bdaaadf1fd9a1b37268c1123d43346ea4d150894d6d2e6f80ba790b65b93b1 +DIST llvm-project-18.1.5.src.tar.xz 132061072 BLAKE2B bfdd987d5992a4d94ae8b14792df3be67a8e8fdf1daef9834cdaa2132df1b7ddb72ba0aabbb34b171a73d0f3b2b0f61e7160f0b278a67fd4850e3f501fd21531 SHA512 9e2f1e251b3754a24a0b39676d78c98692887c05c85cf0bee50fd44d9635290019930d4dabd1ff4ba3c9c1067e7e0e09aa1bbcd3d76687f919a1d44ba85eee20 +DIST llvm-project-18.1.5.src.tar.xz.sig 566 BLAKE2B ad935db71ec3b9fc885d696af440764a71fe7cafc5b3ca0b25a2963100d9cb3790392daebcac1341716c95a8da3c6243f5a8667fea1ed18b93fc8baa495414c9 SHA512 3cbca1059d940f3bd7bd72d68f2828039b66304980cc5f43769649e5494fc7d71117bf8aba5cc7f7a2ffca52f60ba30fadf3b28f984fd49ddb14300e30b45237 +DIST llvm-project-a7ee81e8279e0bf6e05617a4a638e5f2f8e45022.tar.gz 210384692 BLAKE2B 28b85b08a42c173e1c3bf530483112b1629c7e6684a83a016fbe9f132774f7b864d793581873a6529defeabb4479ad9a3d7c025b781b2fa4952c239b6d567b11 SHA512 1d593818347452f96611a62fa3aa22ce4355a4ee5d5dcfcb54a286a1aa980e9531d5fb6cbee3b0ee5943c6d0f4e2ba2245e13262fe7859e5b114f9c5d5cf1417 diff --git a/dev-python/lit/lit-18.1.3.ebuild b/dev-python/lit/lit-18.1.5.ebuild index 5476bd8c23e4..5476bd8c23e4 100644 --- a/dev-python/lit/lit-18.1.3.ebuild +++ b/dev-python/lit/lit-18.1.5.ebuild diff --git a/dev-python/lit/lit-19.0.0_pre20240404.ebuild b/dev-python/lit/lit-19.0.0_pre20240404.ebuild deleted file mode 100644 index 3d0315962098..000000000000 --- a/dev-python/lit/lit-19.0.0_pre20240404.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 llvm.org - -DESCRIPTION="A stand-alone install of the LLVM suite testing tool" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -# Tests require 'FileCheck' and 'not' utilities (from llvm) -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm - ) -" - -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -# TODO: move the manpage generation here (from sys-devel/llvm) - -src_prepare() { - # flaky test - # https://github.com/llvm/llvm-project/issues/72022 - rm tests/progress-bar.py || die - - cd "${WORKDIR}" || die - distutils-r1_src_prepare -} - -python_test() { - local -x LIT_PRESERVES_TMP=1 - local litflags=$(get_lit_flags) - ./lit.py ${litflags//;/ } tests || die -} diff --git a/dev-python/lit/lit-19.0.0_pre20240410.ebuild b/dev-python/lit/lit-19.0.0_pre20240410.ebuild deleted file mode 100644 index 3d0315962098..000000000000 --- a/dev-python/lit/lit-19.0.0_pre20240410.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 llvm.org - -DESCRIPTION="A stand-alone install of the LLVM suite testing tool" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -# Tests require 'FileCheck' and 'not' utilities (from llvm) -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm - ) -" - -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -# TODO: move the manpage generation here (from sys-devel/llvm) - -src_prepare() { - # flaky test - # https://github.com/llvm/llvm-project/issues/72022 - rm tests/progress-bar.py || die - - cd "${WORKDIR}" || die - distutils-r1_src_prepare -} - -python_test() { - local -x LIT_PRESERVES_TMP=1 - local litflags=$(get_lit_flags) - ./lit.py ${litflags//;/ } tests || die -} diff --git a/dev-python/lit/lit-19.0.0_pre20240330.ebuild b/dev-python/lit/lit-19.0.0_pre20240509.ebuild index 3d0315962098..3d0315962098 100644 --- a/dev-python/lit/lit-19.0.0_pre20240330.ebuild +++ b/dev-python/lit/lit-19.0.0_pre20240509.ebuild diff --git a/dev-python/lmfit/Manifest b/dev-python/lmfit/Manifest index 2ad85a8f206c..21f73849cdd7 100644 --- a/dev-python/lmfit/Manifest +++ b/dev-python/lmfit/Manifest @@ -1,2 +1,3 @@ DIST lmfit-1.2.2.tar.gz 336346 BLAKE2B 78819c8be935f330b2f0eaad09ff9201c80e12d571571d8ee5088100c4d19a6a78d2e860e7b240fb6f2eea5f27bd0fc72538fdb04e6cc4e3e1d801f4f5fc5110 SHA512 f667bf8eb9c4090beda33de8a32c284a1f1eb2f1643085191943517acf61e125c7bafed37b634267fdc69e49338397248673fc62f8afc8fc8cc6733726cd0313 DIST lmfit-1.3.0.tar.gz 628754 BLAKE2B e5fa707c8f778227e89c996e4c2763b71562b01e67cbe3558825e2ee278999c5732717953607104ba553faee2984151a978e04c44a624ea95d1bc4fc9f2feb60 SHA512 198b290a8970dc954705824f09b86ee2bd9e12fc71635fe89e38a5911f88103861daab6f292a6e4c93bc3e3413676b33f680cea7adae3137feb251d792f76270 +DIST lmfit-1.3.1.tar.gz 629917 BLAKE2B 6cb5f478bf0b31ce6fe6ccfc97d216fae63f8efa159b30151896254352d3d0e1667d276101f93d357a0dabc39462bd110f115ff6e89c18739c1728f089f54d89 SHA512 b6766224ecd4c75e09a935ab86041852f22491870191c6b6b8cc0e5a873e7c69cb6f11517afa987289c63fb249a8ceef7c336e1c7c4e19d33a2e1bc04fbe6aa6 diff --git a/dev-python/lmfit/lmfit-1.3.1.ebuild b/dev-python/lmfit/lmfit-1.3.1.ebuild new file mode 100644 index 000000000000..93e1d36d7e10 --- /dev/null +++ b/dev-python/lmfit/lmfit-1.3.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Non-Linear Least-Squares Minimization and Curve-Fitting for Python" +HOMEPAGE=" + https://lmfit.github.io/lmfit-py/ + https://github.com/lmfit/lmfit-py/ + https://pypi.org/project/lmfit/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/asteval-0.9.28[${PYTHON_USEDEP}] + >=dev-python/dill-0.3.4[${PYTHON_USEDEP}] + >=dev-python/numpy-1.19[${PYTHON_USEDEP}] + >=dev-python/scipy-1.6[${PYTHON_USEDEP}] + >=dev-python/uncertainties-3.1.4[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-6.2[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + epytest -o addopts= +} diff --git a/dev-python/looseversion/looseversion-1.3.0.ebuild b/dev-python/looseversion/looseversion-1.3.0.ebuild index 6654b11d9f0b..b899863d3c74 100644 --- a/dev-python/looseversion/looseversion-1.3.0.ebuild +++ b/dev-python/looseversion/looseversion-1.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="amd64 ~riscv ~x86" distutils_enable_tests pytest diff --git a/dev-python/lxml-html-clean/Manifest b/dev-python/lxml-html-clean/Manifest new file mode 100644 index 000000000000..377c78223a4e --- /dev/null +++ b/dev-python/lxml-html-clean/Manifest @@ -0,0 +1 @@ +DIST lxml_html_clean-0.1.1.tar.gz 14086 BLAKE2B 5ff4c01847298fc7c63b3243805ae9cd9013a4bc0b263d3235344cb6a46b4e09d4f2c5d559e4fb311f7dc1c92262feaa53caa3562dff1e65b302af65abbd025a SHA512 f297a17f84cec472026d12246f95013bf6c0cab932dccb6432a1140503d62255a3a9357798047044175ce8f9d1d86d3ea9a73a732ec299d65263ccf637315e95 diff --git a/dev-python/lxml-html-clean/lxml-html-clean-0.1.1.ebuild b/dev-python/lxml-html-clean/lxml-html-clean-0.1.1.ebuild new file mode 100644 index 000000000000..be9038fb8598 --- /dev/null +++ b/dev-python/lxml-html-clean/lxml-html-clean-0.1.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Separate project for HTML cleaning functionalities copied from lxml.html.clean" +HOMEPAGE=" + https://pypi.org/project/lxml-html-clean/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm64" + +RDEPEND=" + >=dev-python/lxml-5.2.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/lxml-html-clean/metadata.xml b/dev-python/lxml-html-clean/metadata.xml new file mode 100644 index 000000000000..fb6f3eebe669 --- /dev/null +++ b/dev-python/lxml-html-clean/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>eschwartz93@gmail.com</email> + <name>Eli Schwartz</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">lxml-html-clean</remote-id> + <remote-id type="github">fedora-python/lxml_html_clean</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/lxml/Manifest b/dev-python/lxml/Manifest index 119dc61cde67..2c2267864959 100644 --- a/dev-python/lxml/Manifest +++ b/dev-python/lxml/Manifest @@ -2,3 +2,4 @@ DIST lxml-5.1.0.gh.tar.gz 962111 BLAKE2B 31c82eb198911d82fd9f7882bf94547b2367f3b DIST lxml-5.1.1.gh.tar.gz 963649 BLAKE2B 0cb7b4e39539ee962cd590b2b2dc644a111a094da9cbccc2ee0c29b9a758d8aca967f989693c76532252909dc44a96a3815273f04f28be2dbeb57d4daae2e6fd SHA512 bb479ca7dcce944a9a3597f67da1b12fb9f3a05592fb8342fe01bc569a86df95c32c7bf1bc0b9cfc0ddffb85adf12612fb2d8622a460357c1aaa56e033476375 DIST lxml-5.2.0.gh.tar.gz 949400 BLAKE2B 4a1640e1da27504e6a9b5e1c55fa2d51eb2e27f6400b63dae29aa42c6c9bf9a002374d0c4ec3ccd13452efd4f39f0a28dc5989fe7f1da5c80e17b2fb31a0dcae SHA512 5d4faab6430666427a7540b768a81beb5c628e7801a06156a68a03a5f75e424e61b1dfd792b8909e03e8561ffb0be64f62c86a411c110c01a021f4cbf37593f2 DIST lxml-5.2.1.gh.tar.gz 950408 BLAKE2B d0ad369f9d555a9bcdd92c71fb84063eba864c359d1ff27159c8f6de433bcce6915c9cff31aa7bd99de9aa54cb9a1d7ea7b3bb2526c755f8a38aaa21d9d30dfd SHA512 bd5ab005d617da588f87fa643245916e6963394b167f66991dce6443490692fcbf27620c2208b271bd8a1a97c79b09eedca2d1c6f02ba990a7d88d00ee43edfe +DIST lxml-5.2.2.gh.tar.gz 950650 BLAKE2B d9e3bd96f386a808eca58ffa9a6b5a79e43102b7161fac9b97905de2bd22d21feaddb093e27463f597ef5378d754011c2999a38953e6288595b8dd171976688b SHA512 20b87a2d6e7ac82b6979d6fd18ecd5c224fec6eeee6b69d47a5bf2947ce53e6a517d1b86ab68836a5974f78ce86551ddc2317c1a7255932b418b98dc64d59376 diff --git a/dev-python/lxml/lxml-5.2.1.ebuild b/dev-python/lxml/lxml-5.2.1.ebuild index 9b0492d3f662..48345b052c05 100644 --- a/dev-python/lxml/lxml-5.2.1.ebuild +++ b/dev-python/lxml/lxml-5.2.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 optfeature toolchain-funcs @@ -23,7 +23,7 @@ S=${WORKDIR}/lxml-${P} LICENSE="BSD ElementTree GPL-2 PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="doc examples +threads test" RESTRICT="!test? ( test )" @@ -122,4 +122,5 @@ python_install_all() { pkg_postinst() { optfeature "Support for BeautifulSoup as a parser backend" dev-python/beautifulsoup4 optfeature "Translates CSS selectors to XPath 1.0 expressions" dev-python/cssselect + optfeature "Support for lxml.html.clean sanitizer" dev-python/lxml-html-clean } diff --git a/dev-python/lxml/lxml-5.2.2.ebuild b/dev-python/lxml/lxml-5.2.2.ebuild new file mode 100644 index 000000000000..f364a0ea6f6b --- /dev/null +++ b/dev-python/lxml/lxml-5.2.2.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-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..13} pypy3 ) + +inherit distutils-r1 optfeature toolchain-funcs + +DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries" +HOMEPAGE=" + https://lxml.de/ + https://pypi.org/project/lxml/ + https://github.com/lxml/lxml/ +" +SRC_URI=" + https://github.com/lxml/lxml/archive/${P}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/lxml-${P} + +LICENSE="BSD ElementTree GPL-2 PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc examples +threads test" +RESTRICT="!test? ( test )" + +# Note: lib{xml2,xslt} are used as C libraries, not Python modules. +DEPEND=" + >=dev-libs/libxml2-2.10.3 + >=dev-libs/libxslt-1.1.38 +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + virtual/pkgconfig + >=dev-python/cython-3.0.10[${PYTHON_USEDEP}] + doc? ( + $(python_gen_any_dep ' + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ') + ) + test? ( + dev-python/cssselect[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-5.1.1-pypy.patch" +) + +python_check_deps() { + use doc || return 0 + python_has_version -b "dev-python/docutils[${PYTHON_USEDEP}]" && + python_has_version -b "dev-python/pygments[${PYTHON_USEDEP}]" && + python_has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" && + python_has_version -b "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" +} + +python_prepare_all() { + # avoid replacing PYTHONPATH in tests. + sed -i -e '/sys\.path/d' test.py || die + + # don't use some random SDK on Darwin + sed -i -e '/_ldflags =/s/=.*isysroot.*darwin.*None/= None/' \ + setupinfo.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + local DISTUTILS_ARGS=( + # by default it adds -w to CFLAGS + --warnings + ) + tc-export PKG_CONFIG + distutils-r1_python_compile +} + +python_compile_all() { + use doc && emake html +} + +python_test() { + local dir=${BUILD_DIR}/test$(python_get_sitedir)/lxml + local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} + + cp -al "${BUILD_DIR}"/{install,test} || die + cp -al src/lxml/tests "${dir}/" || die + cp -al src/lxml/html/tests "${dir}/html/" || die + ln -rs "${S}"/doc "${dir}"/../../ || die + + "${EPYTHON}" test.py -vv --all-levels -p || + die "Tests fail on ${EPYTHON}" +} + +python_install_all() { + if use doc; then + local DOCS=( README.rst *.txt doc/*.txt ) + local HTML_DOCS=( doc/html/. ) + fi + if use examples; then + dodoc -r samples + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "Support for BeautifulSoup as a parser backend" dev-python/beautifulsoup4 + optfeature "Translates CSS selectors to XPath 1.0 expressions" dev-python/cssselect + optfeature "Support for lxml.html.clean sanitizer" dev-python/lxml-html-clean +} diff --git a/dev-python/mako/Manifest b/dev-python/mako/Manifest index 933299d49615..fc6026c41306 100644 --- a/dev-python/mako/Manifest +++ b/dev-python/mako/Manifest @@ -1,2 +1,3 @@ -DIST Mako-1.3.2.tar.gz 390659 BLAKE2B 930b74a19c8b582781b05d7042f8c27636989614df62328f5c3548d427c1e3e2366edb8a7ad3ecbd123ef5344c9cf2ba1bdc00e8540b9624d7bcecfecb8329a5 SHA512 acde7b4be929fdd97f2a3fc133966ffc44b5706dbdd3f1af0fee16620b3c82d12b1a67b7292a229084ebb4f0c392e8db1b2844112baa3c6a5fd2be8777b04897 DIST Mako-1.3.3.tar.gz 389980 BLAKE2B 1c890f159e808a7026e46a489d49ec19a346ce0a8be8d2ea1ef870435830a9021b0877a3d395c9273609be9dc4b11d1e5359d89a9b571a73f05de11152988800 SHA512 fa8bf3997f7a3edc18057f53e8450d72d5c86019229fef91eaa141f0b65a081ca9425c14245227b35aedcccc7dbe52e90bc7dfee34598b490e93cd01fc4a8321 +DIST Mako-1.3.4.tar.gz 392377 BLAKE2B bd0516dbbedb843a119eaba91798929c6c469eecf6b18d53b403c473e4279c9a73e1248afa8afbdc3e3dca8db5be1950f90c4bfb4683422d6621031910ef77a9 SHA512 e577fa40e861dc3a68f072ad098ae64f45c10ddd7cab9a7733ddb700d21b82b2c0b7448bf50ec95ec89293d4a3a5085fba23ccc97a60ede697ee008433e83715 +DIST Mako-1.3.5.tar.gz 392738 BLAKE2B 566d4126a1c2ece5b2b3f2bec8470d97cc44e512987103f7027d6433418e50bff1cfad7ba510b88f38537c92d3a69d9a85e5b28cd759dbaa29ec19702461e359 SHA512 9a2f96bcb650f40cc2a9daa05904e54efca1fa30022ab641c850f6e32b84a38368d4c5d328f94ac4495ed97778d6ab0b661bc93a14740ed7e5d518f03bc9a59f diff --git a/dev-python/mako/mako-1.3.3.ebuild b/dev-python/mako/mako-1.3.3.ebuild index 2069ece40b7a..cfeb5449315c 100644 --- a/dev-python/mako/mako-1.3.3.ebuild +++ b/dev-python/mako/mako-1.3.3.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="doc" RDEPEND=" diff --git a/dev-python/mako/mako-1.3.2.ebuild b/dev-python/mako/mako-1.3.4.ebuild index cfeb5449315c..3203b0011bc2 100644 --- a/dev-python/mako/mako-1.3.2.ebuild +++ b/dev-python/mako/mako-1.3.4.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYPI_PN=${PN^} -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="doc" RDEPEND=" @@ -35,9 +35,15 @@ distutils_enable_tests pytest python_test() { local EPYTEST_DESELECT=() - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( - test/test_exceptions.py::ExceptionsTest::test_alternating_file_names - ) + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + test/test_exceptions.py::ExceptionsTest::test_alternating_file_names + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest } diff --git a/dev-python/mako/mako-1.3.5.ebuild b/dev-python/mako/mako-1.3.5.ebuild new file mode 100644 index 000000000000..3203b0011bc2 --- /dev/null +++ b/dev-python/mako/mako-1.3.5.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN^} +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python templating language" +HOMEPAGE=" + https://www.makotemplates.org/ + https://github.com/sqlalchemy/mako/ + https://pypi.org/project/Mako/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="doc" + +RDEPEND=" + >=dev-python/markupsafe-0.9.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/Babel[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + test/test_exceptions.py::ExceptionsTest::test_alternating_file_names + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_install_all() { + rm -r doc/build || die + + use doc && local HTML_DOCS=( doc/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/mapbox_earcut/mapbox_earcut-1.0.1.ebuild b/dev-python/mapbox_earcut/mapbox_earcut-1.0.1-r1.ebuild index c80e3a6b924f..21a9a14ecf70 100644 --- a/dev-python/mapbox_earcut/mapbox_earcut-1.0.1.ebuild +++ b/dev-python/mapbox_earcut/mapbox_earcut-1.0.1-r1.ebuild @@ -22,8 +22,11 @@ LICENSE="MIT" SLOT="0" KEYWORDS="amd64 arm64 ~x86" +DEPEND=" + dev-python/numpy:=[${PYTHON_USEDEP}] +" RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] + ${DEPEND} " BDEPEND=" dev-python/pybind11[${PYTHON_USEDEP}] diff --git a/dev-python/markdown-it-py/markdown-it-py-3.0.0.ebuild b/dev-python/markdown-it-py/markdown-it-py-3.0.0.ebuild index af127216b1a8..f782d6911686 100644 --- a/dev-python/markdown-it-py/markdown-it-py-3.0.0.ebuild +++ b/dev-python/markdown-it-py/markdown-it-py-3.0.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/markupsafe/markupsafe-2.1.5.ebuild b/dev-python/markupsafe/markupsafe-2.1.5.ebuild index 45397b662720..a33b310f9b7c 100644 --- a/dev-python/markupsafe/markupsafe-2.1.5.ebuild +++ b/dev-python/markupsafe/markupsafe-2.1.5.ebuild @@ -7,7 +7,7 @@ DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYPI_PN="MarkupSafe" -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -23,3 +23,19 @@ SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # https://github.com/pallets/markupsafe/issues/445 + tests/test_leak.py::test_markup_leaks + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/marshmallow/Manifest b/dev-python/marshmallow/Manifest index 579d1ab46aef..697bd8b45f51 100644 --- a/dev-python/marshmallow/Manifest +++ b/dev-python/marshmallow/Manifest @@ -1,3 +1,2 @@ -DIST marshmallow-3.20.2.gh.tar.gz 183876 BLAKE2B 84cf8ca23069ad1d2353ffa9299556298457485fa459746b948835f04f92ef3949d5429e8285e084be7398fb294b3d74eba1b38ef21b469daed401f1e6affcdb SHA512 8305693405a976c53333b0c6ef074a12af4736f9620ca37c7c2ec6318fac2b19086426344ce8c2f515e95becdba8b2bb1c20aca5a9dffb4145cb27fee00dc080 -DIST marshmallow-3.21.0.gh.tar.gz 183738 BLAKE2B 9f9b9203be93e6feecbd6b7e1da32f737ba33ca8e386e062d091e20480f5241c1d73f77afd542cb24816a48aa5a948aaa20edcfe9d0fdfa847f6e405e89cff20 SHA512 d08e4eedafc1d6f2bfab463357febc75013e8a548195ab85aac55fa225f2180a4f1646d68f8586d369dd108a793086c5bb8522c7543a51540ec4ee6de5305ad3 DIST marshmallow-3.21.1.gh.tar.gz 183822 BLAKE2B 786287604312b4c54167458c35caf5ac3eb2c9ce63c1b9bd0b8fc33e208e5f694e84842c75c93fd91535bc231ebf703ea3ea0b352d100b59f103e280b840b170 SHA512 6de06ced6a58ef0c312ee4c1edfbe011401bba08c27fcf2dd2c3e44cb072cded1cf5f16a4d4945344d56f0d26b5eb165f6d031b50c215f122c7cc6fe25389318 +DIST marshmallow-3.21.2.gh.tar.gz 183818 BLAKE2B 01e14514d836c36c9f24a6e0a527271bd17ea5ce1ce35cabb6200a886c85ef970e7d54191307d1580568f05b501ec6028c7f126475ac64c160fec75c247a4c20 SHA512 b151f7e712dc5dd5d7f592942a6a4b09d462b684f542406c8bc57237e4b2402eb287d02e4ca2ef65e10dccb1e200b9ff8ae24f69160af1c6aa02fc5dfdc9eeba diff --git a/dev-python/marshmallow/marshmallow-3.20.2.ebuild b/dev-python/marshmallow/marshmallow-3.20.2.ebuild deleted file mode 100644 index 95b74278c863..000000000000 --- a/dev-python/marshmallow/marshmallow-3.20.2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="A library for converting to and from native Python datatypes" -HOMEPAGE=" - https://github.com/marshmallow-code/marshmallow/ - https://pypi.org/project/marshmallow/ -" -SRC_URI=" - https://github.com/marshmallow-code/marshmallow/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - >=dev-python/packaging-0.17[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/marshmallow/marshmallow-3.21.0.ebuild b/dev-python/marshmallow/marshmallow-3.21.2.ebuild index 2adebae08366..2adebae08366 100644 --- a/dev-python/marshmallow/marshmallow-3.21.0.ebuild +++ b/dev-python/marshmallow/marshmallow-3.21.2.ebuild diff --git a/dev-python/matplotlib-inline/Manifest b/dev-python/matplotlib-inline/Manifest index 93f148ead384..f2bb96d1af9a 100644 --- a/dev-python/matplotlib-inline/Manifest +++ b/dev-python/matplotlib-inline/Manifest @@ -1,2 +1 @@ -DIST matplotlib-inline-0.1.6.gh.tar.gz 7526 BLAKE2B fd8fde8e218e19fdf7a09bd7f36abd2e4422ed7de8ed8e2d6e52d995e76b62d8e60223fc43a243f2a0ca545037b44ead9520b67cf54b173d95389eb401b17e9a SHA512 7d34f5a86d65d7a2017cf924dc363d7578d1eb14943c3de56e5a0ac79d92d674b387c5528ea76e9e11e0193e71d8cd1315ceb517e9c9678c41ed412e8fd42c04 DIST matplotlib-inline-0.1.7.gh.tar.gz 8112 BLAKE2B 1c1dc0f0d5a86dc5e8fae013f569f16c90466765643a7c2ef7359f906bec18bbe4bd27502cef78a3edc4f3a617416389648cbb9abab75ba804fbce85de838cec SHA512 b424b42c221227fe8807a4c56207aa3f0830cd857b816e278d4d22a57091598b9a4f3de5f046d9e8722a6cae13a8f187ffc24927071592ff514b1add3962d03f diff --git a/dev-python/matplotlib-inline/matplotlib-inline-0.1.6-r1.ebuild b/dev-python/matplotlib-inline/matplotlib-inline-0.1.6-r1.ebuild deleted file mode 100644 index 14ef9c39ed45..000000000000 --- a/dev-python/matplotlib-inline/matplotlib-inline-0.1.6-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Inline Matplotlib backend for Jupyter" -HOMEPAGE=" - https://github.com/ipython/matplotlib-inline/ - https://pypi.org/project/matplotlib-inline/ -" -SRC_URI=" - https://github.com/ipython/matplotlib-inline/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" - -# Although in theory we could depend on matplotlib, upstream does not. -# This is because the sole purpose of the package is to be loaded by -# ipython (also not a dependency!) as a response to interactive use of -# the "%matplotlib" magic. -# -# In order to be seamless and straightforward, this backend is always -# installed and just requires users using matplotlib, to install -# matplotlib before importing and using it. -RDEPEND=" - dev-python/traitlets[${PYTHON_USEDEP}] -" diff --git a/dev-python/matplotlib-inline/matplotlib-inline-0.1.7.ebuild b/dev-python/matplotlib-inline/matplotlib-inline-0.1.7.ebuild index 826a7275b5ac..8f1788e982c8 100644 --- a/dev-python/matplotlib-inline/matplotlib-inline-0.1.7.ebuild +++ b/dev-python/matplotlib-inline/matplotlib-inline-0.1.7.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" # Although in theory we could depend on matplotlib, upstream does not. # This is because the sole purpose of the package is to be loaded by diff --git a/dev-python/matplotlib/Manifest b/dev-python/matplotlib/Manifest index 14aeadc14202..4417a47b11b9 100644 --- a/dev-python/matplotlib/Manifest +++ b/dev-python/matplotlib/Manifest @@ -1,3 +1,4 @@ DIST freetype-2.6.1.tar.gz 2302080 BLAKE2B 6a5fb98e5fa6cf4b7d7533ad44e364227d8c2f7dded4c552d6e22e204c32b7858f20d41d1e809ecdad6e5353d6cec81bea0e0b06a4533363a41ecab83ce3f7ca SHA512 ff2daed64d712737085924c50e75862fafbcbb24eef6d72dac9eaae63bb656d7245397fd828f5d3e47ac847f7ff83d73dedfdd61fde1f7d6e0f0cdeb49bcf83b DIST matplotlib-3.8.3.tar.gz 35879872 BLAKE2B 2b4b819975a8386bfe2c3af8b1068512b106068c057ca62344f6636c0708327feafc75210a8b87b837779c9a57dede3b4ea2a8b7b673432d7732851d5601f4c6 SHA512 457d1d62b76752938a24780c697461949de00d779df55df122d789f9ebef154edda037f2a804241880a0b442c5fa8139b8ab13054898b8e08fd17a56bdc23312 DIST matplotlib-3.8.4.tar.gz 35934425 BLAKE2B e449f1d71a3152a9cf34cf13c70489d2664c8734c8e8ae0ed5dec2ed5111e0210d679f7e6a1e0b707499d9968b945a7f91573186b82c6d036238aadb5c9da006 SHA512 d4c6a5b3484927dbae1b1203e9984b67d08c958c4a5136abaa805f1eb221146fb1211e5f20456e281d41fc09c94917a796ffacfdb185c58eeeb6d19e60c78b1a +DIST matplotlib-3.9.0.tar.gz 36069890 BLAKE2B 02ddb25901b5a93a8daf6f26c98b92d5e35abe2e98783b039928338abb1d628adbf3fd4786c08cb1610bf405cb558ca31fc12dbde77ec5f2a633143c7ea659a1 SHA512 135ee2f97c26cb60479cc10bf8a833384c393993d8a905ab869f4c73b91a50ffa596f84ce349af7f1a0b08a21e1906394cf6a702bb567a9c3999d40f54974326 diff --git a/dev-python/matplotlib/files/matplotlib-3.9.0-test.patch b/dev-python/matplotlib/files/matplotlib-3.9.0-test.patch new file mode 100644 index 000000000000..db8ab5e2a0fb --- /dev/null +++ b/dev-python/matplotlib/files/matplotlib-3.9.0-test.patch @@ -0,0 +1,249 @@ +diff --git a/lib/matplotlib/tests/test_arrow_patches.py b/lib/matplotlib/tests/test_arrow_patches.py +index 254b86cb54..1f93b1a476 100644 +--- a/lib/matplotlib/tests/test_arrow_patches.py ++++ b/lib/matplotlib/tests/test_arrow_patches.py +@@ -68,7 +68,7 @@ def __prepare_fancyarrow_dpi_cor_test(): + + + @image_comparison(['fancyarrow_dpi_cor_100dpi.png'], remove_text=True, +- tol=0 if platform.machine() == 'x86_64' else 0.02, ++ tol=0.015 if platform.machine() == 'x86_64' else 0.02, + savefig_kwarg=dict(dpi=100)) + def test_fancyarrow_dpi_cor_100dpi(): + """ +@@ -83,7 +83,7 @@ def test_fancyarrow_dpi_cor_100dpi(): + + + @image_comparison(['fancyarrow_dpi_cor_200dpi.png'], remove_text=True, +- tol=0 if platform.machine() == 'x86_64' else 0.02, ++ tol=0.018 if platform.machine() == 'x86_64' else 0.02, + savefig_kwarg=dict(dpi=200)) + def test_fancyarrow_dpi_cor_200dpi(): + """ +@@ -116,7 +116,7 @@ def test_fancyarrow_dash(): + + + @image_comparison(['arrow_styles.png'], style='mpl20', remove_text=True, +- tol=0 if platform.machine() == 'x86_64' else 0.02) ++ tol=0.005 if platform.machine() == 'x86_64' else 0.02) + def test_arrow_styles(): + styles = mpatches.ArrowStyle.get_styles() + +diff --git a/lib/matplotlib/tests/test_axes.py b/lib/matplotlib/tests/test_axes.py +index 0ed5a11c13..c57ed9934e 100644 +--- a/lib/matplotlib/tests/test_axes.py ++++ b/lib/matplotlib/tests/test_axes.py +@@ -1157,7 +1157,7 @@ def test_imshow(): + + @image_comparison( + ['imshow_clip'], style='mpl20', +- tol=1.24 if platform.machine() in ('aarch64', 'ppc64le', 's390x') else 0) ++ tol=1.24) + def test_imshow_clip(): + # As originally reported by Gellule Xg <gellule.xg@free.fr> + # use former defaults to match existing baseline image +@@ -2541,7 +2541,7 @@ def test_contour_hatching(): + + @image_comparison( + ['contour_colorbar'], style='mpl20', +- tol=0.54 if platform.machine() in ('aarch64', 'ppc64le', 's390x') else 0) ++ tol=0.54) + def test_contour_colorbar(): + x, y, z = contour_dat() + +@@ -4902,7 +4902,7 @@ def test_vertex_markers(): + + + @image_comparison(['vline_hline_zorder', 'errorbar_zorder'], +- tol=0 if platform.machine() == 'x86_64' else 0.026) ++ tol=0.015 if platform.machine() == 'x86_64' else 0.026) + def test_eb_line_zorder(): + x = list(range(10)) + +@@ -8810,7 +8810,7 @@ def test_zorder_and_explicit_rasterization(): + + + @image_comparison(["preset_clip_paths.png"], remove_text=True, style="mpl20", +- tol=0.027 if platform.machine() == "arm64" else 0) ++ tol=0.027 if platform.machine() == "arm64" else 0.02) + def test_preset_clip_paths(): + fig, ax = plt.subplots() + +diff --git a/lib/matplotlib/tests/test_colorbar.py b/lib/matplotlib/tests/test_colorbar.py +index 35911afc79..852075c78d 100644 +--- a/lib/matplotlib/tests/test_colorbar.py ++++ b/lib/matplotlib/tests/test_colorbar.py +@@ -235,7 +235,7 @@ def test_colorbar_single_ax_panchor_east(constrained): + + + @image_comparison(['contour_colorbar.png'], remove_text=True, +- tol=0 if platform.machine() == 'x86_64' else 0.054) ++ tol=0.01 if platform.machine() == 'x86_64' else 0.054) + def test_contour_colorbar(): + fig, ax = plt.subplots(figsize=(4, 2)) + data = np.arange(1200).reshape(30, 40) - 500 +diff --git a/lib/matplotlib/tests/test_constrainedlayout.py b/lib/matplotlib/tests/test_constrainedlayout.py +index 4dc4d9501e..015e46cbe4 100644 +--- a/lib/matplotlib/tests/test_constrainedlayout.py ++++ b/lib/matplotlib/tests/test_constrainedlayout.py +@@ -655,11 +655,11 @@ def test_compressed1(): + fig.draw_without_rendering() + + pos = axs[0, 0].get_position() +- np.testing.assert_allclose(pos.x0, 0.06195, atol=1e-3) +- np.testing.assert_allclose(pos.y1, 0.8537, atol=1e-3) ++ np.testing.assert_allclose(pos.x0, 0.06195, atol=2e-3) ++ np.testing.assert_allclose(pos.y1, 0.8537, atol=2e-3) + pos = axs[1, 2].get_position() +- np.testing.assert_allclose(pos.x1, 0.8618, atol=1e-3) +- np.testing.assert_allclose(pos.y0, 0.1934, atol=1e-3) ++ np.testing.assert_allclose(pos.x1, 0.8618, atol=2e-3) ++ np.testing.assert_allclose(pos.y0, 0.1934, atol=2e-3) + + + @pytest.mark.parametrize('arg, state', [ +diff --git a/lib/matplotlib/tests/test_contour.py b/lib/matplotlib/tests/test_contour.py +index d4600a14fe..d2deff9362 100644 +--- a/lib/matplotlib/tests/test_contour.py ++++ b/lib/matplotlib/tests/test_contour.py +@@ -442,8 +442,7 @@ def test_contourf_log_extension(split_collections): + @pytest.mark.parametrize("split_collections", [False, True]) + @image_comparison( + ['contour_addlines.png'], remove_text=True, style='mpl20', +- tol=0.15 if platform.machine() in ('aarch64', 'ppc64le', 's390x') +- else 0.03) ++ tol=0.15) + # tolerance is because image changed minutely when tick finding on + # colorbars was cleaned up... + def test_contour_addlines(split_collections): +diff --git a/lib/matplotlib/tests/test_figure.py b/lib/matplotlib/tests/test_figure.py +index 58aecd3dea..53f3145cbd 100644 +--- a/lib/matplotlib/tests/test_figure.py ++++ b/lib/matplotlib/tests/test_figure.py +@@ -26,7 +26,7 @@ import matplotlib.dates as mdates + + + @image_comparison(['figure_align_labels'], extensions=['png', 'svg'], +- tol=0 if platform.machine() == 'x86_64' else 0.01) ++ tol=0.02) + def test_align_labels(): + fig = plt.figure(layout='tight') + gs = gridspec.GridSpec(3, 3) +@@ -68,7 +68,7 @@ def test_align_labels(): + + @image_comparison(['figure_align_titles_tight.png', + 'figure_align_titles_constrained.png'], +- tol=0 if platform.machine() == 'x86_64' else 0.022, ++ tol=0.01 if platform.machine() == 'x86_64' else 0.022, + style='mpl20') + def test_align_titles(): + for layout in ['tight', 'constrained']: +diff --git a/lib/matplotlib/tests/test_image.py b/lib/matplotlib/tests/test_image.py +index 1602f86716..c2bc71e22f 100644 +--- a/lib/matplotlib/tests/test_image.py ++++ b/lib/matplotlib/tests/test_image.py +@@ -1416,7 +1416,7 @@ def test_nonuniform_and_pcolor(): + + @image_comparison( + ['rgba_antialias.png'], style='mpl20', remove_text=True, +- tol=0 if platform.machine() == 'x86_64' else 0.007) ++ tol=0.007) + def test_rgba_antialias(): + fig, axs = plt.subplots(2, 2, figsize=(3.5, 3.5), sharex=False, + sharey=False, constrained_layout=True) +diff --git a/lib/matplotlib/tests/test_legend.py b/lib/matplotlib/tests/test_legend.py +index 0353f1408b..4c15058e7a 100644 +--- a/lib/matplotlib/tests/test_legend.py ++++ b/lib/matplotlib/tests/test_legend.py +@@ -177,7 +177,7 @@ def test_multiple_keys(): + + + @image_comparison(['rgba_alpha.png'], remove_text=True, +- tol=0 if platform.machine() == 'x86_64' else 0.03) ++ tol=0.02 if platform.machine() == 'x86_64' else 0.03) + def test_alpha_rgba(): + fig, ax = plt.subplots() + ax.plot(range(10), lw=5) +@@ -186,7 +186,7 @@ def test_alpha_rgba(): + + + @image_comparison(['rcparam_alpha.png'], remove_text=True, +- tol=0 if platform.machine() == 'x86_64' else 0.03) ++ tol=0.02 if platform.machine() == 'x86_64' else 0.03) + def test_alpha_rcparam(): + fig, ax = plt.subplots() + ax.plot(range(10), lw=5) +@@ -214,7 +214,7 @@ def test_fancy(): + + + @image_comparison(['framealpha'], remove_text=True, +- tol=0 if platform.machine() == 'x86_64' else 0.024) ++ tol=0.02 if platform.machine() == 'x86_64' else 0.024) + def test_framealpha(): + x = np.linspace(1, 100, 100) + y = x +diff --git a/lib/matplotlib/tests/test_lines.py b/lib/matplotlib/tests/test_lines.py +index 531237b2ba..0e37450e1a 100644 +--- a/lib/matplotlib/tests/test_lines.py ++++ b/lib/matplotlib/tests/test_lines.py +@@ -185,7 +185,7 @@ def test_set_drawstyle(): + + @image_comparison( + ['line_collection_dashes'], remove_text=True, style='mpl20', +- tol=0 if platform.machine() == 'x86_64' else 0.65) ++ tol=0.65) + def test_set_line_coll_dash_image(): + fig, ax = plt.subplots() + np.random.seed(0) +diff --git a/lib/matplotlib/tests/test_units.py b/lib/matplotlib/tests/test_units.py +index ae6372fea1..4f0dc25732 100644 +--- a/lib/matplotlib/tests/test_units.py ++++ b/lib/matplotlib/tests/test_units.py +@@ -79,7 +79,7 @@ def quantity_converter(): + # Tests that the conversion machinery works properly for classes that + # work as a facade over numpy arrays (like pint) + @image_comparison(['plot_pint.png'], style='mpl20', +- tol=0 if platform.machine() == 'x86_64' else 0.03) ++ tol=0.002 if platform.machine() == 'x86_64' else 0.03) + def test_numpy_facade(quantity_converter): + # use former defaults to match existing baseline image + plt.rcParams['axes.formatter.limits'] = -7, 7 +@@ -106,7 +106,7 @@ def test_numpy_facade(quantity_converter): + + # Tests gh-8908 + @image_comparison(['plot_masked_units.png'], remove_text=True, style='mpl20', +- tol=0 if platform.machine() == 'x86_64' else 0.02) ++ tol=0.02) + def test_plot_masked_units(): + data = np.linspace(-5, 5) + data_masked = np.ma.array(data, mask=(data > -2) & (data < 2)) +diff --git a/lib/matplotlib/tests/test_usetex.py b/lib/matplotlib/tests/test_usetex.py +index 342face450..c7256586bc 100644 +--- a/lib/matplotlib/tests/test_usetex.py ++++ b/lib/matplotlib/tests/test_usetex.py +@@ -15,6 +15,7 @@ import matplotlib.pyplot as plt + pytestmark = needs_usetex + + ++@pytest.mark.skip(reason="TODO: broken") + @image_comparison( + baseline_images=['test_usetex'], + extensions=['pdf', 'png'], +@@ -65,7 +66,7 @@ def test_mathdefault(): + fig.canvas.draw() + + +-@image_comparison(['eqnarray.png']) ++@image_comparison(['eqnarray.png'], tol=23) + def test_multiline_eqnarray(): + text = ( + r'\begin{eqnarray*}' +@@ -163,7 +164,7 @@ except mpl.ExecutableNotFoundError: + + + @image_comparison(baseline_images=['rotation'], extensions=['eps', 'pdf', 'png', 'svg'], +- style='mpl20', tol=3.91 if _old_gs_version else 0) ++ style='mpl20', tol=30) + def test_rotation(): + mpl.rcParams['text.usetex'] = True + diff --git a/dev-python/matplotlib/matplotlib-3.8.4.ebuild b/dev-python/matplotlib/matplotlib-3.8.4.ebuild index 94c2c0018b45..734778e897fe 100644 --- a/dev-python/matplotlib/matplotlib-3.8.4.ebuild +++ b/dev-python/matplotlib/matplotlib-3.8.4.ebuild @@ -29,7 +29,7 @@ SRC_URI+=" # Fonts: BitstreamVera, OFL-1.1 LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" IUSE="cairo doc excel gtk3 latex qt5 tk webagg wxwidgets" # internal copy of pycxx highly patched diff --git a/dev-python/matplotlib/matplotlib-3.9.0.ebuild b/dev-python/matplotlib/matplotlib-3.9.0.ebuild new file mode 100644 index 000000000000..21fdd234f0a5 --- /dev/null +++ b/dev-python/matplotlib/matplotlib-3.9.0.ebuild @@ -0,0 +1,300 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_REQ_USE='tk?,threads(+)' + +inherit distutils-r1 flag-o-matic prefix pypi toolchain-funcs virtualx + +FT_PV=2.6.1 +DESCRIPTION="Pure python plotting library with matlab like syntax" +HOMEPAGE=" + https://matplotlib.org/ + https://github.com/matplotlib/matplotlib/ + https://pypi.org/project/matplotlib/ +" +SRC_URI+=" + test? ( + https://downloads.sourceforge.net/project/freetype/freetype2/${FT_PV}/freetype-${FT_PV}.tar.gz + ) +" + +# Main license: matplotlib +# Some modules: BSD +# matplotlib/backends/qt4_editor: MIT +# Fonts: BitstreamVera, OFL-1.1 +LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +IUSE="cairo excel gtk3 latex qt5 tk webagg wxwidgets" + +DEPEND=" + media-libs/freetype:2 + >=media-libs/qhull-2013:= +" +# internal copy of pycxx highly patched +# dev-python/pycxx +RDEPEND=" + ${DEPEND} + >=dev-python/contourpy-1.0.1[${PYTHON_USEDEP}] + >=dev-python/cycler-0.10.0-r1[${PYTHON_USEDEP}] + >=dev-python/fonttools-4.22.0[${PYTHON_USEDEP}] + >=dev-python/kiwisolver-1.3.1[${PYTHON_USEDEP}] + >=dev-python/numpy-1.25[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + >=dev-python/pillow-8[jpeg,webp,${PYTHON_USEDEP}] + >=dev-python/pyparsing-2.3.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.7[${PYTHON_USEDEP}] + >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] + media-fonts/dejavu + media-fonts/stix-fonts + media-libs/libpng:0 + virtual/imagemagick-tools[jpeg,tiff] + cairo? ( + dev-python/cairocffi[${PYTHON_USEDEP}] + ) + excel? ( + dev-python/xlwt[${PYTHON_USEDEP}] + ) + gtk3? ( + >=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}] + x11-libs/gtk+:3[introspection] + ) + latex? ( + virtual/latex-base + app-text/dvipng + app-text/ghostscript-gpl + app-text/poppler[utils] + dev-texlive/texlive-fontsrecommended + dev-texlive/texlive-latexextra + dev-texlive/texlive-luatex + dev-texlive/texlive-xetex + ) + qt5? ( + $(python_gen_cond_dep ' + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ' 'python3*') + ) + webagg? ( + >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] + ) + wxwidgets? ( + $(python_gen_cond_dep ' + dev-python/wxpython:*[${PYTHON_USEDEP}] + ' python3_{10..11}) + ) +" + +BDEPEND=" + ${RDEPEND} + dev-python/pybind11[${PYTHON_USEDEP}] + >=dev-python/setuptools-scm-7[${PYTHON_USEDEP}] + virtual/pkgconfig + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] + !hppa? ( !s390? ( + || ( + media-video/ffmpeg[openh264] + media-video/ffmpeg[x264] + ) + ) ) + gtk3? ( + >=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}] + x11-libs/gtk+:3[introspection] + ) + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_unpack() { + # do not unpack freetype + unpack "${P}.tar.gz" +} + +python_prepare_all() { + # Affects installed _version.py, bug #854600 + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + + local PATCHES=( + "${FILESDIR}"/matplotlib-3.9.0-test.patch + ) + + # increase lock timeout to 30 s + sed -i -e 's:retries = 50:retries = 300:' lib/matplotlib/cbook.py || die + + distutils-r1_python_prepare_all +} + +src_configure() { + unset DISPLAY # bug #278524 + export XDG_RUNTIME_DIR="${T}/runtime-dir" + mkdir "${XDG_RUNTIME_DIR}" || die + chmod 0700 "${XDG_RUNTIME_DIR}" || die + + DISTUTILS_ARGS=( + -Dsystem-freetype=true + -Dsystem-qhull=true + -Dmacosx=false + ) +} + +src_test() { + mkdir subprojects/packagecache || die + cp "${DISTDIR}/freetype-${FT_PV}.tar.gz" subprojects/packagecache/ || die + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # broken by -Wdefault + "tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg6-MatplotlibDeprecationWarning]" + "tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg7-MatplotlibDeprecationWarning]" + tests/test_testing.py::test_warn_to_fail + tests/test_legend.py::test_legend_nolabels_warning + # TODO? + tests/test_backend_qt.py::test_fig_sigint_override + tests/test_backend_qt.py::test_ipython + tests/test_backend_nbagg.py::test_ipynb + # leak tests are fragile + tests/test_backends_interactive.py::test_figure_leak_20490 + # major "images not close", new texlive perhaps + tests/test_contour.py::test_all_algorithms + # "no warnings" + tests/test_backend_pdf.py::test_invalid_metadata + tests/test_figure.py::test_too_many_figures + ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # TODO: warning isn't passed through + tests/test_image.py::test_large_image + # TODO + tests/test_pickle.py::test_complete + tests/test_pickle.py::test_no_pyplot + tests/test_pickle.py::test_pickle_load_from_subprocess + tests/test_pickle.py::test_simple + tests/test_texmanager.py::test_openin_any_paranoid + tests/test_widgets.py::test_check_buttons + tests/test_widgets.py::test_check_buttons_lines + tests/test_widgets.py::test_check_radio_buttons_image + tests/test_widgets.py::test_radio_buttons + ) + if has_version "<dev-python/pypy3_10-exe-7.3.13_p2" || + has_version "<dev-python/pypy3_10-exe-bin-7.3.13_p2" + then + EPYTEST_DESELECT+=( + # TypeError is raised when exception is raised in a starred + # expression referencing a generator that uses "yield from" + # and raises -- non-critical, since some exception is raised + # after all + # https://foss.heptapod.net/pypy/pypy/-/issues/4032 + tests/test_axes.py::test_bad_plot_args + tests/test_axes.py::test_plot_errors + tests/test_axes.py::test_plot_format_errors + ) + fi + ;; + python3.11) + EPYTEST_DESELECT+=( + # https://github.com/matplotlib/matplotlib/issues/23384 + "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtagg', 'QT_API': 'PyQt5'}]" + "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtcairo', 'QT_API': 'PyQt5'}]" + ) + ;; + python3.12) + EPYTEST_DESELECT+=( + tests/test_constrainedlayout.py::test_compressed1 + ) + ;; + esac + + case ${ABI} in + hppa) + EPYTEST_DESELECT+=( + 'tests/test_mathtext.py::test_mathtext_exceptions[hspace without value]' + 'tests/test_mathtext.py::test_mathtext_exceptions[hspace with invalid value]' + 'tests/test_mathtext.py::test_mathtext_exceptions[function without space]' + 'tests/test_mathtext.py::test_mathtext_exceptions[accent without space]' + 'tests/test_mathtext.py::test_mathtext_exceptions[frac without parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[frac with empty parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[binom without parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[binom with empty parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[genfrac without parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[genfrac with empty parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[sqrt without parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[sqrt with invalid value]' + 'tests/test_mathtext.py::test_mathtext_exceptions[overline without parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[overline with empty parameter]' + 'tests/test_mathtext.py::test_mathtext_exceptions[left with invalid delimiter]' + 'tests/test_mathtext.py::test_mathtext_exceptions[right with invalid delimiter]' + 'tests/test_mathtext.py::test_mathtext_exceptions[unclosed parentheses with sizing]' + 'tests/test_mathtext.py::test_mathtext_exceptions[unclosed parentheses without sizing]' + 'tests/test_mathtext.py::test_mathtext_exceptions[dfrac without parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[dfrac with empty parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[overset without parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[underset without parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[unknown symbol]' + 'tests/test_mathtext.py::test_mathtext_exceptions[double superscript]' + 'tests/test_mathtext.py::test_mathtext_exceptions[double subscript]' + 'tests/test_mathtext.py::test_mathtext_exceptions[super on sub without braces]' + 'tests/test_quiver.py::test_barbs[png]' + 'tests/test_quiver.py::test_barbs_pivot[png]' + 'tests/test_quiver.py::test_barbs_flip[png]' + 'tests/test_text.py::test_parse_math' + 'tests/test_text.py::test_parse_math_rcparams' + ) + ;& + alpha|arm|m68k|o32|ppc|s390|sh|sparc|x86) + EPYTEST_DESELECT+=( + # too large for 32-bit platforms + 'tests/test_axes.py::test_psd_csd[png]' + ) + ;; + *) + ;; + esac + + # we need to rebuild mpl against bundled freetype, otherwise + # over 1000 tests will fail because of mismatched font rendering + local DISTUTILS_ARGS=( + "${DISTUTILS_ARGS[@]}" + -Dsystem-freetype=false + ) + distutils_pep517_install "${BUILD_DIR}"/test + cp -r "${BUILD_DIR}"/{install,test}"${EPREFIX}/usr/bin" || die + local -x PATH=${BUILD_DIR}/test${EPREFIX}/usr/bin:${PATH} + + pushd lib >/dev/null || die + local path + local sitedir=${BUILD_DIR}/test$(python_get_sitedir) + # sigh, upstream doesn't install these + while IFS= read -d '' path; do + cp -r "${path}" "${sitedir}/${path}" || die + done < <( + find \( \ + -name baseline_images -o \ + -name '*.ipynb' -o \ + -name '*.pfb' -o \ + -name '*.ttf' -o \ + -name tinypages \ + \) -print0 + ) + popd >/dev/null || die + + # speed tests up + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # pretend we're on CI to increase timeouts + local -x CI=1 + nonfatal epytest --pyargs matplotlib -m "not network" \ + -p rerunfailures --reruns=3 \ + -o tmp_path_retention_policy=all || die +} diff --git a/dev-python/mcbootflash/Manifest b/dev-python/mcbootflash/Manifest index 7bf319e6e80e..ac5f53e1e9a2 100644 --- a/dev-python/mcbootflash/Manifest +++ b/dev-python/mcbootflash/Manifest @@ -1 +1,4 @@ DIST mcbootflash-8.0.1.tar.gz 24906 BLAKE2B 2af5c73de29aa089d33047179ce196507ab1ed1ae224b6f680341a818d8056915271b121cf1ac32f31dd5e33e095f2b82fcddf5907bdb5513a17e009ac242f7f SHA512 fc4093873bbfc0a29d2c09b2f62247dd659b4c9d531613a2a18d6b452f7a0e573b5fa087d82686045af1ba6f7811ca3ccba0f109ada71c42925e8c01faa0fe1d +DIST mcbootflash-8.0.2.tar.gz 27121 BLAKE2B caded3a13266db46ac1b9f35c0a027e9dbfa2c430da96992bf689d4b32574406a7d0c736da82dbe7c473189a8941db8548f59828010e755f33c0342c8c593be2 SHA512 542dcf9af6c22f2deae786fa547e99e4df07b8e3eda7b007a9ead96386c2bf880d8485985b3de399ecd496bf982b6a0308c3f82b49c5914bca09c961822566c6 +DIST mcbootflash-9.0.0.tar.gz 26736 BLAKE2B d813e06f88192d44139fe1dc127df6cb26d21f5716288e3bb59989ac362664b1c3a66e857fe702e8691d945ecaf5dace56b43ab967f029bc51583b0a1603fcbd SHA512 92854a1f7c4ecebff5bce12e10131154fa23ae078618fb7a7757f325b49cae7c1a0d3505e25a2c2faa5101adfb2786be90f703a074304a61c55590267d2cdf38 +DIST mcbootflash-9.0.1.tar.gz 26858 BLAKE2B d8d8486a8713d46f7b93443dcfd9cbd9a93452fa7c8e76aeba1f4bfbf52765fbe3807fe8206b994015c094f9fba1626d5a3bb2fa93bd6b6400a9cbaaee7c19a9 SHA512 0c001a0a2c10e9d4bf111136d08ec89c4bc62568934ef9d8b75d7c58d59f451f5459ccc387c72424e8d16c5e49e7bba903efce403f41923ca33d87c2290a84e9 diff --git a/dev-python/mcbootflash/mcbootflash-8.0.2.ebuild b/dev-python/mcbootflash/mcbootflash-8.0.2.ebuild new file mode 100644 index 000000000000..2821aae561f3 --- /dev/null +++ b/dev-python/mcbootflash/mcbootflash-8.0.2.ebuild @@ -0,0 +1,35 @@ +# 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..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Flash firmware to devices running Microchip's 16-bit bootloader" +HOMEPAGE=" + https://pypi.org/project/mcbootflash/ + https://github.com/bessman/mcbootflash/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/bincopy-20.0.0[${PYTHON_USEDEP}] + dev-python/pyserial[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-reserial[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest --replay +} diff --git a/dev-python/mcbootflash/mcbootflash-9.0.0.ebuild b/dev-python/mcbootflash/mcbootflash-9.0.0.ebuild new file mode 100644 index 000000000000..2821aae561f3 --- /dev/null +++ b/dev-python/mcbootflash/mcbootflash-9.0.0.ebuild @@ -0,0 +1,35 @@ +# 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..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Flash firmware to devices running Microchip's 16-bit bootloader" +HOMEPAGE=" + https://pypi.org/project/mcbootflash/ + https://github.com/bessman/mcbootflash/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/bincopy-20.0.0[${PYTHON_USEDEP}] + dev-python/pyserial[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-reserial[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest --replay +} diff --git a/dev-python/mcbootflash/mcbootflash-9.0.1.ebuild b/dev-python/mcbootflash/mcbootflash-9.0.1.ebuild new file mode 100644 index 000000000000..2821aae561f3 --- /dev/null +++ b/dev-python/mcbootflash/mcbootflash-9.0.1.ebuild @@ -0,0 +1,35 @@ +# 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..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Flash firmware to devices running Microchip's 16-bit bootloader" +HOMEPAGE=" + https://pypi.org/project/mcbootflash/ + https://github.com/bessman/mcbootflash/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/bincopy-20.0.0[${PYTHON_USEDEP}] + dev-python/pyserial[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-reserial[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest --replay +} diff --git a/dev-python/mdit-py-plugins/Manifest b/dev-python/mdit-py-plugins/Manifest index c41343c6b8c4..eda364a33386 100644 --- a/dev-python/mdit-py-plugins/Manifest +++ b/dev-python/mdit-py-plugins/Manifest @@ -1 +1,2 @@ DIST mdit-py-plugins-0.4.0.gh.tar.gz 62199 BLAKE2B d8e69022ecceed436cd28202406bd46e786d40d3527f1c2c9311c4c32c59a4806cde9dc386309976c185522dd6286aec2542dabd31e08b8d7322fd02ae07186d SHA512 cdcce7a3819120923b7725daae0bf7a833c4da4487c49ff1a067fecf7d5e8f7a7be2fae03f3b821c766d7d6ebed4a298755ad5edb00adf73300a76a5663d67d6 +DIST mdit-py-plugins-0.4.1.gh.tar.gz 63342 BLAKE2B 3db6312e4d36cd7e870a707cbd2b99a4c954e40da2c34711a4b1f1fbd4086231f8e6013c99abdf3dc294acdfdc2706f2353151d2766223e141a0c6aa90e27996 SHA512 d2f5c59bf2a17ce441de18f815624cb6f61202f111176c5f1c7745e430d59e8690ce8a5f9da2402bd34dcc5cf4dc38377990df649fbf3256216bc82cdfc6333a diff --git a/dev-python/mdit-py-plugins/mdit-py-plugins-0.4.1.ebuild b/dev-python/mdit-py-plugins/mdit-py-plugins-0.4.1.ebuild new file mode 100644 index 000000000000..42e19e457f8b --- /dev/null +++ b/dev-python/mdit-py-plugins/mdit-py-plugins-0.4.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Collection of plugins for markdown-it-py" +HOMEPAGE=" + https://pypi.org/project/mdit-py-plugins/ + https://github.com/executablebooks/mdit-py-plugins/ +" +SRC_URI=" + https://github.com/executablebooks/mdit-py-plugins/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + <dev-python/markdown-it-py-4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-regressions[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/mdurl/mdurl-0.1.2.ebuild b/dev-python/mdurl/mdurl-0.1.2.ebuild index b158718cedf0..61b7f94188d5 100644 --- a/dev-python/mdurl/mdurl-0.1.2.ebuild +++ b/dev-python/mdurl/mdurl-0.1.2.ebuild @@ -1,10 +1,10 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/mechanize/Manifest b/dev-python/mechanize/Manifest index 0679fda04d7d..9d6be2a45653 100644 --- a/dev-python/mechanize/Manifest +++ b/dev-python/mechanize/Manifest @@ -1 +1 @@ -DIST mechanize-0.4.9.tar.gz 218286 BLAKE2B 42ea97f843ec61b5ae05913e564f0cdb473976ea4e08a886c3bed15b27cea64def7fe5c73c1b809e48688d5ae41c269e85b633a24731c83409bf9855fc72b85f SHA512 a0c5d6e01ddabd35dded9908e4f7e24cb0a8c20a674af603cd2f5f146c75d38dc96c36af0898646691206ce41745dff9a736ce53efd03ff48e55e763814b893c +DIST mechanize-0.4.10.tar.gz 218291 BLAKE2B 7a6f293ac5622b4ac01d1b84327e4dd41132eb2fdfaf9826e6c7a8b088890ae8b4b5f4e90aca930761d532702138f0be6f9394e48ee2defc48dcb5f19ee22a79 SHA512 76d13ac8ac06e8e3836ba814259e1ec8495ebbfc259d4f8652f3ed23863b6a5f6fc5983409083ad9f5d0312db6581b0e7b32bfe6d46ecd190006188ac4cf3fc8 diff --git a/dev-python/mechanize/mechanize-0.4.9.ebuild b/dev-python/mechanize/mechanize-0.4.10.ebuild index 9f450d7fd6b3..fbe873ed2791 100644 --- a/dev-python/mechanize/mechanize-0.4.9.ebuild +++ b/dev-python/mechanize/mechanize-0.4.10.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi @@ -30,5 +30,5 @@ BDEPEND=" " python_test() { - "${EPYTHON}" run_tests.py || die + "${EPYTHON}" run_tests.py -v || die } diff --git a/dev-python/merge3/Manifest b/dev-python/merge3/Manifest index b9ae3a58fa5a..f49c0a0d9b61 100644 --- a/dev-python/merge3/Manifest +++ b/dev-python/merge3/Manifest @@ -1 +1,2 @@ DIST merge3-0.0.14.gh.tar.gz 16109 BLAKE2B 482ad2aa32cbfc535c0c96d8c7d25fff4dad3e3ea00ccc48c7c89086e143e2d4c13b49eef79532123f282ac81b3797f6358fccf7115c1b2776c80df76ea6cc82 SHA512 62ed82925838329be7cf1e9456bb6bb02e85a41a0c54cff94f32624c29d9c15c47c3f3f7ec6b1e8f421f3648000964e1afff36a913ca49bf3fb95a52faa71b83 +DIST merge3-0.0.15.gh.tar.gz 16783 BLAKE2B 6c6a7ac8e8be8d4711c8dbf69fb38eb3b90b93281295d5ae172f371d3c8a1647a2f0e3c14725b760d9dcc0dfd77583170487956e9de87f21720d6db1be19e3eb SHA512 d87ead80219e14b210840333396e274d46ef282c12a3de61ae06efb186f0bfd9c65f3ccbd7566ec62766201ed33a962bdc3ea3c30efbd241fd0018b69b94e3e4 diff --git a/dev-python/merge3/merge3-0.0.15.ebuild b/dev-python/merge3/merge3-0.0.15.ebuild new file mode 100644 index 000000000000..e3d8a68d3396 --- /dev/null +++ b/dev-python/merge3/merge3-0.0.15.ebuild @@ -0,0 +1,25 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python implementation of 3-way merge" +HOMEPAGE=" + https://github.com/breezy-team/merge3 + https://pypi.org/project/merge3/ +" +SRC_URI=" + https://github.com/breezy-team/merge3/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +distutils_enable_tests unittest diff --git a/dev-python/meson-python/Manifest b/dev-python/meson-python/Manifest index 375d728e0b2c..bdef3c3bfc09 100644 --- a/dev-python/meson-python/Manifest +++ b/dev-python/meson-python/Manifest @@ -1 +1,2 @@ DIST meson-python-0.15.0.gh.tar.gz 73063 BLAKE2B 280c01b08fb8264d268797d199b59f7d02cac88e49333de4a38f9e22a1e724586b7ffcddc4e9a411c0d660560892134cb742136334aad8caacd9db37580fce8f SHA512 f1fce89bb0a3d279b9900c4ecec78e5f24da92d72f64ebf6c27648b4201a75a65204c3fac08aaa3e8d70dbeef245c3235e39994c7c0b9cba27c0df528211c7f7 +DIST meson-python-0.16.0.gh.tar.gz 74975 BLAKE2B af74d62a4567bc0a7524e815f1bb4ef3ae7290ccea38c00c3b0013f5e7777d6a41c1631b0c1d83fdd930836599752e3bba3c381c137d275103409a986df4e040 SHA512 99ea4304f15e2e13adf031e7c8cacbbc48c0c80f42a81f9d84242b6279ac9c1a13e3f162be5f472a1e498dc7cf3cba6799bf765b3fd441ac10cd87dc0db38678 diff --git a/dev-python/meson-python/files/meson-python-0.16.0-pyproject-metadata-0.8.patch b/dev-python/meson-python/files/meson-python-0.16.0-pyproject-metadata-0.8.patch new file mode 100644 index 000000000000..834aed4d2fb4 --- /dev/null +++ b/dev-python/meson-python/files/meson-python-0.16.0-pyproject-metadata-0.8.patch @@ -0,0 +1,68 @@ +From ba14bfdffceb571a5e8c1406c76b7b77634bcb7f Mon Sep 17 00:00:00 2001 +From: Daniele Nicolodi <daniele@grinta.net> +Date: Mon, 15 Apr 2024 22:34:36 +0200 +Subject: [PATCH 2/2] TST: Adapt to changes in pyproject-metadata 0.8.0 + +--- + tests/test_metadata.py | 8 +++++++- + tests/test_sdist.py | 9 +++++++-- + 2 files changed, 14 insertions(+), 3 deletions(-) + +diff --git a/tests/test_metadata.py b/tests/test_metadata.py +index 0c278da6..088e82f7 100644 +--- a/tests/test_metadata.py ++++ b/tests/test_metadata.py +@@ -3,6 +3,7 @@ + # SPDX-License-Identifier: MIT + + import pathlib ++import re + + import packaging.version + import pyproject_metadata +@@ -48,5 +49,10 @@ def test_missing_version(package_missing_version): + pyproject = {'project': { + 'name': 'missing-version', + }} +- with pytest.raises(pyproject_metadata.ConfigurationError, match='Required "project.version" field is missing'): ++ match = '|'.join(( ++ re.escape('Required "project.version" field is missing'), ++ # pyproject-metatadata 0.8.0 and later ++ re.escape('Field "project.version" missing and "version" not specified in "project.dynamic"'), ++ )) ++ with pytest.raises(pyproject_metadata.ConfigurationError, match=match): + Metadata.from_pyproject(pyproject, pathlib.Path()) +diff --git a/tests/test_sdist.py b/tests/test_sdist.py +index 6e337617..fb698b53 100644 +--- a/tests/test_sdist.py ++++ b/tests/test_sdist.py +@@ -3,6 +3,7 @@ + # SPDX-License-Identifier: MIT + + import os ++import re + import stat + import sys + import tarfile +@@ -30,7 +31,7 @@ def test_pep621(sdist_full_metadata): + with tarfile.open(sdist_full_metadata, 'r:gz') as sdist: + sdist_pkg_info = sdist.extractfile('full_metadata-1.2.3/PKG-INFO').read().decode() + +- assert sdist_pkg_info == textwrap.dedent('''\ ++ metadata = re.escape(textwrap.dedent('''\ + Metadata-Version: 2.1 + Name: full-metadata + Version: 1.2.3 +@@ -65,7 +66,11 @@ def test_pep621(sdist_full_metadata): + # full-metadata + + An example package with all of the PEP 621 metadata! +- ''') ++ ''')) ++ ++ # pyproject-metadata 0.8.0 and later uses a comma to separate keywords ++ expr = metadata.replace(r'Keywords:\ full\ metadata', r'Keywords:\ full[ ,]metadata') ++ assert re.fullmatch(expr, sdist_pkg_info) + + + def test_dynamic_version(sdist_dynamic_version): diff --git a/dev-python/meson-python/meson-python-0.16.0-r1.ebuild b/dev-python/meson-python/meson-python-0.16.0-r1.ebuild new file mode 100644 index 000000000000..d73fe26ed940 --- /dev/null +++ b/dev-python/meson-python/meson-python-0.16.0-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Meson PEP 517 Python build backend" +HOMEPAGE=" + https://pypi.org/project/meson-python/ + https://github.com/mesonbuild/meson-python/ +" +SRC_URI=" + https://github.com/mesonbuild/meson-python/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/pyproject-metadata-0.7.1[${PYTHON_USEDEP}] + >=dev-build/meson-0.63.0 + !kernel_Darwin? ( dev-util/patchelf ) + $(python_gen_cond_dep ' + >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + >=dev-python/cython-0.29.34[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +PATCHES=( + # https://github.com/mesonbuild/meson-python/pull/612 + "${FILESDIR}/${P}-pyproject-metadata-0.8.patch" +) + +python_test() { + unset NINJA + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} diff --git a/dev-python/minidb/Manifest b/dev-python/minidb/Manifest index 01ec6158bfab..0ec6101b0871 100644 --- a/dev-python/minidb/Manifest +++ b/dev-python/minidb/Manifest @@ -1 +1 @@ -DIST minidb-2.0.7.tar.gz 12282 BLAKE2B 349aff4ec7497fc74edd632f719a6f67a2e7c1dff38ea1ea579c820e00dbad4e7269355e4b19ccfe53cf637f0ebdd6cd512e1af84456ef70c05d8e19024ae94d SHA512 dc04d2d51fdc4ecf30e234cb25e17bf0cd5c320dfca6bdd306b61eced89fe8f1fb5df93111ec0c04f1b258ecde467203a968e61b913feee87301dec7e93d9412 +DIST minidb-2.0.8.tar.gz 15404 BLAKE2B 5cf612036ed18ddd8f42da1ceab398cfe092acbdc11ac75693d1aa3c84960a375db6816dbe1a0ed244d83a4c6958661ba2db6e489ee4b5ab7df359332382f524 SHA512 04cdf6ae3a537aa421cd9ca9c283ac3c721ce35a6e23bf71f56ff70ee94dfad4672feb9cea7490e6747f9c2cfaabc7d163559cce3a40cf643df0287cbea6f994 diff --git a/dev-python/minidb/minidb-2.0.7.ebuild b/dev-python/minidb/minidb-2.0.8.ebuild index 893a70346d32..4125a405ef2a 100644 --- a/dev-python/minidb/minidb-2.0.7.ebuild +++ b/dev-python/minidb/minidb-2.0.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/minify-html/minify-html-0.15.0.ebuild b/dev-python/minify-html/minify-html-0.15.0.ebuild index be94da626d42..a89ad20c6ff0 100644 --- a/dev-python/minify-html/minify-html-0.15.0.ebuild +++ b/dev-python/minify-html/minify-html-0.15.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -38,3 +38,12 @@ SLOT="0" KEYWORDS="~amd64 ~arm64" QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/minify_html/minify_html.*.so" + +src_prepare() { + sed -i -e '/strip/d' Cargo.toml || die + distutils-r1_src_prepare +} + +python_test_all() { + cargo_src_test +} diff --git a/dev-python/mistune/mistune-3.0.2.ebuild b/dev-python/mistune/mistune-3.0.2.ebuild index 84e08e11881e..a2aaab5930d5 100644 --- a/dev-python/mistune/mistune-3.0.2.ebuild +++ b/dev-python/mistune/mistune-3.0.2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -14,8 +14,8 @@ HOMEPAGE=" https://pypi.org/project/mistune/ " -SLOT="0" LICENSE="BSD" +SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" distutils_enable_tests pytest diff --git a/dev-python/mkdocs-ansible/Manifest b/dev-python/mkdocs-ansible/Manifest index c504319ab66d..d031514580f8 100644 --- a/dev-python/mkdocs-ansible/Manifest +++ b/dev-python/mkdocs-ansible/Manifest @@ -1,3 +1 @@ -DIST mkdocs-ansible-0.2.0.tar.gz 29254 BLAKE2B 3d9582c50a3e6abad56bae2f78ff2970b96b768fd8dbc0aa60d15a0acfc23535acae42b7b7f585db3165bf658b3f18c483484b630b350aff97ebb97edb2abcae SHA512 8e0a3b447a4a31f3d48fef5e381d01e0f2ebee2dd317a699b30e83e483234ebac1ad265f66f15dfa92c52f6c1c4a0a77aacef2915b0a60b11ffe5960cd774820 -DIST mkdocs-ansible-24.2.1.tar.gz 44750 BLAKE2B 364ac6ee1b044309eaf3cd15c4944fd678680f17fdf35dc610522ff751ee8136c52fd7a1dfbe735c897f93ea9566e7bc986af3c6f18e90ad9945b3580bbb3eb2 SHA512 d01eec55638e34b83c06c7c4f3163d5c44fac373fb1ed099b9a63c59af27efebd85b655f1f9558add5ddc968abe1d1d28d326b0fe500e395035c62e006653b27 DIST mkdocs-ansible-24.3.0.tar.gz 45471 BLAKE2B 54b6320a7b1f03d4f05b5a7617100575178206742bebda007cd276e9c1a663e82f46149fc6ec3e7e3d22f01be63afb6a72febe72f3e3969ea3acb6a75b1c38ec SHA512 a391bb28b2870efebf621998f810521667beb8b3b9603f5b35e169a9ab23b2f640531a2441b11b8044b36c49eacccd3da72b0224a0ac664d59fd97de7eb0b094 diff --git a/dev-python/mkdocs-ansible/files/mkdocs-ansible-0.2.0-prune_deps.patch b/dev-python/mkdocs-ansible/files/mkdocs-ansible-0.2.0-prune_deps.patch deleted file mode 100644 index 7c8c5cbfe590..000000000000 --- a/dev-python/mkdocs-ansible/files/mkdocs-ansible-0.2.0-prune_deps.patch +++ /dev/null @@ -1,20 +0,0 @@ -As of 0.2.0, no mention of pipdeptree anywhere in the actual code. - ---- a/.config/requirements.in -+++ b/.config/requirements.in -@@ -11,5 +11,4 @@ - mkdocstrings-python>=0.8.3 - mkdocstrings>=0.21.2 - pillow>=9.4.0 --pipdeptree>=2.4.0 - pymdown-extensions>=9.9.2 ---- a/.config/requirements.txt -+++ b/.config/requirements.txt -@@ -42,7 +42,6 @@ - paginate==0.5.6 - pathspec==0.11.2 - pillow==10.0.1 --pipdeptree==2.13.0 - platformdirs==3.10.0 - pycparser==2.21 - pygments==2.16.1 diff --git a/dev-python/mkdocs-ansible/mkdocs-ansible-0.2.0.ebuild b/dev-python/mkdocs-ansible/mkdocs-ansible-0.2.0.ebuild deleted file mode 100644 index c0105064a6ad..000000000000 --- a/dev-python/mkdocs-ansible/mkdocs-ansible-0.2.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Ansible theme for MkDocs" -HOMEPAGE=" - https://github.com/ansible/mkdocs-ansible/ - https://pypi.org/project/mkdocs-ansible/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~riscv" - -RDEPEND=" - >=dev-python/markdown-exec-1.3.0[${PYTHON_USEDEP}] - >=dev-python/markdown-include-0.8.1[${PYTHON_USEDEP}] - >=dev-python/mkdocs-gen-files-0.4.0[${PYTHON_USEDEP}] - >=dev-python/mkdocs-htmlproofer-plugin-0.10.2[${PYTHON_USEDEP}] - >=dev-python/mkdocs-material-extensions-1.1.1[${PYTHON_USEDEP}] - >=dev-python/mkdocs-material-9.0.13[${PYTHON_USEDEP}] - >=dev-python/mkdocs-minify-plugin-0.6.2[${PYTHON_USEDEP}] - >=dev-python/mkdocs-monorepo-plugin-1.0.4[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.4.2[${PYTHON_USEDEP}] - >=dev-python/mkdocstrings-python-0.8.3[${PYTHON_USEDEP}] - >=dev-python/mkdocstrings-0.21.2[${PYTHON_USEDEP}] - >=dev-python/pillow-9.4.0[${PYTHON_USEDEP}] - >=dev-python/pymdown-extensions-9.9.2[${PYTHON_USEDEP}] - >=media-gfx/cairosvg-2.6.0[${PYTHON_USEDEP}] -" - -PATCHES=( - "${FILESDIR}"/${PN}-0.2.0-prune_deps.patch -) diff --git a/dev-python/mkdocs-ansible/mkdocs-ansible-24.2.1.ebuild b/dev-python/mkdocs-ansible/mkdocs-ansible-24.2.1.ebuild deleted file mode 100644 index 34f274f4ed90..000000000000 --- a/dev-python/mkdocs-ansible/mkdocs-ansible-24.2.1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Ansible theme for MkDocs" -HOMEPAGE=" - https://github.com/ansible/mkdocs-ansible/ - https://pypi.org/project/mkdocs-ansible/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~riscv" - -RDEPEND=" - >=dev-python/markdown-exec-1.3.0[${PYTHON_USEDEP}] - >=dev-python/markdown-include-0.8.1[${PYTHON_USEDEP}] - >=dev-python/mkdocs-gen-files-0.4.0[${PYTHON_USEDEP}] - >=dev-python/mkdocs-htmlproofer-plugin-0.10.2[${PYTHON_USEDEP}] - >=dev-python/mkdocs-material-extensions-1.1.1[${PYTHON_USEDEP}] - >=dev-python/mkdocs-material-9.0.13[${PYTHON_USEDEP}] - >=dev-python/mkdocs-minify-plugin-0.6.2[${PYTHON_USEDEP}] - >=dev-python/mkdocs-monorepo-plugin-1.0.4[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.4.2[${PYTHON_USEDEP}] - >=dev-python/mkdocstrings-python-0.8.3[${PYTHON_USEDEP}] - >=dev-python/mkdocstrings-0.21.2[${PYTHON_USEDEP}] - >=dev-python/pillow-9.4.0[${PYTHON_USEDEP}] - >=dev-python/pymdown-extensions-9.9.2[${PYTHON_USEDEP}] - >=media-gfx/cairosvg-2.6.0[${PYTHON_USEDEP}] -" - -PATCHES=( - "${FILESDIR}"/${PN}-24.2.1-prune_deps.patch -) diff --git a/dev-python/mkdocs-get-deps/Manifest b/dev-python/mkdocs-get-deps/Manifest new file mode 100644 index 000000000000..8c70f83de18a --- /dev/null +++ b/dev-python/mkdocs-get-deps/Manifest @@ -0,0 +1 @@ +DIST mkdocs_get_deps-0.2.0.tar.gz 10239 BLAKE2B 2fceb113b499f5c7433ef5ffbde60c8c1f2ae0817285ee41d4889c01283783959673609721766e70dc5888285d497e2b94c5462140d3119922b16c0071b13624 SHA512 3fdf445923b82544fc9feaddd6a99638901f9c88a34f404c38ce510934245bd836d1491a9c5561f7b49ae0aa006c58a83ac946449713b0504c0da788d8233d5e diff --git a/dev-python/mkdocs-get-deps/metadata.xml b/dev-python/mkdocs-get-deps/metadata.xml new file mode 100644 index 000000000000..3433311b0649 --- /dev/null +++ b/dev-python/mkdocs-get-deps/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@gentoo.org</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">mkdocs/get-deps</remote-id> + <remote-id type="pypi">mkdocs-get-deps</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/mkdocs-get-deps/mkdocs-get-deps-0.2.0.ebuild b/dev-python/mkdocs-get-deps/mkdocs-get-deps-0.2.0.ebuild new file mode 100644 index 000000000000..298af6a7d30d --- /dev/null +++ b/dev-python/mkdocs-get-deps/mkdocs-get-deps-0.2.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="extension that lists all dependencies according to a mkdocs.yml file" +HOMEPAGE=" + https://github.com/mkdocs/get-deps/ + https://pypi.org/project/mkdocs-get-deps/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" + +RDEPEND=" + >=dev-python/mergedeep-1.3.4[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/mkdocs-git-authors-plugin/Manifest b/dev-python/mkdocs-git-authors-plugin/Manifest index 3ae464b8c786..2017b4996a4f 100644 --- a/dev-python/mkdocs-git-authors-plugin/Manifest +++ b/dev-python/mkdocs-git-authors-plugin/Manifest @@ -1 +1,2 @@ DIST mkdocs-git-authors-plugin-0.8.0.gh.tar.gz 30080 BLAKE2B 08c0eee392ef94caf30f176f5c8923b4e3c5d951a36348bbeec4396052ee492715b99aa4f8824348728296e5276747083340943bd21f7850abd0ccfb3a2bf12c SHA512 4620c8cccf69eb8ec3010ac7483a3df1ab43bcf8e0837399f46383d9947fdddc0c70d7d8405c820f1cb4b773724ca7006f2cc3bdd5559c107a2db8e3ceb8b38e +DIST mkdocs-git-authors-plugin-0.9.0.gh.tar.gz 30785 BLAKE2B babf9c6b200ee3ea6839e4b35c78e83c727477b9dbaee027fda49500d7b8bb57ffea2d960a2ca979ee8cb2e499a004dc49ca417c4a96054dad27408e4bbb0607 SHA512 66527124217eecef80025517b1fabe9b81c3b65808f0c32610a8333ace2bec1dbb316ad35aec819c03482e9a09961f8cf84f8b1c2f5bdfbd5e270c07019f06e6 diff --git a/dev-python/mkdocs-git-authors-plugin/mkdocs-git-authors-plugin-0.9.0.ebuild b/dev-python/mkdocs-git-authors-plugin/mkdocs-git-authors-plugin-0.9.0.ebuild new file mode 100644 index 000000000000..919c58515e2b --- /dev/null +++ b/dev-python/mkdocs-git-authors-plugin/mkdocs-git-authors-plugin-0.9.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_{10..12} ) + +# Requires self to be installed to build docs +# TODO: Do this a bit better +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/regex + dev-python/mkdocs-material + dev-python/mkdocs-git-authors-plugin +" +DOCS_INITIALIZE_GIT=1 + +inherit distutils-r1 docs + +DESCRIPTION="Mkdocs plugin to display git authors of a page" +HOMEPAGE=" + https://github.com/timvink/mkdocs-git-authors-plugin/ + https://pypi.org/project/mkdocs-git-authors-plugin/ +" +SRC_URI="https://github.com/timvink/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +# Tests are broken outside of upstream git repo +RESTRICT="test" + +RDEPEND=" + dev-python/GitPython[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/click[${PYTHON_USEDEP}] + dev-python/mkdocs-material[${PYTHON_USEDEP}] + dev-python/mkdocs-git-revision-date-localized-plugin[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # mkdocs-git-authors tests need git repo + use test && initialize_git_repo + + distutils-r1_python_prepare_all +} diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest index 5faf6c9bc913..17eefdaaccf2 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest @@ -1 +1 @@ -DIST mkdocs-git-revision-date-localized-plugin-1.2.4.gh.tar.gz 377301 BLAKE2B 1270af27887411088969f086fa5c7426cca7221264c863201cc0fe0a0d3f7a004f9d2ca264d4c4b6e9678c420534d5a18996f5556c3ce3a6761f294e0c629fbd SHA512 24becb98d6f04500935f9f0be21ae1fa39cb8f01afc9d5eb38f320bc3aef4baae345e6d5af768d882fb10b15ffcaba9e2b32fe3430b800ba7097cd27b4ab5657 +DIST mkdocs-git-revision-date-localized-plugin-1.2.5.gh.tar.gz 377312 BLAKE2B 272c4f71ac668500e3f8d9eb9af1b26fdea8378206ddbeaa97076a46b06f3730a2b52eba2155008e5b05f6aa9f1f5b34c35b10732be1879b6d5cd6b9e7be98ed SHA512 5a6c225847cb34af61f296d8ecc75c82f3374301d19718e1b9e79084098466b4cc8759d7efb4ba4331e0c5d53d78d7bd2cbdba4558635efd7e7965d7197a461f diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.4.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.5.ebuild index e50010450edc..e50010450edc 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.4.ebuild +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.5.ebuild diff --git a/dev-python/mkdocs-macros-plugin/Manifest b/dev-python/mkdocs-macros-plugin/Manifest index 0f839fab9172..0550312c50b0 100644 --- a/dev-python/mkdocs-macros-plugin/Manifest +++ b/dev-python/mkdocs-macros-plugin/Manifest @@ -1 +1,2 @@ DIST mkdocs-macros-plugin-1.0.4.tar.gz 556036 BLAKE2B f0cd0eabbd208c2c84d28e2ef4eac8e23fa8c13918b02a69d8e69f5e7c635d9551dc986b19edf9d5ee5da43c80d49b62f4f277e995584ebef749d9d2bed1881d SHA512 553ca51462f0f0e26284046ea49d36afec973cf0345c1c6c5d9a094f32bf731972f7ae3ba148bb85a77e440982de3f24a4da8ea4e30c4f025153c1ce46164f32 +DIST mkdocs-macros-plugin-1.0.5.tar.gz 566013 BLAKE2B f984cced060f09060bd63c7c204799dd9b318fa98229b2a86b034165190a76ccac7c8d37bf084c56ba0673105a818c0a0d210121d01e6b677349488aa0730160 SHA512 38fa2f2522f08b418ef8dc8fd222ba6b0feb2cb81bcaed98017e9641b66f249e77d93334850a6e6e8dcb91f2d3cfc16e3348b5a1f0103bb93512465a8b095f35 diff --git a/dev-python/mkdocs-macros-plugin/mkdocs-macros-plugin-1.0.5.ebuild b/dev-python/mkdocs-macros-plugin/mkdocs-macros-plugin-1.0.5.ebuild new file mode 100644 index 000000000000..83f8ce26363b --- /dev/null +++ b/dev-python/mkdocs-macros-plugin/mkdocs-macros-plugin-1.0.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Mkdocs plug-in allowing the use of macros and variables in Markdown" +HOMEPAGE=" + https://mkdocs-macros-plugin.readthedocs.io/ + https://pypi.org/project/mkdocs-macros-plugin/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +# TODO: enable these once the relevant deps have been packaged +RESTRICT="test" + +RDEPEND=" + >=dev-python/mkdocs-0.17[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/termcolor[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 69681abd6b16..0206792c0768 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -1,3 +1,3 @@ -DIST mkdocs-material-9.5.15.gh.tar.gz 14819594 BLAKE2B f0d992962acc7636218222913fcd8d40b6b74c3c4555d1ed8d5b30a4d438c137849624a28d3ed015d04d8c62955d9fffcb5d4e12a3008512a3d3247818789d9e SHA512 341069be531e8caed1e13fed1fabecf2dc4903afedfcccecd36955b22c859b748c88a900c7fca485b796d53812a893f3e49f2e8e519c1bcd8f5b8e7bf32d788d -DIST mkdocs-material-9.5.17.gh.tar.gz 14841074 BLAKE2B 7a7ab4f0c6b05f0e6d0efcaf8ab6482275e5677ccba89ac795b1217d083d9b8df5f7e4248de8b3f1290e6bd9b87d9626bda440413970e7e074be0581a99952fe SHA512 2456eb5ed299a4ebafe563ce6343dabd6713afbff9c48cd95d0b91ed901b3ddcaf6a96182e055e0cb5547f2c53b166da4a131a03c0d06beb824c9433c4c0ca1d -DIST mkdocs-material-9.5.18.gh.tar.gz 14861438 BLAKE2B 758f28f266780a398325cae5395a15454c0c317b60c4a30006fef0002b9d8f4e350265e05cba160e2efbc6aa05aa83373df7b1086499bc3bcb3465a9f17e57f5 SHA512 6d18b3a672a750b3a43fe6ea8bf437b13d20c63871e762a2e805e30757315e4ff4037695319a42c186fc45459ba5ea11e6fa567b27fded2441d1ebce86d33fab +DIST mkdocs-material-9.5.21.gh.tar.gz 14865463 BLAKE2B d83c518474697e65c614cebd1e74abd827163bc5df9a69bc84bcb9d252e1115def196bbaa5e5f0a7e0b247b7952d55f13d0d4288d37af41ad443bcb6d8a022c5 SHA512 b7d5f31bec769091ce42dbac15602194718bc0d66835d3fcfc8744dccd38ebc81e40437f698225c29d8d344d481ca6c20a964d5a9b469f0915c10410b63ab567 +DIST mkdocs-material-9.5.22.gh.tar.gz 14866139 BLAKE2B 2352e1d319e1b93d5e7907807845bbd095696e90bec33660872cd53471606c6b83e39c64d976b7d421179171fb10b74071c37b722c862556d990c60c9e926591 SHA512 865a599fdd8636168dac7878dc3b3cc21c9c84dfee1ee72a992720ff8c51addae9679d413a245e2232367c33533af44e80f37cacc7af908f4c5f900138ea703c +DIST mkdocs-material-9.5.23.gh.tar.gz 14870657 BLAKE2B f9736348b70c6b50b284c82bc886fa1de953557ae99221aab2567b0fee3620ff313d6c5d31bd42bbc231574a6df3b9bad58de7b210ad0b304a77d7144e3d737e SHA512 f560a3ed268abb40760a0d4263bbacc079ed407018c7618f012d29c6815dff5a02d69dac63fce75fc928ee2f2a904229b17d1a803ede83432f4f4ad403800441 diff --git a/dev-python/mkdocs-material/mkdocs-material-9.5.15.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.5.21.ebuild index 28c6850f9d71..28c6850f9d71 100644 --- a/dev-python/mkdocs-material/mkdocs-material-9.5.15.ebuild +++ b/dev-python/mkdocs-material/mkdocs-material-9.5.21.ebuild diff --git a/dev-python/mkdocs-material/mkdocs-material-9.5.17.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.5.22.ebuild index 46c2a0851fa9..46c2a0851fa9 100644 --- a/dev-python/mkdocs-material/mkdocs-material-9.5.17.ebuild +++ b/dev-python/mkdocs-material/mkdocs-material-9.5.22.ebuild diff --git a/dev-python/mkdocs-material/mkdocs-material-9.5.18.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.5.23.ebuild index 46c2a0851fa9..46c2a0851fa9 100644 --- a/dev-python/mkdocs-material/mkdocs-material-9.5.18.ebuild +++ b/dev-python/mkdocs-material/mkdocs-material-9.5.23.ebuild diff --git a/dev-python/mkdocs-static-i18n/Manifest b/dev-python/mkdocs-static-i18n/Manifest index 33f0a37b4fc4..3f33a2bf3f99 100644 --- a/dev-python/mkdocs-static-i18n/Manifest +++ b/dev-python/mkdocs-static-i18n/Manifest @@ -1 +1 @@ -DIST mkdocs_static_i18n-1.2.2.tar.gz 1370000 BLAKE2B 2be26c971ad28a306b6d34adb4c8359954f4a7333f031f1939c08a470388004f9ac825da3c5b4e6a88e5dd41dfb12ac972938bf39b80c91ef16b760ea3c6c46a SHA512 7a356590b306c92d4cd664c90538110bf613220930c17a5285aeb4f9ad092ea9b93efd2390beed6609f176aa26ab4f51be60c89e2d2da19a1d78ac2603fe891b +DIST mkdocs_static_i18n-1.2.3.tar.gz 1370068 BLAKE2B 500046d2a84ec8654a8d51f7a57bc2da04cb0f65a2103b05305494db5ac1217b5e0834b3363683513a33bd87cecfad2eb1ff4b8928a81293b756e268d45e674a SHA512 1728846c7be845abd498cca523087e37049ed2fc3b32235188e633365cb28eab13d4da28921e8406f2bbfce296de48d9280ac562dbe825b4de486d0a8cde92a3 diff --git a/dev-python/mkdocs-static-i18n/mkdocs-static-i18n-1.2.2.ebuild b/dev-python/mkdocs-static-i18n/mkdocs-static-i18n-1.2.3.ebuild index b377a6b4317f..b377a6b4317f 100644 --- a/dev-python/mkdocs-static-i18n/mkdocs-static-i18n-1.2.2.ebuild +++ b/dev-python/mkdocs-static-i18n/mkdocs-static-i18n-1.2.3.ebuild diff --git a/dev-python/mkdocs/Manifest b/dev-python/mkdocs/Manifest index 8b6da2ece664..85bbbffbd546 100644 --- a/dev-python/mkdocs/Manifest +++ b/dev-python/mkdocs/Manifest @@ -1 +1 @@ -DIST mkdocs-1.5.3.gh.tar.gz 4057780 BLAKE2B d1e7ac739ea3a78f2a2d294a28c721f95cb8be6c114a5131893e346254ed1937218cc0d247e75092876d7f42dc04c8060fdc8d7535326f26a8f68ec11bc7045b SHA512 3f7d0af4b071ac6998e82cefb18df27f1cc98d91c7902d2943acdaa08c56f90e36c1c5d1df1c1f61a1c50d8fecc2fb0014497f2436be89d52b17959808c31abc +DIST mkdocs-1.6.0.gh.tar.gz 4494411 BLAKE2B 2a0d55c54509827fcff39c04812be6cff6b1ccbf823cc05a48fa154745a49aed08d811147fc5f64db138ede952dc89241b156f8e0e01e42a468f73309eece0fb SHA512 330dfb7cd390b320ca9c2bfd2dc248d877b95713ec3c1d2c9d5b28be52a42276c58412bc77527a492e4b1b31608e3093dbad2a983bfe6396577ec7464e274609 diff --git a/dev-python/mkdocs/mkdocs-1.5.3-r1.ebuild b/dev-python/mkdocs/mkdocs-1.6.0.ebuild index 3747c36b27cc..a7275a53f53d 100644 --- a/dev-python/mkdocs/mkdocs-1.5.3-r1.ebuild +++ b/dev-python/mkdocs/mkdocs-1.6.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -40,7 +40,7 @@ RDEPEND=" >=dev-python/Babel-2.9.0[${PYTHON_USEDEP}] >=dev-python/click-7.0[${PYTHON_USEDEP}] >=dev-python/jinja-2.11.1[${PYTHON_USEDEP}] - >=dev-python/markdown-3.3.3[${PYTHON_USEDEP}] + >=dev-python/markdown-3.3.6[${PYTHON_USEDEP}] >=dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}] >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] >=dev-python/watchdog-2.0[${PYTHON_USEDEP}] @@ -50,6 +50,7 @@ RDEPEND=" >=dev-python/pyyaml_env_tag-0.1[${PYTHON_USEDEP}] >=dev-python/packaging-20.5[${PYTHON_USEDEP}] >=dev-python/mergedeep-1.3.4[${PYTHON_USEDEP}] + >=dev-python/mkdocs-get-deps-0.2.0[${PYTHON_USEDEP}] " distutils_enable_tests pytest diff --git a/dev-python/mkdocstrings-python/Manifest b/dev-python/mkdocstrings-python/Manifest index 553cde42c2c4..8bb1747be9e9 100644 --- a/dev-python/mkdocstrings-python/Manifest +++ b/dev-python/mkdocstrings-python/Manifest @@ -1,3 +1,3 @@ -DIST mkdocstrings-python-1.8.0.gh.tar.gz 146162 BLAKE2B cd247b18de00dd4a53c287ec6d72461b0d0c2c95d49b20c24ce81d4304b92d48b8c8df78f35ad4749c928440ceddb4524ac64fcf3c99a50c18cbdaff9057f27a SHA512 5084df08a7d341b2e3ea93454706c38e2f29229122e6f2a277967c21c899d945cf4f6ae299782d8f6edffb48c1e23778ce445fb353727f2d5ceada74428ab3b9 -DIST mkdocstrings-python-1.9.0.gh.tar.gz 148843 BLAKE2B d84527c1eb03da4a1e154c8e592f91530cd3f90603063e1fcb0dc88cd0f9c5459a64d116c38154ffaaa557b6e298e28d51948c56979d87819de2665efa51bc30 SHA512 c6652f6027e3e416906b379b824bb59032439cb275a62a8bb0fd1f06324d485f582db5464358166f7b1545809bf929744cd3b96707e2c50132c2db5f3fa41785 -DIST mkdocstrings-python-1.9.2.gh.tar.gz 149558 BLAKE2B 334843c268e308473baf4fc4f37b1a49db600cb4c033456f2a392b2f77e1fbd8e703982b56dea373e9946a5b55efcb236c36e6aa11bd792005ad6b9f4da4d693 SHA512 ac5f2acbc18ec8a07506acb8f9914549fb6d9d0128204efda69e94ee2a4b6d6763567b253374946e740dbaaf3dd3adabc09e56c5db69ff78fa7981931731c5c0 +DIST mkdocstrings-python-1.10.0.gh.tar.gz 150022 BLAKE2B fc75c3a797a8c473121b6f00c17ff6b876170d2efde2a7c541667cdbdb1c730d3f843ed6c795d9a1ae8ceb22e56c50d91a0b7e29f4d6ec7aa1eb0f46e7a3c0a6 SHA512 743cadbf0c4318001a265b114d380107b3ed57b0b2ba4e73eb698a1e12074ba6bfe11277a4d245614226913d029483281058b1bc865a67f63de59698b89735dc +DIST mkdocstrings-python-1.10.1.gh.tar.gz 157475 BLAKE2B a31c75a27e8459791fa0958373da731a13ae6c1d04f8f170aa1a01046488ca1e289871ff3d7f9eca0f5ee4ce6a58ee24e0fc4005b8742b64d600cb391bb69bc2 SHA512 f020ca43cd22f36008da6491c9632d272b2928ab7d79e83222da6aa894fcd51f1cf608dfb881569e1e04881a533680c12d779c18cb53ac3968008c64f5b96c2a +DIST mkdocstrings-python-1.10.2.gh.tar.gz 157534 BLAKE2B 81d0585298008e5065d6896c773394194bd54494723ae2f195a420976879a6d47e443eb099aedf72551e43b88f85e0d13ae11de09a5837aae8a5de4ce69bf119 SHA512 16a0a94793bce9e6471e0778df99ff1249e7a2342d811750504b9654d20392a892a6073f151a09a15ef671f84f24e0bc8fcc0710bf4b82d38d9ae75c1289b001 diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-1.9.2.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-1.10.0.ebuild index 6968de273ffb..4b251a4812fe 100644 --- a/dev-python/mkdocstrings-python/mkdocstrings-python-1.9.2.ebuild +++ b/dev-python/mkdocstrings-python/mkdocstrings-python-1.10.0.ebuild @@ -26,7 +26,7 @@ SLOT="0" KEYWORDS="~amd64 ~arm64 ~riscv" RDEPEND=" - >=dev-python/griffe-0.37[${PYTHON_USEDEP}] + >=dev-python/griffe-0.44[${PYTHON_USEDEP}] >=dev-python/mkdocstrings-0.24.2[${PYTHON_USEDEP}] " BDEPEND=" diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-1.8.0.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-1.10.1.ebuild index 8dcaf42f46c1..ebaa96b08803 100644 --- a/dev-python/mkdocstrings-python/mkdocstrings-python-1.8.0.ebuild +++ b/dev-python/mkdocstrings-python/mkdocstrings-python-1.10.1.ebuild @@ -26,8 +26,8 @@ SLOT="0" KEYWORDS="~amd64 ~arm64 ~riscv" RDEPEND=" - >=dev-python/griffe-0.37[${PYTHON_USEDEP}] - dev-python/mkdocstrings[${PYTHON_USEDEP}] + >=dev-python/griffe-0.44[${PYTHON_USEDEP}] + >=dev-python/mkdocstrings-0.25.0[${PYTHON_USEDEP}] " BDEPEND=" test? ( diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-1.9.0.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-1.10.2.ebuild index 604d9b56a237..ebaa96b08803 100644 --- a/dev-python/mkdocstrings-python/mkdocstrings-python-1.9.0.ebuild +++ b/dev-python/mkdocstrings-python/mkdocstrings-python-1.10.2.ebuild @@ -26,9 +26,8 @@ SLOT="0" KEYWORDS="~amd64 ~arm64 ~riscv" RDEPEND=" - >=dev-python/griffe-0.37[${PYTHON_USEDEP}] - <dev-python/markdown-3.6[${PYTHON_USEDEP}] - dev-python/mkdocstrings[${PYTHON_USEDEP}] + >=dev-python/griffe-0.44[${PYTHON_USEDEP}] + >=dev-python/mkdocstrings-0.25.0[${PYTHON_USEDEP}] " BDEPEND=" test? ( diff --git a/dev-python/mkdocstrings/Manifest b/dev-python/mkdocstrings/Manifest index aed420cc9d6e..99f9b832c5ec 100644 --- a/dev-python/mkdocstrings/Manifest +++ b/dev-python/mkdocstrings/Manifest @@ -1,4 +1,3 @@ -DIST mkdocstrings-0.24.0.gh.tar.gz 85474 BLAKE2B f43c0842bd5c8f52700e572964948f362112c073992c8aa7d6df8ecc0a266b22122988c944e36d5edf6d227a2cf9e2a9a95222146139d8577001833c729ad7ca SHA512 0cc03cb68679958d77a5f1d10e96411271de2db2c89b1c27d151d7d6673a94c967024c377cb22a612a8079a0ea736b921384518869e1475797ed94c8c92d4dbb -DIST mkdocstrings-0.24.1.gh.tar.gz 86421 BLAKE2B 81d1f4453808140044ab9e27016b0e4119dd50ec8ba4f29d2d53d87cce151e4999ec2c18e2eff90d270a4bfd96a24ba506bbf382cf4c9bc5192c03bc3ddf399c SHA512 7328abe16161ba1358436d3d10105723fcaad9baa3aa5fb923dc46814623bdd15f3f51bba43c2b8029ff73467474d37b1aec94d873c5254d3ef322746df6578b -DIST mkdocstrings-0.24.2.gh.tar.gz 88514 BLAKE2B fa9ed6a40f605016f852a903d47743f09ed586611ff84e81324b922fabb914fdd4e13b01aed3003972f41924fb35e885b573808331ea838663114ae21b6e7c02 SHA512 5ab0a347989e981cc9bdb0c8e9c2f906014314a23b0f663d068dc2446ada1d8e93953b0dc5e3c76e10852c9514f7062a9f4974ad44a46dbf7a439b18fc9415dd DIST mkdocstrings-0.24.3.gh.tar.gz 88575 BLAKE2B a8567868e1572104773a0ca739966a4d6f5c13e02f29dfb0cfd68fe8cbe9c44805adb8fa029489e057b136e37f3587edebc2ec3e18d73d5eadc05a494a4d2ea5 SHA512 a93b1b07137c8403c5e049a57f0c26c629cbc37112181eae141390bd2863826d17c32e93a626a3627c56242a4227954885e81000122227ce1cd7dc8698c67b37 +DIST mkdocstrings-0.25.0.gh.tar.gz 89714 BLAKE2B 536bce1178b7f9ca3cf25d73ea6c5a9533f80b4453520ac4681cac845c9a3016cdc184bb676528953e5b79efb27c4acd87912205c231e295ffca9cd4549cb31a SHA512 2e938bbcc2d6b3fb5c7805a5371f458f962af7db288fdfa3ae1ca38d948d0c6d8280425171276d2181f5213da971dfbb6554b23130d66177d1da8a2f235bb1d1 +DIST mkdocstrings-0.25.1.gh.tar.gz 89869 BLAKE2B 248436eeabafbb7cbee27362b43d2feadeadda7692b5843621bd97261e17a93783c38f37850700c6e79b7f23f15fdc8f21567329afba9b4fb0618f277acc1865 SHA512 155dc5d15fd71f9c5dbd5d5f70f380ad5197fc0c1dc0fe722205b30decbd19307daa631d3a4a40206cdf36981f414ea1a4c001d8cef517ffed569e96ea0e8302 diff --git a/dev-python/mkdocstrings/mkdocstrings-0.24.0.ebuild b/dev-python/mkdocstrings/mkdocstrings-0.24.0.ebuild deleted file mode 100644 index e44997f0f451..000000000000 --- a/dev-python/mkdocstrings/mkdocstrings-0.24.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# py3.12 blocked by mkdocs-material -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Automatic documentation from sources, for MkDocs" -HOMEPAGE=" - https://mkdocstrings.github.io/ - https://github.com/mkdocstrings/mkdocstrings/ - https://pypi.org/project/mkdocstrings/ -" -# Tests require files absent from PyPI tarballs -SRC_URI=" - https://github.com/mkdocstrings/mkdocstrings/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/click-7.0[${PYTHON_USEDEP}] - >=dev-python/jinja-2.11.1[${PYTHON_USEDEP}] - >=dev-python/markdown-3.3[${PYTHON_USEDEP}] - >=dev-python/markupsafe-1.1[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.5[${PYTHON_USEDEP}] - >=dev-python/mkdocs-autorefs-0.3.1[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] - >=dev-python/pymdown-extensions-6.3[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/markdown-exec[${PYTHON_USEDEP}] - dev-python/mkdocs-material[${PYTHON_USEDEP}] - dev-python/mkdocstrings-python[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - ) -" - -# mkdocstrings documentation generation requires several currently -# unpackaged mkdocs extensions and plug-ins, and this test -# makes use of mkdocs configuration -EPYTEST_DESELECT=( - tests/test_plugin.py::test_disabling_plugin - # WTF, it tries to unlink installed files from installed package?! - tests/test_handlers.py::test_extended_templates - # Needs unpackaged mkdocs-callouts, mkdocs-literate-nav, and possibly more - tests/test_inventory.py::test_sphinx_load_mkdocstrings_inventory_file - # Internet - tests/test_inventory.py::test_load_inventory -) - -distutils_enable_tests pytest - -export PDM_BUILD_SCM_VERSION=${PV} diff --git a/dev-python/mkdocstrings/mkdocstrings-0.24.2.ebuild b/dev-python/mkdocstrings/mkdocstrings-0.25.0.ebuild index 80d4bac4ae7b..80d4bac4ae7b 100644 --- a/dev-python/mkdocstrings/mkdocstrings-0.24.2.ebuild +++ b/dev-python/mkdocstrings/mkdocstrings-0.25.0.ebuild diff --git a/dev-python/mkdocstrings/mkdocstrings-0.24.1.ebuild b/dev-python/mkdocstrings/mkdocstrings-0.25.1.ebuild index 256c3b54a0d8..80d4bac4ae7b 100644 --- a/dev-python/mkdocstrings/mkdocstrings-0.24.1.ebuild +++ b/dev-python/mkdocstrings/mkdocstrings-0.25.1.ebuild @@ -3,7 +3,6 @@ EAPI=8 -# py3.12 blocked by mkdocs-material DISTUTILS_USE_PEP517=pdm-backend PYTHON_COMPAT=( python3_{10..12} ) diff --git a/dev-python/ml-dtypes/Manifest b/dev-python/ml-dtypes/Manifest index b9f867304fa1..2d151239c361 100644 --- a/dev-python/ml-dtypes/Manifest +++ b/dev-python/ml-dtypes/Manifest @@ -1,2 +1,3 @@ DIST eigen-7bf2968fed5f246c0589e1111004cb420fcd7c71.tar.bz2 2239233 BLAKE2B 3a7e81c302cb11ae1d6ef9433a9ec41506c1f37d04cfb8744ac3fcf7dbe9430c1b48d7197ca3b8e1f9354398bac3d0dbc3e0599c0b649acd6175e906befe2973 SHA512 29ee89770726e6e0f5135b7fab24649f3e69223caed90d2daa6f0014783e69fe98f0551de49bd4e393d7b7938f2943caf1ed00f3933fa771ac14fae3c63fd5dd DIST ml_dtypes-0.3.2.gh.tar.gz 71606 BLAKE2B cbf5414d09160a2e4e878261c5842efd664a424064aae727d9d1188304a5e888ca955b3bf199956c2beed53c78c0f8afeb8860245d57553b10ca7262ba1e8bce SHA512 d42f6734edc5c159f15b9c020deb2595f32bbcdf53ecfaea840afb38314a855d09315693129393f755fdc3295b5965073b404822aacf1a149c7f9bab89c48fd5 +DIST ml_dtypes-0.4.0.gh.tar.gz 72894 BLAKE2B a2d70369f8fc72b8234d198ee4517dd3666b6e5a82ea8bca28973966e141426ef5517d441cfdd4cc00146d534194378c191b29f695f1d8c6b9d2785c84d2548c SHA512 a4674c352a641ceab212ff1da25168823d43016dbe00ae06885ef787f1bc0814ae61e595d5f9d43710da29c12e70e3c616e1c634560b911bdb25f4c40b6ba324 diff --git a/dev-python/ml-dtypes/metadata.xml b/dev-python/ml-dtypes/metadata.xml index a0436bcc589f..9175a762fe69 100644 --- a/dev-python/ml-dtypes/metadata.xml +++ b/dev-python/ml-dtypes/metadata.xml @@ -5,6 +5,10 @@ <email>perfinion@gentoo.org</email> <name>Jason Zaman</name> </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> <upstream> <remote-id type="github">jax-ml/ml_dtypes</remote-id> <remote-id type="pypi">ml-dtypes</remote-id> diff --git a/dev-python/ml-dtypes/ml-dtypes-0.3.2.ebuild b/dev-python/ml-dtypes/ml-dtypes-0.3.2-r1.ebuild index e12495719202..0ce0838a1b4c 100644 --- a/dev-python/ml-dtypes/ml-dtypes-0.3.2.ebuild +++ b/dev-python/ml-dtypes/ml-dtypes-0.3.2-r1.ebuild @@ -24,7 +24,7 @@ KEYWORDS="~amd64" S="${WORKDIR}/${PNGH}-${PV}" DEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] + <dev-python/numpy-2:=[${PYTHON_USEDEP}] " BDEPEND=" dev-python/pybind11[${PYTHON_USEDEP}] diff --git a/dev-python/ml-dtypes/ml-dtypes-0.4.0.ebuild b/dev-python/ml-dtypes/ml-dtypes-0.4.0.ebuild new file mode 100644 index 000000000000..9092b5e46647 --- /dev/null +++ b/dev-python/ml-dtypes/ml-dtypes-0.4.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 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} ) + +inherit distutils-r1 + +MY_P=${PN/-/_}-${PV} +EIGEN_CommitId="7bf2968fed5f246c0589e1111004cb420fcd7c71" + +DESCRIPTION="A stand-alone implementation of several NumPy dtype extensions" +HOMEPAGE=" + https://github.com/jax-ml/ml_dtypes/ + https://pypi.org/project/ml-dtypes/ +" +SRC_URI=" + https://github.com/jax-ml/ml_dtypes/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz + https://gitlab.com/libeigen/eigen/-/archive/${EIGEN_CommitId}/eigen-${EIGEN_CommitId}.tar.bz2 +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +DEPEND=" + dev-python/numpy:=[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/pybind11[${PYTHON_USEDEP}] + test? ( + dev-python/absl-py[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + rmdir third_party/eigen || die + mv "${WORKDIR}/eigen-${EIGEN_CommitId}" third_party/eigen || die + distutils-r1_python_prepare_all +} + +src_test() { + mv ml_dtypes/tests . || die + rm -r ml_dtypes || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + distutils-r1_src_test +} + +python_test() { + epytest +} diff --git a/dev-python/mock/mock-5.1.0.ebuild b/dev-python/mock/mock-5.1.0.ebuild index 9be742b3f2d2..1b73fb163233 100644 --- a/dev-python/mock/mock-5.1.0.ebuild +++ b/dev-python/mock/mock-5.1.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/moddb/Manifest b/dev-python/moddb/Manifest index 65d55f95c952..1b7ff8b138eb 100644 --- a/dev-python/moddb/Manifest +++ b/dev-python/moddb/Manifest @@ -1 +1,2 @@ DIST moddb-0.10.0.gh.tar.gz 14174575 BLAKE2B cffcdb27d3bd43da412d9ce689ba06d59ee013d4b78b75fddc8749243aaa6abb50c576811ef8e8e88c66ff41b578a79daec4ce0dbe56f444c94eeabedb0fef89 SHA512 5b21aea8a76c2b28579dbb3587956042126b65248684c2c6caef43793b8e7dd1d318434783c252ef191ee7832ea9fe1a434797797a9a76804133a53ede7674f9 +DIST moddb-0.11.0.gh.tar.gz 10528613 BLAKE2B 109c1758362e2655209173d581f1234f15725b8d0b25ed8024ecdfc4da45e30530c87fa9b8a19b556f4cfa60549c38bc552751a39a5dad28f04e58f53d1f484f SHA512 fe064fb7b02553d614477f122013c98257c6fd4d428538681ea97706425480d7fb4a25f49b8673dfba706e33766420c930cee1fae0c93a6b3d2f766b609596ca diff --git a/dev-python/moddb/moddb-0.11.0.ebuild b/dev-python/moddb/moddb-0.11.0.ebuild new file mode 100644 index 000000000000..ce605c46602e --- /dev/null +++ b/dev-python/moddb/moddb-0.11.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Python scrapper to access ModDB mods, games and more as objects" +HOMEPAGE="https://github.com/ClementJ18/moddb" +SRC_URI="https://github.com/ClementJ18/moddb/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Connects to moddb.com +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" + +BDEPEND="test? ( + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] +)" + +EPYTEST_DESELECT=( + # These tests require valid moddb.com login information + "tests/test_base.py::TestLogin::test_login" + "tests/test_client.py::TestClient::test_get_watched" + "tests/test_client.py::TestClient::test_get_updates" + "tests/test_client.py::TestClient::test_posts" + "tests/test_client.py::TestClient::test_friends" + "tests/test_client.py::TestClient::test_messages" +) + +distutils_enable_sphinx docs/source dev-python/sphinx-autodoc-typehints +distutils_enable_tests pytest + +python_test() { + # Dummy moddb.com login information + export USERNAME="portage" + export SENDER_USERNAME="portage" + export PASSWORD="testing" + export SENDER_PASSWORD="testing" + epytest +} diff --git a/dev-python/more-itertools/more-itertools-10.2.0.ebuild b/dev-python/more-itertools/more-itertools-10.2.0.ebuild index f755aed5bcfb..36b8551dc13b 100644 --- a/dev-python/more-itertools/more-itertools-10.2.0.ebuild +++ b/dev-python/more-itertools/more-itertools-10.2.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index 514b7c2d7fae..64e04293808e 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -1,5 +1,4 @@ DIST moto-4.2.14.tar.gz 4933741 BLAKE2B 4c50a808dc8f27cfbcd0ba234d268084ee9a32f36cb5d6af61aacc4ee79f7bf5cf1045147c4642472129eee37bef8bc2c1953d140260d39d7f333ae0f5e5cf95 SHA512 d4079118ed1d2eef9134575e33dc0ed749bff0293d753baa63a630dbb987914b9933445027abdc344bb93fa1d6e483baf8a337a444c9dd055dda50b095ff9937 -DIST moto-5.0.2.tar.gz 4948857 BLAKE2B 664da28791bbf65eae9f76f59fd62f9c53aeb615c714fb142684213fe90f6e1e071f30511dfa44e16b12abd6fcf97316d097f3b4b1008a0f1139e5a419f1bb87 SHA512 4fb03586171dfde6979022623047578634f9b8ec7ac34234bbfe3e60492c34a04b61547c4fb42f7734ad8284271cc238cc33692b746d52d004d33f0c6348852b -DIST moto-5.0.3.tar.gz 4984811 BLAKE2B cfa8f70ca403d995b97dc6b5e0e6bcdeb4383ce76c1a333a7b047dccbca2d9e46bf9622d36720eee6fc0c917292542b154a326df863b45451a3ce72038b6e1c4 SHA512 c509795a7b00eec6adf9107ac541f8d4300fb2bd75459e9fb5e57f55843430d3a05eab85bd4f12ee6dbf88602ca8c185165a0b46d11973ad18c12a8bfe44dacf -DIST moto-5.0.4.tar.gz 5174431 BLAKE2B 03fb18cb63e0c7ccc0239bb27388b3e1190c078828e229ac88fee9fb0b8113b2bfac0c2f9abda4d9e67fe44b37a12e0ba7a8f8fa5c3973f0fa82dbf8ed763048 SHA512 65209c85895780bcfdcdc13d4cc0c64862e28fd3aefa6e265c86af6a320f554d5a58cb46b6c059d1288edc902b8069dc81e38b025238ec4340c485943dab5202 DIST moto-5.0.5.tar.gz 5188450 BLAKE2B 052cb9cbc5752ce46283f4d3fd43e92ba3a492437d19e6284eb6907dfc4dc84e50ac6b64f0c78df3f8b1dd8140008528bd00090e112f6642b9acebe8e268e8a0 SHA512 c3c57d79864e63abae128c6d683314d06b6ee9fd40e496485e8499196b54df5e7281abb0d0ca6f5f096685799041552becfd2404a0828964232246868c70adb9 +DIST moto-5.0.6.tar.gz 5212834 BLAKE2B 8bd5734c0c7615e2ca42f715e8865989ce8a07a2733dbc8f9bce3d3c8e4718543cbbc37cc342620ecf51df64f23c21f237f32a56f165f751472bd2b793140606 SHA512 41a29faf5a206690197315693a91d0e9a71ccb24dbbd790f568502d91a0b40cad0fbea60f6af75412f4e6cb11da00677db24dfc9c3d0a884533b39e4904e2ec3 +DIST moto-5.0.7.tar.gz 5239975 BLAKE2B 8227b2d002308ffc402f949d1c858c3d42098897332ee8973ba47ea0e5d447446a1521a66640bcea5159724362c3e377b50bad3954927832d1deacbc32c1b957 SHA512 167e2388453af29f3f6be92354c33c09f20fd3c6743a790d396759237fcc463a6b9030b0d523e6cec8d04ac83630a0a2a259290473a87daeb1f4d7d2ef3cae62 diff --git a/dev-python/moto/moto-5.0.3.ebuild b/dev-python/moto/moto-5.0.3.ebuild deleted file mode 100644 index 7dd96d007b49..000000000000 --- a/dev-python/moto/moto-5.0.3.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - >=dev-python/botocore-1.14.0[${PYTHON_USEDEP}] - >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.5.0[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - >=dev-python/responses-0.15.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/sshpubkeys[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_awslambda/test_lambda_layers_invoked.py::test_invoke_local_lambda_layers - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch/test_batch_jobs.py::test_submit_job_array_size - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_batch/test_batch_jobs.py::test_terminate_nonexisting_job - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_core/test_request_passthrough.py - tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_aws_and_http_requests - tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_http_requests - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - # require joserfc - tests/test_apigateway/test_apigateway.py::test_update_authorizer_configuration - tests/test_apigateway/test_apigateway.py::test_create_authorizer - tests/test_apigateway/test_apigateway.py::test_delete_authorizer - tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserDeleter::test_authenticate_with_signed_out_user - No - tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserPoolDuplidateEmails::test_use_existing_email__when_email_is_ - - - tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserPoolDuplidateEmails::test_use_existing_email__when_username_ - - - tests/test_cognitoidp/test_cognitoidp_replay.py::TestCreateUserPoolWithPredeterminedID::test_different_seed - No - tests/test_cognitoidp/test_cognitoidp_replay.py::TestCreateUserPoolWithPredeterminedID::test_same_seed - tests/test_cognitoidp/test_server.py::test_sign_up_user_without_authentication - tests/test_cognitoidp/test_server.py::test_admin_create_user_without_authentication - ) - local EPYTEST_IGNORE=( - # require joserfc - tests/test_cognitoidp/test_cognitoidp.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - - local serial_tests=( - # these tests set up credentials that are needed by the tests below - tests/test_core/test_importorder.py - # these tests apparently rely on some other test setting credentials - # up for them, so they need to be run separately, after the above - tests/test_awslambda_simple/test_lambda_simple.py::test_run_function{,_no_log} - tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py - tests/test_dynamodb/exceptions/test_dynamodb_transactions.py::test_transaction_with_empty_key - tests/test_dynamodb/test_dynamodb.py::test_transact_write_items_failure__return_item - tests/test_dynamodb/test_dynamodb.py::test_transact_write_items_put_conditional_expressions - tests/test_dynamodb/test_dynamodb_update_expressions.py::test_update_different_map_elements_in_single_request - tests/test_events/test_events.py::test_start_replay_send_to_log_group - tests/test_lakeformation/test_resource_tags_integration.py - tests/test_redshiftdata - tests/test_resourcegroupstaggingapi/test_server.py::test_resourcegroupstaggingapi_list - tests/test_s3/test_s3.py::test_delete_bucket_cors - tests/test_s3/test_s3.py::test_delete_objects_percent_encoded - tests/test_s3/test_s3.py::test_delete_versioned_bucket_returns_metadata - tests/test_s3/test_s3_copyobject.py::test_copy_key_boto3_with_args - tests/test_s3/test_s3_copyobject.py::test_copy_key_boto3_with_args__using_multipart - tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosuresUsingMocks - tests/test_s3/test_s3_list_object_versions.py - tests/test_s3/test_s3_tagging.py - tests/test_s3control/test_s3control_access_points.py::test_delete_access_point - tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_can_handle_multiple_services - tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_is_reachable - ) - - EPYTEST_XDIST= epytest "${serial_tests[@]}" - - EPYTEST_DESELECT+=( "${serial_tests[@]}" ) - epytest -m 'not network' -} diff --git a/dev-python/moto/moto-5.0.5.ebuild b/dev-python/moto/moto-5.0.5.ebuild index 31ff40e7e342..846cf73e5152 100644 --- a/dev-python/moto/moto-5.0.5.ebuild +++ b/dev-python/moto/moto-5.0.5.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] diff --git a/dev-python/moto/moto-5.0.4.ebuild b/dev-python/moto/moto-5.0.6.ebuild index 5636dcb9452f..67d03c900193 100644 --- a/dev-python/moto/moto-5.0.4.ebuild +++ b/dev-python/moto/moto-5.0.6.ebuild @@ -50,7 +50,6 @@ RDEPEND=" BDEPEND=" test? ( dev-python/freezegun[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] ) " diff --git a/dev-python/moto/moto-5.0.2.ebuild b/dev-python/moto/moto-5.0.7.ebuild index 9e01814d7ebd..0339b2f04708 100644 --- a/dev-python/moto/moto-5.0.2.ebuild +++ b/dev-python/moto/moto-5.0.7.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" RDEPEND=" >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] @@ -50,7 +50,6 @@ RDEPEND=" BDEPEND=" test? ( dev-python/freezegun[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] ) " @@ -108,10 +107,14 @@ python_test() { tests/test_cognitoidp/test_cognitoidp_replay.py::TestCreateUserPoolWithPredeterminedID::test_same_seed tests/test_cognitoidp/test_server.py::test_sign_up_user_without_authentication tests/test_cognitoidp/test_server.py::test_admin_create_user_without_authentication + # TODO + tests/test_dynamodb/test_dynamodb_import_table.py ) local EPYTEST_IGNORE=( # require joserfc tests/test_cognitoidp/test_cognitoidp.py + # require antlr4 (which doesn't support py3.12) + tests/test_stepfunctions/parser ) local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 diff --git a/dev-python/msgpack/msgpack-1.0.8.ebuild b/dev-python/msgpack/msgpack-1.0.8.ebuild index 56e869494e21..9bd3fa0561fa 100644 --- a/dev-python/msgpack/msgpack-1.0.8.ebuild +++ b/dev-python/msgpack/msgpack-1.0.8.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest index 4a622eae1c58..07f452a7a8ed 100644 --- a/dev-python/mypy/Manifest +++ b/dev-python/mypy/Manifest @@ -1,2 +1,2 @@ -DIST mypy-1.8.0.gh.tar.gz 3023408 BLAKE2B 81f987423f2bbef8f7f1b894983b34d34b0df408bae28fbb2cb59c5d4597b4d6b9afb8e9a2914aad969dcb621f1fe4ba4850b242bb76c4cfa35aae340f4f36b4 SHA512 231237ea44ccf619ac3d3f7f3cb42658bc9802d7a34f61101a9ac79f0fa67d8f566950e14dae3465c9620cdf67dc80cb65a3e2a6724ff944bfa911754caf592b +DIST mypy-1.10.0.gh.tar.gz 3062151 BLAKE2B ddc7354b2b62247387fd04b309c50d4ffa5c1b8af58873cc8787bd17c04069b528850bfb586925aa7df6634a65af6a1e951e4d6036d5bd0e688b8608980510bd SHA512 c936c299d9d4b6911505ef7b7df6f8d7344bd199a2d654e66467291f6e6ba4432dfa7aed5a504e6ec9518d9d53ac85f771e7b31dc6a72e06e79c443547bc2b66 DIST mypy-1.9.0.gh.tar.gz 3029335 BLAKE2B 5329a95e5ac52933413a91bec2c8bd728451508b7ead880c7c4542bbe5d4cd4d2155c6d372d31a653af9a913de51d8e35d44c1dde193787ce8eaedd8d64d682d SHA512 aaa975b97e72f00a384a38fee190e39c6469b062a7083c76bb94bb7058ed38f713f65b96bb36a871a430633cab424a0f11e995868f867e2f7a13c4754ed96c89 diff --git a/dev-python/mypy/mypy-1.8.0.ebuild b/dev-python/mypy/mypy-1.10.0.ebuild index eb18f01a0c40..ffafd2cc7c54 100644 --- a/dev-python/mypy/mypy-1.8.0.ebuild +++ b/dev-python/mypy/mypy-1.10.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="+native-extensions" # stubgen collides with this package: https://bugs.gentoo.org/585594 @@ -33,7 +33,7 @@ RDEPEND=" >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}] $(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] - ' 3.{9..10}) + ' 3.10) " BDEPEND=" native-extensions? ( @@ -45,10 +45,10 @@ BDEPEND=" >=dev-python/attrs-18.0[${PYTHON_USEDEP}] >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}] >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}] ) " +EPYTEST_XDIST=1 distutils_enable_tests pytest # frustratingly, mypyc produces non-deterministic output. If ccache is enabled it will be a waste of time, @@ -72,16 +72,22 @@ python_test() { # these assume that types-docutils are not installed mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable + # TODO + mypy/test/meta/test_parse_data.py + mypy/test/meta/test_update_data.py + mypy/test/teststubtest.py::StubtestUnit::test_runtime_typing_objects ) - if [[ ${EPYTHON} == python3.12 ]]; then - EPYTEST_DESELECT+=( - # more assertions, sigh - mypyc/test/test_run.py::TestRun::run-bools.test::testBoolOps - mypyc/test/test_run.py::TestRun::run-i64.test::testI64BasicOps - mypyc/test/test_run.py::TestRun::run-i64.test::testI64DefaultArgValues - mypyc/test/test_run.py::TestRun::run-i64.test::testI64ErrorValuesAndUndefined - ) - fi + case ${EPYTHON} in + python3.12) + EPYTEST_DESELECT+=( + # more assertions, sigh + mypyc/test/test_run.py::TestRun::run-bools.test::testBoolOps + mypyc/test/test_run.py::TestRun::run-i64.test::testI64BasicOps + mypyc/test/test_run.py::TestRun::run-i64.test::testI64DefaultArgValues + mypyc/test/test_run.py::TestRun::run-i64.test::testI64ErrorValuesAndUndefined + ) + ;; + esac # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests # fail with high COLUMNS values @@ -97,6 +103,7 @@ python_test() { cp -r "${S}"/{conftest.py,pyproject.toml} . || die local failed= + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 nonfatal epytest -n "$(makeopts_jobs)" --dist=worksteal || failed=1 rm conftest.py pyproject.toml || die diff --git a/dev-python/mypy/mypy-1.9.0.ebuild b/dev-python/mypy/mypy-1.9.0.ebuild index 1818f0a748ac..b9f21a0e93c7 100644 --- a/dev-python/mypy/mypy-1.9.0.ebuild +++ b/dev-python/mypy/mypy-1.9.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="+native-extensions" # stubgen collides with this package: https://bugs.gentoo.org/585594 diff --git a/dev-python/myst-parser/Manifest b/dev-python/myst-parser/Manifest index f62ab3c5d2ac..70070c31d18d 100644 --- a/dev-python/myst-parser/Manifest +++ b/dev-python/myst-parser/Manifest @@ -1 +1,4 @@ DIST MyST-Parser-2.0.0.gh.tar.gz 815453 BLAKE2B 8f5dd823c3c79d843b45a7a4819d5677b51a12f78db2c1ce9700eb6faa8c4f0bc167fb1d8cd947e89ffab85aec947ab527b67dc73ef4db97a393f700a4331738 SHA512 c47bdd773565e93c4714d318a70f9a8adab1be6e2a63c23175667fc4afb5da4d66b84e11176782c8202e9fd68883e74d444911ddfb0b91356c2ba07fa65f7ea4 +DIST MyST-Parser-3.0.0.gh.tar.gz 823619 BLAKE2B 95d8f1c5a2ab442225079495fa4ebf3619d554bd3e6f469f6215a2458bad4fde3ca555dca591ac20537026765a8fda8a4fa9d85ca592251d9b699bba90782c59 SHA512 a91abfcb99b9b53cee6877d469c32a95c69c2fcbc9cfe6217451c0995e49dec89fe98cd5a1a5e408845985a10fbc21d4e3d8063f1d7a3d96781cb44352b3e806 +DIST MyST-Parser-3.0.1.gh.tar.gz 823769 BLAKE2B 2b8d84dc6a61abd7d168317bb80632172f01f109751b40c108828d0b2fb9c8536da32ff6c873cd3bc20b70c2613b25167eeee999ea9f2d59dfc914ac231120b2 SHA512 4c2b08e9307685c2ef02eee89becba1d6e9f67eba7ab6d5bb5b425f232ac0922bb31cb5df5d60a5ed0846a9314475bcd2cb073a0101f514455c2598340e4b441 +DIST myst-parser-2.0.0-sphinx-7.2.patch 22443 BLAKE2B 994f0b2c419832e61cb006b1b45c01274970900bdcfcef3422d5331e88962a46884afbf5b27b5cb98ed349a426444ca4ff21810526cc34eae4cf074102f7b3de SHA512 707b2a69c81352d2900c91088ca137f6455e0006b0e7c798b6f03b9f0cac85489c27db662f5e6ab6e2cd52e10f1594aa54d5c6821c07c110ad138d0cf129ac65 diff --git a/dev-python/myst-parser/files/myst-parser-2.0.0-sphinx-7.3.patch b/dev-python/myst-parser/files/myst-parser-2.0.0-sphinx-7.3.patch new file mode 100644 index 000000000000..3b9d9551311e --- /dev/null +++ b/dev-python/myst-parser/files/myst-parser-2.0.0-sphinx-7.3.patch @@ -0,0 +1,81 @@ +diff --git a/tests/test_renderers/test_fixtures_sphinx.py b/tests/test_renderers/test_fixtures_sphinx.py +index bd0f85eb..65aba83a 100644 +--- a/tests/test_renderers/test_fixtures_sphinx.py ++++ b/tests/test_renderers/test_fixtures_sphinx.py +@@ -22,7 +22,12 @@ + def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): + sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) + result = sphinx_doctree_no_tr(file_params.content, "index.md") +- file_params.assert_expected(result.pformat("index"), rstrip_lines=True) ++ pformat = result.pformat("index") ++ # changed in docutils 0.20.1 ++ pformat = pformat.replace( ++ '<literal classes="code" language="">', '<literal classes="code">' ++ ) ++ file_params.assert_expected(pformat, rstrip_lines=True) + + + @pytest.mark.param_file(FIXTURE_PATH / "sphinx_link_resolution.md") +@@ -100,6 +105,8 @@ def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): + ), + "", + ) ++ # changed in sphinx 7.3 ++ pformat = pformat.replace("Added in version 0.2", "New in version 0.2") + + file_params.assert_expected(pformat, rstrip_lines=True) + +diff --git a/tests/test_sphinx/sourcedirs/heading_slug_func/conf.py b/tests/test_sphinx/sourcedirs/heading_slug_func/conf.py +index f6612b4c..33aed04b 100644 +--- a/tests/test_sphinx/sourcedirs/heading_slug_func/conf.py ++++ b/tests/test_sphinx/sourcedirs/heading_slug_func/conf.py +@@ -2,5 +2,6 @@ + + extensions = ["myst_parser"] + exclude_patterns = ["_build"] ++suppress_warnings = ["config.cache"] + myst_heading_anchors = 2 + myst_heading_slug_func = make_id +diff --git a/tests/test_sphinx/test_sphinx_builds.py b/tests/test_sphinx/test_sphinx_builds.py +index fcc1e463..b4e7c10d 100644 +--- a/tests/test_sphinx/test_sphinx_builds.py ++++ b/tests/test_sphinx/test_sphinx_builds.py +@@ -162,7 +162,12 @@ def test_references_singlehtml( + docname="other/other", + resolve=True, + regress=True, +- replace={"other\\other.md": "other/other.md"}, ++ replace={ ++ "other\\other.md": "other/other.md", ++ # changed in sphinx 7.3 ++ '="#document-index': '="index.html#document-index', ++ '="#document-other': '="index.html#document-other', ++ }, + ) + + get_sphinx_app_output( +@@ -170,7 +175,12 @@ def test_references_singlehtml( + filename="index.html", + buildername="singlehtml", + regress_html=True, +- replace={"Permalink to this headline": "Permalink to this heading"}, ++ replace={ ++ "Permalink to this headline": "Permalink to this heading", ++ # changed in sphinx 7.3 ++ '="#document-index': '="index.html#document-index', ++ '="#document-other': '="index.html#document-other', ++ }, + ) + + +@@ -469,7 +479,9 @@ def test_gettext_html( + regress_ext=".html", + replace={ + # upstream bug https://github.com/sphinx-doc/sphinx/issues/11689 +- '"Permalink to this heading"': '"Lien permanent vers cette rubrique"' ++ '"Permalink to this heading"': '"Lien permanent vers cette rubrique"', ++ # which was fixed to a different translation in sphinx 7.3 ++ '"Lien vers cette rubrique"': '"Lien permanent vers cette rubrique"', + }, + ) + diff --git a/dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild b/dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild new file mode 100644 index 000000000000..4257951ca376 --- /dev/null +++ b/dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +MY_P=MyST-Parser-${PV} +DESCRIPTION="Extended commonmark compliant parser, with bridges to Sphinx" +HOMEPAGE=" + https://github.com/executablebooks/MyST-Parser/ + https://pypi.org/project/myst-parser/ +" +SRC_URI=" + https://github.com/executablebooks/MyST-Parser/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz + https://github.com/executablebooks/MyST-Parser/pull/811.patch + -> ${P}-sphinx-7.2.patch +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" + +RDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + <dev-python/markdown-it-py-4[${PYTHON_USEDEP}] + >=dev-python/markdown-it-py-3.0[${PYTHON_USEDEP}] + <dev-python/mdit-py-plugins-0.5[${PYTHON_USEDEP}] + >=dev-python/mdit-py-plugins-0.4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + <dev-python/sphinx-8[${PYTHON_USEDEP}] + >=dev-python/sphinx-6[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + <dev-python/linkify-it-py-3[${PYTHON_USEDEP}] + >=dev-python/linkify-it-py-2.0.0[${PYTHON_USEDEP}] + dev-python/pytest-regressions[${PYTHON_USEDEP}] + dev-python/pytest-param-files[${PYTHON_USEDEP}] + >=dev-python/sphinx-7.2.6[${PYTHON_USEDEP}] + dev-python/sphinx-pytest[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + local PATCHES=( + # https://github.com/executablebooks/MyST-Parser/pull/811 + "${DISTDIR}/${P}-sphinx-7.2.patch" + ) + if has_version '>=dev-python/sphinx-7.3'; then + PATCHES+=( + # https://github.com/executablebooks/MyST-Parser/pull/915 + "${FILESDIR}/${P}-sphinx-7.3.patch" + ) + fi + + default + + # unpin docutils + sed -i -e '/docutils/s:,<[0-9.]*::' pyproject.toml || die +} diff --git a/dev-python/myst-parser/myst-parser-2.0.0.ebuild b/dev-python/myst-parser/myst-parser-3.0.0.ebuild index ce6cf989a97c..eba761f257cc 100644 --- a/dev-python/myst-parser/myst-parser-2.0.0.ebuild +++ b/dev-python/myst-parser/myst-parser-3.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,10 +22,10 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" - <dev-python/docutils-0.21[${PYTHON_USEDEP}] + >=dev-python/docutils-0.18[${PYTHON_USEDEP}] dev-python/jinja[${PYTHON_USEDEP}] <dev-python/markdown-it-py-4[${PYTHON_USEDEP}] >=dev-python/markdown-it-py-3.0[${PYTHON_USEDEP}] @@ -38,23 +38,21 @@ RDEPEND=" BDEPEND=" test? ( dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] <dev-python/linkify-it-py-3[${PYTHON_USEDEP}] >=dev-python/linkify-it-py-2.0.0[${PYTHON_USEDEP}] dev-python/pytest-regressions[${PYTHON_USEDEP}] dev-python/pytest-param-files[${PYTHON_USEDEP}] + >=dev-python/sphinx-7.3[${PYTHON_USEDEP}] dev-python/sphinx-pytest[${PYTHON_USEDEP}] ) " distutils_enable_tests pytest -python_test() { - local EPYTEST_DESELECT=() +src_prepare() { + default - false && [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( - # bad test relying on exact exception messages - "tests/test_renderers/test_include_directive.py::test_errors[9-Non-existent path:]" - ) - - epytest + # unpin docutils + sed -i -e '/docutils/s:,<[0-9.]*::' pyproject.toml || die } diff --git a/dev-python/myst-parser/myst-parser-3.0.1.ebuild b/dev-python/myst-parser/myst-parser-3.0.1.ebuild new file mode 100644 index 000000000000..eba761f257cc --- /dev/null +++ b/dev-python/myst-parser/myst-parser-3.0.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +MY_P=MyST-Parser-${PV} +DESCRIPTION="Extended commonmark compliant parser, with bridges to Sphinx" +HOMEPAGE=" + https://github.com/executablebooks/MyST-Parser/ + https://pypi.org/project/myst-parser/ +" +SRC_URI=" + https://github.com/executablebooks/MyST-Parser/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/docutils-0.18[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + <dev-python/markdown-it-py-4[${PYTHON_USEDEP}] + >=dev-python/markdown-it-py-3.0[${PYTHON_USEDEP}] + <dev-python/mdit-py-plugins-0.5[${PYTHON_USEDEP}] + >=dev-python/mdit-py-plugins-0.4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + <dev-python/sphinx-8[${PYTHON_USEDEP}] + >=dev-python/sphinx-6[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + <dev-python/linkify-it-py-3[${PYTHON_USEDEP}] + >=dev-python/linkify-it-py-2.0.0[${PYTHON_USEDEP}] + dev-python/pytest-regressions[${PYTHON_USEDEP}] + dev-python/pytest-param-files[${PYTHON_USEDEP}] + >=dev-python/sphinx-7.3[${PYTHON_USEDEP}] + dev-python/sphinx-pytest[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + default + + # unpin docutils + sed -i -e '/docutils/s:,<[0-9.]*::' pyproject.toml || die +} diff --git a/dev-python/nautilus-python/Manifest b/dev-python/nautilus-python/Manifest index e561fe591e12..26b2dff5b382 100644 --- a/dev-python/nautilus-python/Manifest +++ b/dev-python/nautilus-python/Manifest @@ -1 +1,2 @@ +DIST nautilus-python-4.0.1.tar.xz 32236 BLAKE2B 822812ac86bbfa9e3978468968ec9291cf2f95ab4954cffeebe62f4d297b5816ad1a59cf04bbc31a146c0858e45509a4b5988789f17e7b76c4221e9c6fb1e285 SHA512 24e64af1c1cb8c70a4ea53bb064baf681d8848b2e8b549f682913a4883260b3f2384f985285d17e03736e414503ab82ea79bade9bcbe482a2cbecbb0a8356cea DIST nautilus-python-4.0.tar.xz 32184 BLAKE2B cc910de82e54cd687d23541a0b283a70dc5a0626acebf8787110ae1b5a4c080741c0879968816e217a4da968a77169d79b6614dd055f1ae57999a9a49f2553cb SHA512 f70f825b821f266caafd1b347066de01462b8256ec126072042d09dd7fd6c9324847d5ddab65671589d0a411f8b8fed428dbc94806ac679d646861c66c3a0dd5 diff --git a/dev-python/nautilus-python/nautilus-python-4.0.1.ebuild b/dev-python/nautilus-python/nautilus-python-4.0.1.ebuild new file mode 100644 index 000000000000..549f843e14db --- /dev/null +++ b/dev-python/nautilus-python/nautilus-python-4.0.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit gnome2 meson python-single-r1 + +DESCRIPTION="Python bindings for the Nautilus file manager" +HOMEPAGE="https://projects.gnome.org/nautilus-python/" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 arm64 ~ppc64 ~x86" +IUSE="gtk-doc" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# Require pygobject:3 and USE=introspection on nautilus for sanity, +# because no (user) plugins could work without them; meson.build +# requires pygobject:3 and >=nautilus-43.0 +RDEPEND=" + >=dev-libs/glib-2.44:2 + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') + >=gnome-base/nautilus-43.0[introspection] + ${PYTHON_DEPS} +" +DEPEND="${RDEPEND}" +BDEPEND=" + gtk-doc? ( dev-util/gtk-doc ) + >=dev-build/gtk-doc-am-1.14 + virtual/pkgconfig +" + +src_configure() { + local emesonargs=( + $(meson_feature gtk-doc docs) + ) + meson_src_configure +} + +src_install() { + meson_src_install + + mv "${ED}/usr/share/doc/${PN}/"* "${ED}/usr/share/doc/${P}" || die + rm -d "${ED}/usr/share/doc/${PN}" || die + + # Directory for systemwide extensions + keepdir /usr/share/nautilus-python/extensions +} diff --git a/dev-python/nbconvert/Manifest b/dev-python/nbconvert/Manifest index 125460023da5..9e8b0cc1e577 100644 --- a/dev-python/nbconvert/Manifest +++ b/dev-python/nbconvert/Manifest @@ -1 +1 @@ -DIST nbconvert-7.16.3.tar.gz 854257 BLAKE2B 77bf80e4e7ed93b3aa3731cf74e84a9e1e588c2a43a6d83dafd3511690fa2e9e040344251d4544c0e4e7e1546907be31d065d7bbce2818abbbc4a41c8d6de15d SHA512 571c56fe172586d0929c986cc40aa42687e30d98cf13ba4053535efe3d0353c4c137ae85d6445038c6611479ea30ed438b91dffdf7e4b145e92ae5e4f450d42c +DIST nbconvert-7.16.4.tar.gz 854422 BLAKE2B f04a8fbffde70e08736d13a3db3278c9248f742b27688eb56760b9ff46c58aec63aa05a4cff256e5929009c3f76d760ce71209f3c49b40af374f06b073ddd661 SHA512 f9793ce89f18530492e1e9aeba3759ac6ae8aa8e0459be52928689a58b0d816128d275bdf9061ec9f33a047e0b6c8d4d83e5a81da556700e0add48374f15fcd8 diff --git a/dev-python/nbconvert/nbconvert-7.16.3.ebuild b/dev-python/nbconvert/nbconvert-7.16.4.ebuild index 5f2a9c069ee1..5f2a9c069ee1 100644 --- a/dev-python/nbconvert/nbconvert-7.16.3.ebuild +++ b/dev-python/nbconvert/nbconvert-7.16.4.ebuild diff --git a/dev-python/nbformat/nbformat-5.10.4.ebuild b/dev-python/nbformat/nbformat-5.10.4.ebuild index ae91960cc179..d20f87f6edf6 100644 --- a/dev-python/nbformat/nbformat-5.10.4.ebuild +++ b/dev-python/nbformat/nbformat-5.10.4.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) PYTHON_REQ_USE='sqlite' inherit distutils-r1 pypi @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/fastjsonschema-2.15[${PYTHON_USEDEP}] diff --git a/dev-python/nbsphinx/Manifest b/dev-python/nbsphinx/Manifest index 5303aeb0d518..3345f43faaf5 100644 --- a/dev-python/nbsphinx/Manifest +++ b/dev-python/nbsphinx/Manifest @@ -1 +1,2 @@ DIST nbsphinx-0.9.3.tar.gz 171956 BLAKE2B 404e1692259b963f5ad9ad1ad370da1ff21ad93ac6b1081256d18cd66e2057eba8b4fec5e6ea987f73c3dea2a197108de6388e26b22eef46a8dd29800db4554d SHA512 a1dd3f96b1a7ad38cbe860eab620dda859fdad3bc22d07ddd4fc1bb9a3c7e9f66d24412370cb7701182d31870153e6388381574359356a1f0a0055111b404a7a +DIST nbsphinx-0.9.4.tar.gz 179315 BLAKE2B 727e2d6e70bec199159940afdfc92409124d940e4a1bcfd0288e779c5ac9be41802e5f347d486df0ec54a641cc82b6e5cfecbdcf4dc3dbacf74d0a8c884b3018 SHA512 b643d749eef8ec8ac63594f75d38d13c7b623203f7a46d7190b5da2cc3a7882623a8cf54f240678488db1cf5e37091473002510079f7294a0bc5780982661c86 diff --git a/dev-python/nbsphinx/nbsphinx-0.9.4.ebuild b/dev-python/nbsphinx/nbsphinx-0.9.4.ebuild new file mode 100644 index 000000000000..bb191b4769e1 --- /dev/null +++ b/dev-python/nbsphinx/nbsphinx-0.9.4.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Jupyter Notebook Tools for Sphinx" +HOMEPAGE=" + https://github.com/spatialaudio/nbsphinx/ + https://pypi.org/project/nbsphinx/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/docutils-0.18.1[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + >=dev-python/nbconvert-5.5[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.8[${PYTHON_USEDEP}] + >=dev-python/traitlets-5[${PYTHON_USEDEP}] +" diff --git a/dev-python/networkx/Manifest b/dev-python/networkx/Manifest index 433bd09fe9f9..9bf7a5408402 100644 --- a/dev-python/networkx/Manifest +++ b/dev-python/networkx/Manifest @@ -1,2 +1 @@ -DIST networkx-3.2.1.tar.gz 2073928 BLAKE2B fc4a4c0357f25cb3e4bfdfb38ffa528eddba22abc852bc80e0a70047aea2e401b0003c01108435ced1eacdba33d181395e73fcfa20773faa566c8b5cb45f6cdb SHA512 579c54a4a016617f5260df01b821c3906c4f289e80ae7bd618c0ebb9e05ebe806e71f1f660e3012531d04572ac4e6670aa73117ed26da8248fbb8ef7228b5803 DIST networkx-3.3.tar.gz 2126579 BLAKE2B 37d5d536e2564f9a219df70bb7f1b7c0717b99e9cdb7a4050aa321609a0ef34caecfda5a6ed8cb17f4d3b305b667adf8e40b58568dde8eb942d4a00b1ebdb255 SHA512 86306cabd7e15aa79cae4d84a42e8804b1e904fc2127725067a80e3ddf31f0fa72ebb9d21284018e72bdfc662c766a5be55564572aadaf7392dada7ea93d1ea4 diff --git a/dev-python/networkx/networkx-3.2.1.ebuild b/dev-python/networkx/networkx-3.2.1.ebuild deleted file mode 100644 index c4296a359f3c..000000000000 --- a/dev-python/networkx/networkx-3.2.1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_FULLY_TESTED=( python3_{10..12} ) -PYTHON_COMPAT=( "${PYTHON_FULLY_TESTED[@]}" ) - -inherit distutils-r1 multiprocessing optfeature pypi virtualx - -DESCRIPTION="Python tools to manipulate graphs and complex networks" -HOMEPAGE=" - https://networkx.org/ - https://github.com/networkx/networkx/ - https://pypi.org/project/networkx/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" - -BDEPEND=" - test? ( - >=dev-python/lxml-4.6[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/matplotlib-3.5[${PYTHON_USEDEP}] - >=dev-python/numpy-1.22[${PYTHON_USEDEP}] - !ppc64? ( !sparc? ( - >=dev-python/pandas-1.4[${PYTHON_USEDEP}] - ) ) - >=dev-python/scipy-1.11.2[${PYTHON_USEDEP}] - ' "${PYTHON_FULLY_TESTED[@]}") - ) -" - -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - if use x86 ; then - EPYTEST_DESELECT+=( - # https://github.com/networkx/networkx/issues/5913 (bug #921958) - networkx/algorithms/approximation/tests/test_traveling_salesman.py::test_asadpour_tsp - ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # virtx implies nonfatal - nonfatal epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal || die -} - -src_install() { - distutils-r1_src_install - # those examples use various assets and pre-compressed files - docompress -x /usr/share/doc/${PF}/examples -} - -pkg_postinst() { - optfeature "recommended dependencies" "dev-python/matplotlib dev-python/numpy dev-python/pandas dev-python/scipy" - optfeature "graph drawing and graph layout algorithms" "dev-python/pygraphviz dev-python/pydot" - optfeature "YAML format reading and writing" "dev-python/pyyaml" - optfeature "shapefile format reading and writing" "sci-libs/gdal[python]" - optfeature "GraphML XML format" "dev-python/lxml" -} diff --git a/dev-python/networkx/networkx-3.3.ebuild b/dev-python/networkx/networkx-3.3.ebuild index 29c42bc38d2c..aff22e69248e 100644 --- a/dev-python/networkx/networkx-3.3.ebuild +++ b/dev-python/networkx/networkx-3.3.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 ~loong ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" BDEPEND=" test? ( diff --git a/dev-python/nose2/Manifest b/dev-python/nose2/Manifest index b2612a4bf539..b28d6cdfd690 100644 --- a/dev-python/nose2/Manifest +++ b/dev-python/nose2/Manifest @@ -1 +1,2 @@ DIST nose2-0.14.1.gh.tar.gz 158984 BLAKE2B 36a79f2a9afc288fd1025e8e1875dd15f145708ea4715c2db11f7a769c87c3209ad367d55b1634b1ff032bd65606ca74ed1d4424a4fba74dd44a377820ff8208 SHA512 7cd4e4a67dfd87ce85927aa65137ca7df926e8a4b83162131cb081cbec357e951693826d43f92beb92af0e1d690c8f0a3f8cf6b0b58f174ae2516383892b5207 +DIST nose2-0.14.2.tar.gz 167874 BLAKE2B b2d1d1d026de10e9d73a312205b0562c377775016b8adea0b64213cb32930e9a58823021fa970f23e8acd79d2ea2a3df1f294732fcb2f96c454a2345f65091db SHA512 728d6c3f1c037630b6b3a4fc3012a488d91dfdcef5fe1d1f6473b317f71ac6ba16a33d33721de7422caec019eac00137e95190eb2c98edd67c4c5f7f8ee09440 diff --git a/dev-python/nose2/nose2-0.14.2.ebuild b/dev-python/nose2/nose2-0.14.2.ebuild new file mode 100644 index 000000000000..1dfbe3a968eb --- /dev/null +++ b/dev-python/nose2/nose2-0.14.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Unittest with plugins" +HOMEPAGE=" + https://github.com/nose-devs/nose2/ + https://pypi.org/project/nose2/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + >=dev-python/coverage-4.4.1[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme \ + dev-python/sphinx-issues + +python_test() { + "${EPYTHON}" -m nose2.__main__ -vv || die "tests failed under ${EPYTHON}" +} diff --git a/dev-python/noseofyeti/Manifest b/dev-python/noseofyeti/Manifest index f681ba7520d8..1a0fd91a15e3 100644 --- a/dev-python/noseofyeti/Manifest +++ b/dev-python/noseofyeti/Manifest @@ -1 +1 @@ -DIST noseofyeti-2.4.8.tar.gz 35866 BLAKE2B 6f11c7eb1db03ed27a8838e8b774cea97189609d8b7204facc3784968119878944b28231ab1f0d42f3eaa2679fee15df465e9069d1b4473ce8e5cd1749ace0b5 SHA512 78c685da52e993dc28c758dbf4395bbd544d0f4e9993f17a7f1ce267d03ba1c4a5e43cfcb2b2110e6fc21dcc60c6fcdd2bafb3f2d8ab2535a9429430ffc9308a +DIST noseofyeti-2.4.9.tar.gz 35853 BLAKE2B d0c22bd6ea0cc41b1034dcfe397d2de72284630523a9210bb7c7290a0dd86414876e2c9c6ac3e63cd640eeb72bfed4617feea467f1a983bfd35f2f4239e28452 SHA512 2f6ff27fe08c91957d6c2f6dfea7fb4eba268245fc4444991799a2a102d616e536dcf49099c31962e8c8106564e8545edc1d2238a1a76278e0929d6387117bac diff --git a/dev-python/noseofyeti/noseofyeti-2.4.8.ebuild b/dev-python/noseofyeti/noseofyeti-2.4.9.ebuild index aa6f56d6b284..aa6f56d6b284 100644 --- a/dev-python/noseofyeti/noseofyeti-2.4.8.ebuild +++ b/dev-python/noseofyeti/noseofyeti-2.4.9.ebuild diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest index 5e360b210188..d35fa6782971 100644 --- a/dev-python/notebook/Manifest +++ b/dev-python/notebook/Manifest @@ -1 +1,2 @@ -DIST notebook-7.1.2.tar.gz 4897634 BLAKE2B c505534f847e58ae40b942a2a4da5105ab60cc81de87d97dd685f63db93af453fcc091d9d488ce73be690e76f5a94497c2bfcc318afbf233440b231eeb8c02e5 SHA512 0319f96d656dab8dd581207b1b396252025618041f5c33c6c36fd66bcb10e3f678869705fcdaa667eea2d9778d969db56e366e6ea260122167903ce372aee3ea +DIST notebook-7.1.3.tar.gz 4897695 BLAKE2B ed43c72cf9cc3a9c96e71aa62a2079f2fcd7f6eed3469794a78673eeb0afb8bf2cabd3c3f1f9cfed7270ff02d78c6ba10cbc3785cfac82cac5083b8c8194cfc7 SHA512 596a35b718c222f960023f31c9a3c85661622d7aaa901abb81569dc465cfaf5aba137caa1c046b7b18d5e6b5ed59e0bc3849b03e74c3e45f7344adcfdb95f594 +DIST notebook-7.2.0.tar.gz 4946565 BLAKE2B f29d784c972a2b84b84c67e0e0a225e933468c1097c698690e68f99bd5ace98765d4c0ff5146e4cd0b3be3db0b0affd5a8a41ded262b8ffe50304594cd0ae2ee SHA512 6d76d67ea02493c04287a5571f8f817cf3a4072635995bde3ae7695cd00926519f20ae44a267a38b7b65578be507103f895137e37360c93bf4219b2e8f134935 diff --git a/dev-python/notebook/notebook-7.1.2.ebuild b/dev-python/notebook/notebook-7.1.3.ebuild index cfe050133550..cfe050133550 100644 --- a/dev-python/notebook/notebook-7.1.2.ebuild +++ b/dev-python/notebook/notebook-7.1.3.ebuild diff --git a/dev-python/notebook/notebook-7.2.0.ebuild b/dev-python/notebook/notebook-7.2.0.ebuild new file mode 100644 index 000000000000..49097b1c08f3 --- /dev/null +++ b/dev-python/notebook/notebook-7.2.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi xdg-utils + +DESCRIPTION="Jupyter Interactive Notebook" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/notebook/ + https://pypi.org/project/notebook/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}] + <dev-python/jupyter-server-3[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-4.2.0[${PYTHON_USEDEP}] + <dev-python/jupyterlab-4.3[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-server-2.27.1[${PYTHON_USEDEP}] + <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}] + >=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] + <dev-python/notebook-shim-0.3[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/nbval[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-unixsocket[${PYTHON_USEDEP}] + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-python/pytest-jupyter[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} diff --git a/dev-python/nspektr/Manifest b/dev-python/nspektr/Manifest deleted file mode 100644 index e2dd3e00efe0..000000000000 --- a/dev-python/nspektr/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST nspektr-0.5.0.tar.gz 8573 BLAKE2B a96aaaee5cd309272d5b0c78eaf9793baf1406e427a142595b67693d513d5badac064149587c02cdf02cdd7720fafeb2787fc98a9db79cc573e77d6158afd4d4 SHA512 b7293a6ccb34a5c4b87a9b28de170322296adf2d883e7671df05ac06453023190ed588eb8e1677b7c5383b6fc5962c079d363ebb214ebb9f8516cfd2039e6167 diff --git a/dev-python/nspektr/nspektr-0.5.0.ebuild b/dev-python/nspektr/nspektr-0.5.0.ebuild deleted file mode 100644 index c48603b4592f..000000000000 --- a/dev-python/nspektr/nspektr-0.5.0.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep -EAPI=7 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Distribution package dependency inspector" -HOMEPAGE=" - https://github.com/jaraco/nspektr/ - https://pypi.org/project/nspektr/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - >=dev-python/jaraco-context-4.1.1-r2[${PYTHON_USEDEP}] - >=dev-python/jaraco-functools-3.5.0-r2[${PYTHON_USEDEP}] - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] - >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_configure() { - grep -q 'build-backend = "setuptools' pyproject.toml || - die "Upstream changed build-backend, recheck" - # write a custom pyproject.toml to ease setuptools bootstrap - cat > pyproject.toml <<-EOF || die - [build-system] - requires = ["flit_core >=3.2,<4"] - build-backend = "flit_core.buildapi" - - [project] - name = "nspektr" - version = "${PV}" - description = "package inspector" - - # tests inspect itself - [project.optional-dependencies] - docs = [ - "fake-nonexisting", - ] - testing = [ - "pytest", - ] - EOF -} diff --git a/dev-python/numexpr/numexpr-2.10.0.ebuild b/dev-python/numexpr/numexpr-2.10.0.ebuild index 895be59f6262..5fb449524d53 100644 --- a/dev-python/numexpr/numexpr-2.10.0.ebuild +++ b/dev-python/numexpr/numexpr-2.10.0.ebuild @@ -19,6 +19,7 @@ SRC_URI="https://github.com/pydata/numexpr/archive/v${PV}.tar.gz -> ${P}.gh.tar. LICENSE="MIT" SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" DEPEND=" >=dev-python/numpy-2.0.0_rc:=[${PYTHON_USEDEP}] diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest index e74b88d9cd74..757130740cbb 100644 --- a/dev-python/numpy/Manifest +++ b/dev-python/numpy/Manifest @@ -3,3 +3,4 @@ DIST numpy-1.26.2.tar.gz 15664248 BLAKE2B 006e511e27c009f27bf4bf6c8c30c84a4bf0e8 DIST numpy-1.26.3.tar.gz 15679696 BLAKE2B 4c063e1a495b187049b5604686c0411b056fd03a69b5044cff10693694a7f055c87a017334cf8d05aa4a4cb87896fdf9203f51742d3cf83dbaf611b0e6e4091a SHA512 25556b41e2db9cfc52c1dfa61b05e4fc1b7b6df3b169f365375575d1146857fdb5ff91ca1508b968c296b7a06e5c6d95e82c41cdc3561587a46d3aa178f6305d DIST numpy-1.26.4.tar.gz 15786129 BLAKE2B ee759d3a857111bc494d5e989a7b005375d942b2a89cda69be4a3bd7c6cb195003fd2a8a0535f1858d8977ff688b0ec36360dcba9c3160206eedce5e28f191ef SHA512 f7121ab4099fa0686f9c095d456baa4a5869d651d7b7a06385f885f329cf08f11024b5df5e7b4ee705970062a8102ec4f709512eabbfd5c9fccce4ef83b9c208 DIST numpy-2.0.0rc1.tar.gz 18314779 BLAKE2B 5f304986330356418302d755d2a94edabbb62b7d88f4637b9f3fa633925174a8d5044f686635ff97dc81a5b464f2a66246ef4c3ede12a2c0441778acd2380927 SHA512 1f3bef3fd51f074b137099921ab0bc0f1af46c9e27993f315b8a7af2cab948de9f91af341a6976d54fae099ba1aa9e0e917eecd520c3721c1ba8e17c28d40be8 +DIST numpy-2.0.0rc2.tar.gz 18323588 BLAKE2B e2d5d03594d0cba360d4e85207818d15a0761f37cc3fb366f8f9f8bdd97743fe0cf0d09a34319c8b6af29b2bc1fc32a7f5be30a5fa2bdebffe455baff05caf7e SHA512 f86b27264c5274823aa11cbedf17c08f81f9acd05430bf40cccbbe8dcff523410629795ca5927d7f8e6c152272b274d777b64f547d23f50d11ae9fd656fd773d diff --git a/dev-python/numpy/numpy-2.0.0_rc1.ebuild b/dev-python/numpy/numpy-2.0.0_rc1.ebuild index de0e0306f005..9b86ed057d7a 100644 --- a/dev-python/numpy/numpy-2.0.0_rc1.ebuild +++ b/dev-python/numpy/numpy-2.0.0_rc1.ebuild @@ -20,12 +20,10 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" # +lapack because the internal fallbacks are pretty slow. Building without blas # is barely supported anyway, see bug #914358. IUSE="+lapack" -if [[ ${PV} != *_[rab]* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -fi RDEPEND=" lapack? ( diff --git a/dev-python/numpy/numpy-2.0.0_rc2.ebuild b/dev-python/numpy/numpy-2.0.0_rc2.ebuild new file mode 100644 index 000000000000..0d97ca09f939 --- /dev/null +++ b/dev-python/numpy/numpy-2.0.0_rc2.ebuild @@ -0,0 +1,176 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYTHON_COMPAT=( python3_{10..13} pypy3 ) +PYTHON_REQ_USE="threads(+)" +FORTRAN_NEEDED=lapack + +inherit distutils-r1 flag-o-matic fortran-2 pypi toolchain-funcs + +DESCRIPTION="Fast array and numerical python library" +HOMEPAGE=" + https://numpy.org/ + https://github.com/numpy/numpy/ + https://pypi.org/project/numpy/ +" + +LICENSE="BSD" +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +# +lapack because the internal fallbacks are pretty slow. Building without blas +# is barely supported anyway, see bug #914358. +IUSE="+lapack" + +RDEPEND=" + lapack? ( + >=virtual/cblas-3.8 + >=virtual/lapack-3.8 + ) +" +BDEPEND=" + ${RDEPEND} + >=dev-build/meson-1.1.0 + >=dev-python/cython-3.0.6[${PYTHON_USEDEP}] + lapack? ( + virtual/pkgconfig + ) + test? ( + $(python_gen_cond_dep ' + >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] + ' 'python*') + dev-python/charset-normalizer[${PYTHON_USEDEP}] + >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] + >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + append-flags -fno-strict-aliasing + + distutils-r1_python_prepare_all +} + +python_configure_all() { + DISTUTILS_ARGS=( + -Dallow-noblas=$(usex !lapack true false) + -Dblas=$(usev lapack cblas) + -Dlapack=$(usev lapack lapack) + # TODO: cpu-* options + ) +} + +python_test() { + local EPYTEST_DESELECT=( + # Very disk-and-memory-hungry + lib/tests/test_io.py::TestSaveTxt::test_large_zip + lib/tests/test_io.py::TestSavezLoad::test_closing_fid + lib/tests/test_io.py::TestSavezLoad::test_closing_zipfile_after_load + + # Precision problems + _core/tests/test_umath_accuracy.py::TestAccuracy::test_validate_transcendentals + + # Runs the whole test suite recursively, that's just crazy + core/tests/test_mem_policy.py::test_new_policy + + typing/tests/test_typing.py + # Uses huge amount of memory + core/tests/test_mem_overlap.py + 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' + + # TODO: crashes + lib/tests/test_histograms.py::TestHistogram::test_big_arrays + + # likely a test problem + # https://github.com/numpy/numpy/issues/25135 + core/tests/test_cython.py::test_conv_intp + + # flaky + f2py/tests/test_crackfortran.py + f2py/tests/test_data.py::TestData{,F77}::test_crackedlines + ) + + if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then + # Degenerate case of arm32 chroot on arm64, bug #774108 + EPYTEST_DESELECT+=( + core/tests/test_cpu_features.py::Test_ARM_Features::test_features + ) + fi + + if use x86 ; then + EPYTEST_DESELECT+=( + # https://github.com/numpy/numpy/issues/18388 + core/tests/test_umath.py::TestRemainder::test_float_remainder_overflow + # https://github.com/numpy/numpy/issues/18387 + random/tests/test_generator_mt19937.py::TestRandomDist::test_pareto + # more precision problems + core/tests/test_einsum.py::TestEinsum::test_einsum_sums_int16 + ) + fi + + if use hppa ; then + EPYTEST_DESELECT+=( + # TODO: Get selectedrealkind updated! + # bug #907228 + # https://github.com/numpy/numpy/issues/3424 (https://github.com/numpy/numpy/issues/3424#issuecomment-412369029) + # https://github.com/numpy/numpy/pull/21785 + f2py/tests/test_kind.py::TestKind::test_real + f2py/tests/test_kind.py::TestKind::test_quad_precision + ) + fi + + if [[ $(tc-endian) == "big" ]] ; then + # https://github.com/numpy/numpy/issues/11831 and bug #707116 + EPYTEST_DESELECT+=( + 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[s1]' + 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[t1]' + 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[s1]' + 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[t1]' + f2py/tests/test_kind.py::TestKind::test_int + ) + fi + + case "${ABI}" in + alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) + EPYTEST_DESELECT+=( + # too large for 32-bit platforms + core/tests/test_ufunc.py::TestUfunc::test_identityless_reduction_huge_array + 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]' + 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' + ) + ;; + *) + ;; + esac + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + _core/tests/test_nditer.py::test_iter_refcount + _core/tests/test_limited_api.py::test_limited_api + ) + ;; + esac + + if ! has_version -b "~${CATEGORY}/${P}[${PYTHON_USEDEP}]" ; then + # depends on importing numpy.random from system namespace + EPYTEST_DESELECT+=( + 'random/tests/test_extending.py::test_cython' + ) + fi + + rm -rf numpy || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest --pyargs numpy +} + +python_install_all() { + local DOCS=( LICENSE.txt README.md THANKS.txt ) + distutils-r1_python_install_all +} diff --git a/dev-python/olefile/olefile-0.47.ebuild b/dev-python/olefile/olefile-0.47.ebuild index 6c63f39cca9b..7ff45a2fcaf9 100644 --- a/dev-python/olefile/olefile-0.47.ebuild +++ b/dev-python/olefile/olefile-0.47.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/openapi-core/Manifest b/dev-python/openapi-core/Manifest index b1edbe7997f0..293a21f2cbd2 100644 --- a/dev-python/openapi-core/Manifest +++ b/dev-python/openapi-core/Manifest @@ -1,3 +1,2 @@ DIST openapi_core-0.18.2.tar.gz 84444 BLAKE2B bb05ba86eff3c70c780f1919a29b93f2137983318834c51204d7ad1094fc645d2dbcef93d92d03096826688fdfe1811c551eee68995fd46739314c2e4bc77cfc SHA512 552109c095c840a46759a54e247a3ac2d8cc36707ba89815740eef4b7fb421bd489929543892341fd89a578bff4043c8c81302fddaa1efe125238e050f152c27 -DIST openapi_core-0.19.0.tar.gz 105815 BLAKE2B 25036e98dbf4d572e77eb5dcc00909df1cd2d7b7c37bb691c403df2a48273cc2dd4150c99c526eacc709785f4ec9c525de53e7f613f10b15177fc1ff90ce76fe SHA512 3a94170f8ab6a47188c693545be9d2cd965d2479c838a8644d6218f9f46b54fdb94e0550ea5626e5ba58920419b7c700d26b2e6dd6a55afeb73778f582a645e0 DIST openapi_core-0.19.1.tar.gz 107802 BLAKE2B c8cd318ab6a88272e45fbff16df7e0cef7d8bab6c7cef8d965443fa0ad7439182bd9639f8a912ad913eb3d7727c4aeb49d576a8721aac1d0ba9423dd344da44d SHA512 861e3793303ec89265be3a0846ad702e321ebc8536497d146ef10a4c9ab54900ad35ee9e90ef42e1f0856da8c0e746471e9820b0ac3e149adaa0b951a66b382f diff --git a/dev-python/openapi-core/files/openapi-core-0.19.0-pytest-8.patch b/dev-python/openapi-core/files/openapi-core-0.19.0-pytest-8.patch deleted file mode 100644 index 78fb19897560..000000000000 --- a/dev-python/openapi-core/files/openapi-core-0.19.0-pytest-8.patch +++ /dev/null @@ -1,92 +0,0 @@ -From 36da765cfc27cd6bda5c2773e3b3664a6473cd3b Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Thu, 15 Feb 2024 15:53:50 +0100 -Subject: [PATCH] Remove spurious `pytest.warns()` to fix pytest-8 - compatibility - -Remove the spurious `pytest.warns()` contexts within `pytest.raises()` -in `test_shortcuts`, in order to fix compatibility with pytest-8.0.0. -Prior to this version, the exception raised caused these assertions -to be ignored entirely. This is fixed in pytest-8.0.0, and the tests -start failing because the warning is never raised prior -to the exception. - -Fixes #789 ---- - tests/unit/test_shortcuts.py | 21 +++++++-------------- - 1 file changed, 7 insertions(+), 14 deletions(-) - -diff --git a/tests/unit/test_shortcuts.py b/tests/unit/test_shortcuts.py -index 0dd1865..9a3f36c 100644 ---- a/tests/unit/test_shortcuts.py -+++ b/tests/unit/test_shortcuts.py -@@ -423,8 +423,7 @@ class TestUnmarshalResponse: - mock_unmarshal.return_value = ResultMock(error_to_raise=ValueError) - - with pytest.raises(ValueError): -- with pytest.warns(DeprecationWarning): -- unmarshal_response(request, response, spec=spec_v31) -+ unmarshal_response(request, response, spec=spec_v31) - - mock_unmarshal.assert_called_once_with(request, response) - -@@ -597,15 +596,13 @@ class TestValidateRequest: - request = mock.Mock(spec=Request) - - with pytest.raises(SpecError): -- with pytest.warns(DeprecationWarning): -- validate_request(request, spec=spec_invalid) -+ validate_request(request, spec=spec_invalid) - - def test_spec_not_detected(self, spec_v20): - request = mock.Mock(spec=Request) - - with pytest.raises(SpecError): -- with pytest.warns(DeprecationWarning): -- validate_request(request, spec=spec_v20) -+ validate_request(request, spec=spec_v20) - - def test_request_type_invalid(self, spec_v31): - request = mock.sentinel.request -@@ -733,8 +730,7 @@ class TestValidateRequest: - request = mock.Mock(spec=WebhookRequest) - - with pytest.raises(SpecError): -- with pytest.warns(DeprecationWarning): -- validate_request(request, spec=spec_v30) -+ validate_request(request, spec=spec_v30) - - @mock.patch( - "openapi_core.validation.request.validators.V31WebhookRequestValidator." -@@ -889,16 +885,14 @@ class TestValidateResponse: - response = mock.Mock(spec=Response) - - with pytest.raises(SpecError): -- with pytest.warns(DeprecationWarning): -- validate_response(request, response, spec=spec_invalid) -+ validate_response(request, response, spec=spec_invalid) - - def test_spec_not_supported(self, spec_v20): - request = mock.Mock(spec=Request) - response = mock.Mock(spec=Response) - - with pytest.raises(SpecError): -- with pytest.warns(DeprecationWarning): -- validate_response(request, response, spec=spec_v20) -+ validate_response(request, response, spec=spec_v20) - - def test_request_type_invalid(self, spec_v31): - request = mock.sentinel.request -@@ -965,8 +959,7 @@ class TestValidateResponse: - response = mock.Mock(spec=Response) - - with pytest.raises(SpecError): -- with pytest.warns(DeprecationWarning): -- validate_response(request, response, spec=spec_v30) -+ validate_response(request, response, spec=spec_v30) - - @mock.patch( - "openapi_core.validation.response.validators.V31WebhookResponseValidator." --- -2.43.1 - diff --git a/dev-python/openapi-core/openapi-core-0.19.0.ebuild b/dev-python/openapi-core/openapi-core-0.19.0.ebuild deleted file mode 100644 index 005dd84f4714..000000000000 --- a/dev-python/openapi-core/openapi-core-0.19.0.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Client-side and server-side support for the OpenAPI Specification v3" -HOMEPAGE=" - https://github.com/python-openapi/openapi-core/ - https://pypi.org/project/openapi-core/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" - -RDEPEND=" - <dev-python/asgiref-4[${PYTHON_USEDEP}] - >=dev-python/asgiref-3.6.0[${PYTHON_USEDEP}] - dev-python/isodate[${PYTHON_USEDEP}] - <dev-python/jsonschema-5[${PYTHON_USEDEP}] - >=dev-python/jsonschema-4.17.3[${PYTHON_USEDEP}] - <dev-python/jsonschema-path-0.4[${PYTHON_USEDEP}] - >=dev-python/jsonschema-path-0.3.1[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - dev-python/parse[${PYTHON_USEDEP}] - <dev-python/openapi-schema-validator-0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-schema-validator-0.6.0[${PYTHON_USEDEP}] - <dev-python/openapi-spec-validator-0.8[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.7.1[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - >=dev-python/aiohttp-3.8.4[${PYTHON_USEDEP}] - >=dev-python/aioitertools-0.11.0[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - >=dev-python/httpx-0.24.0[${PYTHON_USEDEP}] - >=dev-python/pytest-aiohttp-1.0.4[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/starlette-0.26.1[${PYTHON_USEDEP}] - dev-python/strict-rfc3339[${PYTHON_USEDEP}] - dev-python/webob[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # missing dependendencies - tests/integration/contrib/falcon - tests/integration/contrib/fastapi - - # TODO: these tests fail to collect - tests/integration/validation/test_security_override.py - tests/integration/validation/test_read_only_write_only.py - - # unhappy about modern django - tests/integration/contrib/django/test_django_project.py - tests/unit/contrib/django/test_django.py -) - -src_prepare() { - local PATCHES=( - # https://github.com/python-openapi/openapi-core/pull/790 - "${FILESDIR}/${P}-pytest-8.patch" - ) - - sed -i -e '/--cov/d' pyproject.toml || die - distutils-r1_src_prepare -} diff --git a/dev-python/openapi-core/openapi-core-0.19.1.ebuild b/dev-python/openapi-core/openapi-core-0.19.1.ebuild index d1b3663e0af8..6779d832c696 100644 --- a/dev-python/openapi-core/openapi-core-0.19.1.ebuild +++ b/dev-python/openapi-core/openapi-core-0.19.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" RDEPEND=" <dev-python/asgiref-4[${PYTHON_USEDEP}] diff --git a/dev-python/openstacksdk/Manifest b/dev-python/openstacksdk/Manifest index 34608131fcad..975418fc6abe 100644 --- a/dev-python/openstacksdk/Manifest +++ b/dev-python/openstacksdk/Manifest @@ -1 +1 @@ -DIST openstacksdk-3.0.0.tar.gz 1214285 BLAKE2B f28526732c624ed1417196ea15caecce434a6ec22f716349a3c2df7359fc478302723b4be24db10d502fa153ab7e7ec7d67238efecb98736927cfec4760c9f97 SHA512 33cc81b05a682503add54094da2cd96552c492181c6ea66fe85c5c6f04a98cb2ebaf1234defad95c14861e5dfff11bfa35a4084c4135241c10d719cd61ecb9c9 +DIST openstacksdk-3.1.0.tar.gz 1215965 BLAKE2B 6bf5c3f85dcc2a027af10b675f7a3c7f7cf82bccc20558c0e094def02ff07fca4952ed71240bdf29600c3ef077575c49dce0dccb1683539bef756897813f4d1a SHA512 97ef0610115e1f1534900a6003d699028c6b331af0ef95fadb27babf0bf1467a304a3cc935f07270bf597053e2536e74de79333f67d116cf0b18583a3c8db878 diff --git a/dev-python/openstacksdk/openstacksdk-3.0.0.ebuild b/dev-python/openstacksdk/openstacksdk-3.1.0.ebuild index 76434f8532c5..76434f8532c5 100644 --- a/dev-python/openstacksdk/openstacksdk-3.0.0.ebuild +++ b/dev-python/openstacksdk/openstacksdk-3.1.0.ebuild diff --git a/dev-python/ordered-set/ordered-set-4.1.0.ebuild b/dev-python/ordered-set/ordered-set-4.1.0.ebuild index b68a3c64c3e6..b920e7c78860 100644 --- a/dev-python/ordered-set/ordered-set-4.1.0.ebuild +++ b/dev-python/ordered-set/ordered-set-4.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # please keep this ebuild at EAPI 7 -- sys-apps/portage dep @@ -6,7 +6,7 @@ EAPI=7 DISTUTILS_USE_PEP517=flit PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/orjson/Manifest b/dev-python/orjson/Manifest index 54c2589151f4..e14b8a0b309f 100644 --- a/dev-python/orjson/Manifest +++ b/dev-python/orjson/Manifest @@ -4,48 +4,49 @@ DIST associative-cache-2.0.0.crate 13960 BLAKE2B d0089d97ffd7bf1db65489501b53ad5 DIST autocfg-1.2.0.crate 14808 BLAKE2B 122327d6ffd32e08dc9fbdb4dcf69128b19d56280f9d934311b946741003b40571cdd1f3ef54b2be02c8dc505aea11c962b244d33a92206bf4ee8f6b2b9da432 SHA512 66cbfd13e33b36284cf4c74c8d654f93adcc45893d127d9aaa4c1d183e47336096e72d74e7c17dd481fb7a98931ab6cfec7e4d4165cfb491861d4e3ffe2416fc DIST beef-0.5.2.crate 15275 BLAKE2B 95d60fb1840ca26581841ad65a4e8f3f99d5f8d44c569219f4d06ce441bb3a4ba558e231e73a51cd1c6b4d9e4cc6a07942115c134289fb1982dace03049d3a1e SHA512 755fc588acbf730bc9c80dbfc20cd0ef81f792a94da0dd28379ad83a7359ddd4c7b136ba8048dd460bb8652475db3d12814fcbd04eff4ebe8ec8a1bcd024c2aa DIST bytecount-0.6.7.crate 14642 BLAKE2B eabbc141f2a277d07fd002869d1746e7f743b96c3dc72b8708308e826d3934ecb01407e77653ef46d06b3bdd9d931e121c9c66a784d46116a9e6b98e992512f4 SHA512 afd46ec3f60022a173b57dd954a06c7c86f21fc153a0ee6fc2052ada5a630515a386bc8344680ced57dd19a205480c694b9a04a6da0660b6e854b4a712604d53 +DIST bytecount-0.6.8.crate 14694 BLAKE2B f534fadb45ce25036313c0c4d54ecfd2091069d5402e02606da36d73696c74e3162990dfdbc95dca4424b498983bf04019234af6eb71e38ca28fb7da61d181fb SHA512 5984dbb71fe22371db00ca56675f409cefcf7c093f406ce1abc330a0b1535f30a43a520fb64d66c04a181a4f05d956300e35f77b43aceeb161eaf8a2c64df614 DIST castaway-0.2.2.crate 11091 BLAKE2B 3445e68aaf533caa1df958fb371622ef61c7778d515fd1efe39a12588e24fe07480738daba008e414a95e72af10d5ea29702425e5b91ebb277fe346ff74bc43b SHA512 dbce2a61a429eda7a8f21b4a35dced729267298be9793310afaff58843211a7177a9bb932a4bd9dfcedaaf1a2570b90261d4c1047c62474450ea835dcfc325a4 -DIST cc-1.0.90.crate 73954 BLAKE2B 840417889519dec96a745c49ecbc8b0d3da9b37a4b6b0165ee8983c07b8150061690b34409381365ae4c70c5780923d19cddce29d5fbc370eb6b6fff29121436 SHA512 349f3c3f8208632f8754cc05d70976eb14f3f13a14d59413994c656efc36bb32b7310adc7d5f3a6745f15e0aaa88334644c9aba8d29fb961215d74bec605307e DIST cc-1.0.94.crate 76456 BLAKE2B bf72e0007d9fe022a66ccc12be48acbc5dd1b716a47f18e4062b415405140764db6ed26bcab071307142167309c9c9ab55382c7973ad43fd15d06e3fe6b24b69 SHA512 67ce0e73904cf7fac81b0b914ec5fd4d9e59f358602199530f51d203a2e42be9814b04f65497a644a0e2720cc6e58c5e4bf1ad4782ded35b710b22c9b0f2bee5 +DIST cc-1.0.96.crate 76576 BLAKE2B e0171d68b04bf2435a858b3d50376580f0740588770064bb695ba49b6827bf1f92aa4e973c8dc55e1622e795d23fa8fe42abd122d5d016e800dd5ea86c4ceb3d SHA512 a3e8058165e61020bb10491dae50fcbffbb411d27d6dc44997a931f424e88cb36d89004165aae9c531244a7026920804222c819d12b1be3e3db571bec181d8a3 DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff DIST chrono-0.4.34.crate 228932 BLAKE2B a2feab8d8b079209f8661fd8c5069f2a5fc3e5b0a6233187ace16f8f2ad8b4a147253e47af306cb31aacd82bdf490a8c8a171ad702b8dc22f9b934205d080c55 SHA512 2aaccde5e5ecaec744613429f807b3c34b92632973de7fdbdafd7ca510b917a23a0abc92a6497754d0d3368d684305648aec1fa2a0a61c88a100a20fab2348f1 DIST compact_str-0.7.1.crate 57246 BLAKE2B 2da5cfdc91d417294ca87ce834e8006d3426aff4cb22945e6744ace7d22c940f0181a75f25e6acc41efb5d83bf6ba4ee0876db3ce5cc05b9524a9868dcb8c7c9 SHA512 29ed591024f8f1b478722384664f5700fbde97b44af82fa32a8d1ccdedca9dc425555f9e5a4431a6c954d58cd90d60a25a9ed7f18773ede13edfc68094a23275 DIST const-random-0.1.18.crate 6646 BLAKE2B 20e71fd7e2b0b9af663073a45d0224a4cf9a6a6bdab5c3565de88b4a66ff24a1b0f8c01bdbb86f5192b723c03030ae02fb86722be7cc41c3154cdc81f843f013 SHA512 e250227850001a3ac6abdda6e7bb88efeaec1504a54348a5ea71ff66c984455eb9181b2acfdc0b6c08ef6f51beb34b7ae7836e370d84d75731a2482226c5ed26 DIST const-random-macro-0.1.16.crate 6657 BLAKE2B 44a3508e2158b79042cab698b1f31c50fa356098bb5f4537f82fe1b9e893d3e8eab59612a8957e524294ca0a035046468d799e4a0e9253c1464b68ef682f84e2 SHA512 8478bc65b0845e765a69e09fe4152e89f3e3970d2d92e4b32bb0abb7b918c725f325d4b19a45d2a462905bedf837b3a23f31b1ed9dc8655ca502de72616b074d DIST crunchy-0.2.2.crate 2995 BLAKE2B 74ddf8c5e0deb2ceab65c20a2743e1230739ac6aa3af60c9e867a7852270697a1278b7dee00df8949fc4268f9756a4a098df1211ab3b3e31a122652c3ba0a6fb SHA512 36dc0aebc41a3aac5f1b178a7e61b65bcd9bb5c8539b2024f79428200f7c62daa7098af55c6ab0765febd2f8969bd6c0ac8096f73cdc0958e5c4e4eb6a4f7025 -DIST encoding_rs-0.8.33.crate 1370071 BLAKE2B 0e81419086ca6e18f2aba5194b87eaba49ddf20493fd6ee09d479db86306e39dff9b23f399594afc42f1fdb33855e070beaa1871794dc0b0371c35d296a6369a SHA512 20d28a4c0ff0710f911f510be56c2bc5e7514b76d370493d2b89b7f25d1c0cd46ffa64862e54fc472f07f928a2cc24cf9d790a37751cafafc81f263705aac4bc DIST encoding_rs-0.8.34.crate 1378166 BLAKE2B 528692170cdb1d74ffb0b122a5aee61f50a2a7e4ce6db049ebea4a185e5c43d4ed99e515f08524053a110e061f788f861e62e0b04eb016e7a9e2678235a04577 SHA512 e23b87003814dd6e7e17924bd1f53989a5008dd1da07baa23c40d2a18dc1ab2d786d61e2c304b3f60e73be5f180ae2deea3b4499c0157b6afe3c9273d2f739f6 -DIST getrandom-0.2.12.crate 36163 BLAKE2B 0afef8504932ea0ea051cde1d14bd5b79edde68d6ebae6fe88fa4aaa532605a16f466d0d9c0d0aa619eaa105600b6d5ee4e191865a3fa041549a78f78ca82396 SHA512 dd97d7dae1a7ba653abdaf2db719e1a9c8eb721b08b4af0f1c45b1ed5079069d1b57e4f6d9d879e7fae3a890763f4b6aea9bc2d945392b98e811e7b348589bee DIST getrandom-0.2.14.crate 37307 BLAKE2B 5904388869335ea904d950ee83ad1867a0d3f6831b7139102b53f4bb4a2c12371c9396f1f1cbcc44e3ce69a4ea316651b1674722071bfa7562385ad4b6a88c33 SHA512 6c334415e09f570e3123e3c6c6eed1727533ac6c9c4142e16ae995c237a16effe146832a891be9fdde4335bd02b454e0fdd9160f20dc02f107ad106756221658 -DIST half-2.4.0.crate 50666 BLAKE2B 5175650e5cb9fa08a5d45ce35b76b15454d27f214d9b9236902ffab71834b342beba0654f9c85fc796bbb499a1a979b60714a5bf7666d1faf59d61530073adbd SHA512 7357a0f84dc6ae394efdd464f5a6da2bafa48bf8d794b2c34d1507d4d66af31ece8a012b58e6f76eacea2c249488a12c20f8c7e516ddd42a70633c9dbaa13bf5 DIST half-2.4.1.crate 50892 BLAKE2B c275a9ec70d2fc0c50cb63421399202d31252b0dbf463798ed0a12a17493817c66b8933811d483b348f8f945cb05aab7cc2a4d952bd16009c3da4860202e28dc SHA512 0bce235583ca128723186e1fb50f636b519bf826c942f02c5b969db4117baa87c644665c541991c16d1f1dd97c7233c017a513d45075fc72c5d99ccc7c1ac193 DIST itoa-1.0.11.crate 10563 BLAKE2B 94da07e0f7f2535d0b1491b3a3c64905274b315ffd35ec8e9a3e36e26cd7211733b462eefb5208963e388345f65be9694804c344a6132b2b595b0bc716c0b328 SHA512 7e22dffac34c9c9f432daef395e0ec710ed658164bc9cd9fc6445c9f984c912a10bac556214a026bcddbe27a3197b35b0c87d6709fd605062637d086b2d20311 DIST itoap-1.0.1.crate 83316 BLAKE2B db0d9f712155bfe4285c3d3debf314da2d64ffd127d6b9dd471074eb7e5dcda41f1e5b04bdad63e0fbd695043eff21956709ffdf2cdd7fc5b329d1d79ee69fc6 SHA512 ed15ba3e1ee1ef5f1658fbb47e8cba66e62acf05d8ac45340e15ace24c86e5adf072b52bfb90ebc5e90f31a9a8e91ada23d4322db9a87bb966922afdd4775840 DIST libc-0.2.153.crate 740614 BLAKE2B 523a41bc8cff4ebcba0edbbe9e6a2286ec7cb3ba5e90ca5926c972b68e4b34188bc077d20c22376238c3cd91b7455898a95c505ace4ededea88cc496edb4c5a7 SHA512 3f99e3a192974fffdc053ef21e9ad5fb54b7cdbd4755df176704a95dba38047138ccab76763e89c6b565f37f98fd549fe368749f84f6d1638b3209cb07eae9b4 +DIST libc-0.2.154.crate 743304 BLAKE2B 25ff132ec29b78dec455f0a1fc9fbfc744ee0d6eb410aba05ec6b1b08af9d83ec61e56f840f86cb833f590e8cdec7f67ce6e7b630ee227a36581650c81298b84 SHA512 891a36cf153a9f4d58793412c104504c57280994e428ce8ba208673a924b2de38cc21eece09b91696eaea3b2359606dbe9f1509f9bf364bdabdb366ef2dd0f61 DIST no-panic-0.1.29.crate 11689 BLAKE2B 15c88784de85c159d65c7f7cab968692cba303abac1bbbdeb0c92014df51932094a4e12e2df253256cea9fcfb08f339514d67f08bb549e89fb16301a7e9432b9 SHA512 647d5ade614f7dfe0eb8b1ae8a78897ce61e15cffbafb889e7a5271c90cf6b40d3c37ef94c600b2058207cc45465c0553aea9c9e17eee93963672bcff9913354 DIST num-traits-0.2.18.crate 51930 BLAKE2B 6c40e155d7a52267a7183d8030ef34245492d33f103cc24551b10da3eaa18e3db485062ff87057dc23e6b55e381e5c5d2a2633aaf6f4763c06677a0a0c524f02 SHA512 e395ad9f3b21b0dd1d3a94cefe0d68a42d1b1d429ddb2823696f9cd75042568a635d93d133ddb9497ed357e5b3be5caddb8e4a4af87b65882bbdc60b05c74ebc DIST once_cell-1.19.0.crate 33046 BLAKE2B c14b374eaf4ac0f60acc2e02f7bba270a0e8e0a6978d749cd3cb0ab3eb26907e4fbea70dd5132982f90290381ed18ff8a87fd530f1415fabffac864f157ea380 SHA512 4154876afd34a699ee650d1a8a1c5ee5a25f0ebd9388b8bef2564e33629fae68f113d7507488c68abbe7ea1acf9bbc41813cbbf3ef3e464e3f3b9cc7a51d870c -DIST orjson-3.10.0.tar.gz 4912978 BLAKE2B 1722f9b7c853bc2ff4dc2199df4390845eb011ef78b6db9669705334a43cbf3048a8b84b6e3bd21064ec36b4655ee86aab2de9781f50e24a709a7a2160f71f57 SHA512 365acde8f4a9f0ebca95d6151abbd6b7846836ecd24a5688f75fc1a936da6cd205cfb251c6b779d95b3c2da4c79a15e8d6963236cdc6d6bf56c345597d8903bd DIST orjson-3.10.1.tar.gz 4917664 BLAKE2B ee730e23dcf3930bf5a4046c8ea21b5995fef5e244b4ae73dfd6add1606624e22c2628144c5a7c50d498e5857ed785d1f321437449e09839fe3121e3e231df2a SHA512 54b927f407a584b0751403b3473bdb26fa3827e07895a28255b7ef938dc404d36fd388e47ddd0e724916786a3e52ef9fe5f245d8d2732d1cb6880bedb75135cf -DIST proc-macro2-1.0.79.crate 47200 BLAKE2B fff8e514d618b8ef60d6a4ca7610607641cb25701fc5e8452e0db5f942a3c38c724acbbfb0474823fe0f4864df07958c1524383e7640105266608f1d5a741368 SHA512 8bfa6fc1022556cbabe0050a37b93c5ef1056ebda9d3dd368e705a7c695df9dfb5cd5adc18ad1eadf7338631ad1d5ed6f63f0adff3616429ef8c50a930b1838f +DIST orjson-3.10.2.tar.gz 4930110 BLAKE2B 319a0874081c495d1a2528716cef0d2ae4c896e65644126b674a0a97e0e03d60d2be6ceb6eb0b5249885abc2816416ba2cd1ec3a5ac1fd57a80dcac5f14f9c19 SHA512 c38e78ea1110c00840dbbec1228eb23ccccc81e8d11494172db120d350510d5a5a9a9958e16949284306b8532e05cd03c6dbd82509e2e791c019d4c284ab2099 +DIST orjson-3.10.3.tar.gz 4930028 BLAKE2B a4ed1bad539d21647ef36a4e72ba1444f57d9b6b1292f6972b62de413bab7668396be5479b384e897bf88a397e7089f4e75e2ecb945ba561bbac5fe602f23faf SHA512 7c29ca375e18170088bfbd0adf58be0291668c77bdae30f74568731350ac384f70430fe3e52ff29733959685cd02bac33ddaae035b9f35824c8daf3c80419506 DIST proc-macro2-1.0.80.crate 48227 BLAKE2B 1b4d2a1d613af8e03fab7a976707ed9ad4809ba50775992df54de10e5b8deabfcce423ca962fbce5c22090421cb0b8b26b8026d56562aa6569a8acfbb49d55de SHA512 d40181bbc4f83ee66be7721e8f89f9a08e368e12a8a0d4c1dcdb1c29cc72b1bcb8da598de1ad1a155a8182026ab7f8365f7a46fc76d589282fbffbd35aa228a0 -DIST pyo3-build-config-0.21.0.crate 30535 BLAKE2B 71bc1756e1640456cce58190d90f7c1059b9748d9d72a122dd4e28c74ba96cb9fd2bbd80791d3edf313349cc0fbaa669c8e9cecfc925c9828ac794fda17a6ed4 SHA512 ac1ee7389fe267c28ff67f5d6a23bdba57ad2e0dff16e7ef38bc2bc95d0a2a4aca0b1fe4cac8510163c6c5a44bdac128f36d7b34655dff5f8e690db38e5edc6a +DIST proc-macro2-1.0.81.crate 48233 BLAKE2B 94319064772c757b6bf57eb9e759e827454f719d82210271ebab9c6ee4ecfddc9099522cdc8595123efe2efb64fd50eadd7e31419c5842ff1cb8fdd32e8daa0c SHA512 7edec4b786d9fe076ced4fa5c0d369c163fd1c27c895431245a8268ab2e16665b7c0a585552d46ceee6b8103979a4201f92abb381f0e678128abed359f514de7 DIST pyo3-build-config-0.21.1.crate 30540 BLAKE2B 4019892096ee02c25ec6484eb56da12990fc84be5c5173f524e88e8b18e5b1b113d0db1962aff44253519bd1b5f3d4f01512ba86441927c19b04911d8282a039 SHA512 9eb4fbef1015deb1d7a414181926b6b4e44acc2347379783f2fe28e212986e62bb7e36d214d3bed613e9f213a9882084af9012042d9047846f7f4948f64112de -DIST pyo3-ffi-0.21.0.crate 66158 BLAKE2B 40809352e9df9ed13f833a73c9d50f71e63591a5b4680fbc85b2c10fa5d0ca65b793d6f467723bdc47887a38536fba4c2b2d9ba52f5ee9b2005a23d98778c407 SHA512 4405a6dbb06e739a54056a70b072b94b1181aa5ec06515c32ba76962fe4bce6b2b63cc179b77d3656123eff5f60e650bd6efe026794ad38d37e307f3653a3f96 +DIST pyo3-build-config-0.21.2.crate 30581 BLAKE2B 993c1f7f15124336b70570ed3949cc0873c2b883e81dd3a350f347cf014fb9a82d487197fdaf475989b727b7ee8d9a5511a72422f76126b8788c4f40831baed8 SHA512 8b6bedb31235de3dd95bca6e19ea4eb7752227ceb9f1c928c4df2b277df5ee443e5c262e448012e4e54e3104213db4d745c9c42f79ab3029dee68f48ec3a2795 DIST pyo3-ffi-0.21.1.crate 66163 BLAKE2B 7d47e140d6e39d2622a77349c20466e9e161d3732b3df7a4fba258ac4b41b5bfa57e4af87dae8ab932a27c965bc9e3e10cd38195c9037cb78246e0ad10260fd1 SHA512 6d0f6d1c9d6af1255a1d709e1da6dee82c9948ddcd2c8b38c760e5fe23b6a65b050f030b46a38697aa82b5c1927fc9a20dff92cfabf1a03ca92099583a516c68 -DIST quote-1.0.35.crate 28136 BLAKE2B 81424245e1e2b94459df68bb3a9a866c6a364102b5e1d010ede9c5f8278f8406d7b651957d091c5914e936b494b0f6e9a6a1dd8b7d35cd7d7100f86dee4ec12e SHA512 f5314fb6af17cf36c228e1970c569c29ec248954a450a5f90ba9e2896d04f74904c9cec5a1f74325f2489295a94491eee4ce8fb461e22cd4b34e53f1f881efd2 +DIST pyo3-ffi-0.21.2.crate 66160 BLAKE2B 759622fa3a41bcdb48170983c4e194898415f8db16a7c57ace89a7945bd47374d9a14e5ecf24e80a178bde597cfa30d41f9e6617b458d365640bdbda048e6f6e SHA512 5cbc9dfb14569210776fd66341e77e61642a9920354251a65b91aa13a0fb1c373258d1a6b4f8feacdc4266d472193d8f20a6dd2cc180ccc3d43fb66237ae6d0d DIST quote-1.0.36.crate 28507 BLAKE2B b93495163ed205e33543ed45f084870240d479071d643704b6e348fb9ada6e1d8401893c13348b9964f4b6b17ddb96cb5458eec540f0d761655fcb96a4cd9129 SHA512 f1f002a912692f7ffd4912ca980ec57ff4aca3a7d9e2e42e9e3409e2105c9f59d86c05719f6af309bccaef2f8843b0848a6e3afda3356e045d8e7cc5956ae685 -DIST rustversion-1.0.14.crate 17261 BLAKE2B db30d01914059a893bdb4c448ed0bf04852085c2d948bfbed8819a1d2317c34133cf609abdd806ad628b86974a9c1ab9d09f79743cb8e13257ef32cd444f49c6 SHA512 466d753c28c4899ab3da3e9f3366f7ecc435d484f51e0c07acfa5f3367af0de27ea3bc75efda22159b4990c976b1466a27e7c31c834c72a87d8234318357454b DIST rustversion-1.0.15.crate 17406 BLAKE2B ef68a3a83e11f6734be94117e5170f92f9e1211d353a81b45ed11d4c738278c7f519ebfc9896681d564698fbcc579da10f97fddd77d56b14dbb96b90e16ea811 SHA512 e0e37511c25b71a64bd6f91cd8b29e43c4073ef56196de808634f3408cc297fc7fda1316a5adc5fffde9192b7d64f1940deb7cf396277a3805e89e15b2a855da DIST ryu-1.0.17.crate 47537 BLAKE2B 28408e17a4322f1afb6f21bc8d7328c39d07186de4d464f8e9bd63a69757cb4af61b46e558075e14836f310f020ac824d5ffa616fc0a5ffba59b9df0bb66ffc4 SHA512 6dad725c4fb2d3a33ea30107b63cb702eed56bd2f3c16a72265f648f5aaefcd3d5a7b919b1d037af926cc6311bc68ba58c4e0483da2b2e2135c6a7c2d6601af4 DIST serde-1.0.197.crate 77087 BLAKE2B 4a4e04ededf5fefaabfcc4e17457db823239e8eeee7631a905ed47800ca10d26a93632e3a9d1b784b83f84168d0d649cfa2e6f5f1e68ab15a68e837cd5b6c699 SHA512 69e42825fce6a0a5d109979785daceacfd6afc5641e202fe83da32e2b1f968416557cce97fa014839e873e65f85c27494c8f8e20e6e9e4fbedf20d0291880410 +DIST serde-1.0.200.crate 77611 BLAKE2B 57f4a76cf534ffda009a5441e694b0ac87b30e470c97d77bfd572eb54f039c3cec56f9bf5e035e4b3b257ddb341cb4b7fdb85ca3c4684167220dbb98d1e6a762 SHA512 d4d01d62e7338b147f83bdbe358813e70b7ac218ddbdeab534926d205d46f86e2086f73a01f453c9d4a3bfed07e10d57ebd1f86bdafd4fe96c6298f1e527b8eb DIST serde_derive-1.0.197.crate 55771 BLAKE2B 73708908b6d1e104af4c63b498bd25c5a728e07e22afdf92f15754c0f17636efe44c0560c1f0df1b9a30708e8e8894a62f1ea57c234b6dd861cb9c8dc044eb4b SHA512 669376e248b76a5ee8b9c93fd9fe6d35372e7267fbabc14730539ef28a94e405ee5e9c2cc2846897d59d6153742cdc6799f9e2c87f20b9dad119bd3a86c28994 +DIST serde_derive-1.0.200.crate 55785 BLAKE2B 45eca5504aff6bd099a42dfc794cf732c7e76e5ed362d16082ac069d29e1e6c22bb3e13dede4bc498df8f008bdba15479de618380f37c9742a34d97c9ca12efe SHA512 e70f0e092d81542a96b33610da8ddbf04023d8ecc1fa4a4f31978699c118f096e8534f9e3e4e479ee74280efb86d752dd1fce038ef2def329fdcc10c1aa50942 DIST serde_json-1.0.115.crate 147100 BLAKE2B baa2dce9d85e331d1308f2ece9dbeff24bcc70e37be3f06c7e819ad9f4eb59fb1f00658736fd336a41a65e3616d1bf75a0c9adb359eb606e1418159a9455132f SHA512 d1a60e20af770fdfe0585853c87c5631e56944a3c1bbdf9e1e91003af8e924a8076335bd37563d167c760aad10d4c08fe59ebd47fc52e461bc3586b835808d22 +DIST serde_json-1.0.116.crate 146790 BLAKE2B 20492ac3c431fd3666599f079383a9d945549e02357127a58acaa7011684ef0caca221a253218402ceff6956ee8a20cc41ca3394b25bb69669be75ab22b66a1e SHA512 d383de754b0a50cc4ab3e6378b758ebd6178ad32ebed80cb4e32a9d8e81d0c689585ee5cd35f12b376e488d25ecfaca659be943c9bb4104b63a1c4f9ded2f337 DIST simdutf8-0.1.4.crate 28621 BLAKE2B 94ab48bc899e603acf3805dd45ae8489d565aa39ff79606e80a1731b59d11f429d71bb6c65becf3ceab123767f2d20612cb9f86410fd1aad00d0a796091ad045 SHA512 9f821035e147c035707910227b51e01d3f761ab8b578d95a86a776b2a4da01bc4d8ef28df7ea2c16ca125a2699d8903b826ad07a5937728e33dd58753ebd704c DIST smallvec-1.13.2.crate 35216 BLAKE2B 31a268aad595c06cdb078577a97b089dbea156a0df307a3e6aaaf4861bd9a680c5b11921da9dbdb1bcfe17d58c0cbede1ffe6bba3aef59b384fb1b9703c62d27 SHA512 a97c758b668e40ad9eb572e65feeae4954e09200a04ab92e26a13b48894381cd3a3d2571070c4b7a5e181182e1ede9688f990650342ec69ecfe1a264d234c679 DIST static_assertions-1.1.0.crate 18480 BLAKE2B 358dd5ac413d06f62da0388e2016c5fcb8ec68fd7dceb0dbbcb97665c032b7509b7e083c20701648b6a9174485f117c02682ae4bde7ef037e80a85cdf6a0c86e SHA512 46d0e35f77941dee6f60f574c130472248063dc38494c1c4f84f7c048244cc2a58a86fe17c0990e3f0f01406b75ed385a13d00058612b27cf0e867c8d31c92ee -DIST syn-2.0.55.crate 254901 BLAKE2B f48da9df7d80bc35ec7f88d2b73a29fc1f2daaf2b1e2120c8a145c730e99148ef7a41fde7466f3b12ce8f017b505341cf5109353a9aa2164827a724b775167bb SHA512 093414e1db32cf723161fdf213c6bc59aeda00c6867ca8cc28997822375bca07ec709e47324bdb936df87298e84da296fe15968811a0d74c978a1a90b89dbd3a DIST syn-2.0.59.crate 255393 BLAKE2B 872c6fdf55eef2f050c02fd054f383ede1793286e787f447d242a0436186e67151ce4f47a63c7ac8ab00a87d2fa9452ccc166a32cc7f1c1de2e0f2581c01d2ee SHA512 0e9e1529a0ce43afeec5e9847f8f4c86939ebb1fa0236d25aab73a9fc253b97ebc62f1c741e137a5a3173e2342b33d776a488210ccbdcd36177a1df31188afdc +DIST syn-2.0.60.crate 255808 BLAKE2B d7a8e415dd72267fd92da48ba8b3e6feb728f0639797db1aa74aeaa2a57935b7565eec37cbd32eec826154e2c54075b121737369eb15af36c322c34b3cfd7930 SHA512 20bfa02b03c193672a9922f9a5e196185341e082a262f7c00d7c2d467d9e2d77f4af3994634923cfaeee34aa9eab510415165f052ffd9b1ed0b1b581e272898d DIST target-lexicon-0.12.14.crate 25508 BLAKE2B 5ebb6b49e5c3b0057959557651287d4bf5ffe5b499340019ff64d5fc3b64e780e344982e358c94b1b25a20bf0f526a584aeecc704695b50a55cc268dd65edb97 SHA512 3410ecc0faf854f49c41c99f83972960e67065b1e0e78557a7c4996d996109bfd167d2121a019f5256f996c896cd45af032038ab7918fdcc6ee6311693ce951a DIST tiny-keccak-2.0.2.crate 20129 BLAKE2B 105a2d2af36cc053cd95721ea563108f33b8a3feb2ae84c75a04a65ed5d548dfe35d8b2e48977a82f725c0ebcf914f21157c547f4a74bb4d98c2e894385139be SHA512 c0219f23361eb07e0a68575c461a36b7286d9bdebae89080d9e259178d402b0c7762ccf33e65a16951ea168392322c44a24eb55189cf143e22d09d6dfc4acec1 DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 diff --git a/dev-python/orjson/orjson-3.10.1.ebuild b/dev-python/orjson/orjson-3.10.1.ebuild index e4a9be9dd6c9..03be60b91b13 100644 --- a/dev-python/orjson/orjson-3.10.1.ebuild +++ b/dev-python/orjson/orjson-3.10.1.ebuild @@ -71,7 +71,7 @@ LICENSE+=" || ( Apache-2.0 Boost-1.0 ) " SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" BDEPEND=" >=virtual/rust-1.72 diff --git a/dev-python/orjson/orjson-3.10.2.ebuild b/dev-python/orjson/orjson-3.10.2.ebuild new file mode 100644 index 000000000000..65dee6590f2a --- /dev/null +++ b/dev-python/orjson/orjson-3.10.2.ebuild @@ -0,0 +1,105 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{10..12} ) + +CRATES=" + ahash@0.8.11 + arrayvec@0.7.4 + associative-cache@2.0.0 + autocfg@1.2.0 + beef@0.5.2 + bytecount@0.6.7 + castaway@0.2.2 + cc@1.0.94 + cfg-if@1.0.0 + chrono@0.4.34 + compact_str@0.7.1 + const-random-macro@0.1.16 + const-random@0.1.18 + crunchy@0.2.2 + encoding_rs@0.8.34 + getrandom@0.2.14 + half@2.4.1 + itoa@1.0.11 + itoap@1.0.1 + libc@0.2.153 + no-panic@0.1.29 + num-traits@0.2.18 + once_cell@1.19.0 + proc-macro2@1.0.80 + pyo3-build-config@0.21.1 + pyo3-ffi@0.21.1 + quote@1.0.36 + rustversion@1.0.15 + ryu@1.0.17 + serde@1.0.197 + serde_derive@1.0.197 + serde_json@1.0.115 + simdutf8@0.1.4 + smallvec@1.13.2 + static_assertions@1.1.0 + syn@2.0.59 + target-lexicon@0.12.14 + tiny-keccak@2.0.2 + unicode-ident@1.0.12 + version_check@0.9.4 + wasi@0.11.0+wasi-snapshot-preview1 + zerocopy-derive@0.7.32 + zerocopy@0.7.32 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" +HOMEPAGE=" + https://github.com/ijl/orjson/ + https://pypi.org/project/orjson/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="|| ( Apache-2.0 MIT )" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions BSD CC0-1.0 MIT Unicode-DFS-2016 + || ( Apache-2.0 Boost-1.0 ) +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + >=virtual/rust-1.72 + test? ( + dev-python/arrow[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ' 'python3*') + ) +" + +QA_FLAGS_IGNORED=".*" + +distutils_enable_tests pytest + +src_prepare() { + # https://github.com/ijl/orjson/issues/480 + sed -e 's:numpy\.NINF:-numpy.inf:' \ + -e 's:numpy\.NZERO:-0.0:' \ + -e 's:numpy\.PZERO:0.0:' \ + -i test/test_numpy.py || die + + distutils-r1_src_prepare +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -s +} diff --git a/dev-python/orjson/orjson-3.10.0.ebuild b/dev-python/orjson/orjson-3.10.3.ebuild index 13eae816782d..2acf807af8f8 100644 --- a/dev-python/orjson/orjson-3.10.0.ebuild +++ b/dev-python/orjson/orjson-3.10.3.ebuild @@ -13,37 +13,37 @@ CRATES=" associative-cache@2.0.0 autocfg@1.2.0 beef@0.5.2 - bytecount@0.6.7 + bytecount@0.6.8 castaway@0.2.2 - cc@1.0.90 + cc@1.0.96 cfg-if@1.0.0 chrono@0.4.34 compact_str@0.7.1 const-random-macro@0.1.16 const-random@0.1.18 crunchy@0.2.2 - encoding_rs@0.8.33 - getrandom@0.2.12 - half@2.4.0 + encoding_rs@0.8.34 + getrandom@0.2.14 + half@2.4.1 itoa@1.0.11 itoap@1.0.1 - libc@0.2.153 + libc@0.2.154 no-panic@0.1.29 num-traits@0.2.18 once_cell@1.19.0 - proc-macro2@1.0.79 - pyo3-build-config@0.21.0 - pyo3-ffi@0.21.0 - quote@1.0.35 - rustversion@1.0.14 + proc-macro2@1.0.81 + pyo3-build-config@0.21.2 + pyo3-ffi@0.21.2 + quote@1.0.36 + rustversion@1.0.15 ryu@1.0.17 - serde@1.0.197 - serde_derive@1.0.197 - serde_json@1.0.115 + serde@1.0.200 + serde_derive@1.0.200 + serde_json@1.0.116 simdutf8@0.1.4 smallvec@1.13.2 static_assertions@1.1.0 - syn@2.0.55 + syn@2.0.60 target-lexicon@0.12.14 tiny-keccak@2.0.2 unicode-ident@1.0.12 @@ -71,7 +71,7 @@ LICENSE+=" || ( Apache-2.0 Boost-1.0 ) " SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" BDEPEND=" >=virtual/rust-1.72 diff --git a/dev-python/oslo-log/Manifest b/dev-python/oslo-log/Manifest index d45d2d59912c..2a81363ab1d2 100644 --- a/dev-python/oslo-log/Manifest +++ b/dev-python/oslo-log/Manifest @@ -1,2 +1 @@ -DIST oslo.log-5.5.0.tar.gz 96856 BLAKE2B d5ce4c61f440738b2aa36a37f2543b7dc98a472ef3f990c4140dadedffd68a090040bdd4e566fb9d49bb092287d984a9539aa1453217d37eb9335f180b11b243 SHA512 ae7743eaade66cdf9e464360d6a7f643a4bf769b2562057a9c5941b5257abe16e7028409768925af7154075441686a5d3ca5bc8dfa5fa361e08508188291383f DIST oslo.log-5.5.1.tar.gz 96952 BLAKE2B e36734c6b31f3773955085098898172b6936d9ed6dd7635a2ae026b615d36ee4da0cf8921aacc8b2cc16e0818b003b31718e95d0d539b266bc013df034c8a376 SHA512 c32cd84922b8a8976f6c79f97ccb8bba4dc68be17933ee4f35ca3abc923f807e8b3ae003ae83528d322642884dd16a9d788b57d478f4a0efcde12551b7b166cf diff --git a/dev-python/oslo-log/oslo-log-5.5.0.ebuild b/dev-python/oslo-log/oslo-log-5.5.0.ebuild deleted file mode 100644 index e63de4665b79..000000000000 --- a/dev-python/oslo-log/oslo-log-5.5.0.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="OpenStack logging config library, configuration for all openstack projects" -HOMEPAGE=" - https://opendev.org/openstack/oslo.log/ - https://github.com/openstack/oslo.log/ - https://pypi.org/project/oslo.log/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] - >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] - >=dev-python/oslo-context-2.20.0[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-3.20.0[${PYTHON_USEDEP}] - >=dev-python/oslo-utils-3.36.0[${PYTHON_USEDEP}] - >=dev-python/oslo-serialization-1.25.0[${PYTHON_USEDEP}] - >=dev-python/debtcollector-1.19.0[${PYTHON_USEDEP}] - >=dev-python/pyinotify-0.9.6[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] - test? ( - >=dev-python/testtools-2.3.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-3.3.0[${PYTHON_USEDEP}] - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx doc/source \ - dev-python/openstackdocstheme \ - dev-python/oslo-config - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local EPYTEST_IGNORE=( - # requires eventlet - oslo_log/tests/unit/test_pipe_mutex.py - ) - local EPYTEST_DESELECT=( - # messed up with pytest - oslo_log/tests/unit/fixture/test_logging_error.py::TestLoggingFixture::test_logging_handle_error - ) - - case ${EPYTHON} in - python3.1[12]) - # upstream is... *sigh* - EPYTEST_DESELECT+=( - oslo_log/tests/unit/test_log.py::LogConfigTestCase::test_log_config_append_invalid - ) - esac - - epytest -} diff --git a/dev-python/oslo-log/oslo-log-5.5.1.ebuild b/dev-python/oslo-log/oslo-log-5.5.1.ebuild index 7c7528ab7cd8..0c210c595a11 100644 --- a/dev-python/oslo-log/oslo-log-5.5.1.ebuild +++ b/dev-python/oslo-log/oslo-log-5.5.1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] diff --git a/dev-python/oslo-utils/oslo-utils-7.1.0-r1.ebuild b/dev-python/oslo-utils/oslo-utils-7.1.0-r1.ebuild index 60d0877fcfcc..e0bcbcbca98b 100644 --- a/dev-python/oslo-utils/oslo-utils-7.1.0-r1.ebuild +++ b/dev-python/oslo-utils/oslo-utils-7.1.0-r1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] diff --git a/dev-python/oslo-utils/oslo-utils-7.1.0.ebuild b/dev-python/oslo-utils/oslo-utils-7.1.0.ebuild deleted file mode 100644 index f9e606e99301..000000000000 --- a/dev-python/oslo-utils/oslo-utils-7.1.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Oslo Utility library" -HOMEPAGE=" - https://opendev.org/openstack/oslo.utils/ - https://github.com/openstack/oslo.utils/ - https://pypi.org/project/oslo.utils/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] - <dev-python/netaddr-1[${PYTHON_USEDEP}] - >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] - >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] - >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] - >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] - >=dev-python/packaging-20.4[${PYTHON_USEDEP}] - >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] - dev-python/tzdata[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pbr-2.2.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] - >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}"/install -name '*eventletutils*' -delete || die -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - eunittest -} diff --git a/dev-python/outcome/outcome-1.3.0_p0.ebuild b/dev-python/outcome/outcome-1.3.0_p0.ebuild index 49f02152543c..0f30e8f237e2 100644 --- a/dev-python/outcome/outcome-1.3.0_p0.ebuild +++ b/dev-python/outcome/outcome-1.3.0_p0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/ovs/Manifest b/dev-python/ovs/Manifest index 4eb688975582..96b79e70915a 100644 --- a/dev-python/ovs/Manifest +++ b/dev-python/ovs/Manifest @@ -1 +1,2 @@ DIST ovs-2.17.1.post1.tar.gz 104766 BLAKE2B e1cb471f7f3f3b8461292c79ee5318a36d70c2ee55947bfa0274277e36514d20ad9293cb8c602e0b2c82a590397869fe51f52ee2579255bb8163014d58dccaf7 SHA512 772e7b4768f1e7fe1f2be700a0eb6bc539459e4c70432c45e7f7877b060f4c845eaa5a974f2b2264af621f5f43b97da30a9fe344a53904ec0008393689e6b895 +DIST ovs-2.17.9.tar.gz 110350 BLAKE2B 68f6fb154c830877fa404a24e5283e17cbb9e9d0c138e26da897835741457bab53be99754959eb01bdc8c5ea61a67327655ad6b1deba941b37ba4e86dab61375 SHA512 05ba60f585b576757bf0d2799dda2d17f0b4fd06bbdeaf4810c64f48c1a74dbc8bdba4348800fcb0c343415317104556cf4f2ab2dcabd9d438a0c31de1c45cd6 diff --git a/dev-python/ovs/ovs-2.17.9.ebuild b/dev-python/ovs/ovs-2.17.9.ebuild new file mode 100644 index 000000000000..fee35f8f7973 --- /dev/null +++ b/dev-python/ovs/ovs-2.17.9.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..12} ) +inherit distutils-r1 pypi + +DESCRIPTION="OVS bindings for python" +HOMEPAGE="https://github.com/openvswitch/ovs/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND="dev-python/sortedcontainers[${PYTHON_USEDEP}]" diff --git a/dev-python/owslib/Manifest b/dev-python/owslib/Manifest index 0d51b16988ee..352a761189f4 100644 --- a/dev-python/owslib/Manifest +++ b/dev-python/owslib/Manifest @@ -1 +1,2 @@ DIST OWSLib-0.30.0.gh.tar.gz 995826 BLAKE2B 58066b461794d424e646cd148f1c0379c22c17bee144611e4bda71c8410f2d4dbd172e5cad14ff1e33fc3e2a7293985c943eace6284d1830a2533abbe95ecf27 SHA512 2fdad8ac282d78181e2b7953f22db063f760c2f61682967c7d99ac8e12d62345168db978d9599a4093005f520968d4e97fc588f9a9b7d81a87894b08028d42d8 +DIST OWSLib-0.31.0.gh.tar.gz 1041697 BLAKE2B 0fd7e0aa95a07229e171bbf3924a9a7036aa0e201a28c8198fcdd4a462d75b90b0979ffda7d9e20ec30abc284b97362fd195cda67c772f3f96642f1ae89ff753 SHA512 005e6f753472675aef0bd0ead138e9bafce2df4e3530003d4159a2ecf610164487ddeb63cf1dfeb6cb4847c878eb40056ccc77116aac8be658fb322ad650f41d diff --git a/dev-python/owslib/owslib-0.31.0.ebuild b/dev-python/owslib/owslib-0.31.0.ebuild new file mode 100644 index 000000000000..0b765014cb71 --- /dev/null +++ b/dev-python/owslib/owslib-0.31.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +MY_P=OWSLib-${PV} +DESCRIPTION="Library for client programming with Open Geospatial Consortium web service" +HOMEPAGE=" + https://geopython.github.io/OWSLib/ + https://github.com/geopython/owslib/ + https://pypi.org/project/OWSLib/ +" +SRC_URI=" + https://github.com/geopython/${PN}/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pillow[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest -o addopts= -m "not online" +} diff --git a/dev-python/packaging/packaging-24.0.ebuild b/dev-python/packaging/packaging-24.0.ebuild index 9b8b880fe358..cf4d60443386 100644 --- a/dev-python/packaging/packaging-24.0.ebuild +++ b/dev-python/packaging/packaging-24.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/paho-mqtt/Manifest b/dev-python/paho-mqtt/Manifest index a489180c42c3..1a4adc2a1081 100644 --- a/dev-python/paho-mqtt/Manifest +++ b/dev-python/paho-mqtt/Manifest @@ -1,2 +1,2 @@ DIST paho-mqtt-1.6.1.gh.tar.gz 145673 BLAKE2B fb583a2505892370737edfc9ad06b195c0feda4fd87794f3aa40fb30679b5710e04483e610a6be9c0e0978084f3ca96c0d285cf8cacb2bf67aca605f1d53ed7c SHA512 8a13c1f6f97138728d5cab6f7bcd6474942fdf9dfc18d1fad723d50de81f4e062953b5bef2ebbde27b08e480eed305ecbfeae467d70eb10f07ec0adca11750ec -DIST paho.mqtt.python-2.0.0.gh.tar.gz 166275 BLAKE2B bb4fe07f86f18313417745b9e5d7123481e4d325a66378e01b5106a9af4bb09ec925bdf0e8c860735465dffecc58d9428a7e1acbbfd0b82402947a4b32264060 SHA512 1a0e1cf9ac4f4088c6c41c140b7cbf91ae9c6b73bc47253df26a37796a65c3e27ada2ad202c19b09e76ba4cbfbf2b44ac41ffe0d8429a8a53529dab043f2a2c8 +DIST paho.mqtt.python-2.1.0.gh.tar.gz 167548 BLAKE2B 71127e4187746fc81e5dfd667178ad3f2bf8cc8fc2c803ee91afd54b9a30432394c53bda8751345aad8739c019081e5f1937bfcee1c91ef1849d12490739ab67 SHA512 50e7222de62d49975e6d34136357df6e95c34034768f06e7f1d39fac280aecfb366da134f8349e7e3f358f69840ee4707ba7567955bd70bb78c737ff3959e7f3 diff --git a/dev-python/paho-mqtt/paho-mqtt-2.0.0.ebuild b/dev-python/paho-mqtt/paho-mqtt-2.1.0.ebuild index de07f8232db2..0a6094d81ecf 100644 --- a/dev-python/paho-mqtt/paho-mqtt-2.0.0.ebuild +++ b/dev-python/paho-mqtt/paho-mqtt-2.1.0.ebuild @@ -4,14 +4,14 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 MY_P="paho.mqtt.python-${PV}" DESCRIPTION="MQTT version 5.0/3.1.1 client class" HOMEPAGE=" - https://www.eclipse.org/paho/index.php?page=clients/python/ + https://eclipse.dev/paho/index.php?page=clients/python/ https://github.com/eclipse/paho.mqtt.python/ https://pypi.org/project/paho-mqtt/ " @@ -23,6 +23,6 @@ S=${WORKDIR}/${MY_P} LICENSE="EPL-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" distutils_enable_tests pytest diff --git a/dev-python/pallets-sphinx-themes/Manifest b/dev-python/pallets-sphinx-themes/Manifest index 4fa85d2c6764..6510d5d7086a 100644 --- a/dev-python/pallets-sphinx-themes/Manifest +++ b/dev-python/pallets-sphinx-themes/Manifest @@ -1 +1 @@ -DIST Pallets-Sphinx-Themes-2.1.1.tar.gz 21776 BLAKE2B e43137bc6e545f0fc4977a4c724f739fdcfc234f0100b31f27c00f6abbc8cc7f7cc93b8beb9df0e576e6f4a65f52494685ecebf2db5362dc6ad7c9ad23552e11 SHA512 959e63970a3787ae58dc8418813ae490f3979cad4945d897594bcdca3bf15abde6d17364916a3a4d7f9803720d2b5dfee5adaad1d918f520b9954ccc5da136ec +DIST pallets_sphinx_themes-2.1.3.tar.gz 20124 BLAKE2B c66fac3aa625812c48aceee75a8296d272a1c5819463b41c2892aeefef4633da1d74c781b1669dbe87aa7af302169469fb04b7cc0492970156efcc53271e8c0f SHA512 2b11d05af4023b54b6bb3f1edda509648458542b9ff255b709cc01797551755d80851612259f460e3d17e4a3b5da0833e12c15bf5df11b38641c4d34007dc12e diff --git a/dev-python/pallets-sphinx-themes/pallets-sphinx-themes-2.1.1.ebuild b/dev-python/pallets-sphinx-themes/pallets-sphinx-themes-2.1.3.ebuild index 9e9cac8fde83..fc787fbb1408 100644 --- a/dev-python/pallets-sphinx-themes/pallets-sphinx-themes-2.1.1.ebuild +++ b/dev-python/pallets-sphinx-themes/pallets-sphinx-themes-2.1.3.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 +DISTUTILS_USE_PEP517=flit PYPI_PN=Pallets-Sphinx-Themes PYTHON_COMPAT=( python3_{10..12} pypy3 ) diff --git a/dev-python/pandas/files/pandas-2.1.1-which.patch b/dev-python/pandas/files/pandas-2.1.1-which.patch deleted file mode 100644 index 424c10af82ae..000000000000 --- a/dev-python/pandas/files/pandas-2.1.1-which.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/pandas/io/clipboard/__init__.py b/pandas/io/clipboard/__init__.py -index c07f51d875..14d79fb367 100644 ---- a/pandas/io/clipboard/__init__.py -+++ b/pandas/io/clipboard/__init__.py -@@ -87,6 +87,7 @@ else: - - - def _executable_exists(name): -+ return which(name) - return ( - subprocess.call( - [WHICH_CMD, name], stdout=subprocess.PIPE, stderr=subprocess.PIPE diff --git a/dev-python/pandas/files/pandas-2.1.4-khash-dep.patch b/dev-python/pandas/files/pandas-2.1.4-khash-dep.patch deleted file mode 100644 index f8bbff5fed37..000000000000 --- a/dev-python/pandas/files/pandas-2.1.4-khash-dep.patch +++ /dev/null @@ -1,45 +0,0 @@ -From e31a6865958442435ae9b31f312129c44f66eb5e Mon Sep 17 00:00:00 2001 -From: Ville Aikas <11279988+vaikas@users.noreply.github.com> -Date: Mon, 6 Nov 2023 09:24:40 -0800 -Subject: [PATCH] Add missing dependencies for: _khash_primitive_helper - (#55795) - -* Add missing dependencies for: _khash_primitive_helper - -Signed-off-by: Ville Aikas <vaikas@chainguard.dev> - -* source->dep change. - -Signed-off-by: Ville Aikas <vaikas@chainguard.dev> - -* Remove dep from arrays. - -Signed-off-by: Ville Aikas <vaikas@chainguard.dev> - ---------- - -Signed-off-by: Ville Aikas <vaikas@chainguard.dev> ---- - pandas/_libs/meson.build | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/pandas/_libs/meson.build b/pandas/_libs/meson.build -index b4662d6bf8dd2..c27386743c6e9 100644 ---- a/pandas/_libs/meson.build -+++ b/pandas/_libs/meson.build -@@ -61,12 +61,12 @@ subdir('tslibs') - libs_sources = { - # Dict of extension name -> dict of {sources, include_dirs, and deps} - # numpy include dir is implicitly included -- 'algos': {'sources': ['algos.pyx', _algos_common_helper, _algos_take_helper, _khash_primitive_helper]}, -+ 'algos': {'sources': ['algos.pyx', _algos_common_helper, _algos_take_helper], 'deps': _khash_primitive_helper_dep}, - 'arrays': {'sources': ['arrays.pyx']}, - 'groupby': {'sources': ['groupby.pyx']}, - 'hashing': {'sources': ['hashing.pyx']}, -- 'hashtable': {'sources': ['hashtable.pyx', _khash_primitive_helper, _hashtable_class_helper, _hashtable_func_helper]}, -- 'index': {'sources': ['index.pyx', _index_class_helper]}, -+ 'hashtable': {'sources': ['hashtable.pyx', _hashtable_class_helper, _hashtable_func_helper], 'deps': _khash_primitive_helper_dep}, -+ 'index': {'sources': ['index.pyx', _index_class_helper], 'deps': _khash_primitive_helper_dep}, - 'indexing': {'sources': ['indexing.pyx']}, - 'internals': {'sources': ['internals.pyx']}, - 'interval': {'sources': ['interval.pyx', _intervaltree_helper], diff --git a/dev-python/pandas/pandas-2.2.2.ebuild b/dev-python/pandas/pandas-2.2.2.ebuild index cadc42ab07aa..03fd67dd8c6b 100644 --- a/dev-python/pandas/pandas-2.2.2.ebuild +++ b/dev-python/pandas/pandas-2.2.2.ebuild @@ -21,7 +21,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~riscv ~s390 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~riscv ~s390 x86" IUSE="full-support minimal test X" RESTRICT="!test? ( test )" diff --git a/dev-python/parse/parse-1.20.1.ebuild b/dev-python/parse/parse-1.20.1.ebuild index 42c012f60a6f..3848625e961a 100644 --- a/dev-python/parse/parse-1.20.1.ebuild +++ b/dev-python/parse/parse-1.20.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi DESCRIPTION="Parse strings using a specification based on the Python format() syntax" diff --git a/dev-python/parse_type/parse_type-0.6.2.ebuild b/dev-python/parse_type/parse_type-0.6.2.ebuild index 193a7f863880..f54fa6807930 100644 --- a/dev-python/parse_type/parse_type-0.6.2.ebuild +++ b/dev-python/parse_type/parse_type-0.6.2.ebuild @@ -1,10 +1,10 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi DESCRIPTION="Extension to the parse module" @@ -16,7 +16,8 @@ KEYWORDS="amd64 arm64 ~x86" RDEPEND=" dev-python/parse[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}]" + dev-python/six[${PYTHON_USEDEP}] +" distutils_enable_tests pytest diff --git a/dev-python/parso/Manifest b/dev-python/parso/Manifest index 793c61e38836..51f54440372b 100644 --- a/dev-python/parso/Manifest +++ b/dev-python/parso/Manifest @@ -1,2 +1 @@ -DIST parso-0.8.3.gh.tar.gz 397648 BLAKE2B 8942408e27198075c92ef51f7a191cc7781eb3a5110119b91fd95f86e13ebe2fbfee11022a2bfec794150f60b3af8c4d5f324cb011703cd581c17f92232ae5bf SHA512 7874460053662d40c2cfcf0015e330e1c8201eeb07682e2079a636db553a82dc25b70b14ad0f0c82fb817f655359d695101a17f616abf9a39f49c61ae5fd49b1 DIST parso-0.8.4.gh.tar.gz 398241 BLAKE2B 5a8a81f64b20b52cd3349b7bc059621733debfaf5cc271f3e89423d63e4af67391f7740c34b450b2a91fafe34b8986926e8f7c4ca0b8600eafd0171c01e664b0 SHA512 da96f0ab6cfbcf2a54ee73262a672bb4d9720aa91fd884a8c17165d597eece97569b7ee87fd7ea1c0be663c0cb2930a66a03b4e305070f59f346485817607db3 diff --git a/dev-python/parso/parso-0.8.3-r1.ebuild b/dev-python/parso/parso-0.8.3-r1.ebuild deleted file mode 100644 index 1e3d469f7c67..000000000000 --- a/dev-python/parso/parso-0.8.3-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A python parser that supports error recovery and round-trip parsing" -HOMEPAGE=" - https://github.com/davidhalter/parso/ - https://pypi.org/project/parso/ -" -SRC_URI=" - https://github.com/davidhalter/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" - -distutils_enable_sphinx docs -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # py3.10 changed exception messages - test/test_python_errors.py::test_python_exception_matches - # With python3.11 this additional file is run by pytest, - # but it is not actually a test and thus fails - parso/python/token.py::parso.python.token.PythonTokenTypes -) diff --git a/dev-python/parso/parso-0.8.4.ebuild b/dev-python/parso/parso-0.8.4.ebuild index 8418e5c05160..2f535075cb4c 100644 --- a/dev-python/parso/parso-0.8.4.ebuild +++ b/dev-python/parso/parso-0.8.4.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" distutils_enable_sphinx docs distutils_enable_tests pytest diff --git a/dev-python/partd/Manifest b/dev-python/partd/Manifest index 92e97254035f..32122a5f64a4 100644 --- a/dev-python/partd/Manifest +++ b/dev-python/partd/Manifest @@ -1 +1,2 @@ DIST partd-1.4.1.tar.gz 36272 BLAKE2B 032f30988468d68b5b8a18ceeb28f75c6807bae8ec57a88c50beb1c4ed2f99721d5f50e1002cf74376867f54f5c5dbdaf823b999f8680766f13e8f5f9df74801 SHA512 0bf285a33731d3c000e6c2c1958cda0df21c3a2be31694ac31ce0cc45aa2b31b8631f962c25b9ecac3831474abb5872748bd3348f99e13faadee467a1f164492 +DIST partd-1.4.2.tar.gz 21029 BLAKE2B 47f4129beb7062415f6b7af8b1ad88faa299692abd6691bbb5ae56c991685d3c7ae7cab809c3ea67e90fc054c6018e1ed36ef0cb5be3c755eca06f1bc90fcfbc SHA512 ae7af568ea5c2c6127ea01bcb2a6703305f126414ecce8c648a14d39fd8dac987f6356011b6a61a1b1441f14a189a098bf9fe35f978a5794959e5da409668d2b diff --git a/dev-python/partd/partd-1.4.2.ebuild b/dev-python/partd/partd-1.4.2.ebuild new file mode 100644 index 000000000000..8ee284590257 --- /dev/null +++ b/dev-python/partd/partd-1.4.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Appendable key-value storage" +HOMEPAGE=" + https://github.com/dask/partd/ + https://pypi.org/project/partd/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/locket[${PYTHON_USEDEP}] + dev-python/toolz[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/versioneer-0.20[${PYTHON_USEDEP}] + test? ( + dev-python/blosc[${PYTHON_USEDEP}] + >=dev-python/numpy-1.20.0[${PYTHON_USEDEP}] + >=dev-python/pandas-1.3[${PYTHON_USEDEP}] + dev-python/pyzmq[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/passlib/passlib-1.7.4-r2.ebuild b/dev-python/passlib/passlib-1.7.4-r3.ebuild index 708ef7f23b53..981e5c61a393 100644 --- a/dev-python/passlib/passlib-1.7.4-r2.ebuild +++ b/dev-python/passlib/passlib-1.7.4-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,8 +15,8 @@ HOMEPAGE=" " LICENSE="BSD-2" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="doc test-rust" BDEPEND=" @@ -30,6 +30,14 @@ BDEPEND=" distutils_enable_tests pytest +src_prepare() { + # fix compatibility with >=dev-python/bcrypt-4.1 + # https://foss.heptapod.net/python-libs/passlib/-/issues/190 + sed -i -e '/bcrypt/s:__about__\.::' passlib/handlers/bcrypt.py || die + + distutils-r1_src_prepare +} + python_test() { local EPYTEST_DESELECT=( # broken all the time by new django releases diff --git a/dev-python/paste/Manifest b/dev-python/paste/Manifest index 44424ddb6a0d..e37887255dd1 100644 --- a/dev-python/paste/Manifest +++ b/dev-python/paste/Manifest @@ -1,2 +1 @@ -DIST Paste-3.8.0.tar.gz 636922 BLAKE2B 4952eb6a8c59d0ed653ba9b74cb55fbf0c5a32fa298fc2e6a8c7beb10c4f0a35a82b9e30ca7bf8612f6ae4f4e6e4124974b49ee8f268fc95d15f8f619e3e8222 SHA512 88e21b3a00f7f871292d4c098b1e8c1c5331c9e28a297ca37a40551d11a2f086e6ddedb6ba1a9ec92b9d20c6584703e6ed1e84d236fcaf0378b15729360c52bd -DIST Paste-3.9.0.tar.gz 637286 BLAKE2B 8bb21f2f6d46750dfff8d9e6377141ea1bcf12848e070138be76823d4dd2bd6be510e420f6568cdab631ab627d45ef93be9815141c6ce31544c4ed38487875e8 SHA512 a9099b89e17f597e853d82cc5d99aaf84fa71ee25e92a382a47a482982800a7e766d8389530ef2a7ad145771ebbabdb1ae5d8370d9cd30121b94e18bcaef3f81 +DIST paste-3.10.1.tar.gz 652629 BLAKE2B a5589027838cbea6f90f919b94edaaba2f26b827cbf911247ec833fa34a5089ffacbc13f8e5369a80e234506e3450818362f1c63cb76e7cf2f619f922f1a965c SHA512 3d224fc017f8354a4737c83d3dcddd0dfa8baaa80a86f843e817ccba295b8e04d16bb10594f17f010da204a0854cf9d57c03a09d0dacb0e7af305a9b0f86422f diff --git a/dev-python/paste/metadata.xml b/dev-python/paste/metadata.xml index e218c42fdc4b..a16d4c84e24a 100644 --- a/dev-python/paste/metadata.xml +++ b/dev-python/paste/metadata.xml @@ -11,7 +11,7 @@ those interfaces.</longdescription> <stabilize-allarches/> <upstream> - <remote-id type="github">cdent/paste</remote-id> + <remote-id type="github">pasteorg/paste</remote-id> <remote-id type="pypi">Paste</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/paste/paste-3.9.0.ebuild b/dev-python/paste/paste-3.10.1.ebuild index 3a332f892652..353c1cfdd8bd 100644 --- a/dev-python/paste/paste-3.9.0.ebuild +++ b/dev-python/paste/paste-3.10.1.ebuild @@ -4,7 +4,6 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 PYPI_PN=${PN^} PYTHON_COMPAT=( python3_{10..12} pypy3 ) @@ -13,13 +12,13 @@ inherit distutils-r1 pypi DESCRIPTION="Tools for using a Web Server Gateway Interface stack" HOMEPAGE=" https://pythonpaste.readthedocs.io/en/latest/ - https://github.com/cdent/paste/ + https://github.com/pasteorg/paste/ https://pypi.org/project/Paste/ " LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" distutils_enable_tests pytest distutils_enable_sphinx docs diff --git a/dev-python/paste/paste-3.8.0.ebuild b/dev-python/paste/paste-3.8.0.ebuild deleted file mode 100644 index fba172447066..000000000000 --- a/dev-python/paste/paste-3.8.0.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN^} -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Tools for using a Web Server Gateway Interface stack" -HOMEPAGE=" - https://pythonpaste.readthedocs.io/en/latest/ - https://github.com/cdent/paste/ - https://pypi.org/project/Paste/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" - -RDEPEND=" - >=dev-python/six-1.4.0[${PYTHON_USEDEP}] - !dev-python/namespace-paste -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} - -python_test() { - local EPYTEST_DESELECT=( - # Internet - tests/test_proxy.py - ) - - [[ ${EPYTHON} == python3.1[12] ]] && EPYTEST_DESELECT+=( - # fails due to cgi deprecation warning - tests/test_cgiapp.py::test_form - ) - - epytest -} diff --git a/dev-python/path/Manifest b/dev-python/path/Manifest index bff44a55f1a0..222189638047 100644 --- a/dev-python/path/Manifest +++ b/dev-python/path/Manifest @@ -1,4 +1 @@ -DIST path-16.10.0.tar.gz 49271 BLAKE2B 36762e0b50d74b07db14ca01c6d94577f24b36c007eda58de4b63197cd91f869efbdc5ac1ceb270f1fc5e5a07c4c87f6cabd10cbac5fac74681f73451a3f73e1 SHA512 a5dfa964f5ffd4c2aa27733716b67437f02fd6dedc8c574bb87a9a3ac64eb60d27c3a05217aa4859293ebd96bdd17cdb1a04ea21c6ad35b7b22f05725826c057 -DIST path-16.10.2.tar.gz 49415 BLAKE2B 3784b557bc31b17523a0fe37ebc646f932edd2427c6cae6d3544db29a689026b1e828d0d105234af10787f494ff1afce95e7935a36f01477a9434ce8994113d9 SHA512 df698a44b7c3f0b0dac1f5a3668c3a76f0b473921696bba2e4a66d4b7c7379bcda5938a9800a628dbaa487b6a35920266edee13ea829ee0f4cabb3ec1c30dca1 -DIST path-16.12.1.tar.gz 49685 BLAKE2B 2e2fca5db8ed82764686f4cb9a3de0ce18ce92e6e70999ffd93f13638a061cb2b3624d96f91740cba3efc9fcb8d80c37b55ab9595138e90764093901ab05c111 SHA512 144710438a0ed6f433094f9c27c0f9a3de02e6ee3fad337092a3b8d3c969746f330d4380924ba2ef17f99dc2757cde47115e392f6ee393bcd9f650e0f214d145 DIST path-16.14.0.tar.gz 50076 BLAKE2B 0046501fc05e65a211360e84cd30e312c6b1a18d482a36b8451d338cd8c87749254fc31dbe497ec55d55880dab0eae3b88ce412b2058454c0c1ad01cb180d522 SHA512 1b35bf06413d3f5da5fd818b2327458ef92a3bcb7e0d8108e4db113e3819f3723384650f7f9e889862bfcd2bc761f2be46932d11023f5a1dcda6bb4c51074ec0 diff --git a/dev-python/path/path-16.10.0.ebuild b/dev-python/path/path-16.10.0.ebuild deleted file mode 100644 index 09894ede6758..000000000000 --- a/dev-python/path/path-16.10.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="A module wrapper for os.path" -HOMEPAGE=" - https://github.com/jaraco/path/ - https://pypi.org/project/path/ -" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" - -RDEPEND=" - dev-python/appdirs[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/more-itertools[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # unreliable, not really meaningful for end users - test_path.py::TestPerformance -) diff --git a/dev-python/path/path-16.10.2.ebuild b/dev-python/path/path-16.10.2.ebuild deleted file mode 100644 index 5346cd3c6d67..000000000000 --- a/dev-python/path/path-16.10.2.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="A module wrapper for os.path" -HOMEPAGE=" - https://github.com/jaraco/path/ - https://pypi.org/project/path/ -" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" - -RDEPEND=" - dev-python/appdirs[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/more-itertools[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # unreliable, not really meaningful for end users - test_path.py::TestPerformance -) diff --git a/dev-python/path/path-16.12.1.ebuild b/dev-python/path/path-16.12.1.ebuild deleted file mode 100644 index 5346cd3c6d67..000000000000 --- a/dev-python/path/path-16.12.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="A module wrapper for os.path" -HOMEPAGE=" - https://github.com/jaraco/path/ - https://pypi.org/project/path/ -" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" - -RDEPEND=" - dev-python/appdirs[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/more-itertools[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # unreliable, not really meaningful for end users - test_path.py::TestPerformance -) diff --git a/dev-python/path/path-16.14.0.ebuild b/dev-python/path/path-16.14.0.ebuild index 5bb399e2402a..7b8b21fb918e 100644 --- a/dev-python/path/path-16.14.0.ebuild +++ b/dev-python/path/path-16.14.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" RDEPEND=" dev-python/appdirs[${PYTHON_USEDEP}] diff --git a/dev-python/pathspec/pathspec-0.12.1.ebuild b/dev-python/pathspec/pathspec-0.12.1.ebuild index 11a34a2daf73..6d8492c5d961 100644 --- a/dev-python/pathspec/pathspec-0.12.1.ebuild +++ b/dev-python/pathspec/pathspec-0.12.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# 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..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/patiencediff/Manifest b/dev-python/patiencediff/Manifest index c2391999b8ed..0a49cedf738d 100644 --- a/dev-python/patiencediff/Manifest +++ b/dev-python/patiencediff/Manifest @@ -1 +1,2 @@ DIST patiencediff-0.2.14.tar.gz 29258 BLAKE2B 1b7aee1053d08bb5a3e40f62ef39d1f8fe38635a1b5303b33f67df1b8d63a311e3c6523fc5c40f7457c7213db18daa5e839f120fc09e8e1fb2c7524462165a07 SHA512 624db38a072906557a430555d52f914030d1933237cedda76804faafe26d1ff2ad4a569ec90ad887162e48a57078a1accc19e2f417ab095f5b6435912d280998 +DIST patiencediff-0.2.15.tar.gz 27483 BLAKE2B 34b2303be6c65975d9e2f93b089853883db91d7b0570784814e25f74a964427757ad0342db40c8ed02310e0243e51e42edeb1c2787377feff3280c3bd8c5ca80 SHA512 d0cecf461075e3965db16624978b260660bd3444e83fc6121d3efebb96d31b323b7b61fc9e65a4a0098a95284a342a2f321b92f2073c0264cdb1f4b05771938d diff --git a/dev-python/patiencediff/patiencediff-0.2.15.ebuild b/dev-python/patiencediff/patiencediff-0.2.15.ebuild new file mode 100644 index 000000000000..fcd012081ca3 --- /dev/null +++ b/dev-python/patiencediff/patiencediff-0.2.15.ebuild @@ -0,0 +1,27 @@ +# Copyright 2021-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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python implementation of the patiencediff algorithm" +HOMEPAGE=" + https://github.com/breezy-team/patiencediff/ + https://pypi.org/project/patiencediff/ +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +distutils_enable_tests unittest + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + eunittest +} diff --git a/dev-python/pbs-installer/pbs-installer-2024.4.1.ebuild b/dev-python/pbs-installer/pbs-installer-2024.4.1.ebuild index dfe012214833..e3c155d53c64 100644 --- a/dev-python/pbs-installer/pbs-installer-2024.4.1.ebuild +++ b/dev-python/pbs-installer/pbs-installer-2024.4.1.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/frostming/${PN}/archive/refs/tags/${PV}.tar.gz -> ${ LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" BDEPEND=" dev-python/zstandard[${PYTHON_USEDEP}] diff --git a/dev-python/pdm-backend/Manifest b/dev-python/pdm-backend/Manifest index 5bcdd73ed2a5..7336afbba102 100644 --- a/dev-python/pdm-backend/Manifest +++ b/dev-python/pdm-backend/Manifest @@ -1,2 +1,4 @@ DIST pdm-backend-2.1.8.gh.tar.gz 134738 BLAKE2B 5baf6db7193f27de5aa89e41852c714de7d2aa7fd9f75de9b1f1ebd455052bc9d9d47d95dbbed3436e9e9dae79c9a1d0ec54d71a4437036869de38aa035f0642 SHA512 975dad24d128a01b5484f62aece3b209eb3dddf3800c75e422ed1dd0d4cbe15ce60a155d6ed0cec4104eef47cad822e56a2379c877e3f5c8c719dfa86d8800c7 DIST pdm-backend-2.2.0.gh.tar.gz 135965 BLAKE2B 7e4bfd68fb882caf91c0d7fe4164de9cb37b31ca158b25398a9c129edae42ad8a8ee811fd6819bda861b1412a44ea6c88b2b806b92b2a7bfaf531e947461be58 SHA512 8126b15852c25c27a70f6c39f9067b8617226648578f270c08f8030c2a9c181eb1a9162e17dc9d57a90268c2aad3f02120eb47bc8df674de1060e9de30a05e12 +DIST pdm-backend-2.2.1.gh.tar.gz 136401 BLAKE2B 4d761a689f8e3ff5e5cb300d4a2aa76a3ebd7663e0fa34a5d4a1b7ad26ada07e2d8c128b66549cafaa2d86f714db20b925dd4081226c87ecb8e09c4ee7f1c6dd SHA512 f10048492e33fcf68b94cd24e4e5091b54adb7a848dbf2160b5a8a88e3aac2af8c15a421e4dda8ed14eb9d8e4d6830c5aaace3ec67038786f11d2c37f51ae607 +DIST pdm-backend-2.3.0.gh.tar.gz 134657 BLAKE2B 346011ed97111e54c9cd063e216aa5943e6dd5ac1e531ceed225bf07420d07131aca0d6c23d24c0ba11e2e4a8c581b8c1cb1c8b7efa9c7a030d48ba982264dce SHA512 0169b97b662a0520c9810d566b74b6ef378db083954064ee37e8ed8cc40375a556500c307cebb9e269c3192b9f9b8659f575f0d24d67f970b3797e2354b53d54 diff --git a/dev-python/pdm-backend/pdm-backend-2.2.1.ebuild b/dev-python/pdm-backend/pdm-backend-2.2.1.ebuild new file mode 100644 index 000000000000..2db5970ac2fe --- /dev/null +++ b/dev-python/pdm-backend/pdm-backend-2.2.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata" +HOMEPAGE=" + https://pypi.org/project/pdm-backend/ + https://github.com/pdm-project/pdm-backend/ +" +SRC_URI=" + https://github.com/pdm-project/pdm-backend/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" + +# see src/pdm/backend/_vendor/vendor.txt +RDEPEND=" + >=dev-python/packaging-24.0[${PYTHON_USEDEP}] + >=dev-python/pyproject-metadata-0.8.0[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/setuptools[${PYTHON_USEDEP}] + dev-vcs/git + ) +" +# setuptools are used to build C extensions +RDEPEND+=" + dev-python/setuptools[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + rm -r src/pdm/backend/_vendor || die + find -name '*.py' -exec sed \ + -e 's:from pdm\.backend\._vendor\.:from :' \ + -e 's:from pdm\.backend\._vendor ::' \ + -e 's:import pdm\.backend\._vendor\.:import :' \ + -i {} + || die + distutils-r1_src_prepare +} + +src_compile() { + # this must not be set during src_test() + local -x PDM_BUILD_SCM_VERSION=${PV} + distutils-r1_src_compile +} + +src_test() { + git config --global user.email "test@example.com" || die + git config --global user.name "Test User" || die + distutils-r1_src_test +} diff --git a/dev-python/pdm-backend/pdm-backend-2.3.0.ebuild b/dev-python/pdm-backend/pdm-backend-2.3.0.ebuild new file mode 100644 index 000000000000..d7b696ea47a3 --- /dev/null +++ b/dev-python/pdm-backend/pdm-backend-2.3.0.ebuild @@ -0,0 +1,82 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata" +HOMEPAGE=" + https://pypi.org/project/pdm-backend/ + https://github.com/pdm-project/pdm-backend/ +" +SRC_URI=" + https://github.com/pdm-project/pdm-backend/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# see src/pdm/backend/_vendor/vendor.txt +RDEPEND=" + >=dev-python/packaging-24.0[${PYTHON_USEDEP}] + >=dev-python/pyproject-metadata-0.8.0[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/setuptools[${PYTHON_USEDEP}] + dev-vcs/git + !s390? ( !sparc? ( + dev-vcs/mercurial + ) ) + ) +" +# setuptools are used to build C extensions +RDEPEND+=" + dev-python/setuptools[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + rm -r src/pdm/backend/_vendor || die + find -name '*.py' -exec sed \ + -e 's:from pdm\.backend\._vendor\.:from :' \ + -e 's:from pdm\.backend\._vendor ::' \ + -e 's:import pdm\.backend\._vendor\.:import :' \ + -i {} + || die + distutils-r1_src_prepare +} + +src_compile() { + # this must not be set during src_test() + local -x PDM_BUILD_SCM_VERSION=${PV} + distutils-r1_src_compile +} + +src_test() { + git config --global user.email "test@example.com" || die + git config --global user.name "Test User" || die + distutils-r1_src_test +} + +python_test() { + local args=() + if ! has_version dev-vcs/mercurial; then + args+=( -k "not [hg" ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest "${args[@]}" +} diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index 170c9a23073f..aae197e3b7eb 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1,3 +1,2 @@ -DIST pdm-2.12.4.tar.gz 2598160 BLAKE2B 9eecae679a577c9d6172a07ad633be8b840ac5d972ad0e468b368dabc716203d10c5f0c78e87b815aa30af3be37f6370bcb6623fc5d272a52b6c3e4490112455 SHA512 12cabaff90f962ac195a484ea2bafa8a5ec9debdaf90b59b81d28eee51f854b9ac6d894e22a16c5ad8b69740c5df6a6573942a82c4ea5482819e60bc903c8358 -DIST pdm-2.13.3.tar.gz 2609678 BLAKE2B 58eb9fda4bc30fc37ef43b38fa140252242c22a062c4ddef49e90c0ece102cb36ea2186b02fb995a895c6eb80c0da9e602c42c15e83158b3e19fa5d0f55e8d6a SHA512 ea4b0e51d13effe8749a95237799de304047dcec8efc22a41d0985c97ff39447065a9fc84f4510b18055527dd64695bcee4129abcf34221573b2b9d39c2a3c92 -DIST pdm-2.14.0.tar.gz 2610646 BLAKE2B d0b6c6fc576315b1bcc81c2555731cc0945c0482d912dab9d26edae3bf24dc2c933afc8f9bfb72c482e40540892d1c53fc01d164578dad9245d3c54b72109849 SHA512 07f3b7840dc577d3884e1149c15c33e8618c4ab922ac7c5b69f0b32f8481c3532ca77a5a650cf33d32bdb4437610727894b55fa622b002d54144bbbf5e66483f +DIST pdm-2.15.1.tar.gz 2612654 BLAKE2B 043f4d3ca54cd277f8c6fdd35fb423497eb7b172e085df5bffdd21d9ff5103b112a659fb61c342991211c9630333c713272ba43c65eff52c8dd6b88e4f81e563 SHA512 b6a1028767f154a5a594cd8523d31cec16df46e1c63bb73541a516877879480ffc6916316289f67cda0ae5e4740cab448b029a694743b9816604b2eb175a8722 +DIST pdm-2.15.2.tar.gz 2613423 BLAKE2B 91c2d7137223ef143a3a3cb51915ab3b02ef7a6f97798b5a75af05b90c909ade0e1d0b52e6e011956bfb925e76e569dc65bc3258c4397013254c6c5483f1e0ec SHA512 dc58b46fc6a3e8c2ee664b70d7c2112fad3fce5445c390393c4a44230a5e1793baad46baa5b0581fcea49d414a04b0c5dce361b489d82daa4f61f511704c8080 diff --git a/dev-python/pdm/pdm-2.12.4.ebuild b/dev-python/pdm/pdm-2.12.4.ebuild deleted file mode 100644 index 2275630b637f..000000000000 --- a/dev-python/pdm/pdm-2.12.4.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python package and dependency manager supporting the latest PEP standards" -HOMEPAGE=" - https://pdm-project.org/ - https://github.com/pdm-project/pdm/ - https://pypi.org/project/pdm/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RDEPEND=" - dev-python/blinker[${PYTHON_USEDEP}] - dev-python/certifi[${PYTHON_USEDEP}] - >=dev-python/dep-logic-0.2.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/platformdirs[${PYTHON_USEDEP}] - dev-python/rich[${PYTHON_USEDEP}] - dev-python/truststore[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - dev-python/pyproject-hooks[${PYTHON_USEDEP}] - dev-python/requests-toolbelt[${PYTHON_USEDEP}] - >=dev-python/unearth-0.12.1[${PYTHON_USEDEP}] - <dev-python/findpython-1[${PYTHON_USEDEP}] - >=dev-python/findpython-0.4.0[${PYTHON_USEDEP}] - dev-python/tomlkit[${PYTHON_USEDEP}] - dev-python/shellingham[${PYTHON_USEDEP}] - dev-python/python-dotenv[${PYTHON_USEDEP}] - >=dev-python/resolvelib-1.0.1[${PYTHON_USEDEP}] - dev-python/installer[${PYTHON_USEDEP}] - dev-python/cachecontrol[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - ${RDEPEND} - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-httpserver[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # Internet - 'tests/cli/test_build.py::test_build_with_no_isolation[False]' - tests/test_project.py::test_access_index_with_auth - tests/cli/test_others.py::test_build_distributions - 'tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ file:///${PROJECT_ROOT}/tests/fixtures/artifacts/demo-0.0.1.tar.gz]' - 'tests/models/test_candidates.py::test_expand_project_root_in_url[-e file:///${PROJECT_ROOT}/tests/fixtures/projects/demo-#-with-hash#egg=demo]' - # hangs on interactive keyring prompts - tests/cli/test_config.py::test_repository_overwrite_default - tests/cli/test_config.py::test_hide_password_in_output_repository - tests/cli/test_config.py::test_hide_password_in_output_pypi - # junk output, sigh - tests/cli/test_others.py::test_info_command_json - # why does it try to use python 2.7?! - tests/cli/test_run.py::test_import_another_sitecustomize - ) - [[ ${EPYTHON} != python3.10 ]] && EPYTEST_DESELECT+=( - # test seems hardcoded to 3.10 - tests/test_project.py::test_project_packages_path - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -m "not network and not integration and not path" \ - -p pytest_mock -} diff --git a/dev-python/pdm/pdm-2.14.0.ebuild b/dev-python/pdm/pdm-2.15.1.ebuild index 89154bdbedff..89154bdbedff 100644 --- a/dev-python/pdm/pdm-2.14.0.ebuild +++ b/dev-python/pdm/pdm-2.15.1.ebuild diff --git a/dev-python/pdm/pdm-2.13.3.ebuild b/dev-python/pdm/pdm-2.15.2.ebuild index 79d9646a54be..5daeb246e11a 100644 --- a/dev-python/pdm/pdm-2.13.3.ebuild +++ b/dev-python/pdm/pdm-2.15.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" RDEPEND=" dev-python/blinker[${PYTHON_USEDEP}] @@ -60,6 +60,7 @@ python_test() { # Internet 'tests/cli/test_build.py::test_build_with_no_isolation[False]' tests/test_project.py::test_access_index_with_auth + "tests/test_project.py::test_find_interpreters_with_PDM_IGNORE_ACTIVE_VENV[True]" tests/cli/test_others.py::test_build_distributions 'tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ file:///${PROJECT_ROOT}/tests/fixtures/artifacts/demo-0.0.1.tar.gz]' 'tests/models/test_candidates.py::test_expand_project_root_in_url[-e file:///${PROJECT_ROOT}/tests/fixtures/projects/demo-#-with-hash#egg=demo]' @@ -93,6 +94,7 @@ python_test() { "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[post-publish]" "tests/cli/test_venv.py::test_conda_backend_create[True]" "tests/cli/test_venv.py::test_conda_backend_create[False]" + tests/cli/test_lock.py::test_lock_all_with_excluded_groups # hangs on interactive keyring prompts tests/cli/test_config.py::test_repository_overwrite_default tests/cli/test_config.py::test_hide_password_in_output_repository diff --git a/dev-python/peewee/Manifest b/dev-python/peewee/Manifest index 9162b9425403..d8b008aff269 100644 --- a/dev-python/peewee/Manifest +++ b/dev-python/peewee/Manifest @@ -1 +1,2 @@ -DIST peewee-3.17.1.gh.tar.gz 918980 BLAKE2B 192bdb4c8ba40c0d65f8182c4d87b6917d7758a8017977144b3455a0abdc96e6dfc2299cb9dfb967092c2619666816886b2f1fc163ee1e0607fb6ddfb6f2ae75 SHA512 7b3515949f862c96c9509edf2b1e7c8fc4947f3371421c5df8ca066f8456000471b0c2af8b906c9d826ea3bdc187b4e8676299b328160bda91ffd7f5a1b95435 +DIST peewee-3.17.3.gh.tar.gz 926892 BLAKE2B e5d378da37f7fda74c75d3c3998e3fae79e9b8c7d66ca5a17e76a7b855c9d7ae159b4eedb97f68c9ec13cf00f2268f425b36273e7b09fbd001364e748d13bc95 SHA512 d7d0c716c1b6600275c151894ea8738c3393e554627ae4d8cf0d52548be99cfaf31e5553f51762cedc7f9e66a779ddef60d305a3797e3db71ac1a2178bb45468 +DIST peewee-3.17.5.gh.tar.gz 927674 BLAKE2B 45d23ebec38363a83441c916def460d76c7fe54175497df53de5a904d57b3d2cdbe077f757028b85f6a5eba0e65f1eab9ee99ceea11a00a9b111fce842ccd010 SHA512 b9878450a0759740f28cb6425ba0f14aa92e037bc4c888c13ae24bc38993787e64bff6342edcdf5364b5aac97c405e1c8e53e1140016e6bdbeba6d57d7f339ec diff --git a/dev-python/peewee/peewee-3.17.1.ebuild b/dev-python/peewee/peewee-3.17.3.ebuild index c7d0a62d3703..2943c28f7f6b 100644 --- a/dev-python/peewee/peewee-3.17.1.ebuild +++ b/dev-python/peewee/peewee-3.17.3.ebuild @@ -34,6 +34,10 @@ RDEPEND=" " BDEPEND=" dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-db/postgresql + dev-python/psycopg:0[${PYTHON_USEDEP}] + ) " distutils_enable_sphinx docs \ @@ -47,6 +51,17 @@ src_compile() { distutils-r1_src_compile } +src_test() { + initdb -D "${T}"/pgsql || die + pg_ctl -w -D "${T}"/pgsql start -o "-h '' -k '${T}'" || die + createdb -h "${T}" peewee_test || die + + local -x PEEWEE_PSQL_HOST="${T}" + distutils-r1_src_test + + pg_ctl -w -D "${T}"/pgsql stop || die +} + python_test() { "${EPYTHON}" runtests.py -v 2 || die "tests failed under ${EPYTHON}" } diff --git a/dev-python/peewee/peewee-3.17.5.ebuild b/dev-python/peewee/peewee-3.17.5.ebuild new file mode 100644 index 000000000000..1db76107559a --- /dev/null +++ b/dev-python/peewee/peewee-3.17.5.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-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} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +DESCRIPTION="Small Python ORM" +HOMEPAGE=" + https://github.com/coleifer/peewee/ + https://pypi.org/project/peewee/ +" +SRC_URI=" + https://github.com/coleifer/peewee/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="examples +native-extensions test" +RESTRICT="!test? ( test )" + +DEPEND=" + native-extensions? ( dev-db/sqlite:3= ) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-db/postgresql + dev-python/psycopg:0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme + +src_compile() { + if ! use native-extensions; then + local -x NO_SQLITE=1 + fi + + distutils-r1_src_compile +} + +src_test() { + initdb -D "${T}"/pgsql || die + pg_ctl -w -D "${T}"/pgsql start -o "-h '' -k '${T}'" || die + createdb -h "${T}" peewee_test || die + + local -x PEEWEE_PSQL_HOST="${T}" + distutils-r1_src_test + + pg_ctl -w -D "${T}"/pgsql stop || die +} + +python_test() { + "${EPYTHON}" runtests.py -v 2 || die "tests failed under ${EPYTHON}" +} + +python_install_all() { + use examples && DOCS=( examples/ ) + distutils-r1_python_install_all +} diff --git a/dev-python/pexpect/pexpect-4.9.0.ebuild b/dev-python/pexpect/pexpect-4.9.0.ebuild index 46cbdc59f88f..a12292320218 100644 --- a/dev-python/pexpect/pexpect-4.9.0.ebuild +++ b/dev-python/pexpect/pexpect-4.9.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 pypi @@ -33,13 +33,32 @@ src_test() { # workaround new readline defaults echo "set enable-bracketed-paste off" > "${T}"/inputrc || die local -x INPUTRC="${T}"/inputrc + + distutils-r1_src_test +} + +python_test() { local EPYTEST_DESELECT=( # flaky test on weaker arches tests/test_performance.py # requires zsh installed, not worth it tests/test_replwrap.py::REPLWrapTestCase::test_zsh + # flaky + tests/test_env.py::TestCaseEnv::test_spawn_uses_env ) - distutils-r1_src_test + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # TODO: changes in python3.13's prompt? + tests/test_replwrap.py::REPLWrapTestCase::test_python + tests/test_replwrap.py::REPLWrapTestCase::test_no_change_prompt + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest } python_install_all() { diff --git a/dev-python/pgspecial/Manifest b/dev-python/pgspecial/Manifest index b4b50f5ac035..e19ef31ac83d 100644 --- a/dev-python/pgspecial/Manifest +++ b/dev-python/pgspecial/Manifest @@ -1 +1,2 @@ DIST pgspecial-2.1.1.tar.gz 51017 BLAKE2B 170db33ca1629244b2c8c2d23a5768528e474660dcaf73079c516d33624202cc05487a338b21ac5bab28780d127923bf24d86231e85cade2f82714add5bdd789 SHA512 4ab8596536b90837c2ed0a11b6bbfecd6e5dc487b073a58a1406e8e70028ebb7010430784963fe27a08a5cc48292785f6d02affb750f4a1b74cbe33a0e06a5f0 +DIST pgspecial-2.1.2.tar.gz 51057 BLAKE2B d164555363e421f716fd9a03653fa8ef6628fc15b71a03acb040c321a20d03e4193725ca3a809b3d4b8710e62005ba9637f35789795d7b4e195f653527617436 SHA512 3ef15c96b8ae84c2c346f44607360aad4bd0abe6f2dfec421af1ca176178b19c64d55baece118600038e105cacb4b5f9b9c3eebbd1e816a9e7a78877d2cb604c diff --git a/dev-python/pgspecial/pgspecial-2.1.2.ebuild b/dev-python/pgspecial/pgspecial-2.1.2.ebuild new file mode 100644 index 000000000000..899d00595aa4 --- /dev/null +++ b/dev-python/pgspecial/pgspecial-2.1.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python implementation of PostgreSQL meta commands" +HOMEPAGE=" + https://github.com/dbcli/pgspecial/ + https://pypi.org/project/pgspecial/ +" + +LICENSE="BSD MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/click-4.1[${PYTHON_USEDEP}] + >=dev-python/configobj-5.0.6[${PYTHON_USEDEP}] + >=dev-python/psycopg-3.0.10:0[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.1.19[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-db/postgresql-8.1[server] + ) +" + +distutils_enable_tests pytest + +DOCS=( License.txt README.rst changelog.rst ) + +EPYTEST_DESELECT=( + # assumes a very specific locale + tests/test_specials.py::test_slash_l + tests/test_specials.py::test_slash_l_pattern + # change in postgres? *shrug* + tests/test_specials.py::test_slash_d_view_verbose + tests/test_specials.py::test_slash_dn +) + +src_test() { + local db=${T}/pgsql + + initdb --username=postgres -D "${db}" || die + # TODO: random port + pg_ctl -w -D "${db}" start \ + -o "-h '127.0.0.1' -p 5432 -k '${T}'" || die + psql -h "${T}" -U postgres -d postgres \ + -c "ALTER ROLE postgres WITH PASSWORD 'postgres';" || die + createdb -h "${T}" -U postgres _test_db || die + + distutils-r1_src_test + + pg_ctl -w -D "${db}" stop || die +} diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index 70d4a2c3140e..71d0f6c80749 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1,2 +1 @@ -DIST python-phonenumbers-8.13.33.gh.tar.gz 4915782 BLAKE2B 651be55fe6ee6f78f5160b7d88a98e88f2fec21df71589f181e02500a578ce1beb3c3b852b7df8fc423f9ce4c5a9155d571dcb414ee78d2951cff42a28d4ed63 SHA512 0402908a43ff93a1948edc7e08c41c9ab2d406215b810ce06175d9b6e2eb17cd6b597082b6bfb2c9f74d2247a646ffef4256996fc933ce9a502b2305d279a28f -DIST python-phonenumbers-8.13.34.gh.tar.gz 4915435 BLAKE2B 9b3addd5553f71a0e47f7bfdc5228155a2bb803b8e7e6a81349ee6445fcf0d57018875745049f7d2a1f30a82359fe9211affe17b00496eba06facd2ee82f6a95 SHA512 3d7443562fd0f2c2a49edaca78cfdc7aab42d77906826c53eb3b7e4766753242ba4ef9db6e1a6ee5f7d00e169336546069d2932ca0a907622e302e2ea09d46e9 +DIST python-phonenumbers-8.13.36.gh.tar.gz 4915552 BLAKE2B f9948876d363bba6f4a06411b809235a99003ed3a984681fc359cac05e0692e0521888221770bdbcda21c748c1401109820d01fd84854fc81501475b425ebd49 SHA512 4c82e6ce5fb1691cb1b843914d55c52e1d7bf0b4590354df7df5895eb5a410e8efcb986c9e960f542a08311a8ae7f4d400c9d4a9564a229443f34c05b4c505f1 diff --git a/dev-python/phonenumbers/phonenumbers-8.13.34.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.34.ebuild deleted file mode 100644 index 2fc9bdbaa7c9..000000000000 --- a/dev-python/phonenumbers/phonenumbers-8.13.34.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -MY_P=python-${P} -DESCRIPTION="Python port of Google's libphonenumber" -HOMEPAGE=" - https://github.com/daviddrysdale/python-phonenumbers/ - https://pypi.org/project/phonenumbers/ -" -SRC_URI=" - https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P}/python - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-python/protobuf-python[${PYTHON_USEDEP}] - ) -" - -DOCS=( ../README.md ) - -python_test() { - "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/phonenumbers/phonenumbers-8.13.33.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.36.ebuild index 154cbd60212d..154cbd60212d 100644 --- a/dev-python/phonenumbers/phonenumbers-8.13.33.ebuild +++ b/dev-python/phonenumbers/phonenumbers-8.13.36.ebuild diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index dce789bf9dda..e7a447ccb6e5 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -1,7 +1,4 @@ DIST pikepdf-8.11.2.tar.gz 2870263 BLAKE2B 6cf3666baca5d20b125efc3f6d8cfe7f96b9334b8a39da67fe3f4185f41232d8a18bf902f21bfe33e4259b7fb61e7dc462a247c76bf4564a3bdf0ea987119d91 SHA512 57bf5d16aaf9367eef9407f7f406a5ee74f2060d276ab861379c74c2193d02b2e3cca0925ee29813791bb36fae8dbbba4a9b16a7f4c2d19c67c21bbe7bb3f80f -DIST pikepdf-8.12.0.tar.gz 2870386 BLAKE2B f27c034ef94b63e56efa84abef987b23801ddb0c19c078715ffdf15596fb60b54a1159b3f43f6252418b51f967e9049912ba6950506811a41c766320148201e2 SHA512 9c6d269a7a8f806f22cc3df9f0147fc3c3a534b191e9db4f90c56a6ce9c695f7e9a20c44265551b0d2ca2a189d15c52dd602614baa44939d7ae943e698dec400 -DIST pikepdf-8.13.0.tar.gz 2870366 BLAKE2B 4e08cd992ef6dc18d64d3b62ca85a138474c2d77548a14522172b80d842b9ad969d701e30376a394aa60baa5b17bba7e48eb11c071e130f43e387659e8e862e6 SHA512 6ab231510ced72a6697cf7ea50d7b73d6ef33d4305fe70904164319f2c6964fdd645f8011a049d763a50809772ccb65a9833feca3e65e59b5c37c84bb90dbc79 DIST pikepdf-8.14.0.tar.gz 2870612 BLAKE2B be0fd5a8d48fccc7695c45acc28cbda8252529d0687197c261e077e8c3a63e3597e504bf2aae2ab09648c0f127228d517bfa630ed77ea90bc28c8f3463854779 SHA512 f0e073df952cd850e0529fa798743a09f249a998450be1393b109b21850cf86b80c8813b55db778dc4e265df48af7619fccfac30ec9195c3ac724b8c7724e858 -DIST pikepdf-8.15.0.tar.gz 2870646 BLAKE2B 9745a241ab8fa55a5df6357f63dada9fe91aee435c7e4280e6329d28f67542316110a3f67921b1be235edd3b85e9315479a0d3b0fa37f22d528ef82afbc3bb0a SHA512 8b6ddabc19acc5e7f0742c38a355d4560452c899b85538188e215dfc4599901660af55f80daccd0fbd439f3f735bbce93f35de114d71bd5484321bb7a500d73a DIST pikepdf-8.15.1.tar.gz 2870723 BLAKE2B 958bb2a417e2f1c9e5e4448b47cdadffb10e82841cc8173503881a86e92e85c05f800a8ad6936f32ee53e6f7a8cd62ee9e28e251de1f32a7cdce055139ec5fa3 SHA512 ae6b0b8bdf7e395943caf503f1d498861bd2719185e6382a522b8c0d4e38413a1b070e912367852bc5735d29b8453d05c57ff384ede825830722470445a534f6 DIST pikepdf-8.4.1.tar.gz 2853305 BLAKE2B 2298514159db17ba49b8e2fa2407d60de50273bea111ece704251d99193bdc4c8ed77f624237a49c3f4f129e3b14ac4ddd1006cf3024bcbf822bc5523e0fee35 SHA512 6989e8a3888f612e453ec1ea8425c0ca35ccfee19ae5e8c32df136ebc3fbb7728d9fe5beaacb4e392a20c9037a1009fc8f8d53d73634427fb0df9103626e34fa diff --git a/dev-python/pikepdf/pikepdf-8.11.2.ebuild b/dev-python/pikepdf/pikepdf-8.11.2-r1.ebuild index ace2f3ca81ca..417da5be9fcd 100644 --- a/dev-python/pikepdf/pikepdf-8.11.2.ebuild +++ b/dev-python/pikepdf/pikepdf-8.11.2-r1.ebuild @@ -29,7 +29,7 @@ RDEPEND=" dev-python/deprecated[${PYTHON_USEDEP}] >=dev-python/lxml-4.0[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pillow-10.0.1[${PYTHON_USEDEP}] + >=dev-python/pillow-10.0.1[lcms,${PYTHON_USEDEP}] " BDEPEND=" >=dev-python/pybind11-2.10.1[${PYTHON_USEDEP}] diff --git a/dev-python/pikepdf/pikepdf-8.12.0.ebuild b/dev-python/pikepdf/pikepdf-8.12.0.ebuild deleted file mode 100644 index c96170eec777..000000000000 --- a/dev-python/pikepdf/pikepdf-8.12.0.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-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} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python library to work with pdf files based on qpdf" -HOMEPAGE=" - https://github.com/pikepdf/pikepdf/ - https://pypi.org/project/pikepdf/ -" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" - -# Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as -# https://qpdf.readthedocs.io/en/stable/release-notes.html. -DEPEND=" - >=app-text/qpdf-11.5.0:0= -" -RDEPEND=" - ${DEPEND} - dev-python/deprecated[${PYTHON_USEDEP}] - >=dev-python/lxml-4.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pillow-10.0.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pybind11-2.10.1[${PYTHON_USEDEP}] - >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] - test? ( - >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.36[${PYTHON_USEDEP}] - >=dev-python/numpy-1.21.0[${PYTHON_USEDEP}] - >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] - >=dev-python/psutil-5.9[${PYTHON_USEDEP}] - >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] - >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.10) - media-libs/tiff[zlib] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # fragile to system load - tests/test_image_access.py::test_random_image -) - -src_prepare() { - sed -e '/-n auto/d' -i pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p timeout -} diff --git a/dev-python/pikepdf/pikepdf-8.13.0.ebuild b/dev-python/pikepdf/pikepdf-8.14.0-r1.ebuild index 08335f77ee84..367e7b427436 100644 --- a/dev-python/pikepdf/pikepdf-8.13.0.ebuild +++ b/dev-python/pikepdf/pikepdf-8.14.0-r1.ebuild @@ -29,7 +29,7 @@ RDEPEND=" dev-python/deprecated[${PYTHON_USEDEP}] >=dev-python/lxml-4.0[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pillow-10.0.1[${PYTHON_USEDEP}] + >=dev-python/pillow-10.0.1[lcms,${PYTHON_USEDEP}] " BDEPEND=" >=dev-python/pybind11-2.10.1[${PYTHON_USEDEP}] diff --git a/dev-python/pikepdf/pikepdf-8.15.0.ebuild b/dev-python/pikepdf/pikepdf-8.15.0.ebuild deleted file mode 100644 index f5173f73b2c1..000000000000 --- a/dev-python/pikepdf/pikepdf-8.15.0.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-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} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python library to work with pdf files based on qpdf" -HOMEPAGE=" - https://github.com/pikepdf/pikepdf/ - https://pypi.org/project/pikepdf/ -" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -# Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as -# https://qpdf.readthedocs.io/en/stable/release-notes.html. -DEPEND=" - >=app-text/qpdf-11.5.0:0= -" -RDEPEND=" - ${DEPEND} - dev-python/deprecated[${PYTHON_USEDEP}] - >=dev-python/lxml-4.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pillow-10.0.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pybind11-2.10.1[${PYTHON_USEDEP}] - >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] - test? ( - >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.36[${PYTHON_USEDEP}] - >=dev-python/numpy-1.21.0[${PYTHON_USEDEP}] - >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] - >=dev-python/psutil-5.9[${PYTHON_USEDEP}] - >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] - >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.10) - media-libs/tiff[zlib] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # fragile to system load - tests/test_image_access.py::test_random_image -) - -src_prepare() { - sed -e '/-n auto/d' -i pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p timeout -} diff --git a/dev-python/pikepdf/pikepdf-8.14.0.ebuild b/dev-python/pikepdf/pikepdf-8.15.1-r1.ebuild index 08335f77ee84..7c2198311e0c 100644 --- a/dev-python/pikepdf/pikepdf-8.14.0.ebuild +++ b/dev-python/pikepdf/pikepdf-8.15.1-r1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" # Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as # https://qpdf.readthedocs.io/en/stable/release-notes.html. @@ -29,7 +29,7 @@ RDEPEND=" dev-python/deprecated[${PYTHON_USEDEP}] >=dev-python/lxml-4.0[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pillow-10.0.1[${PYTHON_USEDEP}] + >=dev-python/pillow-10.0.1[lcms,${PYTHON_USEDEP}] " BDEPEND=" >=dev-python/pybind11-2.10.1[${PYTHON_USEDEP}] diff --git a/dev-python/pikepdf/pikepdf-8.15.1.ebuild b/dev-python/pikepdf/pikepdf-8.15.1.ebuild deleted file mode 100644 index f5173f73b2c1..000000000000 --- a/dev-python/pikepdf/pikepdf-8.15.1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-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} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python library to work with pdf files based on qpdf" -HOMEPAGE=" - https://github.com/pikepdf/pikepdf/ - https://pypi.org/project/pikepdf/ -" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -# Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as -# https://qpdf.readthedocs.io/en/stable/release-notes.html. -DEPEND=" - >=app-text/qpdf-11.5.0:0= -" -RDEPEND=" - ${DEPEND} - dev-python/deprecated[${PYTHON_USEDEP}] - >=dev-python/lxml-4.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pillow-10.0.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pybind11-2.10.1[${PYTHON_USEDEP}] - >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] - test? ( - >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.36[${PYTHON_USEDEP}] - >=dev-python/numpy-1.21.0[${PYTHON_USEDEP}] - >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] - >=dev-python/psutil-5.9[${PYTHON_USEDEP}] - >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] - >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.10) - media-libs/tiff[zlib] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # fragile to system load - tests/test_image_access.py::test_random_image -) - -src_prepare() { - sed -e '/-n auto/d' -i pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p timeout -} diff --git a/dev-python/pikepdf/pikepdf-8.4.1.ebuild b/dev-python/pikepdf/pikepdf-8.4.1-r1.ebuild index 9e06b6ae82ab..74215529a058 100644 --- a/dev-python/pikepdf/pikepdf-8.4.1.ebuild +++ b/dev-python/pikepdf/pikepdf-8.4.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -29,7 +29,7 @@ RDEPEND=" dev-python/deprecation[${PYTHON_USEDEP}] >=dev-python/lxml-4.0[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pillow-9.0[${PYTHON_USEDEP}] + >=dev-python/pillow-9.0[lcms,${PYTHON_USEDEP}] " BDEPEND=" >=dev-python/pybind11-2.10.1[${PYTHON_USEDEP}] diff --git a/dev-python/pillow/files/pillow-10.3.0-py313.patch b/dev-python/pillow/files/pillow-10.3.0-py313.patch new file mode 100644 index 000000000000..1574d6be3cef --- /dev/null +++ b/dev-python/pillow/files/pillow-10.3.0-py313.patch @@ -0,0 +1,23 @@ +From 57399ce204d79c74c80612c622bb788e20d786e8 Mon Sep 17 00:00:00 2001 +From: Andrew Murray <radarhere@users.noreply.github.com> +Date: Fri, 10 May 2024 22:43:56 +1000 +Subject: [PATCH] Parse _version contents instead of using exec() + +--- + setup.py | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/setup.py b/setup.py +index 7d8e1c1ee21..abdd87ea252 100644 +--- a/setup.py ++++ b/setup.py +@@ -23,8 +23,7 @@ + def get_version(): + version_file = "src/PIL/_version.py" + with open(version_file, encoding="utf-8") as f: +- exec(compile(f.read(), version_file, "exec")) +- return locals()["__version__"] ++ return f.read().split('"')[1] + + + configuration = {} diff --git a/dev-python/pillow/pillow-10.3.0.ebuild b/dev-python/pillow/pillow-10.3.0.ebuild index 48898abeb275..114093e158a5 100644 --- a/dev-python/pillow/pillow-10.3.0.ebuild +++ b/dev-python/pillow/pillow-10.3.0.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_EXT=1 # setuptools wrapper DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) PYTHON_REQ_USE='tk?,threads(+)' inherit distutils-r1 toolchain-funcs virtualx @@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="HPND" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" REQUIRED_USE="test? ( jpeg jpeg2k lcms tiff truetype )" RESTRICT="!test? ( test )" @@ -69,6 +69,8 @@ distutils_enable_tests pytest PATCHES=( # https://github.com/python-pillow/pillow/pull/7634 "${FILESDIR}/${PN}-10.2.0-cross.patch" + # https://github.com/python-pillow/Pillow/pull/8050 + "${FILESDIR}/${P}-py313.patch" ) usepil() { diff --git a/dev-python/pip-run/pip-run-12.6.1.ebuild b/dev-python/pip-run/pip-run-12.6.1.ebuild index a9d57b961bdf..dfeb507c8414 100644 --- a/dev-python/pip-run/pip-run-12.6.1.ebuild +++ b/dev-python/pip-run/pip-run-12.6.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/pip/pip-24.0.ebuild b/dev-python/pip/pip-24.0.ebuild index 8e9ed0858608..ffcadb6fa1cb 100644 --- a/dev-python/pip/pip-24.0.ebuild +++ b/dev-python/pip/pip-24.0.ebuild @@ -6,7 +6,7 @@ EAPI=8 # please bump dev-python/ensurepip-pip along with this package! DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{10..12} ) +PYTHON_TESTED=( python3_{10..13} ) PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 ) PYTHON_REQ_USE="ssl(+),threads(+)" @@ -25,8 +25,8 @@ SRC_URI=" LICENSE="MIT" # bundled deps LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test-rust" RDEPEND=" @@ -109,6 +109,15 @@ python_test() { fi case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # hacky upstream time mocking stopped working, they have it + # failing on CI already too + tests/unit/test_base_command.py::test_log_command_success + tests/unit/test_base_command.py::test_log_command_error + tests/unit/test_base_command.py::test_log_file_command_error + ) + ;; python3.10) EPYTEST_DESELECT+=( # no clue why they fail @@ -122,7 +131,7 @@ python_test() { local -x PIP_DISABLE_PIP_VERSION_CHECK=1 local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 local EPYTEST_XDIST=1 - epytest -m "not network" + epytest -m "not network" -o tmp_path_retention_policy=all } python_install_all() { diff --git a/dev-python/pipenv/pipenv-2023.12.1.ebuild b/dev-python/pipenv/pipenv-2023.12.1-r1.ebuild index 4fcc048b339f..e1fda83fb9bb 100644 --- a/dev-python/pipenv/pipenv-2023.12.1.ebuild +++ b/dev-python/pipenv/pipenv-2023.12.1-r1.ebuild @@ -30,7 +30,7 @@ RDEPEND=" dev-python/dparse[${PYTHON_USEDEP}] >=dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}] >=dev-python/pexpect-4.8.0[${PYTHON_USEDEP}] - dev-python/pipdeptree[${PYTHON_USEDEP}] + ~dev-python/pipdeptree-2.16.2[${PYTHON_USEDEP}] ~dev-python/plette-0.4.4[${PYTHON_USEDEP}] >=dev-python/ptyprocess-0.7.0[${PYTHON_USEDEP}] dev-python/pyparsing[${PYTHON_USEDEP}] diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest index 82e1e3a93142..a12232193944 100644 --- a/dev-python/platformdirs/Manifest +++ b/dev-python/platformdirs/Manifest @@ -1 +1,2 @@ -DIST platformdirs-4.2.0.tar.gz 20055 BLAKE2B 07338fc1ad6f5edf3dfe9de9e74326af4c22a4b6db0979a2b0926d248e7bc27f6f40e9e47e62979657c0804e3d296dfba5b18f57fa64b1fdcd205d52ae21fe17 SHA512 615742163cc4eb0ee97c4dba069d59a08e0056e05a3fbeab32dcab854ed56976e8707dd70afd65dbd0732bf1ad1a42c565fb3d980b7b668aa2cdecc5cc1de4f0 +DIST platformdirs-4.2.1.tar.gz 20398 BLAKE2B 6ae25a07afb0878a3c5347f4cc48e81117a5be42affe6b7873e1e62d9b4e8e63f380eb2a4062a472823c1d3e1eaaf499463ec93ca7e3c7c115c51a1c8fb10284 SHA512 c6c671022a74ba35610469f08e9a275daa19f0362a98208096fab147a77abfc96c12a0312fdf65668b3e457e0c06d938f141efec1217ef1a7598a77f65786130 +DIST platformdirs-4.2.2.tar.gz 20916 BLAKE2B d7c551a950118a127664b8210f33497760ce06381ac6a4ea098d1a1c60605507b5e2a9762d5f7d112332d3cebd63cb642b25e93a8b67dd2a1ee7cca189f3555f SHA512 e67aff332a6c84669d77a68e7d5546bfd14e08dcf61681b03447bf6381c0d981c63be0f87fd63bc99f0a51c92bf960902ded83ba8872801c14755ab163d45a0f diff --git a/dev-python/platformdirs/platformdirs-4.2.0.ebuild b/dev-python/platformdirs/platformdirs-4.2.1.ebuild index 52a9c40b8429..1470f3d17320 100644 --- a/dev-python/platformdirs/platformdirs-4.2.0.ebuild +++ b/dev-python/platformdirs/platformdirs-4.2.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/platformdirs/platformdirs-4.2.2.ebuild b/dev-python/platformdirs/platformdirs-4.2.2.ebuild new file mode 100644 index 000000000000..8bc5289f889b --- /dev/null +++ b/dev-python/platformdirs/platformdirs-4.2.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 2021-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 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A small Python module for determining appropriate platform-specific dirs" +HOMEPAGE=" + https://pypi.org/project/platformdirs/ + https://github.com/platformdirs/platformdirs/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +BDEPEND=" + test? ( + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "hatchling' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "${PN}" + version = "${PV}" + description = 'A small Python package for determining appropriate platform-specific dirs, e.g. a "user data dir".' + EOF + # sigh + cat > src/platformdirs/version.py <<-EOF || die + __version__ = version = '${PV}' + __version_tuple__ = version_tuple = (${PV//./, }) + EOF +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} diff --git a/dev-python/plette/Manifest b/dev-python/plette/Manifest index bca984057c24..5547cd1597ef 100644 --- a/dev-python/plette/Manifest +++ b/dev-python/plette/Manifest @@ -1,2 +1,3 @@ DIST plette-0.4.4.gh.tar.gz 36359 BLAKE2B dc630b9e98db9a8f6047fe0bb31c2ab29d695745b59d457c9cac218922c0d578a474f80ddc419364fb8ef92c5952c5cea33ee571cce2d698015466edb738885a SHA512 c4342ce040966730d2eba638c718c1db9340051baa89238b99e64cf8ef734fe448f0aaeae224e9f6b51c9e38458e9caeb2c8d6abbd5db76249529aaee90ed5c0 DIST plette-1.0.0.gh.tar.gz 54297 BLAKE2B 7ade29df8bfc20d5c98f5f3290acea2f5e884f71b13c0950373f41240de54f3ea672d16c0557fef2e1be25aef0da68d4a7449ebea2f206d92901d7f11f6cc2bb SHA512 72a3f270f76dbf32cb418628f1b24046111a46633603b07fd44fd4ed50d946653afaec070bce8e67a1ecff3ec8607f2476d3b25760c76726218873898bef97ed +DIST plette-2.0.2.tar.gz 12905 BLAKE2B 48d8e50b24a2b61a12f798467ed443a7a043bd6efca7cb99ce35e5e05edb44af327e3a2e5bdfde0e6db4a4be527ab668edd6433c195fe4f72975170bcb6acbed SHA512 9f273af721b29b81ef8921fa9bf42856711242cef04372c5e1c632e907d889554beeb4d85c47cc9f2003984004dfa97a239643d9307389be9a6710dec26b5b28 diff --git a/dev-python/plette/plette-2.0.2.ebuild b/dev-python/plette/plette-2.0.2.ebuild new file mode 100644 index 000000000000..52bd74861510 --- /dev/null +++ b/dev-python/plette/plette-2.0.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Structured Pipfile and Pipfile.lock models" +HOMEPAGE=" + https://github.com/sarugaku/plette/ + https://pypi.org/project/plette/ +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + dev-python/cerberus[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/plotly/Manifest b/dev-python/plotly/Manifest index eb88202875b3..548cf839d364 100644 --- a/dev-python/plotly/Manifest +++ b/dev-python/plotly/Manifest @@ -1,2 +1,2 @@ -DIST plotly.py-5.19.0.gh.tar.gz 30892237 BLAKE2B ef93c54bdc40a5f25448a7e68dc40b3642c8be60945edc39e3e590eb97973896cb0df54cd8ea9928a2553d50de1bf17997b41947711baaedce075e31709581ce SHA512 a97f5d130fd56b49087e7b10c34cfe2aa21f00afd1f252215f7cec2215d9031f5f6204a6445ea7a69d7aed0c6838b3d76f981c076af93fa9406ff37a0020e4e7 -DIST plotly.py-5.20.0.gh.tar.gz 30896587 BLAKE2B ef8deee791b8fdc94dcd3dae1189fc04569d9156593f13bd44715bc4f7b2846642eab19a1bb6084647ed15b1c961ffb207f19369f94cbba3e999e970c0b7cfe7 SHA512 db73334bf32fcd54f717aa0e04378278045fabba3824d645e4e289cfd559655141f350624196d8e55d988befc27a4a64d741b11a84925969aadc720c6c15bee3 +DIST plotly.py-5.21.0.gh.tar.gz 30912188 BLAKE2B 2c193cad821a94a58d3c72ade06f8cc752d7490290a9abd44733ca80c38fcf1af94af0d5f76b80f1542e959dd2d8fa02752cebf8aa9ea28abd1a568073683c14 SHA512 38841fae844452550004fd22126c12c19fa65dae8985e8449eb5ff5be53dcb04a20658afc13a675c6086db2c623e0902e4138cd28f3b4c9d0a9a0013c1465c13 +DIST plotly.py-5.22.0.gh.tar.gz 31113116 BLAKE2B 67c0ad0d29b9b5041d1e310336a859c11399cced422f51d9f0906f61474868858f6f62da0172bec3e48f38eb5d1f7c68b497b6014b64f8cf48ef510a41f639ee SHA512 447072a78a5914aea5546edc6c51ea36475d12fd7e4b9f845ebe8396fb531c9b7ba942b6b5f9680f897acd9e2aefb8c09d08aadf106a78531faa8995d5ac218e diff --git a/dev-python/plotly/plotly-5.19.0.ebuild b/dev-python/plotly/plotly-5.21.0.ebuild index 2907cb22ae91..2907cb22ae91 100644 --- a/dev-python/plotly/plotly-5.19.0.ebuild +++ b/dev-python/plotly/plotly-5.21.0.ebuild diff --git a/dev-python/plotly/plotly-5.20.0.ebuild b/dev-python/plotly/plotly-5.22.0.ebuild index 2907cb22ae91..b5d3d8183854 100644 --- a/dev-python/plotly/plotly-5.20.0.ebuild +++ b/dev-python/plotly/plotly-5.22.0.ebuild @@ -40,7 +40,7 @@ BDEPEND=" dev-python/jupyter[${PYTHON_USEDEP}] dev-python/jupyterlab[${PYTHON_USEDEP}] dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] + <dev-python/numpy-2[${PYTHON_USEDEP}] dev-python/pandas[${PYTHON_USEDEP}] dev-python/pillow[${PYTHON_USEDEP}] dev-python/psutil[${PYTHON_USEDEP}] diff --git a/dev-python/pluggy/Manifest b/dev-python/pluggy/Manifest index 851b18929985..05385367cebd 100644 --- a/dev-python/pluggy/Manifest +++ b/dev-python/pluggy/Manifest @@ -1 +1 @@ -DIST pluggy-1.4.0.tar.gz 65812 BLAKE2B 0a8bff68f1871f0e571105012b0e3961771c6ee34a64711520084d0a951308d192187d01b14136c389b5bc09f127ead1a1f96ebffa7b345d2d5023157c049c43 SHA512 ac21a0c68cfcb9c7c401e5c48404f7447489b75befe8bc8b6e7ea84f24a1c6dbfb3de024577dd9e36ca9f538f9867ef836ba13018e3b8b348bba3e9bbd0c4dfd +DIST pluggy-1.5.0.tar.gz 67955 BLAKE2B c63e7605b7631adf7fe3a91dae92d2ce8172510574e0b23ded159479077f91c88948487a7a4e1da30dca7da0339cb78fbb521538e67bc2bde37986970403d48f SHA512 032d41e1f2bed56eff22463c4645516e9415ee253e0a3fe5ba83a8de5e21700baae1f6384c979d2c6f622e4216a2b745eec489bc04f52a576d423e771365cc7a diff --git a/dev-python/pluggy/pluggy-1.4.0.ebuild b/dev-python/pluggy/pluggy-1.5.0.ebuild index e485090460f2..e0d7e60a4771 100644 --- a/dev-python/pluggy/pluggy-1.4.0.ebuild +++ b/dev-python/pluggy/pluggy-1.5.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/plumbum/Manifest b/dev-python/plumbum/Manifest index b99fb088d3f3..793249a2033a 100644 --- a/dev-python/plumbum/Manifest +++ b/dev-python/plumbum/Manifest @@ -1 +1 @@ -DIST plumbum-1.8.2.tar.gz 317675 BLAKE2B d21a105d9919f70ad480d5de7ce157f2ae6c56cd248a2b70ad037c83a5e4b56bd8bdb3d9587860db383b04dd6528828426b47895c345f8bf7dc4931310be343d SHA512 636d10ea1c727cb24d4692537f3c0005077f86c3d9d2ae244f86ef5dd9621f8b51e0b5efffaa7acf66d6ba5552fddd641d4a1796c7fd760ac0a27d029f685c20 +DIST plumbum-1.8.3.tar.gz 318895 BLAKE2B 7c3df70e5bcaf5dfd9c6898f0d2044c647f08a4eaa0eb6bcb616c9971edfc20aa7651dc70a193e06c1d1f97b155a86a6d93d14622ff40da1328b1aa0e6534e6b SHA512 e59dd98939739636c3f1541e24f3c5a4b0c9bbe54b77d378875a57f167ca1916adbca6b33c7779d37e5daebd949c9a9d77bfffc404e55d319027658b5a504088 diff --git a/dev-python/plumbum/plumbum-1.8.2.ebuild b/dev-python/plumbum/plumbum-1.8.3.ebuild index fa6aefc5d91c..cf6682fc58de 100644 --- a/dev-python/plumbum/plumbum-1.8.2.ebuild +++ b/dev-python/plumbum/plumbum-1.8.3.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 optfeature pypi @@ -30,23 +30,23 @@ BDEPEND=" distutils_enable_tests pytest -EPYTEST_DESELECT=( - # Need sshd running - tests/test_remote.py - tests/test_utils.py - # Windows specific - tests/test_putty.py - # Needs sudo without password - tests/test_sudo.py - # Wrong assumptions about env handling - tests/test_env.py::TestEnv::test_change_env - tests/test_env.py::TestEnv::test_dictlike - tests/test_local.py::TestLocalPath::test_iterdir -) - -src_prepare() { - sed -e '/addopts/d' -i pyproject.toml || die - distutils-r1_src_prepare +python_test() { + local EPYTEST_DESELECT=( + # Need sshd running + tests/test_remote.py + tests/test_utils.py + # Windows specific + tests/test_putty.py + # Needs sudo without password + tests/test_sudo.py + # Wrong assumptions about env handling + tests/test_env.py::TestEnv::test_change_env + tests/test_env.py::TestEnv::test_dictlike + tests/test_local.py::TestLocalPath::test_iterdir + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p pytest_mock -p timeout } pkg_postinst() { diff --git a/dev-python/ply/metadata.xml b/dev-python/ply/metadata.xml index 2a34109ebcf1..5cbef0a9f520 100644 --- a/dev-python/ply/metadata.xml +++ b/dev-python/ply/metadata.xml @@ -21,5 +21,6 @@ PLYã¯Lexã¨Yaccã®æœ‰åãªã‚³ãƒ³ãƒ‘イラ・コンストラクション・ツã <stabilize-allarches/> <upstream> <remote-id type="pypi">ply</remote-id> + <remote-id type="github">dabeaz/ply</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/ply/ply-3.11-r2.ebuild b/dev-python/ply/ply-3.11-r2.ebuild index 894dd485bd96..a6779d0e9f96 100644 --- a/dev-python/ply/ply-3.11-r2.ebuild +++ b/dev-python/ply/ply-3.11-r2.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # please keep this ebuild at EAPI 7 -- sys-apps/portage dep EAPI=7 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/poetry-core/poetry-core-1.9.0.ebuild b/dev-python/poetry-core/poetry-core-1.9.0.ebuild index df860e59d7c2..a89bd637c701 100644 --- a/dev-python/poetry-core/poetry-core-1.9.0.ebuild +++ b/dev-python/poetry-core/poetry-core-1.9.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=standalone -PYTHON_TESTED=( pypy3 python3_{10..12} ) +PYTHON_TESTED=( pypy3 python3_{10..13} ) PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) inherit distutils-r1 diff --git a/dev-python/poetry-plugin-export/Manifest b/dev-python/poetry-plugin-export/Manifest index 70b648701017..714b3ff1162b 100644 --- a/dev-python/poetry-plugin-export/Manifest +++ b/dev-python/poetry-plugin-export/Manifest @@ -1,3 +1,2 @@ -DIST poetry_plugin_export-1.6.0.tar.gz 29265 BLAKE2B 90690afe197fd109d5fc5ae4566675a6a1e5e4df50cd814370146501389ba3bb0e78c2be2878cac322548ea5be065ef68f5b28a6d79a003d0f7b31c149ad0214 SHA512 d071f69ace98dbc23a3b129ba7fb30c4e6eac07138f4ee5156c266150f8f025f8b69c61dfadd90d29e1895c70d448fc44a9b5cc502024f00e1657247ed3310bd -DIST poetry_plugin_export-1.7.0.tar.gz 29196 BLAKE2B dc3db16ceee5cc727c865e141527ce4c854b2b68050ab8e4c7d03a2912f8fc7c3310653c098510198aea6254b35c875d9e837e129d327ecf0c2bec8f47c88c61 SHA512 9f458491d90b847c896416666cbd1517a1833d355ed0e59df6ae00603ef53383434f02eeb8a31069efeb9a99b1b93abd0a9b7647c9e2ff67976858be458ac95c DIST poetry_plugin_export-1.7.1.tar.gz 29656 BLAKE2B 130eb35064104c3f22958816447ff674d1f5aed657ada2fe23a635de52338cb736f631b622b0641aae308d69494eb939a1ea659e33fc6227bb742ee01335ae15 SHA512 d472d8e4d6eb803587722854be912009a9bc0a8f86ee0e3ef0046f385ed59236af229109dae85198e3a205702cff86780576939e518fa797f3e5093537a0d2f1 +DIST poetry_plugin_export-1.8.0.tar.gz 29840 BLAKE2B 67748605964f90120be8a696b454497e53f9ff8c739a09930e31fef19623f05552b069a5c572a1a32a0ad68ee85e760901f61bfdf8ba35351b982863e250d4ed SHA512 90cbf0e79787611a4d78c6ce637d4087d375aa25e65489d770d13f2a769d9919d76512b3fad70073073a83fe41ec42a8925c8b27983d84458007356b3ec8409d diff --git a/dev-python/poetry-plugin-export/poetry-plugin-export-1.7.0.ebuild b/dev-python/poetry-plugin-export/poetry-plugin-export-1.7.0.ebuild deleted file mode 100644 index a1e7b242c958..000000000000 --- a/dev-python/poetry-plugin-export/poetry-plugin-export-1.7.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A plugin that allows the export of locked packages to various formats" -HOMEPAGE=" - https://python-poetry.org/ - https://github.com/python-poetry/poetry-plugin-export - https://pypi.org/project/poetry-plugin-export/" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/poetry-core-1.8.0[${PYTHON_USEDEP}] -" - -DEPEND=" - test? ( - dev-python/poetry[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/poetry-plugin-export/poetry-plugin-export-1.6.0.ebuild b/dev-python/poetry-plugin-export/poetry-plugin-export-1.8.0.ebuild index e09698cfb060..ca9a3d9df723 100644 --- a/dev-python/poetry-plugin-export/poetry-plugin-export-1.6.0.ebuild +++ b/dev-python/poetry-plugin-export/poetry-plugin-export-1.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -24,7 +24,7 @@ RDEPEND=" DEPEND=" test? ( - dev-python/poetry[${PYTHON_USEDEP}] + >=dev-python/poetry-1.7.0[${PYTHON_USEDEP}] >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] ) diff --git a/dev-python/poetry/Manifest b/dev-python/poetry/Manifest index 6f518beb1cab..948b21bd7e21 100644 --- a/dev-python/poetry/Manifest +++ b/dev-python/poetry/Manifest @@ -1,4 +1,2 @@ -DIST poetry-1.7.1.tar.gz 1483927 BLAKE2B d32f84cbed6f895678fba723700504cafe2bb7b1de0be0f289c0606b3c775d02e4172d74aafe58f29f9e2b5b9cb0f614b902bb9efa55ab1077a6689a8b4d331f SHA512 bf3654e9de71da35d7adfc239797dbed9813a2a1bb585b0bd9ad398706ad1628430422d0ebe7d9c3dcc1f619ad1a1a2073e9d9d3296354bf2f14a1aed5a5444e -DIST poetry-1.8.0.tar.gz 1514968 BLAKE2B 6ef6b8db6cd32c3c8d9a0759ebbfcfd4fafd79a4d236a5f48d7d1abc2d31bd93ee00686bf3623c5fbec212001dc1f2c4afce41f660b1404c39ad04815d364275 SHA512 ef2b3c6ea66d1d565ba8e17f0e4210e4406c08dd2d947deed85eb667ebfd618c3148ee0b67b5b2a020c7ddfb3fc692859de19e421c449954019d7a4b7942dd3d -DIST poetry-1.8.1.tar.gz 1514978 BLAKE2B 663b4db56e3a78a156c6f90eb2c34160c3d9a4f37762ff9df8826aabb59ba2d297f60c19a260e91bf34b40717a577fbfbd3fe9f4dc1ad9ca635a3c552da633a5 SHA512 b0d1240bdf20e46cc152e128351a4ed1b2aea86bd34a0edba662c6be403535bcf7339fdb2670807e6294f3043d2dd6296d085c03abccfd1c2c89216ddefe093b DIST poetry-1.8.2.tar.gz 1516966 BLAKE2B 6ca39b426a4117d0c2c3f12b9151d621d629f746e51ca77cda8d7f67ae2493ea9ecb7dd02f69cad3f346579fc3bb16b1117c0dad0a148763bb439c35eac673a5 SHA512 0151c264c2f353753ab7c5a248cdd30e60e33505fd915d841e789a37b18cc06f28b4f987144cd3dbf915e23f6947f6b17cb8fa316b34ce866b6b3559e73b8ddc +DIST poetry-1.8.3.tar.gz 1518910 BLAKE2B 87c06f9d72c7fbe9f821d8a1de66028d64dfb06a274d67f14d49030c0d9a21f702fc9a5c35fa3a1e75d11c8db01516182f8523e9c466398b305d908e0e02d211 SHA512 72e604e246ec8426a29151caae81bf6b0495d17af519a41a7b934f8d50496dbf77605ea3f2e03bd41fb75a0c97d274987ac0359004544ea6ea19dcc118129e05 diff --git a/dev-python/poetry/poetry-1.7.1.ebuild b/dev-python/poetry/poetry-1.7.1.ebuild deleted file mode 100644 index 35f6dc860f18..000000000000 --- a/dev-python/poetry/poetry-1.7.1.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A frontend for poetry - a python dependency management and packaging tool" -HOMEPAGE=" - https://python-poetry.org/ - https://github.com/python-poetry/poetry - https://pypi.org/project/poetry/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -# dev-python/build: 1.0 breaks backward compatibility -# https://github.com/python-poetry/poetry/issues/8434 -RDEPEND=" - >=dev-python/poetry-core-1.8.1[${PYTHON_USEDEP}] - >=dev-python/poetry-plugin-export-1.6.0[${PYTHON_USEDEP}] - >=dev-python/build-1.0.3[${PYTHON_USEDEP}] - >=dev-python/cachecontrol-0.13.0[${PYTHON_USEDEP}] - >=dev-python/cleo-2.1.0[${PYTHON_USEDEP}] - >=dev-python/crashtest-0.4.1[${PYTHON_USEDEP}] - >=dev-python/dulwich-0.21.2[${PYTHON_USEDEP}] - >=dev-python/fastjsonschema-2.18.0[${PYTHON_USEDEP}] - >=dev-python/installer-0.7.0[${PYTHON_USEDEP}] - >=dev-python/keyring-24.0.0[${PYTHON_USEDEP}] - >=dev-python/packaging-20.5[${PYTHON_USEDEP}] - >=dev-python/pexpect-4.7.0[${PYTHON_USEDEP}] - >=dev-python/pkginfo-1.9.4[${PYTHON_USEDEP}] - >=dev-python/platformdirs-3.0.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.26[${PYTHON_USEDEP}] - >=dev-python/requests-toolbelt-0.10.1[${PYTHON_USEDEP}] - >=dev-python/shellingham-1.5.0[${PYTHON_USEDEP}] - >=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}] - >=dev-python/trove-classifiers-2022.5.19[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20.23.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - ' 3.10) -" - -BDEPEND=" - test? ( - >=dev-python/deepdiff-6.3.1[${PYTHON_USEDEP}] - >=dev-python/httpretty-1.0[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - # unpin - sed -e 's:\^:>=:' \ - -e '/poetry-core/s:":">=:' \ - -e 's:,<[0-9.]*::' \ - -i pyproject.toml || die - - distutils-r1_src_prepare -} - -EPYTEST_DESELECT=( - # Tests require network (they run `pip install ...`) - tests/installation/test_chef.py::test_isolated_env_install_success - tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_directories - tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git - tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git_with_subdirectories - tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_non_wheel_files - tests/installation/test_installer.py::test_installer_with_pypi_repository - tests/installation/test_pip_installer.py::test_uninstall_git_package_nspkg_pth_cleanup - tests/masonry/builders/test_editable_builder.py::test_builder_setup_generation_runs_with_pip_editable - - # Works with network, but otherwise: Backend 'poetry.core.masonry.api' is not available. - tests/installation/test_chef.py::test_prepare_sdist - tests/installation/test_chef.py::test_prepare_directory - tests/installation/test_chef.py::test_prepare_directory_with_extensions - tests/installation/test_chef.py::test_prepare_directory_editable -) - -distutils_enable_tests pytest diff --git a/dev-python/poetry/poetry-1.8.0.ebuild b/dev-python/poetry/poetry-1.8.0.ebuild deleted file mode 100644 index b2545930acf3..000000000000 --- a/dev-python/poetry/poetry-1.8.0.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A frontend for poetry - a python dependency management and packaging tool" -HOMEPAGE=" - https://python-poetry.org/ - https://github.com/python-poetry/poetry - https://pypi.org/project/poetry/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -# dev-python/build: 1.0 breaks backward compatibility -# https://github.com/python-poetry/poetry/issues/8434 -RDEPEND=" - >=dev-python/poetry-core-1.9.0[${PYTHON_USEDEP}] - >=dev-python/poetry-plugin-export-1.6.0[${PYTHON_USEDEP}] - >=dev-python/build-1.0.3[${PYTHON_USEDEP}] - >=dev-python/cachecontrol-0.14.0[${PYTHON_USEDEP}] - >=dev-python/cleo-2.1.0[${PYTHON_USEDEP}] - >=dev-python/crashtest-0.4.1[${PYTHON_USEDEP}] - >=dev-python/dulwich-0.21.2[${PYTHON_USEDEP}] - >=dev-python/fastjsonschema-2.18.0[${PYTHON_USEDEP}] - >=dev-python/installer-0.7.0[${PYTHON_USEDEP}] - >=dev-python/keyring-24.0.0[${PYTHON_USEDEP}] - >=dev-python/packaging-20.5[${PYTHON_USEDEP}] - >=dev-python/pexpect-4.7.0[${PYTHON_USEDEP}] - >=dev-python/pkginfo-1.9.4[${PYTHON_USEDEP}] - >=dev-python/platformdirs-3.0.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.26[${PYTHON_USEDEP}] - >=dev-python/requests-toolbelt-1.0.0[${PYTHON_USEDEP}] - >=dev-python/shellingham-1.5.0[${PYTHON_USEDEP}] - >=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}] - >=dev-python/trove-classifiers-2022.5.19[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20.23.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - ' 3.10) -" - -BDEPEND=" - test? ( - >=dev-python/deepdiff-6.3.1[${PYTHON_USEDEP}] - >=dev-python/httpretty-1.0[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - # unpin - sed -e 's:\^:>=:' \ - -e '/poetry-core/s:":">=:' \ - -e 's:,<[0-9.]*::' \ - -i pyproject.toml || die - - distutils-r1_src_prepare -} - -EPYTEST_DESELECT=( - # Tests require network (they run `pip install ...`) - tests/installation/test_chef.py::test_isolated_env_install_success - tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_directories - tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git - tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git_with_subdirectories - tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_non_wheel_files - tests/installation/test_installer.py::test_installer_with_pypi_repository - tests/installation/test_pip_installer.py::test_uninstall_git_package_nspkg_pth_cleanup - tests/masonry/builders/test_editable_builder.py::test_builder_setup_generation_runs_with_pip_editable - - # Works with network, but otherwise: Backend 'poetry.core.masonry.api' is not available. - tests/installation/test_chef.py::test_prepare_sdist - tests/installation/test_chef.py::test_prepare_directory - tests/installation/test_chef.py::test_prepare_directory_with_extensions - tests/installation/test_chef.py::test_prepare_directory_editable - - # Internal test for lockfile being up-to-date - # Meaningless, also sdist does not include lockfile - tests/installation/test_installer.py::test_not_fresh_lock - - # TODO - tests/installation/test_executor.py::test_executor_known_hashes - tests/utils/env/test_env_manager.py::test_create_venv_finds_no_python_executable -) - -distutils_enable_tests pytest diff --git a/dev-python/poetry/poetry-1.8.1.ebuild b/dev-python/poetry/poetry-1.8.3.ebuild index 5126c1214c1c..8576900acfe7 100644 --- a/dev-python/poetry/poetry-1.8.1.ebuild +++ b/dev-python/poetry/poetry-1.8.3.ebuild @@ -19,8 +19,6 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -# dev-python/build: 1.0 breaks backward compatibility -# https://github.com/python-poetry/poetry/issues/8434 RDEPEND=" >=dev-python/poetry-core-1.9.0[${PYTHON_USEDEP}] >=dev-python/poetry-plugin-export-1.6.0[${PYTHON_USEDEP}] @@ -34,7 +32,7 @@ RDEPEND=" >=dev-python/keyring-24.0.0[${PYTHON_USEDEP}] >=dev-python/packaging-23.1[${PYTHON_USEDEP}] >=dev-python/pexpect-4.7.0[${PYTHON_USEDEP}] - >=dev-python/pkginfo-1.9.4[${PYTHON_USEDEP}] + >=dev-python/pkginfo-1.10[${PYTHON_USEDEP}] >=dev-python/platformdirs-3.0.0[${PYTHON_USEDEP}] >=dev-python/requests-2.26[${PYTHON_USEDEP}] >=dev-python/requests-toolbelt-1.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/portend/portend-3.2.0.ebuild b/dev-python/portend/portend-3.2.0.ebuild index 501d62570ab2..5a60c286894e 100644 --- a/dev-python/portend/portend-3.2.0.ebuild +++ b/dev-python/portend/portend-3.2.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/pretend/pretend-1.0.9-r2.ebuild b/dev-python/pretend/pretend-1.0.9-r2.ebuild index 1fcb007a5620..47c5b2e8e5f1 100644 --- a/dev-python/pretend/pretend-1.0.9-r2.ebuild +++ b/dev-python/pretend/pretend-1.0.9-r2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/priority/priority-2.0.0-r1.ebuild b/dev-python/priority/priority-2.0.0-r1.ebuild index 497d45d034c2..cc2b87a3aa13 100644 --- a/dev-python/priority/priority-2.0.0-r1.ebuild +++ b/dev-python/priority/priority-2.0.0-r1.ebuild @@ -1,11 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{10..12} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -22,19 +21,8 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv BDEPEND=" test? ( - $(python_gen_cond_dep ' - >=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") + >=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}] ) " distutils_enable_tests pytest - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - epytest -} diff --git a/dev-python/prov/Manifest b/dev-python/prov/Manifest deleted file mode 100644 index afbcb160818c..000000000000 --- a/dev-python/prov/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST prov-2.0.0.tar.gz 131878 BLAKE2B 65f14ad3a7dc6e10d03b0d778be02d3a3a7e4cae7b8aedf54117446eefe51546fb30e9ca602b2d5780fab8abde4ed1d56ed7385815db64a7879623a481b050be SHA512 6d05c88855f23d5dc22b0eccce0af935c0ad3d227b7a257ff205ad8566ed9607f614c13427ac8dd922e79bd477ca125b9d3f9492f5f65ae55ab8e8f3b9b97307 diff --git a/dev-python/prov/metadata.xml b/dev-python/prov/metadata.xml deleted file mode 100644 index d1559163dd7a..000000000000 --- a/dev-python/prov/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <longdescription lang="en"> - A library for W3C Provenance Data Model supporting PROV-O - (RDF), PROV-XML, PROV-JSON import/export Interface to - Graphviz’s Dot language. - </longdescription> - <upstream> - <remote-id type="pypi">prov</remote-id> - <remote-id type="github">trungdong/prov</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/prov/prov-2.0.0.ebuild b/dev-python/prov/prov-2.0.0.ebuild deleted file mode 100644 index a8850b2716c3..000000000000 --- a/dev-python/prov/prov-2.0.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 pypi - -DESCRIPTION="W3C provenance data dodel library" -HOMEPAGE="https://pypi.org/project/prov/" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/pydot[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - >=dev-python/networkx-1.10[${PYTHON_USEDEP}] - dev-python/rdflib[${PYTHON_USEDEP}] -" - -distutils_enable_tests setup.py - -src_prepare() { - sed -e 's/test_json_to_ttl_match/_&/' -i src/prov/tests/test_rdf.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/psutil/psutil-5.9.8.ebuild b/dev-python/psutil/psutil-5.9.8.ebuild index d67fc972a572..3bf4f4aefea9 100644 --- a/dev-python/psutil/psutil-5.9.8.ebuild +++ b/dev-python/psutil/psutil-5.9.8.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/psycopg/Manifest b/dev-python/psycopg/Manifest index dc92e609ee66..0b2f95ea1ae5 100644 --- a/dev-python/psycopg/Manifest +++ b/dev-python/psycopg/Manifest @@ -1,3 +1,4 @@ DIST psycopg-3.1.18.gh.tar.gz 503513 BLAKE2B 35e5e4cb4e5355189b387fd17e1b51d4baf08f130cc5418f9f3cb58d6baf097953b4f6a7df31579a1d87e5269e110c4476d865fe12416e2fe62abbb52e0c141c SHA512 1e27eec49f3ae99f1fec68816dff3974aa9b1f526df45ccca295c7c6703cc309ca4f8f65d7e3450b628906a938c65f8cbd1a1f3cb6a41b6e51dc5e220985af39 +DIST psycopg-3.1.19.gh.tar.gz 507073 BLAKE2B c10e2ba83f4a3bb0646d86c0f1311ae43e3fafbf9eb8ae91f8a77941dd2ef21d22c5fdeca724399bbcf5f7f010f5a3b0f78979720efec8f25613abbe568dabc9 SHA512 a7d02570632a28080ffd99fa492c2f1af623e7ca55e57e8c5d4664aff4d033ae85fc21cfbb1f85a90c48e01944ed1be68e857b5cb34c0547b51ca465bac0a361 DIST psycopg2-2.9.4.tar.gz 384017 BLAKE2B 4bc0afcc890c8a257c1ccd5c6e4e5301857a80f8b1428aa46c1473c9e18f5d2914a2e592c13336b06106217bb334d9b0321835bdd123f1627cbeb29dedf97bf7 SHA512 259088e42e0ab0d8a1a0ccf04f5e560f32c6179b4a0a0059e91bcf269baa8f4b0f1f949c332c640a2438c927a29b2c144078a861f8e18ba9c764da7c93c73b8d DIST psycopg2-2.9.9.tar.gz 384926 BLAKE2B 8418fca1329703cedfc86be74d85cae5133a0604bb8a21fa43e5359a46626d38ef227d0cd8fbbeb497e2db517a469d7f3e86b74ef9163617a547e999073a6b4c SHA512 a691fd09762221e854861dedce37b05e5354e0701feea470a6d5046960056ef02a8c9ecfa751adeba485271ea7d5834643b7d3a3c3f3270087f5ed9c68509f5f diff --git a/dev-python/psycopg/psycopg-3.1.19.ebuild b/dev-python/psycopg/psycopg-3.1.19.ebuild new file mode 100644 index 000000000000..6668926fdaef --- /dev/null +++ b/dev-python/psycopg/psycopg-3.1.19.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-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=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="PostgreSQL database adapter for Python" +HOMEPAGE=" + https://www.psycopg.org/psycopg3/ + https://github.com/psycopg/psycopg/ + https://pypi.org/project/psycopg/ +" +SRC_URI=" + https://github.com/psycopg/psycopg/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="+native-extensions" + +DEPEND=" + native-extensions? ( + >=dev-db/postgresql-8.1:= + ) + !native-extensions? ( + >=dev-db/postgresql-8.1:* + ) +" +RDEPEND=" + ${DEPEND} + >=dev-python/typing-extensions-4.1[${PYTHON_USEDEP}] +" +BDEPEND=" + native-extensions? ( + dev-python/cython[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + ) + test? ( + >=dev-db/postgresql-8.1[server] + dev-python/anyio[${PYTHON_USEDEP}] + dev-python/dnspython[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_compile() { + # Python code + ctypes backend + cd psycopg || die + distutils-r1_python_compile + + # optional C backend + if use native-extensions && [[ ${EPYTHON} != pypy3 ]]; then + local DISTUTILS_USE_PEP517=standalone + cd ../psycopg_c || die + distutils-r1_python_compile + fi + cd .. || die +} + +src_test() { + rm -r psycopg{,_c} || die + + initdb -D "${T}"/pgsql || die + # TODO: random port + pg_ctl -w -D "${T}"/pgsql start \ + -o "-h '' -k '${T}'" || die + createdb -h "${T}" test || die + + local -x PSYCOPG_TEST_DSN="host=${T} dbname=test" + distutils-r1_src_test + + pg_ctl -w -D "${T}"/pgsql stop || die +} + +python_test() { + local EPYTEST_DESELECT=( + # tests for the psycopg_pool package + tests/pool + # some broken mypy magic + tests/test_module.py::test_version + tests/test_module.py::test_version_c + tests/test_typing.py + tests/crdb/test_typing.py + # TODO, relying on undefined ordering in Python? + tests/test_dns_srv.py::test_srv + ) + + local impls=( python ) + if use native-extensions && [[ ${EPYTHON} != pypy3 ]]; then + impls+=( c ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PSYCOPG_IMPL + for PSYCOPG_IMPL in "${impls[@]}"; do + einfo "Testing with ${PSYCOPG_IMPL} implementation ..." + # leak and timing tests are fragile whereas slow tests are slow + epytest -p anyio -k "not leak" \ + -m "not timing and not slow and not flakey" + done +} diff --git a/dev-python/ptyprocess/ptyprocess-0.7.0-r1.ebuild b/dev-python/ptyprocess/ptyprocess-0.7.0-r1.ebuild index 7c04c7c2f328..d3178656cfc1 100644 --- a/dev-python/ptyprocess/ptyprocess-0.7.0-r1.ebuild +++ b/dev-python/ptyprocess/ptyprocess-0.7.0-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# 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_{9..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -18,4 +18,11 @@ LICENSE="ISC" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" -distutils_enable_tests pytest +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + + # https://github.com/pexpect/ptyprocess/pull/75 + sed -i -e '/makeSuite/d' tests/test_invalid_binary.py || die +} diff --git a/dev-python/pulsectl-asyncio/Manifest b/dev-python/pulsectl-asyncio/Manifest index 302df417b234..fb2b24db043b 100644 --- a/dev-python/pulsectl-asyncio/Manifest +++ b/dev-python/pulsectl-asyncio/Manifest @@ -1,2 +1 @@ -DIST pulsectl-asyncio-1.1.1.gh.tar.gz 19425 BLAKE2B c950dc0e003c6795fba0b122ed9b5e3c0bb61adb1a26901f467e508ff3def64bc7c0a25e4250decbbd55aedd66ef5b030ced004e797a94ee0a5988043cd7dedb SHA512 b495295ee13d54e136cd70daaf3675239aa96faa284bd2ad0d21496821ee818f67ebbe83269a4201ea0bee99b5b2b78be3945909e1b2519078bc38c2529734bf DIST pulsectl-asyncio-1.2.0.gh.tar.gz 19517 BLAKE2B 919909acfabfefa1dbea99cef6285483652649c111df6f3f6719d92e35ea548b54e6c0a60e4277b69610ee9a58c2c29c3355b7f2fe2780d773aa2c89513ce9a1 SHA512 b560c38b6d18a4c73551ae4ba34243f0043dc18426141c128c6ca3e8bd30f4d94d8718c3003ae506be038bc645ee569b77e6289b97ac913daa1e42e6b9aef03b diff --git a/dev-python/pulsectl-asyncio/pulsectl-asyncio-1.1.1.ebuild b/dev-python/pulsectl-asyncio/pulsectl-asyncio-1.1.1.ebuild deleted file mode 100644 index 3b6f81f6a6df..000000000000 --- a/dev-python/pulsectl-asyncio/pulsectl-asyncio-1.1.1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Asyncio frontend for pulsectl, Python bindings of libpulse" -HOMEPAGE=" - https://github.com/mhthies/pulsectl-asyncio/ - https://pypi.org/project/pulsectl-asyncio/ -" -# sdist is missing examples that are used in tests -SRC_URI=" - https://github.com/mhthies/pulsectl-asyncio/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/pulsectl-23.5.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - media-sound/pulseaudio-daemon - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e 's:,<=[0-9.]*::' setup.cfg || die - distutils-r1_src_prepare -} diff --git a/dev-python/pulsectl-asyncio/pulsectl-asyncio-1.2.0.ebuild b/dev-python/pulsectl-asyncio/pulsectl-asyncio-1.2.0.ebuild index 38dda5e386c8..8a6aac159959 100644 --- a/dev-python/pulsectl-asyncio/pulsectl-asyncio-1.2.0.ebuild +++ b/dev-python/pulsectl-asyncio/pulsectl-asyncio-1.2.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="amd64 ~riscv ~x86" RDEPEND=" >=dev-python/pulsectl-23.5.0[${PYTHON_USEDEP}] diff --git a/dev-python/pulsectl/Manifest b/dev-python/pulsectl/Manifest index 92b5ba72b5e8..272844960854 100644 --- a/dev-python/pulsectl/Manifest +++ b/dev-python/pulsectl/Manifest @@ -1,2 +1 @@ -DIST pulsectl-23.5.2.tar.gz 41119 BLAKE2B 45239e9b6b3e19356f7c89acb673d9287e9e38099608e246c8334a5de82bf93d813688e376cf5aedb92e6b3368ce93bae1df630726a5ae568c83d774c942f848 SHA512 4f05edd994aac1964c358c50a95f564afb40fcc6ac410d5189525312c042057954d040dc41939b665347a39453244eccc138c4c7d628ef2da62034606716ecb9 DIST pulsectl-24.4.0.tar.gz 41166 BLAKE2B 3b2d41b3077f050104e7b416cb8dbba47f4282bb90ee58c855f4f5a1e1b1183b131879e6965edf8d8b5a2466ce3381e45c7a6b92f2b64fc336d311d3d7625440 SHA512 b17fd577f9c336f762925bd423fdca665afa92a88b0dae076ca016d7c5b2b3d9ef11efd27f7339031accadef00d513f972c216a23f26cfd049516f3dbcc63d01 diff --git a/dev-python/pulsectl/pulsectl-23.5.2-r1.ebuild b/dev-python/pulsectl/pulsectl-23.5.2-r1.ebuild deleted file mode 100644 index 5c90035b5c49..000000000000 --- a/dev-python/pulsectl/pulsectl-23.5.2-r1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python high-level interface and ctypes-based bindings for PulseAudio (libpulse)" -HOMEPAGE=" - https://github.com/mk-fg/python-pulse-control/ - https://pypi.org/project/pulsectl/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~riscv ~x86" - -RDEPEND=" - media-libs/libpulse -" -BDEPEND=" - test? ( - media-sound/pulseaudio-daemon - ) -" - -distutils_enable_tests unittest diff --git a/dev-python/pulsectl/pulsectl-24.4.0.ebuild b/dev-python/pulsectl/pulsectl-24.4.0.ebuild index ac8b6d5ff25c..4d406fdcb911 100644 --- a/dev-python/pulsectl/pulsectl-24.4.0.ebuild +++ b/dev-python/pulsectl/pulsectl-24.4.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="amd64 ~riscv ~x86" RDEPEND=" media-libs/libpulse diff --git a/dev-python/puremagic/Manifest b/dev-python/puremagic/Manifest index e60787c0ae9c..34caed6c7e4b 100644 --- a/dev-python/puremagic/Manifest +++ b/dev-python/puremagic/Manifest @@ -1 +1 @@ -DIST puremagic-1.21.gh.tar.gz 296990 BLAKE2B 78709c296ee8599009f07f8fadfaa60957895d1a45d3fd5f12605a54901e2f0ab878abdb4dc121a77d2c4da922b2f5a173d13ef660a2265298716a26da28f293 SHA512 cc2c76a2ddcfacdfce778e565b07692dcd247723aa85c562ba4d8c70992f79a8f13a7bc33f1468ee37298c266d35d76febe2e6164fdc145077d68b05cfa2e1c4 +DIST puremagic-1.23.gh.tar.gz 306804 BLAKE2B b9da78fc20ee77dac85065f85a8770273ece5f97c372c42e274d272c3c389cca2ed1433774f96d1b55dff01ff542c63ad5093befa5c3530b052de32ffa142a77 SHA512 9bdb6ae0158ecf5d87e82de112ce9d988ac2b4a29d06dd06cba9c4675fe11d270c7cab611f8cb8ffb5ccd622be66fe43b441f203d27e9c4c9feb55bb81036fce diff --git a/dev-python/puremagic/puremagic-1.21.ebuild b/dev-python/puremagic/puremagic-1.23.ebuild index 191a35734637..db55407e2eb2 100644 --- a/dev-python/puremagic/puremagic-1.21.ebuild +++ b/dev-python/puremagic/puremagic-1.23.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/py/py-1.11.0-r1.ebuild b/dev-python/py/py-1.11.0-r1.ebuild index be0407a49884..27c2c38794e2 100644 --- a/dev-python/py/py-1.11.0-r1.ebuild +++ b/dev-python/py/py-1.11.0-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -22,6 +22,7 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv RESTRICT=test BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}]" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" distutils_enable_tests pytest diff --git a/dev-python/pyaml/Manifest b/dev-python/pyaml/Manifest index 4def23845efb..36a1bc105e6a 100644 --- a/dev-python/pyaml/Manifest +++ b/dev-python/pyaml/Manifest @@ -1 +1 @@ -DIST pyaml-23.12.0.tar.gz 26308 BLAKE2B 89dad4c3b2a39179389c1b2e5ea6e3d93292c86f7fe5c1b55cc136f9b5a68cf7a86c6fb75a2fe44408738e53615c0062bb72511e605a8713d4381a7dff02f8fa SHA512 f1f03baf2b0a469ffbe7d6eea806cf7623a28c96221bc710873d548d8f416160bf566f44a3a42ca3572085834889e1dd394fc9bdeefe14fe23177b61573df12c +DIST pyaml-24.4.0.tar.gz 27204 BLAKE2B f0f7c43ffdfd648945bfb20c589ab3e48000ac98a602192ba75fd1a611e12877bbc848f79b070864ac10f59b9c1796d89f35521314e827c5a7951995de86a657 SHA512 d2c1ae1f29f61d210cb822c2c1b3fa3ace81a4b863c7dfec5d75c5418537256828ee54ca545edc9ce30995ba272dfd064f7ed6009dae00910a081ffc0270546e diff --git a/dev-python/pyaml/pyaml-23.12.0.ebuild b/dev-python/pyaml/pyaml-24.4.0.ebuild index 980ac98dd21c..980ac98dd21c 100644 --- a/dev-python/pyaml/pyaml-23.12.0.ebuild +++ b/dev-python/pyaml/pyaml-24.4.0.ebuild diff --git a/dev-python/pyarrow/Manifest b/dev-python/pyarrow/Manifest index bbcab56c3705..bf2ef74d0b33 100644 --- a/dev-python/pyarrow/Manifest +++ b/dev-python/pyarrow/Manifest @@ -1 +1,2 @@ -DIST apache-arrow-15.0.2.tar.gz 21503812 BLAKE2B 5a42b3409515d7a09daff33d30e72e828e1df2e009ed746f101f4d8e6dcadb2e9c305a6cb9799d4003e1421ba666d2a2e9ba182c11b0c538fbd1aee4b3ba10ff SHA512 6c83e3be1e5840c30387f088315b74aca8e7c2d060793af70a156effb496a71e3e6af0693188c0f46f8a4a061a263a47095912ef04a5dc8141abd59075b14c78 +DIST apache-arrow-16.0.0.tar.gz 21695067 BLAKE2B aa5dfef3d8d46a53242075c165473635051d51ff28587ea8b80751232d5f75ee3ef89e0a027aa39bdc9dc03fa46ddb68e46ae2c7f40605258e47ff194f1d3979 SHA512 773f4f3eef603032c8ba0cfdc023bfd2a24bb5e41c82da354a22d7854ab153294ede1f4782cc32b27451cf1b58303f105bac61ceeb3568faea747b93e21d79e4 +DIST apache-arrow-16.1.0.tar.gz 21707079 BLAKE2B 5541c364351e59e8164f2461546bce3ddc834d70b3a03b815b681187674bdd89ccfb7eb113bf9010c821845b0c1fa51f5321bfea5b20927e6364f6452ec980d2 SHA512 28975f59e1fdde2dba4afaf4a5ba934b63db3a7f27656e2aa0af0f0d2a046c9dbfa9a6082de94629c36d03809b296566a37ea65ec5a2fc17fedac7d21e272d31 diff --git a/dev-python/pyarrow/files/pyarrow-15.0.1-32bit.patch b/dev-python/pyarrow/files/pyarrow-15.0.1-32bit.patch deleted file mode 100644 index 0b54deaf2c33..000000000000 --- a/dev-python/pyarrow/files/pyarrow-15.0.1-32bit.patch +++ /dev/null @@ -1,325 +0,0 @@ -diff --git a/pyarrow/array.pxi b/pyarrow/array.pxi -index 1416f5f43..058e0eec0 100644 ---- a/pyarrow/array.pxi -+++ b/pyarrow/array.pxi -@@ -1573,7 +1573,7 @@ cdef class Array(_PandasConvertible): - # decoding the dictionary will make sure nulls are correctly handled. - # Decoding a dictionary does imply a copy by the way, - # so it can't be done if the user requested a zero_copy. -- c_options.decode_dictionaries = not zero_copy_only -+ c_options.decode_dictionaries = True - c_options.zero_copy_only = zero_copy_only - c_options.to_numpy = True - -@@ -1585,9 +1585,6 @@ cdef class Array(_PandasConvertible): - # always convert to numpy array without pandas dependency - array = PyObject_to_object(out) - -- if isinstance(array, dict): -- array = np.take(array['dictionary'], array['indices']) -- - if writable and not array.flags.writeable: - # if the conversion already needed to a copy, writeable is True - array = array.copy() -diff --git a/pyarrow/io.pxi b/pyarrow/io.pxi -index 1897e76ef..b57980b3d 100644 ---- a/pyarrow/io.pxi -+++ b/pyarrow/io.pxi -@@ -1987,7 +1987,7 @@ def foreign_buffer(address, size, base=None): - Object that owns the referenced memory. - """ - cdef: -- intptr_t c_addr = address -+ uintptr_t c_addr = address - int64_t c_size = size - shared_ptr[CBuffer] buf - -diff --git a/pyarrow/lib.pxd b/pyarrow/lib.pxd -index 58ec34add..91c7633a7 100644 ---- a/pyarrow/lib.pxd -+++ b/pyarrow/lib.pxd -@@ -285,6 +285,8 @@ cdef class Tensor(_Weakrefable): - - cdef readonly: - DataType type -+ bytes _ssize_t_shape -+ bytes _ssize_t_strides - - cdef void init(self, const shared_ptr[CTensor]& sp_tensor) - -diff --git a/pyarrow/src/arrow/python/arrow_to_pandas.cc b/pyarrow/src/arrow/python/arrow_to_pandas.cc -index e979342b8..8354812ea 100644 ---- a/pyarrow/src/arrow/python/arrow_to_pandas.cc -+++ b/pyarrow/src/arrow/python/arrow_to_pandas.cc -@@ -2499,6 +2499,8 @@ Status ConvertChunkedArrayToPandas(const PandasOptions& options, - std::shared_ptr<ChunkedArray> arr, PyObject* py_ref, - PyObject** out) { - if (options.decode_dictionaries && arr->type()->id() == Type::DICTIONARY) { -+ // XXX we should return an error as below if options.zero_copy_only -+ // is true, but that would break compatibility with existing tests. - const auto& dense_type = - checked_cast<const DictionaryType&>(*arr->type()).value_type(); - RETURN_NOT_OK(DecodeDictionaries(options.pool, dense_type, &arr)); -diff --git a/pyarrow/src/arrow/python/io.cc b/pyarrow/src/arrow/python/io.cc -index 43f8297c5..197f8b9d3 100644 ---- a/pyarrow/src/arrow/python/io.cc -+++ b/pyarrow/src/arrow/python/io.cc -@@ -92,9 +92,12 @@ class PythonFile { - Status Seek(int64_t position, int whence) { - RETURN_NOT_OK(CheckClosed()); - -+ // NOTE: `long long` is at least 64 bits in the C standard, the cast below is -+ // therefore safe. -+ - // whence: 0 for relative to start of file, 2 for end of file -- PyObject* result = cpp_PyObject_CallMethod(file_.obj(), "seek", "(ni)", -- static_cast<Py_ssize_t>(position), whence); -+ PyObject* result = cpp_PyObject_CallMethod(file_.obj(), "seek", "(Li)", -+ static_cast<long long>(position), whence); - Py_XDECREF(result); - PY_RETURN_IF_ERROR(StatusCode::IOError); - return Status::OK(); -@@ -103,16 +106,16 @@ class PythonFile { - Status Read(int64_t nbytes, PyObject** out) { - RETURN_NOT_OK(CheckClosed()); - -- PyObject* result = cpp_PyObject_CallMethod(file_.obj(), "read", "(n)", -- static_cast<Py_ssize_t>(nbytes)); -+ PyObject* result = cpp_PyObject_CallMethod(file_.obj(), "read", "(L)", -+ static_cast<long long>(nbytes)); - PY_RETURN_IF_ERROR(StatusCode::IOError); - *out = result; - return Status::OK(); - } - - Status ReadBuffer(int64_t nbytes, PyObject** out) { -- PyObject* result = cpp_PyObject_CallMethod(file_.obj(), "read_buffer", "(n)", -- static_cast<Py_ssize_t>(nbytes)); -+ PyObject* result = cpp_PyObject_CallMethod(file_.obj(), "read_buffer", "(L)", -+ static_cast<long long>(nbytes)); - PY_RETURN_IF_ERROR(StatusCode::IOError); - *out = result; - return Status::OK(); -diff --git a/pyarrow/tensor.pxi b/pyarrow/tensor.pxi -index 1afce7f4a..c674663dc 100644 ---- a/pyarrow/tensor.pxi -+++ b/pyarrow/tensor.pxi -@@ -15,6 +15,9 @@ - # specific language governing permissions and limitations - # under the License. - -+# Avoid name clash with `pa.struct` function -+import struct as _struct -+ - - cdef class Tensor(_Weakrefable): - """ -@@ -31,7 +34,6 @@ cdef class Tensor(_Weakrefable): - shape: (2, 3) - strides: (12, 4) - """ -- - def __init__(self): - raise TypeError("Do not call Tensor's constructor directly, use one " - "of the `pyarrow.Tensor.from_*` functions instead.") -@@ -40,6 +42,14 @@ cdef class Tensor(_Weakrefable): - self.sp_tensor = sp_tensor - self.tp = sp_tensor.get() - self.type = pyarrow_wrap_data_type(self.tp.type()) -+ self._ssize_t_shape = self._make_shape_or_strides_buffer(self.shape) -+ self._ssize_t_strides = self._make_shape_or_strides_buffer(self.strides) -+ -+ def _make_shape_or_strides_buffer(self, values): -+ """ -+ Make a bytes object holding an array of `values` cast to `Py_ssize_t`. -+ """ -+ return _struct.pack(f"{len(values)}n", *values) - - def __repr__(self): - return """<pyarrow.Tensor> -@@ -282,10 +292,8 @@ strides: {0.strides}""".format(self) - buffer.readonly = 0 - else: - buffer.readonly = 1 -- # NOTE: This assumes Py_ssize_t == int64_t, and that the shape -- # and strides arrays lifetime is tied to the tensor's -- buffer.shape = <Py_ssize_t *> &self.tp.shape()[0] -- buffer.strides = <Py_ssize_t *> &self.tp.strides()[0] -+ buffer.shape = <Py_ssize_t *> cp.PyBytes_AsString(self._ssize_t_shape) -+ buffer.strides = <Py_ssize_t *> cp.PyBytes_AsString(self._ssize_t_strides) - buffer.suboffsets = NULL - - -diff --git a/pyarrow/tests/test_gdb.py b/pyarrow/tests/test_gdb.py -index d0d241cc5..0d12d710d 100644 ---- a/pyarrow/tests/test_gdb.py -+++ b/pyarrow/tests/test_gdb.py -@@ -885,32 +885,61 @@ def test_arrays_heap(gdb_arrow): - ("arrow::DurationArray of type arrow::duration" - "(arrow::TimeUnit::NANO), length 2, offset 0, null count 1 = {" - "[0] = null, [1] = -1234567890123456789ns}")) -- check_heap_repr( -- gdb_arrow, "heap_timestamp_array_s", -- ("arrow::TimestampArray of type arrow::timestamp" -- "(arrow::TimeUnit::SECOND), length 4, offset 0, null count 1 = {" -- "[0] = null, [1] = 0s [1970-01-01 00:00:00], " -- "[2] = -2203932304s [1900-02-28 12:34:56], " -- "[3] = 63730281600s [3989-07-14 00:00:00]}")) -- check_heap_repr( -- gdb_arrow, "heap_timestamp_array_ms", -- ("arrow::TimestampArray of type arrow::timestamp" -- "(arrow::TimeUnit::MILLI), length 3, offset 0, null count 1 = {" -- "[0] = null, [1] = -2203932303877ms [1900-02-28 12:34:56.123], " -- "[2] = 63730281600789ms [3989-07-14 00:00:00.789]}")) -- check_heap_repr( -- gdb_arrow, "heap_timestamp_array_us", -- ("arrow::TimestampArray of type arrow::timestamp" -- "(arrow::TimeUnit::MICRO), length 3, offset 0, null count 1 = {" -- "[0] = null, " -- "[1] = -2203932303345679us [1900-02-28 12:34:56.654321], " -- "[2] = 63730281600456789us [3989-07-14 00:00:00.456789]}")) -- check_heap_repr( -- gdb_arrow, "heap_timestamp_array_ns", -- ("arrow::TimestampArray of type arrow::timestamp" -- "(arrow::TimeUnit::NANO), length 2, offset 0, null count 1 = {" -- "[0] = null, " -- "[1] = -2203932303012345679ns [1900-02-28 12:34:56.987654321]}")) -+ if sys.maxsize > 2**32: -+ check_heap_repr( -+ gdb_arrow, "heap_timestamp_array_s", -+ ("arrow::TimestampArray of type arrow::timestamp" -+ "(arrow::TimeUnit::SECOND), length 4, offset 0, null count 1 = {" -+ "[0] = null, [1] = 0s [1970-01-01 00:00:00], " -+ "[2] = -2203932304s [1900-02-28 12:34:56], " -+ "[3] = 63730281600s [3989-07-14 00:00:00]}")) -+ check_heap_repr( -+ gdb_arrow, "heap_timestamp_array_ms", -+ ("arrow::TimestampArray of type arrow::timestamp" -+ "(arrow::TimeUnit::MILLI), length 3, offset 0, null count 1 = {" -+ "[0] = null, [1] = -2203932303877ms [1900-02-28 12:34:56.123], " -+ "[2] = 63730281600789ms [3989-07-14 00:00:00.789]}")) -+ check_heap_repr( -+ gdb_arrow, "heap_timestamp_array_us", -+ ("arrow::TimestampArray of type arrow::timestamp" -+ "(arrow::TimeUnit::MICRO), length 3, offset 0, null count 1 = {" -+ "[0] = null, " -+ "[1] = -2203932303345679us [1900-02-28 12:34:56.654321], " -+ "[2] = 63730281600456789us [3989-07-14 00:00:00.456789]}")) -+ check_heap_repr( -+ gdb_arrow, "heap_timestamp_array_ns", -+ ("arrow::TimestampArray of type arrow::timestamp" -+ "(arrow::TimeUnit::NANO), length 2, offset 0, null count 1 = {" -+ "[0] = null, " -+ "[1] = -2203932303012345679ns [1900-02-28 12:34:56.987654321]}")) -+ else: -+ # Python's datetime is limited to smaller timestamps on 32-bit platforms -+ check_heap_repr( -+ gdb_arrow, "heap_timestamp_array_s", -+ ("arrow::TimestampArray of type arrow::timestamp" -+ "(arrow::TimeUnit::SECOND), length 4, offset 0, null count 1 = {" -+ "[0] = null, [1] = 0s [1970-01-01 00:00:00], " -+ "[2] = -2203932304s [too large to represent], " -+ "[3] = 63730281600s [too large to represent]}")) -+ check_heap_repr( -+ gdb_arrow, "heap_timestamp_array_ms", -+ ("arrow::TimestampArray of type arrow::timestamp" -+ "(arrow::TimeUnit::MILLI), length 3, offset 0, null count 1 = {" -+ "[0] = null, [1] = -2203932303877ms [too large to represent], " -+ "[2] = 63730281600789ms [too large to represent]}")) -+ check_heap_repr( -+ gdb_arrow, "heap_timestamp_array_us", -+ ("arrow::TimestampArray of type arrow::timestamp" -+ "(arrow::TimeUnit::MICRO), length 3, offset 0, null count 1 = {" -+ "[0] = null, " -+ "[1] = -2203932303345679us [too large to represent], " -+ "[2] = 63730281600456789us [too large to represent]}")) -+ check_heap_repr( -+ gdb_arrow, "heap_timestamp_array_ns", -+ ("arrow::TimestampArray of type arrow::timestamp" -+ "(arrow::TimeUnit::NANO), length 2, offset 0, null count 1 = {" -+ "[0] = null, " -+ "[1] = -2203932303012345679ns [too large to represent]}")) - - # Decimal - check_heap_repr( -diff --git a/pyarrow/tests/test_io.py b/pyarrow/tests/test_io.py -index 5a495aa80..17eab871a 100644 ---- a/pyarrow/tests/test_io.py -+++ b/pyarrow/tests/test_io.py -@@ -36,7 +36,7 @@ from pyarrow import Codec - import pyarrow as pa - - --def check_large_seeks(file_factory): -+def check_large_seeks(file_factory, expected_error=None): - if sys.platform in ('win32', 'darwin'): - pytest.skip("need sparse file support") - try: -@@ -45,11 +45,16 @@ def check_large_seeks(file_factory): - f.truncate(2 ** 32 + 10) - f.seek(2 ** 32 + 5) - f.write(b'mark\n') -- with file_factory(filename) as f: -- assert f.seek(2 ** 32 + 5) == 2 ** 32 + 5 -- assert f.tell() == 2 ** 32 + 5 -- assert f.read(5) == b'mark\n' -- assert f.tell() == 2 ** 32 + 10 -+ if expected_error: -+ with expected_error: -+ file_factory(filename) -+ else: -+ with file_factory(filename) as f: -+ assert f.size() == 2 ** 32 + 10 -+ assert f.seek(2 ** 32 + 5) == 2 ** 32 + 5 -+ assert f.tell() == 2 ** 32 + 5 -+ assert f.read(5) == b'mark\n' -+ assert f.tell() == 2 ** 32 + 10 - finally: - os.unlink(filename) - -@@ -1137,7 +1142,14 @@ def test_memory_zero_length(tmpdir): - - - def test_memory_map_large_seeks(): -- check_large_seeks(pa.memory_map) -+ if sys.maxsize >= 2**32: -+ expected_error = None -+ else: -+ expected_error = pytest.raises( -+ pa.ArrowCapacityError, -+ match="Requested memory map length 4294967306 " -+ "does not fit in a C size_t") -+ check_large_seeks(pa.memory_map, expected_error=expected_error) - - - def test_memory_map_close_remove(tmpdir): -diff --git a/pyarrow/tests/test_pandas.py b/pyarrow/tests/test_pandas.py -index 8fd4b3041..168ed7e42 100644 ---- a/pyarrow/tests/test_pandas.py -+++ b/pyarrow/tests/test_pandas.py -@@ -2601,8 +2601,9 @@ class TestConvertStructTypes: - ('yy', np.bool_)])), - ('y', np.int16), - ('z', np.object_)]) -- # Note: itemsize is not a multiple of sizeof(object) -- assert dt.itemsize == 12 -+ # Note: itemsize is not necessarily a multiple of sizeof(object) -+ # object_ is 8 bytes on 64-bit systems, 4 bytes on 32-bit systems -+ assert dt.itemsize == (12 if sys.maxsize > 2**32 else 8) - ty = pa.struct([pa.field('x', pa.struct([pa.field('xx', pa.int8()), - pa.field('yy', pa.bool_())])), - pa.field('y', pa.int16()), -diff --git a/pyarrow/tests/test_schema.py b/pyarrow/tests/test_schema.py -index fa75fcea3..8793c9e77 100644 ---- a/pyarrow/tests/test_schema.py -+++ b/pyarrow/tests/test_schema.py -@@ -681,7 +681,8 @@ def test_schema_sizeof(): - pa.field('bar', pa.string()), - ]) - -- assert sys.getsizeof(schema) > 30 -+ # Note: pa.schema is twice as large on 64-bit systems -+ assert sys.getsizeof(schema) > (30 if sys.maxsize > 2**32 else 15) - - schema2 = schema.with_metadata({"key": "some metadata"}) - assert sys.getsizeof(schema2) > sys.getsizeof(schema) diff --git a/dev-python/pyarrow/pyarrow-15.0.2.ebuild b/dev-python/pyarrow/pyarrow-16.0.0.ebuild index 8f358f46c970..37167ff75b2c 100644 --- a/dev-python/pyarrow/pyarrow-15.0.2.ebuild +++ b/dev-python/pyarrow/pyarrow-16.0.0.ebuild @@ -20,12 +20,12 @@ S="${WORKDIR}/apache-arrow-${PV}/python" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm64 ~hppa ~riscv ~x86" +KEYWORDS="amd64 ~arm64 ~hppa ~loong ~riscv ~x86" IUSE="+parquet +snappy ssl" RDEPEND=" ~dev-libs/apache-arrow-${PV}[compute,dataset,json,parquet?,re2,snappy?,ssl?] - <dev-python/numpy-2:=[${PYTHON_USEDEP}] + >=dev-python/numpy-1.16.6:=[${PYTHON_USEDEP}] " BDEPEND=" test? ( @@ -38,11 +38,6 @@ BDEPEND=" EPYTEST_XDIST=1 distutils_enable_tests pytest -PATCHES=( - # upstream backports - "${FILESDIR}/${PN}-15.0.1-32bit.patch" -) - src_prepare() { # cython's -Werror sed -i -e '/--warning-errors/d' CMakeLists.txt || die @@ -80,8 +75,23 @@ python_test() { # pandas changed, i guess tests/test_pandas.py::test_array_protocol_pandas_extension_types tests/test_table.py::test_table_factory_function_args_pandas + # hypothesis health check failures + # https://github.com/apache/arrow/issues/41318 + tests/interchange/test_interchange_spec.py::test_dtypes + tests/test_convert_builtin.py::test_array_to_pylist_roundtrip + tests/test_feather.py::test_roundtrip + tests/test_pandas.py::test_array_to_pandas_roundtrip ) + if has_version ">=dev-python/numpy-2"; then + EPYTEST_DESELECT+=( + # https://github.com/apache/arrow/issues/41319 + tests/test_array.py::test_numpy_array_protocol + tests/test_table.py::test_numpy_array_protocol + ) + fi + cd "${T}" || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest --pyargs pyarrow } diff --git a/dev-python/pyarrow/pyarrow-16.1.0.ebuild b/dev-python/pyarrow/pyarrow-16.1.0.ebuild new file mode 100644 index 000000000000..068c9a2aba85 --- /dev/null +++ b/dev-python/pyarrow/pyarrow-16.1.0.ebuild @@ -0,0 +1,97 @@ +# Copyright 2023-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} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Python library for Apache Arrow" +HOMEPAGE=" + https://arrow.apache.org/ + https://github.com/apache/arrow/ + https://pypi.org/project/pyarrow/ +" +SRC_URI="mirror://apache/arrow/arrow-${PV}/apache-arrow-${PV}.tar.gz" +S="${WORKDIR}/apache-arrow-${PV}/python" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~loong ~riscv ~x86" +IUSE="+parquet +snappy ssl" + +RDEPEND=" + ~dev-libs/apache-arrow-${PV}[compute,dataset,json,parquet?,re2,snappy?,ssl?] + >=dev-python/numpy-1.16.6:=[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-libs/apache-arrow[lz4,zlib] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # cython's -Werror + sed -i -e '/--warning-errors/d' CMakeLists.txt || die + distutils-r1_src_prepare +} + +src_compile() { + export PYARROW_PARALLEL="$(makeopts_jobs)" + export PYARROW_BUILD_VERBOSE=1 + export PYARROW_CXXFLAGS="${CXXFLAGS}" + export PYARROW_BUNDLE_ARROW_CPP_HEADERS=0 + export PYARROW_CMAKE_GENERATOR=Ninja + export PYARROW_WITH_HDFS=1 + if use parquet; then + export PYARROW_WITH_DATASET=1 + export PYARROW_WITH_PARQUET=1 + use ssl && export PYARROW_WITH_PARQUET_ENCRYPTION=1 + fi + if use snappy; then + export PYARROW_WITH_SNAPPY=1 + fi + + distutils-r1_src_compile +} + +python_test() { + local EPYTEST_DESELECT=( + # wtf? + tests/test_fs.py::test_localfs_errors + # these require apache-arrow with jemalloc that doesn't seem + # to be supported by the Gentoo package + tests/test_memory.py::test_env_var + tests/test_memory.py::test_specific_memory_pools + tests/test_memory.py::test_supported_memory_backends + # pandas changed, i guess + tests/test_pandas.py::test_array_protocol_pandas_extension_types + tests/test_table.py::test_table_factory_function_args_pandas + # hypothesis health check failures + # https://github.com/apache/arrow/issues/41318 + tests/interchange/test_interchange_spec.py::test_dtypes + tests/test_convert_builtin.py::test_array_to_pylist_roundtrip + tests/test_feather.py::test_roundtrip + tests/test_pandas.py::test_array_to_pandas_roundtrip + ) + + if has_version ">=dev-python/numpy-2"; then + EPYTEST_DESELECT+=( + # https://github.com/apache/arrow/issues/41319 + tests/test_array.py::test_numpy_array_protocol + tests/test_table.py::test_numpy_array_protocol + ) + fi + + cd "${T}" || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest --pyargs pyarrow +} diff --git a/dev-python/pyasn1-modules/pyasn1-modules-0.4.0.ebuild b/dev-python/pyasn1-modules/pyasn1-modules-0.4.0.ebuild index 43184c0f45da..d3538c0b729a 100644 --- a/dev-python/pyasn1-modules/pyasn1-modules-0.4.0.ebuild +++ b/dev-python/pyasn1-modules/pyasn1-modules-0.4.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/pyasn1/pyasn1-0.6.0.ebuild b/dev-python/pyasn1/pyasn1-0.6.0.ebuild index 35ebcd6a7a62..e72d6b06866e 100644 --- a/dev-python/pyasn1/pyasn1-0.6.0.ebuild +++ b/dev-python/pyasn1/pyasn1-0.6.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/pyasynchat/pyasynchat-1.0.4.ebuild b/dev-python/pyasynchat/pyasynchat-1.0.4.ebuild index 225dec194e02..2cf8a2026140 100644 --- a/dev-python/pyasynchat/pyasynchat-1.0.4.ebuild +++ b/dev-python/pyasynchat/pyasynchat-1.0.4.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" RDEPEND=">=dev-python/pyasyncore-1.0.2[${PYTHON_USEDEP}]" diff --git a/dev-python/pyasyncore/pyasyncore-1.0.4.ebuild b/dev-python/pyasyncore/pyasyncore-1.0.4.ebuild index cf1bbbdc95c9..abc5517eceaf 100644 --- a/dev-python/pyasyncore/pyasyncore-1.0.4.ebuild +++ b/dev-python/pyasyncore/pyasyncore-1.0.4.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" python_test() { # Can't use d_e_t unittest (bug #926964) diff --git a/dev-python/pycparser/Manifest b/dev-python/pycparser/Manifest index 0ea33f798aa9..92399af68de9 100644 --- a/dev-python/pycparser/Manifest +++ b/dev-python/pycparser/Manifest @@ -1,2 +1 @@ -DIST pycparser-2.21.tar.gz 170877 BLAKE2B ae6bf42dfc552bf1e3bfb5430cdb0c15b5e011ec53cbd03e0e2507c08a1a78690cefce2de134bd984caccc5dbde90661cb4c18df5c289217967213aac4d52404 SHA512 e61fbdde484d1cf74d4b27bdde40cf2da4b7028ca8ecd37c83d77473dab707d457321aecaf97da3b114c1d58a4eb200290b76f9c958044b57e5fed949895b5f0 DIST pycparser-2.22.tar.gz 172736 BLAKE2B a080df68cf114c355949b2911a80e89ed02a64b8d1d03e3c5807222249e5dfd2491f691962885dbadcdaf323b55a05c5597319ac082dcf6c67a9ac952be9a7e2 SHA512 c9a81c78d87162f71281a32a076b279f4f7f2e17253fe14c89c6db5f9b3554a6563ff700c385549a8b51ef8832f99f7bb4ac07f22754c7c475dd91feeb0cf87f diff --git a/dev-python/pycparser/files/pycparser-2.21-lextab-cache.patch b/dev-python/pycparser/files/pycparser-2.21-lextab-cache.patch deleted file mode 100644 index d24999e7273a..000000000000 --- a/dev-python/pycparser/files/pycparser-2.21-lextab-cache.patch +++ /dev/null @@ -1,66 +0,0 @@ -From 35a279ecb9af41a6f95ddbc6a0f1beaa2472d165 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Sun, 26 Feb 2023 01:04:34 +0100 -Subject: [PATCH] _build_tables: Invalidate cache before importing generated - modules (#494) - -Make sure to invalidate finder caches before trying to import generated -modules. This is necessary according to the Python documentation: -https://docs.python.org/3/library/importlib.html#importlib.invalidate_caches - -This fixes a hard-to-reproduce bug that Python would be unable to find -just-generated `lextab.py` if mtime of the current directory did not -change from the moment the script was started. This could -e.g. be the case if one has second-precision timestamps and removes -the generated file just before starting the build, e.g.: - - $ rm pycparser/lextab.py; python -m build -nw - -It could also be reproduced easier by doing something like: - - $ cd pycparser - $ touch .; python -B _build_tables.py - Traceback (most recent call last): - File "/var/tmp/pycparser/pycparser/_build_tables.py", line 38, in <module> - import lextab - ModuleNotFoundError: No module named 'lextab' - -This is because the first command (`rm` or `touch`) updates the mtime -of the directory to the current time. If the script is run fast enough, -it manages to scan the directory and then write the new `lextab.py` -within the same second. As a result, mtime of the directory after -writing the new file is the same as when the script was started, finder -does not invalidate the cache and assumes that `lextab.py` does not -exist since it did not exist when the directory was scanned earlier. - -This potentially fixes #493. - -It was originally reported on https://bugs.gentoo.org/701878. -Thanks to Gary E. Miller for patience in reproducing the problem -and proxy-debugging it for me, as well as testing the final patch before -submission. ---- - pycparser/_build_tables.py | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/pycparser/_build_tables.py b/pycparser/_build_tables.py -index 958381ad..4f371079 100644 ---- a/pycparser/_build_tables.py -+++ b/pycparser/_build_tables.py -@@ -13,6 +13,7 @@ - # Insert '.' and '..' as first entries to the search path for modules. - # Restricted environments like embeddable python do not include the - # current working directory on startup. -+import importlib - import sys - sys.path[0:0] = ['.', '..'] - -@@ -32,6 +33,8 @@ - - # Load to compile into .pyc - # -+importlib.invalidate_caches() -+ - import lextab - import yacctab - import c_ast diff --git a/dev-python/pycparser/pycparser-2.21-r2.ebuild b/dev-python/pycparser/pycparser-2.21-r2.ebuild deleted file mode 100644 index 80938a15df34..000000000000 --- a/dev-python/pycparser/pycparser-2.21-r2.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep -EAPI=7 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="C parser and AST generator written in Python" -HOMEPAGE=" - https://github.com/eliben/pycparser/ - https://pypi.org/project/pycparser/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - dev-python/ply:=[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} -" - -distutils_enable_tests unittest - -python_prepare_all() { - local PATCHES=( - # https://github.com/eliben/pycparser/pull/494 - "${FILESDIR}"/${P}-lextab-cache.patch - ) - - # remove the original files to guarantee their regen - rm pycparser/{c_ast,lextab,yacctab}.py || die - - # kill sys.path manipulations to force the tests to use built files - sed -i -e '/sys\.path/d' tests/*.py || die - - # Ensure we can find tests in our directory - sed -i -e 's/from tests.test_util/from test_util/g' tests/test_*.py || die - - # unbundle ply - rm -r pycparser/ply || die - sed -i -e 's:\(from \)[.]\(ply\b\):\1\2:' pycparser/*.py || die - sed -i -e "s:'pycparser.ply'::" setup.py || die - - ln -s "${S}"/examples tests/examples || die - - rm tests/test_examples.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - # Skip tests if cpp is not in PATH - type -P cpp >/dev/null || return 0 - # change workdir to avoid '.' import - cd tests || die - - # Ensure that 'cpp' is called with the right arguments - # Tests don't seem to always pass the include they intend to use. - mkdir -p "${T}"/bin || die - cat > "${T}"/bin/cpp <<-EOF || die - #!${BROOT}/bin/bash - exec ${BROOT}/usr/bin/cpp -I${S}/utils/fake_libc_include/ \$@ - EOF - chmod +x "${T}"/bin/cpp || die - - PATH="${T}/bin:${PATH}" eunittest -} diff --git a/dev-python/pycparser/pycparser-2.22.ebuild b/dev-python/pycparser/pycparser-2.22.ebuild index c0a56673a0df..15bb9a347eda 100644 --- a/dev-python/pycparser/pycparser-2.22.ebuild +++ b/dev-python/pycparser/pycparser-2.22.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" RDEPEND=" dev-python/ply:=[${PYTHON_USEDEP}] diff --git a/dev-python/pycxx/Manifest b/dev-python/pycxx/Manifest index b96673e1fedf..1f467aae12e4 100644 --- a/dev-python/pycxx/Manifest +++ b/dev-python/pycxx/Manifest @@ -1,2 +1 @@ -DIST pycxx-7.1.7.tar.gz 156383 BLAKE2B 69a454615c9a7cdc57f4c357b9e3805821711bc48efb82e684da6066069ff0ee6af3b76911a705adb6f984969659441d331a8470061b514180ddf53f6494a33d SHA512 5439b2f72a7f04a628e7e93d093566654f3b4eafe78a7834005f86fb08e614f22f4d1fffb8d626e46cd56880ff7792e494ee3282b313ce668a7497d2bc1fbea9 DIST pycxx-7.1.8.tar.gz 154789 BLAKE2B e4b635d4b53ae3fd0790d6eddcd465acfc5272213e9752e7c2a1840edddb66f09bc9617373246964859125a27dc82110de6b4f4ffa44c41c94c338c846490e47 SHA512 3c9c3a23dfa9777c6a48b8600e7336cbadb60080a1051071583d534ead6c691dd9d304613073d6fb0c632eb1703b043b4214826c0ae7bd4b2ca72203ec03c0a2 diff --git a/dev-python/pycxx/pycxx-7.1.7-r1.ebuild b/dev-python/pycxx/pycxx-7.1.7-r1.ebuild deleted file mode 100644 index cadfdbb9e765..000000000000 --- a/dev-python/pycxx/pycxx-7.1.7-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -PYTHON_COMPAT=( python3_{9..12} ) -# DISTUTILS_USE_PEP517=setuptools broken, installs files to /usr/CXX -DISTUTILS_USE_SETUPTOOLS=no - -inherit distutils-r1 - -DESCRIPTION="Set of facilities to extend Python with C++" -HOMEPAGE="http://cxx.sourceforge.net" -SRC_URI="mirror://sourceforge/cxx/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="doc examples" - -python_prepare_all() { - # Without this, pysvn fails. - # Src/Python3/cxxextensions.c: No such file or directory - sed -e "/^#include/s:Src/::" -i Src/*.{c,cxx} || die "sed failed" - - distutils-r1_python_prepare_all -} - -python_install_all() { - use doc && local HTML_DOCS=( Doc/. ) - if use examples ; then - docinto examples - dodoc -r Demo/Python{2,3}/. - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/pycxx/pycxx-7.1.7.ebuild b/dev-python/pycxx/pycxx-7.1.7.ebuild deleted file mode 100644 index 520c93fdfd83..000000000000 --- a/dev-python/pycxx/pycxx-7.1.7.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -PYTHON_COMPAT=( python3_{9..11} ) -# DISTUTILS_USE_PEP517=setuptools broken, installs files to /usr/CXX -DISTUTILS_USE_SETUPTOOLS=no - -inherit distutils-r1 - -DESCRIPTION="Set of facilities to extend Python with C++" -HOMEPAGE="http://cxx.sourceforge.net" -SRC_URI="mirror://sourceforge/cxx/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="doc examples" - -python_prepare_all() { - # Without this, pysvn fails. - # Src/Python3/cxxextensions.c: No such file or directory - sed -e "/^#include/s:Src/::" -i Src/*.{c,cxx} || die "sed failed" - - distutils-r1_python_prepare_all -} - -python_install_all() { - use doc && local HTML_DOCS=( Doc/. ) - if use examples ; then - docinto examples - dodoc -r Demo/Python{2,3}/. - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/pycxx/pycxx-7.1.8.ebuild b/dev-python/pycxx/pycxx-7.1.8.ebuild index cadfdbb9e765..104eb10e7890 100644 --- a/dev-python/pycxx/pycxx-7.1.8.ebuild +++ b/dev-python/pycxx/pycxx-7.1.8.ebuild @@ -3,7 +3,7 @@ EAPI="8" -PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_COMPAT=( python3_{10..12} ) # DISTUTILS_USE_PEP517=setuptools broken, installs files to /usr/CXX DISTUTILS_USE_SETUPTOOLS=no @@ -11,11 +11,11 @@ inherit distutils-r1 DESCRIPTION="Set of facilities to extend Python with C++" HOMEPAGE="http://cxx.sourceforge.net" -SRC_URI="mirror://sourceforge/cxx/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/cxx/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="doc examples" python_prepare_all() { diff --git a/dev-python/pydantic-core/Manifest b/dev-python/pydantic-core/Manifest index 0d3156583260..ac9d75260273 100644 --- a/dev-python/pydantic-core/Manifest +++ b/dev-python/pydantic-core/Manifest @@ -20,7 +20,6 @@ DIST indexmap-2.2.2.crate 76160 BLAKE2B 1b020e3e33204e9e0cf15e0b91a6002961474320 DIST indoc-2.0.4.crate 14311 BLAKE2B 8d604e20825ae64530014081c627abe4ecec6447e1e214408743aca79ed217531baad4bd7021137ae6628555d769a248f06acc556cc3254d2626074aab110a44 SHA512 ef1b8d19d89d848c1133f2865247e0ce23cbe5552454805910ed0478ac4acb11b11629aa4a5ce8756d0ed5cbc0644abedeac0246f433166c68f47cf58cf4487a DIST itoa-1.0.8.crate 10465 BLAKE2B e518264938d044e24a4d72cab788de717c36cc7396fdbf2805fe3a3e0cdfc361c4f6fedee7bcebea6fbacff254e073da26b2400a073fa75f75523b8ed9de9938 SHA512 6171bfcd70634a2587740c145a15790e12807d2c756a25e74950daf9dd36acc662f12836c5b87e20483b4d020bc0d98a352b8e9787b0b8544bf1ee1b6a0c2c8e DIST jiter-0.0.6.crate 128330 BLAKE2B 8f745b0bcc0eb107251e059ee1b591835c6162cd7f9956d74f35f2bed3e1b9ecea9511f98ee55b8dd5f0f6cbf64f2af06493affd279612ed51aa7e8f67d25da2 SHA512 7b6cf2b5e7c83dbbca2bc435015a283c61a903a7f16c4c1c2eb4827ca1bac10a27259c634cf0d05a8cf8726b7bdedfea9f08daee63aa05ba466b1c0d47614219 -DIST jiter-0.1.0.crate 131174 BLAKE2B 345b7107155b3d0b1a552cf87fcc7d289260ede746514852750f145ff197fd50c5b96648e8a4ca01e37809d466b99f29d7f10ec99f622d278e85e7206cf0f238 SHA512 c6696a52d3a26a1d09dfe57af59e45902b6a3065af78fb4edbe4dc8bf5c7cf1163af09e2e5e9c2e16cb4262141a764a611b5fec5b44563c93b931a85a20faf76 DIST jiter-0.2.1.crate 139173 BLAKE2B 6c1b6222d4f6665294460371475bee3c2ddea26bf76218d073965444981ba2584188167f2d8a8827a72ecb7263a411d0cd0979710d0d4e5d521e3f6227e1e1cd SHA512 1777a85725a2a1485bc104609e69123d8861f15f71d5ae785fcc679b39f905749b4c3ccb523b4d546673ce35aa78fc93b724557c386988bcb0b78af33c363d37 DIST lexical-core-0.8.5.crate 26680 BLAKE2B 71f3cc95f47fa636f68d6d25612a47d4a178e2ffe484aa66760e78fb71e55633c055892647decaac08120d1b8b3b79d80d1a23d46a74d13b5e52d6b912839ea0 SHA512 f98d2b5afd331c6f4f599d24599ed8791ee3628a2fa2b8172b698cfe9a180e1ccd2da4dca4dd33fc76ef3417114c580399106d01a8d6153b45b38bceacee1018 DIST lexical-parse-float-0.8.5.crate 180161 BLAKE2B 881e4db32a21c26a1919fd1373aef1ea16a6fca3d799edb18ff0c9e4a79d481f8ade7a93f9ded2a660ad10cf815eb757f6eec7887945f8203c467e700af7a9a3 SHA512 ef012cbf18f2e306724dd700ac259aaa73b44f6c4531377deb9979c80d31ae66fc1a8b2671bd677e0ebfad8f77e9a5cf25707c67a1c5b1f554953c036cb39d46 @@ -42,23 +41,17 @@ DIST percent-encoding-2.3.1.crate 10235 BLAKE2B cf8e2fd7b359a05b7bdaf731f9ae84c7 DIST portable-atomic-1.6.0.crate 140689 BLAKE2B c91d06e04a87c9a207233d8a850859aa1f5cc43dda8aed34511c3fe9641c27412796539ed045a58e649d2a0c7d71100b6b2d78a0c662fc061fd961a652ae8722 SHA512 b27cf57655a2f1e2d6ea7b45d80b4f9920a836e462f132c50dc1e4d314e162444309de1baecf45dad2defc7a5b99759165e54da9fe759b24092f8cb8755c515c DIST proc-macro2-1.0.76.crate 45660 BLAKE2B 40b538d9d9fec10b9e4b147ce0a86efb10feedf9e0452e5568e8ad7d2b88a201ca6ffd2cd62d8815a1ee72d557fe6280120a913868c3d868c1235686742cd8b8 SHA512 2ea7ade475171166489ab3e745e8c526e49c7521bc39b1bfec6dd2fd0807fd3cc5579235f77534be855f9ecab481205e77e66b14ebb22e66d2c3cff842567247 DIST pydantic_core-2.16.3.tar.gz 368930 BLAKE2B ada18fe183c603bc78d7258235110c730a552725df383d82f202bc561be045acd52fd24e8d5753e0e15487448fdcfbb298ebf26e6ad6933b064ab72a38d5d5b7 SHA512 30b14cd4b583bacf18fdb9a3a89745b0b4c5ff91425a3b19809854bc340df7600442c7e70b1130cf899f26ab4a5593d628f897970a58402bf8a6bbd876c1634e -DIST pydantic_core-2.17.0.tar.gz 379628 BLAKE2B efc0cfa5dfe6e389ea5eb2d9c0b6fd9c8af3fb388ad41ff4c3da207b6c22ae7e8967092045a206980978a5d19b8a1c13875d3d55f3a6860e489fb8c0703175c3 SHA512 de653ca39bcae0fcf22763a03f0865b44d4af2a26ff4f3e578f4b497728eafe6f289a319278a5f59132e1f5e8b6eefbf1c0bba5ac9e11d52fa1776c1b09eeebf -DIST pydantic_core-2.18.0.tar.gz 381371 BLAKE2B 5d19dbad59171cfc47c14a790c1262517fe7a45d35dcea6b40717567ba7abea8779f6df23c7dfe054139bde5af97d39d7aa4fdee031260e896c05b602604bbd0 SHA512 712408035af623d07c4fbbd12b75846100bf51bf1a2f8431d3b6c1bffb4ce63b233ba351b7c6ce3a9e7eb7b1ffb8e1fedae57c680fb4e0e738aa003ffa5fa550 DIST pydantic_core-2.18.1.tar.gz 381997 BLAKE2B cf6878957d9494a23da18e722729da9f9e15ba112227ccb1d9bb41f411564e2d9843765b57b8c536726940d5170147a323ba1437677c3e0717cb2d304734e44b SHA512 10f5602bf8a9c9ae0cbeb0b88f093c0fe5fb0c66750e72fea424f11993f2b9aeda9455fada887ca8c9ae293de227d43f2252f2741b5f9af59636c3582e1fceb5 +DIST pydantic_core-2.18.2.tar.gz 383446 BLAKE2B 59e5a7f5c9fc911532997bf8a5f0937dcc26dd4d7e8b775bdbd9fd18ffcf2ade34686d159d2b7770a436f3b11fad5533cb556f459bc927fe5c4f33e3460423ee SHA512 d771815ac52e6aeb1779e108f7571e72d302e0b74d38f040d40eaa210259763cbbbf339824e3b35e827d6f0e2e00d7a1c019110ee93fb6908865a47fbe8a6890 DIST pyo3-0.20.2.crate 434326 BLAKE2B 3114fd6f3fb8ae7d1b35c9d2ac5ba6a49c5ac911ee3a5b941c5063263ca7cce47fa4b4f7ec34cbfe3083f3d1303fd7f061639fba833a04fedb9d5098f5784028 SHA512 cc5151a116179157046ec92677e5a72318b4cdb13a7d7e3bb83778739b5758040e5020f667dd83554a66b758581a08f5de05eb38e7b339813cec85e0712e6355 -DIST pyo3-0.21.0-beta.0.crate 496535 BLAKE2B 08c5b9b60e6bc1b41cd8d8d709adea7c46d6390e9202332c4541615bdbe7035e3de88a2d256e4f527299543b2f5c4f3aed997f98ae138568cf24d82f09acf021 SHA512 9b068f908e29af8ab2e7ad9b130fe0dd9ef370cc997e3fc5e842f3e365776b953443ddfa1caf5031c9de6a30c42877e681b55ff5241cd7a67fb7d3d3781abeb9 DIST pyo3-0.21.1.crate 503776 BLAKE2B a042478e4d4fbff9f40eac1b09c2a0fd4af54a751ca16d3bcbaaefc417ef88066c2cbf0cb758dcada9e36c378007081fb9ad0f6bb36afb2622fdf7b3ba36934e SHA512 6bf1c99b7c0c44ece16b3298f1090891cac2994e25730da8a82981f2296bc2d260b61df08897a2cd6c27c6e90deb70e4c08388fc70eeea6dea4b5cc451ed9598 DIST pyo3-build-config-0.20.2.crate 30029 BLAKE2B 846eb95d1417a658763417a2750dca1c55201105a3978d61b1db5e3962680ede188f8285dd7deec778ea9860d43e40513b88f5a54f0b1881b08416760bdbbedf SHA512 9dbc669ec69d38716c3909fa8f3b6c5be13c717b20bfd5dd11edab59b8eb35247d7996acd260fec88f92eb3e71248c86e9b40c1a700827889e2990bba20ecddf -DIST pyo3-build-config-0.21.0-beta.0.crate 30052 BLAKE2B e4faf70bd71fa009393c0c0da587e7b5219ac39654118392c7abf58d5693f274f09e08832942ba34829057562b3eb730c019c07925ea5e23fdee456092bdf05d SHA512 843f43aacb02962d9d6a68f6364a1bb7456534dd2858e187b974ce3486295e905e4d6e948dc5017a26227447cb242e53167126f0cc76462d9f90c6ce371ab7a9 DIST pyo3-build-config-0.21.1.crate 30540 BLAKE2B 4019892096ee02c25ec6484eb56da12990fc84be5c5173f524e88e8b18e5b1b113d0db1962aff44253519bd1b5f3d4f01512ba86441927c19b04911d8282a039 SHA512 9eb4fbef1015deb1d7a414181926b6b4e44acc2347379783f2fe28e212986e62bb7e36d214d3bed613e9f213a9882084af9012042d9047846f7f4948f64112de DIST pyo3-ffi-0.20.2.crate 64601 BLAKE2B cf1141ad34a13dcb46de0d1e15dda192ca41a7441bfc92a9295861876dcc690d1d5d6d39dafa51cd70c4627353efa91563eaefee8c39f655d12818003f9524da SHA512 ee6386b6fdb80689d104f9cd5229f02e1893d00a52be710bd36882c47305abbe24ef2f3cdef8200fddc0bb97e29001fa3a2fd9d3d2673ecd9a104a070420d01e -DIST pyo3-ffi-0.21.0-beta.0.crate 65112 BLAKE2B cec737068c205cbd61435ee20a8ea40cb4890118df1acc881f5d2c0abf18d195bbeab07c1c032615ec514ad8f10ce0f8d973164db2e10a27415e922c6b76097c SHA512 e256fb6519b634ad1c263fa5a1d7a227262372606aa9dbcd39495ab75c2650e9450d4d615f50de921d958c184d0d1c469b37e9e54ede67200c59155c211ad50a DIST pyo3-ffi-0.21.1.crate 66163 BLAKE2B 7d47e140d6e39d2622a77349c20466e9e161d3732b3df7a4fba258ac4b41b5bfa57e4af87dae8ab932a27c965bc9e3e10cd38195c9037cb78246e0ad10260fd1 SHA512 6d0f6d1c9d6af1255a1d709e1da6dee82c9948ddcd2c8b38c760e5fe23b6a65b050f030b46a38697aa82b5c1927fc9a20dff92cfabf1a03ca92099583a516c68 DIST pyo3-macros-0.20.2.crate 7925 BLAKE2B 00fc60becfa39bf452786d8a612247785f1737cc3e627700d0d144ab2efaadfb34ce8a8f46e932382a1ea99caebfe1946fbc517b5c26fadb0822ecaa8b2e9df0 SHA512 dd9ea9acda95dfc53689a4c26d8c2139f8a90a05ab06737037f19b8bccd5e52b0da5f297a29194b958f5f8b59cbb566b5f409b3f17a863eddf855ecb755d2719 -DIST pyo3-macros-0.21.0-beta.0.crate 7937 BLAKE2B ca0ade8113d44c348df458cc34318434a9e4ebfbd245ad09b27bff49f31d9fb80329ecbac0c552f5f49a267ca2239e48c8ba5753ef71c5a90866abe451bec49b SHA512 1d7968a4f27ecf33fe91b36d4ffddcc2822ac9d620b4ae91281a1c0da27958fc823e17c8079df60cb77e35ca597f6e296715b20a72f26a67fc9860136724904a DIST pyo3-macros-0.21.1.crate 7921 BLAKE2B 92e4323996bf6fce143d03597fb32caae16ba21591601712404d94a9bb15b37aec94b625bcc4bdb11d04876cad2a310bf41254e59285bda7719a9a27879a5e47 SHA512 4b0fdba474fec4ef4d143467425f1ad598be226a42c486adbf2d9c6dbdde8528a81222702962dd7ae63c79d3799048cb40a066d39cd538430d95b2135876ed45 DIST pyo3-macros-backend-0.20.2.crate 49710 BLAKE2B 711b18984e61219555df4b62667f7f376951c6cb47e6dd947fc24618b923c4f4f790eb1aba1901abea4761632cdb58cfa81cce91f33586da3022e6c7d126bc9f SHA512 c6ca2a2cdae8630fba3f8e4122e81b60ef2ef0905ad2a3fbcfae134456d5ca9e73690b61590e391f3b9d82c24725809f18544c5dfa0b36ffdb1914844fe65d3a -DIST pyo3-macros-backend-0.21.0-beta.0.crate 56994 BLAKE2B cb1967f21c22b8f8bede000b9a855ef0ec53259e67c7714552d212aa445f77e372407c9da4bf2ceef7e0de3c36b22958d7580f4fce6c20551cb17aac9accdf70 SHA512 3bd04694a53c459653b409e74093f19d5e0c726841d39c740bdc52019ce0ed6b1040d5380d85a613c9f762b57f391a50553b5b2bb8f34c1f3c68db47b533ca1e DIST pyo3-macros-backend-0.21.1.crate 57986 BLAKE2B 0ea13819dac723b1715a2bc3a7481a151cbcea477e7241d30791fb8d0459df375fd84229f5b2fd89e83ffae1f02f46fa20fc80bc86d5fea3fa878dd38092aebd SHA512 0529dded41726f51e51cb8f1967b8eb211814fa527fb7280e33a1e1f36e74b1b6b28e6a33041730f1edb8014239977f52095a2219cb606b519ab08e252884e2d DIST python3-dll-a-0.2.9.crate 66092 BLAKE2B 2c4baa31df7f55da8f1c6073525b4498bae7207ee38ef0eba4dbe58088609937a7d7b851c603ae62e5eb5361881e67a05d8c112d0a76aba5d99b13cdccd59d59 SHA512 1914d3ce67284f13551a4efefaeb9c11138fcca3d5082746282f64b7a36f732c6834766d981f27d862a61410eed09b3d281e0cab8cc1a46d424d04823ffaee35 DIST quote-1.0.35.crate 28136 BLAKE2B 81424245e1e2b94459df68bb3a9a866c6a364102b5e1d010ede9c5f8278f8406d7b651957d091c5914e936b494b0f6e9a6a1dd8b7d35cd7d7100f86dee4ec12e SHA512 f5314fb6af17cf36c228e1970c569c29ec248954a450a5f90ba9e2896d04f74904c9cec5a1f74325f2489295a94491eee4ce8fb461e22cd4b34e53f1f881efd2 @@ -72,15 +65,12 @@ DIST rustversion-1.0.13.crate 17267 BLAKE2B f2cc10a9d998b95bedaecb60298b11637724 DIST ryu-1.0.14.crate 46861 BLAKE2B 208fa87e54e3c6831193ddefcdfa7e9731a3b72de6ea23a4af708a15487cf4d6cbc49fd3681da078390741595ff5d44b02e607cab6ea9e37e7f5f05c7275b4a9 SHA512 9832c760d1ac674ba362639968962928971231d696e450738045ca36ae2780116ad865b2bdd96e36f14d8f92e12107dc8b75be90c74d76e3bb834a94bd6e5599 DIST scopeguard-1.1.0.crate 11470 BLAKE2B f774eb90b7d3ffb2efba47518e9d1dead4017ab4b38a4bd74914daa84a5af4bf9eb63da0496e3924499d79cd0439c37447aeda4a21226f95645bddcd6becfabe SHA512 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d DIST serde-1.0.195.crate 76856 BLAKE2B 6a80b59335f222ae48d5e377c30611f30fe6416e6853ca47a39016e21f649cb9dfbe4964ce19e5da977fb9a963228a6a81c1e85af99ae12d7a0a5722901aa2f5 SHA512 0002ecb933d08fbdc8585ee74efb4048d385459f629261f5a4a8401b794f1c02b8296db79f479013a0b2a47ba99bee6c02d60d0fc2454e32f1b038b4071e8727 -DIST serde-1.0.196.crate 77097 BLAKE2B 22403615511a7621a9d8d54fd2dcc63878cd2de0e43bff6b7921db85e19f34ee5022eb1086890edb6987428cbb707a59277ae007d1536b5d80a7da615fc3f36a SHA512 0917aa36d855ca77726d538fb7fcfcf629722c784d747b3869c0d69444c447d7b1fab556a9eb9594ddf6cc508df636fdde051a1c3909f9c691e4921946ebda19 DIST serde-1.0.197.crate 77087 BLAKE2B 4a4e04ededf5fefaabfcc4e17457db823239e8eeee7631a905ed47800ca10d26a93632e3a9d1b784b83f84168d0d649cfa2e6f5f1e68ab15a68e837cd5b6c699 SHA512 69e42825fce6a0a5d109979785daceacfd6afc5641e202fe83da32e2b1f968416557cce97fa014839e873e65f85c27494c8f8e20e6e9e4fbedf20d0291880410 DIST serde_derive-1.0.195.crate 55687 BLAKE2B 4da7916e36f71dfe82defa6c45b3075395cae54631cdff08a4607e962290020e7214288258fd316439c02536073325f5902e7b00144f97269a207fc453496599 SHA512 8a82ae4e7cfe0c3ac27688cc95d74bf4c2e10c1fe845ab28fb57579b2f47f36d13218c2ae603f93f00114065d47c3e46166dea39b205be673f443c34305dacce -DIST serde_derive-1.0.196.crate 55775 BLAKE2B 3d06b3896f0cdd1b1acdcd0046bdbfd1e8a298d6f07d12a2326ff144baaac07fcbd4af1d18b8b1188d4cc192e253fcd79860d1dbb2ecb148025449c0ac954c72 SHA512 f4df7f835e8416e4662c62a46d5f6e6d45ffd103812d681b220f8080310720e27f738a34a8e622df722fed55a1d8c654dd4abfbd78d1fdc871306bf3985baf22 DIST serde_derive-1.0.197.crate 55771 BLAKE2B 73708908b6d1e104af4c63b498bd25c5a728e07e22afdf92f15754c0f17636efe44c0560c1f0df1b9a30708e8e8894a62f1ea57c234b6dd861cb9c8dc044eb4b SHA512 669376e248b76a5ee8b9c93fd9fe6d35372e7267fbabc14730539ef28a94e405ee5e9c2cc2846897d59d6153742cdc6799f9e2c87f20b9dad119bd3a86c28994 DIST serde_json-1.0.109.crate 146459 BLAKE2B da2ba1155e88338a1ec4d677feee8241446879f64c30290fe8754eccfa5256332036fc1550abcdb53ec1785f37ee0eb81ddf1c0a3a365e82c635482377e5826d SHA512 0457074472412c21c150c33329d11aad3e3e326fe10cd328f3f43fbea0d35478966b9dbcd1ef55f6723433071be89abb45b57ea78f88ff5c79a38ae31550f31c DIST serde_json-1.0.114.crate 146986 BLAKE2B 229f0a8e2c0bc35435b49774fab9d4cec4e2323e85e2f97ccaa2a18277ecfb9cff9e9b165786e782cba043e9ac670717364b0f9c145254eefd74582b728f2186 SHA512 2c35cd0e29ee2af6046ce849b5854b82b90f402b51c04ea86b32ce7d67869736f17a4d028dd8245c31201036bcca7a1d3df11d842a92a45b0eaebd809687d436 DIST smallvec-1.11.2.crate 34801 BLAKE2B 58645e99db8f02db64d02c75860c7ea41836c427c03ee3b0b23365e73a406e4fd6ac312bf13fc5faef8bb6111c10fcfd5f839d5b3686e9b34d1626f8469fc327 SHA512 5cfb427c3b99b0dbd71f6154ed899abcde9d7d2992977ac7b2ef3a4c3ff51e4efafd133071a69609b4ed6cb269bdc26b79eb72e1988f10dfcaef8185d950cd1d -DIST smallvec-1.13.1.crate 34952 BLAKE2B e0dcf1d26883564cd4f5d20a588562404e193075b1ae011f7f7542009a9466e5df3ade7768e1a8feb8806774b2cee5f15d31779928f83714e7d4b6ed46af9ab9 SHA512 1259ef947400470b8c9e74c5582dbc1a49753aa46420883c1f7d66f320f67bebe733a15a23cd57ba461020fad4ff337a5b298de82754602a78f5e6cec969652d DIST smallvec-1.13.2.crate 35216 BLAKE2B 31a268aad595c06cdb078577a97b089dbea156a0df307a3e6aaaf4861bd9a680c5b11921da9dbdb1bcfe17d58c0cbede1ffe6bba3aef59b384fb1b9703c62d27 SHA512 a97c758b668e40ad9eb572e65feeae4954e09200a04ab92e26a13b48894381cd3a3d2571070c4b7a5e181182e1ede9688f990650342ec69ecfe1a264d234c679 DIST speedate-0.13.0.crate 30904 BLAKE2B 8633e1519be119b0e9f045051374963aca1424025a42319cd5509fb5397af05bf13d1262a9da6f2fbf4d78d109da391411e138a859fbf1b96c5149444b1f4954 SHA512 174d7043aa88c2ef9b0624686bdca2c6c4573fb10729d61e762e244e8079d6b34676956326e9f7c68a9f526ef0e5b3444e59a9701e77c6e90825c51c6d4f98c9 DIST speedate-0.14.0.crate 31499 BLAKE2B e5a63d989feafcb5183e010a431976095bce6492817e0d163e8b0fe3d640e5ef87d11569e5094d788ad7cb113c2fe7b822cbf266027095fc6f2d61ba36e8d38e SHA512 55f8f9de2767e7a4aa8f355f9a781adb7c8fbef072393d13092afc9941dde4a1d706b02d908fc82cdffffa876a87e7a336340320908899774c83c76e743e1107 diff --git a/dev-python/pydantic-core/pydantic-core-2.17.0.ebuild b/dev-python/pydantic-core/pydantic-core-2.17.0.ebuild deleted file mode 100644 index c24dcabdec7e..000000000000 --- a/dev-python/pydantic-core/pydantic-core-2.17.0.ebuild +++ /dev/null @@ -1,150 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -CRATES=" - ahash@0.8.10 - aho-corasick@1.0.2 - allocator-api2@0.2.16 - autocfg@1.1.0 - base64@0.21.7 - bitflags@1.3.2 - cc@1.0.79 - cfg-if@1.0.0 - enum_dispatch@0.3.12 - equivalent@1.0.1 - form_urlencoded@1.2.1 - getrandom@0.2.10 - hashbrown@0.14.3 - heck@0.4.1 - idna@0.5.0 - indexmap@2.2.2 - indoc@2.0.4 - itoa@1.0.8 - jiter@0.1.0 - lexical-parse-float@0.8.5 - lexical-parse-integer@0.8.6 - lexical-util@0.8.5 - libc@0.2.147 - lock_api@0.4.10 - memchr@2.6.3 - memoffset@0.9.0 - num-bigint@0.4.4 - num-integer@0.1.45 - num-traits@0.2.16 - once_cell@1.18.0 - parking_lot@0.12.1 - parking_lot_core@0.9.8 - percent-encoding@2.3.1 - portable-atomic@1.6.0 - proc-macro2@1.0.76 - pyo3-build-config@0.21.0-beta.0 - pyo3-ffi@0.21.0-beta.0 - pyo3-macros-backend@0.21.0-beta.0 - pyo3-macros@0.21.0-beta.0 - pyo3@0.21.0-beta.0 - python3-dll-a@0.2.9 - quote@1.0.35 - redox_syscall@0.3.5 - regex-automata@0.4.5 - regex-syntax@0.8.2 - regex@1.10.3 - rustversion@1.0.13 - ryu@1.0.14 - scopeguard@1.1.0 - serde@1.0.196 - serde_derive@1.0.196 - serde_json@1.0.114 - smallvec@1.13.1 - speedate@0.14.0 - static_assertions@1.1.0 - strum@0.25.0 - strum_macros@0.25.3 - strum_macros@0.26.1 - syn@2.0.48 - target-lexicon@0.12.9 - tinyvec@1.6.0 - tinyvec_macros@0.1.1 - unicode-bidi@0.3.13 - unicode-ident@1.0.10 - unicode-normalization@0.1.22 - unindent@0.2.3 - url@2.5.0 - uuid@1.7.0 - version_check@0.9.4 - wasi@0.11.0+wasi-snapshot-preview1 - windows-targets@0.48.1 - windows_aarch64_gnullvm@0.48.0 - windows_aarch64_msvc@0.48.0 - windows_i686_gnu@0.48.0 - windows_i686_msvc@0.48.0 - windows_x86_64_gnu@0.48.0 - windows_x86_64_gnullvm@0.48.0 - windows_x86_64_msvc@0.48.0 - zerocopy-derive@0.7.32 - zerocopy@0.7.32 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Core validation logic for pydantic written in Rust" -HOMEPAGE=" - https://github.com/pydantic/pydantic-core/ - https://pypi.org/project/pydantic-core/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" - Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 - || ( Apache-2.0 Boost-1.0 ) -" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=virtual/rust-1.70.0 - test? ( - >=dev-python/dirty-equals-0.5.0[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.63.0[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-3.10.0[${PYTHON_USEDEP}] - >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] - >=dev-python/pydantic-1.10.4[${PYTHON_USEDEP}] - >=dev-python/pytz-2022.7.1[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/pydantic_core/_pydantic_core.*.so" - -src_prepare() { - sed -i -e '/--benchmark/d' pyproject.toml || die - sed -i -e '/^strip/d' Cargo.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_IGNORE=( - tests/benchmarks - ) - local EPYTEST_DESELECT=( - # TODO: recursion till segfault - tests/serializers/test_functions.py::test_recursive_call - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - rm -rf pydantic_core || die - epytest -p pytest_mock -p timeout -} diff --git a/dev-python/pydantic-core/pydantic-core-2.18.0.ebuild b/dev-python/pydantic-core/pydantic-core-2.18.2.ebuild index cb5254fa3415..2ce26740b6d0 100644 --- a/dev-python/pydantic-core/pydantic-core-2.18.0.ebuild +++ b/dev-python/pydantic-core/pydantic-core-2.18.2.ebuild @@ -107,7 +107,7 @@ LICENSE+=" || ( Apache-2.0 Boost-1.0 ) " SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}] @@ -145,5 +145,7 @@ python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 rm -rf pydantic_core || die + # tests link to libpython, so they fail to link on pypy3 + [[ ${EPYTHON} != pypy3 ]] && cargo_src_test epytest -p pytest_mock -p timeout } diff --git a/dev-python/pydantic/Manifest b/dev-python/pydantic/Manifest index c7ce829be719..ce01058c028c 100644 --- a/dev-python/pydantic/Manifest +++ b/dev-python/pydantic/Manifest @@ -1,3 +1,4 @@ DIST pydantic-2.6.3.tar.gz 680427 BLAKE2B 28d8d4edcfeeae4f0ba70ed09987e26ba569c38b2c511b6d0b4277b830173302228c964f4c086ac4412a331afa3fba16d9581bd31446fb1dfb43065eb29dfc59 SHA512 2eca898328beb1f33e343d3aa7edf8847baae0569d078507a58bbe0fcf355250c72b70a33f6b79cef697f41ced91eaeee1ffc4a7712fd6fd251fd64557e390d0 DIST pydantic-2.6.4.tar.gz 680828 BLAKE2B 264698f21e4d57656f5a28651019956349a018f16b11099d4afd796329a8ad12847e45250372e5c7b189493e9c73efa624006cb2e6b5a7d77b2c45973a0d813f SHA512 9386c2e04ff71bc182be4892d1cdb910ca60ee68b7cc5c6e86a58529b51707094532dc5315bf152b147979bace3d2e4f6bb4fed546e16fe27b5ecd35c7d0541a DIST pydantic-2.7.0.tar.gz 710409 BLAKE2B 79b426edaa599dac99bb4d465690738be2fae5ffb6ba588491470d41d71fc8aecb4cf731457b00dc22911106c86d549ce11118bdc386dfba210cb5973b366aec SHA512 06254a99456a999dd5b165c032e3d5fb48a59d56beb51c1ff77d2dbf181bc2b535801307adf00f3547d5f60fd868ead8d6baf507564c52e09e1efe04c155aeb9 +DIST pydantic-2.7.1.tar.gz 713923 BLAKE2B deeb9a63b290c8c3227c386b2982e11fb9385d16cb30e3522138219aef526dd7a077ddf496c92f8e3ed34ccbe21654177c539727e75bc209915f27817dfc62df SHA512 6b85c37384629e3df5f2b58e39ee9bf67f902b1ad2b05eb1298f03da8a945fc8f0865408948ad5deef76ca1d014f360ba778d4d957b6e7e158d2aa5c22861bd9 diff --git a/dev-python/pydantic/pydantic-2.7.1.ebuild b/dev-python/pydantic/pydantic-2.7.1.ebuild new file mode 100644 index 000000000000..006fe878f0d3 --- /dev/null +++ b/dev-python/pydantic/pydantic-2.7.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Data parsing and validation using Python type hints" +HOMEPAGE=" + https://github.com/pydantic/pydantic/ + https://pypi.org/project/pydantic/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" + +RDEPEND=" + >=dev-python/annotated-types-0.4.0[${PYTHON_USEDEP}] + ~dev-python/pydantic-core-2.18.2[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.6.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}] + test? ( + dev-python/cloudpickle[${PYTHON_USEDEP}] + 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/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/benchmark/d' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=() + local EPYTEST_IGNORE=( + # require pytest-examples + tests/test_docs.py + # benchmarks + tests/benchmarks + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} diff --git a/dev-python/pydyf/Manifest b/dev-python/pydyf/Manifest index 396f07176548..1329c4921716 100644 --- a/dev-python/pydyf/Manifest +++ b/dev-python/pydyf/Manifest @@ -1 +1 @@ -DIST pydyf-0.9.0.tar.gz 17270 BLAKE2B df2068a2447a36d730d19f12917345ac85026f695193d39267a540a2776aaac6cfa4c501adec25a49183fe92b9b2e4bc089fd3be29943a09a627d4505fc6d3cb SHA512 e834026cae3782f7ac43b47bc30d21f3d1c39bcd4017823aaf01f5da4a67f924650f6e0285107d07bc63743ff4d718b3165a84c5805223305907ba3de45207a5 +DIST pydyf-0.10.0.tar.gz 17615 BLAKE2B e378f26ab2dc4d904762d967c0552f3a9d96248c0fd2687669f22c0ee3af5d35cf59c60f0dc0b015a4d1cd098a2de01d102cbf16e8c5d48b3f56299b36c55884 SHA512 7c35a818569dda0edb0dda5e31c595a65e2637594a7a6815ef3b41e34c10a4f2a1b3412af59f48fee2e72e8bf23c01e651b46130e1927645cbafc7d99c104574 diff --git a/dev-python/pydyf/pydyf-0.9.0.ebuild b/dev-python/pydyf/pydyf-0.10.0.ebuild index 8f6a893342f2..98ab68b7977d 100644 --- a/dev-python/pydyf/pydyf-0.9.0.ebuild +++ b/dev-python/pydyf/pydyf-0.10.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest index f8ed7f01d7bd..0103e03c5326 100644 --- a/dev-python/pyfakefs/Manifest +++ b/dev-python/pyfakefs/Manifest @@ -1,3 +1,2 @@ -DIST pyfakefs-5.3.5.gh.tar.gz 227359 BLAKE2B 635e41cb9892e1707555559769c01d5b575e44c5f1dd412acc05c3bed3b2dad2724ba32341b59cdecdfb658c94008e09396970349d8c1ffdcb90bf89ea82aca0 SHA512 342dc9cc0378af8cd8a9b0783fb6a1415207505ec8d4992f8fdd7e8d2bc4aada26d0803ed3b74d30b42a50dffb793c70acdeb3f28f199c0918783e1ea0a5e0d8 -DIST pyfakefs-5.4.0.gh.tar.gz 237951 BLAKE2B c71354c00f9e33248796cf02a0fc85ec53904900deebfd40e5755e23a0fc43012ce0128a8145ec2e9d6b8724f5733634810dc2018aeaaeea9301e91cee71dbf1 SHA512 e8d6bf79cd5381c0b7157741b8b0de068ea19148f48ce0841cff48e05d48dd01090ae73c5c1e633797a479631d2072a6c16350eabe6edcf0590e8e98f2b187a0 DIST pyfakefs-5.4.1.gh.tar.gz 237928 BLAKE2B 8abea2d884d69717ab754c38666633f86230e981ddb099f8f9493d4d82ff0ff73e644ec793ea5e68edc662fee72dfd833fcab068b73fd5285555d2e5d8445823 SHA512 f27ce662a443623717a91e3fe1895cbbf7a64d009b7846b61c890ebabb0c3bb978b12bb83b68460fc026f4a0cfe846afb6057b72306e822dc8ba75d6e2f1b555 +DIST pyfakefs-5.5.0.gh.tar.gz 239883 BLAKE2B cf9b91fbfbb77b012ec768ac2188ea5c611a271f50ded69cc92607d955b4dda8cacf7b0560da5a2b57f7a4aa6879fafb328357e5996d8c7c025f531530a04f4d SHA512 d9f05318f26ca9c26e0cca3c4fdf19dc3cf33bd21a6a87e1e4d8871b06eba9d8ba875301b001221ec9e0bd17c14f8aba3e61d3ec5b3c72587d28b7b5263e2a2c diff --git a/dev-python/pyfakefs/pyfakefs-5.3.5.ebuild b/dev-python/pyfakefs/pyfakefs-5.3.5.ebuild deleted file mode 100644 index 0f4599b8a6e3..000000000000 --- a/dev-python/pyfakefs/pyfakefs-5.3.5.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A fake file system that mocks the Python file system modules" -HOMEPAGE=" - https://github.com/pytest-dev/pyfakefs/ - https://pypi.org/project/pyfakefs/ -" -SRC_URI=" - https://github.com/pytest-dev/pyfakefs/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=() - local EPYTEST_IGNORE=( - # test for regression with opentimelineio package - pyfakefs/pytest_tests/segfault_test.py - # test for regression with undefined package - pyfakefs/pytest_tests/pytest_fixture_test.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p pyfakefs.pytest_plugin -} diff --git a/dev-python/pyfakefs/pyfakefs-5.4.1.ebuild b/dev-python/pyfakefs/pyfakefs-5.4.1.ebuild index 85eb97cbee97..ebe04cf6f2f1 100644 --- a/dev-python/pyfakefs/pyfakefs-5.4.1.ebuild +++ b/dev-python/pyfakefs/pyfakefs-5.4.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" distutils_enable_tests pytest diff --git a/dev-python/pyfakefs/pyfakefs-5.4.0.ebuild b/dev-python/pyfakefs/pyfakefs-5.5.0.ebuild index 85eb97cbee97..85eb97cbee97 100644 --- a/dev-python/pyfakefs/pyfakefs-5.4.0.ebuild +++ b/dev-python/pyfakefs/pyfakefs-5.5.0.ebuild diff --git a/dev-python/pyglet/pyglet-2.0.15.ebuild b/dev-python/pyglet/pyglet-2.0.15.ebuild index 28c5feeacc17..7550c173f039 100644 --- a/dev-python/pyglet/pyglet-2.0.15.ebuild +++ b/dev-python/pyglet/pyglet-2.0.15.ebuild @@ -18,7 +18,7 @@ SRC_URI="https://github.com/pyglet/pyglet/archive/v${PV}.tar.gz -> ${P}.gh.tar.g LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~loong ~riscv x86 ~amd64-linux ~x86-linux" IUSE="examples image +sound" RDEPEND=" diff --git a/dev-python/pygments-github-lexers/files/pygments-github-lexers-0.0.5-escape-sequences.patch b/dev-python/pygments-github-lexers/files/pygments-github-lexers-0.0.5-escape-sequences.patch new file mode 100644 index 000000000000..65c90e857bb2 --- /dev/null +++ b/dev-python/pygments-github-lexers/files/pygments-github-lexers-0.0.5-escape-sequences.patch @@ -0,0 +1,22 @@ +diff --git a/pygments_github_lexers/github.py b/pygments_github_lexers/github.py +index d2fa4b2..36a5c94 100644 +--- a/pygments_github_lexers/github.py ++++ b/pygments_github_lexers/github.py +@@ -53,7 +53,7 @@ class Dasm16Lexer(RegexLexer): + + # Regexes yo + char = r'[a-zA-Z$._0-9@]' +- identifier = r'(?:[a-zA-Z$_]' + char + '*|\.' + char + '+)' ++ identifier = r'(?:[a-zA-Z$_]' + char + r'*|\.' + char + '+)' + number = r'[+-]?(?:0[xX][a-zA-Z0-9]+|\d+)' + binary_number = r'0b[01_]+' + instruction = r'(?i)(' + '|'.join(INSTRUCTIONS) + ')' +@@ -379,7 +379,7 @@ class TOMLLexer(RegexLexer): + (r'#.*?$', Comment.Single), + (r'"(\\\\|\\"|[^"])*"', String), + (r'(true|false)$', Keyword.Constant), +- ('[a-zA-Z_][a-zA-Z0-9_\-]*', Name), ++ (r'[a-zA-Z_][a-zA-Z0-9_\-]*', Name), + + # Datetime + (r'\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z', Number.Integer), diff --git a/dev-python/pygments-github-lexers/metadata.xml b/dev-python/pygments-github-lexers/metadata.xml index ad287ae27558..90e6c7f88d46 100644 --- a/dev-python/pygments-github-lexers/metadata.xml +++ b/dev-python/pygments-github-lexers/metadata.xml @@ -6,7 +6,7 @@ <name>Patrick McLean</name> </maintainer> <upstream> - <remote-id type="pypi">pygments-github-lexers </remote-id> + <remote-id type="pypi">pygments-github-lexers</remote-id> <remote-id type="github">liluo/pygments-github-lexers</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5-r1.ebuild b/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5-r2.ebuild index c367787797d7..dba3d0327867 100644 --- a/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5-r1.ebuild +++ b/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 2019-2023 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} pypy3 ) +PYTHON_COMPAT=( python3_{10..12} pypy3 ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 @@ -14,7 +14,6 @@ SRC_URI="https://github.com/liluo/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" RDEPEND=" dev-python/pygments[${PYTHON_USEDEP}] @@ -23,4 +22,8 @@ BDEPEND=" ${RDEPEND} " +PATCHES=( + "${FILESDIR}/pygments-github-lexers-0.0.5-escape-sequences.patch" +) + # no tests diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest index 17e062ccb1e8..eafc2775a54c 100644 --- a/dev-python/pygments/Manifest +++ b/dev-python/pygments/Manifest @@ -1 +1,2 @@ DIST pygments-2.17.2.tar.gz 4827772 BLAKE2B 7e6db51ff35ec35981fcdd6f4a1f0a242c29e8b0947a5a3febdee35a0e4047414d49d6883b8fbf9de78b149323f0b3c86b315b03eaada557b4cd70e67917aab8 SHA512 a3408a21f4c0a9f1a81d4fae5c2924f66f1f17daf98a52c4379d6953625354f47bb8db3005e6ab09407627f592843efde12afb14e1271c1e685973eb4c238d89 +DIST pygments-2.18.0.tar.gz 4891905 BLAKE2B 4ff1cc75ca348eecb96ecefe549a1e1c9a9cc81e1829a2354c70ce6f6e538bddbb9b7f90e781bbdd6433cee36e4a99fef9adaef95ca275d1be57a33ed8a77351 SHA512 2f696fed7f2120f9e3bd5f3d2837a5d6b883434b8d0f68d039c2620213508638cedf1517375019809720d56fc52f07e3bddd0defc4707703ace5d707908c00fb diff --git a/dev-python/pygments/pygments-2.18.0.ebuild b/dev-python/pygments/pygments-2.18.0.ebuild new file mode 100644 index 000000000000..44890143e1a3 --- /dev/null +++ b/dev-python/pygments/pygments-2.18.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 bash-completion-r1 pypi + +DESCRIPTION="Pygments is a syntax highlighting package written in Python" +HOMEPAGE=" + https://pygments.org/ + https://github.com/pygments/pygments/ + https://pypi.org/project/Pygments/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +BDEPEND=" + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/wcag-contrast-ratio[${PYTHON_USEDEP}] + virtual/ttf-fonts + ) +" + +EPYTEST_DESELECT=( + # fuzzing tests, very slow + tests/test_basic_api.py::test_random_input + # incompatibility with python-ctags3, apparently + # https://github.com/pygments/pygments/issues/2486 + tests/test_html_formatter.py::test_ctags +) + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_install() { + distutils-r1_src_install + newbashcomp external/pygments.bashcomp pygmentize +} diff --git a/dev-python/pygraphviz/Manifest b/dev-python/pygraphviz/Manifest index a20353c61720..ecd5fc873fc8 100644 --- a/dev-python/pygraphviz/Manifest +++ b/dev-python/pygraphviz/Manifest @@ -1 +1,2 @@ DIST pygraphviz-1.12.tar.gz 104941 BLAKE2B 5c2d119c66837d13511ef4756093b159f45ccb2888eb2b86c1d016837059ed34bdc5cb7e69eeff013642d92ec0c2b4a1149316b0baaa742c49a34945fd2563e0 SHA512 2407fdd7de3b2f7f1d9f9e3e3fe0f19c4faad4a72db33a0b4341a01f98eecd4d240079f2d0ea5cf68a5e10236f11fd84e55fd44518611efde2fab7590e3aae90 +DIST pygraphviz-1.13.tar.gz 104642 BLAKE2B 6111c1b811d5359da673f9c43719d21e86e93e7e82e5819872fed6f87ebb74efb87dba40b5dac737b93bffcd51683f143528a135a76e3d6f62615593fdc22b88 SHA512 3159fd9fb1226974c3a6289ebc437eed394021a7fc41669e29879fa6fd5e5cb809c808a4016cfb1afaf30dc10e467e8b0fe5c3b71fb9a1f889efcf5ae6ff3597 diff --git a/dev-python/pygraphviz/pygraphviz-1.13.ebuild b/dev-python/pygraphviz/pygraphviz-1.13.ebuild new file mode 100644 index 000000000000..e60d6c6a6299 --- /dev/null +++ b/dev-python/pygraphviz/pygraphviz-1.13.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-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..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python wrapper for the Graphviz Agraph data structure" +HOMEPAGE=" + https://pygraphviz.github.io/ + https://github.com/pygraphviz/pygraphviz/ + https://pypi.org/project/pygraphviz/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~x86-linux ~ppc-macos ~x64-macos" + +# Note: only C API of graphviz is used, PYTHON_USEDEP unnecessary. +DEPEND=" + media-gfx/graphviz +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-lang/swig:0 +" + +distutils_enable_tests pytest + +src_configure() { + swig -python pygraphviz/graphviz.i || die +} + +python_test() { + cd "${BUILD_DIR}"/install || die + epytest +} + +python_install_all() { + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + + distutils-r1_python_install_all +} diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest index 91a14db0c922..c9c50f176184 100644 --- a/dev-python/pygresql/Manifest +++ b/dev-python/pygresql/Manifest @@ -1 +1 @@ -DIST PyGreSQL-6.0.tar.gz 271585 BLAKE2B 80e5dc9be955ac2b9a69b1cdbc6f164d11bd8f0386da340fc414340a7ebc7e857727f8b6570acf6696ac83daeb41ef80cc5875f4ae0ea766e838d54d96b33910 SHA512 a6ed1f252a40ae4c429c142cc408993bfe5ec7a4318cf219f977a440a3e3f823291b160843bc497e3375e5acc36b8043178f77c0f9cfd108e580e80b7a5c8eb9 +DIST pygresql-6.0.1.tar.gz 271855 BLAKE2B 76d3f18d2bdbe7aa1d4459784fd5f1d3d76feaaeb911f1679c66d1a579cef27a00af619416f03cfcd69804e4f5a997d82765c3e32d9ab371c6011b0915e3e018 SHA512 47b0296596d5d914ccd48e09f352f8da38ed82a0861a148525a675431df51b1261d03e7bbb158947d4d525d82e1790d0a4d4c4d293b29550c50965e2a4e89847 diff --git a/dev-python/pygresql/pygresql-6.0.ebuild b/dev-python/pygresql/pygresql-6.0.1.ebuild index 0e238787676b..20a92c0732cc 100644 --- a/dev-python/pygresql/pygresql-6.0.ebuild +++ b/dev-python/pygresql/pygresql-6.0.1.ebuild @@ -1,11 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 PYPI_PN="PyGreSQL" POSTGRES_COMPAT=( 9.6 {10..16} ) PYTHON_COMPAT=( python3_{10..12} ) diff --git a/dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild b/dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild index d524a8ae4ccd..9fb244f8e86c 100644 --- a/dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild +++ b/dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/pyicu/Manifest b/dev-python/pyicu/Manifest index 2577db7630f9..7894c7e93431 100644 --- a/dev-python/pyicu/Manifest +++ b/dev-python/pyicu/Manifest @@ -1 +1 @@ -DIST pyicu-v2.12.tar.bz2 195543 BLAKE2B ffee7f0d77495ca490047f6c1f280e47161a9dcebbf5525c8131a3876d10048f154aabfa2be98cd9bbe8e32cea2be86736cf7aa1b0193084b0b7dc36a45b861f SHA512 b182550a9491795699868908615a823e9e35220b6b43ef745a0e34563a133d2c9c2c5c8ae6e221f8c7117d310214828e8110f9e4113fd5cae7e724425de8fe84 +DIST pyicu-v2.13.1.tar.bz2 196960 BLAKE2B 8faf5faf1fb8246c07dfb5ace5c2ad7cf8c86a183e0fa48288c81f7de47422152af2a44392972d818542370ea6f91c592d8d520b49848389109e6b2c1aa3ee17 SHA512 f85dd31b6a505efd32c3d0ea1c996b51b9da8cdc7ce3b88c997573a4ef1506a6af7b76f48f86d64e8993878ae25abcd95b04f40ba7a4f38fbf3b4cefd79b8066 diff --git a/dev-python/pyicu/pyicu-2.12.ebuild b/dev-python/pyicu/pyicu-2.13.1.ebuild index 5b2f1fee5d3b..5a29047db1f0 100644 --- a/dev-python/pyicu/pyicu-2.12.ebuild +++ b/dev-python/pyicu/pyicu-2.13.1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-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} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index 17a5734180c6..e2f1f8c93b83 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -1 +1,3 @@ DIST pylint-3.1.0.gh.tar.gz 1433040 BLAKE2B a224af608fa5ccb256c18073a70f82c399ad23ff6df65f7ae3504c67060f5ba1cd36022c7d53a42f0f93bd4648340433601d2f479bef41a4281e8041a9d15715 SHA512 bb7f09fa8b2c6f218c0e4d74ec2d7bbcb5e9d9fa8c2aeae5a1bf899f25080251609f284959fab14dd93cc5dd911688e25d3d4e1e030a1790578bc78ef1ce2bf7 +DIST pylint-3.1.1.gh.tar.gz 1433456 BLAKE2B f51e253228b9bb2bddd2edac76c11ae1e5c712e755665bf3f808da832af313626037aded39eeb75941b7462a87668ea2de307740bd6a736d3130aa10850b5c9f SHA512 66a30a45a1ac816a1e2ff16ea774fb5b5d646f89645c8f551ab4a65feea3076e6bc1b54ff1b71e5d8586f344c02b0e85c9b34d2c5b0afba115fd92cb7cb0a3f1 +DIST pylint-3.2.0.gh.tar.gz 1440470 BLAKE2B 428222378bdcf48ab05792144548a8d050115ecac84be72922839702a11247198a959098f3aa94b5c688671ce846386de35c4d870598912be26900d98c188f7d SHA512 14368efe598d074394effc5d90764d49b8680dfafea0837568e22ab9783de664e0d7c02491bf8c94c1b2bbe8d48018063f45a25ebd04c7813ac8e6bba7786109 diff --git a/dev-python/pylint/pylint-3.1.1.ebuild b/dev-python/pylint/pylint-3.1.1.ebuild new file mode 100644 index 000000000000..467255325251 --- /dev/null +++ b/dev-python/pylint/pylint-3.1.1.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +MY_P=${P/_beta/b} +DESCRIPTION="Python code static checker" +HOMEPAGE=" + https://pypi.org/project/pylint/ + https://github.com/pylint-dev/pylint/ +" +SRC_URI=" + https://github.com/pylint-dev/pylint/archive/v${PV/_beta/b}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples" + +RDEPEND=" + <dev-python/astroid-3.2[${PYTHON_USEDEP}] + >=dev-python/astroid-3.1.0[${PYTHON_USEDEP}] + >=dev-python/dill-0.3.7[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + <dev-python/isort-6[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] + <dev-python/mccabe-0.8[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + >=dev-python/GitPython-3[${PYTHON_USEDEP}] + ' 'python*' ) + <dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + 'tests/test_functional.py::test_functional[dataclass_with_field]' + 'tests/test_functional.py::test_functional[no_name_in_module]' + 'tests/test_functional.py::test_functional[recursion_error_3159]' + 'tests/test_functional.py::test_functional[shadowed_import]' + 'tests/test_functional.py::test_functional[use_yield_from]' + 'tests/test_functional.py::test_functional[wrong_import_order]' + ) + local EPYTEST_IGNORE=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + ) + + if ! has_version "dev-python/GitPython[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/profile/test_profile_against_externals.py + tests/testutils/_primer/test_package_to_lint.py + tests/testutils/_primer/test_primer.py + ) + fi + + rm -rf pylint || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p timeout +} + +python_install_all() { + if use examples ; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pylint/pylint-3.2.0.ebuild b/dev-python/pylint/pylint-3.2.0.ebuild new file mode 100644 index 000000000000..9d4bef7bb2e5 --- /dev/null +++ b/dev-python/pylint/pylint-3.2.0.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +MY_P=${P/_beta/b} +DESCRIPTION="Python code static checker" +HOMEPAGE=" + https://pypi.org/project/pylint/ + https://github.com/pylint-dev/pylint/ +" +SRC_URI=" + https://github.com/pylint-dev/pylint/archive/v${PV/_beta/b}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples" + +RDEPEND=" + =dev-python/astroid-3.2*[${PYTHON_USEDEP}] + >=dev-python/dill-0.3.7[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + <dev-python/isort-6[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] + <dev-python/mccabe-0.8[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + >=dev-python/GitPython-3[${PYTHON_USEDEP}] + ' 'python*' ) + <dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + 'tests/test_functional.py::test_functional[dataclass_with_field]' + 'tests/test_functional.py::test_functional[no_name_in_module]' + 'tests/test_functional.py::test_functional[recursion_error_3159]' + 'tests/test_functional.py::test_functional[shadowed_import]' + 'tests/test_functional.py::test_functional[use_yield_from]' + 'tests/test_functional.py::test_functional[wrong_import_order]' + ) + local EPYTEST_IGNORE=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + ) + + if ! has_version "dev-python/GitPython[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/profile/test_profile_against_externals.py + tests/testutils/_primer/test_package_to_lint.py + tests/testutils/_primer/test_primer.py + ) + fi + + rm -rf pylint || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p timeout +} + +python_install_all() { + if use examples ; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pymdown-extensions/Manifest b/dev-python/pymdown-extensions/Manifest index 79f25d60fdbd..0ec1dfae02da 100644 --- a/dev-python/pymdown-extensions/Manifest +++ b/dev-python/pymdown-extensions/Manifest @@ -1 +1 @@ -DIST pymdown_extensions-10.7.1.tar.gz 811769 BLAKE2B ed2195a1a2262b96d444dd7d60c6330a6670cbe44a0f00f4c5a1dd80f4d2f13f0202adac5505d2fd5b6b5b02300e2d0bc62680fd92f3c00363c4123f02151a0a SHA512 60dce8fafb1935ab3d42320f9b6a3db9b60f4f4d4585b79f123103183f2a2ae9ed1256ae84992ad14b20f6969519a9c1a1b916c301a63715f867e8136be5eb2b +DIST pymdown_extensions-10.8.1.tar.gz 812097 BLAKE2B 1f9d0c2eea87ae15320ac81289532518639464d4fbf8e84fc55d0e3e14b40629960c0518c602a721d29c542d278a9ada53521fa7db228eb92f7f5aaa618dc27d SHA512 3a63086753f662cafaa0e1226d21cf90c9427c409b28898d037a3ebb566806226455b1e9e6c2f2b36781df02dfb7110fe0fb9e6df3170030af75ba5a42661ffd diff --git a/dev-python/pymdown-extensions/files/pymdown-extensions-10.7.1-md36.patch b/dev-python/pymdown-extensions/files/pymdown-extensions-10.7.1-md36.patch deleted file mode 100644 index 5c914923e6cc..000000000000 --- a/dev-python/pymdown-extensions/files/pymdown-extensions-10.7.1-md36.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 509e93de0f4d6052ff017a543aff70eb354dc590 Mon Sep 17 00:00:00 2001 -From: Isaac Muse <faceless.shop@gmail.com> -Date: Tue, 26 Mar 2024 06:40:11 -0600 -Subject: [PATCH] Fix SmartSymbols Toc test (#2344) - -Fixes #2343 ---- - tests/test_extensions/test_smartsymbols.py | 24 +++++++++++++++++++++- - 1 file changed, 23 insertions(+), 1 deletion(-) - -diff --git a/tests/test_extensions/test_smartsymbols.py b/tests/test_extensions/test_smartsymbols.py -index b438fb7d7..1a8688f0c 100644 ---- a/tests/test_extensions/test_smartsymbols.py -+++ b/tests/test_extensions/test_smartsymbols.py -@@ -1,6 +1,9 @@ - """Test cases for SmartSymbols.""" - from .. import util - import markdown -+from pymdownx.__meta__ import parse_version -+ -+PYMD_3_6 = parse_version(markdown.__version__) >= (3, 6, 0) - - - class TestSmartSymbols(util.MdCase): -@@ -139,4 +142,23 @@ def test_toc_tokens(self): - - md = markdown.Markdown(extensions=['toc', 'pymdownx.smartsymbols']) - md.convert('# *Foo* =/= `bar`') -- self.assertEqual(md.toc_tokens, [{'level': 1, 'id': 'foo-bar', 'name': 'Foo ≠ bar', 'children': []}]) -+ self.assertEqual( -+ md.toc_tokens, -+ [ -+ { -+ 'children': [], -+ 'data-toc-label': '', -+ 'html': '<em>Foo</em> ≠ <code>bar</code>', -+ 'id': 'foo-bar', -+ 'level': 1, -+ 'name': 'Foo ≠ bar' -+ } -+ ] if PYMD_3_6 else [ -+ { -+ 'level': 1, -+ 'id': 'foo-bar', -+ 'name': 'Foo ≠ bar', -+ 'children': [] -+ } -+ ] -+ ) diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.7.1.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.8.1.ebuild index b81baf88a509..8f28adec21d5 100644 --- a/dev-python/pymdown-extensions/pymdown-extensions-10.7.1.ebuild +++ b/dev-python/pymdown-extensions/pymdown-extensions-10.8.1.ebuild @@ -19,7 +19,7 @@ SLOT="0" KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" RDEPEND=" - >=dev-python/markdown-3.5[${PYTHON_USEDEP}] + >=dev-python/markdown-3.6[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] " @@ -32,11 +32,6 @@ BDEPEND=" distutils_enable_tests pytest src_prepare() { - local PATCHES=( - # https://github.com/facelessuser/pymdown-extensions/issues/2343 - "${FILESDIR}/${P}-md36.patch" - ) - # broken on pypy3; unfortunately, the parametrization is based # on indexes and these are pretty random, so we need to remove it # entirely diff --git a/dev-python/pymongo/Manifest b/dev-python/pymongo/Manifest index cd3c091ecdb3..11402fd5bbef 100644 --- a/dev-python/pymongo/Manifest +++ b/dev-python/pymongo/Manifest @@ -1 +1,4 @@ DIST mongo-python-driver-4.6.3.gh.tar.gz 1494158 BLAKE2B bc876e121364154940b2aa92049089a3b3ea4a40ea7f785012c7f2d65840d9ef6cfc7413c832712ba2b06b2030438d598dc52cbd71190524cd90d5bafa06e745 SHA512 a6911a1619663e068f2d239e1d0a74bfad7347f40f8e5044f6a09802ac83ee3cc962722ff3cdcd7af1a2ffdb3f1a170d98620b83be2c9463d66fecca01b99543 +DIST mongo-python-driver-4.7.0.gh.tar.gz 1548372 BLAKE2B 48bdddf66ab083836035dec6be4a5a227e49ef6f47493de684f3216c6b1a4231f37b674f0c527476c616809049325369a268e4f48b08317157be1a396f046fe4 SHA512 5cf80e938160cdfc7fd90494bd6e6c210a7176179f8bf1d0c1c139959e06f05efe295bf415eb816fec9bdaf245a9fe5d514b82a75441e2c13cc4d9f65c53724c +DIST mongo-python-driver-4.7.1.gh.tar.gz 1548181 BLAKE2B 7d78112b7afaf71726c56672ce4298999e0c8fcb79ac314df86e6abf92d7f721c88a9245785f559c6c3969a33ffef2391abb3f926919628c56a6849ec6a98359 SHA512 d8824c17f035b741920f9be110f7963c1636c8268c67738a03bcf573194f2a6286001c44b14c99f53407c6e546d46400e8a4d4a3d007f737a29d2c495d49e300 +DIST mongo-python-driver-4.7.2.gh.tar.gz 1548375 BLAKE2B a40dbe153f36cdf2836583aa0116f447d08376ce7980a09d0f21cea37a34ab318e5ff0b34b7fe1721cf7fc5d5443a1dbe0982d59cb941b0da8a4a99abdc7b19d SHA512 1de8bd14301e365eb53252dedaaaf8c9056dd534662543e2a500511e5f5f67a69e1f11a8a8575efdbd8852bb47b632d59762f66024d32973d20dc17c4448b9be diff --git a/dev-python/pymongo/pymongo-4.6.3.ebuild b/dev-python/pymongo/pymongo-4.6.3.ebuild index b5a56d3e3587..472ca1ccb5c0 100644 --- a/dev-python/pymongo/pymongo-4.6.3.ebuild +++ b/dev-python/pymongo/pymongo-4.6.3.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="doc kerberos +native-extensions +test-full" RDEPEND=" diff --git a/dev-python/pymongo/pymongo-4.7.0.ebuild b/dev-python/pymongo/pymongo-4.7.0.ebuild new file mode 100644 index 000000000000..6e38123e5430 --- /dev/null +++ b/dev-python/pymongo/pymongo-4.7.0.ebuild @@ -0,0 +1,156 @@ +# Copyright 1999-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=( pypy3 python3_{10..12} ) + +inherit check-reqs distutils-r1 + +MY_P=mongo-python-driver-${PV} +DESCRIPTION="Python driver for MongoDB" +HOMEPAGE=" + https://github.com/mongodb/mongo-python-driver/ + https://pypi.org/project/pymongo/ +" +SRC_URI=" + https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="doc kerberos +native-extensions +test-full" + +RDEPEND=" + <dev-python/dnspython-3.0.0[${PYTHON_USEDEP}] + kerberos? ( dev-python/kerberos[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + test-full? ( + >=dev-db/mongodb-2.6.0 + ) + ) +" + +distutils_enable_sphinx doc +distutils_enable_tests pytest + +reqcheck() { + if use test && use test-full; then + # During the tests, database size reaches 1.5G. + local CHECKREQS_DISK_BUILD=1536M + + check-reqs_${1} + fi +} + +pkg_pretend() { + reqcheck pkg_pretend +} + +pkg_setup() { + reqcheck pkg_setup +} + +python_compile() { + # causes build errors to be fatal + local -x TOX_ENV_NAME=whatever + local DISTUTILS_ARGS=() + # unconditionally implicitly disabled on pypy3 + if ! use native-extensions; then + DISTUTILS_ARGS+=( --no_ext ) + else + export PYMONGO_C_EXT_MUST_BUILD=1 + fi + + distutils-r1_python_compile +} + +python_test() { + rm -rf bson pymongo || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_DESELECT=( + # network-sandbox + test/test_client.py::ClientUnitTest::test_connection_timeout_ms_propagates_to_DNS_resolver + test/test_client.py::ClientUnitTest::test_detected_environment_logging + test/test_client.py::ClientUnitTest::test_detected_environment_warning + test/test_client.py::TestClient::test_service_name_from_kwargs + test/test_client.py::TestClient::test_srv_max_hosts_kwarg + test/test_dns.py::TestCaseInsensitive::test_connect_case_insensitive + test/test_srv_polling.py + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_custom_srvServiceName + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_invalid_type_for_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_negative_integer_for_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_positive_srvMaxHosts_and_loadBalanced=fa + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts=0_and_loadBalanced=true + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts=0_and_replicaSet + + # broken regularly by changes in mypy + test/test_typing.py::TestMypyFails::test_mypy_failures + ) + + if ! use test-full; then + # .invalid is guaranteed to return NXDOMAIN per RFC 6761 + local -x DB_IP=mongodb.invalid + epytest + return + fi + + # Yes, we need TCP/IP for that... + local -x DB_IP=127.0.0.1 + local -x DB_PORT=27000 + + local dbpath=${TMPDIR}/mongo.db + local logpath=${TMPDIR}/mongod.log + + # Now, the hard part: we need to find a free port for mongod. + # We're just trying to run it random port numbers and check the log + # for bind errors. It shall be noted that 'mongod --fork' does not + # return failure when it fails to bind. + + mkdir -p "${dbpath}" || die + while true; do + ebegin "Trying to start mongod on port ${DB_PORT}" + + LC_ALL=C \ + mongod --dbpath "${dbpath}" --nojournal \ + --bind_ip ${DB_IP} --port ${DB_PORT} \ + --unixSocketPrefix "${TMPDIR}" \ + --logpath "${logpath}" --fork \ + && sleep 2 + + # Now we need to check if the server actually started... + if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then + # yay! + eend 0 + break + elif grep -q 'Address already in use' "${logpath}"; then + # ay, someone took our port! + eend 1 + : $(( DB_PORT += 1 )) + continue + else + eend 1 + eerror "Unable to start mongod for tests. See the server log:" + eerror " ${logpath}" + die "Unable to start mongod for tests." + fi + done + + local failed + nonfatal epytest || failed=1 + + mongod --dbpath "${dbpath}" --shutdown || die + + [[ ${failed} ]] && die "Tests fail with ${EPYTHON}" + + rm -rf "${dbpath}" || die +} diff --git a/dev-python/pymongo/pymongo-4.7.1.ebuild b/dev-python/pymongo/pymongo-4.7.1.ebuild new file mode 100644 index 000000000000..6e38123e5430 --- /dev/null +++ b/dev-python/pymongo/pymongo-4.7.1.ebuild @@ -0,0 +1,156 @@ +# Copyright 1999-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=( pypy3 python3_{10..12} ) + +inherit check-reqs distutils-r1 + +MY_P=mongo-python-driver-${PV} +DESCRIPTION="Python driver for MongoDB" +HOMEPAGE=" + https://github.com/mongodb/mongo-python-driver/ + https://pypi.org/project/pymongo/ +" +SRC_URI=" + https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="doc kerberos +native-extensions +test-full" + +RDEPEND=" + <dev-python/dnspython-3.0.0[${PYTHON_USEDEP}] + kerberos? ( dev-python/kerberos[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + test-full? ( + >=dev-db/mongodb-2.6.0 + ) + ) +" + +distutils_enable_sphinx doc +distutils_enable_tests pytest + +reqcheck() { + if use test && use test-full; then + # During the tests, database size reaches 1.5G. + local CHECKREQS_DISK_BUILD=1536M + + check-reqs_${1} + fi +} + +pkg_pretend() { + reqcheck pkg_pretend +} + +pkg_setup() { + reqcheck pkg_setup +} + +python_compile() { + # causes build errors to be fatal + local -x TOX_ENV_NAME=whatever + local DISTUTILS_ARGS=() + # unconditionally implicitly disabled on pypy3 + if ! use native-extensions; then + DISTUTILS_ARGS+=( --no_ext ) + else + export PYMONGO_C_EXT_MUST_BUILD=1 + fi + + distutils-r1_python_compile +} + +python_test() { + rm -rf bson pymongo || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_DESELECT=( + # network-sandbox + test/test_client.py::ClientUnitTest::test_connection_timeout_ms_propagates_to_DNS_resolver + test/test_client.py::ClientUnitTest::test_detected_environment_logging + test/test_client.py::ClientUnitTest::test_detected_environment_warning + test/test_client.py::TestClient::test_service_name_from_kwargs + test/test_client.py::TestClient::test_srv_max_hosts_kwarg + test/test_dns.py::TestCaseInsensitive::test_connect_case_insensitive + test/test_srv_polling.py + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_custom_srvServiceName + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_invalid_type_for_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_negative_integer_for_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_positive_srvMaxHosts_and_loadBalanced=fa + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts=0_and_loadBalanced=true + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts=0_and_replicaSet + + # broken regularly by changes in mypy + test/test_typing.py::TestMypyFails::test_mypy_failures + ) + + if ! use test-full; then + # .invalid is guaranteed to return NXDOMAIN per RFC 6761 + local -x DB_IP=mongodb.invalid + epytest + return + fi + + # Yes, we need TCP/IP for that... + local -x DB_IP=127.0.0.1 + local -x DB_PORT=27000 + + local dbpath=${TMPDIR}/mongo.db + local logpath=${TMPDIR}/mongod.log + + # Now, the hard part: we need to find a free port for mongod. + # We're just trying to run it random port numbers and check the log + # for bind errors. It shall be noted that 'mongod --fork' does not + # return failure when it fails to bind. + + mkdir -p "${dbpath}" || die + while true; do + ebegin "Trying to start mongod on port ${DB_PORT}" + + LC_ALL=C \ + mongod --dbpath "${dbpath}" --nojournal \ + --bind_ip ${DB_IP} --port ${DB_PORT} \ + --unixSocketPrefix "${TMPDIR}" \ + --logpath "${logpath}" --fork \ + && sleep 2 + + # Now we need to check if the server actually started... + if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then + # yay! + eend 0 + break + elif grep -q 'Address already in use' "${logpath}"; then + # ay, someone took our port! + eend 1 + : $(( DB_PORT += 1 )) + continue + else + eend 1 + eerror "Unable to start mongod for tests. See the server log:" + eerror " ${logpath}" + die "Unable to start mongod for tests." + fi + done + + local failed + nonfatal epytest || failed=1 + + mongod --dbpath "${dbpath}" --shutdown || die + + [[ ${failed} ]] && die "Tests fail with ${EPYTHON}" + + rm -rf "${dbpath}" || die +} diff --git a/dev-python/pymongo/pymongo-4.7.2.ebuild b/dev-python/pymongo/pymongo-4.7.2.ebuild new file mode 100644 index 000000000000..9f363c52e2f0 --- /dev/null +++ b/dev-python/pymongo/pymongo-4.7.2.ebuild @@ -0,0 +1,159 @@ +# Copyright 1999-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=( pypy3 python3_{10..12} ) + +inherit check-reqs distutils-r1 + +MY_P=mongo-python-driver-${PV} +DESCRIPTION="Python driver for MongoDB" +HOMEPAGE=" + https://github.com/mongodb/mongo-python-driver/ + https://pypi.org/project/pymongo/ +" +SRC_URI=" + https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="doc kerberos +native-extensions +test-full" + +RDEPEND=" + <dev-python/dnspython-3.0.0[${PYTHON_USEDEP}] + kerberos? ( dev-python/kerberos[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + test-full? ( + >=dev-db/mongodb-2.6.0 + ) + ) +" + +distutils_enable_sphinx doc +distutils_enable_tests pytest + +reqcheck() { + if use test && use test-full; then + # During the tests, database size reaches 1.5G. + local CHECKREQS_DISK_BUILD=1536M + + check-reqs_${1} + fi +} + +pkg_pretend() { + reqcheck pkg_pretend +} + +pkg_setup() { + reqcheck pkg_setup +} + +python_compile() { + # causes build errors to be fatal + local -x TOX_ENV_NAME=whatever + local DISTUTILS_ARGS=() + # unconditionally implicitly disabled on pypy3 + if ! use native-extensions; then + DISTUTILS_ARGS+=( --no_ext ) + else + export PYMONGO_C_EXT_MUST_BUILD=1 + fi + + distutils-r1_python_compile +} + +python_test() { + rm -rf bson pymongo || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_DESELECT=( + # network-sandbox + test/test_client.py::ClientUnitTest::test_connection_timeout_ms_propagates_to_DNS_resolver + test/test_client.py::ClientUnitTest::test_detected_environment_logging + test/test_client.py::ClientUnitTest::test_detected_environment_warning + test/test_client.py::TestClient::test_service_name_from_kwargs + test/test_client.py::TestClient::test_srv_max_hosts_kwarg + test/test_dns.py::TestCaseInsensitive::test_connect_case_insensitive + test/test_srv_polling.py + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_custom_srvServiceName + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_invalid_type_for_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_negative_integer_for_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_positive_srvMaxHosts_and_loadBalanced=fa + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts=0_and_loadBalanced=true + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts=0_and_replicaSet + + # broken regularly by changes in mypy + test/test_typing.py::TestMypyFails::test_mypy_failures + + # fragile to timing? fails because we're getting too many logs + test/test_connection_logging.py::TestConnectionLoggingConnectionPoolOptions::test_maxConnecting_should_be_included_in_connection_pool_created_message_when_specified + ) + + if ! use test-full; then + # .invalid is guaranteed to return NXDOMAIN per RFC 6761 + local -x DB_IP=mongodb.invalid + epytest + return + fi + + # Yes, we need TCP/IP for that... + local -x DB_IP=127.0.0.1 + local -x DB_PORT=27000 + + local dbpath=${TMPDIR}/mongo.db + local logpath=${TMPDIR}/mongod.log + + # Now, the hard part: we need to find a free port for mongod. + # We're just trying to run it random port numbers and check the log + # for bind errors. It shall be noted that 'mongod --fork' does not + # return failure when it fails to bind. + + mkdir -p "${dbpath}" || die + while true; do + ebegin "Trying to start mongod on port ${DB_PORT}" + + LC_ALL=C \ + mongod --dbpath "${dbpath}" --nojournal \ + --bind_ip ${DB_IP} --port ${DB_PORT} \ + --unixSocketPrefix "${TMPDIR}" \ + --logpath "${logpath}" --fork \ + && sleep 2 + + # Now we need to check if the server actually started... + if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then + # yay! + eend 0 + break + elif grep -q 'Address already in use' "${logpath}"; then + # ay, someone took our port! + eend 1 + : $(( DB_PORT += 1 )) + continue + else + eend 1 + eerror "Unable to start mongod for tests. See the server log:" + eerror " ${logpath}" + die "Unable to start mongod for tests." + fi + done + + local failed + nonfatal epytest || failed=1 + + mongod --dbpath "${dbpath}" --shutdown || die + + [[ ${failed} ]] && die "Tests fail with ${EPYTHON}" + + rm -rf "${dbpath}" || die +} diff --git a/dev-python/pyopenssl/Manifest b/dev-python/pyopenssl/Manifest index 59bb1bcc43ab..1388b95983dd 100644 --- a/dev-python/pyopenssl/Manifest +++ b/dev-python/pyopenssl/Manifest @@ -1,2 +1 @@ -DIST pyOpenSSL-24.0.0.tar.gz 183238 BLAKE2B 93c75bd323ceb65945fa57a586403c2166b949ce0d4d158b94dc6c40b49373f63e38b0a2cdf2478ab8f6d5d12feeb261324fa13f06040f91b92fffce408d1071 SHA512 32503eeb8b03d9f7dc580c9a2fbbc009a1498b444d17751253bccf8344897408e6d99043dae01385d00bd56fa5aa7d486a43fdc81b1d14cc59fa372c9e58c4e8 DIST pyOpenSSL-24.1.0.tar.gz 179671 BLAKE2B d49139e9604e854427005adb17cbc8926fa4e10390b36446f9c95dbe81802bb8b97c2e6f1ea8f91dfd74733631292c88536c4f9772647e6d4b449b4d01ed6355 SHA512 acb07025f085d2fe9338e5ce5f65937001b1a8376c41ac532e9b0548668ce05c844e3e28c58efad812a034becf8e24aa9504165ff6af4c3b085cf463fa4d2fb6 diff --git a/dev-python/pyopenssl/pyopenssl-24.0.0.ebuild b/dev-python/pyopenssl/pyopenssl-24.0.0.ebuild deleted file mode 100644 index f46970a8343b..000000000000 --- a/dev-python/pyopenssl/pyopenssl-24.0.0.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -PYPI_NO_NORMALIZE=1 -PYPI_PN=pyOpenSSL - -inherit distutils-r1 toolchain-funcs pypi - -DESCRIPTION="Python interface to the OpenSSL library" -HOMEPAGE=" - https://www.pyopenssl.org/ - https://github.com/pyca/pyopenssl/ - https://pypi.org/project/pyOpenSSL/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - <dev-python/cryptography-43[${PYTHON_USEDEP}] - >=dev-python/cryptography-41.0.5[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - dev-python/cffi[${PYTHON_USEDEP}] - ' 'python*') - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx doc \ - dev-python/sphinx-rtd-theme -distutils_enable_tests pytest - -src_test() { - local -x TZ=UTC - local EPYTEST_DESELECT=( - tests/test_ssl.py::TestContext::test_set_default_verify_paths - ) - - # test for 32-bit time_t - "$(tc-getCC)" ${CFLAGS} ${CPPFLAGS} -c -x c - -o /dev/null <<-EOF &>/dev/null - #include <sys/types.h> - int test[sizeof(time_t) >= 8 ? 1 : -1]; - EOF - - if [[ ${?} -eq 0 ]]; then - einfo "time_t is at least 64-bit long" - else - einfo "time_t is smaller than 64 bits, will skip broken tests" - EPYTEST_DESELECT+=( - tests/test_crypto.py::TestX509StoreContext::test_verify_with_time - ) - fi - - distutils-r1_src_test -} diff --git a/dev-python/pyopenssl/pyopenssl-24.1.0.ebuild b/dev-python/pyopenssl/pyopenssl-24.1.0.ebuild index 22abe66ebc2c..178755aefabc 100644 --- a/dev-python/pyopenssl/pyopenssl-24.1.0.ebuild +++ b/dev-python/pyopenssl/pyopenssl-24.1.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) PYTHON_REQ_USE="threads(+)" PYPI_NO_NORMALIZE=1 @@ -21,7 +21,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" <dev-python/cryptography-43[${PYTHON_USEDEP}] @@ -62,5 +62,10 @@ src_test() { ) fi + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 distutils-r1_src_test } + +python_test() { + epytest -p rerunfailures +} diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 9b0dd8cd2fab..553a63109660 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,3 +1,2 @@ -DIST pypdf-4.1.0.gh.tar.gz 8005929 BLAKE2B 3bec62a86dc8503a8738ea14941db6f66181784288d51f345f6d0a973e80c984c676814820ee68d7d5372931272747a22def10928f935ea7bdef2f2a5cdffd28 SHA512 1dac8f45d24406b17a6c0872fdac928b2aa8e434d64b5f8bd3359ca58f51e7a936d0990d3a7d4b4bbd433ca1497e343838ab0dbd3d22f2db32575472f1a660c9 DIST pypdf-4.2.0.gh.tar.gz 8009612 BLAKE2B a21108679a6dd5d9bc16aaf4a9c1beaaab875f0a8f974722d6d318635eecee82bc37c7c4c175816079ce9604f8b88f07f31458b08994833a25ee18bc46cbc294 SHA512 99fe599a81ae7e115ee6fca82ffabaff613ee49756a7e937de32a4d59b5731effe5cc3a076d92423b2299896a6ecab41ab5096aea6836fec79ba637e2c7b7620 DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3 diff --git a/dev-python/pypdf/pypdf-4.1.0.ebuild b/dev-python/pypdf/pypdf-4.1.0.ebuild deleted file mode 100644 index 709812e904b3..000000000000 --- a/dev-python/pypdf/pypdf-4.1.0.ebuild +++ /dev/null @@ -1,62 +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..12} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=8c405ece5eff12396a34a1fae3276132002e1753 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 arm64 ~ppc64 x86" - -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - tests/test_reader.py::test_decode_permissions - tests/test_workflows.py::test_text_extraction_layout_mode - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations - tests/test_writer.py::test_remove_image_per_type - tests/test_generic.py::test_name_object - # Internet - tests/test_generic.py::test_calling_indirect_objects - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -o addopts= -m "not enable_socket" -} diff --git a/dev-python/pypdf/pypdf-4.2.0.ebuild b/dev-python/pypdf/pypdf-4.2.0.ebuild index 50fccfce8014..c9bd81008f5f 100644 --- a/dev-python/pypdf/pypdf-4.2.0.ebuild +++ b/dev-python/pypdf/pypdf-4.2.0.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 arm64 ~ppc64 x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/pyphen/Manifest b/dev-python/pyphen/Manifest index 7767458016e3..b6f0d16bf5a7 100644 --- a/dev-python/pyphen/Manifest +++ b/dev-python/pyphen/Manifest @@ -1 +1 @@ -DIST pyphen-0.14.0.tar.gz 1986988 BLAKE2B 3513ad1c9fbcc05318764f862a01bc4bbd6ad6a86f120ad93f8ff1d2a979984c35554db85943b5b7423f97e44ea933c64a3bf9c90aeb18629d215292466581b6 SHA512 5e242de2ecd5e951b2e1925df724013c14cea14729e8e0c132ab233c82406b37cc8d1d21cbd1edd748811fa6826a79da7a5ff9dfa859315840560cacae523e13 +DIST pyphen-0.15.0.tar.gz 2072615 BLAKE2B ce5a1d16ade5d1e894b941aa02749de5793d1b11554b232d0a475c687551843171da5c8fb31fa686af524c12693f87baf8e61a7c07e71935ca159fba42e4353f SHA512 c73ec781c92fbac1daadbf435b028a1eb6476df2bec40ceb039d394ae928ab3b3eff4f3ffaf23d847b89e766810a9dd153f6bbcb9678a9f61f65d84206042640 diff --git a/dev-python/pyphen/pyphen-0.14.0.ebuild b/dev-python/pyphen/pyphen-0.15.0.ebuild index 864ae9b45a9b..7217419f8bc8 100644 --- a/dev-python/pyphen/pyphen-0.14.0.ebuild +++ b/dev-python/pyphen/pyphen-0.15.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index 39fba150f6ba..7b90dece416f 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1 +1,2 @@ DIST pypiserver-2.0.1.gh.tar.gz 156624 BLAKE2B b37700ffe0c7361289a3825dafd86041fab9ddf574d7792c7cd155f7e869a1bdd2de4e2a658c808afc7fe5ee8989876fcb7e85a8da74202c2c4c4344fbaf1df4 SHA512 962b34ea2bbca680fcf7ee8153ecea09c2f0c1bcebaaacee4666c93deab9d2508e08a22d82635a64d8aaec7cab3b5485e3752f1439006ed01b58539035f3b711 +DIST pypiserver-2.1.1.gh.tar.gz 157393 BLAKE2B e80c73b2422dc87bba09d8c9c2e1ffc72017ec58c5530d3debb95560b50a776e1603cb5641c7e4af1ed87d64750843ae025a6a47ab4cc28ce0de1051dd5b214f SHA512 d85afb0d2c85c76a62e393d7d7824e91ff052a04e985278db48010b6f71d12c7749139245e69932b78aefbf3152ba8a8b463bfcd21d1772d047d64f0b164681a diff --git a/dev-python/pypiserver/files/pypiserver-2.1.1-test-offline.patch b/dev-python/pypiserver/files/pypiserver-2.1.1-test-offline.patch new file mode 100644 index 000000000000..121677beb1b8 --- /dev/null +++ b/dev-python/pypiserver/files/pypiserver-2.1.1-test-offline.patch @@ -0,0 +1,33 @@ +From 749ad0f641ac14cc6e8485ed0b4fdf6aacb6f015 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Thu, 25 Apr 2024 14:44:16 +0200 +Subject: [PATCH] test: Fix running `build` in offline test environment + +Fix the `build` calls to use `--no-isolation`, in order to fix +regression in running tests in an offline environment. + +Unlike the previous `setup.py` calls, `build` defaults to creating a new +virtual environment to perform the build. This, in turn, requires +fetching the build dependencies from the Internet, effectively making +the tests error out in an offline environment. Passing `--no-isolation` +makes `build` use the already-installed host dependencies instead. +--- + tests/test_server.py | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/tests/test_server.py b/tests/test_server.py +index 92ecdda3..99da611c 100644 +--- a/tests/test_server.py ++++ b/tests/test_server.py +@@ -148,7 +148,10 @@ def wheel_file(project, tmp_path_factory): + if re.match("^3\.7", sys.version): + assert run_setup_py(project, f"bdist_wheel -d {distdir}") == 0 + else: +- assert run_py_build(project, f"--wheel --outdir {distdir}") == 0 ++ assert ( ++ run_py_build(project, f"--wheel --no-isolation --outdir {distdir}") ++ == 0 ++ ) + wheels = list(distdir.glob("centodeps*.whl")) + assert len(wheels) > 0 + return wheels[0] diff --git a/dev-python/pypiserver/pypiserver-2.1.1.ebuild b/dev-python/pypiserver/pypiserver-2.1.1.ebuild new file mode 100644 index 000000000000..ccee6dcc4dc6 --- /dev/null +++ b/dev-python/pypiserver/pypiserver-2.1.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Minimal PyPI server" +HOMEPAGE=" + https://github.com/pypiserver/pypiserver/ + https://pypi.org/project/pypiserver/ +" +SRC_URI=" + https://github.com/pypiserver/pypiserver/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~riscv x86" + +RDEPEND=" + dev-python/bottle[${PYTHON_USEDEP}] + >=dev-python/packaging-23.2[${PYTHON_USEDEP}] + >=dev-python/pip-7[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib-resources[${PYTHON_USEDEP}] + ' 3.{10..11}) +" +# NB: many test deps are optional/specific to tests we skip +BDEPEND=" + dev-python/setuptools-git[${PYTHON_USEDEP}] + test? ( + >=dev-python/build-1.2.0[${PYTHON_USEDEP}] + >=dev-python/passlib-1.6[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + ) +" + +DOCS=( CHANGES.rst README.md ) + +PATCHES=( + "${FILESDIR}/${PN}-1.5.0-unbundle-bottle.patch" + # https://github.com/pypiserver/pypiserver/pull/571 + "${FILESDIR}/${P}-test-offline.patch" +) + +distutils_enable_tests pytest + +src_prepare() { + # remove bundled bottle (sic!) + rm pypiserver/bottle.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_server.py::test_hash_algos + tests/test_server.py::test_pip_install_open_succeeds + tests/test_server.py::test_pip_install_authed_succeeds + # seems to rely on internal bottle details + tests/test_main.py::test_auto_servers + ) + + if ! has_version dev-python/twine; then + EPYTEST_DESELECT+=( + tests/test_server.py::test_twine_upload + tests/test_server.py::test_twine_register + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests +} diff --git a/dev-python/pyproject-fmt-rust/Manifest b/dev-python/pyproject-fmt-rust/Manifest new file mode 100644 index 000000000000..0d41ecdf5cd3 --- /dev/null +++ b/dev-python/pyproject-fmt-rust/Manifest @@ -0,0 +1,116 @@ +DIST ahash-0.8.11.crate 43607 BLAKE2B 7dff8e41798ba25df8c4827ff414a182bb25da4825f0119a74916fe775db5445b87be8fc87f7c7f98d3b5053e1d47546f98873de1a942d36e5f308a3fb7dd620 SHA512 47d211b2422de0b381dfe32229faa346406eb7a22dff867dc04c22389609a8671ce3218e662000c49891a06c259d82e0ff4413740f007729d80e097a6c3f0d9d +DIST aho-corasick-1.1.3.crate 183311 BLAKE2B 8dfcbba0b9d94e55eae739b16f5c6474baa43ee7854c5ca792f426a9f46fb0eece79cd493b804e51449181bcad338b96819fe977c02c9907654d713e26b9f830 SHA512 ba422a54688c4678fcf16e34fdf3ed06c333e6e3fc8b75af9272a215add494d43ebaef319021134b61327fd5d3572aec0dc655b714ffb3bc71ba3c265c9ebb69 +DIST any_ascii-0.1.7.crate 220683 BLAKE2B 77342934676213b4898158ab03f1f73826d8aba212c47ded874d42c7ff8a0d95ccd88950381348fddf895bfc5570fa81ad3459fe10f52ba630c0e50c75dcacaf SHA512 3fe4e0c10c32983c3c725a5930f0bf7c752942c6dd0818b93bae9808e72d5a87725733a85b11cabb8fea630f524fd4b7a13160112f8bb7cc24515bcc384d6dbc +DIST arc-swap-1.7.1.crate 68512 BLAKE2B 5ddeffd2ae8af4125a5b43d4a0a1afc7948533bf037d8cd3e47603c13b57b156618280d99b840bf318b25b6eb29400ad68499695e182acdc05bc5f621c42ee16 SHA512 070fa8dd17b380b6d7d72f6f45c84e591de9a9770b9662351e7a41af03798bf5e34d185a5fcb948f4d8ac5e210a33acd465c39eff6097662c2442b34ee3dbdff +DIST autocfg-1.2.0.crate 14808 BLAKE2B 122327d6ffd32e08dc9fbdb4dcf69128b19d56280f9d934311b946741003b40571cdd1f3ef54b2be02c8dc505aea11c962b244d33a92206bf4ee8f6b2b9da432 SHA512 66cbfd13e33b36284cf4c74c8d654f93adcc45893d127d9aaa4c1d183e47336096e72d74e7c17dd481fb7a98931ab6cfec7e4d4165cfb491861d4e3ffe2416fc +DIST beef-0.5.2.crate 15275 BLAKE2B 95d60fb1840ca26581841ad65a4e8f3f99d5f8d44c569219f4d06ce441bb3a4ba558e231e73a51cd1c6b4d9e4cc6a07942115c134289fb1982dace03049d3a1e SHA512 755fc588acbf730bc9c80dbfc20cd0ef81f792a94da0dd28379ad83a7359ddd4c7b136ba8048dd460bb8652475db3d12814fcbd04eff4ebe8ec8a1bcd024c2aa +DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 +DIST bstr-1.9.1.crate 380305 BLAKE2B 52b45bd48874d052636c6b451cc36d8b012808ea5193e0188e5edd09f81d21b8306926cfebb405ad0650ec9aa710f609bacaa773bf854b21f4803dc38bb2eca7 SHA512 67e9f76719310de60f46adf3c39768b4dc078d4c32dc6bdcec1a94cd9f630c5238e427ed84cd6ec25a44f54e84adeb795a0e92060a5372d9fb9ad9f0914e3172 +DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff +DIST countme-3.0.1.crate 10784 BLAKE2B de1803559fab0accab1edcf5db43279dfa3d7b2874f5c0ee300f46ccccc8ce4c5c3d92c5a3c211068430d903f2e9288ea07fff532d84e3c0f80edadb0752a803 SHA512 f4c8c0977c6871ac8b7eab15904789ca53cbb28385a6fc90d880f85afb44bf10602850198c624963c7db04dbee8c97e271865ae2eadfdf840c21792de4f2af47 +DIST deranged-0.3.11.crate 18043 BLAKE2B 738d5a88732e227bb0e0d33c04ab8248a699c7c499100666ffcd78673d1f38ad2d740222ab405e3eaa7a0a6f4596cfef90bd581a1baf77c954dca830c22e74f9 SHA512 48485666d3e50eb7976e91bed36bddbaea80fac4ac664723130069bd7d17893b6d1a2b82a4c3dd61677162e4305ba5ea8aec7bc2793d1b8b92dd1666c204fc43 +DIST derivative-2.2.0.crate 48076 BLAKE2B 56d27e27493c3b818ad45703efda607a0a0d9a48b0d43785b6a013443b8b964b67bb5b5284d242358415c5fb81b86b02079ee7c0595ec07bc658240eb114b887 SHA512 3c65ecdabd2dc202be3d83b06f96b6f68504fe542ede7e2285093c6d360a33ec76a3787c436c6e5ff8f59d430436a4b8ce2f908cf7b2b08cd8b0045de4e5d1da +DIST either-1.11.0.crate 18973 BLAKE2B 31ece6eb44a367926b5f9ee817f6ac9d93746f5b95c95fab360361f6b3a02160c682d298d115f39615e5b4758953f3f29ece22a72fe4285875dce03483f87486 SHA512 f62a3859afdba762b004d4c766090a25d3bd81e4a14509c3bd0f39b0d433aeff997b39759f7dbc5a012bf3b680fc4510a4b2643d63dda8171bad7403554905ff +DIST fnv-1.0.7.crate 11266 BLAKE2B 81da85889c91b6567e0f555e37dd915f1bd919719d1ca10c31a6861d7aec29a49ae9c1e8bc500791bf9d6b8dbb318c096d04872c5872a4b1f7d45fbd8e12842d SHA512 2195a4b34a78e2dd9838caf0ee556bf87cbb4a8ef5505aac663b614eb59dcfc0c40f432463ede41ecca57bfe7711f72673d39a85fe03d426f1324097d5628334 +DIST form_urlencoded-1.2.1.crate 8969 BLAKE2B 383d3a197b73fba199220b7708e16d770591ac16725faf4efc1a8c230c569c381870d4a11b8fba623e761e68f9d318630b22101d461e67dd26c67e13a73358a1 SHA512 c65104e2dc08fad572bb31f981700fd43dd29fcff42b01c7ccdbd3d4c23dec12360aed3f1b5fc4766fee386d418a65349b2941b8735f788cb0d35d631a6a8dd1 +DIST futures-0.3.30.crate 53828 BLAKE2B 4e595639500f7147ceb994359ef1656ed096ea679409a5721c05ff84ba439fe4e82563a7cf8dca9aed4cd16b03e89ba1385b0a34feed9d4923871225e131b91e SHA512 98fc67bf1047609c8bb0763c00ab9cb39b6a6d0cb7d993bce4966ddc2492a6578b789e98095981b207ddd73ac4b1dfcd5224b352a0e970eed347537c6fbea43e +DIST futures-channel-0.3.30.crate 31736 BLAKE2B 57461dbb723fd53daa07b2fe6164125508cc3901e0138d2a60da5c814ade415a3611baa45c71487f1853812282ef358c132785ff40c630408e8544d57eee3483 SHA512 689531748821529c528772a6dd0f27362078ff5803d2e0b431ee5a0ecf8787b5a15262d65d52f48486ded46b88f7a9c477ad95cc2c5a3e8f5f9b9f53f367832c +DIST futures-core-0.3.30.crate 14071 BLAKE2B 76a9fa5aedd0d4ae8dd9db9639839b6b342125759c1b9f9bbf58aacb4ecca316ff1f24ff8f3c15f559ffbf974e4c2cd02a5418cb4c4d7612dac8449c8234eeb8 SHA512 3c7259ddacbe02e47a84178b75e5f13523bd0c8f8bc0b2375f7ecca60b7075695ee0a5cc4e1c1de26665cf250271173be803661e2f2f53e2a3b96380a8efe7c4 +DIST futures-executor-0.3.30.crate 17744 BLAKE2B 927abec40eab31251409149179baa95a8d025f9cdb848afa83f95439c4768abbf6da8e2163291a086ea0b83b0b650d1e19cb8e15f70369b70efdc70eb3121f6b SHA512 fa65c038e5eeee695b2673cd65cf7529713bef47da373290595b554bc287267ee5cd015ddeda5a22169cc8828717987364584a91a69685cdbfc0fc779abd764f +DIST futures-io-0.3.30.crate 8910 BLAKE2B c9af4290f45a9fd0839e107fbdfa4abff4f9077ff45b61054670419076f1c4508d7d560d4d86f8cd7ce146e436e531b9f5e0abfed2c4f2406c57be209cfdd498 SHA512 077acf5eab1101917b5b4b4b83347d30d533110d9a34c2de6db1411ffae0f0530f457033c5a5c14249119e89375c9f12127790b46e486dcd003a12a6fad48bc2 +DIST futures-macro-0.3.30.crate 11278 BLAKE2B 6311039db4bd31242e4f45bb7c581bec28eec9da850c47ffd9235c4baef5e5f1c72155f49573b2dc942a9cf246949b79c7d35200d04f91a13b0205cbd33d96c0 SHA512 220b5cc61c744617479d7e8ef9888785a17b9bc26c517c9c4445a39e8be21f111f77e53bfb3d143df18dfde23feccee17e349a84b897eb4d86f94d7ae4f714cc +DIST futures-sink-0.3.30.crate 7852 BLAKE2B dc768e4ec4c9f9dfb22a20c1c977401d859072b9222e6f77978332f495cbd0f764b175a679c9d7c77028d7b56cda5e2d86188ee979c7f323187defa6a0485ce3 SHA512 1c198da8f4118d9a9ab2b597e3f7b4e1ac7094dfa547bb81f3c4148c45216ef55b309255849174a517ebddba6c874283425f1df6e56e2ba5150af091bacf46a3 +DIST futures-task-0.3.30.crate 11126 BLAKE2B c2ded9b9b709fc10c44cfeaa72d4e7477e43331b14f3e72433b25126fef93f2812a09b4fdc3c246b7379d41d3764ba17fa87c3e9c131095864cbb5f54771a204 SHA512 c190fa0acf7ff15fa67fe172911cfae803b2a8c08168570a5518a40767d08134f147259a413ab25c45cac5dbf2f601a9753c77ab0eb2c180cad2fe48cfe3867d +DIST futures-timer-3.0.3.crate 19739 BLAKE2B b7af71c761197056a6a4db03caa30f31c104de0049c09f52b18b80718ad20c95e0e64bc7a3618c29d1c9a5ef0309379044fdd9c1fee8465930d28b2c58927733 SHA512 c50388e38b45dce2a65a8d7ce56bcd9c3544ae677158c4c10c532136e861c16f0f52df5222a14c0f40ad8e4faf93fde8223affa7fd84d24e95aa6994177e7e76 +DIST futures-util-0.3.30.crate 159977 BLAKE2B 9012edf76336952dab02cb61db48dfc74b6cfc17c137c36372709e8d575b306a4d7c4da89328067c9482a645aceb7b44ef57deb21a0c25964a5515e738a039d0 SHA512 7faae5aa35641d858d0f5430e4a69acd4ba9037852ad73c5a890bffeed411d28820883e18bad4ca8f7b0a765f9f4c5dbeaf5d0cfaaf90c2c69846434ae091951 +DIST getrandom-0.2.14.crate 37307 BLAKE2B 5904388869335ea904d950ee83ad1867a0d3f6831b7139102b53f4bb4a2c12371c9396f1f1cbcc44e3ce69a4ea316651b1674722071bfa7562385ad4b6a88c33 SHA512 6c334415e09f570e3123e3c6c6eed1727533ac6c9c4142e16ae995c237a16effe146832a891be9fdde4335bd02b454e0fdd9160f20dc02f107ad106756221658 +DIST glob-0.3.1.crate 18880 BLAKE2B dc89b3a664e810264dd7a01ad892e865ce35b504bfe5dba12d7ea8084da7de84feaa94c2208f1a1eefed90297e552636ad61ccebf6fc8cb4d01f27d605ad0a09 SHA512 29368160138bcb7ea5660f9f30c5711cfca8bc8ba836bbade3fbe8c424e7b4118daf27cffa677962e37e36f025fd2bb5a9c2aea865b0ff155cace455dfbb658b +DIST globset-0.4.14.crate 25090 BLAKE2B 2c3e6f8384a066ebfa1f36bf03125b5eae79329255674e32c58963451d4b342ada10f17524232a953bee133b3c77b678a141543759ebc622b5fd659fe55622ae SHA512 e83e4f5e42a97609e2579b09f49c2cb0a76a94e7e2975c5871f2c5af5d3b809736e0a7b220404c582f4a0c7eebdbfad6cb432e89b26401b58f2b253f8c0151bc +DIST hashbrown-0.14.3.crate 141425 BLAKE2B 23c63a99c6c6b7a6b9b9e8bbbc7f1e342e1eb9d7582fc9eb408d3eec50c99f34502d450170bcfef4da7f2b1e743e1d1619875ec879e4753dffcb84f3c10dc3b2 SHA512 4d344e5c89ce58e04668b80ef10e4e110a3a5daf4d610c52d980577795d0e2050c7d0b151d8ba97128117665e27b92ab0300f85b88bd6e1de943c62d49249356 +DIST heck-0.4.1.crate 11567 BLAKE2B 520aeea740cfa30b0cca12f73594ffa655f32959673b1c9caaca1ea0162e455546ae3033881394c0ba0516bcd5c9a997da02162e1585522d665813b9096eabd9 SHA512 8c80e959d2f10a2893f9a71994720f90747742bb5b61fc0a539eed3ea5679b140c48fd7f7690d7122cd6af5f7f20a19d412e3569fe741c6d31f6b2ce1e0b80e8 +DIST idna-0.5.0.crate 271940 BLAKE2B 0b781c2e9bf717af429efb53bdfd18244f2b8c58e5111c3bd3bee50c8a01cc747513fe20db75c38b6b771d5845647bf6c1849ae6667766c9623e018c1f399a9b SHA512 bee6cfbfc99859b113aa8c7b487429a836dabc4e317980f132d28ff8333336f33480bf9f8b186a07115eff33024cd855bc85d346fce85e17c4132e886769c54c +DIST indoc-2.0.5.crate 14396 BLAKE2B fe838c6a855d6ff7396675a3fe9b2e0b06a93cfd4013b0b843d24d2fb81f6566528bfd1753c649646f06cb7e59262bd6ec3ed79d4e6f01d740cf0682355f2e5a SHA512 095fb56a3d87946c42a63065a8b276c2d4b9b835800014b400bb987593bf56701bad9f55d947f090740fdb7641a4f3c87fe8bfa5724709e95254d1e8e2e3616f +DIST itertools-0.10.5.crate 115354 BLAKE2B f24734bdfedf1dba48554e39b43669efcd4a43656eeb2c511096060daeaf049e1ad3eab232e757057750ce94aabad9fc8a0cf29a997edc6c4b167301c3443391 SHA512 d03c3cfba9841776913bbb6daad0c8945830c155f32ae4b48872e0f937c75a443f0ac9a0355f43b359ff75232f38b15f4f6d446b4be30b00b4209cf66ef770c3 +DIST itoa-1.0.11.crate 10563 BLAKE2B 94da07e0f7f2535d0b1491b3a3c64905274b315ffd35ec8e9a3e36e26cd7211733b462eefb5208963e388345f65be9694804c344a6132b2b595b0bc716c0b328 SHA512 7e22dffac34c9c9f432daef395e0ec710ed658164bc9cd9fc6445c9f984c912a10bac556214a026bcddbe27a3197b35b0c87d6709fd605062637d086b2d20311 +DIST lexical-sort-0.3.1.crate 63689 BLAKE2B 801e69d0643785e82a86d25620a2e97330d0adf17e82aa1130aa30d1b885f58bebab3751ce7fb7e82986388464af9cd958ed9adfb422ae10840f256d7b4a1aac SHA512 ca7885bc22b4b67053aa7c83299459d5b1f5e627eddbde4827b6a5bf09827ef81d506a445a5a742bc6736cb9e02d7f9b458f16b87ad1af038ea4559ca0184c69 +DIST libc-0.2.153.crate 740614 BLAKE2B 523a41bc8cff4ebcba0edbbe9e6a2286ec7cb3ba5e90ca5926c972b68e4b34188bc077d20c22376238c3cd91b7455898a95c505ace4ededea88cc496edb4c5a7 SHA512 3f99e3a192974fffdc053ef21e9ad5fb54b7cdbd4755df176704a95dba38047138ccab76763e89c6b565f37f98fd549fe368749f84f6d1638b3209cb07eae9b4 +DIST lock_api-0.4.11.crate 27487 BLAKE2B 87116cf908f7f1f9c300cedded989df305f855883e3df5a482de2c76814c48739582d3079d76a2bdd14a6999204b7fd31dcd8fd06d1dc7f9418f0e2f70a1450e SHA512 9946adf313a5c67a0dd87a1b679b7d9d16a86149fb95974d3f28aa57a9a1a3932e4a5ee1d332097559329c5e3b2295be2e4b655b115d9f75269f33a758b17fb3 +DIST log-0.4.21.crate 43442 BLAKE2B 8429b3270794d3e2c7f7d5b58bd4fa1abb9d4807ab3a1ac980ac81c11d9544635003d8cf2e608c2c0094865459108a2879f280278e121df68d09bc1561d604ba SHA512 0becc1a06b6e7048cff6c0bb8df49a16ac4772133c00239e9e9459c0811e7715c500f440cf1a9aef8d7ad74f57434559ca9b55917f588b8e476cf36eb6d4e10b +DIST logos-0.12.1.crate 8973 BLAKE2B 344780990917e2c15caeebab955e98ec155f240056b3239bdc9db723e44929c135d4e783a5d3a5af256d7bea2363bfb74a3002ace1865fdd4840bb03a4d79ece SHA512 011bcf2bed59e5c707adb8ce50b26bb845631595426429e741231613e215286c2c05f3ae9fc5b7336b7e7fd0690a9fae2579413b750f7694b6c475d0fca3278d +DIST logos-derive-0.12.1.crate 32282 BLAKE2B e4f6a72c73abb8a02995214dc8f29e9296ee40e4a03f055091256beabce54cd8100b10e8e2459db1fa359dc85c9893e7662fe0eb9cd3af2e27062b34f8e5c602 SHA512 bf78b10d511adf523edcb7c9cc0401d49417f728e82dce5a3cf2679d897f5a089adc72616e77c9d51b1661ee39b925eea1365f3f924114aff091593a4960ce87 +DIST memchr-2.7.2.crate 96220 BLAKE2B 2399064b6db21838d4aa0b25ed0bf04940ee3820741658cc6bf62e5ade08f41320df743ff13f99b2781da7b844e18deb1cfe25fe570f0e93f98ff03ca5d442e3 SHA512 cadcb4239c7f3aaab042592c5186770a225621e32f8583052fd3dbebb4a6d9b99be28f589b39b5ca36cb2d56fb3709e7d4ba91838ebb882e28e51280c02bbc40 +DIST memoffset-0.9.1.crate 9032 BLAKE2B 0aab55fe084134bb599c52d77c96400db40949b1013e7037747ada4fcec8dc4a124b6f3755f04b36e057eb2fb4a6bd6f07d6eebcf166f8a71405ef434d802fbf SHA512 3a236c0f481e36973b9f805e454c2efe4dd375e6b4ee406b57145136c70d5fbf4e1183d563ebf3b5fbde7363bbf5f08f0d88e507aae5bda4cc75664ecd0e33aa +DIST num-conv-0.1.0.crate 7444 BLAKE2B 4f5c4695006aa3ae77aaf5c55999a07d8ddfab294584fe10d73eb6abbb3f551846646156581599f966a28c74d80d3ac4373c49d2099991f7ed9edb56d36feec4 SHA512 7884c0c6599c66e40b9a79435e1bbcec60aa7e68b59686922dfab19ccbcac6a6e54f208cfb3d5a8a12e86e4dd67e09977d60b69ef6940e308a28256733f36100 +DIST once_cell-1.19.0.crate 33046 BLAKE2B c14b374eaf4ac0f60acc2e02f7bba270a0e8e0a6978d749cd3cb0ab3eb26907e4fbea70dd5132982f90290381ed18ff8a87fd530f1415fabffac864f157ea380 SHA512 4154876afd34a699ee650d1a8a1c5ee5a25f0ebd9388b8bef2564e33629fae68f113d7507488c68abbe7ea1acf9bbc41813cbbf3ef3e464e3f3b9cc7a51d870c +DIST parking_lot-0.12.1.crate 40967 BLAKE2B 940a112a066e3cbd15e2f6df89bfff37e4ece2194118618a96fa14871813c91798f93181ab0f768d3e1f3d60805508f216724013afb7e3da95678d0d951a42d4 SHA512 07327d3b737a913508dffb66023766348ce7f9d555c224a099cabb05baefd16a28e15fec638e3a148a5169dbd980c4541b0f8820ae9d06dfe0704482838fbd5c +DIST parking_lot_core-0.9.9.crate 32445 BLAKE2B 811d8de671bf6e0911cf0df7dcaee4fb03a3b223173a3bb8cee65a28724eeb7bac87f62aa7b1df5ea3fc93af3cee3ef30b83d06c6773d6b856a7e6fa5fa197ea SHA512 7f0df70f9f1ca8d3da0b9dcc96e49daf05d95c3a995289266b5333f68818d686d32b0c733dfe3a0f62da78fa45caa843a963923b2d0c80899c33413dc749c032 +DIST pep440_rs-0.6.0.crate 42496 BLAKE2B 46d1ce98ab48233799acca4e1aab1d4837ad0c4814cafe6d971a39c5d1fefe034896ce1d468ffe77b9a61f3c52fe7a1ee05e590eb4c67c718356e54da9349d50 SHA512 4c50012b5d04227d0dc8cd919b10b774d7c1abcc08bc5d0f9e7817c846ae906b9cb60cf2b0d65c9ca37d3b5b592e50d5847aebbf136366b4032105b287167b8a +DIST pep508_rs-0.6.0.crate 34138 BLAKE2B 3eed7514426f0aa1a17be19727cd0dff745a6f2caaca2beaa29a4a4070722bb7e5aae72d9aa0ff8642e927fa5ba6801cb680f875c9ad5c55b648b503b7f998cc SHA512 fe7acd77ea677b7bf2096d7f9eeddd89478becf87b05bba604344c1ecff876a7c7feb75ac2e1ab1d39b2165905b206fa3877269e69aa6eabf3cf6db1427dbeea +DIST percent-encoding-2.3.1.crate 10235 BLAKE2B cf8e2fd7b359a05b7bdaf731f9ae84c7fe6f468a53482eb2db7f93dfdaab64ac812b3664899db260055a93449462e6d219c695942fc5b030517b197b4df9b95f SHA512 5951ea8315e52cf3acfbaa023cb9e13a136b114c54a7da0bd44619ae24cd2159d4a96469d7572a2fdabd94e19513a033387117d7ca81d0eb409fb383e4acda44 +DIST pin-project-lite-0.2.14.crate 28817 BLAKE2B 8e9875967059faff399fbffff82cf8835982c46ea8df942acf50b038e3f500e04d3d8cde39da5a71ebcc38b869553f8c49830e484d1109b353247a4cfdeda89e SHA512 f90a6b9f5ab8701718f72677a4f3597c1b9f32e5fa53198b47a94696227ea37815997599abaa6058b217c5b32a94602582c6b13fdb66e2d683bc98921de95293 +DIST pin-utils-0.1.0.crate 7580 BLAKE2B 457e1287202f16d1873b24bf4f1de1828300128c4ba3131758e64f9784d36d47365f22d85493c3a85d854f0d8dbb4c6cef3a0f5b064014dc03943e58b7ba9178 SHA512 828422b8440cc82ac6b0743e0112fa7540d437aed457564999092b1462cd7672cd6b1f0201b67075431aeedd3d9c5127468a3dd028744109944f7f023c82fd70 +DIST portable-atomic-1.6.0.crate 140689 BLAKE2B c91d06e04a87c9a207233d8a850859aa1f5cc43dda8aed34511c3fe9641c27412796539ed045a58e649d2a0c7d71100b6b2d78a0c662fc061fd961a652ae8722 SHA512 b27cf57655a2f1e2d6ea7b45d80b4f9920a836e462f132c50dc1e4d314e162444309de1baecf45dad2defc7a5b99759165e54da9fe759b24092f8cb8755c515c +DIST powerfmt-0.2.0.crate 15165 BLAKE2B a3e1ce63f5866f75526eeb749bec6607e42cb495bbb953082cde7e98e6aa429ecaa41889d98ff7ed4cf5031258b4f7e0553ff8fc435b3b6f8b4ef2b6d53d9b61 SHA512 0623f92e4d6ab284b3f6dae58220d79d9185df4a738999d68040c50d72fe0380d70358cb622f079c629bab53bb03c6e085e165d5bddfbeea84245864fed90029 +DIST proc-macro2-1.0.81.crate 48233 BLAKE2B 94319064772c757b6bf57eb9e759e827454f719d82210271ebab9c6ee4ecfddc9099522cdc8595123efe2efb64fd50eadd7e31419c5842ff1cb8fdd32e8daa0c SHA512 7edec4b786d9fe076ced4fa5c0d369c163fd1c27c895431245a8268ab2e16665b7c0a585552d46ceee6b8103979a4201f92abb381f0e678128abed359f514de7 +DIST pyo3-0.21.2.crate 504574 BLAKE2B 1b8bf374d1b61e3e4bedce6344338126051a6d951ea87d258e5ed92d4c0e13b0202f2e7e56500277c54743dd16c9b4587f436cf2058567501c8a9ac7c6b6c17a SHA512 5f88cda423e82b62698a74ceaa31fc27e5c1f1d417928accddb2e00337d163fda622f774ae6e24c1cb73c467d6b01e9a2ba866e4454338b1fbfc892ae14ffc53 +DIST pyo3-build-config-0.21.2.crate 30581 BLAKE2B 993c1f7f15124336b70570ed3949cc0873c2b883e81dd3a350f347cf014fb9a82d487197fdaf475989b727b7ee8d9a5511a72422f76126b8788c4f40831baed8 SHA512 8b6bedb31235de3dd95bca6e19ea4eb7752227ceb9f1c928c4df2b277df5ee443e5c262e448012e4e54e3104213db4d745c9c42f79ab3029dee68f48ec3a2795 +DIST pyo3-ffi-0.21.2.crate 66160 BLAKE2B 759622fa3a41bcdb48170983c4e194898415f8db16a7c57ace89a7945bd47374d9a14e5ecf24e80a178bde597cfa30d41f9e6617b458d365640bdbda048e6f6e SHA512 5cbc9dfb14569210776fd66341e77e61642a9920354251a65b91aa13a0fb1c373258d1a6b4f8feacdc4266d472193d8f20a6dd2cc180ccc3d43fb66237ae6d0d +DIST pyo3-macros-0.21.2.crate 7920 BLAKE2B 60ceb626fd1ffeca7e81ebc721bb4cfebd99bb708d48bbfdd296b250ed41471f82e8657715e1f58840423ac11d8c5a84a6107a7037affdea4e0c2cc561514ed7 SHA512 95335a55d57346107fdc7591d51e36aa0a985d6c44a875475a0ed52df25d33b21a7b922fdab0eed190da9708968e79f7cd50bc683b6d210eb068713a915ac7f4 +DIST pyo3-macros-backend-0.21.2.crate 58088 BLAKE2B 05dd49983c8aeddc47cd94f6cd58f10e41ad6f4ec57006908cde4fe3edbcf6814058d7843a88c9dbeb0824f840ad3509414c52e47fffe5ad4b730f791c9a3f19 SHA512 f8488ba0a68f1ae20d053e2323d065f03b40c24231a50b05205b100e973ae50bc7bb9c25e4d37df56f4cfa73d2001655ce9685078d1017a4a90bd7945c01b833 +DIST pyproject_fmt_rust-1.1.0.tar.gz 32970 BLAKE2B 57b35294ab4fd84d13c76463f7b6461169c6e661a9e456d6955d9226d7bbd85293e96a6838fa126af36ac135a5323a6d3009d2c9444eaa76f654f8b158cf4802 SHA512 ccead88b5d31fc00e1c51296d79846146da4804702824da65dec2b5b85a83deac82cf70101f91bf52c9e5228cac16dafb8556bdca95efcc96c6fe1f02d94cf3e +DIST pyproject_fmt_rust-1.1.1.tar.gz 33117 BLAKE2B 2addafde24c8d29ed4c8690681da13a4fa3eb2cbdec3ba21716e309fc5a188f03445e2fa577194bb4eaf8110339e7526fe76132db77dc7afa60d257128d067c7 SHA512 c65eb05ee72095339a82a54e74049e2ae3d03ec27ce316dc94f0d374644ec12e3ac14717ac0e82528f9805ec64fbf253b4e3173b9aabd4967f44f2b4f50c2e36 +DIST quote-1.0.36.crate 28507 BLAKE2B b93495163ed205e33543ed45f084870240d479071d643704b6e348fb9ada6e1d8401893c13348b9964f4b6b17ddb96cb5458eec540f0d761655fcb96a4cd9129 SHA512 f1f002a912692f7ffd4912ca980ec57ff4aca3a7d9e2e42e9e3409e2105c9f59d86c05719f6af309bccaef2f8843b0848a6e3afda3356e045d8e7cc5956ae685 +DIST redox_syscall-0.4.1.crate 24858 BLAKE2B c3301137a0b84e03b09d28dfa377ab3bea74d574a08cee21d35713b278d8b5b30ca2a1d73a0981baeb4644cbb88c86c8eb15ab3bb2692e38b93e6b35fab4e0da SHA512 073ed9d96090cf46eab9877742277a013c62d8da86d9caf2310b4fa868af306511936553579e01309f27067d344226cc8dc5e3aef01d9b900da2febd33848f8d +DIST regex-1.10.4.crate 253191 BLAKE2B 08bdb925efbea1ee9f885a89ec6b4692e39d7b17039f788e5b3c1dbfb7847d4f53b67f0c61e4085af7ef4901e67e33ea94948668bf706fef19b4102a06ef0447 SHA512 88ef121a51759f418d5dc01607a6e02651bd00343dae92962c02a80f30343d3f079a0375457780ce46bf205ca38f279b03989154638199fe2fcede10554bf21b +DIST regex-automata-0.4.6.crate 617565 BLAKE2B 8f1e2a3cc1d2d50478776281d2bf10164ef441dcf7127994f4a0341ec40588ec8dc1c07fdf9f670da9e61a7753551500b80314df130370b61d2c03c2b2e3135a SHA512 b288e1facae2612f73d3de3fe9fd1af13d337107004f990263abe6277b31b948478ad9c2b807dcafa73fa565e48bdf2113139f5ca67eb73165b7d29e2ee5c9f1 +DIST regex-syntax-0.6.29.crate 299752 BLAKE2B 2408ebfe5f0dd6578c33f18e8ea9a0a7a84388420c5b67adcaedde477f3f67fb3e39ba9fab1f6892c7ae7fff754c4aca51314601529cabc6a8fc43af38a11f88 SHA512 28a58950d15df1f0ac4ff4185c05b535e8f5bf0b75f79fad24e40e17a02570d1c9bd9cfc919eed8756a1069bc489c5fdccfd04f6b8266c83e3412b7b4bdc262e +DIST regex-syntax-0.8.3.crate 347497 BLAKE2B 9ac2f63098ffa3fff51fe2bc0bcf9ef164cf9389a909a3f0cb668d2598e7ca65d573e47d571ee2e6bba3a1a96ef7c298b8d681e1ef89c8c53b7d590e0e22839b SHA512 925f7bcc50d94c65d34fcc770c6e58dd5b8a045541c0109e77b8efe842eef4c110087ac9c0f86c7c3022ed013abbc5c0a187d796dce292ad5361a0cdf7153d76 +DIST relative-path-1.9.2.crate 22420 BLAKE2B e2fdcef72f1633b2c315e5d2d316d56defe758fa916e872d84a8450ca0223f54489541175940beb43347c3a1759e4ca4d4afbd49410859cfeb6bfc703bc7a8ae SHA512 fa12c9df710fa3b5f9df9ada9efb13cd52cc10b151cdba5ed094fe74c6102cc557a5f38d05c9c0fddf2510aa13604428aecb4ee9b84405d02a98e6ba3177b2be +DIST rowan-0.15.15.crate 39971 BLAKE2B 26f2ac9d56998141d770bd2a4c9d19500591c814c497f9e2ebc45d89c440a623021469aa54e2775f5138aa0b87d7a1fd73b731e033822ee193122750e6cae29d SHA512 77caf068a088d2ae7fa333b744a30483b560c395fb7e6d3958858da871b495bbdcd8bd8472f44a247cbaa315fe4c7174c6d85b61cf30a0eeb7b0cbd3526ced2c +DIST rstest-0.19.0.crate 32932 BLAKE2B d9a59bbb9fbb1f51fc55e843530d1cc7648d20d69a76a17d678f2f66bc7ec45a1ca3c77922c86d0d370c66fdf1f90e3070cf7bed6199bdbc06ef1a9faf13ad6d SHA512 d6f4288225a3cf0e8bf7429d915b6ce1ffeca0024666ecc272fb775f31cd800b2d22a1bb2b987723ed7dae00edc1ba13d50b1769d4977000e1a4c29ccd4d0ef7 +DIST rstest_macros-0.19.0.crate 61243 BLAKE2B d653e0c8d046690c47d80313db5092018cbc883dd86680dc2af041d1c9099a6245e63256758f17f57a20670efe1036de16f8c4aa3c70c74b55e82685ca21ebf6 SHA512 fed39ce5b14e1cfe6c4bb6983e62ad5b494715cc7240c147de90d1c62014c7f1329ddb101b03497a3b1388ef7e4ee0df9ceefe411e38853e08b2d0f3b7e4227b +DIST rustc-hash-1.1.0.crate 9331 BLAKE2B 16ac56622897f47a06b661fb59a196b08d48e782ab87549c8bd5c6fe92f374c9bfd44dcb36588512bd9b6125c2fd79a12d648aaa308fd9694bcca3a7c1b49ac9 SHA512 84e673ea9b046f7b989d47f2c4505557fbd5de991e6fc9f56a03605d40e0b4ba5427cd566954890153cc033ccbec6c984306634571935bfe0d4cdfbe56f39544 +DIST rustc_version-0.4.0.crate 12175 BLAKE2B 6fda2ce03eab45d7193fa0d70175cc7ffb56b7be85fb1314092bdcfd3948ea145420569ace3a47218a4a2a6e44a818862cea6dd8cfb945475496f63b591c29da SHA512 f66da7c6efe431db06cd01180d84ba67fcd38f8cd6ef693762957c00ccc2211f23c08079d7f184776e08f28d2d6ca3bdb5f5016f7de245c6193d4722891ba1db +DIST ryu-1.0.17.crate 47537 BLAKE2B 28408e17a4322f1afb6f21bc8d7328c39d07186de4d464f8e9bd63a69757cb4af61b46e558075e14836f310f020ac824d5ffa616fc0a5ffba59b9df0bb66ffc4 SHA512 6dad725c4fb2d3a33ea30107b63cb702eed56bd2f3c16a72265f648f5aaefcd3d5a7b919b1d037af926cc6311bc68ba58c4e0483da2b2e2135c6a7c2d6601af4 +DIST scopeguard-1.2.0.crate 11619 BLAKE2B 8b7e9ed6cefef9ee55407fb9690d57a2a98bb93e5105aeebdb475a52485e9e185255249e1dce8f83cd80534e7402d485aac3efa7e8493b13135de27550cd4bc4 SHA512 6247719a15fe1e4e2d179127b9a934bd2f99367724f41175ed9522f58824b6bc69b35002eae66b35880375ff61d77ac43ddaa78cbde7160a35183a1da32d3fbb +DIST semver-1.0.22.crate 30446 BLAKE2B b77a951d959a3685b0373c80b9991a8567f8926d093b23b7b8fab48595b5d565acf7408fbfc8f4d58331f39e316a8068885d28bcd70c1476d1cda436a2dd88b2 SHA512 7dcf9b6a02650d71d6c9ab3c29e44fdef95af296208f26aa7be6fd6e16773e5e5e66418c303a0589d1165df6dbfd46ad6ebf9eb5b3adab25a51f340947b2d949 +DIST serde-1.0.198.crate 77577 BLAKE2B 10d18e00a17f38e6eca67f78a3df6bea777053b4c510be7fb89ecde7d0ac2ffe37399031ea0cdc6113a0b80f8f3f1095271bc6aa3f2147e2d675cb3f5df713d1 SHA512 561e4ec8858148e9cf59f1b824c489ab259b63819e6b031205db8d89b30a5b0c12c3828fc587cef67316d1b9752f3618d089fa21b3a27cb87a074d943f27c7ff +DIST serde_derive-1.0.198.crate 55787 BLAKE2B 6fb5b68d3bd0010283a1f61d9af5471845d9f2f5a6b476245348c6bf3d3c5d3026325de87cc8ffab0300d31dfe03e093acc40e4a7f334d33b9d33cb8e03645c0 SHA512 f33fd1e1ced08a305a41114e354ec174e09c8918e28bd486549ffbb859a139e41b5de27932cb24767f4b3db4703c25e6987c55c9b3ea566d60b9f6cd893b38ef +DIST serde_json-1.0.116.crate 146790 BLAKE2B 20492ac3c431fd3666599f079383a9d945549e02357127a58acaa7011684ef0caca221a253218402ceff6956ee8a20cc41ca3394b25bb69669be75ab22b66a1e SHA512 d383de754b0a50cc4ab3e6378b758ebd6178ad32ebed80cb4e32a9d8e81d0c689585ee5cd35f12b376e488d25ecfaca659be943c9bb4104b63a1c4f9ded2f337 +DIST slab-0.4.9.crate 17108 BLAKE2B 8e5288c4d00efa915e7be27b55f2204850968624f0d8101c091a357131106bceeea7a63c98007420c12f67893dd2228b15d3f23508108c3a0ceaa605474bc7a9 SHA512 b6b5423ae026472920f7c9a4abe0962314140a36dc562c0a9e3fa60725b2b8b7a8b343110d9d4c0e18fb318b0103e14c0ccbc9ae350d5563a5ac80c35f228c40 +DIST smallvec-1.13.2.crate 35216 BLAKE2B 31a268aad595c06cdb078577a97b089dbea156a0df307a3e6aaaf4861bd9a680c5b11921da9dbdb1bcfe17d58c0cbede1ffe6bba3aef59b384fb1b9703c62d27 SHA512 a97c758b668e40ad9eb572e65feeae4954e09200a04ab92e26a13b48894381cd3a3d2571070c4b7a5e181182e1ede9688f990650342ec69ecfe1a264d234c679 +DIST syn-1.0.109.crate 237611 BLAKE2B e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9 SHA512 12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d +DIST syn-2.0.60.crate 255808 BLAKE2B d7a8e415dd72267fd92da48ba8b3e6feb728f0639797db1aa74aeaa2a57935b7565eec37cbd32eec826154e2c54075b121737369eb15af36c322c34b3cfd7930 SHA512 20bfa02b03c193672a9922f9a5e196185341e082a262f7c00d7c2d467d9e2d77f4af3994634923cfaeee34aa9eab510415165f052ffd9b1ed0b1b581e272898d +DIST taplo-0.13.0.crate 52618 BLAKE2B 556873e791193a006b906814b6146652c794f7688c0c7c17e8dbfd8b19a671fc1ec1aaf8360c3c9f53b014c12b83a27e6a38735329b72f2fa66124cedce6acf3 SHA512 b6a67bc1abf51a9184cf01091017d2525e79cb4018685468f6411e90017016828ba3214cec37646d68597892f2834f9df03b99fd2884e5aba7b5ac540a53e92b +DIST target-lexicon-0.12.14.crate 25508 BLAKE2B 5ebb6b49e5c3b0057959557651287d4bf5ffe5b499340019ff64d5fc3b64e780e344982e358c94b1b25a20bf0f526a584aeecc704695b50a55cc268dd65edb97 SHA512 3410ecc0faf854f49c41c99f83972960e67065b1e0e78557a7c4996d996109bfd167d2121a019f5256f996c896cd45af032038ab7918fdcc6ee6311693ce951a +DIST text-size-1.1.1.crate 12553 BLAKE2B 54c48d202650606d182b2d046d6a0a35b41d4e49adebb8f9f48a22329966891036af7dbc09a4522f0ca55533dfc8e87c276fa2bb4e7a24bed57a26794bfc3ee8 SHA512 e1b0323d2f83ad85ab8c5dcbe9b2084d09592979e9edbcd03d40576abc805b20ba3d6b59261465cae5e987542d4b665fbf797369ff1cd7cbbbfad271258b0ce8 +DIST thiserror-1.0.59.crate 21040 BLAKE2B d9ae0b1d810e7631edf072a41267a871c1cd88d71c882c8fb47d65b3dc563ca2addef0ebf9a9cb122fbfdccff5b92815b8f2e0f7c3382963828cb69d21ec8531 SHA512 254b0ad6c4b135234f89db8bd5674fb8c6b633495810140abf93cf06c58e911ad2ebcfdc002e7ce29739e95ea066eeed3fbd7c831e2858822dff620598dd147a +DIST thiserror-impl-1.0.59.crate 15726 BLAKE2B 0e524c851f999f4592e5450d7d8ad45a922c9cc5d2229f4dd106144238c8a0ceaeff5a4d1c7e27cdc53a7eb44e60f890fabe1f43ba3d5b950da9c63e6ddcc9d1 SHA512 75543ad39d1243dab23a4b50075bec337c39045f0271337a1ccc144f25dc1e7fc23b0163f16958ded9a1f44ff359378bd22f4c0f5e095c1823e928fc929457e8 +DIST time-0.3.36.crate 119805 BLAKE2B d4da96368ab8565373d034edce261e0d8867036f2ba87e84b5e4a506a70ed3b62b93ba10734aecb39847e258cf7008b6ae57f92df8d0e5229cd3fec488d14caf SHA512 83da6e27691d1f0ef37ed276528e927686a06dab4811b6e29d625ef7a0f7c30fbb86896d74a2b087726e7a24a951b0a83aa1f5f22d711ead54f447d36ac47133 +DIST time-core-0.1.2.crate 7191 BLAKE2B c477ad3410ff29f3bf4a38fc6ac4a043d49b6d2bdf5cf309ffcd2eec3bb6e4c4b62156ee7f069f0b37ea31c163bc75ccbf35abc1db2833cdd4912135e60ddfc9 SHA512 3861724c23cb806829a01186deb5217ae8252c20af622975264e6670cff528f42155039e4937756a9eb312a5580ffab07949437d5504d684a0e70755046cac52 +DIST time-macros-0.2.18.crate 24361 BLAKE2B 09fa325be0b1a5b922285f035484b0de8e339306b49595c87f6374e46459d6777c6db4b12c1a0c6ea9795ae8c741188fbb81208d0499a651760b9f5089323fc7 SHA512 557786115add272290be8305ab79c44f5b4425b64eb698492fe300f15879d9e013c66933cae8aa8faad9c109e2917e7a0e43c8a5eed7f4b0f0fdad092089efe4 +DIST tinyvec-1.6.0.crate 45991 BLAKE2B e9699d4d80a78978f0ebfd049f5b33d7f23d401cf4f4439ccb168e8c0e322473ad0ea7e2ff0ff69e9aac3e5c4c9ae5a7102185533bfbf96dbe77b3526e700bc9 SHA512 e5acaf353c58c60ae5556130a934f1048abb79cf6668ae467d308bac44b689d8a9997227ea879f4b5fe50f29cde8761801b088d7149bcd063b973056c381921c +DIST tinyvec_macros-0.1.1.crate 5865 BLAKE2B 2bf4f68ca11dc19c72232951605a4c809b34ff38ee365ee4f592a3c41360e23c9330cfba961e2692a0ad568fef4aaaac51c40808d491178cf7a0c4b5a1c5d484 SHA512 10008c7b3a3d50c94b9c370015b76ee082f5dfb6dcacf014dc2f2dbe92f903618d10d0202b21f48fcf98a94ae76fb712db55a5e8ad353645d378cf0e6ec74f7e +DIST tracing-0.1.40.crate 79459 BLAKE2B 33693ee71564fe5925a63dca351e838dfd8612b4b1e49a33a70095e56ca63287c13c772661ace0e540d08c92942d7cbdc51ff2cce4f4b372164d9aa20ec05dee SHA512 5622188a45dddc0d6d3a8244a9b12db6221f4180944ce1019d18f4e613e4bd113dae5d45fb57dd0754f6e8e153b047cdf00c8f200782bb2b868bc2d423d99275 +DIST tracing-attributes-0.1.27.crate 32241 BLAKE2B a20af0f50a90dcd64e5318e55779142da294ba18d1cd40059a8aa964fd3c92834e03ee563e41caaeef71a30e3f027e5c8d167d90e2844da79e0774b267e179b4 SHA512 7dc59f4234c3bf3434fb352baed2b81db4e931eeb3ed207c4a204e480da734be40847b167b808058d2807b5583815625bcd5153e2bbe79804cfa6f069a74ffa0 +DIST tracing-core-0.1.32.crate 61221 BLAKE2B a7815c46af9852ce62498083103c6d359351f4d33609b4291330073b6abf4b63f5e1bb1a7dfed3bbf4d6913ad5217e96999416261af8a70609408a29109e4db6 SHA512 164f79cacfcca533a53b7dbbdc2015aaf851a16e00c72fbc4e5f515b6a6dedfa464e964810009b54f08cbcdc5a314e50245ac7b1b01a71fce4c63db135bf5521 +DIST unicode-bidi-0.3.15.crate 56811 BLAKE2B 1f1d372c86ec7444f13eb32baf13dfc8699b52156b265a2b53f40c0d771064876405451120fe54739a2679e6991caaf4f63e0644f03729cab814079fef4868c8 SHA512 7a21d5eb05ea8d691dfd54ce4cf7d3693d08067f7a88ef17b8c3044634f46411176b1bde1516c442577910b254007b247f5e40f9932eb601cd96cd574f9d9db8 +DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 +DIST unicode-normalization-0.1.23.crate 122649 BLAKE2B 22ea5ce3f5a2b371c3c8782321b1bbbee724db1e4d8c1d43af4e6bd8044b99307c227d93631d178d10fda445a941a485882ae0015a6e3d3c347e4bd465bbe1d9 SHA512 539f04010810d73fde7b0ab314faf813f3e7ecd2e51d7975281554b7cba4a8706e2b5523c4b7840568593652360ca59e9db0e1ce342e71c28db635ff55ffb0f5 +DIST unicode-width-0.1.12.crate 24062 BLAKE2B 61afd22353d46a8a77519af9b3580d75dafc7965967f7724cb740f1ee199c7742b3549ad6c67776b876dbda5b8f27c634431f68517e29a72ade1622da9fde446 SHA512 0bafd7a69bdf49c849e7c063ebf0487eca8a76244e3bc18c9a5f4609465dc0e5d482daceb6a9a6f4125b801bf7063cb8225fdb55173e5dc55e7bf278300df1b4 +DIST unindent-0.2.3.crate 7306 BLAKE2B a57407b117e99c230750c7d4a2a0899586c8271e4ba88ecb409c976905c014f42885372c234a75fbfbedf71dbed779f95f735975d150adacdcb61152a49db4c2 SHA512 2f1eb420ea3653b00d3e5fa0c2c105da8fd8a37cb3e699373c168604b799fccd5f0faf0cddce4212d119c2afb0c86b41efc3a50752b83ff7beda2bd84d360505 +DIST unscanny-0.1.0.crate 10338 BLAKE2B fd725928107d4d2ed2686709335ef01136bcd54d34180189906b7c2436e3f77496328484c623dec4920738f4a07e92be7e7581387c4f5b6996fa34c03efd7b0f SHA512 8267e327e4e852d627d416d58ebad5ba937ab6a2477b265fd5f79a98d43ade2d1780e67696b801cae8a4af10da8f7c0c257d2c878289eb6cf7e711dcf357d87c +DIST url-2.5.0.crate 78605 BLAKE2B f3fec3477248cbbe67866577eebb03f517c284a5e5cb783132b11ef3ad156a03524f4730f188d822dec85169d7474e265099296d6bdd4adf5ffaa0a118821617 SHA512 4aedbc48b85bcc2853189f5fe8265a01c76516b5507f4e958d8d0b860fe2590c69c95f0f4b9fd6fac9b8d5911bcb0a5e9ab7f8e8b600f37a12db1438976ee5c3 +DIST urlencoding-2.1.3.crate 6538 BLAKE2B 65777b0990aa6b3d27a47f36114da8622026ac8946b5ffb6e04172b666ec7244a55c250a7fb626472bb2b636eb32ee945599cee5ce7351c3cef2322366db15ff SHA512 035848d9243ed6a4528377b56edd7f8bcb5f824381b420dc8f5c4bfc3f1246655c54eaa7de0e4aaa7138e0b08fd796b9ace140ab919aed2d94f6952b577386ac +DIST version_check-0.9.4.crate 14895 BLAKE2B fa1fa4008af165bfc1fdbe560488afd9d232cfafee94104fbcc4cbc52f234849bff9ddfa88109a1ac682f6d9c1d86b0459893d223f64e65adc08966aaf93dc89 SHA512 b172dc9a3759a4a683ffc39b9a40b03b9974b626a088217de87090466cef695226557c226cf3e469b2b25ee7297b7eb0d7719878cab42457f80146a81943c0c8 +DIST wasi-0.11.0+wasi-snapshot-preview1.crate 28131 BLAKE2B fe501889f25d65e2d032f885cc50c4f8bf7dd70fd5cbc438de349838370d8699e9627b0a4fc76030ea9fe6d508f41d0c9928a875fdbc47e73bfb17241cf7b155 SHA512 043500ab28cd9cb779475255da5d109ebab7fccca72b64873dc28d77bc5a157ba8d96b9e8f05223b5b36c7089bb7b4ba87657fc69bac16b78972f897294a865f +DIST windows-targets-0.48.5.crate 6904 BLAKE2B 7396bb210f37bd51da86f39fca3425c8f6610721d5c4e94f9fafa0a8a8046303b3fcc6979146bcfaa32f4406d242a0455f6cbb220f84c6ff84650e755acf5223 SHA512 e079eeef255a046be7f8e6a31c14f7b230254ebcf05eed2944827bb3d2a0dc30940d87593cf544d5e7ef35f6312b99430efcfb01421d91b02bb9c4bef7d98709 +DIST windows_aarch64_gnullvm-0.48.5.crate 418492 BLAKE2B 5c6f7d73ad05740f0bac304ed1ef9b2ea63b0d6ca8f875552ae299a0b73b1557e8fe996f1c2b69be9f2df350c9288690f49ee62239a2896991364331d6c55462 SHA512 20158d31454488f6053d3ad7b97d7fc6eae6cf37e4ba0e50c28bd29b368505eed64199ae31104d5f97b66846be54e5ed25c0ad31ea850819205c573a31ac0996 +DIST windows_aarch64_msvc-0.48.5.crate 798483 BLAKE2B 60c466d6536426425a34b5ca20da97c8127ebeb4fb9b1363911165bada484f8913fcd50e90410b5661e0c27dbfe8f4eeaa62fb17d1f3566bfc82b6255e11619b SHA512 223f016c6f1a44dbc5c8a8428b39438f75380ea06951b7c26ed0877b19d79410c6fde5e4c7f2c839b6e76159131f39a1230e0e3a208dfc425ba9117e3665c4ff +DIST windows_i686_gnu-0.48.5.crate 844891 BLAKE2B fdc37cd74a4982056bf22fdb7b84e1c55dc838f3cb19ff3648730a77e673ef4ecc0380b3e4277bb8df2fcfa25f57b69014713d9e3ed27c28e19b25b3ea2ab774 SHA512 931ba5c1e4eb8ae73248e00d9611298d1c4b4b0dae719fdeb9243930cd420a103a7bc2738e0a4887c42c8f25728d6c5d64ad141dc092bc3f1d0f35dbe37d303a +DIST windows_i686_msvc-0.48.5.crate 864300 BLAKE2B 3d3ea8be55e2d6ced0eeda18abe1dffb925a1a78f456d683e4450d9f2fd287ad2e8494d65b2b770c677a12b3a60d10f0435e16c61880e3867c3657fd44892442 SHA512 70e2fb4fdb006a4cbd43ab2c7e940b277a15fb1790dfa2d1fc1f1fd18bead4886f6dc046e44326603e4894d988578917b8932aba5d9a6a4cc8424911cad9dc7e +DIST windows_x86_64_gnu-0.48.5.crate 801619 BLAKE2B aa7e7e6a6ff9f9553ada3a0a39a9aa798e9d995a8eef36e0b6fdb2a0db93ddecee5548970575271fe43aec74797a420d0ee231d503b5bad1bd999059261e0e33 SHA512 1d6056fae430b3d042bdff3c6217c76be4b8b9f5dada9bad06beaac2db7d7ab9b0a82e44f498ec88e61afa73e99f56d84d445dc3847732b9ce5d947e08485f74 +DIST windows_x86_64_gnullvm-0.48.5.crate 418486 BLAKE2B 12a2199d434617c1df1a839e9f435620ad64b40c579f6d0c3677553ad7a48e5765d12c266b04946402e15c92cff2e4ac4979ce2130750ef426e2672119680284 SHA512 c016d5b5e73832b61ff67929d92fa8c16e154656294357266ad29ce1f44db4ca2d2935dba31a6b571187dc838b1d22f1e3b41fefffd1d719a338439adf1646aa +DIST windows_x86_64_msvc-0.48.5.crate 798412 BLAKE2B 8abc0721e2fb337fe17c91d278947d36122d9045b839ba0cf3e690202d242265b676f23cc301da5f9d98c56ca4ecb76f7d6f072ee71bf986a1deca87020b90e5 SHA512 fa1c5cd14ca2ff0082e2504cf59d317dc4dc6f7138d35c12f95d4476a9c13d8b7f5537d0ee251eee7c99411ad31b22263171b7fbd391daa5d3ea3488ceaa61a0 +DIST zerocopy-0.7.32.crate 151096 BLAKE2B 12c7c329ec0e0865467af08306ff4b55ce1e39fd77b094ee48ed9c6e266dfa807bda9ea72a3f7ea989916327f4d9e803d8868995728bfe2fb1c2dc1e5ecff78e SHA512 6729b05eb88029555b88c75feff4f8bc28ad9675edb02b07486381f775c8650c95e2e59612906bd9c34c5e390fd339857ca91573ee9f9ca7948572cff4171c82 +DIST zerocopy-derive-0.7.32.crate 37623 BLAKE2B 8b583d39d7bf9c3dbbba578120751c664f87363c5ba3fc45f6506a4059b9e599c43d9fc7bd498a257ff7c9d872af77d39bebdb0e65fb8009eaa2ae9903dece46 SHA512 3ce8528871fd18d6abe92b98503927451d25791c9c4af0ba39a3b6ba2006030bdc137084d080e9b1ac8b5ddf5f2121e0a3ef34bb2033a040f2c72c8149a9fc0d diff --git a/dev-python/pyproject-fmt-rust/metadata.xml b/dev-python/pyproject-fmt-rust/metadata.xml new file mode 100644 index 000000000000..ccb9c6f0b2dd --- /dev/null +++ b/dev-python/pyproject-fmt-rust/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">tox-dev/pyproject-fmt-rust</remote-id> + <remote-id type="pypi">pyproject-fmt-rust</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.1.0.ebuild b/dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.1.0.ebuild new file mode 100644 index 000000000000..148b87aa275f --- /dev/null +++ b/dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.1.0.ebuild @@ -0,0 +1,159 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +CRATES=" + ahash@0.8.11 + aho-corasick@1.1.3 + any_ascii@0.1.7 + arc-swap@1.7.1 + autocfg@1.2.0 + beef@0.5.2 + bitflags@1.3.2 + bstr@1.9.1 + cfg-if@1.0.0 + countme@3.0.1 + deranged@0.3.11 + derivative@2.2.0 + either@1.11.0 + fnv@1.0.7 + form_urlencoded@1.2.1 + futures-channel@0.3.30 + futures-core@0.3.30 + futures-executor@0.3.30 + futures-io@0.3.30 + futures-macro@0.3.30 + futures-sink@0.3.30 + futures-task@0.3.30 + futures-timer@3.0.3 + futures-util@0.3.30 + futures@0.3.30 + getrandom@0.2.14 + glob@0.3.1 + globset@0.4.14 + hashbrown@0.14.3 + heck@0.4.1 + idna@0.5.0 + indoc@2.0.5 + itertools@0.10.5 + itoa@1.0.11 + lexical-sort@0.3.1 + libc@0.2.153 + lock_api@0.4.11 + log@0.4.21 + logos-derive@0.12.1 + logos@0.12.1 + memchr@2.7.2 + memoffset@0.9.1 + num-conv@0.1.0 + once_cell@1.19.0 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + pep440_rs@0.6.0 + pep508_rs@0.6.0 + percent-encoding@2.3.1 + pin-project-lite@0.2.14 + pin-utils@0.1.0 + portable-atomic@1.6.0 + powerfmt@0.2.0 + proc-macro2@1.0.81 + 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 + quote@1.0.36 + redox_syscall@0.4.1 + regex-automata@0.4.6 + regex-syntax@0.6.29 + regex-syntax@0.8.3 + regex@1.10.4 + relative-path@1.9.2 + rowan@0.15.15 + rstest@0.19.0 + rstest_macros@0.19.0 + rustc-hash@1.1.0 + rustc_version@0.4.0 + ryu@1.0.17 + scopeguard@1.2.0 + semver@1.0.22 + serde@1.0.198 + serde_derive@1.0.198 + serde_json@1.0.116 + slab@0.4.9 + smallvec@1.13.2 + syn@1.0.109 + syn@2.0.60 + taplo@0.13.0 + target-lexicon@0.12.14 + text-size@1.1.1 + thiserror-impl@1.0.59 + thiserror@1.0.59 + time-core@0.1.2 + time-macros@0.2.18 + time@0.3.36 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + tracing-attributes@0.1.27 + tracing-core@0.1.32 + tracing@0.1.40 + unicode-bidi@0.3.15 + unicode-ident@1.0.12 + unicode-normalization@0.1.23 + unicode-width@0.1.12 + unindent@0.2.3 + unscanny@0.1.0 + url@2.5.0 + urlencoding@2.1.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 pypi + +DESCRIPTION="Format your pyproject.toml file (Rust extension)" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-fmt-rust/ + https://pypi.org/project/pyproject-fmt-rust/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions ISC MIT Unicode-DFS-2016 + || ( Apache-2.0 BSD-2 ) + || ( Apache-2.0 Boost-1.0 ) +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/pyproject_fmt_rust/_lib.*.so" + +src_prepare() { + sed -i -e '/strip/d' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test_all() { + cargo_src_test +} diff --git a/dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.1.1.ebuild b/dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.1.1.ebuild new file mode 100644 index 000000000000..1255b5969e06 --- /dev/null +++ b/dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.1.1.ebuild @@ -0,0 +1,159 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +CRATES=" + ahash@0.8.11 + aho-corasick@1.1.3 + any_ascii@0.1.7 + arc-swap@1.7.1 + autocfg@1.2.0 + beef@0.5.2 + bitflags@1.3.2 + bstr@1.9.1 + cfg-if@1.0.0 + countme@3.0.1 + deranged@0.3.11 + derivative@2.2.0 + either@1.11.0 + fnv@1.0.7 + form_urlencoded@1.2.1 + futures-channel@0.3.30 + futures-core@0.3.30 + futures-executor@0.3.30 + futures-io@0.3.30 + futures-macro@0.3.30 + futures-sink@0.3.30 + futures-task@0.3.30 + futures-timer@3.0.3 + futures-util@0.3.30 + futures@0.3.30 + getrandom@0.2.14 + glob@0.3.1 + globset@0.4.14 + hashbrown@0.14.3 + heck@0.4.1 + idna@0.5.0 + indoc@2.0.5 + itertools@0.10.5 + itoa@1.0.11 + lexical-sort@0.3.1 + libc@0.2.153 + lock_api@0.4.11 + log@0.4.21 + logos-derive@0.12.1 + logos@0.12.1 + memchr@2.7.2 + memoffset@0.9.1 + num-conv@0.1.0 + once_cell@1.19.0 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + pep440_rs@0.6.0 + pep508_rs@0.6.0 + percent-encoding@2.3.1 + pin-project-lite@0.2.14 + pin-utils@0.1.0 + portable-atomic@1.6.0 + powerfmt@0.2.0 + proc-macro2@1.0.81 + 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 + quote@1.0.36 + redox_syscall@0.4.1 + regex-automata@0.4.6 + regex-syntax@0.6.29 + regex-syntax@0.8.3 + regex@1.10.4 + relative-path@1.9.2 + rowan@0.15.15 + rstest@0.19.0 + rstest_macros@0.19.0 + rustc-hash@1.1.0 + rustc_version@0.4.0 + ryu@1.0.17 + scopeguard@1.2.0 + semver@1.0.22 + serde@1.0.198 + serde_derive@1.0.198 + serde_json@1.0.116 + slab@0.4.9 + smallvec@1.13.2 + syn@1.0.109 + syn@2.0.60 + taplo@0.13.0 + target-lexicon@0.12.14 + text-size@1.1.1 + thiserror-impl@1.0.59 + thiserror@1.0.59 + time-core@0.1.2 + time-macros@0.2.18 + time@0.3.36 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + tracing-attributes@0.1.27 + tracing-core@0.1.32 + tracing@0.1.40 + unicode-bidi@0.3.15 + unicode-ident@1.0.12 + unicode-normalization@0.1.23 + unicode-width@0.1.12 + unindent@0.2.3 + unscanny@0.1.0 + url@2.5.0 + urlencoding@2.1.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 pypi + +DESCRIPTION="Format your pyproject.toml file (Rust extension)" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-fmt-rust/ + https://pypi.org/project/pyproject-fmt-rust/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions ISC MIT Unicode-DFS-2016 + || ( Apache-2.0 BSD-2 ) + || ( Apache-2.0 Boost-1.0 ) +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~s390 ~sparc ~x86" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/pyproject_fmt_rust/_lib.*.so" + +src_prepare() { + sed -i -e '/strip/d' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test_all() { + cargo_src_test +} diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest index 4c68b0917d36..16de27a5879c 100644 --- a/dev-python/pyproject-fmt/Manifest +++ b/dev-python/pyproject-fmt/Manifest @@ -1 +1,3 @@ -DIST pyproject_fmt-1.7.0.tar.gz 16358 BLAKE2B 944ca460a002caebb98d06588bc89d8cd5c041f7ced200afc9748c6c47f6641dc1e3857cb426c13fc7a1f65738c9d2cbd5d0a575b11e9897be4875d3aff86316 SHA512 f69ade0e9b617a5ccf59b401220cbc95dcae006eb64ff92380ad5f0df598f5f7e8283d96666ffbdd4d2f9acc900923795c2a11496eda8842bcf1d8d1c9113bf8 +DIST pyproject_fmt-1.8.0.tar.gz 16696 BLAKE2B 1614fd6da4bb7be818825138b69b826b7141ae0fcada4414daa54b1c883ec3bbdbe95377155869d0c393b1b9646b69ebb009fe47f1c530b1f1c9f02c8ba8f57d SHA512 0731ffbe514cf8788bf1cfcca506591fefce3b98b1c6d014a8e17825ab6c73edc4ad8e7214cd8f6fc9124ed2ff362d03b328d47e96a6246165b4dd9fdd68299f +DIST pyproject_fmt-2.1.0.tar.gz 9012 BLAKE2B 5ddc95d9f5ef322f1895772d63a3d6a800172d57655f795d74a077628020ab54ee1a4ef52b3a317504567ce2a13b4c6cd229f7ee05dbcc5fecabb0762679f12e SHA512 00a9541c61ca1924a78a48736962df39e055cf61cd2a312dc0fd2c7efb247d504f7e747912d328e689de25049c944cc2b422dc6c74c1c1e910b6294bd2306944 +DIST pyproject_fmt-2.1.1.tar.gz 9015 BLAKE2B 40203bcae46203f4b0edba02290741788b5ea382595e0da4717a72a632e78bb4ce7d8ea3ae1d91129a9f51e2116b02ce65990419f878a4676aa152e4eb75fd67 SHA512 4ccb98d8a8fa6d1ee8f63a6e6fdfeab4411da267ec85da957fab92f593dfaf142daebd1cd9a398afe0ec18c135c365733d529204f042a57da7be9622f09dd7d1 diff --git a/dev-python/pyproject-fmt/pyproject-fmt-1.7.0.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-1.8.0.ebuild index 7da8128f9cf9..7da8128f9cf9 100644 --- a/dev-python/pyproject-fmt/pyproject-fmt-1.7.0.ebuild +++ b/dev-python/pyproject-fmt/pyproject-fmt-1.8.0.ebuild diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.1.0.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.1.0.ebuild new file mode 100644 index 000000000000..7027811e4f01 --- /dev/null +++ b/dev-python/pyproject-fmt/pyproject-fmt-2.1.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Format your pyproject.toml file" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-fmt/ + https://pypi.org/project/pyproject-fmt/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + ~dev-python/pyproject-fmt-rust-1.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) +" +# tox is called as a subprocess, to get targets from tox.ini +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytest-mock-3.10[${PYTHON_USEDEP}] + dev-python/tox + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.1.1.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.1.1.ebuild new file mode 100644 index 000000000000..eebff30a0ae0 --- /dev/null +++ b/dev-python/pyproject-fmt/pyproject-fmt-2.1.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Format your pyproject.toml file" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-fmt/ + https://pypi.org/project/pyproject-fmt/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~s390 ~sparc ~x86" + +RDEPEND=" + ~dev-python/pyproject-fmt-rust-1.1.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) +" +# tox is called as a subprocess, to get targets from tox.ini +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytest-mock-3.10[${PYTHON_USEDEP}] + dev-python/tox + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/pyproject-hooks/Manifest b/dev-python/pyproject-hooks/Manifest index 62489d7f8552..473fd942c57d 100644 --- a/dev-python/pyproject-hooks/Manifest +++ b/dev-python/pyproject-hooks/Manifest @@ -1 +1,2 @@ DIST pyproject-hooks-1.0.0.gh.tar.gz 16001 BLAKE2B c90d2fb70ada9414cbbf201bfbb695b4e9055b61fdcdc8e0f8a2548e4f47e7512140fc71fee9f9306577d97b76ca64e77b7c58d526381c5481739e630e5250a1 SHA512 fca9b69859d7e3949b158c2879ba7ebc7305f1edaacdd84b71a92565010176d1194be03a21fd6b9aa65d175cfd8243ba3a50aab617fb56ceac6b263da6613e17 +DIST pyproject-hooks-1.1.0.gh.tar.gz 18774 BLAKE2B e6b376188655a5bc188567f412c22f8224209612c4fb0332f8c0c441180c18589139549139957834b3359bf3ced961e22f97e2449edc354047afaa6d2eff58d7 SHA512 256028d13adbe35126a63431a2a49e0c48adddce5ffc3ff2eebad368eee7ce52591ecfd8a8526876de20bc59dfc87156533d6a97b55538a739873e60f9509eff diff --git a/dev-python/pyproject-hooks/metadata.xml b/dev-python/pyproject-hooks/metadata.xml index 4788ace41f6a..c8e7d7283e51 100644 --- a/dev-python/pyproject-hooks/metadata.xml +++ b/dev-python/pyproject-hooks/metadata.xml @@ -6,7 +6,7 @@ </maintainer> <stabilize-allarches/> <upstream> - <remote-id type="pypi">pyproject_hooks</remote-id> + <remote-id type="pypi">pyproject-hooks</remote-id> <remote-id type="github">pypa/pyproject-hooks</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/pyproject-hooks/pyproject-hooks-1.1.0.ebuild b/dev-python/pyproject-hooks/pyproject-hooks-1.1.0.ebuild new file mode 100644 index 000000000000..de011f5615ab --- /dev/null +++ b/dev-python/pyproject-hooks/pyproject-hooks-1.1.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 2021-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 ) + +inherit distutils-r1 + +DESCRIPTION="Wrappers to build Python packages using PEP 517 hooks" +HOMEPAGE=" + https://pypi.org/project/pyproject-hooks/ + https://github.com/pypa/pyproject-hooks/ + https://pyproject-hooks.readthedocs.io/ +" +SRC_URI=" + https://github.com/pypa/pyproject-hooks/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/testpath[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/pyproject-metadata/Manifest b/dev-python/pyproject-metadata/Manifest index 15eebe5b4dc9..83144fe4067d 100644 --- a/dev-python/pyproject-metadata/Manifest +++ b/dev-python/pyproject-metadata/Manifest @@ -1,2 +1,4 @@ DIST pyproject-metadata-0.7.1.gh.tar.gz 14138 BLAKE2B 901e0b0b07d035ee220cfdba840a2b05ec1b1dfa3184ab614621c462b049bdbe484aa2d9abc42a54964c163d360028a00ff1db2c502504d11fb6d2837bd60552 SHA512 a4cb97b6646b765016f047f8d3da388ab758dbf8acf5a8ee6ccb017c764a90c069e04effbef21f878be7f4b01a5090f24252372300ce7e3a0410a6eea5d98b66 +DIST pyproject_metadata-0.8.0.tar.gz 14862 BLAKE2B 03c9a7fc9c53c56b27ea5c72789db10aa045d239c81bf30e926c0ed44d6b61028a27c4dbe02a40eb4ae7ce4a93efb24c63dd4b66f2e98f185fc68d96e96c350a SHA512 e3ec79bcb066fd952a7e88b62534775746b20a52b9952a303e80466c465e394264b8984ca30a1461cd8437334ae7b1a299be7d8036e99e3dcf59828d70650442 DIST pyproject_metadata-0.8.0rc1.tar.gz 14781 BLAKE2B 38489f2b927ac3e65221be56b76dc8742c366776e26edddb29b7dd3e916d6ff342a6e48ac32a1718aecd81b1661cde8dac2c3f474d0de7780b77808c4927ef23 SHA512 d7280eb3537a6a497f09b75edd1c1fe2be8f1d8e0f7289c880e6b73020e73f1b7a8999e9787d88373dbe553d3b5fca054f06a1fac3651c25100bf83b367ec390 +DIST pyproject_metadata-0.8.0rc2.tar.gz 14865 BLAKE2B cba92b62020ac139f71cb5cec60f50153ce10ff4d3c3d1609a41881dc26036c2b0df51bbd77ed732e820ef42ea03d1a9f0d3d8f299b06cdbdf13ebfbc935eb0f SHA512 7c11f089e6061d7f75dde27ba04695d363f1ed2063e8b11ac508c3b587e76a5b4c50aa4ebbfdf9ab524b75986edb1562ed27526c352eba54c5981e70c165fa0d diff --git a/dev-python/pyproject-metadata/pyproject-metadata-0.8.0.ebuild b/dev-python/pyproject-metadata/pyproject-metadata-0.8.0.ebuild new file mode 100644 index 000000000000..ab0bb2fda4b4 --- /dev/null +++ b/dev-python/pyproject-metadata/pyproject-metadata-0.8.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022-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 ) + +inherit distutils-r1 pypi + +DESCRIPTION="PEP 621 metadata parsing" +HOMEPAGE=" + https://github.com/pypa/pyproject-metadata/ + https://pypi.org/project/pyproject-metadata/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/packaging-19[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] + ' 3.10) + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/pyproject-metadata/pyproject-metadata-0.8.0_rc2.ebuild b/dev-python/pyproject-metadata/pyproject-metadata-0.8.0_rc2.ebuild new file mode 100644 index 000000000000..2115e63ad7e0 --- /dev/null +++ b/dev-python/pyproject-metadata/pyproject-metadata-0.8.0_rc2.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="PEP 621 metadata parsing" +HOMEPAGE=" + https://github.com/pypa/pyproject-metadata/ + https://pypi.org/project/pyproject-metadata/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/packaging-19[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] + ' 3.10) + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/pypy-exe-bin/Manifest b/dev-python/pypy-exe-bin/Manifest index 0e4a262b68ee..99f05463c4e2 100644 --- a/dev-python/pypy-exe-bin/Manifest +++ b/dev-python/pypy-exe-bin/Manifest @@ -1,8 +1,8 @@ -DIST pypy-exe-7.3.15-1.amd64-musl.gpkg.tar 12912640 BLAKE2B 7119865aae291e7920f7f62f489468696d9c508046db9ab3060ee6bd443dc7f4136670d0de45cd8f84c9231ec25b6664354208db4a7195d3a26c385b599b5258 SHA512 42305bd1c9f8034ef6dbcf25ae2f2318b8eb30fd04dd8de531b1a9a66304861331027722261101984194c4850e541ffa5b522d5188987b213f97057e3dc8a3cc -DIST pypy-exe-7.3.15-1.amd64.gpkg.tar 12892160 BLAKE2B 75c496341f45db9f9e3a202bf3f6f80e8d10f21588ffefef630920f9c4518aa7e4089ef7bd6287110123bed64a18081b6e739e590deff64ed5258ce318f81972 SHA512 bdc35fa69d8fbcdeb55e7707450197d5bedf33422e4cf7c8ee21e88d8673e0781e626a871c6ddd671248fb90d9474c3bc7371d771dcc81f9b88f413599d5ff3a -DIST pypy-exe-7.3.15-1.arm64-musl.gpkg.tar 10874880 BLAKE2B 69fcbab296f95a4c1ac1daea9e97de09d89949fdf8e247e1229a134a5eeda586e044c87ccd05a762656ad2d14cc8fc5ce1b7a65ae4f0568668b66e9f6a33b003 SHA512 b3b6164760dadbcc0af6151209e449f9143e6117fa4863d11502a0dbfca4efc0ad95c63f9a7b773a0a25f68a6028f8ed5fd8487b14ac8da565da480e706742d1 -DIST pypy-exe-7.3.15-1.arm64.gpkg.tar 10874880 BLAKE2B 5d4c6f3f422d1a90fb47a7603aacc1470dab6d5779a03b2bf07eb57035490d89abd7226a314a93f93566a5ff9703bc5a267c57ff6e6d4e7e6d3f7abf7763e78d SHA512 0400d9478de16a8e1e4ce312def4f4508470996268430d12a7f8def41e4d12cd69433f00fc61ba9b6056fba6090fd82e87ebe2d4da6314957c69c00e343717e1 -DIST pypy-exe-7.3.15-1.ppc64le-musl.gpkg.tar 6696960 BLAKE2B a39cb7d46c4a877b2eab6c81c2728dea490953e71fda305c84eaca0131c8088372b14570bb06feb449201d67b5a416362a8571fee850c8109ec9f18890f5f2d3 SHA512 40a23a44ef11eefb4d7680ad947ec72e34e00e4fcd1a7f04cb078320dd8222918d5113de6d42b9e45a42066af861130887647087a40f6515e7ff4ba9cf0db07f -DIST pypy-exe-7.3.15-1.ppc64le.gpkg.tar 11100160 BLAKE2B 294ba3f95fc81122348747e922f589d16028a34bcc5dee12464a06584986f3bd6e542a4f097d7fdee3348d727bf4bbf1fdd6beb655f8e34f4608b319e22e8339 SHA512 c374a605372cd200cf7c7cd8792c74dd1187fc77c5405537539823044da344bde5a540442bcde39aaaa7c8bc330ea03896311e8353e0e81bab312fac40ff60fc -DIST pypy-exe-7.3.15-1.x86-musl.gpkg.tar 9861120 BLAKE2B 97d3d7b80150246c49688847d2a7008cade36a0a3c89c3223be6205cf17c4623520786b393c301d42146863afb6118f7b58bb406a25bdabd9b6737016cee8718 SHA512 ca98a1bce5cbc9e9d2b90c6766b6eee094165420c38c676e63a185f54db50f275723b4b5e6183b1cc44ffec199973a57c3b0cc5fb4b0b9c6ebc2837ba84095a8 -DIST pypy-exe-7.3.15-1.x86.gpkg.tar 9902080 BLAKE2B 79cc4705c9ebdac2a4a982f095750538ecb63ca38db97dcd995ce922781f80c006311025f8e51dc8e4ef32ebfaa0ae4ae333513b19e9778503947edd1a7c69bd SHA512 12cda3f33a38c3a624095ddd25bcdde8b3ecb5b6886182ee94d7149389703b98733413d6dcbb818d9363195b46d89fc997620e72b9bd26f797223604707fef57 +DIST pypy-exe-7.3.16-1.amd64-musl.gpkg.tar 12933120 BLAKE2B 4a70fc1b6724a75cd4d162a0a61f43242cf6ca889e8f00bc8ed4813aa2e303cf2ebc90bda48fab5aad06de3ac4654e1fdd48c94ab0be44fcf58879655b8dcb98 SHA512 dc1be0e135669593ad05f94b2696bd7cc41a9f3b0e3e46dec4f3909ff6763463372e2da0d2ebf6d4c04b966b6b78d552593bc4de52cc3a0a9e1c3d9f3d499338 +DIST pypy-exe-7.3.16-1.amd64.gpkg.tar 12943360 BLAKE2B 1991240985234b17410387e08008619aa15bbd56d5af855fe2aa75b6fe7936efeab0e42e10fee11d2a6a4eb26de1ae1a470f9a14b842b00a584c18db82bc4df1 SHA512 e0b4a8ca3d312931a2d1ed08f4a98c513ec4ef03c925d82a270357887e1d83c68aa4b68328106a000e4135c96081395a52fd28eec02bbbff06ebec12d4b815a2 +DIST pypy-exe-7.3.16-1.arm64-musl.gpkg.tar 10915840 BLAKE2B 51ea5c558283fd8da09b1ad410a2287a7512d6f5a5b1cd6882bfb10206a81c025ed08ee99cd05caefa41ddf1e6f17d6935e04e756bae7f2e2a80dd19d4a290e8 SHA512 0835866ad97e1e2aed406d8d346356a2095b3cb18fb22648f510063ff76cd9c29cf09877dda6f6ab2637748b376890143372b2012a322c60ced65be0e1b0d7fb +DIST pypy-exe-7.3.16-1.arm64.gpkg.tar 10864640 BLAKE2B d33b2e35cbc81ef72ee9c04072664e1481ef8b2291be8d74a4bc2e3a5c177abf9344cc0880cfd5bfc04b684edcb6a12851b72ae77744cd36aae0b9cdaee616aa SHA512 9c49541850d359577ad5057e67fbfde13b7e0bf381305c5a15dec14e818f2ac6fcc59dc1654271b6e2f6a04914c7afa40f0caa8c7904c6eaa6633b80780e9500 +DIST pypy-exe-7.3.16-1.ppc64le-musl.gpkg.tar 6707200 BLAKE2B 3d3a3d0c0fef3a69c6c0e6a16c91abf3c8c3a232883f01c13121ed22d3c608ff62347823342e78892a080b84f52652507b870711452e087cab201d0acb58c7c4 SHA512 c36327ec441875c7ada54e3ae9e95651307f03a3dcd447c1d112527c72ddbdcbc303f5769a837e8b3c528d13aeb35ffe1cd9b11ba0575b0e5859138a67f7a2c6 +DIST pypy-exe-7.3.16-1.ppc64le.gpkg.tar 11038720 BLAKE2B 1a7aa31d9ec59a3aeb57c254d2b9efde9d02aba1663683999f1ebae95b2ad0c68a2fc8e4806420b1ad9f45ce4767f8e048b9607d1f124291770a99b423ae799f SHA512 5659cdb5a4a001d9c878670b0f5e7d06e6aa55d8fab403ab80a98e6b362bb8185b01fe4af092cc9042a1762ca52cc0ce81937c84240d08ebb84071cd860559e2 +DIST pypy-exe-7.3.16-1.x86-musl.gpkg.tar 9912320 BLAKE2B c6a42ce64cfda1a148af49e0876b640fb3ecaa7e70b5d5b22e58b9796c11b0e4d9fb5536927b7b20b05b9eaa2210333cb1b1be81581483a21a7a3699e5721e01 SHA512 8964ece7482218e06ab65b790f8f1fcf15a94c270daa9a2381b35ae335717a02f0b32947578fa03f0905a0783cb5fcf3ef03cb87a7ceaa7110c8593e483a971e +DIST pypy-exe-7.3.16-1.x86.gpkg.tar 9861120 BLAKE2B b83fa9e3c3bbbd7c49ea2fdceabd7125e0db36ee20c2b71969833512f69070e07a1485ab830261f34e2571dbd48b9b65ffb580e9f8ae4b667626ca81b560c493 SHA512 eb2be6886126c675fc85458d34a0bcdd1da1415c843448e39d413b80d363698cb48b3b68bf8869b5ef898f0543966ab501bd4db545d7659705c279bf4de29ae6 diff --git a/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.15.ebuild b/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.16.ebuild index 900de22d9f93..900de22d9f93 100644 --- a/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.15.ebuild +++ b/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.16.ebuild diff --git a/dev-python/pypy-exe/Manifest b/dev-python/pypy-exe/Manifest index ba35d88e52ad..07bbe9c11ef5 100644 --- a/dev-python/pypy-exe/Manifest +++ b/dev-python/pypy-exe/Manifest @@ -1,2 +1,2 @@ -DIST pypy2.7-gentoo-patches-7.3.15.tar.xz 5324 BLAKE2B 395b1292b59cc9b2147fd488726d7cb2c18e7240d604d0bb19f172654c87b453a27f33f29bd2c1cb230d35b660457a317247c3b2eb73e8f3247c7d01fd35aa6a SHA512 698a58b30f5a4785e2d94c38cb0e7ce2666b6b621ee0ae4e9fd51862efce13449342afe6408edc9f4ba68497f2138d653617fa4a31cd925a51a048dd79467913 -DIST pypy2.7-v7.3.15-src.tar.bz2 19834343 BLAKE2B 4e1145cac007223de0616029dfe763a8d2b3e25a6d867c98da0e8e0431d775c6aa7e50834c761e19f96b96309dbb415a39d7811c68b1b3a26c16cd222911205d SHA512 40448c7c94878bcb88402de8719a4a6a4ffe3f68d7e70500f04fe77a460b1605c83dace360988d2dae70fa2c9bb31a20c22003f70a3a2fde988f6d60507edefe +DIST pypy2.7-gentoo-patches-7.3.16.tar.xz 5312 BLAKE2B b265dd7afee097ad66bacd9df01514eed6bb30afe19410b2594ee7c2d61ababc67e11c0dd0392a0b1f81e0bc609963cde044834ab24e67d007d101b8aa8052cb SHA512 0d0309f3ed7314f6d310b0e34eedbbfdcc5a75d9bbd59b9071e567968bb10925549435776fab5bc7ec97e2b3422921dc282619427f930d89df6c7bc98ea701c1 +DIST pypy2.7-v7.3.16-src.tar.bz2 19843601 BLAKE2B 9c37a03561fcdf742eccde760f6cadcbc2e1b140dd6d3e67856cc072e0c3db85759c398f590ed44fb4e4ed2f5f7745d5589cb9a95cefcbec79f3b1be6c4956e1 SHA512 131635433e53d4d86730a3daf1ad81799a7dd1117511618cc2607ac7234ce3aa5c833400df09cbd3376a391e125d6d2ec3471f120f81a6d53700f5c3d087793c diff --git a/dev-python/pypy-exe/pypy-exe-7.3.15.ebuild b/dev-python/pypy-exe/pypy-exe-7.3.16.ebuild index e6d19abc0125..e6d19abc0125 100644 --- a/dev-python/pypy-exe/pypy-exe-7.3.15.ebuild +++ b/dev-python/pypy-exe/pypy-exe-7.3.16.ebuild diff --git a/dev-python/pypy/Manifest b/dev-python/pypy/Manifest index ba35d88e52ad..07bbe9c11ef5 100644 --- a/dev-python/pypy/Manifest +++ b/dev-python/pypy/Manifest @@ -1,2 +1,2 @@ -DIST pypy2.7-gentoo-patches-7.3.15.tar.xz 5324 BLAKE2B 395b1292b59cc9b2147fd488726d7cb2c18e7240d604d0bb19f172654c87b453a27f33f29bd2c1cb230d35b660457a317247c3b2eb73e8f3247c7d01fd35aa6a SHA512 698a58b30f5a4785e2d94c38cb0e7ce2666b6b621ee0ae4e9fd51862efce13449342afe6408edc9f4ba68497f2138d653617fa4a31cd925a51a048dd79467913 -DIST pypy2.7-v7.3.15-src.tar.bz2 19834343 BLAKE2B 4e1145cac007223de0616029dfe763a8d2b3e25a6d867c98da0e8e0431d775c6aa7e50834c761e19f96b96309dbb415a39d7811c68b1b3a26c16cd222911205d SHA512 40448c7c94878bcb88402de8719a4a6a4ffe3f68d7e70500f04fe77a460b1605c83dace360988d2dae70fa2c9bb31a20c22003f70a3a2fde988f6d60507edefe +DIST pypy2.7-gentoo-patches-7.3.16.tar.xz 5312 BLAKE2B b265dd7afee097ad66bacd9df01514eed6bb30afe19410b2594ee7c2d61ababc67e11c0dd0392a0b1f81e0bc609963cde044834ab24e67d007d101b8aa8052cb SHA512 0d0309f3ed7314f6d310b0e34eedbbfdcc5a75d9bbd59b9071e567968bb10925549435776fab5bc7ec97e2b3422921dc282619427f930d89df6c7bc98ea701c1 +DIST pypy2.7-v7.3.16-src.tar.bz2 19843601 BLAKE2B 9c37a03561fcdf742eccde760f6cadcbc2e1b140dd6d3e67856cc072e0c3db85759c398f590ed44fb4e4ed2f5f7745d5589cb9a95cefcbec79f3b1be6c4956e1 SHA512 131635433e53d4d86730a3daf1ad81799a7dd1117511618cc2607ac7234ce3aa5c833400df09cbd3376a391e125d6d2ec3471f120f81a6d53700f5c3d087793c diff --git a/dev-python/pypy/pypy-7.3.15.ebuild b/dev-python/pypy/pypy-7.3.16.ebuild index 798e07131013..798e07131013 100644 --- a/dev-python/pypy/pypy-7.3.15.ebuild +++ b/dev-python/pypy/pypy-7.3.16.ebuild diff --git a/dev-python/pypy3/pypy3-7.3.15.ebuild b/dev-python/pypy3/pypy3-7.3.16.ebuild index ba301054faf0..ba301054faf0 100644 --- a/dev-python/pypy3/pypy3-7.3.15.ebuild +++ b/dev-python/pypy3/pypy3-7.3.16.ebuild diff --git a/dev-python/pypy3_10-exe-bin/Manifest b/dev-python/pypy3_10-exe-bin/Manifest index feae9e08eb9a..ed0d59b28191 100644 --- a/dev-python/pypy3_10-exe-bin/Manifest +++ b/dev-python/pypy3_10-exe-bin/Manifest @@ -1,8 +1,8 @@ -DIST pypy3_10-exe-7.3.15-1.amd64-musl.gpkg.tar 12021760 BLAKE2B ffd47668ced69ffa0ff685afad343a9e4d6fcf2bb679c974ad639ad9d345bc7f87451c324e9491ab9efa5b0f8eae43ba9993f6771f2aa94caec0ec66acaf7dd1 SHA512 d515fbf498bce06680b3ec9689f3be7d4e4d467c6b00d8e8a392138c3bcd8e7ee078a57cbcf58e1e73815cfc7647583f00ce4147d0d5cb6658a170844f5c45e1 -DIST pypy3_10-exe-7.3.15-1.amd64.gpkg.tar 11991040 BLAKE2B 5a2d723b767bc1bb3861aca6400ea5a69f191b7afeace13c38c5c767a1fc17c2c8c1234835581cc8713e07334069afbc2e177772bcb84a88ecbcbd5083a66747 SHA512 6bc7212478a255b549bec93c47f949e9eaf5080b10fa1679f1e8138e2302b5d5c7dd2fb7bc4d4cb66b5f691d721b0b346ce7e40767eb96bfc31f0b50e5be22be -DIST pypy3_10-exe-7.3.15-1.arm64-musl.gpkg.tar 10127360 BLAKE2B ae36fb4e6dbb2e8c79eef5ab0def608a18aa3c3d30c83493337fab5b20b679cd68c7138290f12cd42e957ee94dd3594643a93c0003bba5365fc69c66141c906a SHA512 c31a30ef1d552d428ea2ab30e812e8506434c8c0bc1167793d1d8469f59671850278a6a34d796ad509b9b647d1d886752734550d2fd4fd27295b754b133970c4 -DIST pypy3_10-exe-7.3.15-1.arm64.gpkg.tar 10117120 BLAKE2B 39ec595d3d24ddb0496febe7308daa6b70c1150b9b3d92fcb5e62bd9854f6f68f1f486869bf5a7432276b3892ee2c4f3d387946f8fa756524d58f1b4c93f7d25 SHA512 d3e31f15a4d5781da8c942cbb7ec952fad6660dd725d61852a6de9c6d969d73ec350845d205185306bc4aec1b5ddddbb994ac58bf139a9cf779c3d8dbd48a4e8 -DIST pypy3_10-exe-7.3.15-1.ppc64le-musl.gpkg.tar 6758400 BLAKE2B 737a1a6779e65e67d583c8cf1b7b8b210cc0c42fe7f40f21ee2096d40e541635ff930316893db65f8ce492b717073c5090517871839a2e6868eab08e09d9d80c SHA512 3fb9332d61da0c7998f5ae9a248ed3a87b6d62a3f1815e075434cac215de7ec4d19ed4c7ac78ccb2a568bbbb2cfe3007423609166177ad2485b735ef243532c9 -DIST pypy3_10-exe-7.3.15-1.ppc64le.gpkg.tar 10465280 BLAKE2B b7af5d3f89e6881f697cdd16e7b8f3a7f3dd574125c0559b21f2ae5bb7ef1f948c1149c1a891ad5815461ed03e224086ab810fe45071dd2cbef9b35fe1c8cc00 SHA512 90f610253833c31d10e09e81e2ada135f5ad7486816cbc5421087cf386d1281901cfde13331c440df726d8bd2b703cf068f7effa7a13cafde48af0833027c1f0 -DIST pypy3_10-exe-7.3.15-1.x86-musl.gpkg.tar 9062400 BLAKE2B 14e371118171709a7a88cad1cc6877a486269819758f27f86083f37635d1d148ae1cdcac0f25eb0db241c199341f34f709dcaffe8292ec8c34332ddba2477f75 SHA512 833f915fd2b873ae038844bf594863fedef2bb534e81af599f356b6f9287584bde8748b066d54ad972f2a77df41fe4e61ad1a51d48e8b60c3e91cb29d1e7e210 -DIST pypy3_10-exe-7.3.15-1.x86.gpkg.tar 9011200 BLAKE2B 6d6766f1e343dfde5627d9a1ca33a27c1df39377dbf3e42c969298e20586c4430fd81ba7b9332d4258fce01167ec2c95783c65496262a1fc56bbcd07a57c1c5e SHA512 f4804bf874389eb8493a692d238e354dac3e52e6a7888c34a2bf3801429121e337e6008b0da8c9c36a15d579a3fa04e617339aab7e82e3c83ebbc0747345bf33 +DIST pypy3_10-exe-7.3.16-1.amd64-musl.gpkg.tar 12042240 BLAKE2B a770fce3044ae928c74fcd96be293fef7b87f9f8857ed430d44761eecb28b34879fb86c6c4a032e80fdbf20aede88fcaaf2a53dbe56e0cc150269807cdb28928 SHA512 a9d87be0ef72ac928c35db89321edd713cfff93f93ff2b2c5a04e91febc540859dc4e0a065ec3da2c297cc353f9278ac43d57494d282546c8e4cdc1cbb4a4cec +DIST pypy3_10-exe-7.3.16-1.amd64.gpkg.tar 12083200 BLAKE2B df6a53532cc10ade867f60d81033ee4ff46e9bb8a3331499acde65866a31ba5e25b6af6df316e4e7187005f6c98609171d5d8908a03ea7088f6306c3680d369b SHA512 89a889ae565e4d2772075eab72246ca5940e905b01f1c91082af583ec28390d018f441f427fa408e84de0b2d24b1deb28602297c653c4aeb25d3ae34e929f9ff +DIST pypy3_10-exe-7.3.16-1.arm64-musl.gpkg.tar 10219520 BLAKE2B 0fa144cdfd144c881baf71a3ed8d222165571bea07c41079af42846c1a7a633fa146ed128dd7466bff8e7911c7518e6d576bca24326d1248ad96fcb5854eec85 SHA512 dac544bd589c11c52c74ef99216b15ffd3155d764c47f8957c49369e98f2caa8feb0fb278002cb3b1244731f19b5e0c0dd2cf7e59efe49045206325b62daf5e0 +DIST pypy3_10-exe-7.3.16-1.arm64.gpkg.tar 10178560 BLAKE2B 5d9227b35bba2229679e2e103b6c6964ea1a8b88581dbe306e8d03342f6a889dac1127b615a14f85cb9c53fbf496b1f7e1236b7b8f590930dcf4d92d9a87c914 SHA512 1d689bf08fd9a1ec5892e2f81eae1d0f49fb410873e6d2914db698a2a4e0cf1bfdd7725e8d932a20ce69d4ea40f86ae16146dc9fba1c65858ff1f7f5bece4b6b +DIST pypy3_10-exe-7.3.16-1.ppc64le-musl.gpkg.tar 6819840 BLAKE2B a3ae523a26a187b7af18329483c8129e52df3bb7cc9f611769e48d4fee6ec627e203d7138bec39e4a45c7feca83d5ab913239ba30f52c797f85f2be252ea39b5 SHA512 74cd507c48e639e67beb9e4304237ddce926ff1a07df9e6fe5041305290db1ba3a506fae570b57d2f3c9c732d0deb558c8d0883183434286bc13812098c02a45 +DIST pypy3_10-exe-7.3.16-1.ppc64le.gpkg.tar 10352640 BLAKE2B 53d2804ef1a95de1edf4765261deb4c53accf59b8b2d827b2dec24a279424629322a701bd3942d05e4e13f52e796c119c237d32bf334287daad8664e1e76e67a SHA512 8016ed28f076936e3477d75d47e20af79fb97d138f924c514fcd32a02ad4b9bf3eb0d09a82d08f99843b102b4a048b78a694963e223a936b029ab903a5c60a21 +DIST pypy3_10-exe-7.3.16-1.x86-musl.gpkg.tar 9093120 BLAKE2B 56a349615ce67c3e581da65ac3b52cdc412760aea689d4b8bf6b9f5d2a4285ac67557ee6791363a0faaa1ba10f20b9d761529f278f3737b304e79682353bf1fc SHA512 cf9a8e4475c2d3c8d7c3756c7b4a61fd4effde3010b33f67aa40354658952dcf2ee7d05f6db7912bf8015dd76cf7bb08bfc7d9aea2f168bec23acab9a9068239 +DIST pypy3_10-exe-7.3.16-1.x86.gpkg.tar 9093120 BLAKE2B ef908156f0dd9376495330fe0278aa2565c5428bfe46aaeb9f11dabee2ee998969028296cef3e5b71e6d8963bd7573ddded8583e3410f4c66b7b1f17a9cb52aa SHA512 d65132d4a89f7f0764095fee1a3f10d4b7821ba45745a3576179ff2e74f24f38538fe5df6812e654cecc71fe7feecec4e2b9518c8b51aea9b66d43dca935949e diff --git a/dev-python/pypy3_10-exe-bin/pypy3_10-exe-bin-7.3.15.ebuild b/dev-python/pypy3_10-exe-bin/pypy3_10-exe-bin-7.3.16.ebuild index 9849a9ecfd11..9849a9ecfd11 100644 --- a/dev-python/pypy3_10-exe-bin/pypy3_10-exe-bin-7.3.15.ebuild +++ b/dev-python/pypy3_10-exe-bin/pypy3_10-exe-bin-7.3.16.ebuild diff --git a/dev-python/pypy3_10-exe/Manifest b/dev-python/pypy3_10-exe/Manifest index adc020909dc2..98534aa04e78 100644 --- a/dev-python/pypy3_10-exe/Manifest +++ b/dev-python/pypy3_10-exe/Manifest @@ -1,2 +1,2 @@ -DIST pypy3.10-gentoo-patches-7.3.15.tar.xz 4760 BLAKE2B 9131794293aa15cbafbc245727b5b60183606bb0273b05f4ebf8d24b525c3d6a39c8fe6f2c38487cda4a47d5defbdbb494c7786ee25a9ddc23cc9f209e5fc3cd SHA512 d2780be7ce91524bb71a47d51d9e9ad9a6aa5bd6c19903c90391cf7e6d4c9a96a98f414d22e9da7af67960ab9639f9a0f58f103c90ca9d694dcdfc4f0982bd6b -DIST pypy3.10-v7.3.15-src.tar.bz2 23934723 BLAKE2B 12b438729547faa81bc31c429e166d4bfab2b4e76cb16a687886903ad83e3369e0532297222eafbc8b0f4ae006d87cbe15b2c360ad828fd9a44124067aa788ff SHA512 84f9a30484cf0b0bcf3ef1f71ce2ecae02a51b6609acc4f6edd4096302c9940541dc947f3f0767216d83d261f8db85ea43760af8ce3c9137c70aabe5571d1249 +DIST pypy3.10-gentoo-patches-7.3.16.tar.xz 4752 BLAKE2B a5cd87f30c0b20bf5d49c3b5c979c12231d6b67750e777d4488093094d5998e6f0d9adba51c04704eb31d621089aeb12ee5a6b0a58dad0ecda0d60d2ecbdab6d SHA512 e2779841a3e56e384134416ce2a10e1e00a11d7c720023506370fb9f54363da6b7300b4019c121aa1874152b62d9679ebcd3dd679fd0dbd2bf524520990b6f38 +DIST pypy3.10-v7.3.16-src.tar.bz2 23358556 BLAKE2B 4eddae47dea1005b9450b9d3d23bd90782dffecdc252eff4fd3195a61e0e7ebbdafaf4c4b5d318c88534f152c1110c3bc4f76f43a7e711a859dd4330841a0e0b SHA512 5b941e3b5c7b0c7a50413e16122bad3e167dcc4ee159ce53e9716e9d5af79d600823f3d7442b7562bb568ff027723e22904fc0840dc06bd26e3da38c93cc5b94 diff --git a/dev-python/pypy3_10-exe/pypy3_10-exe-7.3.15.ebuild b/dev-python/pypy3_10-exe/pypy3_10-exe-7.3.16.ebuild index 6f4df92ae903..d8e6a582bb10 100644 --- a/dev-python/pypy3_10-exe/pypy3_10-exe-7.3.15.ebuild +++ b/dev-python/pypy3_10-exe/pypy3_10-exe-7.3.16.ebuild @@ -34,7 +34,7 @@ RDEPEND=" >=sys-libs/zlib-1.1.3:0= virtual/libintl:0= ncurses? ( sys-libs/ncurses:0= ) - !dev-python/pypy3-exe-bin:${SLOT} + !dev-python/pypy3_10-exe-bin:${SLOT} " DEPEND=" ${RDEPEND} diff --git a/dev-python/pypy3_10/Manifest b/dev-python/pypy3_10/Manifest index adc020909dc2..98534aa04e78 100644 --- a/dev-python/pypy3_10/Manifest +++ b/dev-python/pypy3_10/Manifest @@ -1,2 +1,2 @@ -DIST pypy3.10-gentoo-patches-7.3.15.tar.xz 4760 BLAKE2B 9131794293aa15cbafbc245727b5b60183606bb0273b05f4ebf8d24b525c3d6a39c8fe6f2c38487cda4a47d5defbdbb494c7786ee25a9ddc23cc9f209e5fc3cd SHA512 d2780be7ce91524bb71a47d51d9e9ad9a6aa5bd6c19903c90391cf7e6d4c9a96a98f414d22e9da7af67960ab9639f9a0f58f103c90ca9d694dcdfc4f0982bd6b -DIST pypy3.10-v7.3.15-src.tar.bz2 23934723 BLAKE2B 12b438729547faa81bc31c429e166d4bfab2b4e76cb16a687886903ad83e3369e0532297222eafbc8b0f4ae006d87cbe15b2c360ad828fd9a44124067aa788ff SHA512 84f9a30484cf0b0bcf3ef1f71ce2ecae02a51b6609acc4f6edd4096302c9940541dc947f3f0767216d83d261f8db85ea43760af8ce3c9137c70aabe5571d1249 +DIST pypy3.10-gentoo-patches-7.3.16.tar.xz 4752 BLAKE2B a5cd87f30c0b20bf5d49c3b5c979c12231d6b67750e777d4488093094d5998e6f0d9adba51c04704eb31d621089aeb12ee5a6b0a58dad0ecda0d60d2ecbdab6d SHA512 e2779841a3e56e384134416ce2a10e1e00a11d7c720023506370fb9f54363da6b7300b4019c121aa1874152b62d9679ebcd3dd679fd0dbd2bf524520990b6f38 +DIST pypy3.10-v7.3.16-src.tar.bz2 23358556 BLAKE2B 4eddae47dea1005b9450b9d3d23bd90782dffecdc252eff4fd3195a61e0e7ebbdafaf4c4b5d318c88534f152c1110c3bc4f76f43a7e711a859dd4330841a0e0b SHA512 5b941e3b5c7b0c7a50413e16122bad3e167dcc4ee159ce53e9716e9d5af79d600823f3d7442b7562bb568ff027723e22904fc0840dc06bd26e3da38c93cc5b94 diff --git a/dev-python/pypy3_10/pypy3_10-7.3.15.ebuild b/dev-python/pypy3_10/pypy3_10-7.3.16.ebuild index 5e7deb31db00..5e7deb31db00 100644 --- a/dev-python/pypy3_10/pypy3_10-7.3.15.ebuild +++ b/dev-python/pypy3_10/pypy3_10-7.3.16.ebuild diff --git a/dev-python/pypy3_9-exe-bin/Manifest b/dev-python/pypy3_9-exe-bin/Manifest index 4f56a7eaa2ca..f5c0867beee2 100644 --- a/dev-python/pypy3_9-exe-bin/Manifest +++ b/dev-python/pypy3_9-exe-bin/Manifest @@ -1,8 +1,8 @@ -DIST pypy3_9-exe-7.3.15-1.amd64-musl.gpkg.tar 11847680 BLAKE2B 6e2e13c6ef1faaa9ba451727a64a1749f3e2ab4645d4206420c6ee2c186438817f2a77c9a7939d485a4f04fd5b1f39d0886a42c32969e9869b44ca16fbf60be9 SHA512 fd757c68631381400901ecc2f18299eba701baa5086fb0c77ac2fbedbd7f188061c16ec0e4c84c8864ed5d235e4f98d8c5f9f26843f9acc881e2fa661d3e0131 -DIST pypy3_9-exe-7.3.15-1.amd64.gpkg.tar 11857920 BLAKE2B 052bb16e6c983ac32a860b5de1532fca6158510364ddc52f9992b1c69b948f6d6e7ba32fbaaba86597fa73db5f09a19c3e6a0208f624c9d3bbc28c43b056c886 SHA512 336f484699f89e5e3fa8bab7c8468d4e1a6cf957f947a727858b59cd9b372c94a07f5304b1f367b0bd3cd443d688fbfbe17fd23e6939988d0270c4be6df9f7a9 -DIST pypy3_9-exe-7.3.15-1.arm64-musl.gpkg.tar 9943040 BLAKE2B 701257e473f784e367a9e984dfe6af7d50ee42b214e8ebf0aa4e761102ef83b48c88ad69ea601c52b17333527bf45f908754da7e128659bd79b1849a4041612a SHA512 0bb71f3acd90f3a45dd802d1108da13b0b4c41ecbf212fa5aec22633daab85b8420c37a58bfc52dfaaa2f577ea5885df588750e634a51e165bf7fc933e5de4cb -DIST pypy3_9-exe-7.3.15-1.arm64.gpkg.tar 9973760 BLAKE2B fdacf63806aa759c7ffd3a574d1f6d8a52448d14461414e5d6aa853097d49e6bca18202af71370f340de8b8ec126b1d75c40b585b9a1d1526400236c6a050de5 SHA512 0cc8c1b96b15f4540ecbef149507bbc9f5e54258f6c7887f60c4441bf77f5dad3476e10c110d3f9c483a2abad90d513062791235810f9353d294c0c61c1c03e5 -DIST pypy3_9-exe-7.3.15-1.ppc64le-musl.gpkg.tar 6635520 BLAKE2B 89974e2537e9c2f12b0e7f0b2a92b1140ec0351c28b8b72f41b97bc4ea201b8a2f1d7bd2f71d9e47ab5775ee623167242799f051ba43421a524a897d837984d6 SHA512 c7ec389bb6a097ad023cc962989e18f45f9851e599b979c486d487048517e2d02655e90f74328f39d765d421eae1e338a73a31bf4e9c9e269941905bc9f9acec -DIST pypy3_9-exe-7.3.15-1.ppc64le.gpkg.tar 10301440 BLAKE2B 0a1a6f625a0929a65bfe01b333143d1ebe6c6c89a9a9bc1ec0c2a9274f897c56e8e080fecfbf6066d0b033d84582c7d71fbf03cb6310c01393e7f28d2e4aa2c1 SHA512 256fa79652a070747a865728f7e53e5b6d6ee4f8cdaca7cbbcf310cec883f8ed9606756bd1cb3d628fa7ba8e55f9fb7f2fa497e93c82567ff285c8ae913a3da2 -DIST pypy3_9-exe-7.3.15-1.x86-musl.gpkg.tar 8919040 BLAKE2B 58f523aa9082284adc5b4fb131023adbeba411654501e71ba286abe5e0501d070180a44236c57f39bc310ad35f5734f314139b9701c4e48ae304674eeae5ec4e SHA512 9dda550b304e73453e5eea8a5243ac2796576cb3e70ba770c8096d3077c99a0663d6a5d3f2ade3e88b6e814f994e71d5b56dfe779c3d2fc51242c01f8602bcb2 -DIST pypy3_9-exe-7.3.15-1.x86.gpkg.tar 8898560 BLAKE2B c8d3fcb749e5317e5bdd37981318cdea6ed801fccfdcf19dbc2c40457ac32e2d02e8ec500f25149172daea91decf79e62f7fd410512cf9d3e63c31f1d7c323b8 SHA512 1a547f42b739095658d96e1c8432b43f49913e0053f7ec596b2f409d6428c6291f741b56addcf88dac97f053089ca37c66b46a44b4284b00dc37b1918a5fdeff +DIST pypy3_9-exe-7.3.16-1.amd64-musl.gpkg.tar 11939840 BLAKE2B 7467d16c97696cf2c75f2840a0e898c56325f4766ffdd5c2193ca3908a7fce243ee9354d03d75b410d3b7290ebb5be6365bca892cebecf3f7c76053c33883c03 SHA512 ccac91b61018eac95cb394e8bd696ab72295cc7d607fc183d95ffde630ef01823a46f1a5ab6043eb88beacd54bbc368894ad038b40e8c3b19c66beff8a5d568e +DIST pypy3_9-exe-7.3.16-1.amd64.gpkg.tar 11950080 BLAKE2B 92b1ad6e13dfb221258452c684d95ee30a673c964e502cd1e3b9358220280eff16f2e070469e6a4a2167cb907a4aafb537a56a9ab623595bbaa003f6ae5264e8 SHA512 b0716129d93e450c68710971ab4251e7955e5fb16dc3edf0fdea5ef7ad0babc3243e84398754a9afd85e9f463a6d0a9427f8ca8867006c7c5354adad023da051 +DIST pypy3_9-exe-7.3.16-1.arm64-musl.gpkg.tar 10076160 BLAKE2B a7423e9708f3d3b300b8556ae985843539bf8f13974645073df09107e27ff4d2fb62b21f345966ba2356ddf3e45d4172350393875d0948ca083e9dc4c46adffa SHA512 49549b5b87360be6f09b3ad41a31cd60367f4cced75dc0b32f8267d0a1da4e04efd258ca593304b4dc998e8627e7b81fd6e15110d44ab101cd9108fd4e14f2c0 +DIST pypy3_9-exe-7.3.16-1.arm64.gpkg.tar 10035200 BLAKE2B 39830cf926e990cf2e70baa97e5d486ae171287a4a459501b41fb3849e55cf5cacc07d53054d8470f8ea0265a0b9b8af9a451ee97dc717d7afc70fee0c470578 SHA512 1e93d709dd452b5e4d2b996419ea24450fb96b02e88dd0317f83539f89904ace54defa23888c6eb777237143eeeeb7cf1caef6d502013d06cf8ff5365c73cb38 +DIST pypy3_9-exe-7.3.16-1.ppc64le-musl.gpkg.tar 6676480 BLAKE2B 0822479c1ea9b51ff6996cd9b5484506e2419977fa23a156d72b84f3d7e4d6475f8f1638954e9de98bf8c07c1c4c8e22dd06a7d501940d4cbc5a60d91049a055 SHA512 662284692e9b253c3f43244d4ffc2d837f2dd5f3324b0cf6b035104a2ecdeca6e678767da53f638ed59b8d84d1b99a63ddc8740c943eb16f5714f2bed5ef9f91 +DIST pypy3_9-exe-7.3.16-1.ppc64le.gpkg.tar 10229760 BLAKE2B 8062194aa43492a9d8c0762ae0c76db0f1f5c74250c27da9eec052c1822548ad93a69f729d6130be969e50c17b6c601dcee8a11e9a2721390f53f8bf248f002f SHA512 4e78792c8bc62e56cd5e4e3ff6824d477c48d2aa79f6efb6402c59c05fd1a8b572e8df6e5c269d4dc5ecbe2118db12dea1ba8c8f7970ce63f34a7a005e1d6280 +DIST pypy3_9-exe-7.3.16-1.x86-musl.gpkg.tar 8949760 BLAKE2B 75f1713623ee220ad8bb5fd74cc0c5647cdb753a94c927a0030a102e1d721c8a4195248fe8ba4c833657fccdeeb74557cae389f11d5faf5b31166dea5afbb532 SHA512 9ad3c42756a6d23e1af0c9241da8989b6af90baf88062148b35934a6873967d41577857d845c07655243c4a840a501f60ba690326f593edfad2a5207adc0aefd +DIST pypy3_9-exe-7.3.16-1.x86.gpkg.tar 8970240 BLAKE2B bafdc25fbf3baaff5a2dc7867edef2f90d17045e51a8eed212fd00e22643aebc492d972f60867d221b3fdf4c3502c387d95f123ba6d34641ccbbf0e606ba0d89 SHA512 bb6f57982c01c6cb372afe7bebef2e1c240e3ef67d75c7ff36d999b7ddc64c12b75a5b0fad528a6dd05a4680e44dafdaa5f1d6534f7ba15a3f77629d02f30310 diff --git a/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.15.ebuild b/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.16.ebuild index b4d8e231b125..b4d8e231b125 100644 --- a/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.15.ebuild +++ b/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.16.ebuild diff --git a/dev-python/pypy3_9-exe/Manifest b/dev-python/pypy3_9-exe/Manifest index 3e201830e36d..615238c4ba6a 100644 --- a/dev-python/pypy3_9-exe/Manifest +++ b/dev-python/pypy3_9-exe/Manifest @@ -1,2 +1,2 @@ -DIST pypy3.9-gentoo-patches-7.3.15.tar.xz 5800 BLAKE2B e3466eb528c7cfaa8a189552041852d29bbacb45e08dc967deec1d8486107725ab2b2b1e65c98307983ff1f3ad038d3e54bf84eaadc32060185661c8023dea06 SHA512 c834433bfaaa1cd081fb71f9e122810b66fbd0a52f8473b6ec02a8615f0b0328da51ca1e3f0f209d325d9884876b634dbd1ec202f428620044fe5e60b4ce910a -DIST pypy3.9-v7.3.15-src.tar.bz2 24694333 BLAKE2B 151c3c8b828c7a35cfd63dd73b8683c3fe5529c5f6df7cc628d2967e5c61e16490b8663efe838fc6efd9f0b4a08fde8c9315e2f0a471bb62a2395055f2f130c6 SHA512 64faca74c507ef3e8dd2df34ad81874c24bc336e79ecf53bbbb43c21adebdea60efafe6ad38bdbf15bc2a677980d7db2c2c0affa04beb7e7e1b739d85e17f333 +DIST pypy3.9-gentoo-patches-7.3.16.tar.xz 5764 BLAKE2B 094740bc594bc63648bba997e2a8a8eddd857e6f63594fc3d5f3bca9e74bce101ab56ddf59afd75d62e91c17d89271d7f8b52da6b19adf480dd9fab9f0c6dc2c SHA512 efbe3ac941be19b270336e7b31999114d4334cfd3cc0ab5f2499e41825a51bc7c005e10302114813741772ae0412466c000ab33b64f01d639d5689460f8befcb +DIST pypy3.9-v7.3.16-src.tar.bz2 23686849 BLAKE2B 736b173d8bd6b19785e64827d289feb39e30e93caaef3071a5185cc5cbaab4aed23b9da89e34a464dad0c0d5142db9dc238a1dd221aea299f95bea2e47299a81 SHA512 bd13cddb0b4cab4e200d2eafd8239c76209a49f8e847193c5ed0fe446ca46271446fc762cafd2aa8f410d022bc65abcd48ba7148502b70b901565e187058310d diff --git a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.15.ebuild b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.16.ebuild index 9cff29fef442..b75e5d8f5409 100644 --- a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.15.ebuild +++ b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.16.ebuild @@ -34,7 +34,7 @@ RDEPEND=" >=sys-libs/zlib-1.1.3:0= virtual/libintl:0= ncurses? ( sys-libs/ncurses:0= ) - !dev-python/pypy3-exe-bin:${SLOT} + !dev-python/pypy3_9-exe-bin:${SLOT} " DEPEND=" ${RDEPEND} diff --git a/dev-python/pypy3_9/Manifest b/dev-python/pypy3_9/Manifest index 3e201830e36d..615238c4ba6a 100644 --- a/dev-python/pypy3_9/Manifest +++ b/dev-python/pypy3_9/Manifest @@ -1,2 +1,2 @@ -DIST pypy3.9-gentoo-patches-7.3.15.tar.xz 5800 BLAKE2B e3466eb528c7cfaa8a189552041852d29bbacb45e08dc967deec1d8486107725ab2b2b1e65c98307983ff1f3ad038d3e54bf84eaadc32060185661c8023dea06 SHA512 c834433bfaaa1cd081fb71f9e122810b66fbd0a52f8473b6ec02a8615f0b0328da51ca1e3f0f209d325d9884876b634dbd1ec202f428620044fe5e60b4ce910a -DIST pypy3.9-v7.3.15-src.tar.bz2 24694333 BLAKE2B 151c3c8b828c7a35cfd63dd73b8683c3fe5529c5f6df7cc628d2967e5c61e16490b8663efe838fc6efd9f0b4a08fde8c9315e2f0a471bb62a2395055f2f130c6 SHA512 64faca74c507ef3e8dd2df34ad81874c24bc336e79ecf53bbbb43c21adebdea60efafe6ad38bdbf15bc2a677980d7db2c2c0affa04beb7e7e1b739d85e17f333 +DIST pypy3.9-gentoo-patches-7.3.16.tar.xz 5764 BLAKE2B 094740bc594bc63648bba997e2a8a8eddd857e6f63594fc3d5f3bca9e74bce101ab56ddf59afd75d62e91c17d89271d7f8b52da6b19adf480dd9fab9f0c6dc2c SHA512 efbe3ac941be19b270336e7b31999114d4334cfd3cc0ab5f2499e41825a51bc7c005e10302114813741772ae0412466c000ab33b64f01d639d5689460f8befcb +DIST pypy3.9-v7.3.16-src.tar.bz2 23686849 BLAKE2B 736b173d8bd6b19785e64827d289feb39e30e93caaef3071a5185cc5cbaab4aed23b9da89e34a464dad0c0d5142db9dc238a1dd221aea299f95bea2e47299a81 SHA512 bd13cddb0b4cab4e200d2eafd8239c76209a49f8e847193c5ed0fe446ca46271446fc762cafd2aa8f410d022bc65abcd48ba7148502b70b901565e187058310d diff --git a/dev-python/pypy3_9/pypy3_9-7.3.15.ebuild b/dev-python/pypy3_9/pypy3_9-7.3.16.ebuild index cd6b3d3e3ed8..cd6b3d3e3ed8 100644 --- a/dev-python/pypy3_9/pypy3_9-7.3.15.ebuild +++ b/dev-python/pypy3_9/pypy3_9-7.3.16.ebuild diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 3ef345640dae..697f33f534f1 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,2 +1 @@ -DIST pyqtgraph-0.13.3.gh.tar.gz 1423224 BLAKE2B 6c054e243a95387f18c7f18a1d4375fac3a7ae3794902f72e8d75eaeea01e031422abb7bbd84bb94977c6ce14664fed4f66ebd9892f4200c3b3ccdd598ccbfd2 SHA512 a397fcf8fc2fcc5a212df9f4cd48dc07bc1ad9eb7a9b1283488eb52c236e054b01df02d04088a9d91679c4ae3ab7796cdf95cdbad06a6a585fbbcdb921f33617 -DIST pyqtgraph-0.13.4.gh.tar.gz 1438293 BLAKE2B aaa1ccdf318dfdee0dfee73f8f7be99897d58114971569eb14cd9e32f404cabe08edf20e78301152ad9663bda0d1e8c589ff6af63799bfdc87dfe12ab3ac5a63 SHA512 9c5c276d1e191bbb72ce1ce66fcf2cfe34f5f31318bbc3069c634a77b0373b2df6a7572eccb3cfec9a45d225f5f5da71d6ca9db3f9ef520eaab27b76176a8904 +DIST pyqtgraph-0.13.7.gh.tar.gz 2364456 BLAKE2B 3ce1a3eb177a2a6328f1b7354bf9d4a87ffedcf4fa75fa407bd2df708b91fe98e2500364220ac7395745c69ac86f4830ea58999d05af49850edc723a6ccad5a1 SHA512 91e06e143fec4b1a6fae5cc7112a1fb6b7e74c7a38605172aacc5639eb220e30c54694e419313c7bb8368ea5c5f45f41d58e4510735e63a7d6ef03cdbb0f05e9 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.3.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.3.ebuild deleted file mode 100644 index 957de8060add..000000000000 --- a/dev-python/pyqtgraph/pyqtgraph-0.13.3.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" -HOMEPAGE=" - https://www.pyqtgraph.org/ - https://github.com/pyqtgraph/pyqtgraph/ - https://pypi.org/project/pyqtgraph/ -" -SRC_URI=" - https://github.com/pyqtgraph/pyqtgraph/archive/${P}.tar.gz - -> ${P}.gh.tar.gz -" -S=${WORKDIR}/${PN}-${P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" -IUSE="opengl svg" -REQUIRED_USE="test? ( opengl svg )" - -RDEPEND=" - >=dev-python/numpy-1.17[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( - dev-python/h5py[${PYTHON_USEDEP}] - dev-python/PyQt5[testlib,${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/pytest-xvfb[${PYTHON_USEDEP}] - dev-vcs/git - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - distutils-r1_python_prepare_all - - if ! use opengl; then - rm -r pyqtgraph/opengl || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # apparently fragile - tests/test_reload.py::test_reload - - # TODO - tests/graphicsItems/test_ROI.py::test_PolyLineROI - - # pyside2 is normally skipped if not installed but these two - # fail if it is installed - # TODO: this could be due to USE flags, revisit when pyside2 - # gains py3.9 - 'pyqtgraph/examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' - 'pyqtgraph/examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' - ) - - epytest -p xvfb -n "$(makeopts_jobs)" -} diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.7.ebuild index a40e6d254d42..c1adb8a201c4 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.7.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..12} ) -inherit distutils-r1 multiprocessing +inherit distutils-r1 DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" HOMEPAGE=" @@ -36,12 +36,12 @@ BDEPEND=" test? ( dev-python/h5py[${PYTHON_USEDEP}] dev-python/PyQt5[testlib,${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] dev-python/pytest-xvfb[${PYTHON_USEDEP}] dev-vcs/git ) " +EPYTEST_XDIST=1 distutils_enable_tests pytest python_prepare_all() { @@ -69,5 +69,6 @@ python_test() { 'pyqtgraph/examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' ) - epytest -p xvfb -n "$(makeopts_jobs)" + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p xvfb } diff --git a/dev-python/pyrate-limiter/Manifest b/dev-python/pyrate-limiter/Manifest index 62f1e9eab14b..55c15d3fb6d2 100644 --- a/dev-python/pyrate-limiter/Manifest +++ b/dev-python/pyrate-limiter/Manifest @@ -1,5 +1,3 @@ DIST pyrate-limiter-2.10.0.gh.tar.gz 71838 BLAKE2B 3b8fd16684268870991c3a731c5497802c6f7be51e57bc983a14a7484fad2d0983613304fa061fdb70a3e6645d17fe37fbd68e9ddeca57bc7bd97fef4a5d8585 SHA512 b0090b2d80d40ba2f86ac7b5c5612a35fa885b52a87d783aa9726782275e79ca8d54a9a44b1f0dd43c98bf2355f4c17e1686d7c7f806934ea492b67f66b06ffe -DIST pyrate_limiter-3.2.1.tar.gz 277166 BLAKE2B eb126b94bc9a113addd1e727ae21ee2df447e1f9fc0b3a1b77ab46464186a0cb62584fafbc9fac1ddbcc7c3289338208dfb39070e57e974e00442b1d7c5f0d21 SHA512 cb782766c2e1e47aeb35c3d7d03f9a82862a53e73b5afdab1b8a255866392cf0636340164c19e4181e8aa4327e9c346fc2fde64b2f50aaf227dd60633038f7c7 -DIST pyrate_limiter-3.3.0.tar.gz 278153 BLAKE2B df0e3aaf53150fb905be994c8bcc268e45bafddf795514eb8a6ee56da25e998b85336f48331a2720cbf501cb6feee806c9c17d99adcb4647979f6d79f960cc9f SHA512 ee2cc0c573c7b696e6a6444eca85b4e5c8315c291b6ab64ed5e60cfd54298cd9aca1efdbfb7a669b92f8169848c03287ecb0a3f50c9281a4bc15acfc1713e300 -DIST pyrate_limiter-3.4.1.tar.gz 278251 BLAKE2B c1894a190d0d70134683723d8ffa2b216ebf724cd409e9cc25301b9a9d70d73cf1e4fc1c7bf48e661935cc6f2c530b9d45f96d7c86ce2a20ab0e47892093e6d3 SHA512 64c06abaf540e21e4b085062eff83f1f9d1710156c2d22c0180858c31f731733d9db69bdc56e48aaf4220d874d9c5253f506decd0ce3743c8fb8aa695a4ff6b4 DIST pyrate_limiter-3.6.0.tar.gz 280021 BLAKE2B 4ff5e115376cfb5d860c4cd6437ccbb323e40f96bb81a9933f6f648d029c0f3a1d6674e1a9e1c0309a7087a9d1eb670918ca60d3c960e8acab017e12ffa5c28e SHA512 1f7f92203be443c27e2825022462c51eec2e276a4e58afc129599eacde21da55ed8229b0e5c7af21e650eb896b22c73f5fd227f56c1455cbd8d506894fed73a9 +DIST pyrate_limiter-3.6.1.tar.gz 280264 BLAKE2B 042601c2f80fc855301cda8be4af2547afdfb9532a93a418201db312535a12fa30b2469024ee318a14cb51f4555522b70b6aeef96d41978eb8f8c31d046a0a73 SHA512 b57cbd40473eab549ede0045451d1178dccfcac73f328bf4fe8106172602b52bafe612e2fa2df09f9fe99bdf68c3c7447e8d4f749ba260f3b29656100718c02b diff --git a/dev-python/pyrate-limiter/pyrate-limiter-3.3.0.ebuild b/dev-python/pyrate-limiter/pyrate-limiter-3.3.0.ebuild deleted file mode 100644 index 0f5062a73d40..000000000000 --- a/dev-python/pyrate-limiter/pyrate-limiter-3.3.0.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python Rate-Limiter using Leaky-Bucket Algorimth Family" -HOMEPAGE=" - https://github.com/vutran1710/PyrateLimiter/ - https://pypi.org/project/pyrate-limiter/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/redis[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - ) -" - -EPYTEST_DESELECT=( - # Optional dependency redis-py-cluster not packaged - "tests/test_02.py::test_redis_cluster" -) -EPYTEST_XDIST=1 - -distutils_enable_sphinx docs \ - dev-python/sphinx-autodoc-typehints \ - dev-python/sphinx-copybutton \ - dev-python/furo \ - dev-python/myst-parser \ - dev-python/sphinxcontrib-apidoc -distutils_enable_tests pytest - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - # Spawn Redis itself for testing purposes - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 ::1 - ${extra_conf} - EOF - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p rerunfailures --reruns=5 -} diff --git a/dev-python/pyrate-limiter/pyrate-limiter-3.4.1.ebuild b/dev-python/pyrate-limiter/pyrate-limiter-3.4.1.ebuild deleted file mode 100644 index 0f5062a73d40..000000000000 --- a/dev-python/pyrate-limiter/pyrate-limiter-3.4.1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python Rate-Limiter using Leaky-Bucket Algorimth Family" -HOMEPAGE=" - https://github.com/vutran1710/PyrateLimiter/ - https://pypi.org/project/pyrate-limiter/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/redis[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - ) -" - -EPYTEST_DESELECT=( - # Optional dependency redis-py-cluster not packaged - "tests/test_02.py::test_redis_cluster" -) -EPYTEST_XDIST=1 - -distutils_enable_sphinx docs \ - dev-python/sphinx-autodoc-typehints \ - dev-python/sphinx-copybutton \ - dev-python/furo \ - dev-python/myst-parser \ - dev-python/sphinxcontrib-apidoc -distutils_enable_tests pytest - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - # Spawn Redis itself for testing purposes - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 ::1 - ${extra_conf} - EOF - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p rerunfailures --reruns=5 -} diff --git a/dev-python/pyrate-limiter/pyrate-limiter-3.2.1.ebuild b/dev-python/pyrate-limiter/pyrate-limiter-3.6.1.ebuild index 0f5062a73d40..276657b6cf9d 100644 --- a/dev-python/pyrate-limiter/pyrate-limiter-3.2.1.ebuild +++ b/dev-python/pyrate-limiter/pyrate-limiter-3.6.1.ebuild @@ -70,5 +70,6 @@ src_test() { python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p rerunfailures --reruns=5 + # postgres tests require psycopg-pool + epytest -p asyncio -p rerunfailures --reruns=5 -k "not postgres" } diff --git a/dev-python/pyscard/Manifest b/dev-python/pyscard/Manifest index a12c278d2228..dd6b7a14c591 100644 --- a/dev-python/pyscard/Manifest +++ b/dev-python/pyscard/Manifest @@ -1,2 +1 @@ -DIST pyscard-2.0.8.tar.gz 153266 BLAKE2B 524b060ffa869ac4d739cd26d795c559b7c2ab26aa7f687e7b9392508c0e768f9b8442a0d4ebfd0f2903eca922a7cf1cedbe54f78c77f39a4635739a914713d7 SHA512 245602aaab024a1d9f3e2ae46482d6e18253f7e9a3c419f40e746ad2578bbf58c1f56f9a7ec139c9ca5048e2d1a7505002d98b6d54d8906af4f4cfab225d5a09 DIST pyscard-2.0.9.tar.gz 153513 BLAKE2B 00a7676cb0d987b7a6cd0c2cdf061e4e4405c78a0289d0c46abe95461b19d61a964792f69fe2a2f268653d332e8c21f17d03a8f3b05456df8475b0c51370830c SHA512 0503c29dfd288237eb17fae2a6387cdfce5e34a3aa6cdbdf58aef04ad91ab232d14d78b999fd1d4b7d7c8ad6282fa0d7983a65030f896f1e8098597f182b10cc diff --git a/dev-python/pyscard/pyscard-2.0.8.ebuild b/dev-python/pyscard/pyscard-2.0.8.ebuild deleted file mode 100644 index 22ceb4eec735..000000000000 --- a/dev-python/pyscard/pyscard-2.0.8.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-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} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Smart card support in python" -HOMEPAGE=" - https://pyscard.sourceforge.io/ - https://github.com/LudovicRousseau/pyscard/ - https://pypi.org/project/pyscard/ -" -SRC_URI=" - https://downloads.sourceforge.net/project/pyscard/pyscard/pyscard%20${PV}/${P}.tar.gz -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" - -DEPEND=" - sys-apps/pcsc-lite -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - dev-lang/swig -" - -distutils_enable_tests unittest - -pkg_postinst() { - optfeature "Gui support" dev-python/wxpython - optfeature "Support of remote readers with Pyro" dev-python/Pyro4 -} - -python_test() { - cd test || die - eunittest -} diff --git a/dev-python/pyscard/pyscard-2.0.9.ebuild b/dev-python/pyscard/pyscard-2.0.9.ebuild index b141ab35e303..22ceb4eec735 100644 --- a/dev-python/pyscard/pyscard-2.0.9.ebuild +++ b/dev-python/pyscard/pyscard-2.0.9.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" DEPEND=" sys-apps/pcsc-lite diff --git a/dev-python/pyside6-tools/Manifest b/dev-python/pyside6-tools/Manifest index c66692a09951..be987c7433ba 100644 --- a/dev-python/pyside6-tools/Manifest +++ b/dev-python/pyside6-tools/Manifest @@ -1,2 +1 @@ -DIST pyside-setup-everywhere-src-6.6.2.tar.xz 13975896 BLAKE2B b4572e58613e5446692e8c4cef28156fd0126ecda0c6334652ce49c6c7ce4614dbf2400c693addaa38e9b6cca9e331b9fe84c83ddb26e7014b8603afe2c54ad6 SHA512 1d23d27a4cbe74434ec5d391172416d324b4c92181401444821b456b4e27dabbdb3dcaad685a22b62c09f750555a4e626bbb6406a2fbde1cf4ec5c8bbb64cda5 DIST pyside-setup-everywhere-src-6.7.0.tar.xz 14382456 BLAKE2B 607e496cdeb7e55166b4f0dc15662a8792c7d8925856e8edbb927dfdc33342d158f430e3433d3d4a78ea33740e333fb2422ea1f4332408c3c6214f92d31bdd0d SHA512 7801d564d8d359edec431dc0e6f170538b9fc6f834cb7ab8eff41c1989bffb619c446d4d62d65db2a5b7592c0bff5d450d42de2797726658fe1a8f53df8a4c14 diff --git a/dev-python/pyside6-tools/pyside6-tools-6.6.2.ebuild b/dev-python/pyside6-tools/pyside6-tools-6.6.2.ebuild deleted file mode 100644 index e7411d54de28..000000000000 --- a/dev-python/pyside6-tools/pyside6-tools-6.6.2.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# TODO: Add PyPy once officially supported. See also: -# https://bugreports.qt.io/browse/PYSIDE-535 -PYTHON_COMPAT=( python3_{10..12} ) - -LLVM_COMPAT=( {15..17} ) - -inherit cmake llvm-r1 python-r1 - -MY_PN="pyside-setup-everywhere-src" - -DESCRIPTION="PySide development tools (pyside6-lupdate with support for Python)" -HOMEPAGE="https://wiki.qt.io/PySide6" -SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz" -S="${WORKDIR}/${MY_PN}-${PV}/sources/pyside-tools" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - ~dev-python/shiboken6-${PV}[${PYTHON_USEDEP},${LLVM_USEDEP}] - ~dev-python/pyside6-${PV}[quick,${PYTHON_USEDEP},${LLVM_USEDEP}] -" -DEPEND="${RDEPEND} - $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} - ') -" - -src_prepare() { - cmake_src_prepare - - python_copy_sources -} - -src_configure() { - pyside-tools_configure() { - local mycmakeargs=( - # If this is enabled cmake just makes copies of /lib64/qt6/bin/* - -DNO_QT_TOOLS=yes - ) - cmake_src_configure - } - - python_foreach_impl pyside-tools_configure -} - -src_compile() { - pyside-tools_compile() { - cmake_src_compile - } - - python_foreach_impl pyside-tools_compile -} - -src_install() { - pyside-tools_install() { - # This replicates the contents of the PySide6 pypi wheel - DESTDIR="${BUILD_DIR}" cmake_build install - cp __init__.py "${BUILD_DIR}/usr/bin" || die - rm -r "${BUILD_DIR}/usr/bin/qtpy2cpp_lib/tests" || die - python_moduleinto PySide6/scripts - python_domodule "${BUILD_DIR}/usr/bin/." - } - - python_foreach_impl pyside-tools_install - - einstalldocs -} diff --git a/dev-python/pyside6-tools/pyside6-tools-6.7.0.ebuild b/dev-python/pyside6-tools/pyside6-tools-6.7.0.ebuild index 397cdc6492c3..252c19d63653 100644 --- a/dev-python/pyside6-tools/pyside6-tools-6.7.0.ebuild +++ b/dev-python/pyside6-tools/pyside6-tools-6.7.0.ebuild @@ -20,7 +20,7 @@ S="${WORKDIR}/${MY_PN}-${PV}/sources/pyside-tools" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="${PYTHON_DEPS} diff --git a/dev-python/pyside6/Manifest b/dev-python/pyside6/Manifest index c66692a09951..be987c7433ba 100644 --- a/dev-python/pyside6/Manifest +++ b/dev-python/pyside6/Manifest @@ -1,2 +1 @@ -DIST pyside-setup-everywhere-src-6.6.2.tar.xz 13975896 BLAKE2B b4572e58613e5446692e8c4cef28156fd0126ecda0c6334652ce49c6c7ce4614dbf2400c693addaa38e9b6cca9e331b9fe84c83ddb26e7014b8603afe2c54ad6 SHA512 1d23d27a4cbe74434ec5d391172416d324b4c92181401444821b456b4e27dabbdb3dcaad685a22b62c09f750555a4e626bbb6406a2fbde1cf4ec5c8bbb64cda5 DIST pyside-setup-everywhere-src-6.7.0.tar.xz 14382456 BLAKE2B 607e496cdeb7e55166b4f0dc15662a8792c7d8925856e8edbb927dfdc33342d158f430e3433d3d4a78ea33740e333fb2422ea1f4332408c3c6214f92d31bdd0d SHA512 7801d564d8d359edec431dc0e6f170538b9fc6f834cb7ab8eff41c1989bffb619c446d4d62d65db2a5b7592c0bff5d450d42de2797726658fe1a8f53df8a4c14 diff --git a/dev-python/pyside6/pyside6-6.6.2-r1.ebuild b/dev-python/pyside6/pyside6-6.6.2-r1.ebuild deleted file mode 100644 index 2acf60cc8c25..000000000000 --- a/dev-python/pyside6/pyside6-6.6.2-r1.ebuild +++ /dev/null @@ -1,248 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# TODO: Add PyPy once officially supported. See also: -# https://bugreports.qt.io/browse/PYSIDE-535 -PYTHON_COMPAT=( python3_{10..12} ) - -LLVM_COMPAT=( {15..17} ) - -inherit cmake llvm-r1 python-r1 virtualx - -# TODO: Add conditional support for "QtRemoteObjects" via a new "remoteobjects" -# USE flag after an external "dev-qt/qtremoteobjects" package has been created. -# TODO: Add conditional support for apidoc generation via a new "doc" USE flag. -# Note that doing so requires the Qt source tree, sphinx, and graphviz. Once -# ready, pass the ${QT_SRC_DIR} variable to cmake to enable this support. -# TODO: Disable GLES support if the "gles2-only" USE flag is disabled. Note -# that the "PySide6/QtGui/CMakeLists.txt" and -# "PySide6/QtOpenGLFunctions/CMakeLists.txt" files test for GLES support by -# testing whether the "Qt5::Gui" list property defined by -# "/usr/lib64/cmake/Qt5Gui/Qt5GuiConfig.cmake" at "dev-qt/qtgui" installation -# time contains the substring "opengles2". Since cmake does not permit -# properties to be overridden from the command line, these files must instead -# be conditionally patched to avoid these tests. An issue should be filed with -# upstream requesting a CLI-settable variable to control this. - -MY_PN="pyside-setup-everywhere-src" - -DESCRIPTION="Python bindings for the Qt framework" -HOMEPAGE="https://wiki.qt.io/PySide6" -SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz" -S="${WORKDIR}/${MY_PN}-${PV}/sources/pyside6" - -# See "sources/pyside6/PySide6/licensecomment.txt" for licensing details. -# Shall we allow essential modules to be disabled? They are: -# (core), gui, widgets, printsupport, sql, network, testlib, concurrent, -# x11extras (for X) -LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 )" -SLOT="0" -KEYWORDS="~amd64" -IUSE=" - 3d bluetooth charts +concurrent +dbus designer gles2-only +gui help location - multimedia +network network-auth nfc positioning +opengl pdfium positioning - +printsupport qml quick quick3d serialport scxml sensors spatialaudio speech - +sql svg test +testlib webchannel webengine websockets +widgets +xml -" - -# Manually reextract these requirements on version bumps by running the -# following one-liner from within "${S}": -# $ grep 'set.*_deps' PySide6/Qt*/CMakeLists.txt -# Note that the "designer" USE flag corresponds to the "Qt6UiTools" module. -REQUIRED_USE="${PYTHON_REQUIRED_USE} - 3d? ( gui network ) - charts? ( gui widgets ) - designer? ( widgets ) - gles2-only? ( gui ) - gui? ( dbus opengl ) - help? ( network sql widgets ) - location? ( gui network positioning quick ) - multimedia? ( gui network ) - network-auth? ( network ) - opengl? ( gui ) - pdfium? ( gui ) - printsupport? ( widgets ) - qml? ( network ) - quick? ( gui network opengl qml ) - quick3d? ( gui network opengl qml quick ) - spatialaudio? ( multimedia ) - speech? ( multimedia ) - sql? ( widgets ) - svg? ( gui ) - testlib? ( widgets ) - webchannel? ( qml ) - webengine? ( network gui printsupport quick webchannel ) - websockets? ( network ) - widgets? ( gui ) -" - -# Tests fail pretty bad and I'm not fixing them right now -RESTRICT="test" - -# Minimal supported version of Qt. -QT_PV="$(ver_cut 1-3)*:6" - -RDEPEND="${PYTHON_DEPS} - ~dev-python/shiboken6-${PV}[${PYTHON_USEDEP},${LLVM_USEDEP}] - =dev-qt/qtbase-${QT_PV}[concurrent?,dbus?,gles2-only=,network?,opengl?,sql?,widgets?,xml?] - 3d? ( =dev-qt/qt3d-${QT_PV}[qml?,gles2-only=] ) - bluetooth? ( =dev-qt/qtconnectivity-${QT_PV}[bluetooth] ) - charts? ( =dev-qt/qtcharts-${QT_PV} ) - designer? ( =dev-qt/qttools-${QT_PV}[designer] ) - gui? ( - =dev-qt/qtbase-${QT_PV}[gui,jpeg(+)] - x11-libs/libxkbcommon - ) - help? ( =dev-qt/qttools-${QT_PV}[assistant] ) - location? ( =dev-qt/qtlocation-${QT_PV} ) - multimedia? ( =dev-qt/qtmultimedia-${QT_PV} ) - network? ( =dev-qt/qtbase-${QT_PV}[ssl] ) - network-auth? ( =dev-qt/qtnetworkauth-${QT_PV} ) - nfc? ( =dev-qt/qtconnectivity-${QT_PV}[nfc] ) - pdfium? ( =dev-qt/qtwebengine-${QT_PV}[pdfium(-),widgets?] ) - positioning? ( =dev-qt/qtpositioning-${QT_PV} ) - printsupport? ( =dev-qt/qtbase-${QT_PV}[gui,widgets] ) - qml? ( =dev-qt/qtdeclarative-${QT_PV}[widgets?] ) - quick3d? ( =dev-qt/qtquick3d-${QT_PV} ) - scxml? ( =dev-qt/qtscxml-${QT_PV} ) - sensors? ( =dev-qt/qtsensors-${QT_PV}[qml?] ) - speech? ( =dev-qt/qtspeech-${QT_PV} ) - serialport? ( =dev-qt/qtserialport-${QT_PV} ) - svg? ( =dev-qt/qtsvg-${QT_PV} ) - testlib? ( =dev-qt/qtbase-${QT_PV}[gui] ) - webchannel? ( =dev-qt/qtwebchannel-${QT_PV} ) - webengine? ( || ( - =dev-qt/qtwebengine-${QT_PV}[alsa,widgets?] - =dev-qt/qtwebengine-${QT_PV}[pulseaudio,widgets?] - ) - ) - websockets? ( =dev-qt/qtwebsockets-${QT_PV} ) -" -DEPEND="${RDEPEND} - $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} - ') - test? ( =dev-qt/qtbase-${QT_PV}[gui] ) -" -# testlib is toggled by the gui flag on qtbase - -PATCHES=( - "${FILESDIR}/${PN}-6.3.1-no-strip.patch" - # References files not present in our dev-qt/qtbase - "${FILESDIR}/${PN}-6.6.0-no-qtexampleicons.patch" -) - -src_configure() { - # See collect_module_if_found macros in PySideHelpers.cmake - local mycmakeargs=( - -DBUILD_TESTS=$(usex test) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DAnimation=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DCore=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DExtras=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DInput=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DLogic=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DRender=$(usex !3d) - #-DCMAKE_DISABLE_FIND_PACKAGE_Qt6AxContainer=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Bluetooth=$(usex !bluetooth) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Charts=$(usex !charts) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Concurrent=$(usex !concurrent) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6DataVisualization=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6DBus=$(usex !dbus) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Designer=$(usex !designer) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Gui=$(usex !gui) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Help=$(usex !help) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6HttpServer=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Location=$(usex !location) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Multimedia=$(usex !multimedia) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6MultimediaWidgets=$(usex !multimedia yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6NetworkAuth=$(usex !network-auth) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Network=$(usex !network) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Nfc=$(usex !nfc) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6OpenGL=$(usex !opengl) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6OpenGLWidgets=$(usex !opengl yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Pdf=$(usex !pdfium) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6PdfWidgets=$(usex !pdfium yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Positioning=$(usex !positioning) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6PrintSupport=$(usex !printsupport) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Qml=$(usex !qml) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Quick3D=$(usex !quick3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Quick=$(usex !quick) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6QuickControls2=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6QuickWidgets=$(usex !quick yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6RemoteObjects=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Scxml=$(usex !scxml) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Sensors=$(usex !sensors) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SerialPort=$(usex !serialport) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SpatialAudio=$(usex !spatialaudio) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Sql=$(usex !sql) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6StateMachine=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Svg=$(usex !svg) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SvgWidgets=$(usex !svg yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Test=$(usex !testlib) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6TextToSpeech=$(usex !speech) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6UiTools=$(usex !designer) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebChannel=$(usex !webchannel) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineCore=$(usex !webengine) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineQuick=$(usex !webengine yes $(usex !quick)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineWidgets=$(usex !webengine yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebSockets=$(usex !websockets) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Widgets=$(usex !widgets) - #-DCMAKE_DISABLE_FIND_PACKAGE_Qt6WinExtras=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Xml=$(usex !xml) - # try to avoid pre-stripping - -DQFP_NO_OVERRIDE_OPTIMIZATION_FLAGS=yes - -DQFP_NO_STRIP=yes - - ) - - pyside6_configure() { - local mycmakeargs=( - "${mycmakeargs[@]}" - -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}" - -DPYTHON_EXECUTABLE="${PYTHON}" - -DPYTHON_SITE_PACKAGES="$(python_get_sitedir)" - -DSHIBOKEN_PYTHON_SHARED_LIBRARY_SUFFIX="-${EPYTHON}" - ) - cmake_src_configure - } - python_foreach_impl pyside6_configure -} - -src_compile() { - python_foreach_impl cmake_src_compile -} - -src_test() { - local -x PYTHONDONTWRITEBYTECODE - python_foreach_impl virtx cmake_src_test -} - -src_install() { - pyside6_install() { - cmake_src_install - python_optimize - - # Uniquify the shiboken6 pkgconfig dependency in the PySide6 pkgconfig - # file for the current Python target. See also: - # https://github.com/leycec/raiagent/issues/73 - sed -i -e 's~^Requires: shiboken6$~&-'${EPYTHON}'~' \ - "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}.pc || die - - # Uniquify the PySide6 pkgconfig file for the current Python target, - # preserving an unversioned "pyside6.pc" file arbitrarily associated - # with the last Python target. (See the previously linked issue.) - cp "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}{,-${EPYTHON}}.pc || die - } - python_foreach_impl pyside6_install - - # CMakeLists.txt installs a "PySide6Targets-gentoo.cmake" file forcing - # downstream consumers (e.g., pyside6-tools) to target one - # "libpyside6-*.so" library linked to one Python interpreter. See also: - # https://bugreports.qt.io/browse/PYSIDE-1053 - # https://github.com/leycec/raiagent/issues/74 - sed -i -e 's~pyside6-python[[:digit:]]\+\.[[:digit:]]\+~pyside6${PYTHON_CONFIG_SUFFIX}~g' \ - "${ED}/usr/$(get_libdir)/cmake/PySide6/PySide6Targets-${CMAKE_BUILD_TYPE,,}.cmake" || die -} diff --git a/dev-python/pyside6/pyside6-6.7.0.ebuild b/dev-python/pyside6/pyside6-6.7.0.ebuild index 12bf25538fbe..7b434f1e8db9 100644 --- a/dev-python/pyside6/pyside6-6.7.0.ebuild +++ b/dev-python/pyside6/pyside6-6.7.0.ebuild @@ -39,7 +39,7 @@ S="${WORKDIR}/${MY_PN}-${PV}/sources/pyside6" # x11extras (for X) LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 )" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE=" 3d bluetooth charts +concurrent +dbus designer gles2-only +gui help location multimedia +network network-auth nfc positioning +opengl pdfium positioning diff --git a/dev-python/pysvn/Manifest b/dev-python/pysvn/Manifest index 38dbec166f84..9f7c0f0a8836 100644 --- a/dev-python/pysvn/Manifest +++ b/dev-python/pysvn/Manifest @@ -1,2 +1 @@ -DIST pysvn-1.9.18.tar.gz 667827 BLAKE2B cd32b4ec55118becd496a9aab6f4dd2b9d57c82e12d5a08b18d36d0caffbafe7066ff45c9493a36499979e759d38dd6b15a68e7bb5819464362c2691e7599160 SHA512 0ca2924223cdc5f29e961e879db6b0f88e82b5c4c40df50169468dd5a72cbccddea9f0d1680ef4a54d45e89b4b2b2c3c22f5e76c66196783a89cac8b583b6623 DIST pysvn-1.9.22.tar.gz 669169 BLAKE2B b6f5e2aedd902daa29d5e634263e21de134b73f72e17bb9363f415ac0696063457579af8778c72ca9852b5ee33142250d6a46700181b11ec2ec0a4e90db60525 SHA512 68b4fdb8a5de7cd0fb868ef56ac4d17938561a7f2c37db4089a3a2f4fc256043c80d7331befc013e6141be70722c843665c59c36d455e372ecb3ecc4587cba41 diff --git a/dev-python/pysvn/files/pysvn-1.9.18-tests-3.11.patch b/dev-python/pysvn/files/pysvn-1.9.18-tests-3.11.patch deleted file mode 100644 index 06a0bec16720..000000000000 --- a/dev-python/pysvn/files/pysvn-1.9.18-tests-3.11.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 0f4a2071dfeb90357a3eba947d6dd7cc879675ce Mon Sep 17 00:00:00 2001 -From: Sebastian Pipping <sebastian@pipping.org> -Date: Tue, 29 Nov 2022 01:08:49 +0100 -Subject: [PATCH] Examples/Client/svn_cmd.py: Stop DeprecationWarning from - breaking tests with Python 3.11 - ---- - Examples/Client/svn_cmd.py | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -diff --git a/Examples/Client/svn_cmd.py b/Examples/Client/svn_cmd.py -index 42e4c87..b8ef4ff 100644 ---- a/Examples/Client/svn_cmd.py -+++ b/Examples/Client/svn_cmd.py -@@ -72,7 +72,14 @@ def initLocale(): - locale.setlocale( locale.LC_ALL, '' ) - - else: -- language_code, encoding = locale.getdefaultlocale() -+ import warnings -+ -+ with warnings.catch_warnings(): -+ if sys.version_info >= (3, 11): -+ warnings.filterwarnings("ignore", category=DeprecationWarning) -+ -+ language_code, encoding = locale.getdefaultlocale() -+ - if language_code is None: - language_code = 'en_GB' - --- -2.38.1 - diff --git a/dev-python/pysvn/pysvn-1.9.18.ebuild b/dev-python/pysvn/pysvn-1.9.18.ebuild deleted file mode 100644 index e57b794b9f3b..000000000000 --- a/dev-python/pysvn/pysvn-1.9.18.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 toolchain-funcs - -DESCRIPTION="Object-oriented python bindings for subversion" -HOMEPAGE="https://pysvn.sourceforge.io/" -SRC_URI="mirror://sourceforge/project/pysvn/pysvn/V${PV}/${P}.tar.gz" - -LICENSE="Apache-1.1" -SLOT="0" -KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="doc examples" - -DEPEND=" - >=dev-python/pycxx-7.0.2[${PYTHON_USEDEP}] - >=dev-vcs/subversion-1.9" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-1.9.18-tests-3.11.patch -) - -python_prepare_all() { - # Don't use internal copy of dev-python/pycxx. - rm -r Import || die - - distutils-r1_python_prepare_all -} - -python_configure() { - cd Source || die - CC="$(tc-getCC)" CCC="$(tc-getCXX)" \ - esetup.py configure -} - -python_compile() { - cd Source || die - emake -} - -python_test() { - cd Tests || die - emake -} - -python_install() { - cd Source || die - python_domodule pysvn -} - -python_install_all() { - use doc && local HTML_DOCS=( Docs/. ) - if use examples; then - docinto examples - dodoc -r Examples/Client/. - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/pysvn/pysvn-1.9.22.ebuild b/dev-python/pysvn/pysvn-1.9.22.ebuild index f45e97bbd8c2..30365cdf88c4 100644 --- a/dev-python/pysvn/pysvn-1.9.22.ebuild +++ b/dev-python/pysvn/pysvn-1.9.22.ebuild @@ -3,18 +3,18 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 toolchain-funcs DESCRIPTION="Object-oriented python bindings for subversion" HOMEPAGE="https://pysvn.sourceforge.io/" -SRC_URI="mirror://sourceforge/project/pysvn/pysvn/V${PV}/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/project/pysvn/pysvn/V${PV}/${P}.tar.gz" LICENSE="Apache-1.1" SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="doc examples" DEPEND=" diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.23.6.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.23.6.ebuild index a1a22d27efb3..d66fd182e5ed 100644 --- a/dev-python/pytest-asyncio/pytest-asyncio-0.23.6.ebuild +++ b/dev-python/pytest-asyncio/pytest-asyncio-0.23.6.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/pytest-custom-exit-code/pytest-custom-exit-code-0.3.0.ebuild b/dev-python/pytest-custom-exit-code/pytest-custom-exit-code-0.3.0.ebuild index a34aec63857e..de6c485544e4 100644 --- a/dev-python/pytest-custom-exit-code/pytest-custom-exit-code-0.3.0.ebuild +++ b/dev-python/pytest-custom-exit-code/pytest-custom-exit-code-0.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,7 +21,7 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="amd64 ~riscv ~x86" RDEPEND=" >=dev-python/pytest-7.0.2[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-datadir/pytest-datadir-1.5.0.ebuild b/dev-python/pytest-datadir/pytest-datadir-1.5.0.ebuild index 18071bf80034..0ebac5d08212 100644 --- a/dev-python/pytest-datadir/pytest-datadir-1.5.0.ebuild +++ b/dev-python/pytest-datadir/pytest-datadir-1.5.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/pytest-django/pytest-django-4.8.0.ebuild b/dev-python/pytest-django/pytest-django-4.8.0.ebuild index 41674ee36b3e..982749bce773 100644 --- a/dev-python/pytest-django/pytest-django-4.8.0.ebuild +++ b/dev-python/pytest-django/pytest-django-4.8.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" " LICENSE="BSD" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86" SLOT="0" RDEPEND=" diff --git a/dev-python/pytest-expect/pytest-expect-1.1.0-r2.ebuild b/dev-python/pytest-expect/pytest-expect-1.1.0-r2.ebuild index 9d7d3ff01846..3ac1fb105815 100644 --- a/dev-python/pytest-expect/pytest-expect-1.1.0-r2.ebuild +++ b/dev-python/pytest-expect/pytest-expect-1.1.0-r2.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/pytest-freezegun/pytest-freezegun-0.4.2-r1.ebuild b/dev-python/pytest-freezegun/pytest-freezegun-0.4.2-r1.ebuild index a29dbac76794..a217130f6f15 100644 --- a/dev-python/pytest-freezegun/pytest-freezegun-0.4.2-r1.ebuild +++ b/dev-python/pytest-freezegun/pytest-freezegun-0.4.2-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/pytest-freezer/pytest-freezer-0.4.8.ebuild b/dev-python/pytest-freezer/pytest-freezer-0.4.8.ebuild index cd2476c7d4ee..7921711da6df 100644 --- a/dev-python/pytest-freezer/pytest-freezer-0.4.8.ebuild +++ b/dev-python/pytest-freezer/pytest-freezer-0.4.8.ebuild @@ -1,10 +1,10 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/pytest-home/pytest-home-0.5.1.ebuild b/dev-python/pytest-home/pytest-home-0.5.1.ebuild index 10ca25b7fb2c..c5e667d2ecdd 100644 --- a/dev-python/pytest-home/pytest-home-0.5.1.ebuild +++ b/dev-python/pytest-home/pytest-home-0.5.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/pytest[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-httpbin/pytest-httpbin-2.0.0.ebuild b/dev-python/pytest-httpbin/pytest-httpbin-2.0.0.ebuild index 01474d6bfca4..1a7562c8814a 100644 --- a/dev-python/pytest-httpbin/pytest-httpbin-2.0.0.ebuild +++ b/dev-python/pytest-httpbin/pytest-httpbin-2.0.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/pytest-jupyter/Manifest b/dev-python/pytest-jupyter/Manifest index fb1c97271ffd..0757bad4d005 100644 --- a/dev-python/pytest-jupyter/Manifest +++ b/dev-python/pytest-jupyter/Manifest @@ -1,3 +1 @@ -DIST pytest_jupyter-0.10.0.tar.gz 15514 BLAKE2B 668ac112374834684a3321d935d214c2eacf9bfa8d7a1e3915a882db5fa76a713acc673b3ed605326efaa39fadadb0211c529f94c9607870217ec6eafc86f08a SHA512 7d8e35ff5643703479aa116cac9b1b6d757319088b43fa3ae08a2865fc2bcf08cc25dd117edacc4695dfb2a18548d51658535984c5b0c10be14fb66e3e8cfc75 DIST pytest_jupyter-0.10.1.tar.gz 15580 BLAKE2B 931045927f14973162d45ccdff3a28b0e1d955c276ccf73fa91cae46af8d697368edc10bb3a8042885aae8309dd901201ef147967eae13bca453bc3c144de1fc SHA512 ca380f3b4550388606053db97666d3e191e2b4c030b98fed8b88cee53aac0451faf63d1300c50af4313f20b38937558c390c7f9113ef6b9d20fa0c8f0b41e118 -DIST pytest_jupyter-0.9.1.tar.gz 15519 BLAKE2B 58262222fec8c57bb979a66de83429dd9ed261506aa11f4737bb3e1ab2c00a81337b279b6052d4fc6996b02cfb40062d9707ec4ca5472f5a603b83a3602ecd0d SHA512 bb513b4560fb4edcebfe3bef5f62544ec241de235a23cb644a6c9830d8284b7b22ac448e48ad48350dc17fa35a9117bcceabfdbeaa578a97be3db34fa3a5a1f8 diff --git a/dev-python/pytest-jupyter/pytest-jupyter-0.10.0.ebuild b/dev-python/pytest-jupyter/pytest-jupyter-0.10.0.ebuild deleted file mode 100644 index ac7134dabd4e..000000000000 --- a/dev-python/pytest-jupyter/pytest-jupyter-0.10.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Pytest plugin for testing Jupyter libraries and extensions" -HOMEPAGE=" - https://jupyter.org/ - https://github.com/jupyter-server/pytest-jupyter/ - https://pypi.org/project/pytest-jupyter/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/ipykernel-6.14[${PYTHON_USEDEP}] - >=dev-python/jupyter-client-7.4.0[${PYTHON_USEDEP}] - >=dev-python/jupyter-core-5.7[${PYTHON_USEDEP}] - >=dev-python/jupyter-server-1.21[${PYTHON_USEDEP}] - >=dev-python/nbformat-5.3[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-timeout[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/pytest-jupyter/pytest-jupyter-0.10.1.ebuild b/dev-python/pytest-jupyter/pytest-jupyter-0.10.1.ebuild index fea458602771..9af92c022c18 100644 --- a/dev-python/pytest-jupyter/pytest-jupyter-0.10.1.ebuild +++ b/dev-python/pytest-jupyter/pytest-jupyter-0.10.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/ipykernel-6.14[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-jupyter/pytest-jupyter-0.9.1.ebuild b/dev-python/pytest-jupyter/pytest-jupyter-0.9.1.ebuild deleted file mode 100644 index a6c41633be19..000000000000 --- a/dev-python/pytest-jupyter/pytest-jupyter-0.9.1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Pytest plugin for testing Jupyter libraries and extensions" -HOMEPAGE=" - https://jupyter.org/ - https://github.com/jupyter-server/pytest-jupyter/ - https://pypi.org/project/pytest-jupyter/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/ipykernel-6.14[${PYTHON_USEDEP}] - >=dev-python/jupyter-client-7.4.0[${PYTHON_USEDEP}] - >=dev-python/jupyter-core-5.7[${PYTHON_USEDEP}] - >=dev-python/jupyter-server-1.21[${PYTHON_USEDEP}] - >=dev-python/nbformat-5.3[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-timeout[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/pytest-mock/pytest-mock-3.14.0.ebuild b/dev-python/pytest-mock/pytest-mock-3.14.0.ebuild index c38d991f71fd..46acb14ae351 100644 --- a/dev-python/pytest-mock/pytest-mock-3.14.0.ebuild +++ b/dev-python/pytest-mock/pytest-mock-3.14.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_TESTED=( python3_{10..12} pypy3 ) +PYTHON_TESTED=( python3_{10..13} pypy3 ) PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) inherit distutils-r1 pypi diff --git a/dev-python/pytest-mpl/Manifest b/dev-python/pytest-mpl/Manifest index 1b363eb582cb..3a6e35a1976d 100644 --- a/dev-python/pytest-mpl/Manifest +++ b/dev-python/pytest-mpl/Manifest @@ -1 +1,2 @@ DIST pytest-mpl-0.16.1.tar.gz 663585 BLAKE2B aad171260a10417aab15e7e55115c2fe02aa33dcf8336634281e1a1dad4d1c5ff08293fd9a67be025ec6cbb18c42bc9eb7ccb86275c0fcc7f4bf33a035fc0927 SHA512 64c1689f1698f9223082bc5c6817a1d4f9b413cb193894c23b1e0302254a6358cb3e354ac92ec47677acf460a41d05b2b527c834fd0fbbde04c070b0af8f46e1 +DIST pytest-mpl-0.17.0.tar.gz 885613 BLAKE2B d1a6d4551052eeeb7ecbf9722c782796aa74215a3241d1c037fca98972777dd35d7616ec8ef2bd4f00b6428f5dea516243244b61f56ec38d72a4805a75c91a50 SHA512 968397b1d75482729ad73f4844970c3c335c009e689f4163bd5a028c84627455a7d20563e62c6940b27c62229e5744496bec36c2440d402c0aee0a7853550f9b diff --git a/dev-python/pytest-mpl/pytest-mpl-0.17.0.ebuild b/dev-python/pytest-mpl/pytest-mpl-0.17.0.ebuild new file mode 100644 index 000000000000..f2e06c02aa48 --- /dev/null +++ b/dev-python/pytest-mpl/pytest-mpl-0.17.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Facilitate image comparison for Matplotlib figures" +HOMEPAGE=" + https://pypi.org/project/pytest-mpl/ + https://github.com/matplotlib/pytest-mpl +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] +" + +EPYTEST_DESELECT=( + tests/test_baseline_path.py::test_config + tests/test_pytest_mpl.py::test_formats + tests/test_results_always.py::test_config + tests/test_use_full_test_name.py::test_config + tests/subtests/test_subtest.py::test_default + tests/subtests/test_subtest.py::test_html_images_only +) + +distutils_enable_tests pytest diff --git a/dev-python/pytest-regressions/pytest-regressions-2.5.0.ebuild b/dev-python/pytest-regressions/pytest-regressions-2.5.0.ebuild index 134c2a769390..c6593749e824 100644 --- a/dev-python/pytest-regressions/pytest-regressions-2.5.0.ebuild +++ b/dev-python/pytest-regressions/pytest-regressions-2.5.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/pytest-repeat/Manifest b/dev-python/pytest-repeat/Manifest new file mode 100644 index 000000000000..87139676046f --- /dev/null +++ b/dev-python/pytest-repeat/Manifest @@ -0,0 +1 @@ +DIST pytest_repeat-0.9.3.tar.gz 6272 BLAKE2B 120f05793d82e6e7bf8c6fc510b218bdc72f453a3548d7a41928f3e228f3438fc3ff49f06025c2061f7f987e66868c653b275b2786b0de1f6eeffc296e4431bd SHA512 7a3fdf0a7403d11549e5cdd95e0f4ee93fd3a59d3f19604477ce73e4e20082f229ec03bd250be52c7d651ccb6aab9e995d2800d6f7931ee144e587741142243b diff --git a/dev-python/nspektr/metadata.xml b/dev-python/pytest-repeat/metadata.xml index 65c8f4e628fc..3e13149d0347 100644 --- a/dev-python/nspektr/metadata.xml +++ b/dev-python/pytest-repeat/metadata.xml @@ -6,7 +6,7 @@ </maintainer> <stabilize-allarches/> <upstream> - <remote-id type="github">jaraco/nspektr</remote-id> - <remote-id type="pypi">nspektr</remote-id> + <remote-id type="github">pytest-dev/pytest-repeat</remote-id> + <remote-id type="pypi">pytest-repeat</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/pytest-repeat/pytest-repeat-0.9.3.ebuild b/dev-python/pytest-repeat/pytest-repeat-0.9.3.ebuild new file mode 100644 index 000000000000..02419898116d --- /dev/null +++ b/dev-python/pytest-repeat/pytest-repeat-0.9.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="pytest plugin for repeating tests" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-repeat/ + https://pypi.org/project/pytest-repeat/ +" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_repeat + epytest +} diff --git a/dev-python/pytest-rerunfailures/pytest-rerunfailures-14.0.ebuild b/dev-python/pytest-rerunfailures/pytest-rerunfailures-14.0.ebuild index fbaa42713a4c..92f724d179af 100644 --- a/dev-python/pytest-rerunfailures/pytest-rerunfailures-14.0.ebuild +++ b/dev-python/pytest-rerunfailures/pytest-rerunfailures-14.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -26,6 +26,18 @@ RDEPEND=" distutils_enable_tests pytest python_test() { + local EPYTEST_DESELECT=() + if has_version ">=dev-python/pytest-8.2[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + # https://github.com/pytest-dev/pytest-rerunfailures/issues/267 + tests/test_pytest_rerunfailures.py::test_exception_match_only_rerun_in_dual_query + tests/test_pytest_rerunfailures.py::test_exception_matches_only_rerun_query + tests/test_pytest_rerunfailures.py::test_exception_matches_rerun_except_query + tests/test_pytest_rerunfailures.py::test_exception_not_match_rerun_except_query + tests/test_pytest_rerunfailures.py::test_run_session_teardown_once_after_reruns + ) + fi + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 local -x PYTEST_PLUGINS=pytest_rerunfailures epytest diff --git a/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.1.ebuild b/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.1.ebuild index f579f09b3116..4827179cb1b1 100644 --- a/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.1.ebuild +++ b/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.1.ebuild @@ -21,7 +21,7 @@ S=${WORKDIR}/${P//_/} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="amd64 ~riscv ~x86" RDEPEND=" dev-python/attrs[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-subprocess/pytest-subprocess-1.5.0.ebuild b/dev-python/pytest-subprocess/pytest-subprocess-1.5.0.ebuild index 48c8bfd856dd..3b2742ecbf16 100644 --- a/dev-python/pytest-subprocess/pytest-subprocess-1.5.0.ebuild +++ b/dev-python/pytest-subprocess/pytest-subprocess-1.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-subtests/pytest-subtests-0.12.1.ebuild b/dev-python/pytest-subtests/pytest-subtests-0.12.1.ebuild index 2f8e3e53ebdf..d685370d589e 100644 --- a/dev-python/pytest-subtests/pytest-subtests-0.12.1.ebuild +++ b/dev-python/pytest-subtests/pytest-subtests-0.12.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/pytest-timeout/pytest-timeout-2.3.1.ebuild b/dev-python/pytest-timeout/pytest-timeout-2.3.1.ebuild index 2d48986cbf02..cd7abe388b7d 100644 --- a/dev-python/pytest-timeout/pytest-timeout-2.3.1.ebuild +++ b/dev-python/pytest-timeout/pytest-timeout-2.3.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -25,7 +25,9 @@ BDEPEND=" test? ( dev-python/pexpect[${PYTHON_USEDEP}] !hppa? ( - dev-python/pytest-cov[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/pytest-cov[${PYTHON_USEDEP}] + ' python3_{10..11} pypy3) ) ) " @@ -37,7 +39,7 @@ python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 local -x PYTEST_PLUGINS=pytest_timeout - if has_version dev-python/pytest-cov; then + if has_version "dev-python/pytest-cov[${PYTHON_USEDEP}]"; then PYTEST_PLUGINS+=,pytest_cov.plugin else EPYTEST_DESELECT+=( diff --git a/dev-python/pytest-xdist/Manifest b/dev-python/pytest-xdist/Manifest index 9927717437ee..014754a9d137 100644 --- a/dev-python/pytest-xdist/Manifest +++ b/dev-python/pytest-xdist/Manifest @@ -1 +1,3 @@ DIST pytest-xdist-3.5.0.tar.gz 78977 BLAKE2B 94feaa236728688a993ed89825f4ccd67abd7a520d235790bbfc629173e5918695ac500d04de642f07d323325972512e3ad95f0ae18a9ea239da8c2f167ab1a5 SHA512 1b6a896c6c69c110d1f3aa634740ffced570bbb788b3474687fef20147a5480a8681886b04db0413f7db68db546236f9a7f37e1592a74d1145f6eb6d876216ca +DIST pytest_xdist-3.6.0.tar.gz 83818 BLAKE2B e15935799675014a01524b850106c29b1e43efcdc965c5695ae727ba4c12af446dbaec662eb66022b3e553e311d456859e90c7cfb0f7b4d9d0f28c3184e2901a SHA512 d623d31fa3f441c7ac56b7740bdd205933b90c9784ae1bcbac185bdc2920f1a27fa51fa6e1b75392a3ae13a62c51e168925ce3040cc1f0d22e8d9906faebbc2e +DIST pytest_xdist-3.6.1.tar.gz 84060 BLAKE2B 01392bc1f5a1587f609fc0246235457ab92ca40b3c34c660c117fae1c2b8b98dc0cde345f42951d69c3b58732e0094c7618ed570a6e3ca41165e93e2d8cf9e84 SHA512 583a78d0adc05d81458bbdd5832c239581c0fcd9cad9edfd16fa78009c005c15bffec7ed074d9e18f1542393f62d9ccb2c9e0a96d825e9cff1faec123545a2a3 diff --git a/dev-python/pytest-xdist/pytest-xdist-3.6.0.ebuild b/dev-python/pytest-xdist/pytest-xdist-3.6.0.ebuild new file mode 100644 index 000000000000..602cb721af56 --- /dev/null +++ b/dev-python/pytest-xdist/pytest-xdist-3.6.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Distributed testing and loop-on-failing modes" +HOMEPAGE=" + https://pypi.org/project/pytest-xdist/ + https://github.com/pytest-dev/pytest-xdist/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/execnet-2.1[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/pytest-7.0.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/filelock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + # disable autoloading plugins in nested pytest calls + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # since we disabled autoloading, force loading necessary plugins + local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail + + epytest -o tmp_path_retention_count=1 +} diff --git a/dev-python/pytest-xdist/pytest-xdist-3.6.1.ebuild b/dev-python/pytest-xdist/pytest-xdist-3.6.1.ebuild new file mode 100644 index 000000000000..949362a5b226 --- /dev/null +++ b/dev-python/pytest-xdist/pytest-xdist-3.6.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Distributed testing and loop-on-failing modes" +HOMEPAGE=" + https://pypi.org/project/pytest-xdist/ + https://github.com/pytest-dev/pytest-xdist/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/execnet-2.1[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/pytest-7.0.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/filelock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + # disable autoloading plugins in nested pytest calls + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # since we disabled autoloading, force loading necessary plugins + local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail + + epytest -o tmp_path_retention_count=1 +} diff --git a/dev-python/pytest-xprocess/pytest-xprocess-1.0.1.ebuild b/dev-python/pytest-xprocess/pytest-xprocess-1.0.1.ebuild index 7ed4e7ad9828..5e9eab62aab3 100644 --- a/dev-python/pytest-xprocess/pytest-xprocess-1.0.1.ebuild +++ b/dev-python/pytest-xprocess/pytest-xprocess-1.0.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/pytest[${PYTHON_USEDEP}] diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest index 12dda2dc03ae..833d65d486e3 100644 --- a/dev-python/pytest/Manifest +++ b/dev-python/pytest/Manifest @@ -1,3 +1,4 @@ DIST pytest-7.4.4.tar.gz 1357116 BLAKE2B 0bf281b3d4b7b2eb7805423a75c8c2befa820cc230318511e5a2d5ea35321a78a2603d5dbc033414ed73171525371efa9d9f54083d5638fc752c1c218e6d53aa SHA512 28a259dac6739683c131993409d508e10fbfee461291b8fc7697dd83f30725a3c60e681ba00b5669a215af6a5e683f07a329485d780acc9ad0372a6552f783a1 DIST pytest-8.0.2.tar.gz 1396924 BLAKE2B ad95d246f5592cfe54faea6c96e38cb60d3e2713070d1ff7cab6c42aea312883c5d97c99a930dbcbd8493e966c4b8351320f6494b4ab904afbf21d7e1dd004a7 SHA512 c495943baad05e09b467d23c7afadb3edff7ae93ee96290d6db9e64739236888148b63dff7e8e25b331b11bd48c55fb0ca8901cf823d69b1a922e94915bab2f1 -DIST pytest-8.1.1.tar.gz 1409703 BLAKE2B 8e382c87af1bbbc235f9b27f8bb892d08393e0a9821f32373ee2546112c24dc6f90e1990f10ef799a94a1426a83a2bc3de0be9e7efde90cbf4eac5a0c9ee375c SHA512 f1a9f69cd4eca3ab36c36bc666bf70b099125ed6e17b89d13554c3f13b100d05abfd0b35516660d00ca4fb9eca81164ab02bc8f7a9a8d90fd4302bf399cd88c0 +DIST pytest-8.1.2.tar.gz 1410060 BLAKE2B 1379047c5ba434e98a383756c53a9cf31dc3bd3abcc49820f872b9110ec70906ca14080ce17ed2770b71195fbd79627a0eb16ee00429e165368144b20153a02b SHA512 a6ffae29da98ee4c357ebb03f00c4bc1a33f093ef867ad118841695548468c7f229eaa2c029a2ce3b158bbb0a65be5014e91555a223d04c1c72e614cb1d00546 +DIST pytest-8.2.0.tar.gz 1422883 BLAKE2B 91f39aa14bfc56f7f98789ef9eeed80d1aa81c864f56181bf1e819b73543043eda307fec53151bf5dbcf8e63abd8dd8ad1290dd245c387cb68583d2160981cf2 SHA512 1a74a2269010804101fc4b8efc370c5d8d484eb145eb4e181feeb1a17046457b97071d2de925c3e8bbd4c6090cd00ca532d69286cb9e10ea023e59a99cd51088 diff --git a/dev-python/pytest/pytest-8.0.2.ebuild b/dev-python/pytest/pytest-8.0.2.ebuild index c96c58105a4e..e06a50f78f5c 100644 --- a/dev-python/pytest/pytest-8.0.2.ebuild +++ b/dev-python/pytest/pytest-8.0.2.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/pytest/pytest-8.1.1.ebuild b/dev-python/pytest/pytest-8.1.2.ebuild index bc3240afb1d2..bc3240afb1d2 100644 --- a/dev-python/pytest/pytest-8.1.1.ebuild +++ b/dev-python/pytest/pytest-8.1.2.ebuild diff --git a/dev-python/pytest/pytest-8.2.0.ebuild b/dev-python/pytest/pytest-8.2.0.ebuild new file mode 100644 index 000000000000..54e62aabbc4d --- /dev/null +++ b/dev-python/pytest/pytest-8.2.0.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2024 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 + +DESCRIPTION="Simple powerful testing with Python" +HOMEPAGE=" + https://pytest.org/ + https://github.com/pytest-dev/pytest/ + https://pypi.org/project/pytest/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/iniconfig[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + <dev-python/pluggy-2[${PYTHON_USEDEP}] + >=dev-python/pluggy-1.5.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + >=dev-python/tomli-1[${PYTHON_USEDEP}] + ' 3.10) + !!<=dev-python/flaky-3.7.0-r5 +" +BDEPEND=" + >=dev-python/setuptools-scm-6.2.3[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/argcomplete[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2[${PYTHON_USEDEP}] + >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + >=dev-python/pygments-2.7.2[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/xmlschema[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +src_test() { + # workaround new readline defaults + echo "set enable-bracketed-paste off" > "${T}"/inputrc || die + local -x INPUTRC="${T}"/inputrc + distutils-r1_src_test +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x COLUMNS=80 + + local EPYTEST_DESELECT=( + # broken by epytest args + testing/test_warnings.py::test_works_with_filterwarnings + + # tend to be broken by random pytest plugins + # (these tests patch PYTEST_DISABLE_PLUGIN_AUTOLOAD out) + testing/test_helpconfig.py::test_version_less_verbose + testing/test_helpconfig.py::test_version_verbose + testing/test_junitxml.py::test_random_report_log_xdist + testing/test_junitxml.py::test_runs_twice_xdist + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal_count + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_verbose + testing/test_terminal.py::TestProgressWithTeardown::test_xdist_normal + testing/test_terminal.py::TestTerminalFunctional::test_header_trailer_info + testing/test_terminal.py::TestTerminalFunctional::test_no_header_trailer_info + + # unstable with xdist + testing/test_terminal.py::TestTerminalFunctional::test_verbose_reporting_xdist + + # TODO (XPASS) + testing/test_debugging.py::TestDebuggingBreakpoints::test_pdb_not_altered + testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_simple + testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_twice + testing/test_debugging.py::TestPDB::test_pdb_with_injected_do_debug + testing/test_debugging.py::test_pdb_suspends_fixture_capturing + + # setuptools warnings + testing/acceptance_test.py::TestInvocationVariants::test_cmdline_python_namespace_package + + # times out + testing/test_debugging.py::TestPDB::test_pdb_interaction_exception + testing/test_debugging.py::TestPDB::test_pdb_with_caplog_on_pdb_invocation + ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # regressions on pypy3.9 + # https://github.com/pytest-dev/pytest/issues/9787 + testing/test_skipping.py::test_errors_in_xfail_skip_expressions + testing/test_unraisableexception.py + ) + ;; + python3.13) + EPYTEST_DESELECT+=( + # regressions reproduced via `tox -e py313` + # https://github.com/pytest-dev/pytest/issues/12323 + testing/code/test_excinfo.py::TestFormattedExcinfo::test_repr_traceback_recursion + testing/code/test_excinfo.py::TestTraceback_f_g_h::test_traceback_recursion_index + testing/code/test_excinfo.py::test_exception_repr_extraction_error_on_recursion + testing/code/test_source.py::test_getfslineno + testing/test_collection.py::TestSession::test_collect_custom_nodes_multi_id + testing/test_collection.py::TestSession::test_collect_protocol_single_function + testing/test_collection.py::TestSession::test_collect_subdir_event_ordering + testing/test_collection.py::TestSession::test_collect_two_commandline_args + testing/test_doctest.py::TestDoctests::test_doctest_linedata_on_property + testing/test_doctest.py::TestDoctests::test_doctest_unexpected_exception + testing/test_legacypath.py::test_testdir_makefile_ext_none_raises_type_error + + # TODO? + testing/code/test_excinfo.py::test_excinfo_no_sourcecode + + # more weird timeouts + testing/test_debugging.py::TestPDB::test_pdb_used_outside_test + testing/test_debugging.py::TestPDB::test_pdb_used_in_generate_tests + ) + ;; + esac + + local EPYTEST_XDIST=1 + epytest +} diff --git a/dev-python/python-dateutil/python-dateutil-2.9.0_p0.ebuild b/dev-python/python-dateutil/python-dateutil-2.9.0_p0.ebuild index f0e820000438..9ef80c68d092 100644 --- a/dev-python/python-dateutil/python-dateutil-2.9.0_p0.ebuild +++ b/dev-python/python-dateutil/python-dateutil-2.9.0_p0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/python-dotenv/python-dotenv-1.0.1.ebuild b/dev-python/python-dotenv/python-dotenv-1.0.1.ebuild index b90bf246f45c..d43fd470cb89 100644 --- a/dev-python/python-dotenv/python-dotenv-1.0.1.ebuild +++ b/dev-python/python-dotenv/python-dotenv-1.0.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi @@ -25,7 +25,7 @@ BDEPEND=" >=dev-python/sh-2[${PYTHON_USEDEP}] $(python_gen_cond_dep ' dev-python/ipython[${PYTHON_USEDEP}] - ' python3_{10,11}) + ' python3_{10..12}) ) " diff --git a/dev-python/python-glanceclient/Manifest b/dev-python/python-glanceclient/Manifest index 258aefeb919c..b14d48951c1f 100644 --- a/dev-python/python-glanceclient/Manifest +++ b/dev-python/python-glanceclient/Manifest @@ -1 +1,2 @@ DIST python-glanceclient-4.5.0.tar.gz 205909 BLAKE2B 5e48abd2c869d4f3a0bfbfc593950754fd165bd36a98bc4358d88a1b64f6892b6633f10421999733c014fe8f1664d1181b5019739997139c1ef5d604194cfda8 SHA512 141f03fa55012981214283e961c4d4020a2fa4dc87b7cbc323d87c536b88e98f4798b59d83dc627a5846c5437fdac963fb34a3db444c20410a01441bf5838fa7 +DIST python-glanceclient-4.6.0.tar.gz 206480 BLAKE2B 302414b0fcf85ec9a8e53e9bf43c5801df82826524780249e9c4b46b44ca2e53c1c5d63f6e80c73dee2a59009a3e0aa1df591ecb2a4d000b74ee078b4810de2c SHA512 ed9d554d40a03134bc8871fbf712dd4bb2aab5e18854fd9c07df0d20dead1a9f3473bc4253ba4dd8c87cf7227148c637718461d45cd01bd9aaf673f7fc7ee9fc diff --git a/dev-python/python-glanceclient/python-glanceclient-4.6.0.ebuild b/dev-python/python-glanceclient/python-glanceclient-4.6.0.ebuild new file mode 100644 index 000000000000..6930cb7e8b95 --- /dev/null +++ b/dev-python/python-glanceclient/python-glanceclient-4.6.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A client for the OpenStack Glance API" +HOMEPAGE=" + https://opendev.org/openstack/python-glanceclient/ + https://github.com/openstack/python-glanceclient/ + https://pypi.org/project/python-glanceclient/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/keystoneauth1-3.6.2[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-17.1.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/warlock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + dev-python/ddt[${PYTHON_USEDEP}] + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/tempest[${PYTHON_USEDEP}] + dev-python/testscenarios[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + <dev-python/urllib3-2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_test() { + # functional tests require cloud instance access + eunittest -b glanceclient/tests/unit +} diff --git a/dev-python/python-ironicclient/Manifest b/dev-python/python-ironicclient/Manifest index cf9db740f9f2..617546052b9d 100644 --- a/dev-python/python-ironicclient/Manifest +++ b/dev-python/python-ironicclient/Manifest @@ -1 +1,2 @@ DIST python-ironicclient-5.5.0.tar.gz 228869 BLAKE2B 0dbced62dee32bc2a25add2f81390fa7e581978deef1ae8fbb1cac7ec8b219d201d13d64f8621a34886b1af765335ffe4bf591867a2288499f37fe5b88cd4fa9 SHA512 bd6cbca3e5bd1675d130089298a043352bdb842f6f7b06f526b956c0fcb0eff4f9d6f58389c0bdce1de4496a6befa91891d1ff2bea48bec0512d8d28285f7323 +DIST python-ironicclient-5.6.0.tar.gz 229569 BLAKE2B 2db608463479fc5bb7061562d8617d96244e80276790ae2829373d9ba02412027658c33c5f22d6fd921bf84599584c588c462b4480d294e288dc063f7c73e274 SHA512 133de151e5a884c0c9840b72236f5d99e5e197889ed2e80545174d8754b09e65c370c6a97c367ed4c4ca76f593e665e6481cd45c266fdf3ba7fc348307539907 diff --git a/dev-python/python-ironicclient/python-ironicclient-5.6.0.ebuild b/dev-python/python-ironicclient/python-ironicclient-5.6.0.ebuild new file mode 100644 index 000000000000..e019c425e680 --- /dev/null +++ b/dev-python/python-ironicclient/python-ironicclient-5.6.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pbr +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for the Ironic API" +HOMEPAGE=" + https://opendev.org/openstack/python-ironicclient/ + https://github.com/openstack/python-ironicclient/ + https://pypi.org/project/python-ironicclient/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + >=dev-python/cliff-2.8.0[${PYTHON_USEDEP}] + >=dev-python/dogpile-cache-0.8.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-3.11.0[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-0.18.0[${PYTHON_USEDEP}] + >=dev-python/osc-lib-2.0.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.13.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tempest-17.1.0[${PYTHON_USEDEP}] + >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] + >=dev-python/python-openstackclient-3.12.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/python-mpv/Manifest b/dev-python/python-mpv/Manifest index 033afa103a47..22b8437cf70f 100644 --- a/dev-python/python-mpv/Manifest +++ b/dev-python/python-mpv/Manifest @@ -1 +1,2 @@ DIST python-mpv-1.0.5.gh.tar.gz 211622 BLAKE2B eeda4e61c8e2728898ddae7c2cd9e92a7cf718b22aefd8104edf361b7d7feab7655561019cbed35045cbdc4faac96e0d85c77d053bfae61e05052a981bd00342 SHA512 cefc0b38146d707a06e2b9e58951675be8d236c95e24de7665085641b24f7d7d5303130ebdb4c97f4f4c79b6de393c30656d9fc0dabf6760156d4aca8207d77c +DIST python-mpv-1.0.6.gh.tar.gz 212503 BLAKE2B f0b63116f90b0d9e0be7d1f7e3586390d1486a89fd2eee8362f0e569b397a9d61dd597b39307559ea4206fdb98c70bbb09e07fbcbc64d60026b21522c1396053 SHA512 f5848f62f978372b04d09e89e9d04b64ff0c437a1f9f63c4ba4751bbe4a8bd0eb20e7503a3f25c7ca64ef0ab5c91db8be68473dbc29a04d78a9246ed784bcc38 diff --git a/dev-python/python-mpv/python-mpv-1.0.6.ebuild b/dev-python/python-mpv/python-mpv-1.0.6.ebuild new file mode 100644 index 000000000000..6b9246e27c40 --- /dev/null +++ b/dev-python/python-mpv/python-mpv-1.0.6.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 virtualx + +DESCRIPTION="Python interface to the mpv media player" +HOMEPAGE=" + https://github.com/jaseg/python-mpv/ + https://pypi.org/project/python-mpv/ +" +SRC_URI=" + https://github.com/jaseg/python-mpv/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + media-video/mpv[libmpv] + dev-python/pillow[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pyvirtualdisplay[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # hanging tests + tests/test_mpv.py::TestLifecycle::test_wait_for_property_event_overflow + tests/test_mpv.py::TestStreams::test_custom_stream + ) + + virtx epytest +} diff --git a/dev-python/python-neutronclient/Manifest b/dev-python/python-neutronclient/Manifest index bfc724299a4d..4378c1d82e47 100644 --- a/dev-python/python-neutronclient/Manifest +++ b/dev-python/python-neutronclient/Manifest @@ -1 +1,2 @@ DIST python-neutronclient-11.2.0.tar.gz 211150 BLAKE2B 3384e75eedf0f81ce1d056c1e58c8ecf4ee94041f54225b4435dbc3f8d01cbb709428e7e42bf312b7734b276dae959c3014dae66696bd9019a120ccf8805029e SHA512 47d0bdd9765c727cf3b9fba44269853652bb0d9ba84a25123402262b8381ae3f3d9f9e98916f0ff770b6a3c92699d5d2e3140ad19cdb9b17c94fed3185d7fca0 +DIST python-neutronclient-11.3.0.tar.gz 211322 BLAKE2B 495e2f8db5d85cc92d1990239999c920341cc18e2d519da4e458eb8e50b803aa77d838dc06f2a248ead2ee156a763103c5376b786fa99d97a0c6dff5659374ba SHA512 4115326f2a40957f1db94ee4e65f7399019fa135774fa9ed5f2ffc6d20f65f326fedc724639decb730ce9de0a0e82239e1ffe6ec4df59382adb16d9c3cfb64d5 diff --git a/dev-python/python-neutronclient/python-neutronclient-11.3.0.ebuild b/dev-python/python-neutronclient/python-neutronclient-11.3.0.ebuild new file mode 100644 index 000000000000..700ffba1b843 --- /dev/null +++ b/dev-python/python-neutronclient/python-neutronclient-11.3.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A client for the OpenStack Quantum API" +HOMEPAGE=" + https://opendev.org/openstack/python-neutronclient/ + https://github.com/openstack/python-neutronclient/ + https://pypi.org/project/python-neutronclient/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/cliff-3.4.0[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-1.5.0[${PYTHON_USEDEP}] + >=dev-python/osc-lib-1.8.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] + >dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/os-client-config-1.28.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-3.8.0[${PYTHON_USEDEP}] + >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + dev-python/bandit[${PYTHON_USEDEP}] + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/oslotest[${PYTHON_USEDEP}] + dev-python/python-openstackclient[${PYTHON_USEDEP}] + dev-python/subunit[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + dev-python/testscenarios[${PYTHON_USEDEP}] + dev-python/tempest[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # Needs osprofile + rm neutronclient/tests/unit/test_http.py || die + distutils-r1_src_prepare +} + +python_test() { + # functional tests require cloud instance access + eunittest -b neutronclient.tests.unit +} + +python_install() { + distutils-r1_python_install + # stupid stupid stupid + local SITEDIR="${D}$(python_get_sitedir)" || die + cd "${SITEDIR}" || die + local egg=( python_neutronclient*.dist-info ) + [[ -d ${egg[0]} ]] || die "python_quantumclient*.dist-info not found" + ln -s "${egg[0]}" "${egg[0]/neutron/quantum}" || die + ln -s neutronclient quantumclient || die + ln -s neutron quantumclient/quantum || die +} diff --git a/dev-python/pythondialog/pythondialog-3.5.3.ebuild b/dev-python/pythondialog/pythondialog-3.5.3.ebuild index 694085c05663..0e1109ba8ba4 100644 --- a/dev-python/pythondialog/pythondialog-3.5.3.ebuild +++ b/dev-python/pythondialog/pythondialog-3.5.3.ebuild @@ -1,16 +1,16 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} pypy3 ) +PYTHON_COMPAT=( python3_{10..11} pypy3 ) inherit distutils-r1 DESCRIPTION="A Python module for making simple text/console-mode user interfaces" HOMEPAGE="https://pythondialog.sourceforge.io/" -SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/python3-${P}.tar.bz2" +SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/python3-${P}.tar.bz2" LICENSE="LGPL-2" SLOT="0" diff --git a/dev-python/pythonnet/pythonnet-3.0.3.ebuild b/dev-python/pythonnet/pythonnet-3.0.3.ebuild index 7aafb07a2236..42f52b60443a 100644 --- a/dev-python/pythonnet/pythonnet-3.0.3.ebuild +++ b/dev-python/pythonnet/pythonnet-3.0.3.ebuild @@ -210,7 +210,7 @@ if [[ "${PV}" == *9999* ]] ; then else inherit pypi - KEYWORDS="~amd64" + KEYWORDS="amd64" fi SRC_URI+=" ${NUGET_URIS} " diff --git a/dev-python/pytools/Manifest b/dev-python/pytools/Manifest index 92ee770eb359..71f4404e302c 100644 --- a/dev-python/pytools/Manifest +++ b/dev-python/pytools/Manifest @@ -1 +1 @@ -DIST pytools-2024.1.1.tar.gz 77122 BLAKE2B 38b46a6363c707da90670a28d63dbaf1b77f739a4f7473bda11fa671ad267ee33c48312e3813e05888d3cd48efc60ec3006d57a316053ff2d0160d0b284bca9d SHA512 3b47764ac6f1ea0938c32e42092c0acfe81b2f22eb15c3ded589c5022c8a07ff89420f30ec78779ccb9f07d8611fa9c447539859371d8aade603f302b747cf97 +DIST pytools-2024.1.2.tar.gz 77642 BLAKE2B b393149a81a708f3681b34e88e22113223f53f23e83c8f1848d4fd6ec456af7145fba8a98efd716d8be5b6184fc9973c05aa9c0814d48ee4925255b57f6119a5 SHA512 3252b3930934c43f840a77f41e0958fef6121db1d64efc5498defadf8e48fdbda89d1539b87b6367c8acf4ad7eaf7fdf364263340ffebd834861f0f21f1af4c7 diff --git a/dev-python/pytools/pytools-2024.1.1.ebuild b/dev-python/pytools/pytools-2024.1.2.ebuild index 01f5df21d875..01f5df21d875 100644 --- a/dev-python/pytools/pytools-2024.1.1.ebuild +++ b/dev-python/pytools/pytools-2024.1.2.ebuild diff --git a/dev-python/pytz/pytz-2024.1.ebuild b/dev-python/pytz/pytz-2024.1.ebuild index c376c74dbab9..8b4eb20b62a0 100644 --- a/dev-python/pytz/pytz-2024.1.ebuild +++ b/dev-python/pytz/pytz-2024.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 pypi diff --git a/dev-python/pywlroots/Manifest b/dev-python/pywlroots/Manifest index d7589afe73e1..439a658cb369 100644 --- a/dev-python/pywlroots/Manifest +++ b/dev-python/pywlroots/Manifest @@ -1,2 +1,5 @@ DIST pywlroots-0.15.24.gh.tar.gz 85570 BLAKE2B 0c7ba0be6159152488785298028bb1feec20e2380357060a850dab417b3fb1fccb4a9e6cc6564d2b7f124bf4fc454789549267e9036b0b4559e5fcd4c6f06196 SHA512 b29b76cf18a65b2ef19d15ecf018a9ba44119d60ee61435967d17f06d5f7544d2117f2e9a81574734c71591a237b00c8584a5cc6d6adb928f39f11170f21ee94 -DIST pywlroots-0.16.6.tar.gz 91625 BLAKE2B d8784add8266958745fb9d9ca25d47b3bd52957cef22a70b30b051aa53996a8b870d436a44c75f8a16fd7346b7ff2c00a70eb86b376294f3928ecd8807b6646e SHA512 31588ebccbd269e45374cd42067738c23bd76ea8a0304d17aff9da33c7686a5fb9c83a676575f0ad034afd2827cb8bea7eb9334e96badcc83ffede56fbf75a1b +DIST pywlroots-0.16.7.tar.gz 98542 BLAKE2B bcc20d31e4423c6f486f6bcbfecb1db1995cc3d58e98205f63468b4b93b3f386f67ff22e8a99cd419b7b31f7c0287a61f8c4e1fed6e7af525244e94895ba55d6 SHA512 05e75f70ca6e9fcf7cfd18fb55411fbf3ef9d0b95d11afdab0ad95f2016623ac4e097b600e3d7a6f880be0edc6a1ccfaa48364ec02bd3c46c44f7c0de3fe96ac +DIST pywlroots-0.16.8.tar.gz 100267 BLAKE2B 969f528a849a5b2b3c5c9147971c1fa4e105d894c3086e0283877cdedb8f1535632fd8554adfda2419881a0a0efb9bbbba420950991f36746a66b543052f8301 SHA512 2b374ce77d35106830e8de8d96bb3572ff3853ce7a431e280580144ffc530531df5a79f54e5064d6186b7cc660a97dfb5d954155c71d8e70109d50206d96c597 +DIST pywlroots-0.16.9.tar.gz 100390 BLAKE2B 139a7514ee503d883519dbd157a6ec75024ad8ac5d8b07b518831f94b04d2e28bba62a58351bc896a306533b4e88deb251caf00c48e3be7877d0f6ce7e833036 SHA512 b7fea09d1b2eb6ff443e712222d63693ad440b2dc7b22dc49ec9b166ae45038662f0f68ca15db5e8bf8776b3ceb880f846341883bf99dd783f323bd46f6a3ac6 +DIST pywlroots-0.17.0.tar.gz 99439 BLAKE2B 0f4153e5d4e7786d52d2a66614c4c92d29d0ef57be74ce8e7b23ed244c361a551b84606493296b99b4b1f48f5c862911f48aa32f3e7d5bd1c0fcedcfb1240474 SHA512 20b93845f26f1942bc111d12de24acc17af24cd70abd644a66a4b43e3622fa2cb9323c7dc846a5708c5cb63631e77020350231a67d3b6702ac5882fcd31411df diff --git a/dev-python/pywlroots/pywlroots-0.16.6-r2.ebuild b/dev-python/pywlroots/pywlroots-0.16.7.ebuild index bc058a1c6aff..6f6089d7c382 100644 --- a/dev-python/pywlroots/pywlroots-0.16.6-r2.ebuild +++ b/dev-python/pywlroots/pywlroots-0.16.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pywlroots/pywlroots-0.16.8.ebuild b/dev-python/pywlroots/pywlroots-0.16.8.ebuild new file mode 100644 index 000000000000..9a4044ba719c --- /dev/null +++ b/dev-python/pywlroots/pywlroots-0.16.8.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python binding to the wlroots library using cffi" +HOMEPAGE=" + https://github.com/flacjacket/pywlroots/ + https://pypi.org/project/pywlroots/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="X" + +# See README for wlroots dep +DEPEND=" + dev-python/cffi:=[${PYTHON_USEDEP}] + >=dev-python/pywayland-0.4.14[${PYTHON_USEDEP}] + >=dev-python/xkbcommon-0.2[${PYTHON_USEDEP}] + =gui-libs/wlroots-$(ver_cut 1-2)*:=[X?] +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_tests pytest + +src_prepare() { + local PATCHES=( + "${FILESDIR}"/${PN}-0.15.24-no-import-version-check.patch + ) + + # override automagic detection and caching that's completely broken + # by design; https://github.com/flacjacket/pywlroots/issues/132 + cat > wlroots/_build.py <<-EOF || die + has_xwayland = $(usex X True False) + EOF + sed -e "s:return.*has_xwayland$:return $(usex X True False):" \ + -i wlroots/ffi_build.py || die + + distutils-r1_src_prepare +} + +python_test() { + rm -rf wlroots || die + epytest +} diff --git a/dev-python/pywlroots/pywlroots-0.16.9.ebuild b/dev-python/pywlroots/pywlroots-0.16.9.ebuild new file mode 100644 index 000000000000..9a4044ba719c --- /dev/null +++ b/dev-python/pywlroots/pywlroots-0.16.9.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python binding to the wlroots library using cffi" +HOMEPAGE=" + https://github.com/flacjacket/pywlroots/ + https://pypi.org/project/pywlroots/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="X" + +# See README for wlroots dep +DEPEND=" + dev-python/cffi:=[${PYTHON_USEDEP}] + >=dev-python/pywayland-0.4.14[${PYTHON_USEDEP}] + >=dev-python/xkbcommon-0.2[${PYTHON_USEDEP}] + =gui-libs/wlroots-$(ver_cut 1-2)*:=[X?] +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_tests pytest + +src_prepare() { + local PATCHES=( + "${FILESDIR}"/${PN}-0.15.24-no-import-version-check.patch + ) + + # override automagic detection and caching that's completely broken + # by design; https://github.com/flacjacket/pywlroots/issues/132 + cat > wlroots/_build.py <<-EOF || die + has_xwayland = $(usex X True False) + EOF + sed -e "s:return.*has_xwayland$:return $(usex X True False):" \ + -i wlroots/ffi_build.py || die + + distutils-r1_src_prepare +} + +python_test() { + rm -rf wlroots || die + epytest +} diff --git a/dev-python/pywlroots/pywlroots-0.17.0.ebuild b/dev-python/pywlroots/pywlroots-0.17.0.ebuild new file mode 100644 index 000000000000..9a4044ba719c --- /dev/null +++ b/dev-python/pywlroots/pywlroots-0.17.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python binding to the wlroots library using cffi" +HOMEPAGE=" + https://github.com/flacjacket/pywlroots/ + https://pypi.org/project/pywlroots/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="X" + +# See README for wlroots dep +DEPEND=" + dev-python/cffi:=[${PYTHON_USEDEP}] + >=dev-python/pywayland-0.4.14[${PYTHON_USEDEP}] + >=dev-python/xkbcommon-0.2[${PYTHON_USEDEP}] + =gui-libs/wlroots-$(ver_cut 1-2)*:=[X?] +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_tests pytest + +src_prepare() { + local PATCHES=( + "${FILESDIR}"/${PN}-0.15.24-no-import-version-check.patch + ) + + # override automagic detection and caching that's completely broken + # by design; https://github.com/flacjacket/pywlroots/issues/132 + cat > wlroots/_build.py <<-EOF || die + has_xwayland = $(usex X True False) + EOF + sed -e "s:return.*has_xwayland$:return $(usex X True False):" \ + -i wlroots/ffi_build.py || die + + distutils-r1_src_prepare +} + +python_test() { + rm -rf wlroots || die + epytest +} diff --git a/dev-python/pyxDamerauLevenshtein/Manifest b/dev-python/pyxDamerauLevenshtein/Manifest index 30d65685f37c..6a35681d1f45 100644 --- a/dev-python/pyxDamerauLevenshtein/Manifest +++ b/dev-python/pyxDamerauLevenshtein/Manifest @@ -1 +1 @@ -DIST pyxDamerauLevenshtein-1.7.1.gh.tar.gz 43690 BLAKE2B 52950fa10667775828ee57ae9f68ea06bf8cf4e794c3cf27189fbc1affe877ee2537a5dfc3173a58a8b9ccfae664190e4eac250ddbc7cbeda748af033dd3fbbb SHA512 d16be05305ac8cdabecae90353e68cc51ac99ea88338fafe8379f6969434a9e3e3ac95ba58f71d15ccfcadfb3a9fbe30af563ec848e54115c64c83c69596e116 +DIST pyxDamerauLevenshtein-1.8.0.gh.tar.gz 9175 BLAKE2B 2c17ee794153071081cb463597a85d1428eb0620f4f30966a0deb257eb03efb34f95c45fc7d90a22bfd5034283ba7ba08ab1338278f0d81024e45d6ab8d19b05 SHA512 87429f8c106b31c024893313645d9f7af04f855c01009a461a59c506ac778be717c3052af47e9dce53a28c00ed4ee47347e975e9f8ccb50eb504c97b7d580206 diff --git a/dev-python/pyxDamerauLevenshtein/pyxDamerauLevenshtein-1.7.1.ebuild b/dev-python/pyxDamerauLevenshtein/pyxDamerauLevenshtein-1.8.0.ebuild index 1b2e371e0d5d..5dd8ca35907b 100644 --- a/dev-python/pyxDamerauLevenshtein/pyxDamerauLevenshtein-1.7.1.ebuild +++ b/dev-python/pyxDamerauLevenshtein/pyxDamerauLevenshtein-1.8.0.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-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,11,12,12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 @@ -14,7 +15,7 @@ HOMEPAGE=" https://pypi.org/project/pyxDamerauLevenshtein/ " SRC_URI=" - https://github.com/lanl/${PN}/archive/v${PV}.tar.gz + https://github.com/lanl/pyxDamerauLevenshtein/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz " @@ -22,7 +23,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~ppc64 ~riscv x86" -RDEPEND=" +BDEPEND=" dev-python/cython[${PYTHON_USEDEP}] " diff --git a/dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild b/dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild index e99a4b526dcc..68bb7965f6a5 100644 --- a/dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild +++ b/dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-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} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/pyzmq/Manifest b/dev-python/pyzmq/Manifest index d00fdbd0256b..83a8e3f57467 100644 --- a/dev-python/pyzmq/Manifest +++ b/dev-python/pyzmq/Manifest @@ -1,2 +1,3 @@ DIST pyzmq-25.1.2.gh.tar.gz 391272 BLAKE2B 80814704e7ea08d407859c1d71338f6ea283efcd1f3994155334aa5b60c4b6cd89167de8c78d19f8efdbeb5f4071f7b5954ea911eb6e7fbb48a0087b86579cab SHA512 b146a6dbce7cbbe2eb1da7ebd64e463067354f1566cdb4ff634b59bbb6d65e16263b6acb2d101a4ea53f870be5c753c9a12f9cc37bc5a81236681ea4fda6c56b -DIST pyzmq-26.0.0.gh.tar.gz 267825 BLAKE2B 4a9c85ffded107f4a24f49dcecfd00f0a902021f1921cdd81bf98269ecb19cdd6e4718c6b68ebb9c6d94eb6ba1a2878ea953063b076093b2094849b59977fa44 SHA512 b9ac2a8520bab63035b36ed7e8759d459ad933eb1316a6278b29f413e5655afcca9282bc8ebcfa0f02b893daf344b5b5b5b704cd3089614fd3bdc13ff735db02 +DIST pyzmq-26.0.2.gh.tar.gz 267895 BLAKE2B c71a0149cb6c596dfcbc760376aa14afa69bd927fcc739698f7d2ea44579dc8437ae605745b383a9b317ff66c092a4f963671e7933cf19f3f73acac16ac06daa SHA512 5772743e71810f9a0c332dcf16f04237eeb0a34ef2efdd22b63258ebe93e6b493a79845090e677a33582a9a80e7bee773160ec7ecfdaf240b655f3819e5b67a5 +DIST pyzmq-26.0.3.gh.tar.gz 268927 BLAKE2B 7504a45776e8c618833702563b50f672a3ecabb3353551ea61d2d2343dd9e955d1d2938046c2f90d115255482b9b6b2c0f1817b238e591b9319ac92a4341c04a SHA512 f4a32164daf9d9521be83008a94089406078779b9e0e56812a826df1fb295cc03781566825697313aa0c2b36b85b0bb760b8fb90959a856a0542b9072cde78c9 diff --git a/dev-python/pyzmq/pyzmq-26.0.0.ebuild b/dev-python/pyzmq/pyzmq-26.0.2.ebuild index e360778f49ba..2e3555948fec 100644 --- a/dev-python/pyzmq/pyzmq-26.0.0.ebuild +++ b/dev-python/pyzmq/pyzmq-26.0.2.ebuild @@ -23,7 +23,7 @@ SRC_URI=" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" IUSE="drafts" # There are additional test failures if zeromq has the draft api enabled, but pyzmq has it disabled. @@ -54,10 +54,9 @@ distutils_enable_tests pytest # dev-python/myst-parser src_configure() { - export ZMQ_DRAFT_API=$(usex drafts '1' '0') - - # TODO: remove this when we update the eclass - export SKBUILD_INSTALL_STRIP=false + DISTUTILS_ARGS=( + -DZMQ_DRAFT_API="$(usex drafts)" + ) } src_test() { diff --git a/dev-python/pyzmq/pyzmq-26.0.3.ebuild b/dev-python/pyzmq/pyzmq-26.0.3.ebuild new file mode 100644 index 000000000000..efea0838be87 --- /dev/null +++ b/dev-python/pyzmq/pyzmq-26.0.3.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=scikit-build-core +PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Lightweight and super-fast messaging library built on top of the ZeroMQ library" +HOMEPAGE=" + https://zeromq.org/languages/python/ + https://pypi.org/project/pyzmq/ + https://github.com/zeromq/pyzmq/ +" +SRC_URI=" + https://github.com/zeromq/pyzmq/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +IUSE="drafts" + +# There are additional test failures if zeromq has the draft api enabled, but pyzmq has it disabled. +DEPEND=" + >=net-libs/zeromq-4.2.2-r2:=[drafts=] +" +# It uses cffi backend for pypy, cython backend for cpython +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] + ' 'python*') + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + >=dev-python/tornado-5.0.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +# TODO: Package enum_tools +# distutils_enable_sphinx docs/source \ +# dev-python/numpydoc \ +# dev-python/sphinx-rtd-theme \ +# dev-python/myst-parser + +src_configure() { + DISTUTILS_ARGS=( + -DZMQ_DRAFT_API="$(usex drafts)" + ) +} + +src_test() { + # need to move them around to make EPYTEST_IGNORE work cleanly + # with tests-in-package and extension modules + mv zmq/tests . || die + rm -r zmq || die + distutils-r1_src_test +} + +python_test() { + local EPYTEST_IGNORE=( + # Avoid dependency on mypy + tests/test_mypy.py + ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # not implemented in cffi variant? + tests/test_draft.py::TestDraftSockets + ) + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # avoid large to reduce memory consumption + epytest -p asyncio -p rerunfailures tests -m "not large" +} diff --git a/dev-python/pyzotero/Manifest b/dev-python/pyzotero/Manifest index dca07ac3c047..f1069734c7d1 100644 --- a/dev-python/pyzotero/Manifest +++ b/dev-python/pyzotero/Manifest @@ -1 +1,2 @@ DIST pyzotero-1.5.18.tar.gz 527435 BLAKE2B 27ab1ccf32c260098a684ce4ee05c9acdedec787ec268ebe994d4e9904b9aae73c4a48bb169ec84d727d780c2168e177bcb47209d0f09dc661dd990f1a4075db SHA512 c45e18de0ed479b0ce03cc69ec7a2b060370d6c26e57fa707d2230078e87cdb9eb70f341bac8533a9fa6f4101f29aeca8767befa1e275c0dbd7e778e9c227c21 +DIST pyzotero-1.5.19.tar.gz 527472 BLAKE2B 3cd188812f44d4f3d77fb74c7a2e915969f835a941234b60975d11435d651408cb86462ba684a607698ab634138389999796749217be8b4db1bdd8a9b3dffd8c SHA512 ffb466592f96f2af5775d7b57da3dd314809605c57a1fcbe863003eed1774e9bf89d99e3bc549c61fbaf29a0d520c0eaa767ff0dd9cdaae538a6880018b6347e diff --git a/dev-python/pyzotero/pyzotero-1.5.19.ebuild b/dev-python/pyzotero/pyzotero-1.5.19.ebuild new file mode 100644 index 000000000000..9f5c51eba660 --- /dev/null +++ b/dev-python/pyzotero/pyzotero-1.5.19.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python client for the Zotero API" +HOMEPAGE=" + https://github.com/urschrei/pyzotero/ + https://pypi.org/project/pyzotero/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + app-text/zotero-bin + dev-python/bibtexparser[${PYTHON_USEDEP}] + >=dev-python/feedparser-6.0.11[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/requests-2.21.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/httpretty[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx doc --no-autodoc +distutils_enable_tests pytest diff --git a/dev-python/qiskit-terra/Manifest b/dev-python/qiskit-terra/Manifest index 674fc138295c..f759c5eb2003 100644 --- a/dev-python/qiskit-terra/Manifest +++ b/dev-python/qiskit-terra/Manifest @@ -39,7 +39,6 @@ DIST pyo3-build-config-0.19.2.crate 29206 BLAKE2B 5b1cd80d643e448cf8f1d28a514333 DIST pyo3-ffi-0.19.2.crate 66500 BLAKE2B b4139fba31ef17017b6b60784e41ccda34931a072c2638af1eed8d02d7af701c46fe38b12772d2301cff41d10a433ff0f00a69d79d40233eadafe82abe585f8d SHA512 789191bca537998dd23d72dce4f185b84bbe700f4171c47de35b9bbca15a180ad214392b4f465cc1ecb0be955ebec1cf5a3c497815073be18035bd8bf8c51a32 DIST pyo3-macros-0.19.2.crate 7173 BLAKE2B 8862f42a30929579b0b0bc2ba7f0b416518724480e197fa13288e49324e851f964183e1529b7f31bf5d4fe0ae194a412723b6b401100e66fba98bbcd9c283866 SHA512 852cc2792aa3d30d9ab8802a451be5617cae6536adced1bf0dde71704a3c7c1bfe862fba751b6d045249819a8ba5d87dfc50914d142a0b662f046498c06f8c2e DIST pyo3-macros-backend-0.19.2.crate 49962 BLAKE2B 9d8a032c2205f55d2431b6bbc40df153339e08479df3a8a65506ade7d1f3d17cfaf664cbd09eaec9acff3f5a248598e37427d0c5a531eaf527137803adf49834 SHA512 fd708e6fdbd54ef7c676bedc62070175bac6b8f7ae11231578196dbf552b163a8a2499a1266f786bb6bfb85517fe83610902137d59a5c42efcb1a27c4235a07e -DIST qiskit-0.46.0.gh.tar.gz 10949616 BLAKE2B 35bb88f5d43582145a72945b0633665fb962ab27bde35ec7e290823cef41ae93bb4e0155728186d3eb9dfdb419efe014c127fcef12b69d93d259cba83ed3e57f SHA512 d9d6f485dc47301b045b9e9932d17f23306724cfd6fd32b730fba9f7366297dfd9151b9e80e634a8f641d0bea99c94b9e3e8e2ce9563fd82bd18b6bcf74d49d8 DIST qiskit-0.46.1.gh.tar.gz 10952767 BLAKE2B 96143144de33d967fa91bc0fd21ef291c68ea4155ee0d6498d55597c5c2c00d9a53131c73b2b0c3c74594d631bc780c5d82fda1492ea9e025a96c1b6967031b1 SHA512 4fcca5c4d8e9c464e2164c315c80c4ba1e6f1a2d364dfd58b6354bd6a040f21d0cff31a67a5be27dcd4900ec136628ab679dd6e1e630534245441bd8c0587a07 DIST quote-1.0.32.crate 28037 BLAKE2B 7b243ac7929f3b2e1d91a51a2dc2b11dd29bc017be9db588c83bd137609e2f991a4f3ff8682c7c11c177153e517c4f818285cce3237f435aa43ad0126c4bab6d SHA512 13cae36920dcbd0ad1978be63f20b35b8424d02b4d9992032fa78c7770d61d1fa7ec1532a48793cab48e703236b7bee7843041253b9e83700903228078b4c025 DIST rand-0.8.5.crate 87113 BLAKE2B 516f26bb2a969d0d79e957818133f35d2c0b4d9f1b401098ea23c5b80d27599e842b9298c0c5e46e2a6cb6953857bf8a9fb71ec9366c5ce6708cf17df14f179c SHA512 8b33a8988906ba5e2057a9a84bdd11f867a5536c22f5056eec59ed4ec4e3a6da2fd773da4c0510d343762e5a4ea0f007db4c4a7cef87a47f90e36c1a84d86fb2 diff --git a/dev-python/qiskit-terra/qiskit-terra-0.46.0.ebuild b/dev-python/qiskit-terra/qiskit-terra-0.46.0.ebuild deleted file mode 100644 index 136069e07dbe..000000000000 --- a/dev-python/qiskit-terra/qiskit-terra-0.46.0.ebuild +++ /dev/null @@ -1,188 +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..11} ) - -CRATES=" - ahash@0.8.3 - allocator-api2@0.2.16 - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - crossbeam-deque@0.8.3 - crossbeam-epoch@0.9.15 - crossbeam-utils@0.8.16 - either@1.9.0 - equivalent@1.0.1 - fixedbitset@0.4.2 - getrandom@0.2.10 - hashbrown@0.12.3 - hashbrown@0.14.0 - indexmap@1.9.3 - indexmap@2.0.1 - indoc@1.0.9 - itertools@0.10.5 - libc@0.2.147 - libm@0.2.7 - lock_api@0.4.10 - matrixmultiply@0.3.7 - memoffset@0.9.0 - ndarray@0.15.6 - num-bigint@0.4.4 - num-complex@0.4.4 - num-integer@0.1.45 - num-traits@0.2.16 - numpy@0.19.0 - once_cell@1.18.0 - parking_lot@0.12.1 - parking_lot_core@0.9.8 - petgraph@0.6.3 - ppv-lite86@0.2.17 - priority-queue@1.3.2 - proc-macro2@1.0.66 - pyo3-build-config@0.19.2 - pyo3-ffi@0.19.2 - pyo3-macros-backend@0.19.2 - pyo3-macros@0.19.2 - pyo3@0.19.2 - quote@1.0.32 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - rand_distr@0.4.3 - rand_pcg@0.3.1 - rawpointer@0.2.1 - rayon-cond@0.2.0 - rayon-core@1.12.0 - rayon@1.8.0 - redox_syscall@0.3.5 - rustc-hash@1.1.0 - rustworkx-core@0.13.2 - scopeguard@1.2.0 - smallvec@1.11.1 - syn@1.0.109 - target-lexicon@0.12.11 - unicode-ident@1.0.11 - unindent@0.1.11 - version_check@0.9.4 - wasi@0.11.0+wasi-snapshot-preview1 - windows-targets@0.48.2 - windows_aarch64_gnullvm@0.48.2 - windows_aarch64_msvc@0.48.2 - windows_i686_gnu@0.48.2 - windows_i686_msvc@0.48.2 - windows_x86_64_gnu@0.48.2 - windows_x86_64_gnullvm@0.48.2 - windows_x86_64_msvc@0.48.2 -" - -inherit cargo distutils-r1 multiprocessing optfeature - -MY_P=qiskit-${PV} -DESCRIPTION="Terra is the foundation on which Qiskit is built" -HOMEPAGE=" - https://github.com/Qiskit/qiskit/ - https://pypi.org/project/qiskit-terra/ -" -SRC_URI=" - https://github.com/Qiskit/qiskit/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -S=${WORKDIR}/${MY_P} - -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" -IUSE="+visualization" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/rustworkx-0.13.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.17[${PYTHON_USEDEP}] - >=dev-python/ply-3.10[${PYTHON_USEDEP}] - >=dev-python/psutil-5[${PYTHON_USEDEP}] - >=dev-python/scipy-1.5[${PYTHON_USEDEP}] - >=dev-python/sympy-1.3[${PYTHON_USEDEP}] - >=dev-python/dill-0.3[${PYTHON_USEDEP}] - >=dev-python/python-constraint-1.4[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] - >=dev-python/stevedore-3.0.0[${PYTHON_USEDEP}] - >=dev-python/symengine-0.11.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.10) - visualization? ( - >=dev-python/matplotlib-3.3[${PYTHON_USEDEP}] - >=dev-python/ipywidgets-7.3.0[${PYTHON_USEDEP}] - dev-python/pydot[${PYTHON_USEDEP}] - >=dev-python/pillow-4.2.1[${PYTHON_USEDEP}] - >=dev-python/pylatexenc-1.4[${PYTHON_USEDEP}] - >=dev-python/seaborn-0.9.0[${PYTHON_USEDEP}] - >=dev-python/pygments-2.4[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - >=dev-python/cython-0.27.1[${PYTHON_USEDEP}] - test? ( - app-text/poppler[png] - >=dev-python/ddt-1.4.4[${PYTHON_USEDEP}] - >=dev-python/hypothesis-4.24.3[${PYTHON_USEDEP}] - >=dev-python/networkx-2.2[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - <dev-python/qiskit-aer-0.13[${PYTHON_USEDEP}] - >=dev-python/scikit-learn-0.20.0[${PYTHON_USEDEP}] - ) -" - -# Files built without CFLAGS/LDFLAGS, acceptable for rust -QA_FLAGS_IGNORED=" - usr/lib.*/py.*/site-packages/qiskit/_accelerate.*.so - usr/lib.*/py.*/site-packages/qiskit/_qasm2.*.so -" - -distutils_enable_tests pytest - -src_prepare() { - # strip forcing -Werror from tests that also leaks to other packages - sed -i -e '/filterwarnings.*error/d' qiskit/test/base.py || die - # sigh - find -name 'test_*.py' -exec sed -i -e \ - 's:assertRaises(DeprecationWarning):assertWarns(DeprecationWarning):' \ - {} + || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO - test/python/circuit/test_equivalence.py::TestEquivalenceLibraryVisualization::test_equivalence_draw - test/python/transpiler/test_unitary_synthesis_plugin.py::TestUnitarySynthesisPlugin - test/python/visualization/test_dag_drawer.py::TestDagDrawer::test_dag_drawer_no_register - ) - - local EPYTEST_IGNORE=( - # Breaks xdist - test/python/qasm2/test_parse_errors.py - ) - - rm -rf qiskit || die - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # Run the Python test suite rather than everything under test/ which - # includes the 'randomized' suite. Upstream run that in a separate CI job. - # Note: use -p timeout --timeout 500 if debugging hanging tests. - epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal test/python -} - -pkg_postinst() { - optfeature "qiskit.circuit.classicalfunction support" dev-python/tweedledum -} diff --git a/dev-python/qscintilla-python/Manifest b/dev-python/qscintilla-python/Manifest index 3ff66b83fdc4..96cf9c1d21e4 100644 --- a/dev-python/qscintilla-python/Manifest +++ b/dev-python/qscintilla-python/Manifest @@ -1,2 +1 @@ -DIST QScintilla_src-2.13.3.tar.gz 3060031 BLAKE2B e93dd884f630ef5f02fbf558ea8d9f94cfde1af03b811c8df9c3197ce9cadc430bf9727aec114ba118588effa5bc76166e3bda48800b6112edc8e8c598d72952 SHA512 be102fd6123fad0bc7f8de39080886369398889de48a4ec8873a0751890d7be1f238ae5194b71d31aac492e2881b6bf7885d9c06a2a47e36328780b47694f5b5 DIST QScintilla_src-2.14.1.tar.gz 3233610 BLAKE2B 83b54378f0d3fa39ea120214a06c91982f81281e15c61fc70a9e83928be64724cfd2679b5e4aafee44a324e24a6c4729693cd118c6ad0b1636a199f2f41d34fe SHA512 19e2f9e0a14947501c575018df368d24eb7f8c74e74faa5246db36415bf28dc0beee507ed0e73107c02b36a99bbaf55f0ef3349f479d2332e1b92b2c4a32788a diff --git a/dev-python/qscintilla-python/metadata.xml b/dev-python/qscintilla-python/metadata.xml index fe062101d646..cb669d0602d2 100644 --- a/dev-python/qscintilla-python/metadata.xml +++ b/dev-python/qscintilla-python/metadata.xml @@ -1,14 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="project"> - <email>qt@gentoo.org</email> - <name>Gentoo Qt Project</name> - </maintainer> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> + <!-- maintainer-needed --> <upstream> <maintainer status="active"> <email>phil@riverbankcomputing.com</email> diff --git a/dev-python/qscintilla-python/qscintilla-python-2.13.3.ebuild b/dev-python/qscintilla-python/qscintilla-python-2.13.3.ebuild deleted file mode 100644 index af961b1876ec..000000000000 --- a/dev-python/qscintilla-python/qscintilla-python-2.13.3.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -inherit python-r1 qmake-utils - -DESCRIPTION="Python bindings for QScintilla" -HOMEPAGE="https://www.riverbankcomputing.com/software/qscintilla/ https://pypi.org/project/QScintilla/" - -MY_PN=QScintilla -MY_P=${MY_PN}_src-${PV/_pre/.dev} -if [[ ${PV} == *_pre* ]]; then - SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" -else - SRC_URI="https://www.riverbankcomputing.com/static/Downloads/${MY_PN}/${PV}/${MY_P}.tar.gz" -fi -S=${WORKDIR}/${MY_P}/Python - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" -IUSE="debug" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="${PYTHON_DEPS} - >=dev-python/PyQt5-5.15.5[gui,printsupport,widgets,${PYTHON_USEDEP}] - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtprintsupport:5 - dev-qt/qtwidgets:5 - ~x11-libs/qscintilla-${PV}:= -" -RDEPEND="${DEPEND} - >=dev-python/PyQt5-sip-12.9:=[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/PyQt-builder-1.10[${PYTHON_USEDEP}] - >=dev-python/sip-6.2[${PYTHON_USEDEP}] - dev-qt/qtcore:5 -" - -src_prepare() { - default - mv pyproject{-qt5,}.toml || die -} - -src_configure() { - configuration() { - local myconf=( - sip-build - --verbose - --build-dir="${BUILD_DIR}" - --scripts-dir="$(python_get_scriptdir)" - --qmake="$(qt5_get_bindir)"/qmake - --no-make - $(usev debug '--debug --qml-debug --tracing') - ) - echo "${myconf[@]}" - "${myconf[@]}" || die - - # Run eqmake to respect toolchain and build flags - run_in_build_dir eqmake5 -recursive ${MY_PN}.pro - } - python_foreach_impl configuration -} - -src_compile() { - python_foreach_impl run_in_build_dir default -} - -src_install() { - installation() { - emake INSTALL_ROOT="${D}" install - python_optimize - } - python_foreach_impl run_in_build_dir installation -} diff --git a/dev-python/qscintilla-python/qscintilla-python-2.14.1-r2.ebuild b/dev-python/qscintilla-python/qscintilla-python-2.14.1-r2.ebuild index 23fc7f5155df..83e0ea4da40d 100644 --- a/dev-python/qscintilla-python/qscintilla-python-2.14.1-r2.ebuild +++ b/dev-python/qscintilla-python/qscintilla-python-2.14.1-r2.ebuild @@ -16,7 +16,7 @@ S=${WORKDIR}/${MY_P}/Python LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" IUSE="debug +qt5 qt6" REQUIRED_USE="|| ( qt5 qt6 ) ${PYTHON_REQUIRED_USE}" diff --git a/dev-python/qscintilla-python/qscintilla-python-2.14.1.ebuild b/dev-python/qscintilla-python/qscintilla-python-2.14.1.ebuild deleted file mode 100644 index 2a2e748056e9..000000000000 --- a/dev-python/qscintilla-python/qscintilla-python-2.14.1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -inherit out-of-source-utils python-r1 qmake-utils - -DESCRIPTION="Python bindings for QScintilla" -HOMEPAGE="https://www.riverbankcomputing.com/software/qscintilla/ https://pypi.org/project/QScintilla/" - -MY_PN=QScintilla -MY_P=${MY_PN}_src-${PV/_pre/.dev} -if [[ ${PV} == *_pre* ]]; then - SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" -else - SRC_URI="https://www.riverbankcomputing.com/static/Downloads/${MY_PN}/${PV}/${MY_P}.tar.gz" -fi -S=${WORKDIR}/${MY_P}/Python - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" -IUSE="debug" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="${PYTHON_DEPS} - >=dev-python/PyQt5-5.15.5[gui,printsupport,widgets,${PYTHON_USEDEP}] - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtprintsupport:5 - dev-qt/qtwidgets:5 - ~x11-libs/qscintilla-${PV}:= -" -RDEPEND="${DEPEND} - >=dev-python/PyQt5-sip-12.12:=[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/PyQt-builder-1.15[${PYTHON_USEDEP}] - >=dev-python/sip-6.7[${PYTHON_USEDEP}] - dev-qt/qtcore:5 -" - -src_prepare() { - default - mv pyproject{-qt5,}.toml || die -} - -src_configure() { - configuration() { - local myconf=( - sip-build - --verbose - --build-dir="${BUILD_DIR}" - --scripts-dir="$(python_get_scriptdir)" - --qmake="$(qt5_get_bindir)"/qmake - --no-make - $(usev debug '--debug --qml-debug --tracing') - ) - echo "${myconf[@]}" - "${myconf[@]}" || die - - # Run eqmake to respect toolchain and build flags - run_in_build_dir eqmake5 -recursive ${MY_PN}.pro - } - python_foreach_impl configuration -} - -src_compile() { - python_foreach_impl run_in_build_dir default -} - -src_install() { - installation() { - emake INSTALL_ROOT="${D}" install - python_optimize - } - python_foreach_impl run_in_build_dir installation -} diff --git a/dev-python/qstylizer/Manifest b/dev-python/qstylizer/Manifest index 331c10749b7b..56222e11ee52 100644 --- a/dev-python/qstylizer/Manifest +++ b/dev-python/qstylizer/Manifest @@ -1 +1,2 @@ DIST qstylizer-0.2.2.gh.tar.gz 20752 BLAKE2B c5442821389863bc03bb0659b528322cc12f5be8137f74746e3ec7a18bf89d2822d533d13cc23842daf32a0077ad84d0e7b5dc62f231e75e57388064bd08e5fc SHA512 682f10462965a93b36f0e44b75885b9d60b4d3cd03369976b977c9b928afed4e930b6b7ef26850bdb7b40ef2a31db35a9778738582dae8715f54c1f00a957fb3 +DIST qstylizer-0.2.3.gh.tar.gz 20813 BLAKE2B edb19f9bcadee3229a1d98cc7170ba7bbab266fea74ab42987380dd8aec0ba4d02dda0fb7522f2cfbc52feb5646e44ee1603528d3331315ddcbcc18095a9ca76 SHA512 ba5188f702d4fbd43d963be206c75d55710bfe63accc84aea3bfd03ad06a0cb484d50b538c2d1d6a7ce21055d0b2eefb2cb35a732b929f5477033a8ddea945c0 diff --git a/dev-python/qstylizer/qstylizer-0.2.3.ebuild b/dev-python/qstylizer/qstylizer-0.2.3.ebuild new file mode 100644 index 000000000000..c33b9390d668 --- /dev/null +++ b/dev-python/qstylizer/qstylizer-0.2.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Stylesheet Generator for PyQt5/PySide2" +HOMEPAGE=" + https://github.com/blambright/qstylizer/ + https://pypi.org/project/qstylizer/ +" +SRC_URI=" + https://github.com/blambright/qstylizer/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/tinycss2-0.5[${PYTHON_USEDEP}] + <dev-python/tinycss2-2[${PYTHON_USEDEP}] + >=dev-python/inflection-0.3.0[${PYTHON_USEDEP}] + <dev-python/inflection-1[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc \ + dev-python/sphinx-rtd-theme \ + dev-python/sphinxcontrib-autoprogram + +export PBR_VERSION=${PV} diff --git a/dev-python/qtconsole/Manifest b/dev-python/qtconsole/Manifest index 13a064a241d9..a9ed92db51ad 100644 --- a/dev-python/qtconsole/Manifest +++ b/dev-python/qtconsole/Manifest @@ -2,3 +2,4 @@ DIST qtconsole-5.4.3.tar.gz 437303 BLAKE2B ead6676dabf342a74c30ecba1f280e697c7e5 DIST qtconsole-5.4.4.tar.gz 437213 BLAKE2B 2def481c7ceb29c8ce92dfb96055310a8ee3a664a77c76da0eac672c6fd036326402a47cdaab25d504a855172067ae73e7f94b874545951674395d82f18374b5 SHA512 95d00a7896579eeba75896dd96efe9f07a54a687eca4ec2c4d9c7cf05029570788cd23267682ee4bce9943cf4d6cb36d7bd1d77be66f6bfd0f37e7d15e0d8f0f DIST qtconsole-5.5.0.tar.gz 438967 BLAKE2B f9833f18ecb0ddadd55793d3dc38b9f421add4ac22cd98849f8770b5762df01c9e4e0e6f5c42baf8e3715e87aa0b6ca5a207f5d2d954b1f6b2a5f9e2664f7669 SHA512 8e128ae3988b29398eb4b0cde4f18668c6ad22718c6f8d1c0feec09eb632f5b3c2bdf004932b8e2931eb4553f70c4a6d73104dcb611b09a41a744f0f8036a7eb DIST qtconsole-5.5.1.tar.gz 438961 BLAKE2B 6b65ce4bbba888ca96e5fae7b0067308a0fe188d35ceb309c454eacae784188bffa01ebb5344400c74f46cbffc6518db10ef135e699174187d221e7a76ee9628 SHA512 b9ca316fe7cc305cff33a0e924cb78d5c3bad7d11cbd553a7944a01e726cd59e283f7df4e82fce4da80d52b00b7366d538c567486ba3db4ad08d5b5f48a1e4f1 +DIST qtconsole-5.5.2.tar.gz 439219 BLAKE2B f354d3e6132142a3da52a1cb6b290d0a07b13920bc9f33f7fb29eb307cc5b653beccc5d28e53f7cbe7483147adb6e34ffc584718a79b814c9ce2c37b57a768fc SHA512 f79e51903fe5a1164a90c0905c308d2bce066bef2c61fed2b5bb7e757a9cf56875cdd14665df9284317497cd73bb544ae09e0b23c63b527bbd4bc90b874009f6 diff --git a/dev-python/qtconsole/qtconsole-5.5.2.ebuild b/dev-python/qtconsole/qtconsole-5.5.2.ebuild new file mode 100644 index 000000000000..75b6d7777e66 --- /dev/null +++ b/dev-python/qtconsole/qtconsole-5.5.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi virtualx + +DESCRIPTION="Qt-based console for Jupyter with support for rich media output" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/qtconsole/ + https://pypi.org/project/qtconsole/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" + +RDEPEND=" + >=dev-python/ipykernel-4.1[${PYTHON_USEDEP}] + dev-python/jupyter-core[${PYTHON_USEDEP}] + >=dev-python/jupyter-client-4.1.1[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17.1[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.2.2_p1[${PYTHON_USEDEP}] + >=dev-python/QtPy-2.4.0[${PYTHON_USEDEP},gui,printsupport,svg] +" +BDEPEND=" + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pytest-qt[${PYTHON_USEDEP}] + dev-python/QtPy[${PYTHON_USEDEP},svg,testlib] + ) +" + +PDEPEND=" + dev-python/ipython[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO; expects exact HTML, so perhaps fragile + qtconsole/tests/test_jupyter_widget.py::TestJupyterWidget::test_other_output + ) + local -x QT_API + for QT_API in pyqt5 pyqt6 pyside2 pyside6; do + if has_version "dev-python/QtPy[${QT_API}]"; then + local -x PYTEST_QT_API=${QT_API} + einfo "Testing with ${QT_API}" + nonfatal epytest || + die "Tests failed with ${EPYTHON} / ${QT_API}" + fi + done +} diff --git a/dev-python/quart-trio/quart-trio-0.11.1.ebuild b/dev-python/quart-trio/quart-trio-0.11.1.ebuild index 9549dd2cafac..b6faca070e17 100644 --- a/dev-python/quart-trio/quart-trio-0.11.1.ebuild +++ b/dev-python/quart-trio/quart-trio-0.11.1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/exceptiongroup-1.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/quart/Manifest b/dev-python/quart/Manifest index 0fbb8ac1aff4..277cc969ecb4 100644 --- a/dev-python/quart/Manifest +++ b/dev-python/quart/Manifest @@ -1,2 +1 @@ -DIST quart-0.19.4.gh.tar.gz 493787 BLAKE2B 8a754687cc2e8321ed6b2243cfe519d95e955869a1a12c89a22aa3e304466a4a496531e7ca8e819c0daee88a6b077e7b54dbef02de84abd6f6dbf7b8988e139f SHA512 d6673a43733b8f1caa2180c545cea99eb9670d802b29f123e6c499345bc33cc5f36c9146757e0eea9def811043a9b0e7d59e5e7012ee965b425ec32620cd383a DIST quart-0.19.5.gh.tar.gz 494282 BLAKE2B d908638a00d67798dc71bb84ab51b2b35ee55c1b16ba88781642a1b64b70e0206e33c4e61cb397451969d0edde593ac2639ce8000838750e312b1ef47b8b154a SHA512 a764f50b19c84f7b4cf368488a703c726b2e98785cc7e0c15de0c3293f764658bb6e1489be53bb03ca135ccd847383424fdba8706383a45f406c39fdceb26d71 diff --git a/dev-python/quart/quart-0.19.4.ebuild b/dev-python/quart/quart-0.19.4.ebuild deleted file mode 100644 index 8f88cb4d2002..000000000000 --- a/dev-python/quart/quart-0.19.4.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="A Python ASGI web microframework with the same API as Flask" -HOMEPAGE=" - https://github.com/pallets/quart/ - https://pypi.org/project/Quart/ -" -# no tests in sdist as of 0.19.4 -SRC_URI=" - https://github.com/pallets/quart/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86" - -RDEPEND=" - dev-python/aiofiles[${PYTHON_USEDEP}] - >=dev-python/blinker-1.6[${PYTHON_USEDEP}] - >=dev-python/click-8.0.0[${PYTHON_USEDEP}] - >=dev-python/flask-3.0.0[${PYTHON_USEDEP}] - >=dev-python/hypercorn-0.11.2[${PYTHON_USEDEP}] - dev-python/itsdangerous[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/markupsafe[${PYTHON_USEDEP}] - >=dev-python/werkzeug-3.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/python-dotenv[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -o addopts= -p asyncio -} diff --git a/dev-python/quart/quart-0.19.5.ebuild b/dev-python/quart/quart-0.19.5.ebuild index b761ac8f5a60..5e909045481e 100644 --- a/dev-python/quart/quart-0.19.5.ebuild +++ b/dev-python/quart/quart-0.19.5.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/aiofiles[${PYTHON_USEDEP}] diff --git a/dev-python/rapidfuzz/Manifest b/dev-python/rapidfuzz/Manifest index 9558e9af3312..da80c5258bad 100644 --- a/dev-python/rapidfuzz/Manifest +++ b/dev-python/rapidfuzz/Manifest @@ -1,2 +1,2 @@ -DIST rapidfuzz-3.7.0.tar.gz 1569549 BLAKE2B fca22e86c002eeef7763487168d072941bbaefc7fa9cb9d5ae3d3f49e3a4487d69917da6663436cfc73ca38c67f2fc3a985e82dd64fe430aabc3708efada8513 SHA512 058fee9dc4d6934bf7b0e10eb8cc39303b6b4b67562c3b2244ec9035b1d5c3301aaf1570aa26099a6f3a6c0e7b52c387a01fcd62be28f55ab755377d053eb7f5 DIST rapidfuzz-3.8.1.tar.gz 1592462 BLAKE2B 79062be1bdd2e5aa1c364f2426a8b3cb4fc03e44b7548e475abd60827821414ce4ebcbe90377c0d19eb2c8c741e2e171c73e4672fd8126bf99856ea095e9b85b SHA512 fbebdf804220841257075af51186cde5cf8b0ea71bc4ce208bc64853fd1b1aebf97bfb86d1db058c3fb72a60268e5297fe3691b042d52263c66f8da6ae37f90a +DIST rapidfuzz-3.9.0.tar.gz 1591028 BLAKE2B 84b8e4572a596c291d6579cfdffd0d624e00ca1f93a38337ba6ad543d346fea0b9a636cd3814724073588b3cd2e61dea9b8c0527b1630f8f06ea6593537bbde6 SHA512 bfd0d399dc75c6654d5e66522a057298d3914f8b74955e873034b314926127971f1bf4ddca0c2c92e81ba5bae79caf249303b169805d48ef3d6c64fb706c9547 diff --git a/dev-python/rapidfuzz/rapidfuzz-3.8.1.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.8.1.ebuild index 9bf96f9f14b7..9605ba31909f 100644 --- a/dev-python/rapidfuzz/rapidfuzz-3.8.1.ebuild +++ b/dev-python/rapidfuzz/rapidfuzz-3.8.1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" # all these are header-only libraries DEPEND=" diff --git a/dev-python/rapidfuzz/rapidfuzz-3.7.0.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.9.0.ebuild index 57edbabee975..45785abbea64 100644 --- a/dev-python/rapidfuzz/rapidfuzz-3.7.0.ebuild +++ b/dev-python/rapidfuzz/rapidfuzz-3.9.0.ebuild @@ -8,7 +8,7 @@ DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=standalone PYTHON_COMPAT=( pypy3 python3_{10..12} ) -inherit distutils-r1 multiprocessing pypi +inherit distutils-r1 pypi DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" HOMEPAGE=" @@ -18,12 +18,12 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" # all these are header-only libraries DEPEND=" >=dev-cpp/taskflow-3.0.0 - >=dev-cpp/rapidfuzz-cpp-3.0.2 + >=dev-cpp/rapidfuzz-cpp-3.0.4 dev-python/numpy[${PYTHON_USEDEP}] " BDEPEND=" @@ -33,10 +33,10 @@ BDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] ) " +EPYTEST_XDIST=1 distutils_enable_tests pytest src_prepare() { @@ -62,5 +62,5 @@ python_compile() { python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal + epytest } diff --git a/dev-python/rarfile/Manifest b/dev-python/rarfile/Manifest index 21c648b3aeb9..a583dacc249e 100644 --- a/dev-python/rarfile/Manifest +++ b/dev-python/rarfile/Manifest @@ -1,2 +1 @@ -DIST rarfile-4.1.tar.gz 152826 BLAKE2B a64fbb036b33922ef99c73db3b32f3b08119ebc527d41751c2013ae05fb6d2f82523b818e7fe16983427094ab0baf15e93b356f1b19084fdfbec34cb2737780e SHA512 ca3ac26e02b8d7770c43fe70a06cf42b2183a34846d59c79d3478651e9d7ffc022fe7336be44b8df8fa6f0789bae055c1d057c21d87af78acccc43a927fd02e2 DIST rarfile-4.2.tar.gz 153476 BLAKE2B ddaf85bf0edeb7203a6d1007c118facd53dc5c310ed110f087ec990532f576d601075b4a2455657dc5730ed3668f6494e4fd3132efeb95a821162dbda91caf23 SHA512 fed3943a6d201d4832ee5377069ea400e58394590dd5022cdd7b6f6944c9bf1b6c26387aa0db4c56d5d82f6d10d0cecd2e438e224287cdbdb3314770848c14d8 diff --git a/dev-python/rarfile/rarfile-4.1.ebuild b/dev-python/rarfile/rarfile-4.1.ebuild deleted file mode 100644 index 6a7b0c10755a..000000000000 --- a/dev-python/rarfile/rarfile-4.1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Module for RAR archive reading" -HOMEPAGE=" - https://github.com/markokr/rarfile/ - https://pypi.org/project/rarfile/ -" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" -IUSE="+compressed test" -REQUIRED_USE="test? ( compressed )" - -RDEPEND=" - compressed? ( app-arch/unrar ) -" - -distutils_enable_tests pytest diff --git a/dev-python/rarfile/rarfile-4.2.ebuild b/dev-python/rarfile/rarfile-4.2.ebuild index e2083fd03329..0b0a69392cf7 100644 --- a/dev-python/rarfile/rarfile-4.2.ebuild +++ b/dev-python/rarfile/rarfile-4.2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="ISC" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" IUSE="+compressed test" REQUIRED_USE="test? ( compressed )" diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest index b8f7d7635546..f9f8637baddb 100644 --- a/dev-python/redis/Manifest +++ b/dev-python/redis/Manifest @@ -1 +1 @@ -DIST redis-py-5.0.3.gh.tar.gz 4774007 BLAKE2B f1b53319f76fd15af28941d643a333e7556f4701b46d218872a17200a867ba71c5fe72a092e00ac68ca811f41409a1e2eef05a235d2fcb6ba455cef225cd47c5 SHA512 be7158062e905ff3f61fc2b311b1288e53f494de1734dd5a58a34250754de635b9bf125900621b7b6ad8c67d8020b88ca3ae07af2626459acaf77db5f228222c +DIST redis-py-5.0.4.gh.tar.gz 4774815 BLAKE2B a6f3b678f217a7938d1a2ecbe24058994e33a7985faf0d4b6664aa08d5095c71dc9cd1d98ee327d6ff31589795eed29ece4cdd3ce914a782e60d3ac3f44ab962 SHA512 3c4893e348632d52215096358e5b4a86b3cf5e0153e4d218c46fe77fbb61df116fc98f477f4e8ba94fe7e9bb6f964f478b1187c8b7983a71fc206f14b643965c diff --git a/dev-python/redis/redis-5.0.3.ebuild b/dev-python/redis/redis-5.0.4.ebuild index 023d2a7d8947..023d2a7d8947 100644 --- a/dev-python/redis/redis-5.0.3.ebuild +++ b/dev-python/redis/redis-5.0.4.ebuild diff --git a/dev-python/referencing/Manifest b/dev-python/referencing/Manifest index e17c2a288a46..83f10e56be7d 100644 --- a/dev-python/referencing/Manifest +++ b/dev-python/referencing/Manifest @@ -1 +1,3 @@ DIST referencing-0.34.0.tar.gz 62624 BLAKE2B c5e8a5d19121f2d09ea443248690e2fa9069140b027b6fa2f741d5133c931da12ae87d8ac7923bfc52ca3d93c966399cf48c1f31d6f4066b6a44488ec50b5d24 SHA512 97e4cfe0fb306068abfd6c0348d12483cbd3705c0b4c8852c0f0209c4d05be08bf77fa3ec56af77a2815a4ff3294ff06d3f09f213a165ae17bdcab246e47c178 +DIST referencing-0.35.0.tar.gz 62860 BLAKE2B 314f98e3c15d384a704def8c1cd62aea9ccfbfb0abce09d27b44062e68e284774314b79c3e9f6b3691f8e8e75e231f9bb0a7bb3c140c05d41f809515f8b4edd0 SHA512 c637a3767a7d03445adb14bcb4c1e9c9a069779d31c5043f300e34398c9c728dfe09cdf9601516a96280d6c095740114e3bd4a6b5103f8a1938b1be6b9cb9cb3 +DIST referencing-0.35.1.tar.gz 62991 BLAKE2B b434d3b24bb01c7ea2b97300408571483ecfaa49b52867374a8734b4dafd06404c8b993757620329668fa01eb791c2a6f938aa4be20ff841fe691a4b47dcf6b3 SHA512 b737afb45bfb1adb91f457b78ab4a31a6f33839ef61095663fd66d91c09fc379d900f778bacaa36722770ce80eccd6a227a074cb44836e69205bed06165d033d diff --git a/dev-python/referencing/referencing-0.35.0.ebuild b/dev-python/referencing/referencing-0.35.0.ebuild new file mode 100644 index 000000000000..9bb63870e54d --- /dev/null +++ b/dev-python/referencing/referencing-0.35.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Cross-specification JSON referencing (JSON Schema, OpenAPI...)" +HOMEPAGE=" + https://github.com/python-jsonschema/referencing/ + https://pypi.org/project/referencing/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/rpds-py-0.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-subtests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/referencing/referencing-0.35.1.ebuild b/dev-python/referencing/referencing-0.35.1.ebuild new file mode 100644 index 000000000000..ee766222135a --- /dev/null +++ b/dev-python/referencing/referencing-0.35.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Cross-specification JSON referencing (JSON Schema, OpenAPI...)" +HOMEPAGE=" + https://github.com/python-jsonschema/referencing/ + https://pypi.org/project/referencing/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/rpds-py-0.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-subtests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest index 903e954d2d78..9b9c7ede63b1 100644 --- a/dev-python/regex/Manifest +++ b/dev-python/regex/Manifest @@ -1 +1,5 @@ DIST regex-2023.12.25.tar.gz 394706 BLAKE2B 742abe3a3515b527465d81df8fd9404aaa6aa1545e3e6a8c4a87d72d41138caf7f63bceae8bf06b3576656a6b5577bfec51629a60fe837ad2f3a4cd60a08ac06 SHA512 ecc5916633e2acb8d8a0c5ccfdc1c612f673546c42271d5627aa92a163fa6c8fd5a30ed734a02c23fa64807aaf2f883fa51175b7f482888631f699e77d1c0e15 +DIST regex-2024.4.16.tar.gz 394724 BLAKE2B 75df2f861116ebf37845abdb0883774ac53d7d61e4cdf18128c74b4c1d5a55b86bfd447616cdb8fc14239c0a5aeaa2c7e59cb0b2b365b57185d785a3728e6dce SHA512 15da80751f1a4b000e4ea59887963aec939fc6431a672391a7f882e05ff15934b89e191d19fd388b9dd6032d2ea44f8511c0ce238e5f1d8db102a89d1866f456 +DIST regex-2024.4.28.tar.gz 394810 BLAKE2B 6fa882219feb783c7340015769655e05257ddd17a6e34f830a60f319afca5face64de72511b0bef0820ace4f379ff5ad557bbdfef414cc0371136a79949a7e13 SHA512 3a05ea8f197d6924f6fd3db2609c1ca13f452f1bc598f8d6ec2ee45a0e5966655e93f039cc76e1cdc714856fa5d21e64aae8d83063ebafdd85e44c82e65f8c50 +DIST regex-2024.5.10.tar.gz 394828 BLAKE2B a16a9b2bcfbec0df059342aee3faa6d71342f8cca78d8db2176be89ee9ababfa03875177f860791701eee2b1b6f3f00ad5e0a7ee74fc78d3c19279893098b69f SHA512 349c2961d96d39cdb76d2f05c7238f0d7e8726445b945001673ad989e2d72e045aeac0f4e661b510cf177bc3634e4573edef211b3b825840acb328be7cf0c9df +DIST regex-2024.5.15.tar.gz 394856 BLAKE2B 8990bbc78f7f9c6a4dc07d913ec5557a4cd1bac022bc71093e3d8083b5d547182e08f2e8189c3808d8e368ed42530578df9951367b59dc3450bb09458b57f496 SHA512 7e465987bff529a6895cd6606b5a188c0fb2cdf333de108a4e3e37c7badeea146fd23d1d757f47b65d4facdc30cbdb0ca3c0df2395124c8e3e6946a98f52f413 diff --git a/dev-python/regex/regex-2024.4.16.ebuild b/dev-python/regex/regex-2024.4.16.ebuild new file mode 100644 index 000000000000..13181b517dbc --- /dev/null +++ b/dev-python/regex/regex-2024.4.16.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +# pypy isn't supported upstream because of its UTF8 representation for strings +# See https://github.com/mrabarnett/mrab-regex/issues/521#issuecomment-1936260187. +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Alternative regular expression module to replace re" +HOMEPAGE=" + https://github.com/mrabarnett/mrab-regex/ + https://pypi.org/project/regex/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" +IUSE="doc" + +PATCHES=( + "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_empty_array.patch" + "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_issue_18468.patch" +) + +distutils_enable_tests unittest + +python_install_all() { + use doc && local HTML_DOCS=( docs/Features.html ) + local DOCS=( README.rst docs/*.rst ) + + distutils-r1_python_install_all +} diff --git a/dev-python/regex/regex-2024.4.28.ebuild b/dev-python/regex/regex-2024.4.28.ebuild new file mode 100644 index 000000000000..4cabe9493565 --- /dev/null +++ b/dev-python/regex/regex-2024.4.28.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +# pypy isn't supported upstream because of its UTF8 representation for strings +# See https://github.com/mrabarnett/mrab-regex/issues/521#issuecomment-1936260187. +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Alternative regular expression module to replace re" +HOMEPAGE=" + https://github.com/mrabarnett/mrab-regex/ + https://pypi.org/project/regex/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" +IUSE="doc" + +PATCHES=( + "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_empty_array.patch" + "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_issue_18468.patch" +) + +distutils_enable_tests unittest + +python_install_all() { + use doc && local HTML_DOCS=( docs/Features.html ) + local DOCS=( README.rst docs/*.rst ) + + distutils-r1_python_install_all +} diff --git a/dev-python/regex/regex-2024.5.10.ebuild b/dev-python/regex/regex-2024.5.10.ebuild new file mode 100644 index 000000000000..850003b0471d --- /dev/null +++ b/dev-python/regex/regex-2024.5.10.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +# pypy isn't supported upstream because of its UTF8 representation for strings +# See https://github.com/mrabarnett/mrab-regex/issues/521#issuecomment-1936260187. +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Alternative regular expression module to replace re" +HOMEPAGE=" + https://github.com/mrabarnett/mrab-regex/ + https://pypi.org/project/regex/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +IUSE="doc" + +PATCHES=( + "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_empty_array.patch" + "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_issue_18468.patch" +) + +distutils_enable_tests unittest + +python_install_all() { + use doc && local HTML_DOCS=( docs/Features.html ) + local DOCS=( README.rst docs/*.rst ) + + distutils-r1_python_install_all +} diff --git a/dev-python/regex/regex-2024.5.15.ebuild b/dev-python/regex/regex-2024.5.15.ebuild new file mode 100644 index 000000000000..850003b0471d --- /dev/null +++ b/dev-python/regex/regex-2024.5.15.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +# pypy isn't supported upstream because of its UTF8 representation for strings +# See https://github.com/mrabarnett/mrab-regex/issues/521#issuecomment-1936260187. +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Alternative regular expression module to replace re" +HOMEPAGE=" + https://github.com/mrabarnett/mrab-regex/ + https://pypi.org/project/regex/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +IUSE="doc" + +PATCHES=( + "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_empty_array.patch" + "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_issue_18468.patch" +) + +distutils_enable_tests unittest + +python_install_all() { + use doc && local HTML_DOCS=( docs/Features.html ) + local DOCS=( README.rst docs/*.rst ) + + distutils-r1_python_install_all +} diff --git a/dev-python/reportlab/Manifest b/dev-python/reportlab/Manifest index 223ae5f0a6b0..d03e07e177c6 100644 --- a/dev-python/reportlab/Manifest +++ b/dev-python/reportlab/Manifest @@ -1,2 +1,2 @@ DIST pfbfer-20070710.zip 677333 BLAKE2B 100214476a361a5e5d1f3da0999591345f6e3a3f8c6bc3f6a3e9eca734190c6259758a43302c6e41254d33491fe535eb7d5dd07aa9727c912424bebc31fc18df SHA512 6fd4a5d955464b10d13a7b748703450c1fe120d5ed09e8cfa1b4dfa9c183c59fe001df29433af551796b0df62544b7ddc364f9bb1bdcc2cd300434340ffcc4f2 -DIST reportlab-4.1.0.tar.gz 3146958 BLAKE2B fef5ed94514685e352d3aa2a76dac7d7f20699999f073e03839d18bce5f884c3d44c6ef635e7d77b2d32707c200f3f067ebea90312642db22488597c434e2eec SHA512 998f49cdbbea0e91bc0c61f877936b0eb62130723f565548aa5ab7a01adc59d688fcf7ce69783142fb4bbec4a97d91b8b1b2495701c6eba25b1e9878d15f6625 +DIST reportlab-4.2.0.tar.gz 3688649 BLAKE2B 83a35524fa82260ed6b4b6999d5b7903f54e0bdd7e008f3ed53200da8a43807c3d34920f9c7211c4277a560699e894fb12074a530c85adfba0538adaa5812294 SHA512 5dbab548dfa4b0eebb19c0702975b540244693ca30faf7a7bf88e7e596d2a9acd4047f0dddc5433da4da385282ab74f17b66a09394eefe07797c3d193ed38cb5 diff --git a/dev-python/reportlab/reportlab-4.1.0.ebuild b/dev-python/reportlab/reportlab-4.2.0.ebuild index eef8efaee265..eef8efaee265 100644 --- a/dev-python/reportlab/reportlab-4.1.0.ebuild +++ b/dev-python/reportlab/reportlab-4.2.0.ebuild diff --git a/dev-python/requests/requests-2.31.0.ebuild b/dev-python/requests/requests-2.31.0.ebuild index 84aead8c6d19..957677723e0d 100644 --- a/dev-python/requests/requests-2.31.0.ebuild +++ b/dev-python/requests/requests-2.31.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # please keep this ebuild at EAPI 8 -- sys-apps/portage dep EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 pypi @@ -64,12 +64,17 @@ python_test() { tests/test_requests.py::TestRequests::test_cookie_removed_on_expire tests/test_requests.py::TestPreparingURLs::test_redirecting_to_bad_url ) - if [[ ${EPYTHON} == python3.12 ]]; then - EPYTEST_DESELECT+=( - # different repr() - requests/utils.py::requests.utils.from_key_val_list - ) - fi + + case ${EPYTHON} in + python3.13) + ;& + python3.12) + EPYTEST_DESELECT+=( + # different repr() + requests/utils.py::requests.utils.from_key_val_list + ) + ;; + esac if ! has_version "dev-python/trustme[${PYTHON_USEDEP}]"; then EPYTEST_DESELECT+=( diff --git a/dev-python/requests_download/Manifest b/dev-python/requests_download/Manifest index 8951ccff9fd3..85b3c7a8855d 100644 --- a/dev-python/requests_download/Manifest +++ b/dev-python/requests_download/Manifest @@ -1 +1 @@ -DIST requests_download-0.1.2.tar.gz 2584 BLAKE2B c6f2eb7a182e0f42ccb7b603dec47a077b1b946bfa93968972dce5267c7c51fa8c4158e15cd35621cbe229e12f6644db9734e52439796d8d8411be16a38e1e9a SHA512 99d4b275200c88befd2730d17a3329c8cbb155fa5cf9600a7466e8ab109f999a9fc9b8c668aa3b389bc2a3deb33b8a3fd390270d71f04bb0a8f998da67cfde82 +DIST requests_download-0.1.2.gh.tar.gz 2584 BLAKE2B c6f2eb7a182e0f42ccb7b603dec47a077b1b946bfa93968972dce5267c7c51fa8c4158e15cd35621cbe229e12f6644db9734e52439796d8d8411be16a38e1e9a SHA512 99d4b275200c88befd2730d17a3329c8cbb155fa5cf9600a7466e8ab109f999a9fc9b8c668aa3b389bc2a3deb33b8a3fd390270d71f04bb0a8f998da67cfde82 diff --git a/dev-python/requests_download/requests_download-0.1.2-r1.ebuild b/dev-python/requests_download/requests_download-0.1.2-r1.ebuild deleted file mode 100644 index ae003f7242d0..000000000000 --- a/dev-python/requests_download/requests_download-0.1.2-r1.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{9..11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A convenient function to download to a file using requests" -HOMEPAGE="https://github.com/takluyver/requests_download https://pypi.org/project/requests_download/" -SRC_URI="https://github.com/takluyver/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~mips ~x86" - -RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND}" - -# there are no tests upstream -RESTRICT="test" - -DOCS=( README.rst ) diff --git a/dev-python/requests_download/requests_download-0.1.2-r2.ebuild b/dev-python/requests_download/requests_download-0.1.2-r2.ebuild new file mode 100644 index 000000000000..92aaeeecb585 --- /dev/null +++ b/dev-python/requests_download/requests_download-0.1.2-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A convenient function to download to a file using requests" +HOMEPAGE=" + https://github.com/takluyver/requests_download + https://pypi.org/project/requests_download/ +" +SRC_URI=" + https://github.com/takluyver/requests_download/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~mips ~x86" + +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} +" + +# there are no tests upstream +RESTRICT="test" + +DOCS=( README.rst ) diff --git a/dev-python/rfc3339-validator/Manifest b/dev-python/rfc3339-validator/Manifest index 85b1d8b20c0b..b68cc6937a55 100644 --- a/dev-python/rfc3339-validator/Manifest +++ b/dev-python/rfc3339-validator/Manifest @@ -1 +1 @@ -DIST rfc3339-validator-0.1.4.tar.gz 7451 BLAKE2B f8216b2eb08cc7cd755a2a57dc6fa93da9aa664cc49f7e34c551d07eb61e57dc865de4a3e86ed2dfbf5a38ff99c149868762a3807e916c884b12fba7e98c3ced SHA512 ed593b31c4984cdbc313e42dc0432173eaa649712e29627ab462dfa262efb30cee97b74f589d3d211c2193623fac3baca560a52a7a3f718071a63482e06c4203 +DIST rfc3339-validator-0.1.4.gh.tar.gz 7451 BLAKE2B f8216b2eb08cc7cd755a2a57dc6fa93da9aa664cc49f7e34c551d07eb61e57dc865de4a3e86ed2dfbf5a38ff99c149868762a3807e916c884b12fba7e98c3ced SHA512 ed593b31c4984cdbc313e42dc0432173eaa649712e29627ab462dfa262efb30cee97b74f589d3d211c2193623fac3baca560a52a7a3f718071a63482e06c4203 diff --git a/dev-python/rfc3339-validator/rfc3339-validator-0.1.4-r1.ebuild b/dev-python/rfc3339-validator/rfc3339-validator-0.1.4-r1.ebuild index c61a88c3cf9b..48888809050d 100644 --- a/dev-python/rfc3339-validator/rfc3339-validator-0.1.4-r1.ebuild +++ b/dev-python/rfc3339-validator/rfc3339-validator-0.1.4-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 @@ -15,7 +15,7 @@ HOMEPAGE=" " SRC_URI=" https://github.com/naimetti/rfc3339-validator/archive/v${PV}.tar.gz - -> ${P}.tar.gz + -> ${P}.gh.tar.gz " LICENSE="MIT" diff --git a/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r1.ebuild b/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r2.ebuild index cced400b50cc..4754716592c5 100644 --- a/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r1.ebuild +++ b/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -18,12 +18,11 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" -RDEPEND=" - dev-python/rfc3987[${PYTHON_USEDEP}] -" +# not a typo, it actually test-depends on rfc3987, and not rfc3986 BDEPEND=" test? ( dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/rfc3987[${PYTHON_USEDEP}] ) " diff --git a/dev-python/rfc3986/rfc3986-2.0.0-r1.ebuild b/dev-python/rfc3986/rfc3986-2.0.0-r1.ebuild index 4230540ef8ca..e3ce27166593 100644 --- a/dev-python/rfc3986/rfc3986-2.0.0-r1.ebuild +++ b/dev-python/rfc3986/rfc3986-2.0.0-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -13,7 +13,7 @@ HOMEPAGE=" https://rfc3986.rtfd.org/ https://github.com/python-hyper/rfc3986/ https://pypi.org/project/rfc3986/ - https://tools.ietf.org/html/rfc3986/ + https://datatracker.ietf.org/doc/html/rfc3986/ " LICENSE="Apache-2.0" diff --git a/dev-python/rfc3987/rfc3987-1.3.8-r3.ebuild b/dev-python/rfc3987/rfc3987-1.3.8-r3.ebuild index e8a27e88d645..447fbd85a6d2 100644 --- a/dev-python/rfc3987/rfc3987-1.3.8-r3.ebuild +++ b/dev-python/rfc3987/rfc3987-1.3.8-r3.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/rich/rich-13.7.1.ebuild b/dev-python/rich/rich-13.7.1.ebuild index de4ea8ee4fa4..aff3b8ccfcf3 100644 --- a/dev-python/rich/rich-13.7.1.ebuild +++ b/dev-python/rich/rich-13.7.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 optfeature @@ -27,6 +27,11 @@ RDEPEND=" >=dev-python/markdown-it-py-2.2.0[${PYTHON_USEDEP}] >=dev-python/pygments-2.13.0[${PYTHON_USEDEP}] " +BDEPEND=" + test? ( + >=dev-python/attrs-21.4.0[${PYTHON_USEDEP}] + ) +" distutils_enable_tests pytest @@ -45,6 +50,18 @@ python_test() { tests/test_inspect.py::test_inspect_integer_with_methods_python310only ) ;; + python3.13) + EPYTEST_DESELECT+=( + tests/test_inspect.py::test_inspect_builtin_function_except_python311 + tests/test_inspect.py::test_inspect_integer_with_methods_python38_and_python39 + tests/test_inspect.py::test_inspect_integer_with_methods_python310only + tests/test_inspect.py::test_inspect_integer_with_methods_python311 + tests/test_pretty.py::test_pretty_dataclass + tests/test_pretty.py::test_reference_cycle_dataclass + tests/test_pretty.py::test_max_depth_dataclass + tests/test_pretty.py::test_attrs_broken + ) + ;; esac local -x COLUMNS=80 diff --git a/dev-python/roman/Manifest b/dev-python/roman/Manifest index 503fc37d5503..18dcda558ee7 100644 --- a/dev-python/roman/Manifest +++ b/dev-python/roman/Manifest @@ -1 +1 @@ -DIST roman-4.1.tar.gz 7005 BLAKE2B de3e7dc4e05994f906b357d8db2f1149f3bf9f420552220cf1cf9427a8ae63ed3ba873b28b75dcbc1f675a370354efa5cae3ac9fb070f9b02126a2867bcefb07 SHA512 69214f35098e17bd106411036feec8a4e5c8450e394c74d60a8e3cc17c6884556347a1d2852fa174db4f66d969e71b26c066439afd6d278786d1a47bf925f302 +DIST roman-4.2.tar.gz 7339 BLAKE2B 1315925ffc4324e21582030fa6d963ed50f9fe917056fdf8dba62d90812874dd40d8899ae47274fc584bb56877c5517f507ff8741266e95a89912aead3a23a15 SHA512 4b1ddd54078e5ab38a11cad29fe4ea1f8e4740d7a9d1b093bec7d08ba37ca2bbbf89b2c420987b74270b01a8af5c03bfbfe8cfb5a4dfeb8923894cb52f083e82 diff --git a/dev-python/roman/roman-4.1.ebuild b/dev-python/roman/roman-4.2.ebuild index a5f95f0aaefa..f65a05fdc458 100644 --- a/dev-python/roman/roman-4.1.ebuild +++ b/dev-python/roman/roman-4.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/rpds-py/Manifest b/dev-python/rpds-py/Manifest index d2de8f8ee615..7558e728f351 100644 --- a/dev-python/rpds-py/Manifest +++ b/dev-python/rpds-py/Manifest @@ -1,5 +1,6 @@ DIST archery-1.0.0.crate 21187 BLAKE2B 5dd323734a238ccc84c186d19fbc1557d8845a7e3b64b53eb952f17e3d44078931e9e2a96fe15373721ee5df4426844a4309172a9ada7a51b4ed71fad1deee55 SHA512 4f955fec7df473279925f195fbb48159ef1e23f9722c416347c84eee22ba9d2a2ecc466a879f43f1f8aed53778467f6d203ca43bfca9dd24f3f7a4cb0cc0eb89 DIST archery-1.1.0.crate 22240 BLAKE2B bae7ff007419d6aaa738f541610a65f1c2c832a0ef571207b3f55fb6d36adfb64355f0bcdc8c06823166bbdf531d3c52eef042ef720aa2dc51e9e5fa3dc69c7b SHA512 0a5180563fd2cf50e26d470e32f07dc523a94218cfe7d519ea5f79d4fef07d91f2e108b10a786e9f7af0e9c98e4178bf3812d795ddaaa9ffbeb8d9f2b34f7aaa +DIST archery-1.2.0.crate 22842 BLAKE2B 018539188a76836c35834d948f64e51888083021a90bfd56229e3cf9cba2f12db289a248d2602a71431a04a09c4a9194d11530ec769fa85eaeff239388d00a44 SHA512 82c51b29984ebf611597ef530af2b04aa4046f7e532276612f7ad8485d79cea675f70a7ca60ce65f87114abb72ad6984b2c48c2f257957ba53a05a61537531ea DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203 SHA512 df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff @@ -12,17 +13,23 @@ DIST memoffset-0.9.0.crate 9033 BLAKE2B 19090c1af8b8cf54a2cf7593748aff4d3dc685ec DIST once_cell-1.18.0.crate 32969 BLAKE2B a08d5beee50a7add28bd9e50b18709e7b34574f0f55f80909d5efb7ac5917e5f30bdcf3fb43ddd0a4f420a427390c7ffe1cc1c7191a3a1d939bc6e3139e6eef7 SHA512 9328968afdf3535b2d9e0113d75afa725259d76994ef2e1948ad7efa4ec8a65bac7cfdc31b749d5cd55ad4e28d2e28ac57b871e3067b89182453c7e2413a13b8 DIST parking_lot-0.12.1.crate 40967 BLAKE2B 940a112a066e3cbd15e2f6df89bfff37e4ece2194118618a96fa14871813c91798f93181ab0f768d3e1f3d60805508f216724013afb7e3da95678d0d951a42d4 SHA512 07327d3b737a913508dffb66023766348ce7f9d555c224a099cabb05baefd16a28e15fec638e3a148a5169dbd980c4541b0f8820ae9d06dfe0704482838fbd5c DIST parking_lot_core-0.9.8.crate 32383 BLAKE2B 2f9666872894d1c85895437d1353f9e15be2bc8d004ffc8f0e5be95e9dd4b274797db3752eba1c0b5b6071c1b8a71e4857cae0b2aff1afdaa39e92e70be2e6fd SHA512 8d6dfdf661b0f7d0774cb9f61121f2daefd182ac8a2a0d24eab451febfbe1a664c815c163d34a7f3d15a54915a8e22e6c6cd10e89cb7d7598d48d81ad6a3c256 +DIST portable-atomic-1.6.0.crate 140689 BLAKE2B c91d06e04a87c9a207233d8a850859aa1f5cc43dda8aed34511c3fe9641c27412796539ed045a58e649d2a0c7d71100b6b2d78a0c662fc061fd961a652ae8722 SHA512 b27cf57655a2f1e2d6ea7b45d80b4f9920a836e462f132c50dc1e4d314e162444309de1baecf45dad2defc7a5b99759165e54da9fe759b24092f8cb8755c515c DIST proc-macro2-1.0.66.crate 43575 BLAKE2B 9eb3e816b00fcf625c280ba14ad269f5893d0523473a24de07c21945f6f932fbd08efb3c339b35d903245510e3f065e1478439b024a325f2bb9f97bc7bcbb18d SHA512 85f5a762f9411142e5ac28144bd380f07f0633ed2e44d8a2545be9fb8f42abaca6b5d45631b4be83b8e8b9beca7438bc52f25615c3a410a3a1249474b1aca407 DIST pyo3-0.19.2.crate 418228 BLAKE2B ee018b33383fada78cd22643aea9231a8c8a2f19d1eb297f40eec9206c5220f322fff4c926d939a93a24ac6d231a207ebb25afcc0709191151c7ed9af7465efa SHA512 58698183e0f2f0507f8f765bf3e90185c933e78d62f0a9be65c4b1ce8eea19a98fe0341abe7c58cafdacb63a012ec417876dccb7be6facc1360fcb22796fcaf9 DIST pyo3-0.20.2.crate 434326 BLAKE2B 3114fd6f3fb8ae7d1b35c9d2ac5ba6a49c5ac911ee3a5b941c5063263ca7cce47fa4b4f7ec34cbfe3083f3d1303fd7f061639fba833a04fedb9d5098f5784028 SHA512 cc5151a116179157046ec92677e5a72318b4cdb13a7d7e3bb83778739b5758040e5020f667dd83554a66b758581a08f5de05eb38e7b339813cec85e0712e6355 +DIST pyo3-0.20.3.crate 434673 BLAKE2B 1dcb881fd1fe5c76e9b4951f4d95fcd1daa1845c226a4ab1db4283cabe67bda822ff03e3cc85d797fe4665a1614229e7406dea65ec5e99ce4aac96b973a7f55d SHA512 77cce558fa60bbd8d9981ff5e62fdfa9bac94bd650b287fbf14ac93ef1c326c8ae7fda82d744e3582df03cab8adf490e0f2752fabd9ae3de044e7d80984e0350 DIST pyo3-build-config-0.19.2.crate 29206 BLAKE2B 5b1cd80d643e448cf8f1d28a514333526061c178121b9a0dcb5bff6082f402ecfd166536d94d42065f6dc1f108a73f12bbb78eedf9ea053a6aa2e9c80ac00ddf SHA512 ccc73061ec1989258921c5b5800689170635fa5503d74a4ac458baef903dd31efa41995d238783f1e099ece1f66d0a0e95c4fcb4b772b9f653dbb20e838b4e28 DIST pyo3-build-config-0.20.2.crate 30029 BLAKE2B 846eb95d1417a658763417a2750dca1c55201105a3978d61b1db5e3962680ede188f8285dd7deec778ea9860d43e40513b88f5a54f0b1881b08416760bdbbedf SHA512 9dbc669ec69d38716c3909fa8f3b6c5be13c717b20bfd5dd11edab59b8eb35247d7996acd260fec88f92eb3e71248c86e9b40c1a700827889e2990bba20ecddf +DIST pyo3-build-config-0.20.3.crate 30060 BLAKE2B ef122b0b7d840d5362928bac76e1299b333775ec5c49a3bf23a19eccec074917931356bbf719c6d700999941bb6a396948ee7f8761e685c8e9251af07ba0cadc SHA512 70685415bba443787dabb9c61ca3702aefbcacb0705471b496b4f01efe34291735321d91243355b4be9aed8b243e393c09fb65556f1b926ac7f22f64560bd927 DIST pyo3-ffi-0.19.2.crate 66500 BLAKE2B b4139fba31ef17017b6b60784e41ccda34931a072c2638af1eed8d02d7af701c46fe38b12772d2301cff41d10a433ff0f00a69d79d40233eadafe82abe585f8d SHA512 789191bca537998dd23d72dce4f185b84bbe700f4171c47de35b9bbca15a180ad214392b4f465cc1ecb0be955ebec1cf5a3c497815073be18035bd8bf8c51a32 DIST pyo3-ffi-0.20.2.crate 64601 BLAKE2B cf1141ad34a13dcb46de0d1e15dda192ca41a7441bfc92a9295861876dcc690d1d5d6d39dafa51cd70c4627353efa91563eaefee8c39f655d12818003f9524da SHA512 ee6386b6fdb80689d104f9cd5229f02e1893d00a52be710bd36882c47305abbe24ef2f3cdef8200fddc0bb97e29001fa3a2fd9d3d2673ecd9a104a070420d01e +DIST pyo3-ffi-0.20.3.crate 65024 BLAKE2B 33e79a02c7ab85f4767e02a39d8553ddc015c80d13bea674885ad8a18d89bd90f866cc39d81ecbf56270ebe87d29bca48f635c4e73ec99df02ce425f1427cb31 SHA512 3d1ced58e243be7cee4a3ca831dc08a1631fcd511c707dd3bada87d7662807dea2d88393d76e56ff19a6d1c2804d93b5b6b7b5efd36b9c275d66fa1bb1bfc384 DIST pyo3-macros-0.19.2.crate 7173 BLAKE2B 8862f42a30929579b0b0bc2ba7f0b416518724480e197fa13288e49324e851f964183e1529b7f31bf5d4fe0ae194a412723b6b401100e66fba98bbcd9c283866 SHA512 852cc2792aa3d30d9ab8802a451be5617cae6536adced1bf0dde71704a3c7c1bfe862fba751b6d045249819a8ba5d87dfc50914d142a0b662f046498c06f8c2e DIST pyo3-macros-0.20.2.crate 7925 BLAKE2B 00fc60becfa39bf452786d8a612247785f1737cc3e627700d0d144ab2efaadfb34ce8a8f46e932382a1ea99caebfe1946fbc517b5c26fadb0822ecaa8b2e9df0 SHA512 dd9ea9acda95dfc53689a4c26d8c2139f8a90a05ab06737037f19b8bccd5e52b0da5f297a29194b958f5f8b59cbb566b5f409b3f17a863eddf855ecb755d2719 +DIST pyo3-macros-0.20.3.crate 7920 BLAKE2B 0510accf51cd83390cbb7b6ba4ec9f4610e3dbb7448d1213994013487ae81bb087df1ba0076a3862e5ecfd172b7846f9439a2d86950a93b016aae565ced4f03b SHA512 454f3c0c054aa131ffe955e4be1af061005b9c81b4d80702827e19b983224c118dfea474da515d5fc2c79cfd3fa21204ed4af2d9e81427123e0a78bd246a23f8 DIST pyo3-macros-backend-0.19.2.crate 49962 BLAKE2B 9d8a032c2205f55d2431b6bbc40df153339e08479df3a8a65506ade7d1f3d17cfaf664cbd09eaec9acff3f5a248598e37427d0c5a531eaf527137803adf49834 SHA512 fd708e6fdbd54ef7c676bedc62070175bac6b8f7ae11231578196dbf552b163a8a2499a1266f786bb6bfb85517fe83610902137d59a5c42efcb1a27c4235a07e DIST pyo3-macros-backend-0.20.2.crate 49710 BLAKE2B 711b18984e61219555df4b62667f7f376951c6cb47e6dd947fc24618b923c4f4f790eb1aba1901abea4761632cdb58cfa81cce91f33586da3022e6c7d126bc9f SHA512 c6ca2a2cdae8630fba3f8e4122e81b60ef2ef0905ad2a3fbcfae134456d5ca9e73690b61590e391f3b9d82c24725809f18544c5dfa0b36ffdb1914844fe65d3a +DIST pyo3-macros-backend-0.20.3.crate 49797 BLAKE2B 59c55d482577ce105db3e19a1db794eaab8221d7de01197716b75d5d2602e0f27c86aaae527eae7098eafad311144550bd597efe8cd6560c82dc435021f3428f SHA512 e177ee0d6a538a555fbe9108e3e2c20102622b2c9b9696ae309189e5c4d068efad2132afd4a97d734ebabb4d7146980a26cb68dc05d5eb88f338be2ad0cd651f DIST quote-1.0.31.crate 27881 BLAKE2B 47c8ac1051f7fa03d002420ade3cb18bf2aedc6ba922d13b117c016ee89c3326bea5cad32ec2f0e5ac1afcce68982f20b3f973914c205e6d6f426487989c6ec4 SHA512 8b2ec131937ce53f3fa01e68fb9261ed6442222e513cbe86f62b6da3cf3051cda0d134dc8028bc6c992fa63735ef3507490a169f8b4af1d6fc17058c6d2faaab DIST redox_syscall-0.3.5.crate 23404 BLAKE2B 85aa4299d9816666bf576f523da5cdeae87b3c8fbb2af103e82258d23f73303c068a4b6c3ef4117ad67958cb31e41f836a9f59f2ce1bc52c23605e34399afcf1 SHA512 16f8f4766932bb54e4740cfdb4f0802f76246c0bf88c1d76c69c115949b124b625d8c3b85d8947073c2e9544f425aa16c10f71fabe3c03d29e424c47fe4ccdde DIST rpds-1.0.1.crate 69049 BLAKE2B 2235344d274d4fef171b430e7500a075d383f2409f22908217a6caf6b6924891893835c3427a01a351d5bfbdda661542446a5db1f5c9bccdb2bc505474443794 SHA512 119527d615f359ddf2681dda05e9bf853a2747db4524559601c4cf5114cfdc00ba734fcd727830787e3f1cb978eb28538e5f9424d968deec95ff3826db18f377 @@ -30,6 +37,7 @@ DIST rpds-1.1.0.crate 69493 BLAKE2B f2d02c758de1abd46ff133965e0491a0276e4a95be5b DIST rpds_py-0.10.6.tar.gz 16514 BLAKE2B b3df3d79b22fe102e96b5d56cfac97d30b2de0ce05ecc82227f411aca2ae39aa3c10171e08f850e58c60faac5dd9cfb5f1f0eb0559d8dc3ac18d530b8c6b95d3 SHA512 4e887e57c59372f48b87ec10a810a65d0ff1ba2fc7587cc4f4da78d8394a78a91d84a7a7b8ad810bd1f34f4e73ad706628dbc2bd25662c9e4f83e4183c280ab1 DIST rpds_py-0.17.1.tar.gz 24945 BLAKE2B 751e764e06a10bc3689e6c001eec3fad80029afa174ad3982592f6eead0c7263a9174c2f5ba8e80722115edc870093a95fe62d477898c89facd4301f6ac1bd83 SHA512 9242d52699c56157aa74d344cea18feb78b1b6d6e9ddc746a631db1e290b532005ec31598da86a837d01ed764e8355a76b85cb8a94f9c5009173ae8931b6d218 DIST rpds_py-0.18.0.tar.gz 25313 BLAKE2B 2d80eadea17151b4b0ae76644a3474827c7c4e78c3779f59d2ca0d368f3defce1153439b1564db9f63e1535ee3f91595b71e1ef7f767cc9063d8f247532c5da4 SHA512 390235cb55ead962194c79f2f6a53bc96b3e4ba4641a85e5e9328cc014a24af86a74667bf29ce3ba95a6e3cdc6790e2b03d48abd36a54092146a106f723736c3 +DIST rpds_py-0.18.1.tar.gz 25388 BLAKE2B 9f843e7530062c0564a67bae8d8ec15155f0a68cd53b69a52906ba3176d97fc1388d599fddc7bb804a88c77bd5b57fd0f54ed718558355a59100ce3b85b851fe SHA512 3ad144fe399eab121fe6b6ac4fa0a711dc1cc63763705534606d125c66f0e1b68955e53789ec885d217848d1a0c52c8a069905abdcc24d207d16ee65f4050886 DIST scopeguard-1.1.0.crate 11470 BLAKE2B f774eb90b7d3ffb2efba47518e9d1dead4017ab4b38a4bd74914daa84a5af4bf9eb63da0496e3924499d79cd0439c37447aeda4a21226f95645bddcd6becfabe SHA512 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d DIST smallvec-1.11.0.crate 34680 BLAKE2B e54d56f6bbffbfa7ce5fe5f04e325b2e5cf19d290e4be278bc00a136e26284625b9c18c7c2b10b7fb8fad0ea7e3770f3cdbcfbaa913f5ac08d0a2f8b4e0de188 SHA512 41bfbecbc2c244497568a41724d65791ec3fd6d8057813d521367cca316c09c2b28fb3973826236b01c1f5d2f905d8d22b0c3c47f957a9ff5d7685591f15ccd7 DIST static_assertions-1.1.0.crate 18480 BLAKE2B 358dd5ac413d06f62da0388e2016c5fcb8ec68fd7dceb0dbbcb97665c032b7509b7e083c20701648b6a9174485f117c02682ae4bde7ef037e80a85cdf6a0c86e SHA512 46d0e35f77941dee6f60f574c130472248063dc38494c1c4f84f7c048244cc2a58a86fe17c0990e3f0f01406b75ed385a13d00058612b27cf0e867c8d31c92ee diff --git a/dev-python/rpds-py/rpds-py-0.18.1.ebuild b/dev-python/rpds-py/rpds-py-0.18.1.ebuild new file mode 100644 index 000000000000..28fbe0083b10 --- /dev/null +++ b/dev-python/rpds-py/rpds-py-0.18.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +CRATES=" + archery@1.2.0 + autocfg@1.1.0 + bitflags@1.3.2 + cfg-if@1.0.0 + heck@0.4.1 + indoc@2.0.4 + libc@0.2.147 + lock_api@0.4.10 + memoffset@0.9.0 + once_cell@1.18.0 + parking_lot@0.12.1 + parking_lot_core@0.9.8 + portable-atomic@1.6.0 + proc-macro2@1.0.66 + pyo3-build-config@0.20.3 + pyo3-ffi@0.20.3 + pyo3-macros-backend@0.20.3 + pyo3-macros@0.20.3 + pyo3@0.20.3 + quote@1.0.31 + redox_syscall@0.3.5 + rpds@1.1.0 + scopeguard@1.1.0 + smallvec@1.11.0 + static_assertions@1.1.0 + syn@2.0.32 + target-lexicon@0.12.9 + triomphe@0.1.9 + unicode-ident@1.0.11 + unindent@0.2.3 + windows-targets@0.48.1 + windows_aarch64_gnullvm@0.48.0 + windows_aarch64_msvc@0.48.0 + windows_i686_gnu@0.48.0 + windows_i686_msvc@0.48.0 + windows_x86_64_gnu@0.48.0 + windows_x86_64_gnullvm@0.48.0 + windows_x86_64_msvc@0.48.0 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Python bindings to Rust's persistent data structures (rpds)" +HOMEPAGE=" + https://github.com/crate-py/rpds/ + https://pypi.org/project/rpds-py/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 Unicode-DFS-2016" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" + +distutils_enable_tests pytest + +export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 diff --git a/dev-python/rq/Manifest b/dev-python/rq/Manifest index b2a7c1caa6bb..d5576c94eb41 100644 --- a/dev-python/rq/Manifest +++ b/dev-python/rq/Manifest @@ -1 +1 @@ -DIST rq-1.16.1.tar.gz 628089 BLAKE2B 74d57c34f338c8dfe14c921134253618253124fc34b69b78f0526a9c4d08b0d70ed50115658ee275f09b98ca48d7f5334032d81e0e9437184a0d3c4e782645fe SHA512 618f7833724b4bca5509132878d1bb28a25f99299a774709e839ff2b6771e27731330318070f6eb6c4aaced8167aec4ba02a89bf40285a9b16cd04e1935f7428 +DIST rq-1.16.2.tar.gz 629881 BLAKE2B 69ac4ba43ea79ddf998bc9f7cf0fc5fa42acb0315dff663b1c924498ccfabdd37ac6d9613e128b838b9e1f45988632a337fb2fa50f5adcd1b69aa520b5ad33e2 SHA512 1c3162b1acffc9d11292fcbff7177267272a02e752b5839a4004b875bb5bb25af7e61f31041df438ef4e0e47152296c3a2711856c6a36d787848dcb766387d1a diff --git a/dev-python/rq/rq-1.16.1.ebuild b/dev-python/rq/rq-1.16.2.ebuild index 9ab9863d85e3..936514338ab0 100644 --- a/dev-python/rq/rq-1.16.1.ebuild +++ b/dev-python/rq/rq-1.16.2.ebuild @@ -27,7 +27,7 @@ BDEPEND=" test? ( dev-db/redis dev-python/psutil[${PYTHON_USEDEP}] - dev-python/sentry-sdk[${PYTHON_USEDEP}] + <dev-python/sentry-sdk-2[${PYTHON_USEDEP}] ) " diff --git a/dev-python/rst-linker/Manifest b/dev-python/rst-linker/Manifest index 0aec84dfc54e..9c74c9820e73 100644 --- a/dev-python/rst-linker/Manifest +++ b/dev-python/rst-linker/Manifest @@ -1 +1,2 @@ -DIST rst.linker-2.4.0.tar.gz 11340 BLAKE2B a1ae9c811b7d6fa2821bfbf5787dce75fd3d7e5d933ec15fbac9cd3bde08cfad59fdc81b3b58dc39d1209a27ca9dd8d2ecd68034b434b3f6d15469bfb98efa3d SHA512 31e3427ecf35b433cc9650138ee36090e99003b72c69b60b530835eb624d7eb13aae4cf81cc0044b36750798a4b8aa676e53e3b9eb335430076593640a243940 +DIST rst_linker-2.5.0.tar.gz 11548 BLAKE2B eafa6a0076dd51d05779710cb3b41f4b6e5109b25ea71537bc4f4e75d8c0fe4c9329321833e5a9253bb4a51fab706488a78ece4679a4c52cd7fc0295cc29e76f SHA512 7aaa55ccbe34767f8c0e085703872f4112c5db142e81f7024fd0653fa74fcf0b9d15fec06998268e8161dc70dac6935ba7b380992a132ecaa2548ed0db3b5a13 +DIST rst_linker-2.6.0.tar.gz 11308 BLAKE2B 216c3d79b2de02fc53f1548127d7dc08d85d065e103659168b6e4b9521d75972f1ff28c78b45f59a9be09c16e66897c2506b0e48d37b3a08b114060999a76d09 SHA512 08977a88e53ebdb82f0e69923430e08a9ad643c184ad76154a7d5840c8193e71e53fd1b7fb97f6d74f65d55e3d45f5c0c262a60a1d030788d2c067f71918aa8e diff --git a/dev-python/rst-linker/rst-linker-2.4.0.ebuild b/dev-python/rst-linker/rst-linker-2.5.0.ebuild index de0844994b99..052a49409ebd 100644 --- a/dev-python/rst-linker/rst-linker-2.4.0.ebuild +++ b/dev-python/rst-linker/rst-linker-2.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,8 +13,6 @@ HOMEPAGE=" https://github.com/jaraco/rst.linker/ https://pypi.org/project/rst.linker/ " -SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")" -S=${WORKDIR}/${P/-/.} LICENSE="MIT" SLOT="0" diff --git a/dev-python/rst-linker/rst-linker-2.6.0.ebuild b/dev-python/rst-linker/rst-linker-2.6.0.ebuild new file mode 100644 index 000000000000..ba4b5d9e6716 --- /dev/null +++ b/dev-python/rst-linker/rst-linker-2.6.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Sphinx plugin to add links and timestamps to the changelog" +HOMEPAGE=" + https://github.com/jaraco/rst.linker/ + https://pypi.org/project/rst.linker/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/jaraco-context[${PYTHON_USEDEP}] + >=dev-python/jaraco-vcs-2.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-3.4.1[${PYTHON_USEDEP}] + test? ( + dev-python/path[${PYTHON_USEDEP}] + dev-python/pytest-subprocess[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.8.ebuild b/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.8.ebuild index d4042348b9f6..fd62c9fd61b4 100644 --- a/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.8.ebuild +++ b/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,7 +18,7 @@ HOMEPAGE=" https://sourceforge.net/projects/ruamel-yaml-clib/ " # sdist lacks .pyx files for cythonizing -SRC_URI="mirror://sourceforge/ruamel-dl-tagged-releases/${MY_P}.tar.xz" +SRC_URI="https://downloads.sourceforge.net/ruamel-dl-tagged-releases/${MY_P}.tar.xz" # workaround https://bugs.gentoo.org/898716 S=${WORKDIR}/ruamel_yaml_clib diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.17.40.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.17.40.ebuild index 78b0ae605fe8..0b0839c508c1 100644 --- a/dev-python/ruamel-yaml/ruamel-yaml-0.17.40.ebuild +++ b/dev-python/ruamel-yaml/ruamel-yaml-0.17.40.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,7 @@ HOMEPAGE=" https://sourceforge.net/projects/ruamel-yaml/ " # PyPI tarballs do not include tests -SRC_URI="mirror://sourceforge/ruamel-dl-tagged-releases/${MY_P}.tar.xz" +SRC_URI="https://downloads.sourceforge.net/ruamel-dl-tagged-releases/${MY_P}.tar.xz" S="${WORKDIR}"/${MY_P} LICENSE="MIT" diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.18.6.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.18.6.ebuild index c916f70d468e..6c7d0b943af2 100644 --- a/dev-python/ruamel-yaml/ruamel-yaml-0.18.6.ebuild +++ b/dev-python/ruamel-yaml/ruamel-yaml-0.18.6.ebuild @@ -15,7 +15,7 @@ HOMEPAGE=" https://sourceforge.net/projects/ruamel-yaml/ " # PyPI tarballs do not include tests -SRC_URI="mirror://sourceforge/ruamel-dl-tagged-releases/${MY_P}.tar.xz" +SRC_URI="https://downloads.sourceforge.net/ruamel-dl-tagged-releases/${MY_P}.tar.xz" S="${WORKDIR}"/${MY_P} LICENSE="MIT" diff --git a/dev-python/rustworkx/Manifest b/dev-python/rustworkx/Manifest index 85e38c07b65c..423b47810873 100644 --- a/dev-python/rustworkx/Manifest +++ b/dev-python/rustworkx/Manifest @@ -62,7 +62,6 @@ DIST rayon-cond-0.3.0.crate 9913 BLAKE2B 4096dc35abfa825739953b92e2eb62822761e4f DIST rayon-core-1.12.1.crate 70701 BLAKE2B a32eb9ae9a71b4f0881f7bfd5375aa7db5681f20f7e0b25e6ecb3161f2aad36b93026c1691d02bf298a48ea07ec9475a237fba457ed0b0b8624aebab2b4988df SHA512 33d0297b682f131c50e1eabc3be583211a5abe790301cbca91bf510e43d6714b7564ca39fab7c4bf6f02aa0df6bb394f386a61320f21ddb6bd7aea1372b5e99e DIST redox_syscall-0.4.1.crate 24858 BLAKE2B c3301137a0b84e03b09d28dfa377ab3bea74d574a08cee21d35713b278d8b5b30ca2a1d73a0981baeb4644cbb88c86c8eb15ab3bb2692e38b93e6b35fab4e0da SHA512 073ed9d96090cf46eab9877742277a013c62d8da86d9caf2310b4fa868af306511936553579e01309f27067d344226cc8dc5e3aef01d9b900da2febd33848f8d DIST rustc-hash-1.1.0.crate 9331 BLAKE2B 16ac56622897f47a06b661fb59a196b08d48e782ab87549c8bd5c6fe92f374c9bfd44dcb36588512bd9b6125c2fd79a12d648aaa308fd9694bcca3a7c1b49ac9 SHA512 84e673ea9b046f7b989d47f2c4505557fbd5de991e6fc9f56a03605d40e0b4ba5427cd566954890153cc033ccbec6c984306634571935bfe0d4cdfbe56f39544 -DIST rustworkx-0.14.1.gh.tar.gz 558055 BLAKE2B 03ebbd55762ef3f8834ed688782580a2ffb05dc34410c9970337d776bcc52afb2ee474860cbcd173d57c3736b8562a1848df558d304de872d4f0e98522c57d46 SHA512 22fd8c8dedeb0a60efe6b16c3e268fa6bc599b7ddf0104349cbb4ec0664548416427d22712456a19f7b97fbea2dd7aba6bdc3ce7e582a1f1d95225b6d567be06 DIST rustworkx-0.14.2.gh.tar.gz 558859 BLAKE2B 479510c4e132eda5af7a0301e760fe05daa26dd88c3299ca159ce0f87744d63cebfa33b6a1a6b43541b4c22607ea78352f36288e50d3f6535a6337be4edbf5c6 SHA512 625a4942cba111cdc4a9cf6fd8612ccb5ed94c28e4dcb176137105fc81516d2226fb57b1e401d91e323229eb1444775e5bca239b1bc8a4f26be6d8cea9997dab DIST ryu-1.0.16.crate 47351 BLAKE2B 13c72ec8aa608f6c53cf27c95d06b90839c5bec5e54b0441e9c4f779af3dece30d01a2276c717a733f92406a5a02b09c045b2b5f92714fe492d7263b6c6808e6 SHA512 89e3e18346ae6e4035787766f286a6eb62f5294e39ad902cc29e95c53781c4e5dd629f567f22ecc7e9fe9d1c273323da9b867aadc9cd8a066727c58330b51b10 DIST scopeguard-1.2.0.crate 11619 BLAKE2B 8b7e9ed6cefef9ee55407fb9690d57a2a98bb93e5105aeebdb475a52485e9e185255249e1dce8f83cd80534e7402d485aac3efa7e8493b13135de27550cd4bc4 SHA512 6247719a15fe1e4e2d179127b9a934bd2f99367724f41175ed9522f58824b6bc69b35002eae66b35880375ff61d77ac43ddaa78cbde7160a35183a1da32d3fbb diff --git a/dev-python/rustworkx/rustworkx-0.14.1.ebuild b/dev-python/rustworkx/rustworkx-0.14.1.ebuild deleted file mode 100644 index 7e40a54f5d64..000000000000 --- a/dev-python/rustworkx/rustworkx-0.14.1.ebuild +++ /dev/null @@ -1,153 +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 - -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/sabctools/Manifest b/dev-python/sabctools/Manifest index 7ab05cce86ec..710ed09c1961 100644 --- a/dev-python/sabctools/Manifest +++ b/dev-python/sabctools/Manifest @@ -4,3 +4,4 @@ DIST sabctools-7.1.2.gh.tar.gz 8963375 BLAKE2B a404780c40cd98a605af58a79c9ecf7c5 DIST sabctools-8.0.0.gh.tar.gz 8963761 BLAKE2B d6977c399801653bcc04136c614257a8dba952129ff87a06064518796bb4de1bf340b3f5ba1e841d05c33be804232cedc38da46991b69451661a89fcb2e2ede9 SHA512 0a1e17bbb316271fa620b037cd71a88b7a424206471766f8b77c81db7d7f2828fb58518916e51d4a3aa29f0615c31fd1da615f1b67838a31ee985c13b3045257 DIST sabctools-8.0.1.gh.tar.gz 8963513 BLAKE2B 40fbd230c40b72f1a74e255f0b715f476c52b8d75c04bac9e5131065e1cb431581debc5bec9fac5060f172ed7ccd1ae282e6ed3fe93d2c24abef064fa9918b84 SHA512 170ccfec6807165954322a58910c1aaf368acc600b4cca10abd69e1b1859ff0d52058a846a0a0e3ebbdde93d6a7079efa418dd2453e73496f043c26532b64af2 DIST sabctools-8.1.0.gh.tar.gz 8963885 BLAKE2B 36d6bbc34f636ac4e892f941eb6e583166ee1f5f740440b3f07faacddf7715d8b4c642a4e6252ece1bdef69017be3d04ce5d6c8e36479bb176e4cd0635f1567d SHA512 862c39f2e386622b528f120a431f214e1e2e92b7c5a751e47d0768f40ce06ad2736d867f7ac2e1810d676e980312bbfedd29951cbadeddefe75246cdcf53fcc6 +DIST sabctools-8.2.0.gh.tar.gz 8974313 BLAKE2B c32dc103996493a207f382588b1ec945bb65af85b9f42d105f4b91af7335eb93d3c565ef33f4c4fda77bc1607051303536054835885619fdfdeee22ec2c29446 SHA512 007bf7087927f73de1f00df825d6aabc5ccdb265288794ca0fecadf9c1b7ae00e10782588528b3026d68866d0500c602879e82857da6cf99ad4cfebffbe68bb7 diff --git a/dev-python/sabctools/sabctools-8.2.0.ebuild b/dev-python/sabctools/sabctools-8.2.0.ebuild new file mode 100644 index 000000000000..0632a9976480 --- /dev/null +++ b/dev-python/sabctools/sabctools-8.2.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-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} ) + +inherit distutils-r1 + +MY_PN="sabctools" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Module providing raw yEnc encoding/decoding for SABnzbd" +HOMEPAGE=" + https://github.com/sabnzbd/sabctools/ + https://pypi.org/project/sabctools/ +" +SRC_URI=" + https://github.com/sabnzbd/${MY_PN}/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/portend[${PYTHON_USEDEP}] + ) +" + +DOCS=( README.md doc/yenc-draft.1.3.txt ) + +distutils_enable_tests pytest diff --git a/dev-python/schema/Manifest b/dev-python/schema/Manifest index 49a96927b6b7..4fbd6daf3cef 100644 --- a/dev-python/schema/Manifest +++ b/dev-python/schema/Manifest @@ -1 +1,2 @@ DIST schema-0.7.5.tar.gz 48173 BLAKE2B 3d112ee1960c79a64ec2980cbd70403b6dbcafdeeb4f5826c427426aafd602691fd5ceab408edf88e50854a7d66306a73a4729c056a1ca7d1eaa4d0c725901a9 SHA512 10184a4d2a30600d5c6fe9fcde33925137825e811af691c40fee841f88e4a5106ef7e79be2a0ddddd0e0b74892bf889c3d2eff934a36dbca269cd7bf22748d39 +DIST schema-0.7.7.tar.gz 44245 BLAKE2B c984f5948b5f87eafe45cee42b927a61ea7b3fc1877474f189abf448f95be37d299720d1fe72b46d4a24760758c39818c966cef581df48fbf365b9754bcf7167 SHA512 9c811f5c4e87a123a5a1401b6e4b1ff5319f044458fa2b280740dbe78e76661ae868643f0c8a4b738161be6d8ad575401841a824df6664825a545aa0339815c2 diff --git a/dev-python/schema/schema-0.7.7.ebuild b/dev-python/schema/schema-0.7.7.ebuild new file mode 100644 index 000000000000..61220e35ea2b --- /dev/null +++ b/dev-python/schema/schema-0.7.7.ebuild @@ -0,0 +1,21 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simple data validation library" +HOMEPAGE=" + https://github.com/keleshev/schema/ + https://pypi.org/project/schema/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest diff --git a/dev-python/scikit-build-core/Manifest b/dev-python/scikit-build-core/Manifest index 0590549e006e..ace7f39d2b6d 100644 --- a/dev-python/scikit-build-core/Manifest +++ b/dev-python/scikit-build-core/Manifest @@ -1 +1,3 @@ -DIST scikit_build_core-0.8.2.tar.gz 203630 BLAKE2B 7093fd02891fe225ffee1b6da7800e49eb71c6468947fff1a80015eda8c9940f117196dfd067d0ea274d9958f8f13681ccd859f95ce9bf6a7d72eedc367489f3 SHA512 4b33936912806b5f607492d253d5cc6b2523d4892043caad82fed76140e53a0e9dec8178811a618cdc9b64f247e37145d474eb1979d181dd595b4905def1da8f +DIST scikit_build_core-0.9.2.tar.gz 225078 BLAKE2B 8d50e82754013f23a2216d269757fce5b56c5fa99e2f3b93e3bb65e50730799f2874d0eaa71681e248eeb30c443cde03a5bd447732b764852f2069ed18ea98d3 SHA512 c94cb9b109c994bedaba0e82de15caaf4fc4ae5c08375324aeb60f8d05911cc958a70c0430d35b23ad9792d39ab0312ff607b0587cd55eb4fe68ae4f28eed1d9 +DIST scikit_build_core-0.9.3.tar.gz 226732 BLAKE2B b15985eb4bf9cd44e75cf3ea1db4a1541dbac2310927608ab1ec31d5015ef4433290894755230ff5d691d69d90bce1ac92966209e46091d7f4d76099f33cca0a SHA512 e25adbcd2037471046376d3877d7a4a5bea42f3f9c13beaec646ed6e7a254138d0fce050309f634b61ec75c83ad76e34ebfa0bfa403ae394c25870cf15e0ff7a +DIST scikit_build_core-0.9.4.tar.gz 228198 BLAKE2B 86987ce34ed840d22a84a56fa0b62e8b6420f6f91763199945d5dfd0709ffb3b12778e996611cc652364637b8b8e0013cf39322fe322f1c2d3bbc22670c52876 SHA512 bc5252bf1f52e7fa0ea4d9e27d57fbf82a35e2061dfd8b8fbecc32b2da0ae88a2c3197bbece28f1285c1fb33ce91f27907bec093d76b937b382fa7dca072d0d9 diff --git a/dev-python/scikit-build-core/scikit-build-core-0.8.2.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.9.2-r1.ebuild index d54fc9d8d03f..5241d6b57db5 100644 --- a/dev-python/scikit-build-core/scikit-build-core-0.8.2.ebuild +++ b/dev-python/scikit-build-core/scikit-build-core-0.9.2-r1.ebuild @@ -20,19 +20,22 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc # we always want [pyproject] extra RDEPEND=" - >=dev-python/packaging-20.9[${PYTHON_USEDEP}] + app-alternatives/ninja + dev-build/cmake + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] >=dev-python/pyproject-metadata-0.5[${PYTHON_USEDEP}] $(python_gen_cond_dep ' dev-python/exceptiongroup[${PYTHON_USEDEP}] - >=dev-python/tomli-1.1[${PYTHON_USEDEP}] - ' 3.9 3.10) + >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] + ' 3.10) " 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}] @@ -44,12 +47,16 @@ BDEPEND=" distutils_enable_tests pytest python_test() { - local EPYTEST_DESELECT=( + local _EPYTEST_DESELECT=( # TODO / we don't package validate_pyproject anyway tests/test_schema.py::test_compare_schemas # setuptools now respects PEP 625 tests/test_setuptools_pep517.py::test_pep517_sdist ) + local EPYTEST_IGNORE=( + # needs unpackaged validate_pyproject + tests/test_schema.py + ) local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest -p subprocess -m "not isolated and not network" diff --git a/dev-python/scikit-build-core/scikit-build-core-0.9.3.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.9.3.ebuild new file mode 100644 index 000000000000..729919e913ae --- /dev/null +++ b/dev-python/scikit-build-core/scikit-build-core-0.9.3.ebuild @@ -0,0 +1,63 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +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 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# we always want [pyproject] extra +RDEPEND=" + app-alternatives/ninja + dev-build/cmake + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] + >=dev-python/pyproject-metadata-0.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/exceptiongroup[${PYTHON_USEDEP}] + >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] + ' 3.10) +" +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}] + dev-python/wheel[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local _EPYTEST_DESELECT=( + # TODO / we don't package validate_pyproject anyway + tests/test_schema.py::test_compare_schemas + # setuptools now respects PEP 625 + tests/test_setuptools_pep517.py::test_pep517_sdist + ) + local EPYTEST_IGNORE=( + # needs unpackaged validate_pyproject + tests/test_schema.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p subprocess -m "not isolated and not network" +} diff --git a/dev-python/scikit-build-core/scikit-build-core-0.9.4.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.9.4.ebuild new file mode 100644 index 000000000000..0a9f50c12aae --- /dev/null +++ b/dev-python/scikit-build-core/scikit-build-core-0.9.4.ebuild @@ -0,0 +1,63 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +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 ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86" + +# we always want [pyproject] extra +RDEPEND=" + app-alternatives/ninja + dev-build/cmake + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] + >=dev-python/pyproject-metadata-0.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/exceptiongroup[${PYTHON_USEDEP}] + >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] + ' 3.10) +" +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}] + dev-python/wheel[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local _EPYTEST_DESELECT=( + # TODO / we don't package validate_pyproject anyway + tests/test_schema.py::test_compare_schemas + # setuptools now respects PEP 625 + tests/test_setuptools_pep517.py::test_pep517_sdist + ) + local EPYTEST_IGNORE=( + # needs unpackaged validate_pyproject + tests/test_schema.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p subprocess -m "not isolated and not network" +} diff --git a/dev-python/scikit-image/Manifest b/dev-python/scikit-image/Manifest index 19374f7c05eb..4b094ea850c7 100644 --- a/dev-python/scikit-image/Manifest +++ b/dev-python/scikit-image/Manifest @@ -1,4 +1,3 @@ DIST scikit-image-data-15735b54e85c02427f07c71e6456723495034805.tar.bz2 143900901 BLAKE2B c1352e76337250fe1a9d6e07f08b6c9b1e0aed922ab8e0a3a4a1ea175f593b3375522e59550d30a22d392c34fef26d638c007c2af3d991887e02e7c68e56ebbb SHA512 d113dd258b35be710d841f9900cfbfe7103d1190b042489de88dd504b56277edac9a98fed5517e57725c5292fe26528267a06ff313bf6500b669d872c4481146 -DIST scikit_image-0.22.0.tar.gz 22685018 BLAKE2B 7d0a65f75f5a58211e21501d6cc6a638f1d36e9a2198a3ad9ff2f230890496c41d5e6cdaed02bbaa62f26aa57fd24fc993656cbdfc2c9c9750147d0f325e56f1 SHA512 4b8c097cd5465f57b1c0879363fe3bdc0941decf2d1f8a881f13f2b7f3207c425f3a0cdcb4be0eed7b33d3ac2f3f8b1835d1cfa69cd3fa2ff5e0be11385fef48 -DIST scikit_image-0.23.0rc2.tar.gz 22677632 BLAKE2B b663065650e25a33ffec80ddd05df622bc62b1c1d3d0a831488d4dd23291b4f125458ae335782762b1d4dc1efa8cbedd5fcd7e6bbe62003967209e4ca4179bca SHA512 aa5f27d571ea49276aba8443a691b30a576d52145a17f13b8ea080a2abf0ed01c57fe50324c05e72bb4662a9ddbb480be94be6784ac3220ed6853b12d94ae06b DIST scikit_image-0.23.1.tar.gz 22676819 BLAKE2B 2d02bab4f8d6217c842f428a6758d467393a73a05ac741a49cd27fa6ee48335cf8fed4cc104296388d0e23c61ac3603f72d7bab44986c0d3d4073da383f89726 SHA512 7450387c3adcac15148c3ae4f43fd7da97ceabf3522302b7f3ab4cd02e5a9ec2cd9623f29e4aec3bb47668a231e0900724804619bb91aaaf97283d29c34392e6 +DIST scikit_image-0.23.2.tar.gz 22678261 BLAKE2B 11c44676e9f7bce7735e85d8416175a55b1808807b99597d60495dc2b0c961a05a514b5ec456665a25d31cc09a20e430c331cfd5bc10afa01ca4070722aa03f8 SHA512 8abf6c2bb92a75524d254265822cdc49db636a482efe0d6459fc113f6898bc5c19ad58905a5020a9c4262f55993ad2e8d13810023c62d06c5ee9854666f5337f diff --git a/dev-python/scikit-image/files/scikit-image-0.22.0-no-numpydoc.patch b/dev-python/scikit-image/files/scikit-image-0.22.0-no-numpydoc.patch deleted file mode 100644 index 25137b5167c8..000000000000 --- a/dev-python/scikit-image/files/scikit-image-0.22.0-no-numpydoc.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 9b27f8e802c9513952c8a42450a4459fa357b89c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Fri, 26 Jan 2024 20:25:16 +0100 -Subject: [PATCH] Make it possible to run tests without numpydoc - -Skip the three tests requiring numpydoc when it is not installed. -For `skimage/_shared/tests/test_utils.py`, use the existing -`have_numpydoc` constant. -For `skimage/measure/tests/test_regionprops.py`, use the standard -`pytest.importorskip()` function. - -This makes it possible to successfully run the test suite when -`numpydoc` is not installed. This would be convenient for Gentoo -since numpydoc is facing neverending test regressions (in its own test -suite). ---- - skimage/measure/tests/test_regionprops.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/skimage/measure/tests/test_regionprops.py b/skimage/measure/tests/test_regionprops.py -index 01a59dfbf..0b74d30a4 100644 ---- a/skimage/measure/tests/test_regionprops.py -+++ b/skimage/measure/tests/test_regionprops.py -@@ -4,7 +4,6 @@ import re - import numpy as np - import pytest - import scipy.ndimage as ndi --import numpydoc - from numpy.testing import (assert_allclose, assert_almost_equal, - assert_array_almost_equal, assert_array_equal, - assert_equal) -@@ -1261,6 +1260,7 @@ def test_column_dtypes_correct(): - - - def test_all_documented_items_in_col_dtypes(): -+ numpydoc = pytest.importorskip("numpydoc") - docstring = numpydoc.docscrape.FunctionDoc(regionprops) - notes_lines = docstring['Notes'] - property_lines = filter(lambda line: line.startswith('**'), notes_lines) --- -2.43.0 - diff --git a/dev-python/scikit-image/scikit-image-0.22.0.ebuild b/dev-python/scikit-image/scikit-image-0.22.0.ebuild deleted file mode 100644 index 62ff8da8a3eb..000000000000 --- a/dev-python/scikit-image/scikit-image-0.22.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=meson-python -DISTUTILS_EXT=1 -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="Image processing routines for SciPy" -HOMEPAGE=" - https://scikit-image.org/ - https://github.com/scikit-image/scikit-image/ - https://pypi.org/project/scikit-image/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -PROPERTIES="test_network" -RESTRICT="test" - -RDEPEND=" - >=dev-python/imageio-2.27[${PYTHON_USEDEP}] - >=dev-python/lazy-loader-0.3[${PYTHON_USEDEP}] - >=dev-python/networkx-2.8[${PYTHON_USEDEP}] - >=dev-python/numpy-1.22[${PYTHON_USEDEP}] - >=dev-python/pillow-9.0.1[${PYTHON_USEDEP}] - >=dev-python/scipy-1.8[sparse(+),${PYTHON_USEDEP}] - >=dev-python/tifffile-2022.8.12[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] -" - -DOCS=( CONTRIBUTORS.txt RELEASE.txt ) - -distutils_enable_tests pytest -# There is a programmable error in your configuration file: -#distutils_enable_sphinx doc/source dev-python/numpydoc dev-python/myst-parser - -PATCHES=( - # https://github.com/scikit-image/scikit-image/pull/7307 - "${FILESDIR}/${P}-no-numpydoc.patch" -) - -python_test() { - rm -rf skimage || die - epytest --pyargs skimage -} - -pkg_postinst() { - optfeature "FITS io capability" dev-python/astropy - optfeature "GTK" dev-python/pygtk - optfeature "Parallel computation" dev-python/dask - optfeature "io plugin providing most standard formats" dev-python/imread - optfeature "plotting" dev-python/matplotlib - optfeature "wavelet transformations" dev-python/pywavelets - optfeature "io plugin providing a wide variety of formats, including specialized formats using in medical imaging." dev-python/simpleitk -} diff --git a/dev-python/scikit-image/scikit-image-0.23.0_rc2.ebuild b/dev-python/scikit-image/scikit-image-0.23.2.ebuild index a4314f655ffc..cb08918d42e9 100644 --- a/dev-python/scikit-image/scikit-image-0.23.0_rc2.ebuild +++ b/dev-python/scikit-image/scikit-image-0.23.2.ebuild @@ -28,7 +28,7 @@ KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" >=dev-python/imageio-2.33[${PYTHON_USEDEP}] - >=dev-python/lazy-loader-0.3[${PYTHON_USEDEP}] + >=dev-python/lazy-loader-0.4[${PYTHON_USEDEP}] >=dev-python/networkx-2.8[${PYTHON_USEDEP}] >=dev-python/numpy-1.23[${PYTHON_USEDEP}] >=dev-python/pillow-9.1[${PYTHON_USEDEP}] diff --git a/dev-python/scikit-learn/Manifest b/dev-python/scikit-learn/Manifest index 03935f21b43f..d71d11216c6d 100644 --- a/dev-python/scikit-learn/Manifest +++ b/dev-python/scikit-learn/Manifest @@ -1,2 +1 @@ -DIST scikit-learn-1.3.2.gh.tar.gz 7650823 BLAKE2B 170699917f46d6d3f4b9ebc314bc1ec45687dad0a4aec5d2cee6e288b5dbe508bad6dd80406501f289a33593c6482067393e9dc28155f85a4872a34523bf4199 SHA512 a3799e9b39b755a50ba225f836904a378f7d83a08274c614d0485e4d4d4a7b0c7adba2dbb6612f2ccb4e5167f872214a2853eff69d767dc70f52369bda7a230b DIST scikit-learn-1.4.2.gh.tar.gz 7907022 BLAKE2B d52b808ae981883438592ee9155797fedf832181b0fe66c25728aedc43143143d44af190977b22844e3322da77cd21a1ce5c733e254686722df7f4c43029192c SHA512 ac4eea3d1f1f7c7280694d59ccb1e58362e77080f65dc2d4644dc257e874d7ff0d2d5b7abeb18acffc2752382527c6e9bbf5ebc47a8a74a2fab2a543e0220951 diff --git a/dev-python/scikit-learn/scikit-learn-1.3.2-r1.ebuild b/dev-python/scikit-learn/scikit-learn-1.3.2-r1.ebuild deleted file mode 100644 index 1f42ebe8f21a..000000000000 --- a/dev-python/scikit-learn/scikit-learn-1.3.2-r1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 2020-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} ) - -inherit distutils-r1 - -DESCRIPTION="Machine learning library for Python" -HOMEPAGE=" - https://scikit-learn.org/stable/ - https://github.com/scikit-learn/scikit-learn/ - https://pypi.org/project/scikit-learn/ -" -SRC_URI=" - https://github.com/scikit-learn/scikit-learn/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" -IUSE="examples" - -DEPEND=" - virtual/blas:= - virtual/cblas:= -" -RDEPEND=" - ${DEPEND} - dev-python/wheel[${PYTHON_USEDEP}] - >=dev-python/joblib-1.2.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.22.3[${PYTHON_USEDEP}] - >=dev-python/scipy-1.5.0[${PYTHON_USEDEP}] - >=dev-python/threadpoolctl-2.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pythran-0.14.0[${PYTHON_USEDEP}] - dev-python/cython[${PYTHON_USEDEP}] -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -# For some reason this wants to use urllib to fetch things from the internet -# distutils_enable_sphinx doc \ -# dev-python/matplotlib \ -# dev-python/memory-profiler \ -# dev-python/numpydoc \ -# dev-python/pandas \ -# dev-python/pillow \ -# dev-python/seaborn \ -# dev-python/sphinx-gallery \ -# dev-python/sphinx-prompt \ -# dev-python/scikit-image - -python_test() { - local EPYTEST_DESELECT=( - # test broken with newer scipy, fixed upstream - # https://github.com/scikit-learn/scikit-learn/issues/27578 - manifold/tests/test_locally_linear.py::test_singular_matrix - # TODO - gaussian_process/kernels.py::sklearn.gaussian_process.kernels.ExpSineSquared - ) - - rm -rf sklearn || die - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest --pyargs sklearn -} - -python_install_all() { - find "${S}" -name \*LICENSE.txt -delete || die - distutils-r1_python_install_all - use examples && dodoc -r examples -} diff --git a/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild b/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild index 44aee52544c5..dc15a4a085ac 100644 --- a/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild +++ b/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild @@ -22,18 +22,18 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="amd64 ~arm64 ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" IUSE="examples" DEPEND=" virtual/blas:= virtual/cblas:= + >=dev-python/numpy-1.22.3:=[${PYTHON_USEDEP}] " RDEPEND=" ${DEPEND} dev-python/wheel[${PYTHON_USEDEP}] >=dev-python/joblib-1.2.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.22.3:=[${PYTHON_USEDEP}] >=dev-python/scipy-1.6.0[${PYTHON_USEDEP}] >=dev-python/threadpoolctl-2.0.0[${PYTHON_USEDEP}] " diff --git a/dev-python/scripttest/scripttest-1.3.0-r2.ebuild b/dev-python/scripttest/scripttest-1.3.0-r2.ebuild index 2b195d0d030c..0475fb845bdc 100644 --- a/dev-python/scripttest/scripttest-1.3.0-r2.ebuild +++ b/dev-python/scripttest/scripttest-1.3.0-r2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/scrypt/scrypt-0.8.24.ebuild b/dev-python/scrypt/scrypt-0.8.24.ebuild index e8b2a29f5ce1..848abf12f1e7 100644 --- a/dev-python/scrypt/scrypt-0.8.24.ebuild +++ b/dev-python/scrypt/scrypt-0.8.24.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -19,7 +19,11 @@ LICENSE="BSD-2" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -RDEPEND="dev-libs/openssl:0=" -DEPEND="${RDEPEND}" +DEPEND=" + dev-libs/openssl:0= +" +RDEPEND=" + ${DEPEND} +" distutils_enable_tests unittest diff --git a/dev-python/seedir/seedir-0.4.2.ebuild b/dev-python/seedir/seedir-0.4.2.ebuild index a102be574d49..d89d3c8c0a84 100644 --- a/dev-python/seedir/seedir-0.4.2.ebuild +++ b/dev-python/seedir/seedir-0.4.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86" RDEPEND=" dev-python/natsort[${PYTHON_USEDEP}] diff --git a/dev-python/selenium/Manifest b/dev-python/selenium/Manifest index d9980e8d7cf2..97f880aef1cf 100644 --- a/dev-python/selenium/Manifest +++ b/dev-python/selenium/Manifest @@ -1,2 +1,4 @@ -DIST selenium-4.19.0.tar.gz 10279010 BLAKE2B f4f7761c52a38108c13d846f013eaeb54ce90ce894f3435567bf00e5b5d9ed13f71f1fcabad2ce972e098d86d3df82f1a1c5bf14ac849dcfb3378e41bc791e90 SHA512 ad4fec7dd4309478e4b53e1fdaf957230ae7c074fc77ffed6445cd80d475fd8f0f9aa88d2b732fb75b1060e03ab29257b040d95aa104b7bbaa6289ad08bb418f -DIST selenium-selenium-4.19.0.gh.tar.gz 77053184 BLAKE2B 42319ddad80832e107acfb9f7f3dc5a18fb1779ec0910322d6c11ca9d441ce7e9992c0f7acd5c313855b33b8e67e8a2eab7736b11cd925c163fe70dee58aad44 SHA512 5e707545fdb8b38d16470988fe74b31b9040c5ff6c1958c2a500a5d20a023dedf12e321b1c60bb4d79c11cbd27e86dc2b6dc3d27b92b55759b5d9a57af526531 +DIST selenium-4.20.0.tar.gz 9307193 BLAKE2B 26d0441039776ae0c524891ed89ce2b631b2d74b561403890081ba649e1d067b841610e53d468fc2aa622fea05affd997f580e63af44256eb33dffe17b65b619 SHA512 102ce43dd9878275a80fa5e8c59162952c9ab04173c3c35f543392b31df1d600f403ad7764af76513c81df8eef5781456bf6ef2027af6a93ad99d855ab384869 +DIST selenium-4.21.0.tar.gz 9238881 BLAKE2B 6aadfb383aabb730dd9a39dc526a7b109d640997b1ba5e486687c4e3f056a6dee624c88ed437b40c6e63689a533a5990e14e0d57afe2ed927bf9f3e4a1573266 SHA512 e5486a411aeaffb26be2f50a874c622bcd6d004cb821444c580ef5fc3e74fbc0575d00ced5f4e57b3bf75e0920eb835a423e6e8d8cf354c729d3036bfb170dec +DIST selenium-selenium-4.20.0.gh.tar.gz 77055043 BLAKE2B 3a146a41fcebe0abb0a83b914a66252f541ab712e606166c941c08781cca92315254d3be075a988044713544909134dc7a9203ac414ba7f7985173713779e810 SHA512 1a4ee0421c8ba02fc8217792fda26bb977524531bdaaf8cb56276decdddb13adc702bd20ac195c97a7182fdd27c3a88b92a901af38c6fd059c2421e422c82768 +DIST selenium-selenium-4.21.0.gh.tar.gz 77070811 BLAKE2B b9aacaf5f6091f49c4f0a6c7dca3fb5791297af8e1a8b6fa6b8e6d77fa5249d9b3c74d6c73a5aa9f443fefc3a613e0b6a12ced1f400d93c99a43b5614a6edda8 SHA512 15f25efc893fd57ef0ca21e3598c1ae976043fd8000275ff9bed117ff0c9e9c402ed1bc3fff119a511336b0e26343c6e36450b3ef49cad2dda3b1cea039ec6a7 diff --git a/dev-python/selenium/selenium-4.19.0.ebuild b/dev-python/selenium/selenium-4.20.0.ebuild index 1ef3e5bed572..1ef3e5bed572 100644 --- a/dev-python/selenium/selenium-4.19.0.ebuild +++ b/dev-python/selenium/selenium-4.20.0.ebuild diff --git a/dev-python/selenium/selenium-4.21.0.ebuild b/dev-python/selenium/selenium-4.21.0.ebuild new file mode 100644 index 000000000000..e74259a73bf0 --- /dev/null +++ b/dev-python/selenium/selenium-4.21.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +# upstream sometimes tags it as ${P}, sometimes as ${P}-python, sigh +TEST_TAG=${P} +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 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/certifi-2021.10.8[${PYTHON_USEDEP}] + <dev-python/trio-1[${PYTHON_USEDEP}] + >=dev-python/trio-0.17[${PYTHON_USEDEP}] + <dev-python/trio-websocket-1[${PYTHON_USEDEP}] + >=dev-python/trio-websocket-0.9[${PYTHON_USEDEP}] + <dev-python/typing-extensions-5[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.9[${PYTHON_USEDEP}] + <dev-python/urllib3-3[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.26[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO: we may need extra setup or deps + test/selenium + + # expects vanilla certifi + test/unit/selenium/webdriver/remote/remote_connection_tests.py::test_get_connection_manager_for_certs_and_timeout + ) + + cd "${WORKDIR}/${TEST_P}/py" || die + rm -rf selenium || die + # https://github.com/SeleniumHQ/selenium/blob/selenium-4.8.2-python/py/test/runner/run_pytest.py#L20-L24 + # seriously? + epytest -o "python_files=*_tests.py test_*.py" +} diff --git a/dev-python/semantic-version/semantic-version-2.10.0.ebuild b/dev-python/semantic-version/semantic-version-2.10.0.ebuild index 94bca6f84951..6cde6827cc60 100644 --- a/dev-python/semantic-version/semantic-version-2.10.0.ebuild +++ b/dev-python/semantic-version/semantic-version-2.10.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -23,5 +23,6 @@ distutils_enable_sphinx docs \ distutils_enable_tests pytest python_test() { - epytest -p no:django + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest } diff --git a/dev-python/send2trash/Manifest b/dev-python/send2trash/Manifest index b8c43f852c4d..e6dd4ffd8c12 100644 --- a/dev-python/send2trash/Manifest +++ b/dev-python/send2trash/Manifest @@ -1,2 +1 @@ -DIST Send2Trash-1.8.2.tar.gz 17487 BLAKE2B 3362a7e0c70f0e3f0f7a64676174d6c6f28290079590e08e4a746c0e19f96deca028aa521df58afa7f0ab47d78f286df01f98e903dfd771063af0ff40b4f6c08 SHA512 378107c8175e8d08566258daa13d3000e66ec03f732698180a2eb7f862c39d3c458be66ecf3f8864f559b961e29b777b8e7f5169468219e19723def62a69bb9c DIST Send2Trash-1.8.3.tar.gz 17394 BLAKE2B 55f382ae81b2279214023daad3a7a8ac0d5f55ebbbe9a2c7af02d35b980f3342ecc5f9b4e734d3c233b65a1fdd058ed856b7a96f3685ebbf1eb4c7dd9d37e159 SHA512 81b9d6ce00830414daac0e1cafe2b69d42b750146f45e64c27750ee8f6d81f771145852a96bf51afa944d8c31959b8c9ac1b5e05c8793732039b690107789d93 diff --git a/dev-python/send2trash/send2trash-1.8.2.ebuild b/dev-python/send2trash/send2trash-1.8.2.ebuild deleted file mode 100644 index d759f6cb0331..000000000000 --- a/dev-python/send2trash/send2trash-1.8.2.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=Send2Trash -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Sends files to the Trash (or Recycle Bin)" -HOMEPAGE=" - https://github.com/arsenetar/send2trash/ - https://pypi.org/project/Send2Trash/ -" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -distutils_enable_tests pytest diff --git a/dev-python/send2trash/send2trash-1.8.3.ebuild b/dev-python/send2trash/send2trash-1.8.3.ebuild index 816b76361a12..b857080fec6a 100644 --- a/dev-python/send2trash/send2trash-1.8.3.ebuild +++ b/dev-python/send2trash/send2trash-1.8.3.ebuild @@ -18,6 +18,6 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" distutils_enable_tests pytest diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index a5965cf3bb14..08d1545259e5 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -1,4 +1,4 @@ -DIST sentry-python-1.42.0.gh.tar.gz 468530 BLAKE2B 787da292e9e218e195deae022274d74c032f5749ecf86be45cfa59de10b2ab4281e0ddcb6fdd804f887fa63ca669c9f4db4396a1077647be8438524c6edba081 SHA512 88bf44f4b214d1accd28744ac5300681ee8f6d23f4508f1df043366c9c758251e63f5aede778e8584c778c209f9c758d12743109798a746d2599aa7d7f53550b -DIST sentry-python-1.44.0.gh.tar.gz 471491 BLAKE2B a61ea8076c58df8296128c0604e5292626a7100a525e9a496ebd4f9e17fb64c695b78185d6a45345a10fd88545eb972ce4887eb4a9de1b3c05bb96937fc1af6f SHA512 ff9ecc13b0cf60a5b6e209bb8de22bb482ebc29977c843e0d39ee07338897e315b3f11a7e51cc92e88f4679ea897bee5b367421a851b68f2efe36d65be155f23 -DIST sentry-python-1.44.1.gh.tar.gz 472129 BLAKE2B ae98f7c6292ed3d95e4c33221154b065d6348c2e34efd4b4b10f083ff9082765594f39a1b0adf0df945ba7948e2b0d0d31cf2fb3987d1f65e1bd0e582be7a76b SHA512 c9de3538cdf2ccce2b6775ff57308f122d1e7f5db5036db78ec8b85a423edfbacb806080b4ededba42bc33e419b5fc71cc011bdbcf542e4aa9be1978a0129bc8 DIST sentry-python-1.45.0.gh.tar.gz 475425 BLAKE2B 8dc46154dfc1c7c9104a706be032b5269d407dee6845da252f1c603ea4f9486d02d1d3c6bec314064b821dee31b503d07a9c17935ca1f4dd6cc4d7b9c3165094 SHA512 dad23a3f6a8e6ef5fe78e1d38a61977d8974edf306d5688537f331801d8fa0f60743d18cc3dadf6e9a9666c55a01c98b9ff8d8808ece7d8f95ee68a69b6cb9be +DIST sentry-python-2.0.1.gh.tar.gz 486632 BLAKE2B ace9891068050d988b3c16622f6937486f733caaf3de864ed973ea156e1e06e44f2d73764d01d5943a9347044c3c880bb9cf00229f2a36f2730aad9ef55660d0 SHA512 c62447a990ead1bebee89cd16d7a9d7a3798c48af53fba2cf5cece47c9bf5971fa1cd2b028b9fe8f7d9996cc48962ca50a61df9899b1c24a2dffced74f38e6ce +DIST sentry-python-2.1.1.gh.tar.gz 499979 BLAKE2B 92a401dd0b7202cff288ea252bcaa52c6b7175607aeddcc8f0f6506b722c694bd4499bef1b058e886bed28493408b197916ffff5b698c8c4470747d80a39e098 SHA512 13566786b97ddc571bbb189a3e57ea6721c57c23805be99929883e37db52fe65b636e6f129118dcb7453cb20bb00a352c4a1fa0d43dce7a71236c9d3a9ad5451 +DIST sentry-python-2.2.0.gh.tar.gz 504733 BLAKE2B 4fb3572790cbdc44f83257fb80972cb20b6b26f9fce0832ca098d79d69aafd68396f5be63ed862493e797ed0ac12a0e796e3fef7422b50de3eddbae52cc267cf SHA512 2b2cbdb6f2f8f18db5218ff927af52b30af40a74b3451adedbad2cb8148e4c45c2dee49bbcb5c1738ecbe8d98d569b5c45e317fd06f88cefac21283a97cd4c43 diff --git a/dev-python/sentry-sdk/sentry-sdk-1.45.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.45.0.ebuild index 1505a8b592c8..4cdc0f653f3e 100644 --- a/dev-python/sentry-sdk/sentry-sdk-1.45.0.ebuild +++ b/dev-python/sentry-sdk/sentry-sdk-1.45.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" RDEPEND=" dev-python/urllib3[${PYTHON_USEDEP}] diff --git a/dev-python/sentry-sdk/sentry-sdk-1.42.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-2.0.1.ebuild index 23a564c8402f..8967a9026b46 100644 --- a/dev-python/sentry-sdk/sentry-sdk-1.42.0.ebuild +++ b/dev-python/sentry-sdk/sentry-sdk-2.0.1.ebuild @@ -61,19 +61,13 @@ python_test() { # tests require Internet access tests/integrations/httpx/test_httpx.py tests/integrations/requests/test_requests.py - tests/integrations/stdlib/test_httplib.py - tests/integrations/flask/test_flask.py tests/integrations/django/test_basic.py tests/integrations/socket/test_socket.py # wtf is it supposed to do?! tests/integrations/gcp/test_gcp.py - # broken by rq-1.10.1 (optional dep) - tests/integrations/rq/test_rq.py - # fastapi is not packaged - tests/integrations/asgi/test_fastapi.py # TODO tests/integrations/bottle - # TODO: causes breakage in other tests + # TODO: most of them hang tests/integrations/starlette # TODO tests/integrations/tornado @@ -83,69 +77,37 @@ python_test() { tests/integrations/aws_lambda # requires quart_auth tests/integrations/quart + # TODO: require opentelemetry (with py3.10) + tests/integrations/opentelemetry ) local EPYTEST_DESELECT=( # hangs - 'tests/test_transport.py::test_transport_works' - # TODO - 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' - tests/test_client.py::test_databag_depth_stripping - tests/test_client.py::test_databag_string_stripping - tests/test_client.py::test_databag_breadth_stripping - tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates - tests/integrations/asgi/test_asgi.py::test_websocket - tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style - tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered - # incompatible version? - tests/integrations/falcon/test_falcon.py - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_large_event_not_truncated - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_session_cookies_{filtered,removed} - # test_circular_references: apparently fragile - 'tests/integrations/threading/test_threading.py::test_circular_references' - # test for new feature, fails with IndexError - tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler - # TODO - tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates - tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled - tests/test_profiler.py::test_sample_buffer - tests/test_profiler.py::test_thread_scheduler_takes_first_samples - tests/test_profiler.py::test_thread_scheduler_takes_more_samples - tests/test_profiler.py::test_thread_scheduler_single_background_thread - # broken with py3.11, *shrug* - tests/test_profiler.py::test_extract_stack_with_max_depth - # TODO - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_long_sql_query_preserved - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_engine_name_not_string - tests/test_scrubber.py::test_breadcrumb_extra_scrubbing - tests/test_scrubber.py::test_span_data_scrubbing - # this is not even funny - tests/test_utils.py::test_installed_modules - # flaky hypothesis stuff - tests/test_serializer.py::test_bytes_serialization_repr_many - # TODO - tests/integrations/aiohttp/test_aiohttp.py::test_basic - tests/tracing/test_decorator_py3.py::test_trace_decorator_{,a}sync_py3 - # crashes Python - tests/integrations/grpc/test_grpc_aio.py - # hangs tests/integrations/threading/test_threading.py::test_propagates_threadpool_hub + # broken teardown? + tests/test_client.py::test_uwsgi_warnings + # too many dependencies installed, sigh + tests/test_new_scopes_compat_event.py + # Internet + tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers + tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers_head_sdk # TODO - tests/test_utils.py::test_default_release + tests/integrations/aiohttp/test_aiohttp.py::test_basic + tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered tests/integrations/sqlalchemy/test_sqlalchemy.py::test_orm_queries - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions tests/integrations/sqlalchemy/test_sqlalchemy.py::test_query_source + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions tests/integrations/stdlib/test_subprocess.py::test_subprocess_basic tests/integrations/threading/test_threading.py tests/integrations/wsgi/test_wsgi.py - 'tests/utils/test_contextvars.py::test_leaks[threads]' - # skipped without gevent but breaks stuff via broken teardown? - tests/test_metrics.py::test_no_metrics_with_gevent - # TODO + tests/test_basics.py::test_auto_enabling_integrations_catches_import_error + tests/test_client.py::test_databag_breadth_stripping + tests/test_client.py::test_databag_depth_stripping + tests/test_client.py::test_databag_string_stripping + tests/test_utils.py::test_default_release + tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sample_rate_enabled + tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sampler_enabled tests/utils/test_contextvars.py::test_leaks - # broken teardown? - tests/test_client.py::test_uwsgi_warnings ) local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 diff --git a/dev-python/sentry-sdk/sentry-sdk-1.44.1.ebuild b/dev-python/sentry-sdk/sentry-sdk-2.1.1.ebuild index 1505a8b592c8..2c15ed7e6ceb 100644 --- a/dev-python/sentry-sdk/sentry-sdk-1.44.1.ebuild +++ b/dev-python/sentry-sdk/sentry-sdk-2.1.1.ebuild @@ -61,19 +61,13 @@ python_test() { # tests require Internet access tests/integrations/httpx/test_httpx.py tests/integrations/requests/test_requests.py - tests/integrations/stdlib/test_httplib.py - tests/integrations/flask/test_flask.py tests/integrations/django/test_basic.py tests/integrations/socket/test_socket.py # wtf is it supposed to do?! tests/integrations/gcp/test_gcp.py - # broken by rq-1.10.1 (optional dep) - tests/integrations/rq/test_rq.py - # fastapi is not packaged - tests/integrations/asgi/test_fastapi.py # TODO tests/integrations/bottle - # TODO: causes breakage in other tests + # TODO: most of them hang tests/integrations/starlette # TODO tests/integrations/tornado @@ -85,69 +79,39 @@ python_test() { tests/integrations/quart # TODO: require opentelemetry (with py3.10) tests/integrations/opentelemetry + # broken (incompatible rq version?) + tests/integrations/rq ) local EPYTEST_DESELECT=( # hangs - 'tests/test_transport.py::test_transport_works' - # TODO - 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' - tests/test_client.py::test_databag_depth_stripping - tests/test_client.py::test_databag_string_stripping - tests/test_client.py::test_databag_breadth_stripping - tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates - tests/integrations/asgi/test_asgi.py::test_websocket - tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style - tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered - # incompatible version? - tests/integrations/falcon/test_falcon.py - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_large_event_not_truncated - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_session_cookies_{filtered,removed} - # test_circular_references: apparently fragile - 'tests/integrations/threading/test_threading.py::test_circular_references' - # test for new feature, fails with IndexError - tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler - # TODO - tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates - tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled - tests/test_profiler.py::test_sample_buffer - tests/test_profiler.py::test_thread_scheduler_takes_first_samples - tests/test_profiler.py::test_thread_scheduler_takes_more_samples - tests/test_profiler.py::test_thread_scheduler_single_background_thread - # broken with py3.11, *shrug* - tests/test_profiler.py::test_extract_stack_with_max_depth - # TODO - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_long_sql_query_preserved - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_engine_name_not_string - tests/test_scrubber.py::test_breadcrumb_extra_scrubbing - tests/test_scrubber.py::test_span_data_scrubbing - # this is not even funny - tests/test_utils.py::test_installed_modules - # flaky hypothesis stuff - tests/test_serializer.py::test_bytes_serialization_repr_many - # TODO - tests/integrations/aiohttp/test_aiohttp.py::test_basic - tests/tracing/test_decorator_py3.py::test_trace_decorator_{,a}sync_py3 - # crashes Python - tests/integrations/grpc/test_grpc_aio.py - # hangs tests/integrations/threading/test_threading.py::test_propagates_threadpool_hub + # broken teardown? + tests/test_client.py::test_uwsgi_warnings + # too many dependencies installed, sigh + tests/test_new_scopes_compat_event.py + # Internet + tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers + tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers_head_sdk # TODO - tests/test_utils.py::test_default_release + tests/integrations/aiohttp/test_aiohttp.py::test_basic + tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered tests/integrations/sqlalchemy/test_sqlalchemy.py::test_orm_queries - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions tests/integrations/sqlalchemy/test_sqlalchemy.py::test_query_source + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions tests/integrations/stdlib/test_subprocess.py::test_subprocess_basic tests/integrations/threading/test_threading.py tests/integrations/wsgi/test_wsgi.py - 'tests/utils/test_contextvars.py::test_leaks[threads]' - # skipped without gevent but breaks stuff via broken teardown? - tests/test_metrics.py::test_no_metrics_with_gevent - # TODO + tests/test_basics.py::test_auto_enabling_integrations_catches_import_error + tests/test_client.py::test_databag_breadth_stripping + tests/test_client.py::test_databag_depth_stripping + tests/test_client.py::test_databag_string_stripping + tests/test_utils.py::test_default_release + tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sample_rate_enabled + tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sampler_enabled tests/utils/test_contextvars.py::test_leaks - # broken teardown? - tests/test_client.py::test_uwsgi_warnings + # pointless, fragile to packages being installed in parallel + tests/test_utils.py::test_installed_modules ) local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 diff --git a/dev-python/sentry-sdk/sentry-sdk-1.44.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-2.2.0.ebuild index 1505a8b592c8..2c15ed7e6ceb 100644 --- a/dev-python/sentry-sdk/sentry-sdk-1.44.0.ebuild +++ b/dev-python/sentry-sdk/sentry-sdk-2.2.0.ebuild @@ -61,19 +61,13 @@ python_test() { # tests require Internet access tests/integrations/httpx/test_httpx.py tests/integrations/requests/test_requests.py - tests/integrations/stdlib/test_httplib.py - tests/integrations/flask/test_flask.py tests/integrations/django/test_basic.py tests/integrations/socket/test_socket.py # wtf is it supposed to do?! tests/integrations/gcp/test_gcp.py - # broken by rq-1.10.1 (optional dep) - tests/integrations/rq/test_rq.py - # fastapi is not packaged - tests/integrations/asgi/test_fastapi.py # TODO tests/integrations/bottle - # TODO: causes breakage in other tests + # TODO: most of them hang tests/integrations/starlette # TODO tests/integrations/tornado @@ -85,69 +79,39 @@ python_test() { tests/integrations/quart # TODO: require opentelemetry (with py3.10) tests/integrations/opentelemetry + # broken (incompatible rq version?) + tests/integrations/rq ) local EPYTEST_DESELECT=( # hangs - 'tests/test_transport.py::test_transport_works' - # TODO - 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' - tests/test_client.py::test_databag_depth_stripping - tests/test_client.py::test_databag_string_stripping - tests/test_client.py::test_databag_breadth_stripping - tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates - tests/integrations/asgi/test_asgi.py::test_websocket - tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style - tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered - # incompatible version? - tests/integrations/falcon/test_falcon.py - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_large_event_not_truncated - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_session_cookies_{filtered,removed} - # test_circular_references: apparently fragile - 'tests/integrations/threading/test_threading.py::test_circular_references' - # test for new feature, fails with IndexError - tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler - # TODO - tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates - tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled - tests/test_profiler.py::test_sample_buffer - tests/test_profiler.py::test_thread_scheduler_takes_first_samples - tests/test_profiler.py::test_thread_scheduler_takes_more_samples - tests/test_profiler.py::test_thread_scheduler_single_background_thread - # broken with py3.11, *shrug* - tests/test_profiler.py::test_extract_stack_with_max_depth - # TODO - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_long_sql_query_preserved - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_engine_name_not_string - tests/test_scrubber.py::test_breadcrumb_extra_scrubbing - tests/test_scrubber.py::test_span_data_scrubbing - # this is not even funny - tests/test_utils.py::test_installed_modules - # flaky hypothesis stuff - tests/test_serializer.py::test_bytes_serialization_repr_many - # TODO - tests/integrations/aiohttp/test_aiohttp.py::test_basic - tests/tracing/test_decorator_py3.py::test_trace_decorator_{,a}sync_py3 - # crashes Python - tests/integrations/grpc/test_grpc_aio.py - # hangs tests/integrations/threading/test_threading.py::test_propagates_threadpool_hub + # broken teardown? + tests/test_client.py::test_uwsgi_warnings + # too many dependencies installed, sigh + tests/test_new_scopes_compat_event.py + # Internet + tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers + tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers_head_sdk # TODO - tests/test_utils.py::test_default_release + tests/integrations/aiohttp/test_aiohttp.py::test_basic + tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered tests/integrations/sqlalchemy/test_sqlalchemy.py::test_orm_queries - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions tests/integrations/sqlalchemy/test_sqlalchemy.py::test_query_source + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions tests/integrations/stdlib/test_subprocess.py::test_subprocess_basic tests/integrations/threading/test_threading.py tests/integrations/wsgi/test_wsgi.py - 'tests/utils/test_contextvars.py::test_leaks[threads]' - # skipped without gevent but breaks stuff via broken teardown? - tests/test_metrics.py::test_no_metrics_with_gevent - # TODO + tests/test_basics.py::test_auto_enabling_integrations_catches_import_error + tests/test_client.py::test_databag_breadth_stripping + tests/test_client.py::test_databag_depth_stripping + tests/test_client.py::test_databag_string_stripping + tests/test_utils.py::test_default_release + tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sample_rate_enabled + tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sampler_enabled tests/utils/test_contextvars.py::test_leaks - # broken teardown? - tests/test_client.py::test_uwsgi_warnings + # pointless, fragile to packages being installed in parallel + tests/test_utils.py::test_installed_modules ) local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 diff --git a/dev-python/serverfiles/metadata.xml b/dev-python/serverfiles/metadata.xml index a80a5ad08f21..825728901be7 100644 --- a/dev-python/serverfiles/metadata.xml +++ b/dev-python/serverfiles/metadata.xml @@ -11,5 +11,6 @@ <stabilize-allarches/> <upstream> <remote-id type="pypi">serverfiles</remote-id> + <remote-id type="github">biolab/serverfiles</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/service-identity/service-identity-24.1.0.ebuild b/dev-python/service-identity/service-identity-24.1.0.ebuild index 9b2c1b491844..0d33a16718f3 100644 --- a/dev-python/service-identity/service-identity-24.1.0.ebuild +++ b/dev-python/service-identity/service-identity-24.1.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/setuptools-gettext/Manifest b/dev-python/setuptools-gettext/Manifest index bf75bb7c26b2..8820b9b1c7b4 100644 --- a/dev-python/setuptools-gettext/Manifest +++ b/dev-python/setuptools-gettext/Manifest @@ -1 +1,2 @@ DIST setuptools-gettext-0.1.11.tar.gz 15582 BLAKE2B a47e8c05683dbf8ac2db9dcbf66f8d680a6d1788ee00f1affcc356fd12ee31d92f6698c9dd1f293000ffb129d6eda2a71b90d0bee1875308f155137c9d2f7cf2 SHA512 abcb0df4604a78959365d3447112d4f74944b26ccc1e0d43771e38ee071c5915a4deda8c852eebbc58c689bcae29cd13604f8b96cea4cc0d6eb6ca4e265e34f7 +DIST setuptools_gettext-0.1.14.tar.gz 16177 BLAKE2B ad34ca37db52bdb2d317592e76e765636402ea2e656af22e31e7e2dfd59edce88003b14d4180b9b77b402ae2b53dcb9cebb0e065753272387bdaeee3af6baefd SHA512 40a76eb94173f704158dc676d332c436b81d11f2045276622cee2ab08636b988f3e95fa60bc4fdeeb72334d2daa51e56cd394f441479221b266e187bda2b928c diff --git a/dev-python/setuptools-gettext/setuptools-gettext-0.1.14.ebuild b/dev-python/setuptools-gettext/setuptools-gettext-0.1.14.ebuild new file mode 100644 index 000000000000..222efeb89a60 --- /dev/null +++ b/dev-python/setuptools-gettext/setuptools-gettext-0.1.14.ebuild @@ -0,0 +1,36 @@ +# Copyright 2023-2024 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="Setuptools plugin for building mo files" +HOMEPAGE=" + https://pypi.org/project/setuptools-gettext/ + https://github.com/breezy-team/setuptools-gettext +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + sys-devel/gettext + $(python_gen_cond_dep ' + >=dev-python/tomli-1.2.1[${PYTHON_USEDEP}] + ' 3.10) +" + +python_test() { + cd example || die + distutils_pep517_install "${T}/${EPYTHON}" + if [[ ! -f ${T}/${EPYTHON}/usr/share/locale/nl/LC_MESSAGES/hallowereld.mo ]] + then + die ".mo file not installed" + fi +} diff --git a/dev-python/setuptools-rust/setuptools-rust-1.9.0.ebuild b/dev-python/setuptools-rust/setuptools-rust-1.9.0.ebuild index 25678e894354..ca36f798ff51 100644 --- a/dev-python/setuptools-rust/setuptools-rust-1.9.0.ebuild +++ b/dev-python/setuptools-rust/setuptools-rust-1.9.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 CARGO_OPTIONAL=yes DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) CRATES=" autocfg@1.1.0 @@ -162,6 +162,8 @@ src_unpack() { } python_test() { + local -x UNSAFE_PYO3_SKIP_VERSION_CHECK=1 + local examples=( html-py-ever namespace_package diff --git a/dev-python/setuptools-scm/Manifest b/dev-python/setuptools-scm/Manifest index 2d12f5b27640..0e76efb97976 100644 --- a/dev-python/setuptools-scm/Manifest +++ b/dev-python/setuptools-scm/Manifest @@ -1,2 +1,3 @@ DIST setuptools-scm-8.0.4.tar.gz 74280 BLAKE2B 317f4955365b6b7d21ddecc846b0158a72537692b70b5f2092183bd93af119875054d775628659b113dec3bdb94575485b6f1e58760f1580b143dc3b0882cb57 SHA512 1b584f20dfad115f379a97de9e96bb3b36ab00986381748c2f395facd26ce01a6556ccfbabeb8f0cf9ce8720b26ce3a00040dba02cc689701ccf1d31f13277da DIST setuptools_scm-7.1.0.tar.gz 71904 BLAKE2B be5ae215dadcc290290762b732434258409ecc2d71cdf1332ffe73431effae7cbc33e052a718efd952be79350171ed3e468492fc719bc08750dc23364fb0ee9d SHA512 bd7260672c213db6b8c5842dbb6ac69e69ce040777865c935033971f65d905bd8e6b54e174190a924e452c302e69d4c1de231cbc8f603176ba013a739840dad3 +DIST setuptools_scm-8.1.0.tar.gz 76465 BLAKE2B f50a1c25c93179809cb448dbaeab9d71596c729e374c88c2f8d9f5f7a1d746a001f9aa9fb93478679f1c1af96f35313e1250f96375f56310a4b814ee0542ed52 SHA512 205f1c122539d107a61a7ef01ff9ec225f7b2e6d92fc33a9f2a0c616051cbf32163ac4e6878d898e51cc1ff81fce6c6521a18fc5e09bdbc9d7d2467ba013c57f diff --git a/dev-python/setuptools-scm/setuptools-scm-8.1.0.ebuild b/dev-python/setuptools-scm/setuptools-scm-8.1.0.ebuild new file mode 100644 index 000000000000..0c88af19a60f --- /dev/null +++ b/dev-python/setuptools-scm/setuptools-scm-8.1.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Manage versions by scm tags via setuptools" +HOMEPAGE=" + https://github.com/pypa/setuptools_scm/ + https://pypi.org/project/setuptools-scm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +# there's an optional dep on rich for cute logs +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-vcs/git + !sparc? ( + dev-vcs/mercurial + ) + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # the usual nondescript gpg-agent failure + testing/test_git.py::test_git_getdate_signed_commit + + # fetching from the Internet + testing/test_regressions.py::test_pip_download + + # calls flake8, unpredictable + testing/test_functions.py::test_dump_version_flake8 + ) + + if has_version dev-python/nose; then + EPYTEST_DESELECT+=( + # https://bugs.gentoo.org/892639 + testing/test_integration.py::test_pyproject_support + ) + fi + + epytest +} diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index 28faea005510..f58862845837 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -1,3 +1,2 @@ DIST setuptools-69.0.3.tar.gz 2219609 BLAKE2B 1a5e7896c7ea82d51b0aa4794435b9899cef871f6ae43d22ae5e08c57d87b70641f3f2abfcc29956a3de515f90b112fd61d3daf793474b4cf33f8567e3a38f4a SHA512 11df934931f4b73f7e07ea5713479593c6baa134d423556b2ae7aff0f1e5bdbdee1f5b516131adb169c838231ceb0293441fbf275ef7030dabecf74122565b6d -DIST setuptools-69.2.0.tar.gz 2222950 BLAKE2B 9f2bfee2bc6ca05c319137166d8b7a4fc8352652e7b29385e5dd8e692c2ea17e46b06c9c1ba78d8bb128682e57248e41900fa73bf4c4f323929d170d306e1d38 SHA512 e69abe573304b1c2c074144c9df663fec0d6ce617359f070ca8d57710e4beb99435d0d2124d45a7d8b24889693597e1e03875bc6ff960fa31f6250e1c253b906 DIST setuptools-69.5.1.tar.gz 2291314 BLAKE2B 3756dd587136c7e688bdfecf4c0434c0e799f50f9a9a95750d41cb75e26b613b3dc178f43a9e0d21f17c42a7c4ad7461e7986966aefb814e3d0ff05178c82542 SHA512 81f4a5184976a0d4aa070261bb56458c54ec6a479786fa469e98cb336e9a1691b281ae771abe41bc5398fac15b2dd039c07cf014ee00572f46908ce6830fcb6a diff --git a/dev-python/setuptools/files/setuptools-69.5.1-py313.patch b/dev-python/setuptools/files/setuptools-69.5.1-py313.patch new file mode 100644 index 000000000000..7222d3dba266 --- /dev/null +++ b/dev-python/setuptools/files/setuptools-69.5.1-py313.patch @@ -0,0 +1,30 @@ +From c6266e423fa26aafa01f1df71de7c6613273155e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz> +Date: Tue, 14 May 2024 16:24:07 +0200 +Subject: [PATCH] Make the validation test for entry-points work with Python + 3.13+ + +The exception in importlib.metadata has changed. +See https://github.com/python/importlib_metadata/issues/488 + +This makes an existing test pass with Python 3.13. + +Partially fixes https://github.com/pypa/setuptools/issues/4196 +--- + setuptools/_entry_points.py | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/setuptools/_entry_points.py b/setuptools/_entry_points.py +index 747a69067e..b244e78387 100644 +--- a/setuptools/_entry_points.py ++++ b/setuptools/_entry_points.py +@@ -17,7 +17,8 @@ def ensure_valid(ep): + """ + try: + ep.extras +- except AttributeError as ex: ++ except (AttributeError, AssertionError) as ex: ++ # Why both? See https://github.com/python/importlib_metadata/issues/488 + msg = ( + f"Problems to parse {ep}.\nPlease ensure entry-point follows the spec: " + "https://packaging.python.org/en/latest/specifications/entry-points/" diff --git a/dev-python/setuptools/setuptools-69.2.0-r1.ebuild b/dev-python/setuptools/setuptools-69.2.0-r1.ebuild deleted file mode 100644 index 67da0231f6ab..000000000000 --- a/dev-python/setuptools/setuptools-69.2.0-r1.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -# please bump dev-python/ensurepip-setuptools along with this package! - -DISTUTILS_USE_PEP517=standalone -PYTHON_TESTED=( python3_{10..12} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Collection of extensions to Distutils" -HOMEPAGE=" - https://github.com/pypa/setuptools/ - https://pypi.org/project/setuptools/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] - >=dev-python/packaging-23.2[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}] - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/build[${PYTHON_USEDEP}] - dev-python/importlib-metadata[${PYTHON_USEDEP}] - >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}] - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - dev-python/pip-run[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - >=dev-python/pytest-home-0.5[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/tomli[${PYTHON_USEDEP}] - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" -# setuptools-scm is here because installing plugins apparently breaks stuff at -# runtime, so let's pull it early. See bug #663324. -PDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] -" - -src_prepare() { - local PATCHES=( - # TODO: remove this when we're 100% PEP517 mode - "${FILESDIR}"/setuptools-62.4.0-py-compile.patch - ) - - distutils-r1_src_prepare - - # remove bundled dependencies - rm -r */_vendor || die - - # remove the ugly */extern hack that breaks on unvendored deps - rm -r */extern || die - find -name '*.py' -exec sed \ - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \ - -i {} + || die -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - return - fi - - local EPYTEST_DESELECT=( - # network - # TODO: see if PRE_BUILT_SETUPTOOLS_* helps - setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist - setuptools/tests/test_build_meta.py::test_legacy_editable_install - setuptools/tests/test_distutils_adoption.py - setuptools/tests/test_editable_install.py - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests - setuptools/tests/test_virtualenv.py::test_clean_env_install - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements - # TODO - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors - setuptools/tests/test_extern.py::test_distribution_picklable - # expects bundled deps in virtualenv - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel - # fails if python-xlib is installed - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts - # TODO, probably some random package - setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass - # Internet, sigh - setuptools/tests/test_integration.py - ) - - case ${EPYTHON} in - python3.12) - EPYTEST_DESELECT+=( - # TODO - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_distutils_command_dep - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_transitive_extra_dependency - ) - esac - - local EPYTEST_XDIST=1 - epytest -o tmp_path_retention_policy=all setuptools -} diff --git a/dev-python/setuptools/setuptools-69.5.1.ebuild b/dev-python/setuptools/setuptools-69.5.1-r1.ebuild index dc754993995f..548567ac52f4 100644 --- a/dev-python/setuptools/setuptools-69.5.1.ebuild +++ b/dev-python/setuptools/setuptools-69.5.1-r1.ebuild @@ -7,7 +7,7 @@ EAPI=8 # please bump dev-python/ensurepip-setuptools along with this package! DISTUTILS_USE_PEP517=standalone -PYTHON_TESTED=( python3_{10..12} pypy3 ) +PYTHON_TESTED=( python3_{10..13} pypy3 ) PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) PYTHON_REQ_USE="xml(+)" @@ -21,7 +21,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test" RESTRICT="!test? ( test )" @@ -32,15 +32,16 @@ RDEPEND=" >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] >=dev-python/packaging-24[${PYTHON_USEDEP}] >=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}] - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) " BDEPEND=" ${RDEPEND} test? ( $(python_gen_cond_dep ' dev-python/build[${PYTHON_USEDEP}] - dev-python/importlib-metadata[${PYTHON_USEDEP}] >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}] >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] @@ -52,9 +53,11 @@ BDEPEND=" dev-python/pytest-timeout[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] dev-python/tomli[${PYTHON_USEDEP}] - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] >=dev-python/virtualenv-20[${PYTHON_USEDEP}] ' "${PYTHON_TESTED[@]}") + $(python_gen_cond_dep ' + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + ' python3_10 pypy3) ) " # setuptools-scm is here because installing plugins apparently breaks stuff at @@ -66,7 +69,10 @@ PDEPEND=" src_prepare() { local PATCHES=( # TODO: remove this when we're 100% PEP517 mode - "${FILESDIR}"/setuptools-62.4.0-py-compile.patch + "${FILESDIR}/setuptools-62.4.0-py-compile.patch" + + # https://github.com/pypa/setuptools/pull/4357 + "${FILESDIR}/${P}-py313.patch" ) distutils-r1_src_prepare diff --git a/dev-python/sh/sh-2.0.6.ebuild b/dev-python/sh/sh-2.0.6.ebuild index 225ef8c24d1c..878923a7fd9c 100644 --- a/dev-python/sh/sh-2.0.6.ebuild +++ b/dev-python/sh/sh-2.0.6.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/shapely/Manifest b/dev-python/shapely/Manifest index 0934e8098cb6..ba0e94bdd1ce 100644 --- a/dev-python/shapely/Manifest +++ b/dev-python/shapely/Manifest @@ -1,2 +1 @@ -DIST shapely-2.0.3.gh.tar.gz 330889 BLAKE2B 32b56fb6517ee1831f2a93a54b2844e71fb860b3d0de992c9c16ab3e028ade8f6a0ecb5a5c7c8104637111486cec24ecbeb6fe0cf1a1f5282f8bc0b2c73a112a SHA512 862c9af9a40ddc759094375689327298979cb19cde6e4fbd0edc7e6bd0ed5296960628a4be7030bedfecaa8d3dd77bc1e1bac137d698530fea055ddc914e2ab8 DIST shapely-2.0.4.gh.tar.gz 331588 BLAKE2B 4b7f8afa8e4358ed473c6172c340520a4cdf7ab76752c12a96070e88834c0b44fa87b0815fecbe337f012ca1d15bc3f38cb59ef23cf589d4e3e8f2ecbafb5660 SHA512 497bb6d1b3fbfc5758c167e984bb57f52746dae47d7d365e6f13e3879beced8194aea9119c287c8eadf2f74e038e2dbb07e906177f521fab195edcb4b7a9bdbb diff --git a/dev-python/shapely/shapely-2.0.3.ebuild b/dev-python/shapely/shapely-2.0.4-r1.ebuild index 88759a0d52d6..7807d991a0e5 100644 --- a/dev-python/shapely/shapely-2.0.3.ebuild +++ b/dev-python/shapely/shapely-2.0.4-r1.ebuild @@ -26,11 +26,11 @@ SLOT="0" KEYWORDS="amd64 arm64 ~x86" DEPEND=" + dev-python/numpy:=[${PYTHON_USEDEP}] >=sci-libs/geos-3.9 " RDEPEND=" ${DEPEND} - dev-python/numpy[${PYTHON_USEDEP}] " BDEPEND=" ${DEPEND} diff --git a/dev-python/shapely/shapely-2.0.4.ebuild b/dev-python/shapely/shapely-2.0.4.ebuild deleted file mode 100644 index 30e3436f91d3..000000000000 --- a/dev-python/shapely/shapely-2.0.4.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-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} ) - -inherit distutils-r1 - -MY_P=${P/_p/.post} -DESCRIPTION="Geometric objects, predicates, and operations" -HOMEPAGE=" - https://pypi.org/project/shapely/ - https://github.com/shapely/shapely/ -" -SRC_URI=" - https://github.com/shapely/shapely/archive/${PV/_p/.post}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -DEPEND=" - >=sci-libs/geos-3.9 -" -RDEPEND=" - ${DEPEND} - dev-python/numpy[${PYTHON_USEDEP}] -" -BDEPEND=" - ${DEPEND} - >=dev-python/cython-0.29.32[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] -" - -PATCHES=( - "${FILESDIR}"/${PN}-2.0.2-c99.patch -) - -distutils_enable_tests pytest - -python_test() { - rm -rf shapely || die - epytest --pyargs shapely -} diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest index c66692a09951..be987c7433ba 100644 --- a/dev-python/shiboken6/Manifest +++ b/dev-python/shiboken6/Manifest @@ -1,2 +1 @@ -DIST pyside-setup-everywhere-src-6.6.2.tar.xz 13975896 BLAKE2B b4572e58613e5446692e8c4cef28156fd0126ecda0c6334652ce49c6c7ce4614dbf2400c693addaa38e9b6cca9e331b9fe84c83ddb26e7014b8603afe2c54ad6 SHA512 1d23d27a4cbe74434ec5d391172416d324b4c92181401444821b456b4e27dabbdb3dcaad685a22b62c09f750555a4e626bbb6406a2fbde1cf4ec5c8bbb64cda5 DIST pyside-setup-everywhere-src-6.7.0.tar.xz 14382456 BLAKE2B 607e496cdeb7e55166b4f0dc15662a8792c7d8925856e8edbb927dfdc33342d158f430e3433d3d4a78ea33740e333fb2422ea1f4332408c3c6214f92d31bdd0d SHA512 7801d564d8d359edec431dc0e6f170538b9fc6f834cb7ab8eff41c1989bffb619c446d4d62d65db2a5b7592c0bff5d450d42de2797726658fe1a8f53df8a4c14 diff --git a/dev-python/shiboken6/shiboken6-6.6.2-r1.ebuild b/dev-python/shiboken6/shiboken6-6.6.2-r1.ebuild deleted file mode 100644 index 181ab1d02922..000000000000 --- a/dev-python/shiboken6/shiboken6-6.6.2-r1.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# TODO: Split the "/usr/bin/shiboken6" binding generator from the -# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former -# requires everything (including Clang) at runtime; the latter only requires -# Qt and Python at runtime. Note that "pip" separates these two as well. See: -# https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding -# Once split, the PySide6 ebuild should be revised to require -# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime. -# TODO: Add PyPy once officially supported. See also: -# https://bugreports.qt.io/browse/PYSIDE-535 -PYTHON_COMPAT=( python3_{10..12} ) - -LLVM_COMPAT=( {15..17} ) - -inherit cmake flag-o-matic llvm-r1 python-r1 toolchain-funcs - -MY_PN="pyside-setup-everywhere-src" - -DESCRIPTION="Python binding generator for C++ libraries" -HOMEPAGE="https://wiki.qt.io/PySide6" -SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz" -S="${WORKDIR}/${MY_PN}-${PV}/sources/shiboken6" - -# The "sources/shiboken6/libshiboken" directory is triple-licensed under the -# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3 -# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be -# arbitrarily relicensed. (TODO) -LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+docstrings numpy test vulkan" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# Tests fail pretty bad and I'm not fixing them right now -RESTRICT="test" - -# Minimal supported version of Qt. -QT_PV="$(ver_cut 1-3)*:6" - -# Since Clang is required at both build- and runtime, BDEPEND is omitted here. -RDEPEND="${PYTHON_DEPS} - =dev-qt/qtbase-${QT_PV} - $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} - ') - docstrings? ( - >=dev-libs/libxml2-2.6.32 - >=dev-libs/libxslt-1.1.19 - ) - numpy? ( dev-python/numpy[${PYTHON_USEDEP}] ) - vulkan? ( dev-util/vulkan-headers ) -" -DEPEND="${RDEPEND} - test? ( =dev-qt/qtbase-${QT_PV}[gui] ) -" -# testlib is toggled by the gui flag on qtbase - -DOCS=( AUTHORS ) - -PATCHES=( - "${FILESDIR}/${PN}-6.3.1-no-strip.patch" -) - -src_prepare() { - # TODO: File upstream issue requesting a sane way to disable NumPy support. - if ! use numpy; then - sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \ - libshiboken/CMakeLists.txt || die - fi - - # Shiboken6 assumes Vulkan headers live under either "$VULKAN_SDK/include" - # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan". - if use vulkan; then - sed -i -e "s~\bdetectVulkan(&headerPaths);~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"), HeaderType::System});~" \ - ApiExtractor/clangparser/compilersupport.cpp || die - fi - - local clangver="$(CPP=clang clang-major-version)" - - # Clang 15 and older used the full version as a directory name. - if [[ ${clangver} -lt 16 ]]; then - clangver="$(CPP=clang clang-fullversion)" - fi - - # Shiboken6 assumes the "/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/" - # subdirectory provides Clang builtin includes (e.g., "stddef.h") for the - # currently installed version of Clang, where ${CLANG_NEWEST_VERSION} is - # the largest version specifier that exists under the "/usr/lib/clang/" - # subdirectory. This assumption is false in edge cases, including when - # users downgrade from newer Clang versions but fail to remove those - # versions with "emerge --depclean". See also: - # https://github.com/leycec/raiagent/issues/85 - # - # Sadly, the clang-* family of functions exported by the "toolchain-funcs" - # eclass are defective, returning nonsensical placeholder strings if the - # end user has *NOT* explicitly configured their C++ compiler to be Clang. - # PySide6 does *NOT* care whether the end user has done so or not, as - # PySide6 unconditionally requires Clang in either case. See also: - # https://bugs.gentoo.org/619490 - sed -i -e 's~(findClangBuiltInIncludesDir())~(QStringLiteral("'"${EPREFIX}"'/usr/lib/clang/'"${clangver}"'/include"))~' \ - ApiExtractor/clangparser/compilersupport.cpp || die - - cmake_src_prepare -} - -src_configure() { - # -Werror=odr - # https://bugs.gentoo.org/925479 - # https://bugreports.qt.io/browse/PYSIDE-2619 - filter-lto - - # Minimal tests for now, 2 failing with the extended version - # FIXME Subscripted generics cannot be used with class and instance checks - local mycmakeargs=( - -DBUILD_TESTS=$(usex test) - -DDISABLE_DOCSTRINGS=$(usex !docstrings) - ) - - shiboken6_configure() { - local mycmakeargs=( - "${mycmakeargs[@]}" - -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}" - -DPYTHON_EXECUTABLE="${PYTHON}" - -DUSE_PYTHON_VERSION="${EPYTHON#python}" - -DFORCE_LIMITED_API=OFF - ) - # CMakeLists.txt expects LLVM_INSTALL_DIR as an environment variable. - local -x LLVM_INSTALL_DIR="$(get_llvm_prefix)" - cmake_src_configure - } - python_foreach_impl shiboken6_configure -} - -src_compile() { - python_foreach_impl cmake_src_compile -} - -src_test() { - python_foreach_impl cmake_src_test -} - -src_install() { - shiboken6_install() { - cmake_src_install - python_optimize - - # Uniquify the "shiboken6" executable for the current Python target, - # preserving an unversioned "shiboken6" file arbitrarily associated - # with the last Python target. - cp "${ED}"/usr/bin/${PN}{,-${EPYTHON}} || die - - # Uniquify the Shiboken6 pkgconfig file for the current Python target, - # preserving an unversioned "shiboken6.pc" file arbitrarily associated - # with the last Python target. See also: - # https://github.com/leycec/raiagent/issues/73 - cp "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}{,-${EPYTHON}}.pc || die - } - python_foreach_impl shiboken6_install - - # CMakeLists.txt installs a "Shiboken6Targets-gentoo.cmake" file forcing - # downstream consumers (e.g., PySide6) to target one "libshiboken6-*.so" - # library and one "shiboken6" executable linked to one Python interpreter. - # See also: - # https://bugreports.qt.io/browse/PYSIDE-1053 - # https://github.com/leycec/raiagent/issues/74 - sed -i \ - -e 's~shiboken6-python[[:digit:]]\+\.[[:digit:]]\+~shiboken6${PYTHON_CONFIG_SUFFIX}~g' \ - -e 's~/bin/shiboken6~/bin/shiboken6${PYTHON_CONFIG_SUFFIX}~g' \ - "${ED}/usr/$(get_libdir)"/cmake/Shiboken6/Shiboken6Targets-${CMAKE_BUILD_TYPE,,}.cmake || die - - # Remove the broken "shiboken_tool.py" script. By inspection, this script - # reduces to a noop. Moreover, this script raises the following exception: - # FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/../shiboken_tool.py': '/usr/bin/../shiboken_tool.py' - rm "${ED}"/usr/bin/shiboken_tool.py || die -} diff --git a/dev-python/shiboken6/shiboken6-6.7.0.ebuild b/dev-python/shiboken6/shiboken6-6.7.0.ebuild index 1ef71d57974f..faac009c177a 100644 --- a/dev-python/shiboken6/shiboken6-6.7.0.ebuild +++ b/dev-python/shiboken6/shiboken6-6.7.0.ebuild @@ -31,7 +31,7 @@ S="${WORKDIR}/${MY_PN}-${PV}/sources/shiboken6" # arbitrarily relicensed. (TODO) LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="+docstrings numpy test vulkan" REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/dev-python/shtab/shtab-1.7.1.ebuild b/dev-python/shtab/shtab-1.7.1.ebuild index b6254c544da0..fb64e3ad4dd7 100644 --- a/dev-python/shtab/shtab-1.7.1.ebuild +++ b/dev-python/shtab/shtab-1.7.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~arm x86" BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]" diff --git a/dev-python/simplegeneric/Manifest b/dev-python/simplegeneric/Manifest deleted file mode 100644 index 3459f19c92b1..000000000000 --- a/dev-python/simplegeneric/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST simplegeneric-0.8.1.zip 12663 BLAKE2B cc3d70f8f4f04209b7ce259c6caaccec001515a3da04736cb8baa5fe7e6091f4f85bdde0c5c4227a01bfe52739f51ab0116d8bfdc4bb58bd2188c3a54c5eac37 SHA512 74c25d4e04fe197058cb43fabe3702cc5901989dc0b0bcf7511369f4f3d90fd98e4225174db0680c8f39389914f82824bdbdaf4c302b53998fbabbf0dba393e4 diff --git a/dev-python/simplegeneric/metadata.xml b/dev-python/simplegeneric/metadata.xml deleted file mode 100644 index d25c0a26f03b..000000000000 --- a/dev-python/simplegeneric/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <longdescription> - The simplegeneric module lets you define simple single-dispatch - generic functions, akin to Python's built-in generic functions like len(), - iter() and so on. However, instead of using specially-named methods, these - generic functions use simple lookup tables, akin to those used by - e.g. pickle.dump() and other generic functions found in the Python - standard library. - </longdescription> - <stabilize-allarches/> - <upstream> - <remote-id type="pypi">simplegeneric</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/simplegeneric/simplegeneric-0.8.1-r2.ebuild b/dev-python/simplegeneric/simplegeneric-0.8.1-r2.ebuild deleted file mode 100644 index b08472dd32da..000000000000 --- a/dev-python/simplegeneric/simplegeneric-0.8.1-r2.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Simple generic functions for Python" -HOMEPAGE="https://pypi.org/project/simplegeneric/" -SRC_URI="$(pypi_sdist_url "${PN}" "${PV}" .zip)" - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" - -BDEPEND=" - app-arch/unzip -" - -distutils_enable_tests setup.py diff --git a/dev-python/simplejson/simplejson-3.19.2.ebuild b/dev-python/simplejson/simplejson-3.19.2.ebuild index a014c1d7ed9b..78c4ef114cf0 100644 --- a/dev-python/simplejson/simplejson-3.19.2.ebuild +++ b/dev-python/simplejson/simplejson-3.19.2.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-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} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/simsimd/Manifest b/dev-python/simsimd/Manifest new file mode 100644 index 000000000000..f8e563bde92f --- /dev/null +++ b/dev-python/simsimd/Manifest @@ -0,0 +1 @@ +DIST SimSIMD-4.3.1.gh.tar.gz 105424 BLAKE2B b5886261ad8290662325321816cf9e7eeb7059b58e3e2352f341345667393d4ee009a840061768666234ae2619bbd4c7522726a2efc4f60935309a393649fd22 SHA512 722a8ae473d4526130a0d80bd6074ba6cee7a2566414505b7db8cd4d63efade2470153e4364a9cff140780fc839264c7ccb6580983170d25ff3bbb4a00d78155 diff --git a/dev-python/simsimd/metadata.xml b/dev-python/simsimd/metadata.xml new file mode 100644 index 000000000000..2d9fde8689d5 --- /dev/null +++ b/dev-python/simsimd/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">ashvardanian/SimSIMD</remote-id> + <remote-id type="pypi">simsimd</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/simsimd/simsimd-4.3.1.ebuild b/dev-python/simsimd/simsimd-4.3.1.ebuild new file mode 100644 index 000000000000..ede8569c67d3 --- /dev/null +++ b/dev-python/simsimd/simsimd-4.3.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 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=( pypy3 python3_{10..12} ) + +inherit distutils-r1 toolchain-funcs + +MY_P=SimSIMD-${PV} +DESCRIPTION="Fastest SIMD-Accelerated Vector Similarity Functions for x86 and Arm" +HOMEPAGE=" + https://github.com/ashvardanian/SimSIMD/ + https://pypi.org/project/simsimd/ +" +# no sdist, as of 4.3.1 +# https://github.com/ashvardanian/SimSIMD/issues/113 +SRC_URI=" + https://github.com/ashvardanian/SimSIMD/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="openmp" + +BDEPEND=" + test? ( + dev-python/pytest-repeat[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]] && use openmp; then + tc-check-openmp + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]] && use openmp; then + tc-check-openmp + fi +} + +src_prepare() { + # https://github.com/ashvardanian/SimSIMD/pull/115 + sed -i -e '/-O3/d' -e 's:-lgomp:-fopenmp:' setup.py || die + if ! use openmp; then + sed -i -e '/-fopenmp/d' setup.py || die + fi + + distutils-r1_src_prepare +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p repeat python/test.py +} diff --git a/dev-python/sip/sip-6.8.3.ebuild b/dev-python/sip/sip-6.8.3.ebuild index 5f9ffe71e07e..e3cdc24f0a54 100644 --- a/dev-python/sip/sip-6.8.3.ebuild +++ b/dev-python/sip/sip-6.8.3.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi DESCRIPTION="Python bindings generator for C/C++ libraries" diff --git a/dev-python/six/six-1.16.0-r1.ebuild b/dev-python/six/six-1.16.0-r1.ebuild index df1788703008..9850b41681e3 100644 --- a/dev-python/six/six-1.16.0-r1.ebuild +++ b/dev-python/six/six-1.16.0-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -23,9 +23,19 @@ distutils_enable_tests pytest python_test() { local EPYTEST_DESELECT=() - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( - 'test_six.py::test_move_items[dbm_ndbm]' - ) - + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + 'test_six.py::test_move_items[dbm_ndbm]' + ) + ;; + python3.13) + EPYTEST_DESELECT+=( + 'test_six.py::test_move_items[tkinter_tix]' + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest } diff --git a/dev-python/sniffio/sniffio-1.3.1.ebuild b/dev-python/sniffio/sniffio-1.3.1.ebuild index 73a28d316f7d..26c7f2e1d715 100644 --- a/dev-python/sniffio/sniffio-1.3.1.ebuild +++ b/dev-python/sniffio/sniffio-1.3.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/socksio/socksio-1.0.0.ebuild b/dev-python/socksio/socksio-1.0.0.ebuild index dcfe1c0b002b..8ad8398a70d0 100644 --- a/dev-python/socksio/socksio-1.0.0.ebuild +++ b/dev-python/socksio/socksio-1.0.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/sortedcontainers/sortedcontainers-2.4.0-r1.ebuild b/dev-python/sortedcontainers/sortedcontainers-2.4.0-r1.ebuild index 6757e2ff7596..43fb8db977c9 100644 --- a/dev-python/sortedcontainers/sortedcontainers-2.4.0-r1.ebuild +++ b/dev-python/sortedcontainers/sortedcontainers-2.4.0-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/soupsieve/soupsieve-2.5.ebuild b/dev-python/soupsieve/soupsieve-2.5.ebuild index 2958ba30e5db..bf71993e5753 100644 --- a/dev-python/soupsieve/soupsieve-2.5.ebuild +++ b/dev-python/soupsieve/soupsieve-2.5.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/sphinx-autodoc-typehints/Manifest b/dev-python/sphinx-autodoc-typehints/Manifest index 8a66c0fe78fc..8bd48b726f11 100644 --- a/dev-python/sphinx-autodoc-typehints/Manifest +++ b/dev-python/sphinx-autodoc-typehints/Manifest @@ -1 +1 @@ -DIST sphinx_autodoc_typehints-2.0.0.tar.gz 37951 BLAKE2B 55fc5bd4a430095b9b80b7313da96ac177f55d8e31068ded7c740cc2757580b611bfdb0aa53cc8344564cf01b052518854ea040a70ea568bd098505f8c2dfca8 SHA512 e37839b8f9393334f43b2b97f3d9ade4a2e11182e634c4ee37a916bcf4425c624376edcd3b25b054a23e15624393e3a79fdbc1775f6b3808e09bc8a85a2262d5 +DIST sphinx_autodoc_typehints-2.1.0.tar.gz 39386 BLAKE2B ccf6b618fc3db2a576a2d9a36a575087cdc3c7c5cf59a6057a956478a12715b1623dc4bc1ae3f7c30deab317a15fa187faf19f9d050fa61c293dc20bee41effd SHA512 59c5b4c682fadc1d0ec62a5aa639bb87d6e4710db89793824c348c7598d73b144f0b083ce6462ea32d958b1ed7fd2fb96c2a92780267adef03b625e64c08c412 diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-2.0.0.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-2.1.0.ebuild index 9114707e3150..dd2aff21f131 100644 --- a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-2.0.0.ebuild +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-2.1.0.ebuild @@ -15,8 +15,8 @@ HOMEPAGE=" " LICENSE="MIT" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/sphinx-7.1.2[${PYTHON_USEDEP}] @@ -36,4 +36,6 @@ distutils_enable_tests pytest EPYTEST_DESELECT=( # this package is addicted to Internet tests/test_sphinx_autodoc_typehints.py::test_format_annotation + # TODO + 'tests/test_sphinx_autodoc_typehints.py::test_always_document_param_types[doc_param_type]' ) diff --git a/dev-python/sphinx-gallery/Manifest b/dev-python/sphinx-gallery/Manifest index 6c907aa1741d..3a1c4c5b08a6 100644 --- a/dev-python/sphinx-gallery/Manifest +++ b/dev-python/sphinx-gallery/Manifest @@ -1 +1 @@ -DIST sphinx-gallery-0.15.0.tar.gz 422363 BLAKE2B cbca8ec252e03e9cacc0df27da43ebc9bbed8531d5df65bf9cb7f54f7ae8b127582f353cb245bcc459d6fa86240207346a05d777504163d49be0fabb029a172b SHA512 b6b0d5022da9de27417f8cc72ba24f0d51e57f83c68b17a296269b074888a711d61fcf933fbbfaf4d6977702b3f020d4b0eaa89e78e51185ee2dd26e911fe8be +DIST sphinx_gallery-0.16.0.tar.gz 432247 BLAKE2B 130800616a29be2daedb77404f79ca8d1543ecd391f45f8f19cbcf46ce742d02725d9b087be337d11496021b5c486c6c24b35f22b2c7d4cb575cb2c217d328db SHA512 b45e9141d64b1e277d75f501f2cc40979942953cd8412716e5af64917a3b9adc0a746fbd6249c3636c3db222c1e438ee7f9a9ad93f57b2f05f9ec80a562796c3 diff --git a/dev-python/sphinx-gallery/sphinx-gallery-0.15.0.ebuild b/dev-python/sphinx-gallery/sphinx-gallery-0.16.0.ebuild index 48ff63d45f49..ad9ca7368bfd 100644 --- a/dev-python/sphinx-gallery/sphinx-gallery-0.15.0.ebuild +++ b/dev-python/sphinx-gallery/sphinx-gallery-0.16.0.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 pypi @@ -23,9 +22,10 @@ KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/matplotlib[${PYTHON_USEDEP}] dev-python/pillow[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] + >=dev-python/sphinx-4[${PYTHON_USEDEP}] " BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] test? ( dev-python/joblib[${PYTHON_USEDEP}] ) diff --git a/dev-python/sphinx-issues/Manifest b/dev-python/sphinx-issues/Manifest index a3c6f9f1a7ec..582e55558da8 100644 --- a/dev-python/sphinx-issues/Manifest +++ b/dev-python/sphinx-issues/Manifest @@ -1,2 +1 @@ -DIST sphinx_issues-4.0.0.tar.gz 13945 BLAKE2B 43994155a5040b63f34f48b2ddf8f39cf36bd97fc464619f1adb55a2c9b433fb5c1c65f8cd5b2f7928afbd5ebbbbad67c69490ae67aaf220c0a5cf8c44876b69 SHA512 77e249c9ccd9dec96e64ba898e8cf2d1922c6190ad67e9d4d823a4d08d3c07bae217a8bf51c193fc5331c289e53ce6f93ae3d685ac9a618d41f565930557dabb DIST sphinx_issues-4.1.0.tar.gz 14148 BLAKE2B 7d28cd650abe8248ed7edafcc64fc71bdaf97499597d034e9d9bf875224735b8445ee8b95fd465d8524345e3c8137570bda3ef1b9e25ffb97aa3a438ecac1b0f SHA512 ef7da6d4b1a46adde216d548d1be48773d653f383981d5ddde56260793d05c5e10a99d9196c4ed04ba1722b6d646eaa0c12a2650206f5582cf85ced448c3a361 diff --git a/dev-python/sphinx-issues/sphinx-issues-4.0.0.ebuild b/dev-python/sphinx-issues/sphinx-issues-4.0.0.ebuild deleted file mode 100644 index e753a9e2f1fb..000000000000 --- a/dev-python/sphinx-issues/sphinx-issues-4.0.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2019-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Sphinx extension for linking to your project's issue tracker" -HOMEPAGE=" - https://github.com/sloria/sphinx-issues/ - https://pypi.org/project/sphinx-issues/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" - -RDEPEND=" - dev-python/sphinx[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # doesn't work in our pep517 install - tests/test_sphinx_issues.py::test_sphinx_build_integration -) diff --git a/dev-python/sphinx-issues/sphinx-issues-4.1.0.ebuild b/dev-python/sphinx-issues/sphinx-issues-4.1.0.ebuild index 1c02b09b26d4..e753a9e2f1fb 100644 --- a/dev-python/sphinx-issues/sphinx-issues-4.1.0.ebuild +++ b/dev-python/sphinx-issues/sphinx-issues-4.1.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" RDEPEND=" dev-python/sphinx[${PYTHON_USEDEP}] diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest index aa8c8615a5e3..8d26b2d8487b 100644 --- a/dev-python/sphinx/Manifest +++ b/dev-python/sphinx/Manifest @@ -1 +1,2 @@ DIST sphinx-7.2.6.gh.tar.gz 7067425 BLAKE2B 4da1cb5ccebea4df0dc134c552311d7b70ce9b76424ea4355ad67b1ece60c9b445e56c96b838832d4df2f50940832b3fa9555b596390464a4017a573bcf514c3 SHA512 204e859318ad5044639f2e682098b07c7cc675b54ba801feeb3322290bfd15316cc15a2cae8fa6a55e6ec6d1e9690790e5402652eb04720bfe96e172f4c8bdbc +DIST sphinx-7.3.7.gh.tar.gz 7165383 BLAKE2B bcc68f26937e6aefe60cedea533a5c8e245c76b59ab4913fb6516f285e3afc32be60b336c662ac8305fb88e82fcc2b477128f2d8b9bf92f037b124f4c855df2a SHA512 540553ecddc55b3e673c79bc776a899d2c660f1e93ef819711be52174accf5b70465883a46bed81d163534e56718caf0765b4bae153e9307a3792387d8228df5 diff --git a/dev-python/sphinx/files/sphinx-7.3.7-opt-defusedxml.patch b/dev-python/sphinx/files/sphinx-7.3.7-opt-defusedxml.patch new file mode 100644 index 000000000000..cb70e2cf89fc --- /dev/null +++ b/dev-python/sphinx/files/sphinx-7.3.7-opt-defusedxml.patch @@ -0,0 +1,34 @@ +From ce86026f3b667949ef39f7fdab9a40941d99c5ca Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Sat, 11 May 2024 18:31:02 +0200 +Subject: [PATCH] DEPS: Lazy import `defusedxml` only when necessary (#12362) + +The `defusedxml` dependency was added to `sphinx.testing` in sphinx 7.3, +but it is not part of the core sphinx dependencies, and not strictly necessary for the running of the pytest plugin. +This commit moves the import into the only function which uses it, +so that the pytest plugins can be used again without this dependency. +--- + sphinx/testing/util.py | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/sphinx/testing/util.py b/sphinx/testing/util.py +index d1de8ea2b7..b2df709eea 100644 +--- a/sphinx/testing/util.py ++++ b/sphinx/testing/util.py +@@ -11,7 +11,6 @@ + from types import MappingProxyType + from typing import TYPE_CHECKING + +-from defusedxml.ElementTree import parse as xml_parse + from docutils import nodes + from docutils.parsers.rst import directives, roles + +@@ -73,6 +72,8 @@ def assert_node(node: Node, cls: Any = None, xpath: str = "", **kwargs: Any) -> + # keep this to restrict the API usage and to have a correct return type + def etree_parse(path: str | os.PathLike[str]) -> ElementTree: + """Parse a file into a (safe) XML element tree.""" ++ from defusedxml.ElementTree import parse as xml_parse ++ + return xml_parse(path) + + diff --git a/dev-python/sphinx/sphinx-7.3.7-r2.ebuild b/dev-python/sphinx/sphinx-7.3.7-r2.ebuild new file mode 100644 index 000000000000..99ff0e4980f7 --- /dev/null +++ b/dev-python/sphinx/sphinx-7.3.7-r2.ebuild @@ -0,0 +1,130 @@ +# 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..12} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Python documentation generator" +HOMEPAGE=" + https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinx/ + https://pypi.org/project/Sphinx/ +" +SRC_URI=" + https://github.com/sphinx-doc/sphinx/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc latex" + +RDEPEND=" + >=dev-python/alabaster-0.7.14[${PYTHON_USEDEP}] + >=dev-python/Babel-2.9[${PYTHON_USEDEP}] + <dev-python/docutils-0.22[${PYTHON_USEDEP}] + >=dev-python/docutils-0.18.1[${PYTHON_USEDEP}] + >=dev-python/imagesize-1.3[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.14[${PYTHON_USEDEP}] + >=dev-python/requests-2.25.0[${PYTHON_USEDEP}] + >=dev-python/snowballstemmer-2.0[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-htmlhelp-2.0.0[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-serializinghtml-1.1.9[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}] + >=dev-python/packaging-21.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2[${PYTHON_USEDEP}] + ' 3.10) + latex? ( + dev-texlive/texlive-latexextra + dev-texlive/texlive-luatex + app-text/dvipng + ) + !dev-python/namespace-sphinxcontrib +" +BDEPEND=" + doc? ( + dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] + media-gfx/graphviz + ) + test? ( + app-text/dvipng + >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] + >=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.0[${PYTHON_USEDEP}] + dev-texlive/texlive-fontsextra + dev-texlive/texlive-latexextra + dev-texlive/texlive-luatex + virtual/imagemagick-tools[jpeg,png,svg] + ) +" + +PATCHES=( + "${FILESDIR}/sphinx-3.2.1-doc-link.patch" + "${FILESDIR}/sphinx-4.3.2-doc-link.patch" + # https://github.com/sphinx-doc/sphinx/pull/12362 + "${FILESDIR}/${P}-opt-defusedxml.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + # disable internet access + sed -i -e 's:^intersphinx_mapping:disabled_&:' \ + doc/conf.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + # we can't use distutils_enable_sphinx because it would + # introduce a dep on itself + use doc && build_sphinx doc +} + +python_test() { + mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die + local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" + + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + tests/test_extensions/test_ext_autodoc.py::test_autodoc_exception + tests/test_extensions/test_ext_autodoc.py::test_autodoc_ignore_module_all + tests/test_extensions/test_ext_autodoc.py::test_autodoc_inherited_members_None + tests/test_extensions/test_ext_autodoc.py::test_autodoc_subclass_of_builtin_class + tests/test_extensions/test_ext_autodoc.py::test_automethod_for_builtin + tests/test_extensions/test_ext_autodoc.py::test_cython + tests/test_extensions/test_ext_autodoc.py::test_format_signature + tests/test_extensions/test_ext_autodoc.py::test_partialfunction + tests/test_extensions/test_ext_autodoc_autoclass.py::test_autodoc_process_bases + tests/test_extensions/test_ext_autodoc_autoclass.py::test_show_inheritance_for_decendants_of_generic_type + tests/test_extensions/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type + tests/test_extensions/test_ext_autodoc_autofunction.py::test_builtin_function + tests/test_extensions/test_ext_autodoc_autofunction.py::test_methoddescriptor + tests/test_extensions/test_ext_autodoc_automodule.py::test_automodule_inherited_members + tests/test_extensions/test_ext_autodoc_preserve_defaults.py::test_preserve_defaults_special_constructs + tests/test_extensions/test_ext_autosummary.py::test_autosummary_generate_content_for_module + tests/test_extensions/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped + tests/test_util/test_util_inspect.py::test_isattributedescriptor + tests/test_util/test_util_inspect.py::test_signature + tests/test_util/test_util_typing.py::test_is_invalid_builtin_class + ) + ;; + esac + + # note: pytest-xdist causes random test failures + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/sphinxcontrib-asyncio/Manifest b/dev-python/sphinxcontrib-asyncio/Manifest deleted file mode 100644 index 57f179b3d9ef..000000000000 --- a/dev-python/sphinxcontrib-asyncio/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST sphinxcontrib-asyncio-0.3.0.tar.gz 11622 BLAKE2B 8c3358ad191e12e79767be6e6f3800e5de423d9a5ad005bdb416aa7a601cddc5f115db3e9b27213c06dbc341b671cbacd00217b65496baada40bfe257069abfa SHA512 fa66a2a9b5f89327686481f46d8e5be0b674f6355c8c0eeb862bf0ca0b5bb848121c5ed153780f653242faf1b82debc6917c3f6046244cce0f1423303a324f29 diff --git a/dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.3.0-r1.ebuild b/dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.3.0-r1.ebuild deleted file mode 100644 index ac205e0d364a..000000000000 --- a/dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.3.0-r1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="sphinx extension to support coroutines in markup" -HOMEPAGE=" - https://github.com/aio-libs/sphinxcontrib-asyncio/ - https://pypi.org/project/sphinxcontrib-asyncio/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - dev-python/sphinx[${PYTHON_USEDEP}] -" - -distutils_enable_sphinx docs - -src_prepare() { - rm sphinxcontrib/__init__.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/sphinxcontrib-qthelp/sphinxcontrib-qthelp-1.0.7.ebuild b/dev-python/sphinxcontrib-qthelp/sphinxcontrib-qthelp-1.0.7.ebuild index 8bef0f0407f8..187f479263e2 100644 --- a/dev-python/sphinxcontrib-qthelp/sphinxcontrib-qthelp-1.0.7.ebuild +++ b/dev-python/sphinxcontrib-qthelp/sphinxcontrib-qthelp-1.0.7.ebuild @@ -23,7 +23,10 @@ PDEPEND=" >=dev-python/sphinx-5[${PYTHON_USEDEP}] " BDEPEND=" - test? ( ${PDEPEND} ) + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + ${PDEPEND} + ) " distutils_enable_tests pytest diff --git a/dev-python/spyder-kernels/Manifest b/dev-python/spyder-kernels/Manifest index 96a4d8052c4b..828d9f122e02 100644 --- a/dev-python/spyder-kernels/Manifest +++ b/dev-python/spyder-kernels/Manifest @@ -1,3 +1,2 @@ -DIST spyder-kernels-2.5.0.tar.gz 99908 BLAKE2B 8684bdaba16bdfeb2db1e1789054e4951c6fa673dde91a1ae35972a1fd7cd6c298572c83db360553a3d94b1311d449a62d82d25d007f919a4baf6a23d2d872e2 SHA512 acdf796b450d87ee08f97bb6477383006632b6c91c862907ba43803bf88c1552749dc62c69820f948d8738a1a062614c065f861b73d5d73756cf5d00e63b58b5 DIST spyder-kernels-2.5.1.tar.gz 99906 BLAKE2B 50cae2744ea2bb2d59046423f084d8e29385a82fe05c5d18fa15a64261c4ae0bef6e6f0427c8053ea6cc622d87660f98dc55613d954818a72babc92a119e3dc2 SHA512 bd855e95fb84014cf86dd062aeffc580ce23db7f1c5c1b4ba6d5386d0be4a4bcde625a6bc3a6d126b07a66ef720860019bab5f245a383fd0b2c7975f6d331598 -DIST spyder-kernels-3.0.0b4.tar.gz 237687 BLAKE2B 05b294acd6e000898b4ee42c1f4a64716e73eec7466c5acfec3ee017fd66909cb6f9f5904ffaf546e43fae67738554469a2129916b78c5897a187f88f53d9261 SHA512 d49d198252077bfac06bbdd520d1de68a45d7d1076d598f0a7b2a4109f5b000fb73929cb617c8428672f4d039620e05fdbaa734eb6486849d90e21b4762e61d4 +DIST spyder_kernels-3.0.0b6.tar.gz 238208 BLAKE2B 2d1e227e876eec6ea6435d581892a3f76845164b4c4c2835ace859394f95813ea2630fc5c03bdec827e025680478184831328530d6b56373e220fe52d219d386 SHA512 f3a18731850d5a7f2ad9c45a706c4526b9d22f357a0175b4f67954c3d1912640a5871157373575ed8b0f044bdb618548c8d0a3f8fff44492d06dceab43efc6ad diff --git a/dev-python/spyder-kernels/spyder-kernels-2.5.0.ebuild b/dev-python/spyder-kernels/spyder-kernels-2.5.0.ebuild deleted file mode 100644 index 0be0b4d9975e..000000000000 --- a/dev-python/spyder-kernels/spyder-kernels-2.5.0.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Kernels used by spyder on its ipython console" -HOMEPAGE=" - https://github.com/spyder-ide/spyder-kernels/ - https://pypi.org/project/spyder-kernels/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/cloudpickle[${PYTHON_USEDEP}] - <dev-python/ipykernel-7[${PYTHON_USEDEP}] - >=dev-python/ipykernel-6.23.2[${PYTHON_USEDEP}] - <dev-python/ipython-9[${PYTHON_USEDEP}] - >=dev-python/ipython-8.13.0[${PYTHON_USEDEP}] - <dev-python/jupyter-client-9[${PYTHON_USEDEP}] - >=dev-python/jupyter-client-7.4.9[${PYTHON_USEDEP}] - dev-python/matplotlib-inline[${PYTHON_USEDEP}] - >=dev-python/pyzmq-22.1.0[${PYTHON_USEDEP}] - >=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-python/cython[${PYTHON_USEDEP}] - dev-python/django[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/xarray[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # we no longer package distributed, and also removed dependency on dask - spyder_kernels/console/tests/test_console_kernel.py::test_dask_multiprocessing -) diff --git a/dev-python/spyder-kernels/spyder-kernels-3.0.0_beta4.ebuild b/dev-python/spyder-kernels/spyder-kernels-3.0.0_beta6.ebuild index 1fd8c65f7dd1..5f91c6584c02 100644 --- a/dev-python/spyder-kernels/spyder-kernels-3.0.0_beta4.ebuild +++ b/dev-python/spyder-kernels/spyder-kernels-3.0.0_beta6.ebuild @@ -4,7 +4,6 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi @@ -22,14 +21,14 @@ KEYWORDS="" RDEPEND=" dev-python/cloudpickle[${PYTHON_USEDEP}] <dev-python/ipykernel-7[${PYTHON_USEDEP}] - >=dev-python/ipykernel-6.23.2[${PYTHON_USEDEP}] + >=dev-python/ipykernel-6.29.3[${PYTHON_USEDEP}] <dev-python/ipython-9[${PYTHON_USEDEP}] >dev-python/ipython-8.13.0[${PYTHON_USEDEP}] <dev-python/jupyter-client-9[${PYTHON_USEDEP}] >=dev-python/jupyter-client-7.4.9[${PYTHON_USEDEP}] dev-python/matplotlib-inline[${PYTHON_USEDEP}] >=dev-python/pyxdg-0.26[${PYTHON_USEDEP}] - >=dev-python/pyzmq-22.1.0[${PYTHON_USEDEP}] + >=dev-python/pyzmq-24.0.0[${PYTHON_USEDEP}] >=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}] " diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest index 1a5fe8c9e0bc..77c849078fd8 100644 --- a/dev-python/spyder/Manifest +++ b/dev-python/spyder/Manifest @@ -1,4 +1,3 @@ DIST spyder-5.5.4.gh.tar.gz 16258160 BLAKE2B 4f29db0805e1d7eed33497df0b28754cd873cfa5c6bd6c7955efc881000498a7527e413de5107ca4414f2dcbf0aa55903b1bf496626e7b470942cc5142abc152 SHA512 4f68d1edc2901b4cffb67943c782ccd89e923722579ec4144064de2ec1b6bbf89f831feb3eb58a7adf7c403efc7d2529c38017b423bb32709170915792f4deb2 -DIST spyder-6.0.0_alpha4.gh.tar.gz 15503538 BLAKE2B ee896fe2c3c2afd464a8c86204f770ef08ff2fdfc68f7431d2706f76516b6e2b31c9cda8df3236cb3b85799d67f983fbbbfcdc92400a2a88f1efdcd166622f50 SHA512 8ff36feecf6ce99d90ec07fc0cc3ecab075af4e36d64ba650316a46d1f79ca1a08ca7eb2b48dee6e5eddaaafaff14445f0b687742e9a439c3e4def098e489879 -DIST spyder-docs-0aa81d44ec6490c155be1bb1acca0a27328b12e0.gh.tar.gz 94895731 BLAKE2B 468412372bf2f70f838fa89dc1b88997fa2d9d92e36d6a5abac736b6b5f2782f25121b18b876c7c6e2af9d7eda433aaccd017c2e8c8c06a223420f0ce9684fc1 SHA512 9ac0f930a1a864e81e4181f101449a6506728d0d89254409a58e68bc17a3de39f4d1bf329f11da433d8ee4f3122faf3b337654d011263a70b253459e9562e923 +DIST spyder-6.0.0_beta1.gh.tar.gz 15555385 BLAKE2B 5ae3a174929c2044f8e351d4edcb018f16133d63de1cb1aae0749509da1c350fa4fff54fd5067e8af58377e111ec7434f5aaa56728565826f31fe3c791800349 SHA512 d89385525054740b8c6aaf1e7d769cac6c6c102aad7cc32199b5667b06ad96e22838f5416ca2a77af68529032519fdf383c41f964b66a8a7db9252c2835bfdaf DIST spyder-docs-32efdaebc11dab0b8e0767717342b7d306dc06ea.gh.tar.gz 94897009 BLAKE2B 30e0b42e34bddb60d8fc986183a363b71455067bc7f4411cb75a00c5758e87501ee07ad0b484caed2aa3cf91153be814c7faf935be8665b6984bce38ebcd0be2 SHA512 9f9aa56ab27aed8d27c3d653119d5c5454b4317a78a7ff27715d91cac9dec79143db85d4f1c87b10fa821eb33abc043912df308fa6c84ade59539bd633eefbd2 diff --git a/dev-python/spyder/spyder-6.0.0_alpha4.ebuild b/dev-python/spyder/spyder-6.0.0_beta1.ebuild index b2536ab2c160..dddcc4a3fa89 100644 --- a/dev-python/spyder/spyder-6.0.0_alpha4.ebuild +++ b/dev-python/spyder/spyder-6.0.0_beta1.ebuild @@ -9,7 +9,7 @@ DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 optfeature virtualx xdg # Commit of documentation to fetch -DOCS_PV="0aa81d44ec6490c155be1bb1acca0a27328b12e0" +DOCS_PV="32efdaebc11dab0b8e0767717342b7d306dc06ea" DESCRIPTION="The Scientific Python Development Environment" HOMEPAGE=" @@ -18,16 +18,19 @@ HOMEPAGE=" https://pypi.org/project/spyder/ " SRC_URI=" - https://github.com/spyder-ide/${PN}/archive/v${PV//_alpha/a}.tar.gz -> ${P}.gh.tar.gz + https://github.com/spyder-ide/${PN}/archive/v${PV//_beta/b}.tar.gz -> ${P}.gh.tar.gz https://github.com/spyder-ide/${PN}-docs/archive/${DOCS_PV}.tar.gz -> ${PN}-docs-${DOCS_PV}.gh.tar.gz " -S="${WORKDIR}/${PN}-${PV//_alpha/a}" +S="${WORKDIR}/${PN}-${PV//_beta/b}" LICENSE="MIT" SLOT="0" KEYWORDS="" RDEPEND=" + >=dev-python/aiohttp-3.9.3[${PYTHON_USEDEP}] + >=dev-python/asyncssh-2.0.0[${PYTHON_USEDEP}] + <dev-python/asyncssh-3.0.0[${PYTHON_USEDEP}] >=dev-python/atomicwrites-1.2.0[${PYTHON_USEDEP}] >=dev-python/chardet-2.0.0[${PYTHON_USEDEP}] >=dev-util/cookiecutter-1.6.0[${PYTHON_USEDEP}] @@ -49,19 +52,21 @@ RDEPEND=" >=dev-python/qdarkstyle-3.2.0[${PYTHON_USEDEP}] <dev-python/qdarkstyle-3.3.0[${PYTHON_USEDEP}] >=dev-python/qstylizer-0.2.2[${PYTHON_USEDEP}] - >=dev-python/qtawesome-1.3.0[${PYTHON_USEDEP}] + >=dev-python/qtawesome-1.3.1[${PYTHON_USEDEP}] + <dev-python/qtawesome-1.4.0[${PYTHON_USEDEP}] >=dev-python/qtconsole-5.5.1[${PYTHON_USEDEP}] <dev-python/qtconsole-5.6.0[${PYTHON_USEDEP}] >=dev-python/QtPy-2.4.0[${PYTHON_USEDEP},svg,webengine] >=sci-libs/rtree-0.9.7[${PYTHON_USEDEP}] >=dev-python/sphinx-0.6.6[${PYTHON_USEDEP}] - >=dev-python/spyder-kernels-3.0.0_beta4[${PYTHON_USEDEP}] - <dev-python/spyder-kernels-3.0.0_beta5[${PYTHON_USEDEP}] + >=dev-python/spyder-kernels-3.0.0_beta6[${PYTHON_USEDEP}] + <dev-python/spyder-kernels-3.0.0_beta7[${PYTHON_USEDEP}] >=dev-python/superqt-0.6.1[${PYTHON_USEDEP}] <dev-python/superqt-1.0.0[${PYTHON_USEDEP}] >=dev-python/textdistance-4.2.0[${PYTHON_USEDEP}] >=dev-python/three-merge-0.1.1[${PYTHON_USEDEP}] >=dev-python/watchdog-0.10.3[${PYTHON_USEDEP}] + >=dev-python/yarl-1.9.4[${PYTHON_USEDEP}] " BDEPEND=" diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index d14837c4673c..3d0e9e8fa3d2 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -1,5 +1,3 @@ -DIST SQLAlchemy-1.4.51.tar.gz 8521574 BLAKE2B 216550225c11d5367e5a50ec321a09078b4677973cf33eee1874beb9f855cfeb629a6df4d05e8ecc5b22052628de5cae2e468d18d50502a4560bd4ca7d85ab7d SHA512 be27a41f442428cdb5cc6a20af2de9424384457475d16a7d7167b718256e208766e2ba8d53bef2b314aafe87b3d9b0c5f9af6e4c03f53fb194671cfaca6e50b5 DIST SQLAlchemy-1.4.52.tar.gz 8514200 BLAKE2B b41fccb885ce6761e29621a654c97537610a1875d66302ba56fac560f5c85db35b14595efd903aebfd0186ee39b75a8666e1304cdee6a6ec6eb9923bc602b9e5 SHA512 afda6a3503c9d2baba8c1dd9e7216d5ac1561f52f5f11009c41a1a98ac998643c980c60cf8ba4d84c4af8808be26ead9fd2e7a2c8bf15b2fdb521b4e5de7748e -DIST SQLAlchemy-2.0.27.tar.gz 9527460 BLAKE2B 06c3649c00fad1a82305502fce00938b85098a6e283eccc5992bc6b1df564a2947557db6bbd3633f96096fabca1fcf8fb1edee125b86be3a31508d6878fcc3be SHA512 78f0aeda4352e05282b86bdcaaf369804e4294e10f944a15cacd518b3741cf6359880d7400ec689e234ad6f8227d32822aa9073ed33f40825c3542102ebcada5 -DIST SQLAlchemy-2.0.28.tar.gz 9531010 BLAKE2B bd989adcdfe9640d001a97f48d782628ae307fd24d74ad227cf8e767bf0cfcb71b95f8a3506768146477b09f5196323e435092899d4ecc139a422849fc787a52 SHA512 83745aaf2d0b469dbbb28960eef4a1e23fb8fe8a2f4b8cb055cc06c5bd4ccb2f365a2b55c7ca76be2d809d4127e16ace06f4e50f59f63d946e3225375499f4f0 DIST SQLAlchemy-2.0.29.tar.gz 9543967 BLAKE2B 04425618b6e0bcf98a7a32a4a6b1c092120a9f3eb55761879b072ac3a3e08c8f1b97fb4d2df4b35b2fd810e11146f4d83cf67cd8ec23fb4d96c5d6cfff7657af SHA512 d1143c65fb26335d652083b9a90afaecf78ed312cea5c26f989380204e909c341c1bc3bb1e07274353e1c409d21737fad4d7391f186b2d2373814582d3baaf78 +DIST SQLAlchemy-2.0.30.tar.gz 9579500 BLAKE2B 3c1711ee72a355eb5e6a71d6581d951ffe3ddab459ac4bb4c36a8640ed5f6298a80847e9bb66dd700622fa9275bf77c4c18be5e324092a576d1b35983371730a SHA512 b39275a7312609fd0a78ac5bb4fb0f29f2948d7fc81007587c01f38849ff28bff273182a06c8ec830b7e1ba4cd30aea2cd7214bbf971a61125c9b56c6ddbbe52 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.51.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.51.ebuild deleted file mode 100644 index f49b7af7463a..000000000000 --- a/dev-python/sqlalchemy/sqlalchemy-1.4.51.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-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=( pypy3 python3_{10..12} ) -PYTHON_REQ_USE="sqlite?" - -inherit distutils-r1 optfeature pypi - -MY_PN="SQLAlchemy" -DESCRIPTION="Python SQL toolkit and Object Relational Mapper" -HOMEPAGE=" - https://www.sqlalchemy.org/ - https://pypi.org/project/SQLAlchemy/ - https://github.com/sqlalchemy/sqlalchemy/ -" -SRC_URI="$(pypi_sdist_url --no-normalize "${MY_PN}")" -S="${WORKDIR}/${MY_PN}-${PV}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="examples +sqlite test" - -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - ) -" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # hardcode call counts specific to Python versions - test/aaa_profiling -) - -src_prepare() { - sed -i -e '/greenlet/d' setup.cfg || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # warning tests are unreliable - test/base/test_warnings.py - - # TODO - 'test/orm/test_cache_key.py::EmbeddedSubqTest::test_cache_key_gen[memory-_exclusions1]' - - # deprecations - test/engine/test_parseconnect.py::TestRegNewDBAPI::test_wrapper_hooks - test/engine/test_parseconnect.py::URLTest::test_component_set - test/engine/test_parseconnect.py::URLTest::test_password_custom_obj - test/engine/test_parseconnect.py::URLTest::test_update_query_dict - test/engine/test_parseconnect.py::URLTest::test_update_query_string - ) - local sqlite_version=$(sqlite3 --version | cut -d' ' -f1) - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( - test/ext/test_associationproxy.py::ProxyHybridTest::test_msg_fails_on_cls_access - # https://github.com/sqlalchemy/sqlalchemy/issues/8762 - test/orm/test_query.py::YieldTest_sqlite+pysqlite_${sqlite_version//./_}::test_yield_per_close_on_interrupted_iteration_legacy - ) - if ! has_version "dev-python/greenlet[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_execution - test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_run_sync - "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[False-True]" - "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[True-True]" - "test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True-_exclusions0]" - ) - fi - - # upstream's test suite is horribly hacky; it relies on disabling - # the warnings plugin and turning warnings into errors; this also - # means that any DeprecationWarnings from third-party plugins cause - # everything to explode - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS= - # upstream automagically depends on xdist when it is importable - # note that we can't use xdist because it causes nodes to randomly - # crash on init - if has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]"; then - PYTEST_PLUGINS+=xdist.plugin - fi - epytest -} - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - dodoc -r examples - fi - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "asyncio support" dev-python/greenlet - optfeature "MySQL support" \ - dev-python/mysqlclient \ - dev-python/pymysql - optfeature "postgresql support" dev-python/psycopg:2 -} diff --git a/dev-python/sqlalchemy/sqlalchemy-2.0.27.ebuild b/dev-python/sqlalchemy/sqlalchemy-2.0.27.ebuild deleted file mode 100644 index 7d275169242d..000000000000 --- a/dev-python/sqlalchemy/sqlalchemy-2.0.27.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-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=( pypy3 python3_{10..12} ) -PYTHON_REQ_USE="sqlite?" - -inherit distutils-r1 multiprocessing optfeature pypi - -MY_PN="SQLAlchemy" -DESCRIPTION="Python SQL toolkit and Object Relational Mapper" -HOMEPAGE=" - https://www.sqlalchemy.org/ - https://pypi.org/project/SQLAlchemy/ - https://github.com/sqlalchemy/sqlalchemy/ -" -SRC_URI="$(pypi_sdist_url --no-normalize "${MY_PN}")" -S="${WORKDIR}/${MY_PN}-${PV}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="examples +sqlite test" - -RDEPEND=" - >=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - $(python_gen_impl_dep sqlite) - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/greenlet/d' setup.cfg || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_IGNORE=( - test/ext/mypy/test_mypy_plugin_py3k.py - test/typing/test_mypy.py - # hardcode call counts specific to Python versions - test/aaa_profiling - ) - local EPYTEST_DESELECT=( - # warning tests are unreliable - test/base/test_warnings.py - ) - local sqlite_version=$(sqlite3 --version | cut -d' ' -f1) - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - test/ext/test_associationproxy.py::ProxyHybridTest::test_msg_fails_on_cls_access - test/ext/test_associationproxy.py::DictOfTupleUpdateTest::test_update_multi_elem_varg - test/ext/test_associationproxy.py::DictOfTupleUpdateTest::test_update_one_elem_varg - test/engine/test_processors.py::PyDateProcessorTest::test_date_invalid_string - test/engine/test_processors.py::PyDateProcessorTest::test_datetime_invalid_string - test/engine/test_processors.py::PyDateProcessorTest::test_time_invalid_string - "test/dialect/test_sqlite.py::TestTypes_sqlite+pysqlite_${sqlite_version//./_}::test_cant_parse_datetime_message" - "test/dialect/test_suite.py::ReturningGuardsTest_sqlite+pysqlite_${sqlite_version//./_}"::test_{delete,insert,update}_single - test/base/test_utils.py::ImmutableDictTest::test_pep584 - ) - ;; - esac - if ! has_version "dev-python/greenlet[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_execution - test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_run_sync - "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[False-True]" - "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[True-True]" - "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[has_terminate-is_asyncio]" - "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[not_has_terminate-is_asyncio]" - "test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True-_exclusions0]" - "test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True]" - ) - fi - - # upstream's test suite is horribly hacky; it relies on disabling - # the warnings plugin and turning warnings into errors; this also - # means that any DeprecationWarnings from third-party plugins cause - # everything to explode - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p rerunfailures --reruns=10 --reruns-delay=2 \ - -p xdist -n "$(makeopts_jobs)" --dist=worksteal -} - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - dodoc -r examples - fi - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "asyncio support" dev-python/greenlet - optfeature "MySQL support" \ - dev-python/mysqlclient \ - dev-python/pymysql - optfeature "postgresql support" dev-python/psycopg:2 -} diff --git a/dev-python/sqlalchemy/sqlalchemy-2.0.29.ebuild b/dev-python/sqlalchemy/sqlalchemy-2.0.29.ebuild index 0ea36df4e9dc..7d275169242d 100644 --- a/dev-python/sqlalchemy/sqlalchemy-2.0.29.ebuild +++ b/dev-python/sqlalchemy/sqlalchemy-2.0.29.ebuild @@ -22,7 +22,7 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="examples +sqlite test" RDEPEND=" diff --git a/dev-python/sqlalchemy/sqlalchemy-2.0.28.ebuild b/dev-python/sqlalchemy/sqlalchemy-2.0.30.ebuild index 0ea36df4e9dc..f6836f064aa4 100644 --- a/dev-python/sqlalchemy/sqlalchemy-2.0.28.ebuild +++ b/dev-python/sqlalchemy/sqlalchemy-2.0.30.ebuild @@ -22,7 +22,7 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="examples +sqlite test" RDEPEND=" diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 8248ca3d5a84..28ed54d612d7 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -19,11 +19,8 @@ DIST quote-1.0.33.crate 28090 BLAKE2B 77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d7 DIST redox_syscall-0.4.1.crate 24858 BLAKE2B c3301137a0b84e03b09d28dfa377ab3bea74d574a08cee21d35713b278d8b5b30ca2a1d73a0981baeb4644cbb88c86c8eb15ab3bb2692e38b93e6b35fab4e0da SHA512 073ed9d96090cf46eab9877742277a013c62d8da86d9caf2310b4fa868af306511936553579e01309f27067d344226cc8dc5e3aef01d9b900da2febd33848f8d DIST scopeguard-1.2.0.crate 11619 BLAKE2B 8b7e9ed6cefef9ee55407fb9690d57a2a98bb93e5105aeebdb475a52485e9e185255249e1dce8f83cd80534e7402d485aac3efa7e8493b13135de27550cd4bc4 SHA512 6247719a15fe1e4e2d179127b9a934bd2f99367724f41175ed9522f58824b6bc69b35002eae66b35880375ff61d77ac43ddaa78cbde7160a35183a1da32d3fbb DIST smallvec-1.11.2.crate 34801 BLAKE2B 58645e99db8f02db64d02c75860c7ea41836c427c03ee3b0b23365e73a406e4fd6ac312bf13fc5faef8bb6111c10fcfd5f839d5b3686e9b34d1626f8469fc327 SHA512 5cfb427c3b99b0dbd71f6154ed899abcde9d7d2992977ac7b2ef3a4c3ff51e4efafd133071a69609b4ed6cb269bdc26b79eb72e1988f10dfcaef8185d950cd1d -DIST sqlglot-23.10.0.tar.gz 12967869 BLAKE2B da7f6bb47c359d564de40e5a13d1fc77526602e62a8a1f8952fbe01b56f9c1e6ec3163660b5b811ed79c5b79b4743bbedfa9b54da35365d7a72f906908c07387 SHA512 84b6fa716e129dfb304c98e8b72fb418f86d90e653f5b9986b82ccc750d9dcc71df419c69a67c95401afb0a0a1a46ea1659b5717f66ba63e6a1586ccffc539aa -DIST sqlglot-23.7.0.tar.gz 12930040 BLAKE2B 2edd122e351286948f7adeaea6ead40a4c4ffbe9ff141f8fb0ded2ba8153ff90d051b4c6e5335f0ebb07c816956cb39164918bddc7ab2ef6c805e8713338243e SHA512 31d7eba56a74943cbff4275280c527a1ceeaa69b26fc992b7b227e9bcb836487ce57dfb1f562df1b6780128b1479d2c7f65a8497cb237e6618d8be9ad972130d -DIST sqlglot-23.8.0.tar.gz 12933026 BLAKE2B 4f29458d6fc4e45b81e37882a3722dcc82a3cc5e3103234f81629c01fb14ff5aa157d6faf006ed10be15d275b0e5a5575b320aa54d673ddd7be08135c67b5d55 SHA512 dd69eb0fe28cbfb6b928c1e2cfe020469da759e75fa73912160e743ae3285cef816b898f3668dd4da87f9f37649310ff67d0f02ee0787c32eff09a15b4ed7138 -DIST sqlglot-23.8.1.tar.gz 12945839 BLAKE2B f9b182c0d1a5929ea9cc2b508d681fdef2b22c8c89f81eeb428bd94760a548446fd113573d466b87d51f71688c3ed2605c1626987dfdd4e834aa34b686e3b092 SHA512 8ad53f29bd99cb55db8cad09f17b301eb56a0add53b81e322acb997d822be075c4f28324643b3f5740be1bf69f58c03f163ab3506852e038381d6148502ebc47 -DIST sqlglot-23.8.2.tar.gz 12946196 BLAKE2B 5836f252bb80886a4e7160c17010670dda1de3387df57d076f74e7186ba18ea306e5ec86f4bfe4002dc22ff0aa0eda088c994fb23a075e86319b10c1150a12fb SHA512 95d356d55aeeb796f27bbebf7f1372e07f4569a52dfbae51bfd72ba29483975955afb7e7d1cbdd938e41695794728001c5169e94a1f5f8e448375c01127e97cb +DIST sqlglot-23.15.8.tar.gz 13118607 BLAKE2B 967590ff24f6a25adc4c227510ab027f695cf12b90dbf3304a6327afcdbfbd7d96d7f77b25876f3e7dce471c78e38498f9c156671f84f25b7eeecd315678a958 SHA512 4d283b9cd09b7bee873c07b9618cd046d1d312bf8e3280a635ccb91c45532c590a152db97cc338be91eafc2e68dd587f48460ad8eea1ab0b4c5ec5f64c2be2d9 +DIST sqlglot-23.15.9.tar.gz 13124523 BLAKE2B 653c443dfb6308ca7dd896f24aa8783a06664ecc636416bef057ad2d8d98f988fcf95bc86bc55ec19a0fe479308dc1f1e2fdc125cf5fefb650955e9e3af20344 SHA512 198788fc3a0cf08f49f37a6dad79e31e909718b7fe27575cc4fc6a426a868fab2849a9923f1628ef03f56925928a70497efa616330281189dba900a84b4926cf DIST syn-2.0.41.crate 246016 BLAKE2B 9d389f2e2a0acb4c84c309456e8ffcc88c5d4d541535ed136832d7a6054dde45a598bb68e8a6f3062ca2a96e1ceae947d54b3aec9bad65b0c51d6733aa6c80db SHA512 6bbaf69ca783025dfb81ac3612ac60bfbed31b2d87792909b35c12892dadebdaff2ddf9463105e536b671dce5870610ab90fe29471284bbd3014dca8d6993f1a DIST target-lexicon-0.12.12.crate 25156 BLAKE2B f3803596c75f6c89438592a1176c3748fc2c0524d7d50a20056de1cd26d40c572b05bafcdf6dd702752864bea37c8b4f28f96dadc12a5b3bb1d279b25e489f85 SHA512 6147295c43ba1b7b087a3c5ab51534b2985e4e77e5e15687978cfb9d07e21c4fd9bc7191576d6cabd268d08a44dc733c4a957e59dba8b948c2055d8bb433aeca DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 diff --git a/dev-python/sqlglot/sqlglot-23.10.0.ebuild b/dev-python/sqlglot/sqlglot-23.15.8.ebuild index 058fa81df816..058fa81df816 100644 --- a/dev-python/sqlglot/sqlglot-23.10.0.ebuild +++ b/dev-python/sqlglot/sqlglot-23.15.8.ebuild diff --git a/dev-python/sqlglot/sqlglot-23.8.2.ebuild b/dev-python/sqlglot/sqlglot-23.15.9.ebuild index 058fa81df816..3ecfcc322a3e 100644 --- a/dev-python/sqlglot/sqlglot-23.8.2.ebuild +++ b/dev-python/sqlglot/sqlglot-23.15.9.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) CARGO_OPTIONAL=1 CRATES=" diff --git a/dev-python/sqlglot/sqlglot-23.7.0.ebuild b/dev-python/sqlglot/sqlglot-23.7.0.ebuild deleted file mode 100644 index 058fa81df816..000000000000 --- a/dev-python/sqlglot/sqlglot-23.7.0.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 2023-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} ) - -CARGO_OPTIONAL=1 -CRATES=" - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - heck@0.4.1 - indoc@2.0.4 - libc@0.2.150 - lock_api@0.4.11 - memoffset@0.9.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - proc-macro2@1.0.70 - pyo3-build-config@0.20.0 - pyo3-ffi@0.20.0 - pyo3-macros-backend@0.20.0 - pyo3-macros@0.20.0 - pyo3@0.20.0 - quote@1.0.33 - redox_syscall@0.4.1 - scopeguard@1.2.0 - smallvec@1.11.2 - syn@2.0.41 - target-lexicon@0.12.12 - unicode-ident@1.0.12 - unindent@0.2.3 - 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 -" - -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-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}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - # remove fragile timing check - sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || die - distutils-r1_python_compile - cd - >/dev/null || die - fi -} - -python_test() { - local EPYTEST_IGNORE=( - # Tests require pyspark or duckdb which aren't in the tree. - # Pandas would be a requirement normally, but it gets ignored by proxy. - "tests/dataframe/integration/test_dataframe.py" - "tests/dataframe/integration/test_grouped_data.py" - "tests/dataframe/integration/test_session.py" - "tests/test_executor.py" - "tests/test_optimizer.py" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlglot/sqlglot-23.8.0.ebuild b/dev-python/sqlglot/sqlglot-23.8.0.ebuild deleted file mode 100644 index 058fa81df816..000000000000 --- a/dev-python/sqlglot/sqlglot-23.8.0.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 2023-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} ) - -CARGO_OPTIONAL=1 -CRATES=" - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - heck@0.4.1 - indoc@2.0.4 - libc@0.2.150 - lock_api@0.4.11 - memoffset@0.9.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - proc-macro2@1.0.70 - pyo3-build-config@0.20.0 - pyo3-ffi@0.20.0 - pyo3-macros-backend@0.20.0 - pyo3-macros@0.20.0 - pyo3@0.20.0 - quote@1.0.33 - redox_syscall@0.4.1 - scopeguard@1.2.0 - smallvec@1.11.2 - syn@2.0.41 - target-lexicon@0.12.12 - unicode-ident@1.0.12 - unindent@0.2.3 - 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 -" - -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-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}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - # remove fragile timing check - sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || die - distutils-r1_python_compile - cd - >/dev/null || die - fi -} - -python_test() { - local EPYTEST_IGNORE=( - # Tests require pyspark or duckdb which aren't in the tree. - # Pandas would be a requirement normally, but it gets ignored by proxy. - "tests/dataframe/integration/test_dataframe.py" - "tests/dataframe/integration/test_grouped_data.py" - "tests/dataframe/integration/test_session.py" - "tests/test_executor.py" - "tests/test_optimizer.py" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlglot/sqlglot-23.8.1.ebuild b/dev-python/sqlglot/sqlglot-23.8.1.ebuild deleted file mode 100644 index 058fa81df816..000000000000 --- a/dev-python/sqlglot/sqlglot-23.8.1.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 2023-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} ) - -CARGO_OPTIONAL=1 -CRATES=" - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - heck@0.4.1 - indoc@2.0.4 - libc@0.2.150 - lock_api@0.4.11 - memoffset@0.9.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - proc-macro2@1.0.70 - pyo3-build-config@0.20.0 - pyo3-ffi@0.20.0 - pyo3-macros-backend@0.20.0 - pyo3-macros@0.20.0 - pyo3@0.20.0 - quote@1.0.33 - redox_syscall@0.4.1 - scopeguard@1.2.0 - smallvec@1.11.2 - syn@2.0.41 - target-lexicon@0.12.12 - unicode-ident@1.0.12 - unindent@0.2.3 - 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 -" - -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-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}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - # remove fragile timing check - sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || die - distutils-r1_python_compile - cd - >/dev/null || die - fi -} - -python_test() { - local EPYTEST_IGNORE=( - # Tests require pyspark or duckdb which aren't in the tree. - # Pandas would be a requirement normally, but it gets ignored by proxy. - "tests/dataframe/integration/test_dataframe.py" - "tests/dataframe/integration/test_grouped_data.py" - "tests/dataframe/integration/test_session.py" - "tests/test_executor.py" - "tests/test_optimizer.py" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlparse/Manifest b/dev-python/sqlparse/Manifest index 6001ab34dfe0..a00a2773f92d 100644 --- a/dev-python/sqlparse/Manifest +++ b/dev-python/sqlparse/Manifest @@ -1,2 +1 @@ -DIST sqlparse-0.4.4.tar.gz 72383 BLAKE2B 722db31c3344ec1ed2f1be3406142bf3a1cfb890f459f99778d8a7d8ee213311706f6729f68ccee7beefaddc55583135171397d05e37d41e56568fd39ca23830 SHA512 bb655f8de2466c2ed51aca901b6561b8ac7730bf65f1254d218d7b9dabbece609cadd8a52a092b301895ad83813ddf02691e2de49cf55a26e676a2661c240a2b DIST sqlparse-0.5.0.tar.gz 83475 BLAKE2B 6553de08385e90bbb0b7ce45db5894aabceb997885f1c610d83725b1a5d632caae1944e022ef43b3ed586ed05d160d5e88e450a077a6531955abda8a794dc173 SHA512 eade99e832054ddbc466d1c56a4d5ce6f79d31be8dbfa0b175b8413e4326af18baa20a42d9661bc09e91f04edd8329d4c0df2ca6f62983df3daef67d38342269 diff --git a/dev-python/sqlparse/sqlparse-0.4.4.ebuild b/dev-python/sqlparse/sqlparse-0.4.4.ebuild deleted file mode 100644 index df9f126bd4e4..000000000000 --- a/dev-python/sqlparse/sqlparse-0.4.4.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="A non-validating SQL parser module for Python" -HOMEPAGE=" - https://github.com/andialbrecht/sqlparse/ - https://pypi.org/project/sqlparse/ -" - -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -LICENSE="BSD-2" - -distutils_enable_sphinx docs/source -distutils_enable_tests pytest diff --git a/dev-python/sqlparse/sqlparse-0.5.0.ebuild b/dev-python/sqlparse/sqlparse-0.5.0.ebuild index f3745b336de6..df280bc630e9 100644 --- a/dev-python/sqlparse/sqlparse-0.5.0.ebuild +++ b/dev-python/sqlparse/sqlparse-0.5.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" distutils_enable_sphinx docs/source distutils_enable_tests pytest diff --git a/dev-python/statsmodels/Manifest b/dev-python/statsmodels/Manifest index cabad4cc1cc4..cd4c982a0c50 100644 --- a/dev-python/statsmodels/Manifest +++ b/dev-python/statsmodels/Manifest @@ -1 +1,2 @@ DIST statsmodels-0.14.1.tar.gz 20309647 BLAKE2B ef9b70671b78eb45b48997c5a8ea35828b7722b31a6c77d55b81f4aad6ddb3608305a3319a0d284797654ef2bbd5f25416459450a6b26be56b9e3e3137fccac8 SHA512 e382ca807205e2aeff76dd22b42e7824914472588ea040d90835fd46e0c993e155828c58e81f53f9539ad9bdf195bbbd1a49a45658187498d60287374112fd68 +DIST statsmodels-0.14.2.tar.gz 20352531 BLAKE2B 65053842ab979b6c2541baddc09f9ade4f55ca988451218b2e4fd2caf7af0e7891eaccf317e9715f35c3d002f8976ea637712173d58db1b5b7822658bdfc79dd SHA512 0a38482bccac61081ff0c8de3b9fcf81689ec15437c53d79a8949df058e0ac8a4e93136a50a37a06577108dc29f1a51e0d00e041ee7e8f9dff93b6e8cf1f0f16 diff --git a/dev-python/statsmodels/statsmodels-0.14.2.ebuild b/dev-python/statsmodels/statsmodels-0.14.2.ebuild new file mode 100644 index 000000000000..85811c7aab0a --- /dev/null +++ b/dev-python/statsmodels/statsmodels-0.14.2.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-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} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Statistical computations and models for use with SciPy" +HOMEPAGE=" + https://www.statsmodels.org/stable/index.html + https://github.com/statsmodels/statsmodels/ + https://pypi.org/project/statsmodels/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~loong ~riscv ~s390 ~amd64-linux" +IUSE="examples" + +DEPEND=" + >=dev-python/numpy-1.22.3[${PYTHON_USEDEP}] + >=dev-python/scipy-1.8[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/pandas-1.4[${PYTHON_USEDEP}] + >=dev-python/patsy-0.5.6[${PYTHON_USEDEP}] +" +BDEPEND=" + ${DEPEND} + >=dev-python/cython-3.0.10[${PYTHON_USEDEP}] + >=dev-python/setuptools-scm-8[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + 'dev-python/ipykernel' \ + 'dev-python/jupyter-client' \ + 'dev-python/matplotlib' \ + 'dev-python/nbconvert' \ + 'dev-python/numpydoc' + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + export VARTEXFONTS="${T}"/fonts + export MPLCONFIGDIR="${T}" + printf -- 'backend : Agg\n' > "${MPLCONFIGDIR}"/matplotlibrc || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x MKL_NUM_THREADS=1 + local -x OMP_NUM_THREADS=1 + local EPYTEST_DESELECT=( + # note that test path should be without "statsmodels/" prefix + imputation/tests/test_mice.py::TestMICE::test_combine + stats/tests/test_mediation.py::test_mixedlm + "stats/tests/test_corrpsd.py::test_corrpsd_threshold[0]" + + # new warning from pandas + tsa/base/tests/test_tsa_indexes.py::test_instantiation_valid + ) + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + epytest statsmodels +} + +python_install_all() { + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + dodoc -r examples + fi + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "Plotting functionality" "dev-python/matplotlib" +} diff --git a/dev-python/strict-rfc3339/Manifest b/dev-python/strict-rfc3339/Manifest index dd3db155a19e..c3a489699e7b 100644 --- a/dev-python/strict-rfc3339/Manifest +++ b/dev-python/strict-rfc3339/Manifest @@ -1 +1 @@ -DIST strict-rfc3339-version-0.7.tar.gz 18756 BLAKE2B 45a38c5eef2b74225408e9a0de9e484cce24778eaf830d9cf052a26df4964c761d8349a71c892c5b4b5129f98802a9aae10b1e9205156bbc4eb6c8f5df7bfb88 SHA512 5db598b33680d60eab8c49dde9d831ece9632811c89552c7ccd9ac7cbc0f603bde5aa14434a388abe669181e643bc2fe97f3c48b08c88863f88e95f17d958bd1 +DIST strict-rfc3339-version-0.7.gh.tar.gz 18756 BLAKE2B 45a38c5eef2b74225408e9a0de9e484cce24778eaf830d9cf052a26df4964c761d8349a71c892c5b4b5129f98802a9aae10b1e9205156bbc4eb6c8f5df7bfb88 SHA512 5db598b33680d60eab8c49dde9d831ece9632811c89552c7ccd9ac7cbc0f603bde5aa14434a388abe669181e643bc2fe97f3c48b08c88863f88e95f17d958bd1 diff --git a/dev-python/strict-rfc3339/strict-rfc3339-0.7-r2.ebuild b/dev-python/strict-rfc3339/strict-rfc3339-0.7-r2.ebuild index dc4b7da3736f..a28d2a9ab48a 100644 --- a/dev-python/strict-rfc3339/strict-rfc3339-0.7-r2.ebuild +++ b/dev-python/strict-rfc3339/strict-rfc3339-0.7-r2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 @@ -16,9 +16,9 @@ HOMEPAGE=" " SRC_URI=" https://github.com/danielrichman/${PN}/archive/version-${PV}.tar.gz - -> ${MY_P}.tar.gz + -> ${MY_P}.gh.tar.gz " -S="${WORKDIR}/${MY_P}" +S=${WORKDIR}/${MY_P} LICENSE="GPL-3+" SLOT="0" diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 0c2a8c96a97a..8aa8031e6c07 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,4 +1,3 @@ -DIST stripe-8.11.0.tar.gz 1215071 BLAKE2B 7e3eec2008582a7ba52bf6c9a9676f5886cb3a52aed06302f2a21c572db01c759f5a48a743ee32d76cd54d28acb507b46ee556a10b277c6727e0737f055506bf SHA512 9d53ed3e253f18de36dfaf3c28fbcba7ef957f35b6f117c0dcb50040e0484f6fde1f3deb816d51aac62ddad64a20ae344acd25d680ec10c7fa7ddde1cf16c0ec -DIST stripe-8.9.0.tar.gz 1124248 BLAKE2B 158b070256404dfa7f5d2a13f076c08834fc0ec5c3f0564912bcd461276d790faf0530260f291f8681c357de727465ab900339b4d53ddf93972ace7411748ff8 SHA512 e4505262720eaccffd5b5e12858df1ca81117bdb9103ac7f9425ae50f93ac621b13587a314edc80546f1f6c4b28c5908fcd34f31dacc8e2c80b4532bf56fb63e -DIST stripe-9.1.0.tar.gz 1219814 BLAKE2B 1a84dab6743e92423cb376f1dc03d01140f93dd74a89a0eb89c9697911c70abf108dd2f51ac422948d73c9ca024ca50e93c0552a2f4df642d60df6d1c521a71b SHA512 6f8484f99ecc0a66d778ef9e3140224adff79391f03acba594b2da3c0096433990d77f2eedb91812626b25aca7063d824cb3511c02eb2b489909cfc78fc0dca4 -DIST stripe-9.2.0.tar.gz 1221000 BLAKE2B efa869e7f9039fbf5ec2c7308b1f2b098f870289224f5f941ae3555c2f9177cf18210f813e26fb068841855d62697d25302b10dd8db0aa7de2af74b827ea151c SHA512 a579c537b3cfea245638d649734f62f6734e237db4d2bc733f933ecf03ac2576e9fdce2ad1adf5891db72c68e2166907b93e4e5d98b6ef92962423f7d8241ee2 +DIST stripe-9.5.0.tar.gz 1262346 BLAKE2B 45ba78fac985352f1857b7f6e5e4907afc9ff45815419671b9ee6476f04a7bf216fa49eb0008b8804d0a9763885ee5a8d09431ba6c26cca5e2091787353ae688 SHA512 2a530fe88d56a4753a5f497547aaf51ae770c1c616677eaad65d820eef638f5dd35d78486a3105caf97b2986f3940019a7cc0e7f89fe1c4ae83195bccd1ce000 +DIST stripe-9.6.0.tar.gz 1265189 BLAKE2B d5b37cc8c7ee8597b80f9920e782e6eda5ff6905f8b303c4344b345c73c80a37eb1cd8dc9cc30d7321c58070cc5b0180144964d5f285edcff031cb0655b41409 SHA512 d93349c85791abec7d691c2aa726996e3110117dfda5608aa63e39463399200a4f8427dc609fc2a32c7eea005e4a79fd93cffa76762e0914efcd89b83baa58c2 +DIST stripe-9.7.0.tar.gz 1268225 BLAKE2B 2ae512fa7f24966166e2d64a8e4e9f23077d0d0318c6f85e4b922b59fbf66e7bf884567d86270c96911a82b51ecfd72312dfd42d335801e9dd40a1912150e8f0 SHA512 5c36ca6447f5d4947b0e069fe5d4fa30ce2cf11768efa8abb70fcc9a69bd104fe085707a463d566abb5417f9dd4b6cb1d3bab132d20616267931fd895544236e diff --git a/dev-python/stripe/stripe-8.9.0.ebuild b/dev-python/stripe/stripe-8.9.0.ebuild deleted file mode 100644 index eb50bfae0690..000000000000 --- a/dev-python/stripe/stripe-8.9.0.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Stripe python bindings" -HOMEPAGE=" - https://github.com/stripe/stripe-python/ - https://pypi.org/project/stripe/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 x86" -IUSE="telemetry" - -RDEPEND=" - >=dev-python/requests-2.20[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] -" -# please bump dev-util/stripe-mock dep to the latest version on every bump -BDEPEND=" - test? ( - >=dev-util/stripe-mock-0.183.0 - dev-python/pytest-mock[${PYTHON_USEDEP}] - net-misc/curl - ) -" - -distutils_enable_tests pytest - -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) - -src_prepare() { - if ! use telemetry; then - sed -i -e '/enable_telemetry/s:True:False:' stripe/__init__.py || die - fi - distutils-r1_src_prepare -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests -p pytest_mock -} - -src_test() { - local stripe_mock_port=12111 - local stripe_mock_max_port=12121 - local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" - # Try to start stripe-mock until we find a free port - while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do - ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" - stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & - local stripe_mock_pid=${!} - sleep 2 - # Did stripe-mock start? - curl --fail -u "sk_test_123:" \ - "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null - eend ${?} "Port ${stripe_mock_port} unavailable" - if [[ ${?} -eq 0 ]]; then - einfo "stripe-mock running on port ${stripe_mock_port}" - break - fi - (( stripe_mock_port++ )) - done - if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then - eerror "Unable to start stripe-mock for tests" - die "Please see the logfile located at: ${stripe_mock_logfile}" - fi - - local -x STRIPE_MOCK_PORT=${stripe_mock_port} - distutils-r1_src_test - - # Tear down stripe-mock - kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" -} diff --git a/dev-python/stripe/stripe-9.1.0.ebuild b/dev-python/stripe/stripe-9.5.0.ebuild index eb4a5aa2c699..5b1937dd4177 100644 --- a/dev-python/stripe/stripe-9.1.0.ebuild +++ b/dev-python/stripe/stripe-9.5.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" IUSE="telemetry" RDEPEND=" @@ -26,7 +26,7 @@ RDEPEND=" # please bump dev-util/stripe-mock dep to the latest version on every bump BDEPEND=" test? ( - >=dev-util/stripe-mock-0.183.0 + >=dev-util/stripe-mock-0.185.0 dev-python/aiohttp[${PYTHON_USEDEP}] dev-python/anyio[${PYTHON_USEDEP}] dev-python/httpx[${PYTHON_USEDEP}] diff --git a/dev-python/stripe/stripe-9.2.0.ebuild b/dev-python/stripe/stripe-9.6.0.ebuild index 67734a537617..c2489c242a9d 100644 --- a/dev-python/stripe/stripe-9.2.0.ebuild +++ b/dev-python/stripe/stripe-9.6.0.ebuild @@ -26,7 +26,7 @@ RDEPEND=" # please bump dev-util/stripe-mock dep to the latest version on every bump BDEPEND=" test? ( - >=dev-util/stripe-mock-0.184.0 + >=dev-util/stripe-mock-0.185.0 dev-python/aiohttp[${PYTHON_USEDEP}] dev-python/anyio[${PYTHON_USEDEP}] dev-python/httpx[${PYTHON_USEDEP}] diff --git a/dev-python/stripe/stripe-8.11.0.ebuild b/dev-python/stripe/stripe-9.7.0.ebuild index eb4a5aa2c699..3bf97ad94c6e 100644 --- a/dev-python/stripe/stripe-8.11.0.ebuild +++ b/dev-python/stripe/stripe-9.7.0.ebuild @@ -26,7 +26,7 @@ RDEPEND=" # please bump dev-util/stripe-mock dep to the latest version on every bump BDEPEND=" test? ( - >=dev-util/stripe-mock-0.183.0 + >=dev-util/stripe-mock-0.186.0 dev-python/aiohttp[${PYTHON_USEDEP}] dev-python/anyio[${PYTHON_USEDEP}] dev-python/httpx[${PYTHON_USEDEP}] diff --git a/dev-python/sumtypes/Manifest b/dev-python/sumtypes/Manifest deleted file mode 100644 index e043228984de..000000000000 --- a/dev-python/sumtypes/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST sumtypes-0.1a6.gh.tar.gz 6535 BLAKE2B 5441b2c89515e9c24b0ca8e5ee6294272290bc452391ca6ce5adbd5befcf2f1879859e84d011b0a5be5a3690a138e9f2e30c38c15171160556eb863d6465b4ab SHA512 1e2fbcb6fe42db4aeeadb3e45d1629027eb99786fffaed03c61056c24a760e6bcb75001e700e4a40b67647f09d0c83d200ee381f62a1483874553f59121f866a diff --git a/dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild b/dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild deleted file mode 100644 index d19843050e69..000000000000 --- a/dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 - -MY_P=${P/_alpha/a} -DESCRIPTION="Sum Types, aka Tagged Unions, for Python" -HOMEPAGE=" - https://github.com/radix/sumtypes/ - https://pypi.org/project/sumtypes/ -" -SRC_URI=" - https://github.com/radix/sumtypes/archive/${PV/_alpha/a}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/attrs[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/superqt/Manifest b/dev-python/superqt/Manifest index 6e9d6be38ebb..1aef85c92304 100644 --- a/dev-python/superqt/Manifest +++ b/dev-python/superqt/Manifest @@ -1,2 +1,2 @@ -DIST superqt-0.6.2.tar.gz 94990 BLAKE2B 1990dcd048fd18913d2c68eb41dd3a0fb1778e468e6c74608f6171e92c0f2a4bf828fb3f73fbbf47f2404fda9864af8bcac66a0a490c35c596e5b5090be39a3a SHA512 8c794ea8dfb8e5aedb3390ce895d392e76faa714f08c1a43c4d8b82ca6353317d9050e5b79d0696e85247fb8772c5fea20642bd7914b1713cd63a737c64397fb -DIST superqt-0.6.3.tar.gz 95200 BLAKE2B 8cd751cd3aefeca192c795ecac4002b8556ea9f6f3a9f7be3b44ff5327dc0dd578cf81aef899453892a5fb43636016abbe808f89e46e3ab8ad88e2094c65f385 SHA512 f50a23cd2999f911160c2b4881501110ea3157640d5801d220f84e38f92cdf7c405194ddf26c990057103c75238ceebef77ec42f7da5f438b702dea10db7232b +DIST superqt-0.6.4.tar.gz 95502 BLAKE2B 0354fbea1925bac84a72fc1d8e0402ba80fdd38cdec32a0e91c4b360dc8d906d631e5e36ffea8d20baae9d1e620417a08f19c2d4d37778f2e50ca3673e12bca3 SHA512 934df6d7c0dd80e045a03b88fb6b254fd7f7e3a09c882bcd46c3635ed7ba434c5704b110dd590a491fc9cead767c2f885245fdae09ef26e1a1e556d66cb2d7a3 +DIST superqt-0.6.6.tar.gz 96181 BLAKE2B 6f42e5279067d409cb9d54bf0d673d04695ae529be61dcf04e6c280fe6555400725742f075f5fcf197a79aa834d73874955a09f3062ee07ebd6598632bbb1635 SHA512 1ed0ca445b6f2ac7ecc7c5c6339249a88eff7f10d67f23bc4052666beba68399b4062f9c2bc9677fd643110513332b7ee65be50d8e77868e3c8d4ff278029b1c diff --git a/dev-python/superqt/superqt-0.6.2.ebuild b/dev-python/superqt/superqt-0.6.4.ebuild index d28d26f40bb0..d28d26f40bb0 100644 --- a/dev-python/superqt/superqt-0.6.2.ebuild +++ b/dev-python/superqt/superqt-0.6.4.ebuild diff --git a/dev-python/superqt/superqt-0.6.3.ebuild b/dev-python/superqt/superqt-0.6.6.ebuild index d28d26f40bb0..d28d26f40bb0 100644 --- a/dev-python/superqt/superqt-0.6.3.ebuild +++ b/dev-python/superqt/superqt-0.6.6.ebuild diff --git a/dev-python/sybil/Manifest b/dev-python/sybil/Manifest index 6334c9906f97..9142a713ce46 100644 --- a/dev-python/sybil/Manifest +++ b/dev-python/sybil/Manifest @@ -1 +1,2 @@ -DIST sybil-6.0.3.gh.tar.gz 67772 BLAKE2B e90b7a01373d931ca056bfce1336bab8a579a25e17000675d77cd849081275970b455c7bc77f30e0fd104073115915fc4f4477b010eafd35e57aec322fb42fc4 SHA512 1fb42b944b237556012ace6fcc5eb3d0f067f0ca043ceafa0e201a8076870fc7e06ae62813eec90d486de6e4b71ebf29176dfff6573de423480c688ff005004d +DIST sybil-6.1.0.gh.tar.gz 70823 BLAKE2B dfdd931f1f2bb7944a97ceb92425e55accc8d7587c829b65be9b6b65007f8a32b076938e1114bbee76d0a9592ba29335cf88e982aa00d1a3ad17c8523f162548 SHA512 2048073c8ef8a9c0f71dabe39ada1404eef3d83509fe3f3e0a7e6b5d1f65a24242c8faf14aaac9ea12b21ab5908dee9bae9d03d9907f09a830d73a3b6e52f8d3 +DIST sybil-6.1.1.gh.tar.gz 71447 BLAKE2B 44ced68adfae094454c9dc4ae55b7327fc9d149728ec9f2faafc42057bc9e99572289100e310f16afdde7741841964a365c008fc9a16092d270ce88dfb0d89be SHA512 f14bb09b8886bd17ccd3a56d3dfc8e2ff510ad04f7b9c8deadff826571e36547934af6855e0a6cbed43e0c0767a0f0af8f80afcecf4a8db74b041fae9d84bd5a diff --git a/dev-python/sybil/sybil-6.0.3.ebuild b/dev-python/sybil/sybil-6.1.0.ebuild index 0ee344c60cf3..72135c802961 100644 --- a/dev-python/sybil/sybil-6.0.3.ebuild +++ b/dev-python/sybil/sybil-6.1.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86" BDEPEND=" test? ( diff --git a/dev-python/sybil/sybil-6.1.1.ebuild b/dev-python/sybil/sybil-6.1.1.ebuild new file mode 100644 index 000000000000..adf69fd38724 --- /dev/null +++ b/dev-python/sybil/sybil-6.1.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Automated testing for the examples in your documentation" +HOMEPAGE=" + https://github.com/simplistix/sybil/ + https://pypi.org/project/sybil/ +" +# tests are missing in sdist, as of 5.0.1 +SRC_URI=" + https://github.com/simplistix/sybil/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/seedir[${PYTHON_USEDEP}] + dev-python/testfixtures[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest index f19c73e34f72..94b934578aef 100644 --- a/dev-python/sympy/Manifest +++ b/dev-python/sympy/Manifest @@ -1 +1,2 @@ +DIST sympy-1.12.1rc1.gh.tar.gz 8009898 BLAKE2B 7afbcb0c17249509a1a780bdfbe72eee5aaa4b4548a587968bd2c454cbdbda9e81b47ee31c98a8aa2323d575a9cc8897f9b52aba0eec1ed831e3038b2fc15aff SHA512 575947bc1057d8bfb5e4d6f84243d0206449ef97d861e6029c11f0868c34b8d909159901054469738577edc8f941db14a61936402037a24153c1ca97af4758ad DIST sympy-1.12.gh.tar.gz 7212937 BLAKE2B 1d37a019e7a6700e69e16d6ca7fdc563711165fc226ac6ec745d20fa6dc689ee9ea01a92549d851aacff763230872c2d1d0cb5bde581c4f960f5de515ffb5f06 SHA512 96a89b88f6912d70c56f5bd1903dd3c518963118ff25d033cdcb7da2f260b8ee209d3ab4a4394dd2b5dc0b4585b71ccd55d55c8e5c6e28024cccbedf07ee4360 diff --git a/dev-python/sympy/sympy-1.12.1_rc1.ebuild b/dev-python/sympy/sympy-1.12.1_rc1.ebuild new file mode 100644 index 000000000000..b5b261a645c7 --- /dev/null +++ b/dev-python/sympy/sympy-1.12.1_rc1.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="Computer Algebra System in pure Python" +HOMEPAGE=" + https://www.sympy.org/ + https://github.com/sympy/sympy/ + https://pypi.org/project/sympy/ +" +# pypi sdist misses some files, notably top-level conftest.py, as of 1.12.1_rc1 +SRC_URI=" + https://github.com/sympy/sympy/archive/${PV/_/}.tar.gz + -> ${P/_/}.gh.tar.gz +" +S=${WORKDIR}/${P/_/} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet symengine texmacs" + +RDEPEND=" + dev-python/mpmath[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + aesara? ( + $(python_gen_cond_dep ' + dev-python/aesara[${PYTHON_USEDEP}] + ' python3_{10..11}) + ) + imaging? ( dev-python/pillow[${PYTHON_USEDEP}] ) + ipython? ( dev-python/ipython[${PYTHON_USEDEP}] ) + latex? ( + virtual/latex-base + dev-texlive/texlive-fontsextra + png? ( app-text/dvipng ) + pdf? ( app-text/ghostscript-gpl ) + ) + mathml? ( dev-python/lxml[${PYTHON_USEDEP}] ) + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) + pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] ) + symengine? ( dev-python/symengine[${PYTHON_USEDEP}] ) + texmacs? ( app-office/texmacs ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # require old version of antlr4 + sympy/parsing/tests/test_autolev.py + sympy/parsing/tests/test_latex.py + # crash due to assertions in sys-devel/llvm[debug] + sympy/parsing/tests/test_c_parser.py + + # TODO: pytest? + sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_check + sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_dsolve_dotprodsimp + + # either very slow or hanging + sympy/solvers/ode/tests/test_systems.py::test_linear_new_order1_type2_de_lorentz_slow_check + sympy/integrals/tests/test_failing_integrals.py::test_issue_15227 + sympy/matrices/tests/test_matrices.py::test_pinv_rank_deficient_when_diagonalization_fails + sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type1 + sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type3 + + # known broken + # https://github.com/sympy/sympy/issues/26321 + sympy/solvers/tests/test_simplex.py::test_lp + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest --veryquickcheck || + die -n "Tests failed with ${EPYTHON}" +} + +python_install_all() { + local DOCS=( AUTHORS README.md ) + + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all + + if use texmacs; then + exeinto /usr/libexec/TeXmacs/bin/ + doexe data/TeXmacs/bin/tm_sympy + insinto /usr/share/TeXmacs/plugins/sympy/ + doins -r data/TeXmacs/progs + fi +} diff --git a/dev-python/tables/tables-3.9.2.ebuild b/dev-python/tables/tables-3.9.2.ebuild index 145317fcd5ac..774972532129 100644 --- a/dev-python/tables/tables-3.9.2.ebuild +++ b/dev-python/tables/tables-3.9.2.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="+cpudetection examples test" RESTRICT="!test? ( test )" diff --git a/dev-python/tavern/Manifest b/dev-python/tavern/Manifest index fed9ee2b2ab6..ae307dbd49df 100644 --- a/dev-python/tavern/Manifest +++ b/dev-python/tavern/Manifest @@ -1,2 +1,2 @@ -DIST tavern-2.10.1.gh.tar.gz 239917 BLAKE2B 836f4940ba7b9a17455e757a7bdec578effc6753162d0ff0b05c46d293cad840924f3e8d66aac08553478d63eb0edb61ad39f53e4e36d9a7681bae303e71a614 SHA512 a09e55e2fa71d2601833137e51fc94cb8bd65086fc21e6c26055406a6be3dce44b57f89d91d7a766aa88c0b5b4214f28eeda69812f1f623ed60f45f57dcf2ded DIST tavern-2.10.3.gh.tar.gz 240386 BLAKE2B eb01cdabb171de101784c4fecf99c59fad892e9819e4b047e9d6f30a27b742ac49eb1840a66225466f2de09f8e0883941de92a4051898fe479e35ee06151a0d4 SHA512 e27da0da1d9eb8302ba34191bb9e157a28335c90012569218709f65b761c2f01d47c2e60a4a72df320cb7a2575ee3e890c3dc37027fb91fc90d97305d2afe277 +DIST tavern-2.11.0.gh.tar.gz 233387 BLAKE2B b1b26e7d9fc4069c7056072ab01c9937245304982f78df236e9bcaa795feec6a1db7192532dba6d17d362af874bffce601bb9652b5f1ecda99c59387f717bb15 SHA512 456fa6ebfc6f47ff9a473e3f416aff9f88b1f9b25c898786d15472072859e1659c089a9c668e6ddc4ecfc0cc8c233417d4768e0f7228800995509a5a34294faf diff --git a/dev-python/tavern/tavern-2.10.3.ebuild b/dev-python/tavern/tavern-2.10.3.ebuild index 4b7176787254..d1864eb7d4d0 100644 --- a/dev-python/tavern/tavern-2.10.3.ebuild +++ b/dev-python/tavern/tavern-2.10.3.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" RDEPEND=" >=dev-python/jmespath-1[${PYTHON_USEDEP}] diff --git a/dev-python/tavern/tavern-2.10.1.ebuild b/dev-python/tavern/tavern-2.11.0.ebuild index f5352b16d9c3..20ce5fc3aaf2 100644 --- a/dev-python/tavern/tavern-2.10.1.ebuild +++ b/dev-python/tavern/tavern-2.11.0.ebuild @@ -20,11 +20,12 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64" +KEYWORDS="~amd64" RDEPEND=" >=dev-python/jmespath-1[${PYTHON_USEDEP}] >=dev-python/jsonschema-4[${PYTHON_USEDEP}] + <dev-python/paho-mqtt-2[${PYTHON_USEDEP}] >=dev-python/paho-mqtt-1.3.1[${PYTHON_USEDEP}] >=dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}] >=dev-python/pykwalify-1.8.0[${PYTHON_USEDEP}] @@ -44,11 +45,6 @@ BDEPEND=" distutils_enable_tests pytest src_prepare() { - local PATCHES=( - # https://github.com/taverntesting/tavern/pull/922 - "${FILESDIR}/${P}-pytest-8.patch" - ) - # strip unnecessary pins, upstream doesn't update them a lot sed -i -E -e 's:,?<=?[0-9.]+::' pyproject.toml || die distutils-r1_src_prepare diff --git a/dev-python/tcolorpy/Manifest b/dev-python/tcolorpy/Manifest index 5d84ad3c2507..f85b85d17337 100644 --- a/dev-python/tcolorpy/Manifest +++ b/dev-python/tcolorpy/Manifest @@ -1 +1,2 @@ DIST tcolorpy-0.1.4.tar.gz 11072 BLAKE2B 2ceefe31475d44546efbf919c6353caf3d023f269f1cf373185900704c88d318bd7c96beae2e0ef287a695ef1cf7367fd5e5dd21d73a61400b17a9a40d1d727a SHA512 4be98b0819c6eca0af55170e473e26b90d0c62b81c00fb1fe66b197f1fd6e7aec38cdd2b24dcc1b059af0ed1a54cfdc0900fad2e9145bf49b578d90edc65e74c +DIST tcolorpy-0.1.6.tar.gz 298986 BLAKE2B ed21c484df83ce6e4d8a90acf982bd574dc308939599e451767006412f762ab71781ce41c98ccf1aafc39a19c12a862bb801ffb0a459b09310a01c9c5a35101d SHA512 c96cfbba2c42a17618aa68f252f6e18a5a842eeeced0d2ccdf6aee903d5552375575652bb4d6417e4e0f566b92750afccf9c3fc1866b67b95ab91d4129c02a0a diff --git a/dev-python/tcolorpy/tcolorpy-0.1.6.ebuild b/dev-python/tcolorpy/tcolorpy-0.1.6.ebuild new file mode 100644 index 000000000000..0d644aa6e233 --- /dev/null +++ b/dev-python/tcolorpy/tcolorpy-0.1.6.ebuild @@ -0,0 +1,25 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="tcolorpy is a Python library to apply true color for terminal text" +HOMEPAGE=" + https://github.com/thombashi/tcolorpy/ + https://pypi.org/project/colorpy/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/tempora/tempora-5.5.1.ebuild b/dev-python/tempora/tempora-5.5.1.ebuild index 736a04fbab4f..0a0302c6d6d0 100644 --- a/dev-python/tempora/tempora-5.5.1.ebuild +++ b/dev-python/tempora/tempora-5.5.1.ebuild @@ -4,7 +4,8 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_TESTED=( pypy3 python3_{10..13} ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) inherit distutils-r1 pypi @@ -25,9 +26,21 @@ RDEPEND=" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pytest-freezegun[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pytest-freezegun[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") ) " distutils_enable_tests pytest + +python_test() { + if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p freezegun +} diff --git a/dev-python/tenacity/Manifest b/dev-python/tenacity/Manifest index 633938a3c16a..cef9ceb79cfb 100644 --- a/dev-python/tenacity/Manifest +++ b/dev-python/tenacity/Manifest @@ -1 +1,2 @@ DIST tenacity-8.2.3.tar.gz 40651 BLAKE2B c79af0a6e0ee0af52fe47579b830ee911b10bd780467eaa22308443830a29cf76583455acbe53c92805abb51686db32696e94cb83ca2ce576a5508272e016fe4 SHA512 c1e82867c0be8a0a38d05ecee04568c3c4eebff85d8c1b90713e3ca953197da7a857d8dc20083afc4fa4b92cc5e43a8aabe8022bc104394acbe6a0aba7602613 +DIST tenacity-8.3.0.tar.gz 43608 BLAKE2B fcf7471110c831cfab20c81bb0bfa2c2895ce33b6cdf22c21dfd0f219eeb674dc4e7f4186e7c9a3366574636becd7391d68acb285069844ccaf358da6afa9c02 SHA512 46152ffacc0a87931cec09bd90eed3d2ad46f89101997c5da2aa510844c814b887a83805b4ec0de6a56759a7f2bcbab0cb2b2f1a4e6c11860ae53f64ff2a4c31 diff --git a/dev-python/jaraco-classes/jaraco-classes-3.3.1.ebuild b/dev-python/tenacity/tenacity-8.3.0.ebuild index 297d1f822d5e..07f870f16ac3 100644 --- a/dev-python/jaraco-classes/jaraco-classes-3.3.1.ebuild +++ b/dev-python/tenacity/tenacity-8.3.0.ebuild @@ -4,24 +4,27 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN/-/.} PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi -DESCRIPTION="Classes used by other projects by developer jaraco" +DESCRIPTION="General-purpose retrying library" HOMEPAGE=" - https://github.com/jaraco/jaraco.classes/ - https://pypi.org/project/jaraco.classes/ + https://github.com/jd/tenacity/ + https://pypi.org/project/tenacity/ " -LICENSE="MIT" +LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + <dev-python/pytest-8.2[${PYTHON_USEDEP}] + dev-python/tornado[${PYTHON_USEDEP}] + dev-python/typeguard[${PYTHON_USEDEP}] + ) " distutils_enable_tests pytest diff --git a/dev-python/testfixtures/Manifest b/dev-python/testfixtures/Manifest index 7c17d9ea56ae..1b1938f66dc8 100644 --- a/dev-python/testfixtures/Manifest +++ b/dev-python/testfixtures/Manifest @@ -1 +1 @@ -DIST testfixtures-8.1.0.tar.gz 134639 BLAKE2B 9f930d15b039a808717e06d86711553c4b165b39927c36901a78a028d227a9aaa39b05091192bcaf15a579f08262e8f9561670e959d6cfa58541f2213f8c15ef SHA512 17aa2be892e8095d2386b72e72daa73689fb44283a168a0cb3fad8c847cd9527e4e273cf0ac527cdd2579f2e0689074de77b26c1124e3ae7aa7efce0f5909fec +DIST testfixtures-8.2.0.tar.gz 136662 BLAKE2B 37dcc8c718a0db51d42f7f7c5b8876e852d4e9ddbd157ce7f278c0ccbd304ce923e41e5126ee9194680059274fad04567de6e56976b281249e85e540b1a984d8 SHA512 a151767ea44a36c244e4c46fc2ce8665ebc64a52159213e5739f78537e684d6760b03a56b393894afabb70a5d777e3b9fbe0aa8acec33c958fc973eda3ec1e5e diff --git a/dev-python/testfixtures/testfixtures-8.1.0.ebuild b/dev-python/testfixtures/testfixtures-8.2.0.ebuild index d2f8044ef027..734d16fc15ab 100644 --- a/dev-python/testfixtures/testfixtures-8.1.0.ebuild +++ b/dev-python/testfixtures/testfixtures-8.2.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" BDEPEND=" test? ( diff --git a/dev-python/testpath/testpath-0.6.0.ebuild b/dev-python/testpath/testpath-0.6.0.ebuild index cd0fac55c802..bfd0a36131be 100644 --- a/dev-python/testpath/testpath-0.6.0.ebuild +++ b/dev-python/testpath/testpath-0.6.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/textdistance/Manifest b/dev-python/textdistance/Manifest index 39446ae940d2..49bb4897b572 100644 --- a/dev-python/textdistance/Manifest +++ b/dev-python/textdistance/Manifest @@ -1 +1 @@ -DIST textdistance-4.6.1.gh.tar.gz 46618 BLAKE2B 168737e2380380570e67e873913823851e6e50a52f5180d4c5519a71f7899074aff2514f0df1a5d920c1c6a8313522fda6eb987862008eda9221ea8cc5be2902 SHA512 a27256c8ad9a228711acb6d54c5ea05634c89537686751c50623411238ee0b519cf0415e345c83b5cd347bda855751562c37ad88f06c1eacfea959cf2798b97c +DIST textdistance-4.6.2.gh.tar.gz 46619 BLAKE2B 0a205bd5615f252f4ab832597b26cd81f3a817fa9544675b947b2ba8a9d8c128ad261a09fb1ee118e0ca807ff7721f3594de5da11f5df59c90c2d9b7110b84ff SHA512 4e5ec7ef76cfd45b05f5813d624d934a6aa90c326b8bc1af50fdde51c4fda141d5aa826e7a145f4cf59f7d7cbcdcf775746eeb197a2adef3c62ad8570d699890 diff --git a/dev-python/textdistance/textdistance-4.6.1.ebuild b/dev-python/textdistance/textdistance-4.6.2.ebuild index 8535a5636ffc..8535a5636ffc 100644 --- a/dev-python/textdistance/textdistance-4.6.1.ebuild +++ b/dev-python/textdistance/textdistance-4.6.2.ebuild diff --git a/dev-python/threadpoolctl/Manifest b/dev-python/threadpoolctl/Manifest index 30103847fe40..ed1ed1ae4de2 100644 --- a/dev-python/threadpoolctl/Manifest +++ b/dev-python/threadpoolctl/Manifest @@ -1 +1 @@ -DIST threadpoolctl-3.4.0.gh.tar.gz 36777 BLAKE2B f5ac09cb2d15ee7c46ebedde61b2ad4e583f4a787bcce8189901f97a56ec030f67fa5dcb20e675b541710db3a48b1983162aa1109b6648a99bb50068590107ac SHA512 3ee49d9936811dd373d25e036e9165aedd1e4d740f0e6a30c5f114c6d58d33321e279919093f1d076c6510fd92dd77273c6d24bf7f6e06030194512093fcc266 +DIST threadpoolctl-3.5.0.gh.tar.gz 37417 BLAKE2B 56b175afb96ce824286f42d0384c158823460b15f66c56b9b904c99e258629ed892906a16f15c3626908c293d25879cc0ca114d0578b1daff3610c2e9b38a3ed SHA512 6b24a6b3df3104b4222df5a20a8c7e321753dfa9ab0df872345a715d5f9ced2a577fe0d730dc4fd382e0ecfdb91a244eb28ba0b831d5db5af98f246f8f56228d diff --git a/dev-python/threadpoolctl/threadpoolctl-3.4.0.ebuild b/dev-python/threadpoolctl/threadpoolctl-3.5.0.ebuild index ef74d3575f0f..6ca8d30b9588 100644 --- a/dev-python/threadpoolctl/threadpoolctl-3.4.0.ebuild +++ b/dev-python/threadpoolctl/threadpoolctl-3.5.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest index 9aee88453931..6b2a6d9fa440 100644 --- a/dev-python/thriftpy2/Manifest +++ b/dev-python/thriftpy2/Manifest @@ -1,3 +1,2 @@ -DIST thriftpy2-0.4.17.tar.gz 519386 BLAKE2B 29c383cb886debb7167fbcef3526d0c027dc60db5ae20c554ea19067bb9a3ab40bea50392bd903293c5d9de1e3bc210220d887bd71194f91345a7565f577ccd9 SHA512 7c58eb6d0c91c933e31654d28ce2f4ef04854551db3eb5b8022565932761c74d95f27d44fc847f93723e535fdb4997fdad66a9dba432aa44e27e069e73b7ff7e -DIST thriftpy2-0.4.19.tar.gz 689034 BLAKE2B 556d47b65b0f9801627515ab7e3fc9907af50b43e8197142626e51b8110ffd740285c895e9ee98e6e0bd8074b9e2f4e9811ce309a68d006dc504f80b3ca38ae6 SHA512 a67160e742683ecd4e47007cd4a6a52f78ab3ae492aa4c170f725d25f1a78fb6a0054cab691752b20a43ff855df61207d302af65ae5966ee5c3f961ff1e42650 DIST thriftpy2-0.4.20.tar.gz 689003 BLAKE2B b7ceb8345e984d6b3524fadff359bb125b0c94900afbfa4c3e64de7034bd816e3fd37fe721b7c35bee0c7fa7a6416ab859c2987cb66ed3fa4a66f6ca06eac952 SHA512 e06b22e1b63df3425eccdd3c83d1154413744ee387c3882d783a5168635087e6e38fd73d24c173e76854c4fe3f57631f4dd59fbb8e5b28cd380dd27d1d51caf3 +DIST thriftpy2-0.5.0.tar.gz 779019 BLAKE2B b29e5349e11e3ce3bd587a7c8212cd6def7b9b287554a068399591bb7493a5c1d0e97c9b38a64973c01d27a83d49e181aad64cb41ce9500e40b96c813caa7b2d SHA512 f4c83bac053a2f073507e38f284f981bd129ee960dc9817f3bd5795c8e9773b78fa23d49d97cb5975783dbd1f4b52f380861bf4fc32a1af795365f703856f350 diff --git a/dev-python/thriftpy2/thriftpy2-0.4.17.ebuild b/dev-python/thriftpy2/thriftpy2-0.4.20-r1.ebuild index f4882f38def2..a763b9df7329 100644 --- a/dev-python/thriftpy2/thriftpy2-0.4.17.ebuild +++ b/dev-python/thriftpy2/thriftpy2-0.4.20-r1.ebuild @@ -1,13 +1,13 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-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..11} ) +PYTHON_COMPAT=( python3_{10..12} ) -inherit distutils-r1 pypi +inherit distutils-r1 flag-o-matic pypi DESCRIPTION="Pure python approach of Apache Thrift" HOMEPAGE=" @@ -33,12 +33,25 @@ BDEPEND=" distutils_enable_tests pytest +src_compile() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/857105 + # https://github.com/Thriftpy/thriftpy2/issues/246 + # + # Don't trust this to LTO + append-flags -fno-strict-aliasing + filter-lto + + distutils-r1_src_compile +} + python_test() { local EPYTEST_DESELECT=( tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_exception tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_result ) - cd tests || die + pushd tests >/dev/null || die epytest + popd >/dev/null || die } diff --git a/dev-python/thriftpy2/thriftpy2-0.4.19.ebuild b/dev-python/thriftpy2/thriftpy2-0.5.0.ebuild index 7fb9eb1ee949..bb893082bf0b 100644 --- a/dev-python/thriftpy2/thriftpy2-0.4.19.ebuild +++ b/dev-python/thriftpy2/thriftpy2-0.5.0.ebuild @@ -5,9 +5,9 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) -inherit distutils-r1 pypi +inherit distutils-r1 flag-o-matic pypi DESCRIPTION="Pure python approach of Apache Thrift" HOMEPAGE=" @@ -33,6 +33,18 @@ BDEPEND=" distutils_enable_tests pytest +src_compile() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/857105 + # https://github.com/Thriftpy/thriftpy2/issues/246 + # + # Don't trust this to LTO + append-flags -fno-strict-aliasing + filter-lto + + distutils-r1_src_compile +} + python_test() { local EPYTEST_DESELECT=( tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_exception diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest index efcff3f32523..0ce3456a2995 100644 --- a/dev-python/tifffile/Manifest +++ b/dev-python/tifffile/Manifest @@ -1 +1,3 @@ -DIST tifffile-2024.2.12.gh.tar.gz 344964 BLAKE2B 13b1697258daa6643f87d7d8a44f638789b3182029ac1d97b1695ac9add3bee4f295d1485b35273a031ce17b0c41b5fdb12d43f03765d96960869bb82c78adb8 SHA512 0cb1f33b879047b311d4ba7b8a00164230935bbd1403f33d3a1a44bedf1797e5f4b066fae865ae990da5356c0a868e4a5722f1da36ff77d8cd9b550d58286552 +DIST tifffile-2024.4.24.gh.tar.gz 346320 BLAKE2B 55f755044a6ee3826beaa8c9d39e5351474d73a64bd2af7d7e31dc20ac156c762b93a5d4986cd3dab8a70ed3b1674fe47e7ed07834a8833dcfa15fe6f179ccb5 SHA512 7ca3b32596210878e24c48475df8b95b193906669f0c561ba0567b6159fe951dd0d89ab83b094ba859da526e6c456d21e4b53bcc6038824556a0391d48a601f5 +DIST tifffile-2024.5.10.gh.tar.gz 347939 BLAKE2B d2295e04ba9dd90ae9b61e8d62263faf8d14293d4f29c3324b0f5e0078cd8e710a2193c0f0f000c7b4c14d54b76dc2e838b188620537e82e77e8b7b63a5cb575 SHA512 e460caf9c3424923f50babc7c8b8030cc7cc7ff9b1d915568cfdecd753e006659dda860948c9568eafc67aac621948675f7ab7e5468c7c0e72ba626fbde039e4 +DIST tifffile-2024.5.3.gh.tar.gz 347188 BLAKE2B 965b216c69f3257870298303ed165e6c5a9a581c079ec349156e40e8d812dd21cf2b8f7b2d3036ae4f2357296e6c6035ac52d8b7e799dd57b0c63287415c1a70 SHA512 46d90a78c0cf8111fd7c9a22ead8f4b8e1715a57cb0e7be0112027e44495d8d239ebe87433e94865b0925e47eb43af13b720318e906c63c0848c52e4f17f22d7 diff --git a/dev-python/tifffile/tifffile-2024.2.12.ebuild b/dev-python/tifffile/tifffile-2024.4.24.ebuild index d58751a45db4..d9d1ef282037 100644 --- a/dev-python/tifffile/tifffile-2024.2.12.ebuild +++ b/dev-python/tifffile/tifffile-2024.4.24.ebuild @@ -28,7 +28,6 @@ RDEPEND=" " BDEPEND=" test? ( - dev-python/dask[${PYTHON_USEDEP}] dev-python/defusedxml[${PYTHON_USEDEP}] >=dev-python/fsspec-2021.5.0[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] diff --git a/dev-python/tifffile/tifffile-2024.5.10.ebuild b/dev-python/tifffile/tifffile-2024.5.10.ebuild new file mode 100644 index 000000000000..190a5b9ccada --- /dev/null +++ b/dev-python/tifffile/tifffile-2024.5.10.ebuild @@ -0,0 +1,47 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Read and write TIFF files" +HOMEPAGE=" + https://pypi.org/project/tifffile/ + https://github.com/cgohlke/tifffile/ + https://www.cgohlke.com/ +" +SRC_URI=" + https://github.com/cgohlke/tifffile/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + >=dev-python/fsspec-2021.5.0[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local -x SKIP_LARGE=1 + local -x SKIP_HTTP=1 + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/tifffile/tifffile-2024.5.3.ebuild b/dev-python/tifffile/tifffile-2024.5.3.ebuild new file mode 100644 index 000000000000..190a5b9ccada --- /dev/null +++ b/dev-python/tifffile/tifffile-2024.5.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Read and write TIFF files" +HOMEPAGE=" + https://pypi.org/project/tifffile/ + https://github.com/cgohlke/tifffile/ + https://www.cgohlke.com/ +" +SRC_URI=" + https://github.com/cgohlke/tifffile/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + >=dev-python/fsspec-2021.5.0[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local -x SKIP_LARGE=1 + local -x SKIP_HTTP=1 + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/time-machine/Manifest b/dev-python/time-machine/Manifest index c04e351318ca..8c94468934a9 100644 --- a/dev-python/time-machine/Manifest +++ b/dev-python/time-machine/Manifest @@ -1,3 +1 @@ -DIST time-machine-2.13.0.gh.tar.gz 28747 BLAKE2B 88836d2b9ad34c8d256b576ab6b2bfe263232fb50d2e95f13049f84dbc838283811ebc54c5bb68493ef966e64777983ab6bcb7fafccda6dc74e00d3bb6a2108f SHA512 26a852d93633e037585ec8fcd563c86af8d977a87633dbeb66cf23c9ca49ca0ae536bdcdcdf809ee2ab423c197610c630d506bc3bf4f13c373d806cee2d8c598 -DIST time-machine-2.14.0.gh.tar.gz 29270 BLAKE2B 55050879fe221204f14c77a90190c2ef5232e182d281885d60686230365b9249f8e90ec80e7a842d43a2c52b72bf463cd59b4a22fdc8b0cd25c5ad5b0306fc98 SHA512 7bc9d6d53da68c18ccdae1af6282ea482a0758a4fda9acabe9fa39bfe217a57e65b8041ae4436b7cef2c0b39835f3aae9590515d200b9b2962bd0610370e8454 DIST time-machine-2.14.1.gh.tar.gz 29600 BLAKE2B b118e3a2f08f75cc6cd89181a9e533c89bc6e5312a520b2a854fb8aa7ac59f1570e48a85788261f781ef83f9864380318074724f6eadab9cda7a3374b2322e7d SHA512 42a127e2dc5a86e33896010e6d141fc9248fe685d3477ec71ec8a72315914cea99ae4a4d6623a59fd69505d935d2feadcfd831a7fff5617c3f98a93d48652ecf diff --git a/dev-python/time-machine/files/time-machine-2.13.0-backport-pr400.patch b/dev-python/time-machine/files/time-machine-2.13.0-backport-pr400.patch deleted file mode 100644 index b7fa55c2e267..000000000000 --- a/dev-python/time-machine/files/time-machine-2.13.0-backport-pr400.patch +++ /dev/null @@ -1,252 +0,0 @@ -https://bugs.gentoo.org/show_bug.cgi?id=912709 -https://github.com/adamchainz/time-machine/pull/400 - -From b489a478193982c17cf7847d32cae2b53a904222 Mon Sep 17 00:00:00 2001 -From: matoro <matoro@users.noreply.github.com> -Date: Thu, 9 Nov 2023 13:03:49 -0500 -Subject: [PATCH 1/2] Fix tests on platforms with low clock resolution - -On platforms without a high-resolution clock, such as Alpha and PA-RISC -is is likely that two sequential calls to time.time() will return the -same value if the execution time is not sufficient to allow one full -clock resolution cycle to pass. This adds sleeps of one cycle to -enforce that the minimum amount of time to guarantee a clock change has -passed. - -On systems with high-resolution clocks, clock_getres() will return 1ns; -in reality the sleep will take longer than 1ns to execute but should -still be a negligible amount of time. ---- - tests/test_time_machine.py | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -diff --git a/tests/test_time_machine.py b/tests/test_time_machine.py -index fe98fb7..7b5abbe 100644 ---- a/tests/test_time_machine.py -+++ b/tests/test_time_machine.py -@@ -155,8 +155,10 @@ def test_time_clock_gettime_realtime(): - @py_have_clock_gettime - def test_time_clock_gettime_monotonic_unaffected(): - start = time.clock_gettime(time.CLOCK_MONOTONIC) -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - with time_machine.travel(EPOCH + 180.0): - frozen = time.clock_gettime(time.CLOCK_MONOTONIC) -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - assert isinstance(frozen, float) - assert frozen > start - -@@ -169,6 +171,7 @@ def test_time_clock_gettime_monotonic_unaffected(): - def test_time_clock_gettime_ns_realtime(): - with time_machine.travel(EPOCH + 190.0): - first = time.clock_gettime_ns(time.CLOCK_REALTIME) -+ time.sleep(time.clock_getres(time.CLOCK_REALTIME)) - assert isinstance(first, int) - assert first == int((EPOCH + 190.0) * NANOSECONDS_PER_SECOND) - second = time.clock_gettime_ns(time.CLOCK_REALTIME) -@@ -182,8 +185,10 @@ def test_time_clock_gettime_ns_realtime(): - @py_have_clock_gettime - def test_time_clock_gettime_ns_monotonic_unaffected(): - start = time.clock_gettime_ns(time.CLOCK_MONOTONIC) -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - with time_machine.travel(EPOCH + 190.0): - frozen = time.clock_gettime_ns(time.CLOCK_MONOTONIC) -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - assert isinstance(frozen, int) - assert frozen > start - -@@ -279,6 +284,7 @@ def test_time_strftime_format_t(): - def test_time_time(): - with time_machine.travel(EPOCH): - first = time.time() -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - assert isinstance(first, float) - assert first == EPOCH - second = time.time() -@@ -300,6 +306,7 @@ def test_time_time(): - def test_time_time_windows(): - with time_machine.travel(EPOCH): - first = time.time() -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - assert isinstance(first, float) - assert first == windows_epoch_in_posix - -@@ -316,6 +323,7 @@ def test_time_time_no_tick(): - def test_time_time_ns(): - with time_machine.travel(EPOCH + 150.0): - first = time.time_ns() -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - assert isinstance(first, int) - assert first == int((EPOCH + 150.0) * NANOSECONDS_PER_SECOND) - second = time.time_ns() -@@ -561,6 +569,7 @@ def test_method_decorator(self): - @time_machine.travel(EPOCH + 95.0) - class UnitTestClassTests(TestCase): - def test_class_decorator(self): -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - assert EPOCH + 95.0 < time.time() < EPOCH + 96.0 - - @time_machine.travel(EPOCH + 25.0) -@@ -578,6 +587,7 @@ def setUpClass(cls): - cls.custom_setupclass_ran = True - - def test_class_decorator(self): -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - assert EPOCH + 95.0 < time.time() < EPOCH + 96.0 - assert self.custom_setupclass_ran - -@@ -639,6 +649,7 @@ def test_move_to_datetime(): - traveller.move_to(EPOCH_PLUS_ONE_YEAR_DATETIME) - - first = time.time() -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - assert first == EPOCH_PLUS_ONE_YEAR - - second = time.time() -@@ -706,6 +717,7 @@ def test_move_to_datetime_change_tick_on(): - with time_machine.travel(EPOCH, tick=False) as traveller: - traveller.move_to(EPOCH_PLUS_ONE_YEAR_DATETIME, tick=True) - assert time.time() == EPOCH_PLUS_ONE_YEAR -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - assert time.time() > EPOCH_PLUS_ONE_YEAR - - -@@ -756,6 +768,7 @@ def test_fixture_used_tick_false(time_machine): - def test_fixture_used_tick_true(time_machine): - time_machine.move_to(EPOCH, tick=True) - original = time.time() -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - assert original == EPOCH - assert original < time.time() < EPOCH + 10.0 - - -From 9e84584325ec06eb997716b6a0f42e9ca6540994 Mon Sep 17 00:00:00 2001 -From: matoro <matoro@users.noreply.github.com> -Date: Fri, 10 Nov 2023 11:06:23 -0500 -Subject: [PATCH 2/2] Wrap sleep calls in "sleep_one_cycle" function - ---- - tests/test_time_machine.py | 30 +++++++++++++++++------------- - 1 file changed, 17 insertions(+), 13 deletions(-) - -diff --git a/tests/test_time_machine.py b/tests/test_time_machine.py -index 7b5abbe..163ec2b 100644 ---- a/tests/test_time_machine.py -+++ b/tests/test_time_machine.py -@@ -38,6 +38,10 @@ - ) - - -+def sleep_one_cycle(clock: int) -> None: -+ time.sleep(time.clock_getres(clock)) -+ -+ - @contextmanager - def change_local_timezone(local_tz: str | None) -> typing.Iterator[None]: - orig_tz = os.environ["TZ"] -@@ -155,10 +159,10 @@ def test_time_clock_gettime_realtime(): - @py_have_clock_gettime - def test_time_clock_gettime_monotonic_unaffected(): - start = time.clock_gettime(time.CLOCK_MONOTONIC) -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - with time_machine.travel(EPOCH + 180.0): - frozen = time.clock_gettime(time.CLOCK_MONOTONIC) -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - assert isinstance(frozen, float) - assert frozen > start - -@@ -171,7 +175,7 @@ def test_time_clock_gettime_monotonic_unaffected(): - def test_time_clock_gettime_ns_realtime(): - with time_machine.travel(EPOCH + 190.0): - first = time.clock_gettime_ns(time.CLOCK_REALTIME) -- time.sleep(time.clock_getres(time.CLOCK_REALTIME)) -+ sleep_one_cycle(time.CLOCK_REALTIME) - assert isinstance(first, int) - assert first == int((EPOCH + 190.0) * NANOSECONDS_PER_SECOND) - second = time.clock_gettime_ns(time.CLOCK_REALTIME) -@@ -185,10 +189,10 @@ def test_time_clock_gettime_ns_realtime(): - @py_have_clock_gettime - def test_time_clock_gettime_ns_monotonic_unaffected(): - start = time.clock_gettime_ns(time.CLOCK_MONOTONIC) -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - with time_machine.travel(EPOCH + 190.0): - frozen = time.clock_gettime_ns(time.CLOCK_MONOTONIC) -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - assert isinstance(frozen, int) - assert frozen > start - -@@ -284,7 +288,7 @@ def test_time_strftime_format_t(): - def test_time_time(): - with time_machine.travel(EPOCH): - first = time.time() -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - assert isinstance(first, float) - assert first == EPOCH - second = time.time() -@@ -306,7 +310,7 @@ def test_time_time(): - def test_time_time_windows(): - with time_machine.travel(EPOCH): - first = time.time() -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - assert isinstance(first, float) - assert first == windows_epoch_in_posix - -@@ -323,7 +327,7 @@ def test_time_time_no_tick(): - def test_time_time_ns(): - with time_machine.travel(EPOCH + 150.0): - first = time.time_ns() -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - assert isinstance(first, int) - assert first == int((EPOCH + 150.0) * NANOSECONDS_PER_SECOND) - second = time.time_ns() -@@ -569,7 +573,7 @@ def test_method_decorator(self): - @time_machine.travel(EPOCH + 95.0) - class UnitTestClassTests(TestCase): - def test_class_decorator(self): -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - assert EPOCH + 95.0 < time.time() < EPOCH + 96.0 - - @time_machine.travel(EPOCH + 25.0) -@@ -587,7 +591,7 @@ def setUpClass(cls): - cls.custom_setupclass_ran = True - - def test_class_decorator(self): -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - assert EPOCH + 95.0 < time.time() < EPOCH + 96.0 - assert self.custom_setupclass_ran - -@@ -649,7 +653,7 @@ def test_move_to_datetime(): - traveller.move_to(EPOCH_PLUS_ONE_YEAR_DATETIME) - - first = time.time() -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - assert first == EPOCH_PLUS_ONE_YEAR - - second = time.time() -@@ -717,7 +721,7 @@ def test_move_to_datetime_change_tick_on(): - with time_machine.travel(EPOCH, tick=False) as traveller: - traveller.move_to(EPOCH_PLUS_ONE_YEAR_DATETIME, tick=True) - assert time.time() == EPOCH_PLUS_ONE_YEAR -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - assert time.time() > EPOCH_PLUS_ONE_YEAR - - -@@ -768,7 +772,7 @@ def test_fixture_used_tick_false(time_machine): - def test_fixture_used_tick_true(time_machine): - time_machine.move_to(EPOCH, tick=True) - original = time.time() -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - assert original == EPOCH - assert original < time.time() < EPOCH + 10.0 - diff --git a/dev-python/time-machine/time-machine-2.13.0.ebuild b/dev-python/time-machine/time-machine-2.13.0.ebuild deleted file mode 100644 index 040dc0489bc5..000000000000 --- a/dev-python/time-machine/time-machine-2.13.0.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2022-2023 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} ) - -inherit distutils-r1 - -DESCRIPTION="Travel through time in your tests" -HOMEPAGE=" - https://github.com/adamchainz/time-machine/ - https://pypi.org/project/time-machine/ -" -SRC_URI=" - https://github.com/adamchainz/time-machine/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/python-dateutil[${PYTHON_USEDEP}] -" - -PATCHES=( "${FILESDIR}/${PN}-2.13.0-backport-pr400.patch" ) - -distutils_enable_tests pytest diff --git a/dev-python/time-machine/time-machine-2.14.0.ebuild b/dev-python/time-machine/time-machine-2.14.0.ebuild deleted file mode 100644 index 462fe2809ad3..000000000000 --- a/dev-python/time-machine/time-machine-2.14.0.ebuild +++ /dev/null @@ -1,30 +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} ) - -inherit distutils-r1 - -DESCRIPTION="Travel through time in your tests" -HOMEPAGE=" - https://github.com/adamchainz/time-machine/ - https://pypi.org/project/time-machine/ -" -SRC_URI=" - https://github.com/adamchainz/time-machine/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/python-dateutil[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/time-machine/time-machine-2.14.1.ebuild b/dev-python/time-machine/time-machine-2.14.1.ebuild index 462fe2809ad3..9c3580a6fb3e 100644 --- a/dev-python/time-machine/time-machine-2.14.1.ebuild +++ b/dev-python/time-machine/time-machine-2.14.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}] diff --git a/dev-python/tinycss2/Manifest b/dev-python/tinycss2/Manifest index e888817561bc..4aa31b3383d0 100644 --- a/dev-python/tinycss2/Manifest +++ b/dev-python/tinycss2/Manifest @@ -1,2 +1,2 @@ -DIST css-parsing-tests-c5749e51dda3868b3e8062e65a36584c2fec8059.gh.tar.gz 35758 BLAKE2B d834011c3ac774eb79b35e2e74f3854ddc2bb871531a32194041d6f98bde3dc68db67baea25d5463a03e057197144237be69fee4eacfb8edb73167e6e4faf7be SHA512 ef44eb1144a6484f308fabe4187310b2ef0067f328bf5213969d87c475fccae3d716dc66640a0a554ab2a3d7da0efb3a168a288ac6eef7722f3ae46959943b49 -DIST tinycss2-1.2.1.gh.tar.gz 28351 BLAKE2B 42e1ba559e015654184be94afb02866f32bb6cfbdb0006df29ce64f8715d25a8751acd8380db7ad06bd9f5fdcc694519d2bc3c916dfd09816ba44c18a1f1d750 SHA512 59964398418fd895c6b5bdbdac47edb0bd421aeb8b3939307cb9ff864f50071fc171a9d6bb9b9b0adbbb645beedea0e14720af0d824949236e54b2d1b189bc72 +DIST css-parsing-tests-43e65b244133f17eb8a4d4404d5774672b94824f.gh.tar.gz 35943 BLAKE2B 69a3dd9e638d04b498c28bf8367e1d0bfe1876e8bcdfc6796f5b5715425f943e6308afa7774a5af5e6d3b3d5cd4f8424fa2809bdf0ecdadddfcfd36354986d82 SHA512 ed83bf447a595d754bbae9fcf25c3d2b4812f99b65c5e46b39d5f7ade57d49b4ffded9bc9d1cfef0a50b078f8ceb9bedb1d4f2f9ebf6db875eaad6c956b4f1d5 +DIST tinycss2-1.3.0.tar.gz 67360 BLAKE2B f39eaaaafe2be20d2d420977e8d2d80c0e1817c277e14c57b155f1dafa54191ac2aed6908b038da5c03b4cbed66b626af432160699152800ebe2d7823e1685ed SHA512 d215ba2d8c580ca785bc2c3e33c8ae220c085e3ec1b932c01f81e176987c48559867af186056e2c501541d1d337b4fc33eea7ff2feba490e81076608b7c3aaee diff --git a/dev-python/tinycss2/tinycss2-1.2.1.ebuild b/dev-python/tinycss2/tinycss2-1.3.0.ebuild index 6e65527eda2a..678d7cd17ec9 100644 --- a/dev-python/tinycss2/tinycss2-1.2.1.ebuild +++ b/dev-python/tinycss2/tinycss2-1.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,18 +6,17 @@ EAPI=8 DISTUTILS_USE_PEP517=flit PYTHON_COMPAT=( pypy3 python3_{10..12} ) -inherit distutils-r1 +inherit distutils-r1 pypi -CSS_TEST_COMMIT_ID=c5749e51dda3868b3e8062e65a36584c2fec8059 +CSS_TEST_COMMIT_ID=43e65b244133f17eb8a4d4404d5774672b94824f DESCRIPTION="A complete yet simple CSS parser for Python" HOMEPAGE=" - https://www.courtbouillon.org/tinycss2 + https://www.courtbouillon.org/tinycss2/ https://github.com/Kozea/tinycss2/ https://pypi.org/project/tinycss2/ " -SRC_URI=" - https://github.com/Kozea/tinycss2/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz +SRC_URI+=" test? ( https://github.com/CourtBouillon/css-parsing-tests/archive/${CSS_TEST_COMMIT_ID}.tar.gz -> css-parsing-tests-${CSS_TEST_COMMIT_ID}.gh.tar.gz diff --git a/dev-python/tokenize-rt/tokenize-rt-5.2.0.ebuild b/dev-python/tokenize-rt/tokenize-rt-5.2.0.ebuild index b5892fd0a2e1..7fe095a2532f 100644 --- a/dev-python/tokenize-rt/tokenize-rt-5.2.0.ebuild +++ b/dev-python/tokenize-rt/tokenize-rt-5.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,6 +20,6 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="~amd64 ~arm64 ~x86" distutils_enable_tests pytest diff --git a/dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild b/dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild index b5d2c5e48ed7..41878e1e9a52 100644 --- a/dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild +++ b/dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{9..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/tomli/tomli-2.0.1-r1.ebuild b/dev-python/tomli/tomli-2.0.1-r1.ebuild index c54478954c55..2aa05fb0cf28 100644 --- a/dev-python/tomli/tomli-2.0.1-r1.ebuild +++ b/dev-python/tomli/tomli-2.0.1-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # please keep this ebuild at EAPI 7 -- sys-apps/portage dep EAPI=7 DISTUTILS_USE_PEP517=no -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/tomlkit/Manifest b/dev-python/tomlkit/Manifest index 0613bf1a0ac4..05a5ba64102e 100644 --- a/dev-python/tomlkit/Manifest +++ b/dev-python/tomlkit/Manifest @@ -1 +1,2 @@ DIST tomlkit-0.12.4.tar.gz 191162 BLAKE2B 3a5f8f01c7965a6d445fa96d0253d0dad55414bf9cae875fe9d9bc670d5b0a20a76fbf655695396ea188cddcea7ad034a38eed05d85f48c47301a3f23a9c7ded SHA512 b6b1cbb954202a256411388eea46852964bbdd02026086a42eab9107c55b961718398ec504f0289560894e9b46cf1c2f4b7e943267454509f6212e899e161d05 +DIST tomlkit-0.12.5.tar.gz 191420 BLAKE2B 3175f2932db1da3aca439581c7a11fd2dce01dff3c9d21b07577bdf38138515105939bc864510dce1f98e28caa222b6ba94a0d0906b515e7b677c405b90bf77c SHA512 85fba0018059c72f483251e53c039ede4ed630dd31afc58a1555705281a42c090aee2d8c25234b8700ff5f3a766313d7c9c716d7224f608f22f836c9e701c251 diff --git a/dev-python/tomlkit/files/tomlkit-0.12.5-py313.patch b/dev-python/tomlkit/files/tomlkit-0.12.5-py313.patch new file mode 100644 index 000000000000..bc6201d42101 --- /dev/null +++ b/dev-python/tomlkit/files/tomlkit-0.12.5-py313.patch @@ -0,0 +1,71 @@ +From 05d9be1c2b2a95a4eb3a53d999f1483dd7abae5a Mon Sep 17 00:00:00 2001 +From: Frost Ming <me@frostming.com> +Date: Mon, 13 May 2024 10:44:28 +0800 +Subject: [PATCH] fix: Test failures with Python 3.13.0a4: + test_dates_behave_like_dates and test_times_behave_like_times (#349) + +Fixes #333 + +Signed-off-by: Frost Ming <me@frostming.com> +--- + tests/test_items.py | 4 ++-- + tomlkit/items.py | 15 ++++++++++----- + 4 files changed, 20 insertions(+), 8 deletions(-) + +diff --git a/tests/test_items.py b/tests/test_items.py +index 1a71b04..3d2de68 100644 +--- a/tests/test_items.py ++++ b/tests/test_items.py +@@ -689,7 +689,7 @@ def test_dates_behave_like_dates(): + assert i.as_string() == "2018-07-22" + + i += timedelta(days=1) +- assert i == datetime(2018, 7, 23) ++ assert i == date(2018, 7, 23) + assert i.as_string() == "2018-07-23" + + i -= timedelta(days=2) +@@ -697,7 +697,7 @@ def test_dates_behave_like_dates(): + assert i.as_string() == "2018-07-21" + + i = i.replace(year=2019) +- assert i == datetime(2019, 7, 21) ++ assert i == date(2019, 7, 21) + assert i.as_string() == "2019-07-21" + + doc = parse("dt = 2018-07-22 # Comment") +diff --git a/tomlkit/items.py b/tomlkit/items.py +index ef40a15..661e09c 100644 +--- a/tomlkit/items.py ++++ b/tomlkit/items.py +@@ -958,9 +958,14 @@ def __new__(cls, year: int, month: int, day: int, *_: Any) -> date: + return date.__new__(cls, year, month, day) + + def __init__( +- self, year: int, month: int, day: int, trivia: Trivia, raw: str ++ self, ++ year: int, ++ month: int, ++ day: int, ++ trivia: Trivia | None = None, ++ raw: str = "", + ) -> None: +- super().__init__(trivia) ++ super().__init__(trivia or Trivia()) + + self._raw = raw + +@@ -1033,10 +1038,10 @@ def __init__( + second: int, + microsecond: int, + tzinfo: tzinfo | None, +- trivia: Trivia, +- raw: str, ++ trivia: Trivia | None = None, ++ raw: str = "", + ) -> None: +- super().__init__(trivia) ++ super().__init__(trivia or Trivia()) + + self._raw = raw + diff --git a/dev-python/tomlkit/metadata.xml b/dev-python/tomlkit/metadata.xml index 1a938ee652b2..0464c4b95333 100644 --- a/dev-python/tomlkit/metadata.xml +++ b/dev-python/tomlkit/metadata.xml @@ -12,6 +12,6 @@ <stabilize-allarches/> <upstream> <remote-id type="pypi">tomlkit</remote-id> - <remote-id type="github">sdispater/tomlkit</remote-id> + <remote-id type="github">python-poetry/tomlkit</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/tomlkit/tomlkit-0.12.5-r1.ebuild b/dev-python/tomlkit/tomlkit-0.12.5-r1.ebuild new file mode 100644 index 000000000000..78a304867d74 --- /dev/null +++ b/dev-python/tomlkit/tomlkit-0.12.5-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Style preserving TOML library" +HOMEPAGE=" + https://github.com/python-poetry/tomlkit/ + https://pypi.org/project/tomlkit/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + # https://github.com/python-poetry/tomlkit/pull/349 + "${FILESDIR}/${P}-py313.patch" +) + +src_configure() { + grep -q 'build-backend = "poetry' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "tomlkit" + version = "${PV}" + description = "Style preserving TOML library" + EOF +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/tomlkit/tomlkit-0.12.5.ebuild b/dev-python/tomlkit/tomlkit-0.12.5.ebuild new file mode 100644 index 000000000000..909ac0927d76 --- /dev/null +++ b/dev-python/tomlkit/tomlkit-0.12.5.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Style preserving TOML library" +HOMEPAGE=" + https://github.com/sdispater/tomlkit/ + https://pypi.org/project/tomlkit/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "poetry' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "tomlkit" + version = "${PV}" + description = "Style preserving TOML library" + EOF +} diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 197638f3473d..d4e6554b8b7c 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -1 +1 @@ -DIST tox-4.14.2.tar.gz 178515 BLAKE2B 812a4e0ffe218c5799a5bdf76cc5f1f99f60c7de464953349283e3951c91aded247941cb173bfdff670c9c079b9efb3645220ff7126b7e0cf341071d561a375b SHA512 45bbd3f8d00eee05158452295230321947ec16a8bfff43e84ea9825d514976526f3889709255ed042cfb7a7ebfed020707cfc2d25b69ce90c148f4472092350d +DIST tox-4.15.0.tar.gz 179243 BLAKE2B ba126d2dbe9598667570e1798567cf2301a60ca4859947b0b5cd15603b6f1b9c1b557bc090973a3c99960c29242edbb684d9ab81b90ecca3ac020b129a033850 SHA512 a113d8e921301dc4bc39e03103f8857604b28beedc49c764315cf99694e8a351b965e0e1b7d91555ce437a1cbb2bce0e1dd645b7c92c36e8e0e1dedcf610d1af diff --git a/dev-python/tox/tox-4.14.2.ebuild b/dev-python/tox/tox-4.15.0.ebuild index fc92d9c5ac96..fc92d9c5ac96 100644 --- a/dev-python/tox/tox-4.14.2.ebuild +++ b/dev-python/tox/tox-4.15.0.ebuild diff --git a/dev-python/tpm2-pytss/files/tpm2-pytss-2.2.1-Revert-test-skip-some-FAPI-tests-if-testing-agains-t.patch b/dev-python/tpm2-pytss/files/tpm2-pytss-2.2.1-Revert-test-skip-some-FAPI-tests-if-testing-agains-t.patch new file mode 100644 index 000000000000..ff18af2015c6 --- /dev/null +++ b/dev-python/tpm2-pytss/files/tpm2-pytss-2.2.1-Revert-test-skip-some-FAPI-tests-if-testing-agains-t.patch @@ -0,0 +1,83 @@ +From a04715c5ef5bc3d6b30b1354d64db1762bc42b9c Mon Sep 17 00:00:00 2001 +From: Erik Larsson <who+github@cnackers.org> +Date: Fri, 12 Apr 2024 19:49:52 +0200 +Subject: [PATCH 1/2] Revert "test: skip some FAPI tests if testing agains + tpm2-tss master branch." + +This reverts commit 9e948984676b38f71e923a6e167340dc99554ac0. + +Fixed in tpm2-tss master branch, so remove the temporary fixes. + +Signed-off-by: Erik Larsson <who+github@cnackers.org> +--- + test/test_fapi.py | 19 +++++-------------- + 1 file changed, 5 insertions(+), 14 deletions(-) + +diff --git a/test/test_fapi.py b/test/test_fapi.py +index f702fc9..6b77c66 100644 +--- a/test/test_fapi.py ++++ b/test/test_fapi.py +@@ -13,7 +13,7 @@ from cryptography.hazmat.primitives.asymmetric.padding import PSS + + from tpm2_pytss import * + +-from tpm2_pytss.internal.utils import is_bug_fixed, _lib_version_atleast ++from tpm2_pytss.internal.utils import is_bug_fixed + + from .TSS2_BaseTest import TpmSimulator + from tpm2_pytss.TSS2_Exception import TSS2_Exception +@@ -614,8 +614,7 @@ class Common: + self.fapi.sign(key_path, b"\x22" * 32) + + @pytest.mark.skipif( +- _lib_version_atleast("tss2-fapi", "4.0.1-170") +- or not is_bug_fixed(fixed_in="3.2", backports=["2.4.7", "3.0.5", "3.1.1"]), ++ not is_bug_fixed(fixed_in="3.2", backports=["2.4.7", "3.0.5", "3.1.1"]), + reason="tpm2-tss bug, see #2084", + ) + def test_write_authorize_nv(self, esys): +@@ -662,8 +661,7 @@ class Common: + self.fapi.quote(path=key_path, pcrs=[7, 9]) + + @pytest.mark.skipif( +- _lib_version_atleast("tss2-fapi", "4.0.1-170") +- or not is_bug_fixed(fixed_in="3.2", backports=["2.4.7", "3.0.5", "3.1.1"]), ++ not is_bug_fixed(fixed_in="3.2", backports=["2.4.7", "3.0.5", "3.1.1"]), + reason="tpm2-tss bug, see #2084", + ) + def test_authorize_policy(self, sign_key): +@@ -728,9 +726,7 @@ class Common: + self.fapi.quote(path=key_path, pcrs=[7, 9]) + + @pytest.mark.skipif( +- _lib_version_atleast("tss2-fapi", "4.0.1-170") +- or not is_bug_fixed(fixed_in="3.2"), +- reason="tpm2-tss bug, see #2080", ++ not is_bug_fixed(fixed_in="3.2"), reason="tpm2-tss bug, see #2080" + ) + def test_policy_signed(self, cryptography_key): + # create external signing key used by the signing authority external to the TPM +@@ -792,10 +788,6 @@ class Common: + with pytest.raises(TSS2_Exception): + self.fapi.sign(path=key_path, digest=b"\x11" * 32) + +- @pytest.mark.skipif( +- _lib_version_atleast("tss2-fapi", "4.0.1-170"), +- reason="issue on master branch.", +- ) + def test_policy_branched(self): + pcr_index = 15 + pcr_data = b"ABCDEF" +@@ -913,8 +905,7 @@ class Common: + self.fapi.delete(path=nv_path) + + @pytest.mark.skipif( +- _lib_version_atleast("tss2-fapi", "4.0.1-170") +- or not is_bug_fixed(fixed_in="3.2", backports=["2.4.7", "3.0.5", "3.1.1"]), ++ not is_bug_fixed(fixed_in="3.2", backports=["2.4.7", "3.0.5", "3.1.1"]), + reason="tpm2-tss bug, see #2089", + ) + def test_policy_action(self): +-- +2.43.2 + diff --git a/dev-python/tpm2-pytss/files/tpm2-pytss-2.2.1-cryptography-fixes-for-newer-version-of-cryptography.patch b/dev-python/tpm2-pytss/files/tpm2-pytss-2.2.1-cryptography-fixes-for-newer-version-of-cryptography.patch new file mode 100644 index 000000000000..2938e1938940 --- /dev/null +++ b/dev-python/tpm2-pytss/files/tpm2-pytss-2.2.1-cryptography-fixes-for-newer-version-of-cryptography.patch @@ -0,0 +1,53 @@ +From 5a33c767be196328948baef569de084d97d62384 Mon Sep 17 00:00:00 2001 +From: Erik Larsson <who+github@cnackers.org> +Date: Tue, 26 Mar 2024 13:25:10 +0100 +Subject: [PATCH] cryptography: fixes for newer version of cryptography + +Signed-off-by: Erik Larsson <who+github@cnackers.org> +--- + src/tpm2_pytss/internal/crypto.py | 1 + + test/test_encoding.py | 2 +- + test/test_policy.py | 2 +- + 3 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/src/tpm2_pytss/internal/crypto.py b/src/tpm2_pytss/internal/crypto.py +index 42030c5..f9d8c34 100644 +--- a/src/tpm2_pytss/internal/crypto.py ++++ b/src/tpm2_pytss/internal/crypto.py +@@ -25,6 +25,7 @@ from cryptography.hazmat.backends import default_backend + from cryptography.exceptions import UnsupportedAlgorithm, InvalidSignature + from typing import Tuple, Type, Any + import secrets ++import inspect + import sys + + _curvetable = ( +diff --git a/test/test_encoding.py b/test/test_encoding.py +index 1f58562..8cf4b51 100644 +--- a/test/test_encoding.py ++++ b/test/test_encoding.py +@@ -1406,7 +1406,7 @@ class ToolsTest(TSS2_BaseTest): + def test_tools_decode_tpm2b_name(self): + if not self.has_tools: + self.skipTest("tools not in path") +- key = ec.generate_private_key(ec.SECP256R1).public_key() ++ key = ec.generate_private_key(ec.SECP256R1()).public_key() + kb = key.public_bytes( + serialization.Encoding.PEM, serialization.PublicFormat.SubjectPublicKeyInfo + ) +diff --git a/test/test_policy.py b/test/test_policy.py +index f18aa8a..5f56e21 100644 +--- a/test/test_policy.py ++++ b/test/test_policy.py +@@ -47,7 +47,7 @@ class TestPolicy(TSS2_EsapiTest): + super().setUp() + self._has_secp192r1 = True + try: +- ec.generate_private_key(ec.SECP192R1) ++ ec.generate_private_key(ec.SECP192R1()) + except Exception: + self._has_secp192r1 = False + +-- +2.43.2 + diff --git a/dev-python/tpm2-pytss/files/tpm2-pytss-2.2.1-scripts-update-regex-for-defines.patch b/dev-python/tpm2-pytss/files/tpm2-pytss-2.2.1-scripts-update-regex-for-defines.patch new file mode 100644 index 000000000000..99f65025434f --- /dev/null +++ b/dev-python/tpm2-pytss/files/tpm2-pytss-2.2.1-scripts-update-regex-for-defines.patch @@ -0,0 +1,28 @@ +From b02fdc8e259fe977c1065389c042be69e2985bdf Mon Sep 17 00:00:00 2001 +From: Erik Larsson <who+github@cnackers.org> +Date: Sat, 20 Apr 2024 10:32:55 +0200 +Subject: [PATCH 2/2] scripts: update regex for #defines + +Commit fdb3594b27aee315ad56af361512800266672582 in tpm2-tss changed +the structure of some defines, so fix the regex. + +Signed-off-by: Erik Larsson <who+github@cnackers.org> +--- + scripts/prepare_headers.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/scripts/prepare_headers.py b/scripts/prepare_headers.py +index 6ca9b64..a7529b3 100644 +--- a/scripts/prepare_headers.py ++++ b/scripts/prepare_headers.py +@@ -32,6 +32,7 @@ def remove_common_guards(s): + + # Restructure #defines with ... + s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\) \(.*?\)\)", "\g<1>...", s) ++ s = re.sub("(#define [A-Za-z0-9_]+) +\(\(\(.*?\) .*\)", "\g<1>...", s) + s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\).*?\) ", "\g<1>...", s) + s = re.sub( + "(#define [A-Za-z0-9_]+) .*\n.*?.*\)\)", "\g<1>...", s, flags=re.MULTILINE +-- +2.43.2 + diff --git a/dev-python/tpm2-pytss/tpm2-pytss-2.2.1.ebuild b/dev-python/tpm2-pytss/tpm2-pytss-2.2.1.ebuild index aa01cc807256..a14aa4203d81 100644 --- a/dev-python/tpm2-pytss/tpm2-pytss-2.2.1.ebuild +++ b/dev-python/tpm2-pytss/tpm2-pytss-2.2.1.ebuild @@ -39,6 +39,12 @@ BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] " +PATCHES=( + "${FILESDIR}/${PN}-2.2.1-cryptography-fixes-for-newer-version-of-cryptography.patch" + "${FILESDIR}/${PN}-2.2.1-Revert-test-skip-some-FAPI-tests-if-testing-agains-t.patch" + "${FILESDIR}/${PN}-2.2.1-scripts-update-regex-for-defines.patch" + ) + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} distutils_enable_tests pytest diff --git a/dev-python/tqdm/Manifest b/dev-python/tqdm/Manifest index 0ac73517caa8..851ed66aa194 100644 --- a/dev-python/tqdm/Manifest +++ b/dev-python/tqdm/Manifest @@ -1 +1 @@ -DIST tqdm-4.66.2.tar.gz 169462 BLAKE2B 57a1e5895ed2e1f99246fd6bdfc08fb75a24451e358bbf38324cdcfe35559b6748dbe63dcdaf65024b12165daa404c98d5b6db81673e7d0f930142cab1b623d7 SHA512 49abd9006ca7c8672835b202e4e722602035a0e21723337b4227e114d6d50b678edb6c5f2b0cf4e6741eae5e86551ba59233f87989f6b69bb4d4414d5a3c80e5 +DIST tqdm-4.66.4.tar.gz 169392 BLAKE2B 6d8e3e9775d93d9c064289b8a830b4f541a753a48044ec65fcee9c8d158d423e362d06c3404efce67de28fab2c3f1fb3d8aaa0fdec33b4d040ad1f2aec97fde2 SHA512 fdafa64784564f7f400f29ffa75ba564a3c9bc6d935a1ccd82260d4a1f4431792a9dae2d5c6ed69cc265f078f674081589a040d47b8745a500870d27670feadc diff --git a/dev-python/tqdm/tqdm-4.66.2.ebuild b/dev-python/tqdm/tqdm-4.66.4.ebuild index 17fcf05d9ae5..17fcf05d9ae5 100644 --- a/dev-python/tqdm/tqdm-4.66.2.ebuild +++ b/dev-python/tqdm/tqdm-4.66.4.ebuild diff --git a/dev-python/traitlets/Manifest b/dev-python/traitlets/Manifest index e2c37411411d..7a2bbb1ed9fe 100644 --- a/dev-python/traitlets/Manifest +++ b/dev-python/traitlets/Manifest @@ -1 +1 @@ -DIST traitlets-5.14.2.tar.gz 161435 BLAKE2B 63ffb85bb857f67bf986051a595294cc3ab541a9e410e4757d3d42c616f8605ca547f37f7e476b855e2060b5c8bef111bd5b0abc5a7e3d30f969802d94480b40 SHA512 44300ef05acfb243abd3005ab23699299fbe12a70e1aa88e05ffe3d5ef7e3e35107bf6bf55b652cb011e47e7e24191c1ca7967d9f0288078fda329be7107c771 +DIST traitlets-5.14.3.tar.gz 161621 BLAKE2B b7367c4f14bf1e5dc24361d5d6780ef353a0356be2cbc8548052a27d279b02ce856b73ae1320d5dcded86afe16e8ead7f9d6964d9822f87cc06b616394c42693 SHA512 7c8469761aab7ad708b12d49c222a6e892877152c68125b805a1819b06292380be16e816c405398ad988f2197adc2c59781457a51efc7d1e410f9ed8b11c06c4 diff --git a/dev-python/traitlets/traitlets-5.14.2.ebuild b/dev-python/traitlets/traitlets-5.14.3.ebuild index 1eabacf54469..86b3cb50c242 100644 --- a/dev-python/traitlets/traitlets-5.14.2.ebuild +++ b/dev-python/traitlets/traitlets-5.14.3.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/transitions/Manifest b/dev-python/transitions/Manifest index d5f65b9bde9e..058ca9298996 100644 --- a/dev-python/transitions/Manifest +++ b/dev-python/transitions/Manifest @@ -1 +1,2 @@ DIST transitions-0.9.0.gh.tar.gz 1116052 BLAKE2B 3c3f0f70029fac11b89741c17b4f8223ffff7b1f4120dbacf9047c7c9d8063df00449e7ceb378aeb6263d4f55245bb89f08f6eaa0a74948368bd0eb0227fea40 SHA512 805894ba772e4a31f1fd567d3765f8ee3f3498ca5b9dd4d5b94224722d48347a2feee284dab577eca97a748dc6f810dedf1cbc3b50f41f0ab5b65d84241b9638 +DIST transitions-0.9.1.gh.tar.gz 1124905 BLAKE2B 6d8700c9b2b2d200c8377e698f4057caa78908ee7156daa3fce1f49d86c6bc9afd45fe7af4122c2e124681c3c581e98f657e39444595f97ed7fb3c64f57d70fd SHA512 8e946ee9b8e3ed0629381514b4af4446625de0cea7cc8780326829ad987b4c0f9402484ed98ca66b12e95c8da79f77c62aba9f000dbe42779f158529cde3f279 diff --git a/dev-python/transitions/transitions-0.9.1.ebuild b/dev-python/transitions/transitions-0.9.1.ebuild new file mode 100644 index 000000000000..eadff084d9b8 --- /dev/null +++ b/dev-python/transitions/transitions-0.9.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="A lightweight, object-oriented state machine implementation in Python" +HOMEPAGE="https://github.com/pytransitions/transitions" +SRC_URI=" + https://github.com/pytransitions/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="examples" + +RDEPEND=" + || ( + dev-python/pygraphviz[${PYTHON_USEDEP}] + dev-python/graphviz[${PYTHON_USEDEP}] + ) + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/dill[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # magic to ignore async tests sometimes, breaks EPYTEST_IGNORE + rm conftest.py || die +} + +python_test() { + local EPYTEST_IGNORE=( + # pycodestyle, mypy, etc. + tests/test_codestyle.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +src_install() { + distutils-r1_src_install + use examples && dodoc examples/*.ipynb +} diff --git a/dev-python/translate-toolkit/Manifest b/dev-python/translate-toolkit/Manifest index d3ddeb988efd..aec6cb2e5c6e 100644 --- a/dev-python/translate-toolkit/Manifest +++ b/dev-python/translate-toolkit/Manifest @@ -1 +1,2 @@ DIST translate-3.12.2.gh.tar.gz 1202828 BLAKE2B fdfc6ea91d0e0fe9f36e1352247463fe04ff3f4cdd13dd969077ccf0dde984250303872f6bb605dcd1628a1089d81dd98b36dfd68e92c3030c740d65899a70ba SHA512 7488f45521f1744d8d457ce5f74a4955a0e4468af8b3f5be06410667f2c1e52a3dacd3b959330e6c2eb5b3a443c1e2c761538896352576f5090ce27dbfc8edab +DIST translate-3.13.0.gh.tar.gz 1171837 BLAKE2B 9c6212d26749eac652369e94d2b653f67b364afc9f9125c5125d19e3cabc1bb36bd27bc172ad93d28cb6cdf57ed2b245336664b6b4954db9bbbfb4a8ad92b3f9 SHA512 7c6f87ec32c81a14d1775dc24d43e49b79fdf8473a4380c93a2af1532bed32a9733ee755641ce26852b1bd63acffa2110598c5fc3010bbf9de40e8a0f32af308 diff --git a/dev-python/translate-toolkit/translate-toolkit-3.13.0.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.13.0.ebuild new file mode 100644 index 000000000000..0e75f48593c6 --- /dev/null +++ b/dev-python/translate-toolkit/translate-toolkit-3.13.0.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +MY_P=translate-${PV} +DESCRIPTION="Toolkit to convert between many translation formats" +HOMEPAGE=" + https://github.com/translate/translate/ + https://pypi.org/project/translate-toolkit/ +" +SRC_URI=" + https://github.com/translate/translate/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm64 x86" +IUSE="+html +ical +ini +subtitles +yaml" + +RDEPEND=" + app-text/iso-codes + >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}] + dev-python/cheroot[${PYTHON_USEDEP}] + >=dev-python/Levenshtein-0.12.0[${PYTHON_USEDEP}] + >=dev-python/lxml-4.3.1[${PYTHON_USEDEP}] + >=dev-python/mistletoe-1.1.0[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + sys-devel/gettext + html? ( dev-python/utidylib[${PYTHON_USEDEP}] ) + ical? ( dev-python/vobject[${PYTHON_USEDEP}] ) + ini? ( >=dev-python/iniparse-0.5[${PYTHON_USEDEP}] ) + subtitles? ( media-video/gaupol[${PYTHON_USEDEP}] ) + yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] ) +" +# Technically, the test suite also has undeclared dependency +# on dev-python/snapshottest but all the tests using it are broken +# anyway, so we skip them. +BDEPEND=" + test? ( + dev-python/phply[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_test() { + # unfortunately, this bad quality package doesn't support XDG_DATA_DIRS + # correctly, so we need to reassemble all data files in a single directory + local -x XDG_DATA_HOME=${T}/share + cp -r translate/share "${T}/" || die + cp -r "${ESYSROOT}/usr/share"/gaupol "${XDG_DATA_HOME}"/ || die + + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # Fails with network-sandbox (and even with it off but w/ softer fail) + 'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff' + 'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff' + # all tests based on snapshottest are broken and I'm too tired + # to figure this out + tests/translate/tools/test_pocount.py::test_{cases,output} + tests/translate/tools/test_junitmsgfmt.py::test_output + ) + local EPYTEST_IGNORE=( + # unpackaged fluent.* + tests/translate/storage/test_fluent.py + # changes directory and does not change it back, sigh + tests/odf_xliff/test_odf_xliff.py + ) + + if ! use ini; then + EPYTEST_IGNORE+=( + translate/convert/test_ini2po.py + translate/convert/test_po2ini.py + ) + fi + + if ! use subtitles; then + EPYTEST_IGNORE+=( + translate/storage/test_subtitles.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_install_all() { + distutils-r1_python_install_all + + insinto /usr + doins -r translate/share + + if ! use html; then + rm "${ED}"/usr/bin/{html2po,po2html} || die + fi + if ! use ical; then + rm "${ED}"/usr/bin/{ical2po,po2ical} || die + fi + if ! use ini; then + rm "${ED}"/usr/bin/{ini2po,po2ini} || die + fi + if ! use subtitles; then + rm "${ED}"/usr/bin/{sub2po,po2sub} || die + fi +} diff --git a/dev-python/tree-sitter/Manifest b/dev-python/tree-sitter/Manifest index 53cafe0a6813..26aad7daa92c 100644 --- a/dev-python/tree-sitter/Manifest +++ b/dev-python/tree-sitter/Manifest @@ -1,17 +1,12 @@ DIST tree-sitter-0.20.1.gh.tar.gz 22013 BLAKE2B 961619ab28b71c4051708695f245246e9c9197987c3ce7f162c87af1cfeb2ae378301cce160c071d4df872124274c7984bcaf938c611a91f45515c44cea53e5a SHA512 d6db28fcfb0ea46840ae863a625ef1d8794015b147137e8ef1e113ea6d04e2b87a3bd44dcabe6e41a65230b8da09ce0563a5d9d5aeac30d279547a9085720da3 -DIST tree-sitter-0.20.4.gh.tar.gz 36177 BLAKE2B 617b649c33c73b313034269db7adb7eaf7294195d7c7eaf91182db6844111877fc9745f31185af1c6f2406fad3d0379c4776f76bfb6c43037be918fd34cef12a SHA512 28a2042fa9f7ed43202548b9844126383b36796650e1eb815c138a25538dae12b16512c3cd45f02fa99b32a29c8c7257bb84d901da1e5ebbf6445e3778d7dfa1 DIST tree-sitter-0.21.0.gh.tar.gz 38263 BLAKE2B 27c1b52c40e94368c66e222fbc1f5e64734d7d9243e0b76d9607edebaee80211f228323db23cd83c6bc338e7d933a28be8eff13f7ee49495c282d8e9afed4bfb SHA512 f62896edebcb305d1216e540d4a10a2622228b12b1f969dd9722e2d56615f05aea4e681b6d933beaeed52ce59d36641c80c9a4a1ac79b038fb2a75e079987231 -DIST tree-sitter-embedded-template-0.20.0.tar.gz 11679 BLAKE2B 552c64a499b80f1648cd568fd87d5f2774a28cb3d2a61bfc0ec1f9a73910df41921e06c8f94ac5500a3a5b7668a2b8fe641b2ecf13a9b06b7a119daeef4e3b1a SHA512 1c4a63f85fae1ebb9fa90674a4c27d4402ae0957268faa08dd77c5ec6103720c80befd009d04090a80d994377676b103e2efcc25bd291186efc0c1f4962be086 +DIST tree-sitter-0.21.3.gh.tar.gz 38504 BLAKE2B dd8ed0047763d92babbdb3fd34a6fe6b7a9299b99067600f473bf16b9754a98ada141d96f9b6b26abcb2ff178dd4ec34da547c9cdb7b3449f7b98a44ad10476e SHA512 61f3d4cb15a4106eb350be2adc6ad39de31bd5b2656f35acf2cdf828ababac37b6197d5565ee74b0b2c3a161619163bb98c38108ca3db616fee633e6e2a835a7 +DIST tree-sitter-0.22.2.gh.tar.gz 166150 BLAKE2B eac9a3fe75e56feffcf32e4bd59269c3e1adccaaf9127e9668bb65fef6eb1b1d1cd56ecb8bfb58810e0d9a0d182ce2844c7b350ebbe6b3d4a713a33dc64af953 SHA512 707a6d9f15ab9382e43341d6be68465f4f0bb6cbb9603bf6dfd51628e71db62cb365e1a0a6836250428fa5e8bc66b6cda5992083717778ccc06e825fb3f23728 DIST tree-sitter-embedded-template-6d791b897ecda59baa0689a85a9906348a2a6414.tar.gz 12420 BLAKE2B 9b9c6dd135cef4490e145657c5eeeb1fd470faee3846007638d8247daf07227029c6e7e323a0ed30c5cf6d35602be6bfb62dc1c22076fd4a0e76b161d55cca38 SHA512 7744852711cb1659607298fa373ce3ef79de3212ff55c0fb4e9aebcb715548934065ee3b5b12e9d08169a6207879e154a94c9de8bff892c32729c35d49964736 -DIST tree-sitter-html-0.20.0.tar.gz 26098 BLAKE2B 524aed631fa7a2e6da59fae05af99b74019222d7c93c44f294af5f36c7f2c8582c847324bcef3b6bdc719e5fde1d015bb2633a81d3123eb1120ba0909282af28 SHA512 fa688d8c5487d894ff9bfdd549095cc9bf01dbf667cc3f05c07a1d10343178666802deae79ad1040866ba74d26bf415814bb5324632ce0ea8c1b4c663252e649 DIST tree-sitter-html-b5d9758e22b4d3d25704b72526670759a9e4d195.tar.gz 26609 BLAKE2B 223fe82ea18bf61b2b7ec664ad68ec1f324c9e0a1c78578db6063b9037c62be2bb762a9e47d0af81f7f244889f1f72683da3751c1d1c609c4a27fdcd0dc008b8 SHA512 15fd961c18d55a20487f48ef6a6f1822f9033baba8995f2e00cf8db1750036d69e19607f578fe90676aab30a173874969c69b91605b6073eb298f32f5f24f81d DIST tree-sitter-javascript-0.19.0.tar.gz 257637 BLAKE2B dc28bcbb003d623f5930dbf575f94f51c00eb008a77ba080f05e730fae63fb24d29c02ebb62d179a59d0f9cb8a02dbd3971440f299d952b1ec29b25bc6d21e34 SHA512 ef842787742e76d2534528ec710800df91958feaa4ba351558b5315f58a4bd85c729d088d139e15e0395726a690a97c05e03846c9176af0fd482777ae57087ed -DIST tree-sitter-javascript-0.20.1.tar.gz 371027 BLAKE2B 5bd9b11f1e10ff37950b2142031bebd3b5f6111818a21bf5a7d97a8a27a5340bd09cd139d76846141ed64a824f82f1e1394b90d8622192524d7db9a02ed95223 SHA512 5341311b419cf763c0a6d23348eba0e38b417ba07c2def341027223347d850c28b86db6add136dbf73cd5296133823a4548493ee649e09247dfbe5bcbaaab76d DIST tree-sitter-javascript-de1e682289a417354df5b4437a3e4f92e0722a0f.tar.gz 396570 BLAKE2B d80cecb070bd1c82737ee1d38fff293ac4c96fde02563ecc910d30c920b902bd5c25a7ac50585f8cb7a26203d98f4a9e6feeebd4ac0d54bede9486ff642e03be SHA512 4a509a886ebeae0d960360113aff89fb56090f1fe4bb5a7866952736a04838a8b6421cc7d19473acc48b135bca4615325c59c0f0f7f3734f23a78fff9cc2050e -DIST tree-sitter-json-0.20.2.tar.gz 15647 BLAKE2B 524933bf7af4df87d78497912c7865c20b2cc3e9b099401aac612c8c6d382fbc8f8704515abcb1e579fbac7734d23545f91ac7600e978a2924567998e5166834 SHA512 511376b7be02c624bc48b0a46dd937f1a5d6def3d2a15a7b61cf71b846ecf98ef8af93f05f861152270ea0dcacc18940f8c25bfbad69e9d5c520485d25dab7f5 DIST tree-sitter-json-3b129203f4b72d532f58e72c5310c0a7db3b8e6d.tar.gz 15580 BLAKE2B d31b38f959fed785e8f26782e7de3da94502cd3c65de2caf4ad0621287d80e95dcc317b4f224461fa70b59f7a8ca933a235bdffbbcc1d9ca8d7cc0b31b3b2862 SHA512 90dd3e757d384d1b95cec892c5b465a0413ba61df35669fd7afc47037596c8d6b72b4f0fd9a39512ebda0d5d078ce7a408455ae11e535591e1515740cdcf9f6f DIST tree-sitter-python-0.19.0.tar.gz 129336 BLAKE2B 8a37b0d74ab89aa56d7164bd38ac527b7b9676cafd8f53faaee3d10316f91decd30c02078b1bb785a474615ae58e6edba1b28bc3311e6ff094435e5f53d64cd6 SHA512 df7c72f988a62af0774df1b3a60c86397725aaeb1e2ffaa9b1295ab22eec09bffaf391cad20fb0d08a20914b22af430c2248c26cad179fd68c9f2b32419c0b60 -DIST tree-sitter-python-0.20.4.tar.gz 249840 BLAKE2B 563895c46ca1de400d51168473cceaed61b3df486cbf9f33ae9f63acc16268b9147917f0bc0f18d3c8cad0ab0684b4c51900a7e1c6b898735621676353630650 SHA512 2cfd327a1c0033ebb5bc1a4efe4f8b7a776ad45da6b12ad3d496fe3500e2a99ac0ecefbc6eec81d724bcdb060a0ebb8a24496dee23c83c7802e0226f495751d3 DIST tree-sitter-python-03e88c170cb23142559a406b6e7621c4af3128f5.tar.gz 272632 BLAKE2B 72f2e7f48456bad7b495605171c1c5ed3aa2790e832a4bc152ef522ee2ce210a922f7d38ad1154c58a8c621f81739071ab3404135dbb79a12ba28ca7c97ff3c7 SHA512 7ed72e6ad464935423aaca1a829c51eefd4a4b5651eeda4b7f1ed2a67ec4088f17267796872a1e1cf5666fc8a920c2b1763a9cb4cd82924ee7214e01d7fe8ab8 -DIST tree-sitter-rust-0.20.4.tar.gz 358924 BLAKE2B 16c7918d352163ebb866f34865c68f5d9e19bbc3ffcec0f0c61ba38a8c828cee3eb50c97ddaea01d7575e23496bca18dc5161daee8bbdaa075ba75de608be999 SHA512 f1b2e9537286921056eda4e96faa9f61131b9ca5684e7ab8aa7bd07e46d91e5eab18e6e292cfad7cdcb7ba195e80f7f1e35f04992cb8011bbd29dd2d95116f9d DIST tree-sitter-rust-3a56481f8d13b6874a28752502a58520b9139dc7.tar.gz 419237 BLAKE2B 681b9656c872bcd15abbf11923d07df61b80b36b2972461a29f249dc53915e6d18a6dfdc65d71c863f7b38a27c8b3a47376f590d86afa44caa71f103e710fed5 SHA512 a8ce10080b984aa469d952ff8e862165676e10dc30c3d1762f7141d9fe83734aec3cb92c48552cb8f24575b538dd53fe0a80f1337f5d0d4c8767dd6bf564143e diff --git a/dev-python/tree-sitter/files/tree-sitter-0.22.2-unbundle.patch b/dev-python/tree-sitter/files/tree-sitter-0.22.2-unbundle.patch new file mode 100644 index 000000000000..d919b1abf008 --- /dev/null +++ b/dev-python/tree-sitter/files/tree-sitter-0.22.2-unbundle.patch @@ -0,0 +1,23 @@ +diff --git a/setup.py b/setup.py +index 77ea76a..ab22ad3 100644 +--- a/setup.py ++++ b/setup.py +@@ -12,7 +12,6 @@ setup( + Extension( + name="tree_sitter._binding", + sources=[ +- "tree_sitter/core/lib/src/lib.c", + "tree_sitter/binding/language.c", + "tree_sitter/binding/lookahead_iterator.c", + "tree_sitter/binding/lookahead_names_iterator.c", +@@ -26,9 +25,8 @@ setup( + ], + include_dirs=[ + "tree_sitter/binding", +- "tree_sitter/core/lib/include", +- "tree_sitter/core/lib/src", + ], ++ libraries=["tree-sitter"], + define_macros=[ + ("PY_SSIZE_T_CLEAN", None), + ("TREE_SITTER_HIDE_SYMBOLS", None), diff --git a/dev-python/tree-sitter/tree-sitter-0.21.0-r1.ebuild b/dev-python/tree-sitter/tree-sitter-0.21.0-r1.ebuild index 38e748bf24d6..b703b3349a52 100644 --- a/dev-python/tree-sitter/tree-sitter-0.21.0-r1.ebuild +++ b/dev-python/tree-sitter/tree-sitter-0.21.0-r1.ebuild @@ -40,7 +40,7 @@ S=${WORKDIR}/py-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" # setuptools is needed for distutils import DEPEND=">=dev-libs/tree-sitter-0.22.1:=" diff --git a/dev-python/tree-sitter/tree-sitter-0.20.4.ebuild b/dev-python/tree-sitter/tree-sitter-0.21.3.ebuild index 504c48453be6..2a0762d99fd0 100644 --- a/dev-python/tree-sitter/tree-sitter-0.20.4.ebuild +++ b/dev-python/tree-sitter/tree-sitter-0.21.3.ebuild @@ -9,15 +9,14 @@ PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 -# If you get failures from using the latest, check the language used for -# the failing test(s) and roll back the individual fixtures one-by-one. +# Use the versions from the submodules under "tests/fixtures/" declare -A TEST_FIXTURES=( - ["embedded-template"]="0.20.0" - ["html"]="0.20.0" - ["javascript"]="0.20.1" - ["json"]="0.20.2" - ["python"]="0.20.4" - ["rust"]="0.20.4" + ["embedded-template"]="6d791b897ecda59baa0689a85a9906348a2a6414" + ["html"]="b5d9758e22b4d3d25704b72526670759a9e4d195" + ["javascript"]="de1e682289a417354df5b4437a3e4f92e0722a0f" + ["json"]="3b129203f4b72d532f58e72c5310c0a7db3b8e6d" + ["python"]="03e88c170cb23142559a406b6e7621c4af3128f5" + ["rust"]="3a56481f8d13b6874a28752502a58520b9139dc7" ) DESCRIPTION="Python bindings to the Tree-sitter parsing library" @@ -32,7 +31,7 @@ SRC_URI=" SRC_URI+=" test? (" for fixture in "${!TEST_FIXTURES[@]}" ; do SRC_URI+=" - https://github.com/tree-sitter/tree-sitter-${fixture}/archive/v${TEST_FIXTURES[${fixture}]}.tar.gz + https://github.com/tree-sitter/tree-sitter-${fixture}/archive/${TEST_FIXTURES[${fixture}]}.tar.gz -> tree-sitter-${fixture}-${TEST_FIXTURES[${fixture}]}.tar.gz " done @@ -41,19 +40,20 @@ S=${WORKDIR}/py-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" -DEPEND="dev-libs/tree-sitter:=" +# setuptools is needed for distutils import +DEPEND=">=dev-libs/tree-sitter-0.22.1:=" RDEPEND="${DEPEND} $(python_gen_cond_dep ' dev-python/setuptools[${PYTHON_USEDEP}] ' 3.12) " -distutils_enable_tests unittest +distutils_enable_tests pytest PATCHES=( - "${FILESDIR}"/tree-sitter-0.19.0_p20210506-unbundle.patch + "${FILESDIR}"/tree-sitter-0.21.0-unbundle.patch ) src_unpack() { @@ -61,16 +61,11 @@ src_unpack() { rmdir "${S}/tree_sitter/core" || die if use test; then - mkdir "${S}/tests/fixtures" || die + mkdir -p "${S}/tests/fixtures" || die local fixture for fixture in "${!TEST_FIXTURES[@]}" ; do - mv "tree-sitter-${fixture}-${TEST_FIXTURES[${fixture}]}" "${S}/tests/fixtures/tree-sitter-${fixture}" || die + mv -T "tree-sitter-${fixture}-${TEST_FIXTURES[${fixture}]}" "${S}/tests/fixtures/tree-sitter-${fixture}" || die done - - # In 0.20.4, this test has a comment saying it's broken, and changing - # tree-sitter-python (grammar) versions doesn't help, so presumably - # newer dev-libs/tree-sitter broke it. Revisit on a newer version. - sed -i -e 's/def test_point_range_captures/def _test_point_range_captures/' "${S}/tests/test_tree_sitter.py" || die fi } diff --git a/dev-python/tree-sitter/tree-sitter-0.22.2.ebuild b/dev-python/tree-sitter/tree-sitter-0.22.2.ebuild new file mode 100644 index 000000000000..85c88a0273ea --- /dev/null +++ b/dev-python/tree-sitter/tree-sitter-0.22.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-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} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings to the Tree-sitter parsing library" +HOMEPAGE=" + https://github.com/tree-sitter/py-tree-sitter/ + https://pypi.org/project/tree-sitter/ +" +SRC_URI=" + https://github.com/tree-sitter/py-tree-sitter/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/py-${P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~s390" + +# setuptools is needed for distutils import +DEPEND=">=dev-libs/tree-sitter-0.22.1:=" +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_USEDEP}] + ' 3.12) +" +BDEPEND=" + test? ( + >=dev-libs/tree-sitter-html-0.20.3[python,${PYTHON_USEDEP}] + >=dev-libs/tree-sitter-javascript-0.21.0[python,${PYTHON_USEDEP}] + >=dev-libs/tree-sitter-json-0.20.3[python,${PYTHON_USEDEP}] + >=dev-libs/tree-sitter-python-0.21.0[python,${PYTHON_USEDEP}] + >=dev-libs/tree-sitter-rust-0.21.2[python,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/tree-sitter-0.22.2-unbundle.patch +) + +src_unpack() { + default + rmdir "${S}/tree_sitter/core" || die +} + +src_test() { + rm -r tree_sitter || die + distutils-r1_src_test +} diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index c59324eba95d..1dd4b7c267f6 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -1,4 +1 @@ -DIST trimesh-4.1.8.gh.tar.gz 13440336 BLAKE2B aa4bddc3d613144a0e304ec320a2b38df213846260e2525dae0f0f35a4146561e7b81dc88e197a5b0f0a76ff4b757c30df2a68fe0db0d4a37cdc8a91aedc41ba SHA512 e20ca45f08a4d65c44c214b104af7c6d9d27121716ed7efd53a521c5b896ce788dba91b7794db518f26bb2ae86a1b8269af94f9b9381f8fdd342372b4ba86ce4 -DIST trimesh-4.2.4.gh.tar.gz 13554819 BLAKE2B 233f4d5404793ed1b5dc475da2dd371ca3a792239ae9ffea95ef3609a19b2701f66ad7aeb72b7b078b7a58d812ebe59b3bc12fedc6b9c34213c60378a2959d1c SHA512 3d37a429a21250a26f0a46c29c432b97158849bc0fbba7dec441bdd2453c4ef6a917483604f1c7ecb0e2415b9a270a80e36225cb951e59af1db54d20ebf60902 -DIST trimesh-4.3.0.gh.tar.gz 13595823 BLAKE2B 2d7d74be7eff74513e7758944f57e6bd9d1003ce5591e1a6b261bf3d797b8f7fb5ed9de3f7a1a863650dda6575dfdd250a129bf561e7cdf65f90d33c2df8474c SHA512 e27394abc8cea8f09df14329842cca6dcfd79dc9eb00e961138c3ce1fa61bb85a6585daa376cd7f80c3c64968001686f0de4ad685c121d08415d5c4e088093cc -DIST trimesh-4.3.1.gh.tar.gz 13596739 BLAKE2B 3d14fc70c29c70c93d4b63c6486a66eb7d059b2c6856702696e5f07668810019d98f2b0f1d964d80be9fafd702924e505762283b476a554960ea37b554031b7f SHA512 01d7bcca7c1d36488f236a45481ed0cda2b63cd4a1308b0067ba95392b2517df143e3afb93c8632ad117e2dfea12e3eec80c057f8367a465a8f26b554d29614c +DIST trimesh-4.3.2.gh.tar.gz 13597959 BLAKE2B 538c3ecc9153bbef04fd004076277d50e1ac80e73231ae5faffadb6a810e5c6aa23953206f8a9817a16c3d104d0a38b0da07fc6f8460f2bfde0a356c760048d7 SHA512 2bf40f2290875547dabf40101004581e7287cf2a954d4c1bd0df1adbf044e72bd30d8fbbadb8db44e8bfc33049cc68a075b347eeb538f8fef5225a724a4ddc3b diff --git a/dev-python/trimesh/trimesh-4.1.8.ebuild b/dev-python/trimesh/trimesh-4.1.8.ebuild deleted file mode 100644 index 22597eb9468e..000000000000 --- a/dev-python/trimesh/trimesh-4.1.8.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Python library for loading and using triangular meshes" -HOMEPAGE=" - https://trimesh.org/ - https://github.com/mikedh/trimesh/ - https://pypi.org/project/trimesh/ -" -SRC_URI=" - https://github.com/mikedh/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~x86" - -RDEPEND=" - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/colorlog[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/networkx[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pycollada[${PYTHON_USEDEP}] - dev-python/pyglet[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] - dev-python/svg-path[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/xxhash[${PYTHON_USEDEP}] - sci-libs/rtree[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mapbox_earcut[${PYTHON_USEDEP}] - dev-python/pillow[webp,${PYTHON_USEDEP}] - ) -" - -EPYTEST_TIMEOUT=1800 -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -pkg_postinst() { - optfeature_header "${PN} functionality can be extended by installing the following packages:" - optfeature "making GUI applications with 3D stuff" dev-python/glooey - optfeature "2D triangulations of polygons" dev-python/mapbox_earcut - optfeature "loading a number of additional mesh formats" dev-python/meshio - optfeature "figuring out how much memory we have" dev-python/psutil - optfeature "marching cubes and other nice stuff" dev-python/scikit-image -} diff --git a/dev-python/trimesh/trimesh-4.2.4.ebuild b/dev-python/trimesh/trimesh-4.2.4.ebuild deleted file mode 100644 index 1efbb5f219c0..000000000000 --- a/dev-python/trimesh/trimesh-4.2.4.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Python library for loading and using triangular meshes" -HOMEPAGE=" - https://trimesh.org/ - https://github.com/mikedh/trimesh/ - https://pypi.org/project/trimesh/ -" -SRC_URI=" - https://github.com/mikedh/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/colorlog[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/networkx[${PYTHON_USEDEP}] - >=dev-python/numpy-1.20[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pycollada[${PYTHON_USEDEP}] - dev-python/pyglet[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] - dev-python/svg-path[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/xxhash[${PYTHON_USEDEP}] - sci-libs/rtree[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mapbox_earcut[${PYTHON_USEDEP}] - dev-python/pillow[webp,${PYTHON_USEDEP}] - ) -" - -EPYTEST_TIMEOUT=1800 -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -pkg_postinst() { - optfeature_header "${PN} functionality can be extended by installing the following packages:" - optfeature "making GUI applications with 3D stuff" dev-python/glooey - optfeature "2D triangulations of polygons" dev-python/mapbox_earcut - optfeature "loading a number of additional mesh formats" dev-python/meshio - optfeature "figuring out how much memory we have" dev-python/psutil - optfeature "marching cubes and other nice stuff" dev-python/scikit-image -} diff --git a/dev-python/trimesh/trimesh-4.3.0.ebuild b/dev-python/trimesh/trimesh-4.3.0.ebuild deleted file mode 100644 index 90df68a2c9dc..000000000000 --- a/dev-python/trimesh/trimesh-4.3.0.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Python library for loading and using triangular meshes" -HOMEPAGE=" - https://trimesh.org/ - https://github.com/mikedh/trimesh/ - https://pypi.org/project/trimesh/ -" -SRC_URI=" - https://github.com/mikedh/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/colorlog[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/networkx[${PYTHON_USEDEP}] - >=dev-python/numpy-1.20[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pycollada[${PYTHON_USEDEP}] - dev-python/pyglet[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] - dev-python/svg-path[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/xxhash[${PYTHON_USEDEP}] - sci-libs/rtree[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mapbox_earcut[${PYTHON_USEDEP}] - dev-python/pillow[webp,${PYTHON_USEDEP}] - ) -" - -EPYTEST_TIMEOUT=1800 -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # require pyinstrument - tests/test_sweep.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -pkg_postinst() { - optfeature_header "${PN} functionality can be extended by installing the following packages:" - optfeature "making GUI applications with 3D stuff" dev-python/glooey - optfeature "2D triangulations of polygons" dev-python/mapbox_earcut - optfeature "loading a number of additional mesh formats" dev-python/meshio - optfeature "figuring out how much memory we have" dev-python/psutil - optfeature "marching cubes and other nice stuff" dev-python/scikit-image -} diff --git a/dev-python/trimesh/trimesh-4.3.1.ebuild b/dev-python/trimesh/trimesh-4.3.2.ebuild index 90df68a2c9dc..a30c12d1f37a 100644 --- a/dev-python/trimesh/trimesh-4.3.1.ebuild +++ b/dev-python/trimesh/trimesh-4.3.2.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 ~x86" RDEPEND=" dev-python/chardet[${PYTHON_USEDEP}] @@ -30,6 +30,7 @@ RDEPEND=" dev-python/jsonschema[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] dev-python/networkx[${PYTHON_USEDEP}] + <dev-python/numpy-2[${PYTHON_USEDEP}] >=dev-python/numpy-1.20[${PYTHON_USEDEP}] dev-python/pillow[${PYTHON_USEDEP}] dev-python/pycollada[${PYTHON_USEDEP}] diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest index 24faf192634e..046872e4ce76 100644 --- a/dev-python/trio/Manifest +++ b/dev-python/trio/Manifest @@ -1 +1,2 @@ DIST trio-0.25.0.gh.tar.gz 599079 BLAKE2B d0615111fba3981c89d72a6eff93e9f500854e94f7227f3f235d4effa4ab53b9a280278b62db90c4a9612028edc5c9892b56464c9ee5b7e3c8120086dfc64e56 SHA512 0690193c501e054b5c2d96ea208d6a49b9ac860dd63a58c4b5cec5b5f6f197fc5eae0e2fae99ef498d5d1513b189a75504905bd5cc6dc34ae791e3451655933a +DIST trio-0.25.1.gh.tar.gz 600963 BLAKE2B f72df0069ff48f198f7c31221c721ffb127c4cac6c4e004547d62aa5f184673fde09e2baad5c383b206deffec4ef1b04dafad883dad0b2ced2625d72ac842887 SHA512 0a924a1c52ed5153e51cc3343c92b7f6218cf8c56ba2e66b6fe40d27d2acfa7475c3014b8fc5fd22e46df1782530a75f899dbb35d1c875331400957891bd70aa diff --git a/dev-python/trio/trio-0.25.1.ebuild b/dev-python/trio/trio-0.25.1.ebuild new file mode 100644 index 000000000000..01f9924188d7 --- /dev/null +++ b/dev-python/trio/trio-0.25.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Python library for async concurrency and I/O" +HOMEPAGE=" + https://github.com/python-trio/trio/ + https://pypi.org/project/trio/ +" +SRC_URI=" + https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/attrs-23.2.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/exceptiongroup[${PYTHON_USEDEP}] + ' 3.10) + dev-python/idna[${PYTHON_USEDEP}] + dev-python/outcome[${PYTHON_USEDEP}] + >=dev-python/sniffio-1.3.0[${PYTHON_USEDEP}] + dev-python/sortedcontainers[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] + >=dev-python/immutables-0.6[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +# Bug https://bugs.gentoo.org/916756 +# distutils_enable_sphinx docs/source \ +# dev-python/immutables \ +# dev-python/sphinxcontrib-trio \ +# dev-python/sphinx-rtd-theme \ +# dev-python/towncrier + +python_test() { + local EPYTEST_DESELECT=( + # Times out on slower arches (ia64 in this case) + # https://github.com/python-trio/trio/issues/1753 + tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all + # requires ruff + _tests/tools/test_gen_exports.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + rm -rf trio || die + epytest -p trio._tests.pytest_plugin \ + -m "not redistributors_should_skip" \ + --pyargs trio \ + --skip-optional-imports +} diff --git a/dev-python/trove-classifiers/Manifest b/dev-python/trove-classifiers/Manifest index 7f4ccd7801e9..db183d2aec56 100644 --- a/dev-python/trove-classifiers/Manifest +++ b/dev-python/trove-classifiers/Manifest @@ -1,2 +1 @@ -DIST trove-classifiers-2024.3.25.tar.gz 16040 BLAKE2B 001a307d041e76213f3d2d115a10467b8434afecb0dc268ed9a1943aa7961c9021b49794a593102372c41b6776f3e513db44f680dda700c9897f65ef593ec860 SHA512 3b1d0c08d9a90bfe2314b092270677397d5150f0b641dfaf6ffda7a3447b898ea2c1d2dceab0f61ddceeb6b42945aec19e7a1028bf72ac3a119454f66945db7c DIST trove-classifiers-2024.4.10.tar.gz 16036 BLAKE2B bfd0ae5e3e1dc2dab67e66dc9cdf90b3ff789d00fff5f13ddf8974736adf3e37c505488d4aea32b0c4b43a6d77617e9a0672def2e66baf813734b1e3bebb8bd3 SHA512 2705ea82869bb3092dd37c817d5263955249b44ad64c0fcedc523ecc78eaeb2a327500adbafe70c5d08b5961bf8095748e34a0daa1a2ba8db3fa27e1a35a645b diff --git a/dev-python/trove-classifiers/trove-classifiers-2024.3.25.ebuild b/dev-python/trove-classifiers/trove-classifiers-2024.3.25.ebuild deleted file mode 100644 index 35832d4c838e..000000000000 --- a/dev-python/trove-classifiers/trove-classifiers-2024.3.25.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Canonical source for classifiers on PyPI (pypi.org)" -HOMEPAGE=" - https://github.com/pypa/trove-classifiers/ - https://pypi.org/project/trove-classifiers/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -distutils_enable_tests pytest - -src_configure() { - grep -q 'build-backend = "setuptools' pyproject.toml || - die "Upstream changed build-backend, recheck" - # write a custom pyproject.toml to ease hatchling bootstrap - cat > pyproject.toml <<-EOF || die - [build-system] - requires = ["flit_core >=3.2,<4"] - build-backend = "flit_core.buildapi" - - [project] - name = "trove-classifiers" - version = "${PV}" - description = "Canonical source for classifiers on PyPI (pypi.org)." - EOF -} - -python_test() { - epytest - "${EPYTHON}" -m tests.lib || die -} diff --git a/dev-python/trove-classifiers/trove-classifiers-2024.4.10.ebuild b/dev-python/trove-classifiers/trove-classifiers-2024.4.10.ebuild index 3172a692bdd9..663cb41fa84d 100644 --- a/dev-python/trove-classifiers/trove-classifiers-2024.4.10.ebuild +++ b/dev-python/trove-classifiers/trove-classifiers-2024.4.10.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" distutils_enable_tests pytest diff --git a/dev-python/trustme/files/trustme-1.1.0-aki.patch b/dev-python/trustme/files/trustme-1.1.0-aki.patch new file mode 100644 index 000000000000..a00fc85229a9 --- /dev/null +++ b/dev-python/trustme/files/trustme-1.1.0-aki.patch @@ -0,0 +1,96 @@ +From 84e347d9221e304f0158330e5101d23969d424d0 Mon Sep 17 00:00:00 2001 +From: Illia Volochii <illia.volochii@gmail.com> +Date: Wed, 27 Mar 2024 11:45:41 +0000 +Subject: [PATCH 1/3] Add AKI to child CA certificates + +--- + src/trustme/__init__.py | 14 +++++++++++--- + tests/test_trustme.py | 5 +++++ + 2 files changed, 16 insertions(+), 3 deletions(-) + +diff --git a/src/trustme/__init__.py b/src/trustme/__init__.py +index 5fb24fb..0db1bb0 100644 +--- a/src/trustme/__init__.py ++++ b/src/trustme/__init__.py +@@ -250,14 +250,22 @@ def __init__( + sign_key = parent_cert._private_key + parent_certificate = parent_cert._certificate + issuer = parent_certificate.subject +- +- self._certificate = ( ++ ski_ext = parent_certificate.extensions.get_extension_for_class( ++ x509.SubjectKeyIdentifier) ++ aki = x509.AuthorityKeyIdentifier.from_issuer_subject_key_identifier(ski_ext.value) ++ else: ++ aki = None ++ cert_builder = ( + _cert_builder_common(name, issuer, self._private_key.public_key()) + .add_extension( + x509.BasicConstraints(ca=True, path_length=path_length), + critical=True, + ) +- .add_extension( ++ ) ++ if aki: ++ cert_builder = cert_builder.add_extension(aki, critical=False) ++ self._certificate = ( ++ cert_builder.add_extension( + x509.KeyUsage( + digital_signature=True, # OCSP + content_commitment=False, +diff --git a/tests/test_trustme.py b/tests/test_trustme.py +index 1d901ad..581716e 100644 +--- a/tests/test_trustme.py ++++ b/tests/test_trustme.py +@@ -200,6 +200,11 @@ def test_intermediate() -> None: + assert_is_ca(child_ca_cert) + assert child_ca_cert.issuer == ca_cert.subject + assert _path_length(child_ca_cert) == 8 ++ aki = child_ca_cert.extensions.get_extension_for_class(x509.AuthorityKeyIdentifier) ++ assert aki.critical is False ++ expected_aki_key_id = ca_cert.extensions.get_extension_for_class( ++ x509.SubjectKeyIdentifier).value.digest ++ assert aki.value.key_identifier == expected_aki_key_id + + child_server = child_ca.issue_cert("test-host.example.org") + assert len(child_server.cert_chain_pems) == 2 + +From f507a28e0f4d97d63716aa5a81669bb747235f07 Mon Sep 17 00:00:00 2001 +From: Illia Volochii <illia.volochii@gmail.com> +Date: Wed, 27 Mar 2024 12:02:59 +0000 +Subject: [PATCH 2/3] Fix a typing issue + +--- + src/trustme/__init__.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/trustme/__init__.py b/src/trustme/__init__.py +index 0db1bb0..d126180 100644 +--- a/src/trustme/__init__.py ++++ b/src/trustme/__init__.py +@@ -246,6 +246,7 @@ def __init__( + ) + issuer = name + sign_key = self._private_key ++ aki: Optional[x509.AuthorityKeyIdentifier] + if parent_cert is not None: + sign_key = parent_cert._private_key + parent_certificate = parent_cert._certificate + +From cdd2fd61aae9c92f902932bacd6b39189ecde4b1 Mon Sep 17 00:00:00 2001 +From: Illia Volochii <illia.volochii@gmail.com> +Date: Wed, 27 Mar 2024 12:09:38 +0000 +Subject: [PATCH 3/3] Add a news entry + +--- + newsfragments/642.bugfix.rst | 1 + + 1 file changed, 1 insertion(+) + create mode 100644 newsfragments/642.bugfix.rst + +diff --git a/newsfragments/642.bugfix.rst b/newsfragments/642.bugfix.rst +new file mode 100644 +index 0000000..9d75e7a +--- /dev/null ++++ b/newsfragments/642.bugfix.rst +@@ -0,0 +1 @@ ++Add the Authority Key Identifier extension to child CA certificates. diff --git a/dev-python/trustme/trustme-1.1.0-r1.ebuild b/dev-python/trustme/trustme-1.1.0-r1.ebuild new file mode 100644 index 000000000000..cb4c7173252e --- /dev/null +++ b/dev-python/trustme/trustme-1.1.0-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="#1 quality TLS certs while you wait, for the discerning tester" +HOMEPAGE=" + https://github.com/python-trio/trustme/ + https://pypi.org/project/trustme/ +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + >=dev-python/cryptography-3.1[${PYTHON_USEDEP}] + >=dev-python/idna-2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/service-identity[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + # https://github.com/python-trio/trustme/pull/642 + # (also fixes py3.13) + "${FILESDIR}/${P}-aki.patch" +) + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/trustme/trustme-1.1.0.ebuild b/dev-python/trustme/trustme-1.1.0.ebuild index 5e7472ed3ef0..53841a6c202c 100644 --- a/dev-python/trustme/trustme-1.1.0.ebuild +++ b/dev-python/trustme/trustme-1.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -30,3 +30,8 @@ BDEPEND=" " distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/truststore/Manifest b/dev-python/truststore/Manifest index edeba996d29d..7475de894309 100644 --- a/dev-python/truststore/Manifest +++ b/dev-python/truststore/Manifest @@ -1 +1,2 @@ -DIST truststore-0.8.0.gh.tar.gz 25619 BLAKE2B 3c1beeea036274349e31ea45741e2cdfb84f468a3073dcb67618cb4907831a83aac90f774c7a0309c35b5c303e490a56ed0623ae1b3d5ba4189a2ffefd05f56f SHA512 9492874b2c0eb5ba011c0d4af6fc4e2d1664686458775344c928e25248b0d54f776d9400138330b225146402345ab8d5ccb9f73b5db51e566342855a8b4ac579 +DIST truststore-0.9.0.gh.tar.gz 26618 BLAKE2B f3d26a863e2810f620bc565eb819f8c113d9746f30869d2d7c1310f317b846f97525d7437fcf511ffaa28b622112604426f4e02655cbe5af1096b0c19dd39ece SHA512 b0af8bb3688c387c521b722c84ce7b5660238d7919eca76dd60f3dfe3bd6484c6e005125975b326eae2824a96120693536f8047980feae4c3aaed443870705ea +DIST truststore-0.9.1.gh.tar.gz 26720 BLAKE2B e5bf3905367f75cdfd9314f1c544f004e62c2ddcde97f83bfe5ddc2d7606d44df5fc352811c8c42423be2da46e5f7b9642a2aeebe61436669c4cd9265ddbec96 SHA512 38567198a3b0d4e9c0b3df72674f3e1fef0614ef0afa80bd7276f98c2e7ef2dc00cca92184b80a1dfe535c5d2508ebdb775e389576c2f07536838f67de1958ca diff --git a/dev-python/truststore/truststore-0.8.0.ebuild b/dev-python/truststore/truststore-0.9.0.ebuild index ae12c7ac4fa2..6f5193f91dbe 100644 --- a/dev-python/truststore/truststore-0.8.0.ebuild +++ b/dev-python/truststore/truststore-0.9.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,6 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm64" +# The vast majority of tests require Internet access. PROPERTIES="test_network" RESTRICT="test" diff --git a/dev-python/truststore/truststore-0.9.1.ebuild b/dev-python/truststore/truststore-0.9.1.ebuild new file mode 100644 index 000000000000..6f5193f91dbe --- /dev/null +++ b/dev-python/truststore/truststore-0.9.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Verify certificates using native system trust stores" +HOMEPAGE=" + https://github.com/sethmlarson/truststore/ + https://pypi.org/project/truststore/ +" +SRC_URI=" + https://github.com/sethmlarson/truststore/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +# The vast majority of tests require Internet access. +PROPERTIES="test_network" +RESTRICT="test" + +BDEPEND=" + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p pytest_httpserver +} diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest index 86a36bb60287..3e6d7735b2bb 100644 --- a/dev-python/twine/Manifest +++ b/dev-python/twine/Manifest @@ -1 +1,2 @@ DIST twine-5.0.0.gh.tar.gz 218873 BLAKE2B 0f4f92d3ee9ae0f154c68cbc165ce014cbd5c34d88f8067c5f9ab4b6cfd3fc9d435f9c1ada6911af2f711bef3c5607fdfd969ad454c06e3a9bbce4f23ebc2a07 SHA512 a1701844df03f0ca0e4b15eeae97e1a1a5788f13f04bbd5b084a9dc6637c2404aefc354705c974edd53b2f09517e088f5857cb211ed45ed7dbcedecb0f6392d5 +DIST twine-5.1.0.gh.tar.gz 221527 BLAKE2B 45b707883e84ade7cad8bee712e7b68f24eb8ccfd018de5c0522cf98cb66895e6a4324f17e54fa87dacdf97ee092a0fdbc0b5289b30871da36828c987c518c2f SHA512 41a5b94b6929a0a018cd15dd4ede45a361420752235e9b1a8b16979609e6a056bf46cd88efa869c27fa9bae3907f4e45d0c468de8058c3f82f15b48b4274b4cd diff --git a/dev-python/twine/twine-5.1.0.ebuild b/dev-python/twine/twine-5.1.0.ebuild new file mode 100644 index 000000000000..970c1576f1a5 --- /dev/null +++ b/dev-python/twine/twine-5.1.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Collection of utilities for publishing packages on PyPI" +HOMEPAGE=" + https://twine.readthedocs.io/ + https://github.com/pypa/twine/ + https://pypi.org/project/twine/ +" +SRC_URI=" + https://github.com/pypa/twine/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}] + >=dev-python/importlib-metadata-3.6[${PYTHON_USEDEP}] + >=dev-python/keyring-15.1[${PYTHON_USEDEP}] + >=dev-python/pkginfo-1.8.1[${PYTHON_USEDEP}] + >=dev-python/readme-renderer-35.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.20.0[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}] + >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}] + >=dev-python/rich-12.0.0[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/jaraco-envs[${PYTHON_USEDEP}] + dev-python/jaraco-functools[${PYTHON_USEDEP}] + dev-python/munch[${PYTHON_USEDEP}] + dev-python/portend[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pypiserver[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # pytest-socket dep relevant only to test_integration, and upstream + # disables it anyway + sed -i -e '/--disable-socket/d' pytest.ini || die + sed -i -e '/--cov/d' pytest.ini || die + + distutils-r1_python_prepare_all + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + local EPYTEST_IGNORE=( + # Internet + tests/test_integration.py + ) + local EPYTEST_DESELECT=( + # Regression due to deps? + tests/test_check.py::test_fails_rst_no_content + # Avoid needing heavy virtualx + tests/test_auth.py::test_warns_for_empty_password + ) + + local -x COLUMNS=80 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/twisted/Manifest b/dev-python/twisted/Manifest index 92a82f833ad9..437756ad44fa 100644 --- a/dev-python/twisted/Manifest +++ b/dev-python/twisted/Manifest @@ -1,4 +1,2 @@ -DIST twisted-23.10.0.tar.gz 3495627 BLAKE2B 3b5c2dc56686203cfe7c863211f0be34f49b26273af7b0f54a891851cf5f32096da880f35dd549b8ff82c6885fda2f644ef747fc9574e830da4fe2ddb588e70f SHA512 da6cc663005776fca716503ec53ae367576e9c89ec2b90a367e73afb1e63c51a24dfad39b9ed1edb597e77e1d805dcbd179cefc1685faddd4044efc8f6c82d5f -DIST twisted-24.2.0rc1.tar.gz 3500738 BLAKE2B d286b8bbd8e3c9bef82bf3b6a3ea3714358f4447a2bd4b3e82a0f4be0bda89c9a0804f807592dd951b6bb4ff74076b4a35a13b98d9d99e4334a644fe668f7802 SHA512 6f8946e65ec6affce5cac79a6b6019a48ba6bb9c2eb42bc2a251a50bd33eb429dd6aec570ed51ce98c618cc220451a935f8e32c93281953ef4b2a9e658793b68 DIST twisted-24.3.0.tar.gz 3500456 BLAKE2B b2cebb2f3482dbeba250786b1977ddbb09e1a9a81f71ce5906efe8289b0e134a8b26c191c2262e8ee8ba3fccccea508c34145016b29ecf301541134dcea19e08 SHA512 c3dd227f5936ffa586a0b7447f5df4c2257dce0c0ba740373d82197a72029e7eeb0aef9789247dde73e2f24dd043f3b0b7d795f16e6e908583b054aad9b9eb6a DIST twisted-regen-cache.gz 911 BLAKE2B ffd3fcda6c67ffe6fd3ef581c8d507548396b66ed0708e9a5c790095e579c0d5f0f71596acf05712989da2ddef2b8d437eca973bc4d80ef8a9fa852915f38305 SHA512 95a9b931c73017d16d1b5e6b41345dddffe62b6af1a8e93b5e40d06d3d15be17b0dd0181c767ffeeb791534d463764ef9e066fa6c2ee2ac4b53c86d1da8fce03 diff --git a/dev-python/twisted/twisted-23.10.0.ebuild b/dev-python/twisted/twisted-23.10.0.ebuild deleted file mode 100644 index edb96fcce0dd..000000000000 --- a/dev-python/twisted/twisted-23.10.0.ebuild +++ /dev/null @@ -1,150 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_TESTED=( python3_{10..12} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi virtualx - -DESCRIPTION="An asynchronous networking framework written in Python" -HOMEPAGE=" - https://twisted.org/ - https://github.com/twisted/twisted/ - https://pypi.org/project/Twisted/ -" -SRC_URI+=" - https://dev.gentoo.org/~mgorny/dist/twisted-regen-cache.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" -IUSE="conch http2 serial ssl test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/automat-0.8.0[${PYTHON_USEDEP}] - >=dev-python/constantly-15.1[${PYTHON_USEDEP}] - >=dev-python/hyperlink-17.1.1[${PYTHON_USEDEP}] - >=dev-python/incremental-22.10.0[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.2.0[${PYTHON_USEDEP}] - >=dev-python/zope-interface-5[${PYTHON_USEDEP}] - conch? ( - >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] - >=dev-python/bcrypt-3.0.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3[${PYTHON_USEDEP}] - dev-python/pyasn1[${PYTHON_USEDEP}] - ) - http2? ( - <dev-python/h2-5.0[${PYTHON_USEDEP}] - >=dev-python/h2-3.0.0[${PYTHON_USEDEP}] - <dev-python/priority-2.0[${PYTHON_USEDEP}] - >=dev-python/priority-1.1.0[${PYTHON_USEDEP}] - ) - serial? ( - >=dev-python/pyserial-3.0[${PYTHON_USEDEP}] - ) - ssl? ( - >=dev-python/pyopenssl-21.0.0[${PYTHON_USEDEP}] - >=dev-python/service-identity-18.1.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.4[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - >=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}] - >=dev-python/incremental-22.10.0[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - $(python_gen_cond_dep ' - >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] - >=dev-python/bcrypt-3.0.0[${PYTHON_USEDEP}] - >=dev-python/constantly-15.1.0[${PYTHON_USEDEP}] - <dev-python/cython-test-exception-raiser-2[${PYTHON_USEDEP}] - >=dev-python/cython-test-exception-raiser-1.0.2[${PYTHON_USEDEP}] - >=dev-python/idna-2.4[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.56[${PYTHON_USEDEP}] - dev-python/pyasn1[${PYTHON_USEDEP}] - >=dev-python/pyhamcrest-2[${PYTHON_USEDEP}] - >=dev-python/pyserial-3.0[${PYTHON_USEDEP}] - virtual/openssh - ssl? ( - >=dev-python/pyopenssl-21.0.0[${PYTHON_USEDEP}] - >=dev-python/service-identity-18.1.0[${PYTHON_USEDEP}] - ) - ' "${PYTHON_TESTED[@]}") - ) -" - -python_prepare_all() { - # upstream test for making releases; not very useful and requires - # sphinx (including on py2) - rm src/twisted/python/test/test_release.py || die - - # multicast tests fail within network-sandbox - sed -e 's:test_joinLeave:_&:' \ - -e 's:test_loopback:_&:' \ - -e 's:test_multiListen:_&:' \ - -e 's:test_multicast:_&:' \ - -i src/twisted/test/test_udp.py || die - - distutils-r1_python_prepare_all -} - -src_test() { - # the test suite handles missing file & failing ioctl()s gracefully - # but not permission errors from sandbox - addwrite /dev/net/tun - virtx distutils-r1_src_test -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - "${EPYTHON}" -m twisted.trial twisted || - die "Tests failed with ${EPYTHON}" -} - -python_install() { - distutils-r1_python_install - - # own the dropin.cache so we don't leave orphans - > "${D}$(python_get_sitedir)"/twisted/plugins/dropin.cache || die - - python_doscript "${WORKDIR}"/twisted-regen-cache -} - -python_install_all() { - distutils-r1_python_install_all - - newconfd "${FILESDIR}/twistd.conf" twistd - newinitd "${FILESDIR}/twistd.init" twistd -} - -python_postinst() { - twisted-regen-cache || die -} - -pkg_postinst() { - if [[ -z ${ROOT} ]]; then - python_foreach_impl python_postinst - fi -} - -python_postrm() { - rm -f "${ROOT}$(python_get_sitedir)/twisted/plugins/dropin.cache" || die -} - -pkg_postrm() { - # if we're removing the last version, remove the cache file - if [[ ! ${REPLACING_VERSIONS} ]]; then - python_foreach_impl python_postrm - fi -} diff --git a/dev-python/twisted/twisted-24.2.0_rc1.ebuild b/dev-python/twisted/twisted-24.2.0_rc1.ebuild deleted file mode 100644 index 4869d844543e..000000000000 --- a/dev-python/twisted/twisted-24.2.0_rc1.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_TESTED=( python3_{10..12} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi virtualx - -DESCRIPTION="An asynchronous networking framework written in Python" -HOMEPAGE=" - https://twisted.org/ - https://github.com/twisted/twisted/ - https://pypi.org/project/Twisted/ -" -SRC_URI+=" - https://dev.gentoo.org/~mgorny/dist/twisted-regen-cache.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" -IUSE="conch http2 serial ssl test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/automat-0.8.0[${PYTHON_USEDEP}] - >=dev-python/constantly-15.1[${PYTHON_USEDEP}] - >=dev-python/hyperlink-17.1.1[${PYTHON_USEDEP}] - >=dev-python/incremental-22.10.0[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.2.0[${PYTHON_USEDEP}] - >=dev-python/zope-interface-5[${PYTHON_USEDEP}] - conch? ( - >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] - >=dev-python/bcrypt-3.0.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3[${PYTHON_USEDEP}] - dev-python/pyasn1[${PYTHON_USEDEP}] - ) - http2? ( - <dev-python/h2-5.0[${PYTHON_USEDEP}] - >=dev-python/h2-3.0.0[${PYTHON_USEDEP}] - <dev-python/priority-2.0[${PYTHON_USEDEP}] - >=dev-python/priority-1.1.0[${PYTHON_USEDEP}] - ) - serial? ( - >=dev-python/pyserial-3.0[${PYTHON_USEDEP}] - ) - ssl? ( - >=dev-python/pyopenssl-21.0.0[${PYTHON_USEDEP}] - >=dev-python/service-identity-18.1.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.4[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - >=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}] - >=dev-python/incremental-22.10.0[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - $(python_gen_cond_dep ' - >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] - >=dev-python/bcrypt-3.0.0[${PYTHON_USEDEP}] - >=dev-python/constantly-15.1.0[${PYTHON_USEDEP}] - <dev-python/cython-test-exception-raiser-2[${PYTHON_USEDEP}] - >=dev-python/cython-test-exception-raiser-1.0.2[${PYTHON_USEDEP}] - >=dev-python/idna-2.4[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.56[${PYTHON_USEDEP}] - dev-python/pyasn1[${PYTHON_USEDEP}] - >=dev-python/pyhamcrest-2[${PYTHON_USEDEP}] - >=dev-python/pyserial-3.0[${PYTHON_USEDEP}] - virtual/openssh - ssl? ( - >=dev-python/pyopenssl-21.0.0[${PYTHON_USEDEP}] - >=dev-python/service-identity-18.1.0[${PYTHON_USEDEP}] - ) - ' "${PYTHON_TESTED[@]}") - ) -" - -python_prepare_all() { - # upstream test for making releases; not very useful and requires - # sphinx (including on py2) - rm src/twisted/python/test/test_release.py || die - - # multicast tests fail within network-sandbox - sed -e 's:test_joinLeave:_&:' \ - -e 's:test_loopback:_&:' \ - -e 's:test_multiListen:_&:' \ - -e 's:test_multicast:_&:' \ - -i src/twisted/test/test_udp.py || die - - distutils-r1_python_prepare_all -} - -src_test() { - # the test suite handles missing file & failing ioctl()s gracefully - # but not permission errors from sandbox - addwrite /dev/net/tun - virtx distutils-r1_src_test -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - # breaks some tests by overriding empty environment - local -x SANDBOX_ON=0 - "${EPYTHON}" -m twisted.trial twisted || - die "Tests failed with ${EPYTHON}" -} - -python_install() { - distutils-r1_python_install - - # own the dropin.cache so we don't leave orphans - > "${D}$(python_get_sitedir)"/twisted/plugins/dropin.cache || die - - python_doscript "${WORKDIR}"/twisted-regen-cache -} - -python_install_all() { - distutils-r1_python_install_all - - newconfd "${FILESDIR}/twistd.conf" twistd - newinitd "${FILESDIR}/twistd.init" twistd -} - -python_postinst() { - twisted-regen-cache || die -} - -pkg_postinst() { - if [[ -z ${ROOT} ]]; then - python_foreach_impl python_postinst - fi -} - -python_postrm() { - rm -f "${ROOT}$(python_get_sitedir)/twisted/plugins/dropin.cache" || die -} - -pkg_postrm() { - # if we're removing the last version, remove the cache file - if [[ ! ${REPLACING_VERSIONS} ]]; then - python_foreach_impl python_postrm - fi -} diff --git a/dev-python/twisted/twisted-24.3.0.ebuild b/dev-python/twisted/twisted-24.3.0.ebuild index a615d924022e..2d913b858d7d 100644 --- a/dev-python/twisted/twisted-24.3.0.ebuild +++ b/dev-python/twisted/twisted-24.3.0.ebuild @@ -22,7 +22,7 @@ SRC_URI+=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" IUSE="conch http2 serial ssl test" RESTRICT="!test? ( test )" diff --git a/dev-python/typeguard/Manifest b/dev-python/typeguard/Manifest index 397c03f3d417..362123c96f82 100644 --- a/dev-python/typeguard/Manifest +++ b/dev-python/typeguard/Manifest @@ -1,2 +1 @@ -DIST typeguard-4.1.5.tar.gz 69228 BLAKE2B 2af39b1cb179483e167b8cfbf053e633f5947b3a17c496aaa2bdf22f3a69f7b41e2c9f317534eb12ffb781364cf81d117ced9fafd389aadd85d16d05e42bff0b SHA512 50bf3760246dba5de2e98038c78acbd6f2fd2d69ae8c688c3efeface5ef6cc4c2521f82d6084dabc1258286ac589ff94f1b9e3c9b67e9b019d725bf13884fce2 DIST typeguard-4.2.1.tar.gz 71292 BLAKE2B ad529ce88c7d38d4491734c5ac8e465bbde66ccd76a18f83c0f61837fa10c50450bc8535bbab48e913cea9593795a6b16d82650eed38c277f65cd5d5556d71a1 SHA512 2bfe2836cbcca0f223d16e5772c9c53169b75391f062eb6fc5f1abc22297b7482f3482812f15b3ed92dd31b86f803072245370dce5ba19fc4d31723b1d2f38b3 diff --git a/dev-python/typeguard/typeguard-4.1.5.ebuild b/dev-python/typeguard/typeguard-4.1.5.ebuild deleted file mode 100644 index b63143ee3d93..000000000000 --- a/dev-python/typeguard/typeguard-4.1.5.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Run-time type checker for Python" -HOMEPAGE=" - https://pypi.org/project/typeguard/ - https://github.com/agronholm/typeguard/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/typing-extensions-4.7.0[${PYTHON_USEDEP}] - ' 3.{10..11}) -" -BDEPEND=" - >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # mypy changes results from version to version - tests/mypy - ) - - local -x PYTHONDONTWRITEBYTECODE= - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # the XFAIL test pass due to some package being installed - epytest -o xfail_strict=False -} diff --git a/dev-python/typeguard/typeguard-4.2.1.ebuild b/dev-python/typeguard/typeguard-4.2.1.ebuild index 6a1669a1ed28..e1bccd27bc50 100644 --- a/dev-python/typeguard/typeguard-4.2.1.ebuild +++ b/dev-python/typeguard/typeguard-4.2.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/types-docutils/Manifest b/dev-python/types-docutils/Manifest index 2504cae1276a..755cf04c82a1 100644 --- a/dev-python/types-docutils/Manifest +++ b/dev-python/types-docutils/Manifest @@ -1 +1,2 @@ DIST types-docutils-0.20.0.20240406.tar.gz 19423 BLAKE2B 13292676e4f46ebd273962eae09961f7f7ab86168ff49b5372ecbf3ef0c13a95857bc65b22447016779f608b92e76e9310e746394e68e174a3d98a5f7003d442 SHA512 94a742e151e66497e96b761279913c741f4e79194a37def496cd71930803668ab5c96c76eab584cbeb491a3750ba0a45727894d24a123fd01f3bb72cbc36a8a8 +DIST types-docutils-0.21.0.20240423.tar.gz 19468 BLAKE2B a1fda020a7390ae7a95a46ec484697ecc7f18331607e6c85b0d0d9ecaea6fcc3ce8763a6d800e6ce232ddb4cb3633272eaa9ea607c0eb9a85fff4e1be48c64dc SHA512 e7e596ffb26d50730d00204ff8bd4474ef109b9d755aaa2dd473cf96e1baf477961cc6073a66e136fe363546b25ed0e306aee86959ebb95243b44bd9993dae44 diff --git a/dev-python/types-docutils/types-docutils-0.21.0.20240423.ebuild b/dev-python/types-docutils/types-docutils-0.21.0.20240423.ebuild new file mode 100644 index 000000000000..cb335ec2836f --- /dev/null +++ b/dev-python/types-docutils/types-docutils-0.21.0.20240423.ebuild @@ -0,0 +1,17 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Typing stubs for docutils" +HOMEPAGE="https://pypi.org/project/types-docutils/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" diff --git a/dev-python/types-psutil/Manifest b/dev-python/types-psutil/Manifest index 286240fea080..0c67c59bb229 100644 --- a/dev-python/types-psutil/Manifest +++ b/dev-python/types-psutil/Manifest @@ -1 +1,3 @@ -DIST types-psutil-5.9.5.20240316.tar.gz 14419 BLAKE2B f42116f8dc8dcec2fb224fa9a40e9cd7b4432c47d658e3e35cbf8d2c48c50b516116ddbe1fb3dd2ac37d05187adbcdeb75a3d303a6d8872dada76cc8820d1e93 SHA512 8d41ab6ab134f4e150fbc7529d153023ec63ab558db16e4693885a693c0956eaf9eb84e3a8a14e26549e21dfc3a999a6b9661d1930fc4ac2b0015e7e7c88f990 +DIST types-psutil-5.9.5.20240423.tar.gz 14582 BLAKE2B 64922d5e12a0f2e9fb5de8dc519c234c4b60372f618393ffe8da21215cf9ce41d0dcd233a44d77c4b3ad852eb7dfb996e58784908a7e44e169bac5541413d038 SHA512 52e895fb82e3221d0dae945afed0091421df65131ed7d9705a58ed90246ed2c884737d2cfda17a70e2fc7bfab3f6d37bd1f0015c6b04218b41bf2a621585c144 +DIST types-psutil-5.9.5.20240511.tar.gz 14625 BLAKE2B bf790a7cb7c32221c5e4ac2efde92b24a32a5bedd5f913a725aeabae0d7feedc0e9a9a0e509e9e4b06d8833a6b397f4695d53f60e67d263e4522db695400a6a2 SHA512 05ff43d1c6b96dafa59cd5eab53f0386739c798d57321febf5253ab5e2a51d79dad41681b683a76ea0def4007f5cdaece8a67928c82fed8fbfbf764d334eb215 +DIST types-psutil-5.9.5.20240516.tar.gz 14771 BLAKE2B 9d163a5909b79a1d775f5edb557fa9e047b2874a3def37ca9277f446ee83b4ded8776c2d231142ee72cf80f7a48c7ebafbe03794d0d3192f762f14692559b16b SHA512 831ffcf2031f3d40d591c7660c38e469114867b53990739130098db571f6369877ee534388ad87f178f1b689c8a66bf020e5b5b2a141aa81485324b370b7473f diff --git a/dev-python/types-psutil/types-psutil-5.9.5.20240316.ebuild b/dev-python/types-psutil/types-psutil-5.9.5.20240423.ebuild index 2f3b385784e8..2f3b385784e8 100644 --- a/dev-python/types-psutil/types-psutil-5.9.5.20240316.ebuild +++ b/dev-python/types-psutil/types-psutil-5.9.5.20240423.ebuild diff --git a/dev-python/types-psutil/types-psutil-5.9.5.20240511.ebuild b/dev-python/types-psutil/types-psutil-5.9.5.20240511.ebuild new file mode 100644 index 000000000000..e4318bf1fdcf --- /dev/null +++ b/dev-python/types-psutil/types-psutil-5.9.5.20240511.ebuild @@ -0,0 +1,17 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Typing stubs for psutil" +HOMEPAGE="https://pypi.org/project/types-psutil/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" diff --git a/dev-python/types-psutil/types-psutil-5.9.5.20240516.ebuild b/dev-python/types-psutil/types-psutil-5.9.5.20240516.ebuild new file mode 100644 index 000000000000..e4318bf1fdcf --- /dev/null +++ b/dev-python/types-psutil/types-psutil-5.9.5.20240516.ebuild @@ -0,0 +1,17 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Typing stubs for psutil" +HOMEPAGE="https://pypi.org/project/types-psutil/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" diff --git a/dev-python/types-setuptools/Manifest b/dev-python/types-setuptools/Manifest index 80edc49a9396..58604bd38a0a 100644 --- a/dev-python/types-setuptools/Manifest +++ b/dev-python/types-setuptools/Manifest @@ -1,2 +1,2 @@ -DIST types-setuptools-69.2.0.20240317.tar.gz 36743 BLAKE2B 1e3a318993b3f802cb0fac94400d5859e57f009a26a1448586420e14a62b4296414c2d43ee860f53b65ddf6e5d42278a5757e96e62d0db2df1739f94d5974003 SHA512 58bd476d81a5f423b733efe5b7bd4a961849ec0cf558a45b52347bca3ae99692463ba26ae0fbc4df9a895ba88937393159541d2d00a2d026b9a5388beafcafbb -DIST types-setuptools-69.5.0.20240415.tar.gz 37530 BLAKE2B a67b2e7dfc22e7c3511714f085422e1333f3608876b48b1dbcaa38b10a402db1d92075cbcbed28c197e22aa1b285eb68b245923b9f010d655c160d881e7cc07b SHA512 14f01869712db92a97febb9852dd095980041220ab61241dd7909a916e2b5405903506480ce20132da8da10e3e67d8fc6b4ea00aa1b84a051fa5852237765372 +DIST types-setuptools-69.5.0.20240423.tar.gz 37608 BLAKE2B 8a5b9ece3318ac9646c5a8e5961e6fbc05fddb4a5e96cc2d0d96f11b317b2ec1da1f4fb8624348e0cc307cc7781895f9d016eac3f07f37351a3211f77a2de1a0 SHA512 2134c4c31bddd6c8f5722f171054dda21abdb13d743fb94fc280fc185b521b24e889be9f61c21e83a5d881c9ca40ffb7b60d49a3abb63f30c51793ed2b32b56f +DIST types-setuptools-69.5.0.20240513.tar.gz 37766 BLAKE2B 8c573de3c40af243061f04c21266815fc13f6f5244919b98ecd2345bc790a40471ea21939163a08727b505b5cf295e44889ace93faf51ac9baf9f51195fecb6b SHA512 fcd7262fc2f54f22480ddc09f9edfa1202dfc0e5f2d0dec3accc6bfb32666bd3f49a6e455e0e834e2166d38ea8782c172dd85c4adb30329b0d7c9bae66f74d7b diff --git a/dev-python/types-setuptools/types-setuptools-69.2.0.20240317.ebuild b/dev-python/types-setuptools/types-setuptools-69.5.0.20240423.ebuild index 4ac1e9e449a5..4ac1e9e449a5 100644 --- a/dev-python/types-setuptools/types-setuptools-69.2.0.20240317.ebuild +++ b/dev-python/types-setuptools/types-setuptools-69.5.0.20240423.ebuild diff --git a/dev-python/types-setuptools/types-setuptools-69.5.0.20240415.ebuild b/dev-python/types-setuptools/types-setuptools-69.5.0.20240513.ebuild index 69fd1036f5c6..69fd1036f5c6 100644 --- a/dev-python/types-setuptools/types-setuptools-69.5.0.20240415.ebuild +++ b/dev-python/types-setuptools/types-setuptools-69.5.0.20240513.ebuild diff --git a/dev-python/typing-extensions/Manifest b/dev-python/typing-extensions/Manifest index 96b7a1552153..cb460b4805a6 100644 --- a/dev-python/typing-extensions/Manifest +++ b/dev-python/typing-extensions/Manifest @@ -1,2 +1,3 @@ -DIST typing_extensions-4.10.0.tar.gz 77558 BLAKE2B eddcee7d33437d10d599a7f0e03932525945bc57be5bc62ffa27417458f0fcb96c4fdddb3749f9a6db4615dee88221338cdb2de775db8b503ba3586b9fcf6b6f SHA512 d3d840719ed0cf1435a959f84a65df93f55fb4bfdda926cd74a34a8bb6ab0407108ee8941f40b6cb570e2f7c440abffb0bc1d0f0414814047de6e9c3eeb24093 +DIST typing_extensions-12e901ed0cb8a826726357f8020cf3837d961e15.gh.tar.gz 95229 BLAKE2B 1d5feabe39d0a04486e2ed5acf6b46f91a1656d10175a54d6b41e194d4693bbf6d5d135d7ed887308c90d8e65f4f7e99fe095263f761d4077bbf7baa9eaabd51 SHA512 c61249d1b6bcda302991f6f981261361730b3c11f860df98cdba0304ff575a89228ad96966810c17b50cac75bde0ed5f9e6519a2904d56f6021fd2048ad155cc DIST typing_extensions-4.11.0.tar.gz 78744 BLAKE2B 641d4a13fcd10151a0b7059d11393c78974883710a860805dc132a148677c80a0be06dc32f66cffc4ae2dd838c607bdaa8d3f44e4e3cf55848d2a315bd74ce5a SHA512 d795fadbe9c0a24c4d3190f375d72576f5b42a14dc3a999127c1356f2ae77d4bffdc04a23b7a05331cc8b703a81f504328aaf5d6c1247ea24cbeed25dccb0a37 +DIST typing_extensions-4.12.0rc1.tar.gz 83702 BLAKE2B 5f8faaf15bb975f84fc4e217ab1ef9aaa3526dbfc3e17150a1b94cade70e19b27d9e0b637b175aae108719dd234a972c53696e96f7d6b5e96c626c31ded68123 SHA512 a0ce4d62695facb9ad11a4719ea31a0d5f95ca10eee939fb9b3fde8bae963e343a6779e7f5507af7f8751cf0b944d703110bcb18a345f020923ff5ebac54bc9e diff --git a/dev-python/typing-extensions/typing-extensions-4.11.0.ebuild b/dev-python/typing-extensions/typing-extensions-4.11.0.ebuild index 795492eaf7bc..2b2ddff925ca 100644 --- a/dev-python/typing-extensions/typing-extensions-4.11.0.ebuild +++ b/dev-python/typing-extensions/typing-extensions-4.11.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" distutils_enable_tests unittest diff --git a/dev-python/typing-extensions/typing-extensions-4.11.0_p20240512.ebuild b/dev-python/typing-extensions/typing-extensions-4.11.0_p20240512.ebuild new file mode 100644 index 000000000000..35c2654aef7b --- /dev/null +++ b/dev-python/typing-extensions/typing-extensions-4.11.0_p20240512.ebuild @@ -0,0 +1,33 @@ +# 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 ) + +inherit distutils-r1 + +EGIT_COMMIT=12e901ed0cb8a826726357f8020cf3837d961e15 +MY_P=typing_extensions-${EGIT_COMMIT} +DESCRIPTION="Backported and Experimental Type Hints for Python 3.7+" +HOMEPAGE=" + https://pypi.org/project/typing-extensions/ + https://github.com/python/typing_extensions/ +" +SRC_URI=" + https://github.com/python/typing_extensions/archive/${EGIT_COMMIT}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +distutils_enable_tests unittest + +python_test() { + cd src || die + eunittest +} diff --git a/dev-python/typing-extensions/typing-extensions-4.10.0.ebuild b/dev-python/typing-extensions/typing-extensions-4.12.0_rc1.ebuild index 2b2ddff925ca..71adea3717b9 100644 --- a/dev-python/typing-extensions/typing-extensions-4.10.0.ebuild +++ b/dev-python/typing-extensions/typing-extensions-4.12.0_rc1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" distutils_enable_tests unittest diff --git a/dev-python/u-msgpack-python/u-msgpack-python-2.8.0.ebuild b/dev-python/u-msgpack-python/u-msgpack-python-2.8.0.ebuild index 90987bc3c53f..576445cf9b5d 100644 --- a/dev-python/u-msgpack-python/u-msgpack-python-2.8.0.ebuild +++ b/dev-python/u-msgpack-python/u-msgpack-python-2.8.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/uc-micro-py/uc-micro-py-1.0.3.ebuild b/dev-python/uc-micro-py/uc-micro-py-1.0.3.ebuild index bc4f69ebb9a3..c7b959799f1a 100644 --- a/dev-python/uc-micro-py/uc-micro-py-1.0.3.ebuild +++ b/dev-python/uc-micro-py/uc-micro-py-1.0.3.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/ujson/Manifest b/dev-python/ujson/Manifest index 019bd3f62f6f..147076b600cc 100644 --- a/dev-python/ujson/Manifest +++ b/dev-python/ujson/Manifest @@ -1 +1,2 @@ +DIST ujson-5.10.0.tar.gz 7154885 BLAKE2B 5cb09e7b8576b837f19e604eda2f498d5cf479c9b0018d948e011a53c5b91fcaf869d8b8f0babf6c1d725e1ba000f107f767a7c2f74c52121bce95a2082938a7 SHA512 29aeb2f57c607c382deb2825f6262b73d11f1edff0545338819d081f223dabb66b2967744cc11b9f4c0b7f042d51688f04bf07fb9b2cdb6adfec439a3d8aea32 DIST ujson-5.9.0.tar.gz 7154214 BLAKE2B a13eda1c967b8ad39265caf28f97ef302a0b320653cde3ac927dc8119861aa468cfe267980c18b71172f5b766b2e6bc61bb86f18695528934902867ae3a42d37 SHA512 9940bc0c892341a6d2b85cfe592888866f02f054f1367812c39395eaee946f7c66a0197b2791bbb765ae38a06dcd871145effefbc06c71a87f7d24be105cda1f diff --git a/dev-python/ujson/ujson-5.10.0.ebuild b/dev-python/ujson/ujson-5.10.0.ebuild new file mode 100644 index 000000000000..426df23f2c32 --- /dev/null +++ b/dev-python/ujson/ujson-5.10.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Ultra fast JSON encoder and decoder for Python" +HOMEPAGE=" + https://github.com/ultrajson/ultrajson/ + https://pypi.org/project/ujson/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +DEPEND=" + dev-libs/double-conversion:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + export UJSON_BUILD_DC_INCLUDES="${EPREFIX}/usr/include/double-conversion" + export UJSON_BUILD_DC_LIBS="-ldouble-conversion" + export UJSON_BUILD_NO_STRIP=1 +} diff --git a/dev-python/unasync/Manifest b/dev-python/unasync/Manifest index 81e568623b8a..35deb1c4913c 100644 --- a/dev-python/unasync/Manifest +++ b/dev-python/unasync/Manifest @@ -1 +1,2 @@ DIST unasync-0.5.0.gh.tar.gz 19060 BLAKE2B aa7a955aed98ab33cc1a12aa88a02ab38ef90f9494f04c3e032b66e56e033404e9b59a89834a1e07b224fb865af5d139c27ff91ae5fec8ad01b1e407d9c5c181 SHA512 5b68e9a70f487b2b0fcaf9a5c4240b366428154fda99d53120315382dc29d2cffbbed72e277cee1764f7b91158db3d8b394d4f4969cec1fd7e49f27f01c39440 +DIST unasync-0.6.0.gh.tar.gz 18124 BLAKE2B 80e7e2ef2be10c9d1f5b0e1dd8316f4d8ab4c051f902442adb0f52cf6c78fa3432e6bdf58a42243e31b9daf43f7a3db8afbfe968c4d9128b6bc7a6e30d09cfbf SHA512 1092df25ac6fbd7517ed2157c0bf7a993342806bcc2a7bbed474d9a7659cf1116cd147a4494877f19a35b741ed7d81389daef1533c5a96ad109005c10363cac2 diff --git a/dev-python/unasync/unasync-0.6.0-r1.ebuild b/dev-python/unasync/unasync-0.6.0-r1.ebuild new file mode 100644 index 000000000000..91eebfdb534d --- /dev/null +++ b/dev-python/unasync/unasync-0.6.0-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="The async transformation code" +HOMEPAGE=" + https://github.com/python-trio/unasync/ + https://pypi.org/project/unasync/ +" +SRC_URI=" + https://github.com/python-trio/unasync/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +distutils_enable_sphinx docs/source \ + dev-python/sphinxcontrib-trio \ + dev-python/sphinx-rtd-theme + +distutils_enable_tests pytest + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/tokenize-rt[${PYTHON_USEDEP}] +" diff --git a/dev-python/unearth/Manifest b/dev-python/unearth/Manifest index e21dd317bbe2..670fc64e28f4 100644 --- a/dev-python/unearth/Manifest +++ b/dev-python/unearth/Manifest @@ -1,3 +1,2 @@ -DIST unearth-0.14.0.tar.gz 280614 BLAKE2B d52ca2c8412a0e7bdf5c47d9693b4cdfe3a17ecc95d9d79ecdf7ee0cd5df7518de9cecf8efdfd88ae3f0b852c6bdc8b2c83198e23017d24a47fc6489b1c6e14e SHA512 ab785935f94a1987146471843961a4edc155e135471d4885324d1c2327527f112e03e1146f85a013ad0fd4560f803b616b12618d810becddea94abbce09096c4 -DIST unearth-0.15.0.tar.gz 283684 BLAKE2B dce9d5e9558a531f71fdbde435e61fcd5adc57def602478343d6cd370061c5e2a6c882c2f5ce2e1738bb4377340460e469e85dcc9507547823721e88f5524e56 SHA512 9cfc9f344ec4e84b9d8c6f7ae49123752377c016082bf8c37f70b1bf94d158862f72ac76d88db0bb3665b82a7aca156f52c9d8d295c8807336c83c6cfd09e98d DIST unearth-0.15.1.tar.gz 283687 BLAKE2B e43a0fac6023974c877ad7b82eac402d38da61920ab905587bf19d6e506b127785863ae45064392ddfee042e3fa12868d996c4375acbd1baa7c31402d31da80a SHA512 94db664b45f6e570437a0e24ba12c0c8ac6358ef5fda214bcd2f5665158f4e314a23f77dcc5f923804a7b8a30e0c580c3efae854ee5a502504b48db405d932fb +DIST unearth-0.15.2.tar.gz 283748 BLAKE2B 8387454676d6253ba1df6cf2c857d416c5b67ac5c9deafb6b34a70263f07147688f12c8bbd4a76dbca6a98542ccb31233d9ad19260f7800bcc67491ab0b76500 SHA512 1763d640153b53ce18b5b7c0ccab811402fe8dade87ebe64bf8984284710fc739c9ef0d0df20e7be356f4e93dda126bec3d6d801c92ad2c5b5381f8d6f94c04e diff --git a/dev-python/unearth/unearth-0.14.0.ebuild b/dev-python/unearth/unearth-0.14.0.ebuild deleted file mode 100644 index ddcdfe66abda..000000000000 --- a/dev-python/unearth/unearth-0.14.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A utility to fetch and download python packages" -HOMEPAGE=" - https://pypi.org/project/unearth/ - https://github.com/frostming/unearth/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-httpserver[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/requests-wsgi-adapter[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p pytest_httpserver -} diff --git a/dev-python/unearth/unearth-0.15.0.ebuild b/dev-python/unearth/unearth-0.15.2.ebuild index 5260d38a7421..5260d38a7421 100644 --- a/dev-python/unearth/unearth-0.15.0.ebuild +++ b/dev-python/unearth/unearth-0.15.2.ebuild diff --git a/dev-python/unittest-mixins/unittest-mixins-1.6-r2.ebuild b/dev-python/unittest-mixins/unittest-mixins-1.6-r2.ebuild index 9c9ce812e861..8f8948d08f8f 100644 --- a/dev-python/unittest-mixins/unittest-mixins-1.6-r2.ebuild +++ b/dev-python/unittest-mixins/unittest-mixins-1.6-r2.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/uri-template/uri-template-1.3.0.ebuild b/dev-python/uri-template/uri-template-1.3.0.ebuild index ffb87a11b0c2..1882ddd1a8fb 100644 --- a/dev-python/uri-template/uri-template-1.3.0.ebuild +++ b/dev-python/uri-template/uri-template-1.3.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/urllib3/Manifest b/dev-python/urllib3/Manifest index a78b43d34152..9c5d5de51cb8 100644 --- a/dev-python/urllib3/Manifest +++ b/dev-python/urllib3/Manifest @@ -1,6 +1,4 @@ DIST hypercorn-d1719f8c1570cbd8e6a3719ffdb14a4d72880abb.gh.tar.gz 156216 BLAKE2B fcb5f49653401e6e4079e1c770d3cd407602d4d6764437b735bd4ec04191dec59cdc930822fa2aff726ee25cddd0f71fd457dedf31026bff1da121d93af8b768 SHA512 62d6787d88a2e716f0ac04fc49f6cdc586e473a660ee754ff66961922ae78bcc75d1f78b091e78557dd60f006e8e480114738c7b4ff71beac804e4fc9603240b DIST urllib3-1.26.18.tar.gz 305687 BLAKE2B f2f673761a8d80eee715a8726ba36ab6b09800fd4a4f03f27438553c36072e2abb5ff26cff71dcf30fd114f4d28c4ad9907533965b83c8a0581d3d4661904b70 SHA512 c89e93a032bf6b11375c06ef7c5abc1868f93e7655cfdca09e9bd939ad415d206ea159fe151ecd2e5f725e0e18a831c7a5382ad01dbc32264154fc8af7aec156 -DIST urllib3-2.0.7.tar.gz 282546 BLAKE2B d4fbb9e1d0b6d1f3c3d71efc3fc479c7b1c49f87ca849c387701fb0c8b4124082de6d83d958c8b2afc225a84b80e7665df857e7b0918ba50e4ad1431f8facc4d SHA512 ca21dd330cfc7f53e6f00a92be1df1d24acbe61b6ca31c52a272dccd6f50d1bb797eece9132860adc84c21a9bebc3030a12816081451fcb8384c11a6cd2d1e8b DIST urllib3-2.1.0.tar.gz 263900 BLAKE2B 9e0438a11b7178c5004c1253179bb6bfcb1fa8711db47084377bb14c5834f7b88b04a5560b99bf6fff5f1f4622d4b1998d19dd517ab6b7453fd53c832ee7fefa SHA512 33d6eafd9b6ecd97ee2dca8a4f1612a6fcc584961bcfd3a0a188f557a73f4c1576f98dc525c3b2feecb2d676f4bf4364aafeef093d6686e4b3ef2043726561a8 -DIST urllib3-2.2.0.tar.gz 287152 BLAKE2B 126949265c6558e8743f8e2e05e80fd211845c67436db096796f453ed248d348dcc73d3822c77bb94b55b711eb4b10899b60808be1f4981159f772a2066d5e39 SHA512 8fa2735ff623ec549802290a2317d3d24cdd18e43b8b0702dcee03ecba31428bd0dd12e5b8e129135a3f254bcf5bcd6a8b608c3a43192b50e3a815c73906f6cd DIST urllib3-2.2.1.tar.gz 291020 BLAKE2B 4bd6e26e1adfba99856db082d0bd3ea136a2367fa53c2d0c7990f6325e8145b2d080a8d59705c43acd97b26be65a309f83d1906d85bd72bfb479b7404972b042 SHA512 dfadba099db678ee1567ee95aa11a72fcea0a76df094d04dd4bd7ed5df4ea2fda6917cc122a1e2bfa4f5303916f93a7e1c881fbbf3cbb9415a25bd7eca1b14b3 diff --git a/dev-python/urllib3/files/urllib3-2.2.0-pytest-8.patch b/dev-python/urllib3/files/urllib3-2.2.0-pytest-8.patch deleted file mode 100644 index 9baa3379a7c9..000000000000 --- a/dev-python/urllib3/files/urllib3-2.2.0-pytest-8.patch +++ /dev/null @@ -1,112 +0,0 @@ -From aa8d3dd2535cc125e123e5c2bca38738d6864b2a Mon Sep 17 00:00:00 2001 -From: Ruben Laguna <ruben.laguna@gmail.com> -Date: Mon, 5 Feb 2024 15:29:35 +0100 -Subject: [PATCH] Fix ssl_version tests for upcoming migration to pytest 8 - ---- - dev-requirements.txt | 2 +- - test/contrib/test_pyopenssl.py | 1 - - test/with_dummyserver/test_https.py | 35 ++++++++++++++++++++--------- - 3 files changed, 26 insertions(+), 12 deletions(-) - -diff --git a/test/contrib/test_pyopenssl.py b/test/contrib/test_pyopenssl.py -index b4799ce802..eaca77ba6f 100644 ---- a/test/contrib/test_pyopenssl.py -+++ b/test/contrib/test_pyopenssl.py -@@ -38,7 +38,6 @@ def teardown_module() -> None: - from ..test_ssl import TestSSL # noqa: E402, F401 - from ..test_util import TestUtilSSL # noqa: E402, F401 - from ..with_dummyserver.test_https import ( # noqa: E402, F401 -- TestHTTPS, - TestHTTPS_IPV4SAN, - TestHTTPS_IPV6SAN, - TestHTTPS_TLSv1, -diff --git a/test/with_dummyserver/test_https.py b/test/with_dummyserver/test_https.py -index aa22f11879..b8353d758b 100644 ---- a/test/with_dummyserver/test_https.py -+++ b/test/with_dummyserver/test_https.py -@@ -65,7 +65,7 @@ - CLIENT_CERT = CLIENT_INTERMEDIATE_PEM - - --class TestHTTPS(HTTPSHypercornDummyServerTestCase): -+class BaseTestHTTPS(HTTPSHypercornDummyServerTestCase): - tls_protocol_name: str | None = None - - def tls_protocol_not_default(self) -> bool: -@@ -83,11 +83,17 @@ def tls_version(self) -> ssl.TLSVersion: - def ssl_version(self) -> int: - if self.tls_protocol_name is None: - return pytest.skip("Skipping base test class") -- attribute = f"PROTOCOL_{self.tls_protocol_name.replace('.', '_')}" -- ssl_version = getattr(ssl, attribute, None) -- if ssl_version is None: -- return pytest.skip(f"ssl.{attribute} isn't available") -- return ssl_version # type: ignore[no-any-return] -+ -+ if self.tls_protocol_name == "TLSv1.3" and ssl.HAS_TLSv1_3: -+ return ssl.PROTOCOL_TLS_CLIENT -+ if self.tls_protocol_name == "TLSv1.2" and ssl.HAS_TLSv1_2: -+ return ssl.PROTOCOL_TLSv1_2 -+ if self.tls_protocol_name == "TLSv1.1" and ssl.HAS_TLSv1_1: -+ return ssl.PROTOCOL_TLSv1_1 -+ if self.tls_protocol_name == "TLSv1" and ssl.HAS_TLSv1: -+ return ssl.PROTOCOL_TLSv1 -+ else: -+ return pytest.skip(f"{self.tls_protocol_name} isn't available") - - @classmethod - def setup_class(cls) -> None: -@@ -797,6 +803,10 @@ def test_tls_protocol_name_of_socket(self) -> None: - def test_ssl_version_is_deprecated(self) -> None: - if self.tls_protocol_name is None: - pytest.skip("Skipping base test class") -+ if self.ssl_version() == ssl.PROTOCOL_TLS_CLIENT: -+ pytest.skip( -+ "Skipping because ssl_version=ssl.PROTOCOL_TLS_CLIENT is not deprecated" -+ ) - - with HTTPSConnectionPool( - self.host, self.port, ca_certs=DEFAULT_CA, ssl_version=self.ssl_version() -@@ -964,6 +974,11 @@ def test_default_ssl_context_ssl_min_max_versions(self) -> None: - assert ctx.maximum_version == expected_maximum_version - - def test_ssl_context_ssl_version_uses_ssl_min_max_versions(self) -> None: -+ if self.ssl_version() == ssl.PROTOCOL_TLS_CLIENT: -+ pytest.skip( -+ "Skipping because ssl_version=ssl.PROTOCOL_TLS_CLIENT is not deprecated" -+ ) -+ - with pytest.warns( - DeprecationWarning, - match=r"'ssl_version' option is deprecated and will be removed in " -@@ -977,25 +992,25 @@ def test_ssl_context_ssl_version_uses_ssl_min_max_versions(self) -> None: - - - @pytest.mark.usefixtures("requires_tlsv1") --class TestHTTPS_TLSv1(TestHTTPS): -+class TestHTTPS_TLSv1(BaseTestHTTPS): - tls_protocol_name = "TLSv1" - certs = TLSv1_CERTS - - - @pytest.mark.usefixtures("requires_tlsv1_1") --class TestHTTPS_TLSv1_1(TestHTTPS): -+class TestHTTPS_TLSv1_1(BaseTestHTTPS): - tls_protocol_name = "TLSv1.1" - certs = TLSv1_1_CERTS - - - @pytest.mark.usefixtures("requires_tlsv1_2") --class TestHTTPS_TLSv1_2(TestHTTPS): -+class TestHTTPS_TLSv1_2(BaseTestHTTPS): - tls_protocol_name = "TLSv1.2" - certs = TLSv1_2_CERTS - - - @pytest.mark.usefixtures("requires_tlsv1_3") --class TestHTTPS_TLSv1_3(TestHTTPS): -+class TestHTTPS_TLSv1_3(BaseTestHTTPS): - tls_protocol_name = "TLSv1.3" - certs = TLSv1_3_CERTS - diff --git a/dev-python/urllib3/files/urllib3-2.2.0-revert.patch b/dev-python/urllib3/files/urllib3-2.2.0-revert.patch deleted file mode 100644 index 14175ecec58b..000000000000 --- a/dev-python/urllib3/files/urllib3-2.2.0-revert.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 49b2ddaf07ec9ef65ef12d0218117f20e739ee6e Mon Sep 17 00:00:00 2001 -From: Quentin Pradet <quentin.pradet@gmail.com> -Date: Fri, 16 Feb 2024 11:35:30 +0400 -Subject: [PATCH] Stop casting request headers to HTTPHeaderDict (#3344) - -While this was done to fix a mypy error, we did not notice the -consequences: - - * This breaks boto3 that subclasses HTTPConnection because - HTTPHeaderDict does not support bytes values yet. - * When proxying, headers are still a dictionary by default. - -We can decide to reintroduce a forced conversion to HTTPHeaderDict in -urllib3 3.0 if the above issues are fixed. ---- - changelog/3343.bugfix.rst | 1 + - src/urllib3/connectionpool.py | 4 ++-- - 2 files changed, 3 insertions(+), 2 deletions(-) - create mode 100644 changelog/3343.bugfix.rst - -diff --git a/changelog/3343.bugfix.rst b/changelog/3343.bugfix.rst -new file mode 100644 -index 0000000000..4f2df9e7a4 ---- /dev/null -+++ b/changelog/3343.bugfix.rst -@@ -0,0 +1 @@ -+Fixed ``HTTPConnectionPool.urlopen`` to stop automatically casting non-proxy headers to ``HTTPHeaderDict``. This change was premature as it did not apply to proxy headers and ``HTTPHeaderDict`` does not handle byte header values correctly yet. -diff --git a/src/urllib3/connectionpool.py b/src/urllib3/connectionpool.py -index 1036f0d718..bd58ff14dd 100644 ---- a/src/urllib3/connectionpool.py -+++ b/src/urllib3/connectionpool.py -@@ -751,8 +751,8 @@ def urlopen( # type: ignore[override] - # have to copy the headers dict so we can safely change it without those - # changes being reflected in anyone else's copy. - if not http_tunnel_required: -- headers = HTTPHeaderDict(headers) -- headers.update(self.proxy_headers) -+ headers = headers.copy() # type: ignore[attr-defined] -+ headers.update(self.proxy_headers) # type: ignore[union-attr] - - # Must keep the exception bound to a separate variable or else Python 3 - # complains about UnboundLocalError. diff --git a/dev-python/urllib3/urllib3-2.0.7.ebuild b/dev-python/urllib3/urllib3-2.0.7.ebuild deleted file mode 100644 index e5dc381b44ca..000000000000 --- a/dev-python/urllib3/urllib3-2.0.7.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_TESTED=( python3_{10..12} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) -PYTHON_REQ_USE="ssl(+)" - -inherit distutils-r1 multiprocessing pypi - -DESCRIPTION="HTTP library with thread-safe connection pooling, file post, and more" -HOMEPAGE=" - https://github.com/urllib3/urllib3/ - https://pypi.org/project/urllib3/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="brotli test zstd" -RESTRICT="!test? ( test )" - -# [secure] extra is deprecated and slated for removal, we don't need it: -# https://github.com/urllib3/urllib3/issues/2680 -RDEPEND=" - >=dev-python/PySocks-1.5.8[${PYTHON_USEDEP}] - <dev-python/PySocks-2.0[${PYTHON_USEDEP}] - brotli? ( >=dev-python/brotlicffi-0.8.0[${PYTHON_USEDEP}] ) - zstd? ( >=dev-python/zstandard-0.18.0[${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( - $(python_gen_cond_dep " - ${RDEPEND} - dev-python/brotlicffi[\${PYTHON_USEDEP}] - dev-python/freezegun[\${PYTHON_USEDEP}] - dev-python/pytest[\${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[\${PYTHON_USEDEP}] - dev-python/pytest-xdist[\${PYTHON_USEDEP}] - >=dev-python/tornado-4.2.1[\${PYTHON_USEDEP}] - >=dev-python/trustme-0.5.3[\${PYTHON_USEDEP}] - >=dev-python/zstandard-0.18.0[\${PYTHON_USEDEP}] - " "${PYTHON_TESTED[@]}") - ) -" - -src_prepare() { - # upstream considers 0.5 s to be "long" for a timeout - # we get tons of test failures on *fast* systems because of that - sed -i -e '/LONG_TIMEOUT/s:0.5:5:' test/__init__.py || die - distutils-r1_src_prepare -} - -python_test() { - local -x CI=1 - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping tests on ${EPYTHON}" - return - fi - - local EPYTEST_DESELECT=( - # take forever - test/contrib/test_pyopenssl.py::TestSocketSSL::test_requesting_large_resources_via_ssl - test/with_dummyserver/test_socketlevel.py::TestSSL::test_requesting_large_resources_via_ssl - # stupid test, next bump please verify if they fixed it - test/test_poolmanager.py::TestPoolManager::test_deprecated_no_scheme - # fails with newer secure SSL configuration, which removes TLS 1.1 - test/contrib/test_pyopenssl.py::TestHTTPS_TLSv1::test_verify_none_and_good_fingerprint - test/contrib/test_pyopenssl.py::TestHTTPS_TLSv1_1::test_verify_none_and_good_fingerprint - test/with_dummyserver/test_https.py::TestHTTPS_TLSv1::test_verify_none_and_good_fingerprint - test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_1::test_verify_none_and_good_fingerprint - # TODO: timeouts - test/contrib/test_pyopenssl.py::TestSocketClosing::test_timeout_errors_cause_retries - test/with_dummyserver/test_socketlevel.py::TestSocketClosing::test_timeout_errors_cause_retries - # warnings, sigh - test/with_dummyserver/test_connectionpool.py::TestConnectionPool::test_request_chunked_is_deprecated - ) - - # plugins make tests slower, and more fragile - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # some tests are very fragile to timing - epytest -p rerunfailures --reruns=10 --reruns-delay=2 \ - -p xdist -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/urllib3/urllib3-2.2.0-r1.ebuild b/dev-python/urllib3/urllib3-2.2.0-r1.ebuild deleted file mode 100644 index c8abe317fa22..000000000000 --- a/dev-python/urllib3/urllib3-2.2.0-r1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_TESTED=( python3_{10..12} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) -PYTHON_REQ_USE="ssl(+)" - -inherit distutils-r1 pypi - -# The package has a test dependency on their own hypercorn fork. -HYPERCORN_COMMIT=d1719f8c1570cbd8e6a3719ffdb14a4d72880abb -DESCRIPTION="HTTP library with thread-safe connection pooling, file post, and more" -HOMEPAGE=" - https://github.com/urllib3/urllib3/ - https://pypi.org/project/urllib3/ -" -SRC_URI+=" - test? ( - https://github.com/urllib3/hypercorn/archive/${HYPERCORN_COMMIT}.tar.gz - -> hypercorn-${HYPERCORN_COMMIT}.gh.tar.gz - ) -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~riscv" -IUSE="brotli http2 test zstd" -RESTRICT="!test? ( test )" - -# [secure] extra is deprecated and slated for removal, we don't need it: -# https://github.com/urllib3/urllib3/issues/2680 -RDEPEND=" - >=dev-python/PySocks-1.5.8[${PYTHON_USEDEP}] - <dev-python/PySocks-2.0[${PYTHON_USEDEP}] - brotli? ( >=dev-python/brotlicffi-0.8.0[${PYTHON_USEDEP}] ) - http2? ( - <dev-python/h2-5[${PYTHON_USEDEP}] - >=dev-python/h2-4[${PYTHON_USEDEP}] - ) - zstd? ( >=dev-python/zstandard-0.18.0[${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( - $(python_gen_cond_dep " - ${RDEPEND} - dev-python/brotlicffi[\${PYTHON_USEDEP}] - dev-python/freezegun[\${PYTHON_USEDEP}] - dev-python/h2[\${PYTHON_USEDEP}] - dev-python/httpx[\${PYTHON_USEDEP}] - dev-python/pytest[\${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[\${PYTHON_USEDEP}] - dev-python/pytest-timeout[\${PYTHON_USEDEP}] - dev-python/pytest-xdist[\${PYTHON_USEDEP}] - dev-python/quart[\${PYTHON_USEDEP}] - dev-python/quart-trio[\${PYTHON_USEDEP}] - dev-python/trio[\${PYTHON_USEDEP}] - >=dev-python/tornado-4.2.1[\${PYTHON_USEDEP}] - >=dev-python/trustme-0.5.3[\${PYTHON_USEDEP}] - >=dev-python/zstandard-0.18.0[\${PYTHON_USEDEP}] - " "${PYTHON_TESTED[@]}") - ) -" - -src_prepare() { - local PATCHES=( - # https://github.com/urllib3/urllib3/commit/49b2ddaf07ec9ef65ef12d0218117f20e739ee6e - "${FILESDIR}/${P}-revert.patch" - # https://github.com/urllib3/urllib3/commit/aa8d3dd2535cc125e123e5c2bca38738d6864b2a - "${FILESDIR}/${P}-pytest-8.patch" - ) - - # upstream considers 0.5 s to be "long" for a timeout - # we get tons of test failures on *fast* systems because of that - sed -i -e '/LONG_TIMEOUT/s:0.5:5:' test/__init__.py || die - distutils-r1_src_prepare -} - -python_test() { - local -x PYTHONPATH=${WORKDIR}/hypercorn-${HYPERCORN_COMMIT}/src - local -x CI=1 - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping tests on ${EPYTHON}" - return - fi - - local EPYTEST_DESELECT=( - # TODO: timeouts - test/contrib/test_pyopenssl.py::TestSocketClosing::test_timeout_errors_cause_retries - test/with_dummyserver/test_socketlevel.py::TestSocketClosing::test_timeout_errors_cause_retries - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local EPYTEST_XDIST=1 - epytest -p timeout -p rerunfailures --reruns=10 --reruns-delay=2 -} diff --git a/dev-python/urllib3/urllib3-2.2.1.ebuild b/dev-python/urllib3/urllib3-2.2.1.ebuild index a4215f06d29d..4c4f790babe2 100644 --- a/dev-python/urllib3/urllib3-2.2.1.ebuild +++ b/dev-python/urllib3/urllib3-2.2.1.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling PYTHON_TESTED=( python3_{10..12} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_13 ) PYTHON_REQ_USE="ssl(+)" inherit distutils-r1 pypi @@ -27,7 +27,7 @@ SRC_URI+=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" IUSE="brotli http2 test zstd" RESTRICT="!test? ( test )" diff --git a/dev-python/urwid/Manifest b/dev-python/urwid/Manifest index 654ae687c06e..1c0b13f8668f 100644 --- a/dev-python/urwid/Manifest +++ b/dev-python/urwid/Manifest @@ -1,3 +1,2 @@ -DIST urwid-2.6.10.tar.gz 857094 BLAKE2B 7a3a9afb9fc7930ef47dde125e7378448c04ca50ad4eee140b6044f018ce6693972d92f4094d98a5a05223b26772bfcf0aa9de1f4c784396d2e0c235c937cc49 SHA512 1c7cdd6417359b01ced49c42f7f6122e0bec4535211290bf01d59a2d922b29b0674ab3c034e5065d15863e1c089179518b5be91932b4121aca5f0cf78bc7ab54 -DIST urwid-2.6.8.tar.gz 854980 BLAKE2B 4168bcd59710ee46e2af408e5e6331585ee2a260ca94990ff947d259d9aad7153750e6c2fc2e227ad00ce42aeeba063b5b11dd89e83f6c30548a6df5ed992e8f SHA512 34617104804f9eb710d5ed51c95c4d2f6354861f07a2d652b99109c59941561985d9717f928ba77990b3e0406723da02b1eb67d9f2236f31888a21b9de109e2e -DIST urwid-2.6.9.tar.gz 855865 BLAKE2B 468c3188e110fb3e91dc2aa371aef8c1f66c0614ce116a2185050c39404987d354dba3f0d9e230b3308ecee6c6f7c90c12b91007db43c5e7f0cc9dc1d34d5d82 SHA512 23e692b76f4229ecdb51b00c5d88f38bd1de721f7a8815d91f277979935b7f58654422b11421dd93a901add390c65facb513c166b26b00195fc7826492405ed8 +DIST urwid-2.6.11.tar.gz 847254 BLAKE2B af0f23f404bc926c378b14a124b5c9504ea282048acd943221ca85f69b86cc8435df7cffc0ed632b3a2067504aca528e560454855acf129518cf69535242a6a6 SHA512 351185673a4ed506a55e2142c0a65150987ac4b6c1176e10c497df6f69c9f4acdabb15ec45564554b9a720387eaa725854fbe4adc4d288ef519b754b17b2fb33 +DIST urwid-2.6.12.tar.gz 847508 BLAKE2B 9790f2bcb768ff859115c1eb1dd03899e49eff41a56540d24ab0a2340b43c23e0572bfe6b689033a37c579ed4860e67a6fb3ade913c5a9c9d68d4a7bb41e8dab SHA512 1b2c7de9f523fe6c80155fc039a2b9e9d416c27f7d52a41911443b0a057739526b755fcb9c901ce99ab8e1e7d1bb5ff2be5ab7c0251554d9d933c0235b44a8e8 diff --git a/dev-python/urwid/urwid-2.6.10.ebuild b/dev-python/urwid/urwid-2.6.10.ebuild deleted file mode 100644 index d2e69689abdc..000000000000 --- a/dev-python/urwid/urwid-2.6.10.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-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} ) -PYTHON_REQ_USE="ncurses" - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="Curses-based user interface library for Python" -HOMEPAGE=" - https://urwid.org/ - https://pypi.org/project/urwid/ - https://github.com/urwid/urwid/ -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="examples" - -RDEPEND=" - dev-python/typing-extensions[${PYTHON_USEDEP}] - dev-python/wcwidth[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] -" - -distutils_enable_tests unittest - -python_test() { - rm -rf urwid || die - eunittest -} - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "Trio event loop" "dev-python/trio" -} diff --git a/dev-python/urwid/urwid-2.6.8.ebuild b/dev-python/urwid/urwid-2.6.11.ebuild index e2bd2964e777..e2bd2964e777 100644 --- a/dev-python/urwid/urwid-2.6.8.ebuild +++ b/dev-python/urwid/urwid-2.6.11.ebuild diff --git a/dev-python/urwid/urwid-2.6.9.ebuild b/dev-python/urwid/urwid-2.6.12.ebuild index 1061e1cb8b37..0d52239b0d14 100644 --- a/dev-python/urwid/urwid-2.6.9.ebuild +++ b/dev-python/urwid/urwid-2.6.12.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="examples" RDEPEND=" diff --git a/dev-python/urwidtrees/urwidtrees-1.0.3-r1.ebuild b/dev-python/urwidtrees/urwidtrees-1.0.3-r2.ebuild index 1c468fa97d68..7d46fa388d5a 100644 --- a/dev-python/urwidtrees/urwidtrees-1.0.3-r1.ebuild +++ b/dev-python/urwidtrees/urwidtrees-1.0.3-r2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 1da9f1e5f696..b6afdadd8f3e 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -1,10 +1,11 @@ -DIST pubgrub-c26e485213e39582c6f2e4d45c0328422670e7a7.gh.tar.gz 86123 BLAKE2B 743bb61460903d276f467b23bb001313598b50cb54fd1a56bcadbc732dd606bafd48a2d9960add3424bd03222450b455f9f1bc8716a80933e5ed0cfb76dcc50a SHA512 9f9c8b58dd2ddeb3ed89abcd790641bd9b7b2cf4fc66dcc4d964a1b69d879adcdaf2775545631ca20f06a8ab5d6bc1df6b2eb272207d2642584c269b358f4d76 +DIST pubgrub-0e684a874c9fb8f74738cd8875524c80e3d4820b.gh.tar.gz 86899 BLAKE2B 51b8753a092deda12a35b501f34c16e800f2ed2c4c47b64622c752bcf8a52dd1fb9dc1ee69cd107b5b6ee48003c8ef804e20f7eed975a6e63615b94648e37890 SHA512 15e404590fb3b21b01fac318df9cbf81f598dc0506d6d5738ff566a5eb1075e6d7a096a8ad1567e27982662aac0ce2a889a0039ce5736ff140fa617ae8b3cb08 DIST pubgrub-e981e4dfe315582e84e2fd724832fb0e0c50b7aa.gh.tar.gz 76914 BLAKE2B e7039f3b2fdc2a702f4824ff99acba9549e916c211290b79ec710060369b2c76e518c210c109103bf5ba50cbb373d0a4e3185df09935d7e47241ec25da259776 SHA512 94cfc88b6736ffd78bcbcc3f4cd9940d27c902bf2dfca38dddb470b8a6a0bb3a8e4a61dd1b2654e49327c9386c3ac2a7f090f9a6c2426b19ecf00d9f9716d400 DIST rs-async-zip-1dcb40cfe1bf5325a6fd4bfcf9894db40241f585.gh.tar.gz 96766 BLAKE2B f9efab73c65394e33e090a6292875ebf35e6669b15c356f102eb109784a4503606ae39106cd0ebe3d7d479cb0b30806d7baaaebf22d826836a24f7ed49100934 SHA512 3b845b05d97c5ab5cea286a7c11846838b40bb1fac98a51782600849a53231be8fa205094c6bdd00f6e193c807b10b28f947698696382be99cae0a8d681dabdc DIST rs-async-zip-d76801da0943de985254fc6255c0e476b57c5836.gh.tar.gz 95906 BLAKE2B a5a0e4d20926d637cbfa25cb486580de6682365c588a9653c873622424ec28ac8c7380d1c99ec260cd342b214aacd5124b51fc5e5646f15f76db4148aada2f41 SHA512 dd5b61bfc913a94822d74f1dac3b30f7a3979a641c3b08ccb5fa84cfbb2bfd8c0f807a30cc4ae0abfe5df7079011c20e1f8a642fd439ce6ba2c404ddee06baf5 DIST uv-0.1.24-crates.tar.xz 64420840 BLAKE2B 7324461092a07c86aadaddf051aaa7454ec08085940f34d07d8a8dc7171abcbf94409df5cd8afd71f1022adb2e76c0aeb1eabe9190598cad4d06e390ccd612f4 SHA512 6701a768a8a1d48ac43038e5161b578b684abed1c2055cc4b7fb5656ec40118287893ee2674b7161292ce7c3e4c062c32ff0038f1548c8f79f4df473d8d26f30 DIST uv-0.1.24.gh.tar.gz 899637 BLAKE2B fab26ba9934fc5f586505b5ac1fa386c11f07e51ca2bb2a79f46d5dec9475ba8d75ad8587223d5149df5f2a225146d020a49b7ff81ed26b949cff55892738c2d SHA512 520b47a096b50fce9e7b7af5bca203df9bf4c2d0aafbe28a3dcfe0592d8ddcaa7b58d52300c67454f6aeecfd196f1592be18e45c95b7c67257361917cdb0154d -DIST uv-0.1.31-crates.tar.xz 64759920 BLAKE2B 9404847d0a4bdaf77778fe7e75de4a6167c43a5f786357653f45f613984b2297f07a30dbd782d49ffd4f936276f2da61ecc543c6942c58ae2f3b6a5cb77212b0 SHA512 8c7440e52649b9a749d36ef5e7ed0a2be5df590d2cd6486559bc0ab289e87f5533927ddd82e86268b8cb86a41056557ec3acb3e4eface63439837243a2ab0b7a -DIST uv-0.1.31.gh.tar.gz 938923 BLAKE2B c6be91911b557260df546bd708e572d4ea6688e40a0c978a598070e71bb989b77fdace1e5507dcc829e9e21714962c8e76ee2ec5dc95ae10a1ccaa562e4c70e7 SHA512 687f622bc93a0b4c967d53ab068d3f5442f7a3566495f89da252d3beb41a17be3dcf410f260f7e68bb1f5595f633ea61da7a68423f190d879e809c25e9e297cb -DIST uv-0.1.32-crates.tar.xz 64975300 BLAKE2B cb07eb6ed0c65b538554cd2fdf455a25cddbefe07e3718f83820c1faf40795c0da6397a31e138c6f01dad9fb4e48dbe1a2fd4be76f1ab94f096e915d34ec1ac7 SHA512 83e208e54322d467cedd1463157d413ad8a5a6012a8d0219aa31b5213466fc4caef86a22e90bc0695811ab1f5e7428f3306a8845785f472e941a758242e775db -DIST uv-0.1.32.gh.tar.gz 976905 BLAKE2B c59f4a76a3a9335429ddfa1a6fc96a13ba68ad2950a5664762d6b48c3dc67c78ee075ff723fd049733bc3240924a5ede522ce973ab37b44784f54322f6c8039f SHA512 fefd8cac2630c1c061a54abf5ad7bfe34f93176dd5fa69fc8ba39e6cea6a786527cd7e22481449d987dbd567ee4f59b3ef2a13620de3049f7066aaddb1ee4593 +DIST uv-0.1.42-crates.tar.xz 65954692 BLAKE2B ae5b41ebee15530577623f7592ddc1c08c74c47f145ed5521ecea154558d3b5eff4c8f8af1d2d058719c59d87d00ae86d1bda8e3146349bc7a8f5344dfd40a01 SHA512 a5fd91054debc1d08b5270f3a39ae8fe5ca15bcc62e1c3412fb9566c40c3d8387ecbfd24d8b4f3db12199dfec7ddc175a638e7854efbb8c44cb1dbbe97d2b57c +DIST uv-0.1.42.gh.tar.gz 1077448 BLAKE2B 84c4e5f6e35ac9a50ff3b1ba7b9cdd415a8e4dc2c153aec4a116892b2c567f91ddb67cd32937c2ed867bbfef26c13b3b75c17bc7728334c8db1c58f550d4e735 SHA512 e0451614d8a7f016f382a2c9eaee03cb015fa8c552258bbaa7329e7802b1013878bc16134e0232262fa588bbc724857fb1818e61cb2b948c333aba295ee6c4b8 +DIST uv-0.1.43-crates.tar.xz 58012188 BLAKE2B dd8ebb52d8ec9b21149047e0e4dcbd531b743feeefc8c7e8a9289b52474043e1ece0af1ea3e010d5b0a1cdbf57ac89664bc853ff776e800550175948a26c5e08 SHA512 5d5b8d7665af0a0a1920541c8310c772cdb5657a6ba62b8566ab09f8a38cc8a86a75ce7fddb4ea37be0b2e4511b2aba25e984efe4ce7bb11ff50ca072eb00277 +DIST uv-0.1.43.gh.tar.gz 1093053 BLAKE2B 7988799e9c978bce618ab66fd162a5995663f0da0d4f77fe0d8fb50bb1b535b8696d7fd4eb837e6b03703089aea883d0689d0e28bcda951655ee62bf92cfffd0 SHA512 3fd66d106fc09fdb616944a18dfeec33d0ecca5d985915b4efb09d77ceb0e3bff92577433c67d27ce3fb78cbc24ff8651639b5aceb6d39a72422481150a5adf3 +DIST uv-0.1.44.gh.tar.gz 1093698 BLAKE2B 2b39053518188d95555507751facad1ea0fcd935f6382bf3fea974d4542f6fb0429ca25dd58546e8e1b69fd3bb573657dc62d2438777a7baa0c9317c21fa83cb SHA512 d9f0ecf7a0b30855c69b9a135d76c53e077dd427c39d1dec9fe499cfe9afb1f0c6a528f451d3bc0eab5b29a43df5795f876b1ce61fa28b8913b114834c915b3b diff --git a/dev-python/uv/files/tokio-tar-0.3.1-ppc.patch b/dev-python/uv/files/tokio-tar-0.3.1-ppc.patch new file mode 100644 index 000000000000..cb3c2f93cf57 --- /dev/null +++ b/dev-python/uv/files/tokio-tar-0.3.1-ppc.patch @@ -0,0 +1,35 @@ +diff --git a/src/archive.rs b/src/archive.rs +index 63f4293..986a146 100644 +--- a/src/archive.rs ++++ b/src/archive.rs +@@ -3,12 +3,13 @@ use std::{ + collections::VecDeque, + path::Path, + pin::Pin, +- sync::{ +- atomic::{AtomicU64, Ordering}, +- Arc, +- }, ++ sync::Arc, + task::{Context, Poll}, + }; ++use portable_atomic::{ ++ AtomicU64, ++ Ordering, ++}; + use tokio::{ + io::{self, AsyncRead as Read, AsyncReadExt}, + sync::Mutex, +diff -dup a/Cargo.toml b/Cargo.toml +--- a/Cargo.toml 2024-04-27 10:39:21.186708179 +0200 ++++ b/Cargo.toml 2024-04-27 10:39:37.940402613 +0200 +@@ -43,6 +43,9 @@ version = "0.2" + [dependencies.futures-core] + version = "0.3" + ++[dependencies.portable-atomic] ++version = "1" ++ + [dependencies.tokio] + version = "1" + features = [ diff --git a/dev-python/uv/files/uv-0.1.28-skip-tests.patch b/dev-python/uv/files/uv-0.1.28-skip-tests.patch deleted file mode 100644 index 037ac6addb99..000000000000 --- a/dev-python/uv/files/uv-0.1.28-skip-tests.patch +++ /dev/null @@ -1,144 +0,0 @@ -diff --git a/crates/uv/tests/pip_compile.rs b/crates/uv/tests/pip_compile.rs -index 281c8b7f..19df83c2 100644 ---- a/crates/uv/tests/pip_compile.rs -+++ b/crates/uv/tests/pip_compile.rs -@@ -5509,3 +5509,2 @@ fn expand_env_var_requirements_txt() -> Result<()> { - /// Raise an error when an editable's `Requires-Python` constraint is not met. --#[test] - fn requires_python_editable() -> Result<()> { -@@ -5763,3 +5762,2 @@ fn no_stream() -> Result<()> { - /// Raise an error when a direct URL dependency's `Requires-Python` constraint is not met. --#[test] - fn requires_python_direct_url() -> Result<()> { -diff --git a/crates/uv/tests/pip_install.rs b/crates/uv/tests/pip_install.rs -index ee987fb0..a73e2f25 100644 ---- a/crates/uv/tests/pip_install.rs -+++ b/crates/uv/tests/pip_install.rs -@@ -952,3 +952,2 @@ fn install_no_index_version() { - /// Ref: <https://github.com/astral-sh/uv/issues/1600> --#[test] - fn install_extra_index_url_has_priority() { -@@ -2362,3 +2361,2 @@ requires-python = ">=3.11,<3.13" - /// Raise an error when an editable's `Requires-Python` constraint is not met. --#[test] - fn requires_python_editable() -> Result<()> { -@@ -2811,3 +2809,2 @@ fn dry_run_install_then_upgrade() -> std::result::Result<(), Box<dyn std::error: - /// Raise an error when a direct URL's `Requires-Python` constraint is not met. --#[test] - fn requires_python_direct_url() -> Result<()> { -diff --git a/crates/uv/tests/pip_install_scenarios.rs b/crates/uv/tests/pip_install_scenarios.rs -index e9e85a94..353b3c62 100644 ---- a/crates/uv/tests/pip_install_scenarios.rs -+++ b/crates/uv/tests/pip_install_scenarios.rs -@@ -2246,3 +2246,2 @@ fn post_greater_than_or_equal_post() { - /// ``` --#[test] - fn post_less_than_or_equal() { -@@ -2285,3 +2284,2 @@ fn post_less_than_or_equal() { - /// ``` --#[test] - fn post_less_than() { -@@ -2322,3 +2320,2 @@ fn post_less_than() { - /// ``` --#[test] - fn post_local_greater_than() { -@@ -2363,3 +2360,2 @@ fn post_local_greater_than() { - /// ``` --#[test] - fn post_local_greater_than_post() { -@@ -2531,3 +2527,2 @@ fn post_greater_than_post_not_available() { - /// ``` --#[test] - fn package_only_prereleases() { -@@ -3654,3 +3649,2 @@ fn package_prereleases_specifier_boundary() { - /// ``` --#[test] - fn python_version_does_not_exist() { -@@ -3696,3 +3690,2 @@ fn python_version_does_not_exist() { - /// ``` --#[test] - fn python_less_than_current() { -@@ -3738,3 +3731,2 @@ fn python_less_than_current() { - /// ``` --#[test] - fn python_greater_than_current() { -@@ -3780,3 +3772,2 @@ fn python_greater_than_current() { - /// ``` --#[test] - fn python_greater_than_current_patch() { -@@ -3944,3 +3935,2 @@ fn python_greater_than_current_backtrack() { - /// ``` --#[test] - fn python_greater_than_current_excluded() { -diff --git a/crates/uv/tests/pip_list.rs b/crates/uv/tests/pip_list.rs -index 9b545ee2..5b202b9c 100644 ---- a/crates/uv/tests/pip_list.rs -+++ b/crates/uv/tests/pip_list.rs -@@ -101,3 +101,2 @@ fn list_single_no_editable() -> Result<()> { - --#[test] - fn list_editable() { -@@ -153,3 +152,2 @@ fn list_editable() { - --#[test] - fn list_editable_only() { -@@ -241,3 +239,2 @@ fn list_editable_only() { - --#[test] - fn list_exclude() { -diff --git a/crates/uv/tests/pip_sync.rs b/crates/uv/tests/pip_sync.rs -index 7964d2cc..e0a14a91 100644 ---- a/crates/uv/tests/pip_sync.rs -+++ b/crates/uv/tests/pip_sync.rs -@@ -1423,3 +1423,2 @@ fn install_git_source_dist_cached() -> Result<()> { - /// Check that we show the right messages on cached, registry source distribution installs. --#[test] - fn install_registry_source_dist_cached() -> Result<()> { -@@ -2920,3 +2919,2 @@ fn compile_invalid_pyc_invalidation_mode() -> Result<()> { - /// Raise an error when an editable's `Requires-Python` constraint is not met. --#[test] - fn requires_python_editable() -> Result<()> { -@@ -2988,3 +2986,2 @@ fn no_stream() -> Result<()> { - /// Raise an error when a direct URL dependency's `Requires-Python` constraint is not met. --#[test] - fn requires_python_direct_url() -> Result<()> { -diff --git a/crates/uv/tests/venv.rs b/crates/uv/tests/venv.rs -index 94e79ae7..f79ea4e6 100644 ---- a/crates/uv/tests/venv.rs -+++ b/crates/uv/tests/venv.rs -@@ -76,3 +76,2 @@ impl VenvTestContext { - --#[test] - fn create_venv() { -@@ -118,3 +117,2 @@ fn create_venv() { - --#[test] - fn create_venv_defaults_to_cwd() { -@@ -139,3 +137,2 @@ fn create_venv_defaults_to_cwd() { - --#[test] - fn seed() { -@@ -163,3 +160,2 @@ fn seed() { - --#[test] - fn seed_older_python_version() { -@@ -255,3 +251,2 @@ fn create_venv_unknown_python_patch() { - --#[test] - fn create_venv_python_patch() { -@@ -278,3 +273,2 @@ fn create_venv_python_patch() { - --#[test] - fn file_exists() -> Result<()> { -@@ -307,3 +301,2 @@ fn file_exists() -> Result<()> { - --#[test] - fn empty_dir_exists() -> Result<()> { -@@ -334,3 +327,2 @@ fn empty_dir_exists() -> Result<()> { - --#[test] - fn non_empty_dir_exists() -> Result<()> { -@@ -408,3 +400,2 @@ fn windows_shims() -> Result<()> { - --#[test] - fn virtualenv_compatibility() { diff --git a/dev-python/uv/files/uv-0.1.32-skip-tests.patch b/dev-python/uv/files/uv-0.1.32-skip-tests.patch deleted file mode 100644 index dd672fdd16cf..000000000000 --- a/dev-python/uv/files/uv-0.1.32-skip-tests.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/crates/uv/tests/pip_sync.rs b/crates/uv/tests/pip_sync.rs -index 7cecbba5..f7385dbf 100644 ---- a/crates/uv/tests/pip_sync.rs -+++ b/crates/uv/tests/pip_sync.rs -@@ -1396,7 +1396,6 @@ fn install_git_source_dist_cached() -> Result<()> { - } - - /// Check that we show the right messages on cached, registry source distribution installs. --#[test] - fn install_registry_source_dist_cached() -> Result<()> { - let context = TestContext::new("3.12"); - diff --git a/dev-python/uv/files/uv-0.1.43-test.patch b/dev-python/uv/files/uv-0.1.43-test.patch new file mode 100644 index 000000000000..868f2d33dc0f --- /dev/null +++ b/dev-python/uv/files/uv-0.1.43-test.patch @@ -0,0 +1,13 @@ +diff --git a/crates/uv/tests/pip_sync.rs b/crates/uv/tests/pip_sync.rs +index 86193b40..4069fd8e 100644 +--- a/crates/uv/tests/pip_sync.rs ++++ b/crates/uv/tests/pip_sync.rs +@@ -1455,7 +1455,7 @@ fn install_registry_source_dist_cached() -> Result<()> { + .collect() + } else { + // For some Linux distributions, like Gentoo, the number of files removed is different. +- [("Removed 614 files", "Removed 616 files")] ++ [("Removed 615 files", "Removed 617 files")] + .into_iter() + .chain(context.filters()) + .collect() diff --git a/dev-python/uv/uv-0.1.32.ebuild b/dev-python/uv/uv-0.1.42.ebuild index 7287532bc9ca..9f1c8df44f4a 100644 --- a/dev-python/uv/uv-0.1.32.ebuild +++ b/dev-python/uv/uv-0.1.42.ebuild @@ -8,11 +8,12 @@ CRATES=" declare -A GIT_CRATES=( [async_zip]='https://github.com/charliermarsh/rs-async-zip;1dcb40cfe1bf5325a6fd4bfcf9894db40241f585;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;c26e485213e39582c6f2e4d45c0328422670e7a7;pubgrub-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;0e684a874c9fb8f74738cd8875524c80e3d4820b;pubgrub-%commit%' ) inherit cargo check-reqs +CRATE_P=${P} DESCRIPTION="A Python package installer and resolver, written in Rust" HOMEPAGE=" https://github.com/astral-sh/uv/ @@ -25,7 +26,6 @@ SRC_URI=" ${CARGO_CRATE_URIS} " if [[ ${PKGBUMPING} != ${PVR} ]]; then - CRATE_P=${P} SRC_URI+=" https://dev.gentoo.org/~mgorny/dist/${CRATE_P}-crates.tar.xz " @@ -42,7 +42,7 @@ LICENSE+=" # ring crate LICENSE+=" openssl" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" IUSE="test" RESTRICT="test" PROPERTIES="test_network" @@ -81,13 +81,13 @@ pkg_setup() { } src_prepare() { - local PATCHES=( - # skip broken test - # https://github.com/astral-sh/uv/issues/3051 - "${FILESDIR}/uv-0.1.32-skip-tests.patch" - ) - default + + # https://github.com/vorot93/tokio-tar/pull/23 + # (fortunately uv already depends on portable-atomic, so we don't + # have to fight Cargo.lock) + cd "${WORKDIR}/cargo_home/gentoo/tokio-tar-0.3.1" || die + eapply "${FILESDIR}/tokio-tar-0.3.1-ppc.patch" } src_configure() { diff --git a/dev-python/uv/uv-0.1.31.ebuild b/dev-python/uv/uv-0.1.43.ebuild index 24a6f44759c7..fee93206742c 100644 --- a/dev-python/uv/uv-0.1.31.ebuild +++ b/dev-python/uv/uv-0.1.43.ebuild @@ -8,11 +8,12 @@ CRATES=" declare -A GIT_CRATES=( [async_zip]='https://github.com/charliermarsh/rs-async-zip;1dcb40cfe1bf5325a6fd4bfcf9894db40241f585;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;c26e485213e39582c6f2e4d45c0328422670e7a7;pubgrub-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;0e684a874c9fb8f74738cd8875524c80e3d4820b;pubgrub-%commit%' ) inherit cargo check-reqs +CRATE_P=${P} DESCRIPTION="A Python package installer and resolver, written in Rust" HOMEPAGE=" https://github.com/astral-sh/uv/ @@ -25,7 +26,6 @@ SRC_URI=" ${CARGO_CRATE_URIS} " if [[ ${PKGBUMPING} != ${PVR} ]]; then - CRATE_P=${P} SRC_URI+=" https://dev.gentoo.org/~mgorny/dist/${CRATE_P}-crates.tar.xz " @@ -42,7 +42,7 @@ LICENSE+=" # ring crate LICENSE+=" openssl" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" IUSE="test" RESTRICT="test" PROPERTIES="test_network" @@ -81,16 +81,30 @@ pkg_setup() { } src_prepare() { - local PATCHES=( - # skip broken tests: - # - requiring pinned CPython versions (3.8.12, 3.11.7, 3.12.1) - # - requiring specific terminal width (COLUMNS don't seem to work) - # - other (perhaps failing because of other skipped tests?) - "${FILESDIR}/uv-0.1.28-skip-tests.patch" + # https://github.com/astral-sh/uv/pull/3569 + eapply "${FILESDIR}/${P}-test.patch" + default + + # https://github.com/vorot93/tokio-tar/pull/23 + # (fortunately uv already depends on portable-atomic, so we don't + # have to fight Cargo.lock) + cd "${WORKDIR}/cargo_home/gentoo/tokio-tar-0.3.1" || die + eapply "${FILESDIR}/tokio-tar-0.3.1-ppc.patch" +} + +src_configure() { + local myfeatures=( + # from upstream defaults + flate2/zlib-ng + python + pypi + git + maturin + # skip tests that require specific patch version of the interpreter: + # python-patch ) - rm crates/uv/tests/pip_compile_scenarios.rs || die - default + cargo_src_configure --no-default-features } src_compile() { diff --git a/dev-python/uv/uv-0.1.44.ebuild b/dev-python/uv/uv-0.1.44.ebuild new file mode 100644 index 000000000000..0bc3cbb02e02 --- /dev/null +++ b/dev-python/uv/uv-0.1.44.ebuild @@ -0,0 +1,123 @@ +# Copyright 2024 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;1dcb40cfe1bf5325a6fd4bfcf9894db40241f585;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;0e684a874c9fb8f74738cd8875524c80e3d4820b;pubgrub-%commit%' +) + +inherit cargo check-reqs + +CRATE_P=${PN}-0.1.43 +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/${CRATE_P}-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-DFS-2016 +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + dev-libs/libgit2:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + >=virtual/rust-1.77 + 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 + ) +" + +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 +} + +src_prepare() { + # https://github.com/astral-sh/uv/pull/3569 + eapply "${FILESDIR}/${PN}-0.1.43-test.patch" + default + + # https://github.com/vorot93/tokio-tar/pull/23 + # (fortunately uv already depends on portable-atomic, so we don't + # have to fight Cargo.lock) + cd "${WORKDIR}/cargo_home/gentoo/tokio-tar-0.3.1" || die + eapply "${FILESDIR}/tokio-tar-0.3.1-ppc.patch" +} + +src_configure() { + local myfeatures=( + # from upstream defaults + flate2/zlib-ng + python + pypi + git + maturin + # skip tests that require specific patch version of the interpreter: + # python-patch + ) + + cargo_src_configure --no-default-features +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install +} diff --git a/dev-python/uvicorn/uvicorn-0.29.0.ebuild b/dev-python/uvicorn/uvicorn-0.29.0.ebuild index d0e9d96c1377..6ca97c2d20bf 100644 --- a/dev-python/uvicorn/uvicorn-0.29.0.ebuild +++ b/dev-python/uvicorn/uvicorn-0.29.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 optfeature diff --git a/dev-python/validators/Manifest b/dev-python/validators/Manifest index 8ab0f7c51693..cff784edcb3a 100644 --- a/dev-python/validators/Manifest +++ b/dev-python/validators/Manifest @@ -1,3 +1 @@ -DIST validators-0.24.0.tar.gz 50038 BLAKE2B fcf0ff579649a8c877cc3afcae3443b92f7b98b216eb48a6a234e32d6e6ae849720fa1969156783ae5a414400341573a5851bed9a7a02d048c0d77a831a7e99d SHA512 40fbb479a8eb1d30a9b0b23aa88b51e4c889c749c7327659d308402db159cfffd85ce34b567f456227ad094c9e1085f80279cf79845cfd5cf43bbabd8aac9ef9 -DIST validators-0.26.0.tar.gz 53123 BLAKE2B df64dc646ccf61a141db92f0acd3f78503e51a63550468f569041b2539b203328ba65fa8c389c71bba3584f7f57c8202ebe31d0e44119d9466f8cb5026fc935c SHA512 4d4626b310022a6f490aed74b9045c039536a1379d5d70fb434e7434533aa938634d5a1e694236825c3d61121ff43af164391c7b972568b8f5213b2120d8caf9 -DIST validators-0.28.0.tar.gz 66011 BLAKE2B 67c43e965511e9343a65e8367b08a2a9d5e3119e432723766ef9e4cee3a931db0b1e48944a0ace382d7ef435616c7ad101d76d85426fe59e38da55601c67fe92 SHA512 c1805fd4528c58a81f16aabb6571672616cfbb4a4a074dac8048c0c475b4827550183792084cae0f5d7393c2d7dc440a2f7f2435043a75867b81f06a32573f99 +DIST validators-0.28.1.tar.gz 66294 BLAKE2B c52bb565243b74b7be5442c7d20140fafd47d6240b735b1d0ebb3ed53ad7827d853a1e3cdcba3d09ecd0343c38e62c0549e87b648abd8f596141cffae6e67233 SHA512 69f6dacda7aa326bad42296a7deba3e95545e657f40a687e3995a61b3f75e2597232467267325c638c05df88518b02021a20262a1e223f600268112facd30fac diff --git a/dev-python/validators/validators-0.26.0.ebuild b/dev-python/validators/validators-0.26.0.ebuild deleted file mode 100644 index 20c7aef22fdc..000000000000 --- a/dev-python/validators/validators-0.26.0.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python Data Validation for Humans" -HOMEPAGE=" - https://github.com/python-validators/validators/ - https://pypi.org/project/validators/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -distutils_enable_tests pytest diff --git a/dev-python/validators/validators-0.28.0.ebuild b/dev-python/validators/validators-0.28.0.ebuild deleted file mode 100644 index 20c7aef22fdc..000000000000 --- a/dev-python/validators/validators-0.28.0.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python Data Validation for Humans" -HOMEPAGE=" - https://github.com/python-validators/validators/ - https://pypi.org/project/validators/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -distutils_enable_tests pytest diff --git a/dev-python/validators/validators-0.24.0.ebuild b/dev-python/validators/validators-0.28.1.ebuild index 1189da209562..1189da209562 100644 --- a/dev-python/validators/validators-0.24.0.ebuild +++ b/dev-python/validators/validators-0.28.1.ebuild diff --git a/dev-python/versioningit/Manifest b/dev-python/versioningit/Manifest index 65a88a6d7cc8..31f48286f517 100644 --- a/dev-python/versioningit/Manifest +++ b/dev-python/versioningit/Manifest @@ -1 +1 @@ -DIST versioningit-3.1.0.tar.gz 215117 BLAKE2B d0fc7056cc59088ed0091bc20af540b39238ca33bc049ffb87978e48a605cbee69a2daf574ff9b3791b3d55b708adeaca877f1914b8d4d2106f76cfa33dea608 SHA512 d30ec0b2831ab3e77e51b3e41b542ef2e73838dd78a2b1bebb64db4f7fdb4c988299f7b9605c9ff884c130fe97b2491e1bb27866450346023b68dd1a2204e04d +DIST versioningit-3.1.1.tar.gz 212882 BLAKE2B 786af766a5e85ea426dee02d1ae888b0a50712f9d154690302b3fdb1f4aa037a931612ad3f1f169a3d8f3481db09da895cf3ba7dcbc7d2f256b3b8622334e08e SHA512 f8e23834324f785b93668f4cb55d57885cf96e9ca16f1d6a06c3610dd00a79c018960fe52aff5fe4cc735b5fcec27be1ceb151a88e0e9a447cba750dd6956816 diff --git a/dev-python/versioningit/versioningit-3.1.0.ebuild b/dev-python/versioningit/versioningit-3.1.1.ebuild index 8a5007a59b51..8a5007a59b51 100644 --- a/dev-python/versioningit/versioningit-3.1.0.ebuild +++ b/dev-python/versioningit/versioningit-3.1.1.ebuild diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index ac8d2556a3fe..da24ff77c4ef 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -1,2 +1,3 @@ -DIST virtualenv-20.25.1.tar.gz 7152341 BLAKE2B 7d3ecaca89cb4106f97fb5565331b257017d756742f9c90972a01a86296e81d509d2f4a7869d3bc7a299c1c2f01cc08999eddc258f1bd46acf88999d0732794e SHA512 c0791de2aed7893658316199696906b1aed650460f3b53e0dbd13e695d16bc14d8974cd72fc8dcc010ff7ba10036121929ce9a608f97d7d2cd9f972144a3a1f0 -DIST virtualenv-20.25.2.tar.gz 7289618 BLAKE2B 9217dadaa00521b5109a7efdaadd99663898931aee57d34e1fae0484cf997cb06d7a6f87bd971802fae9539435eae69c4f3f4f6a5e0771d08926fd8151ec0810 SHA512 080fe3b02d08f9c55a2eea7b68022de935e0887826d52511c768ef4fb72b0278d99413f5f08288fd22c5925d362588af0afbbf7f2c51dcc47c8bce1485d6ae19 +DIST virtualenv-20.25.3.tar.gz 7289627 BLAKE2B 9edd92a238af78d4178f7c7b553f4b86206815fad3cd5f257b9fe35552835ab916849a07e06248f880335dc9a356364154ea689c08d64274eab4df36a81c05db SHA512 3933ed6dfa393a2f6cb6f996d8830f60204d5bf8953d61726afc5cc9b079bd1723c3e9044e33d3a584725ba80b93d9ac5a5d11c7304d0234303ce49c33ca1a9e +DIST virtualenv-20.26.1.tar.gz 7290258 BLAKE2B acad9457ad56c7565091cc5a540e41039d87aa8d0b61687d8504b9452a560a32915585be39e5d17cf6d96644206ebd650f620f0a8e51a70cbd214c50bdb36575 SHA512 062621a7d6ec42db8b93d3cefef1f13e49bc46bec2528d02190c3a47944cd89e088bd3fa44f5d926959c5574559c0900afe54495cfbc8f3e4c19e8997a69285e +DIST virtualenv-20.26.2.tar.gz 7290363 BLAKE2B 7b9ee7bd49d8fbb90de2716ea928b228b71ce3e344e9eeb2666974db41c389c9c0e14db66a77bf31cd7fe68c6f24a09686f2c0d40b9d1a0ef6974f50c8cd3d37 SHA512 49b78bb2b339a41637faa887728f195b042133506092e0793adf049b5b1523fab89222809449323a1eb771fa40d2f55df6dd97c16d765d7a78dc9299185fb864 diff --git a/dev-python/virtualenv/virtualenv-20.25.1.ebuild b/dev-python/virtualenv/virtualenv-20.25.3.ebuild index fbc59a9f90fb..2a0d236c54b4 100644 --- a/dev-python/virtualenv/virtualenv-20.25.1.ebuild +++ b/dev-python/virtualenv/virtualenv-20.25.3.ebuild @@ -46,6 +46,7 @@ BDEPEND=" ) " +EPYTEST_TIMEOUT=180 distutils_enable_tests pytest src_prepare() { diff --git a/dev-python/virtualenv/virtualenv-20.25.2.ebuild b/dev-python/virtualenv/virtualenv-20.26.1.ebuild index bc9af3191c74..8d12883f0789 100644 --- a/dev-python/virtualenv/virtualenv-20.25.2.ebuild +++ b/dev-python/virtualenv/virtualenv-20.26.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 multiprocessing pypi @@ -46,6 +46,7 @@ BDEPEND=" ) " +EPYTEST_TIMEOUT=180 distutils_enable_tests pytest src_prepare() { @@ -97,7 +98,7 @@ python_test() { 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3--bin-]' ) ;; - python3.12) + python3.1[23]) EPYTEST_DESELECT+=( tests/unit/create/via_global_ref/test_build_c_ext.py ) diff --git a/dev-python/virtualenv/virtualenv-20.26.2.ebuild b/dev-python/virtualenv/virtualenv-20.26.2.ebuild new file mode 100644 index 000000000000..8d12883f0789 --- /dev/null +++ b/dev-python/virtualenv/virtualenv-20.26.2.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="Virtual Python Environment builder" +HOMEPAGE=" + https://virtualenv.pypa.io/en/stable/ + https://pypi.org/project/virtualenv/ + https://github.com/pypa/virtualenv/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/distlib-0.3.7[${PYTHON_USEDEP}] + >=dev-python/filelock-3.12.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] +" +# coverage is used somehow magically in virtualenv, maybe it actually +# tests something useful +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}] + ' pypy3) + >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python3*') + dev-python/wheel[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_TIMEOUT=180 +distutils_enable_tests pytest + +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 + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + tests/unit/activation/test_xonsh.py + tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data + tests/unit/create/test_creator.py::test_cross_major + # tests failing without python2 installed + "tests/unit/create/test_creator.py::test_py_pyc_missing[True-False]" + "tests/unit/create/test_creator.py::test_py_pyc_missing[False-False]" + ) + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + 'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-isolated]' + 'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-global]' + 'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-isolated]' + 'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-global]' + 'tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-isolated]' + 'tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-global]' + 'tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-isolated]' + 'tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-global]' + 'tests/unit/create/test_creator.py::test_zip_importer_can_import_setuptools' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3--bin-]' + ) + ;; + python3.1[23]) + EPYTEST_DESELECT+=( + tests/unit/create/via_global_ref/test_build_c_ext.py + ) + ;& + python3.11) + EPYTEST_DESELECT+=( + # TODO + tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x TZ=UTC + local plugins=( -p flaky -p pytest_mock ) + if [[ ${EPYTHON} == pypy3 ]]; then + plugins+=( -p freezegun ) + else + plugins+=( -p time_machine ) + fi + epytest "${plugins[@]}" -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} diff --git a/dev-python/watchdog/watchdog-4.0.0.ebuild b/dev-python/watchdog/watchdog-4.0.0.ebuild index 8a741c3be6ce..94ec88e85bc9 100644 --- a/dev-python/watchdog/watchdog-4.0.0.ebuild +++ b/dev-python/watchdog/watchdog-4.0.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 optfeature pypi diff --git a/dev-python/watchfiles/watchfiles-0.21.0-r1.ebuild b/dev-python/watchfiles/watchfiles-0.21.0-r1.ebuild index be9a6d699ce6..1664fa0c1156 100644 --- a/dev-python/watchfiles/watchfiles-0.21.0-r1.ebuild +++ b/dev-python/watchfiles/watchfiles-0.21.0-r1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) CRATES=" autocfg@1.1.0 diff --git a/dev-python/wcag-contrast-ratio/wcag-contrast-ratio-0.9-r1.ebuild b/dev-python/wcag-contrast-ratio/wcag-contrast-ratio-0.9-r1.ebuild index cad974f62ad9..a305a69b6a53 100644 --- a/dev-python/wcag-contrast-ratio/wcag-contrast-ratio-0.9-r1.ebuild +++ b/dev-python/wcag-contrast-ratio/wcag-contrast-ratio-0.9-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/wcmatch/Manifest b/dev-python/wcmatch/Manifest index 9e1a9ccab3ab..69523c887f81 100644 --- a/dev-python/wcmatch/Manifest +++ b/dev-python/wcmatch/Manifest @@ -1 +1,2 @@ DIST wcmatch-8.5.1.gh.tar.gz 117483 BLAKE2B db4d77651ab4fc6692c746d94dda68dc0fcdfe72a6e3b512b4f60a1bd5bf7015e21349d022c6ec17ea2bbc55ae87cf6c9a3690d9b6774f02a167b4b0ad65b691 SHA512 10ab7d76ad7c71efb2639e2d439593a45339f485f1f628770ae845c291c34d0e3fc8a9b75b6ce6d3c131c1f0a521f3aafcadc7d24ffad5284e9db06dc5838974 +DIST wcmatch-8.5.2.gh.tar.gz 117532 BLAKE2B f01ce989d1580da6575535a3c025aa50defe779ca723359dab379dda1c4c98d812343773d0130c56f8ebf74dae4472caa188b4b7b323f2df09686ebba297fa9a SHA512 1a79940bc54996f587dda6aacefee212adb4d527be68cc7b762e7e16c0796ebd833bdeb5abe6f48fa3d6d82f720ade054633ce28ee506b17c4d89cccffaa8e70 diff --git a/dev-python/wcmatch/wcmatch-8.5.2.ebuild b/dev-python/wcmatch/wcmatch-8.5.2.ebuild new file mode 100644 index 000000000000..67f86264c16d --- /dev/null +++ b/dev-python/wcmatch/wcmatch-8.5.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=hatchling + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + >=dev-python/mkdocs-pymdownx-material-extras-2.0 + dev-python/mkdocs-material + dev-python/mkdocs-git-revision-date-localized-plugin + dev-python/mkdocs-minify-plugin + dev-python/pyspelling +" + +inherit distutils-r1 docs + +DESCRIPTION="Wildcard/glob file name matcher" +HOMEPAGE=" + https://github.com/facelessuser/wcmatch/ + https://pypi.org/project/wcmatch/ +" +SRC_URI=" + https://github.com/facelessuser/wcmatch/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/bracex-2.1.1[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # tests require some files in homedir + > "${HOME}"/test1.txt || die + > "${HOME}"/test2.txt || die + + # mkdocs-git-revision-date-localized-plugin needs git repo + if use doc; then + git init || die + git config --global user.email "larry@gentoo.org" || die + git config --global user.name "Larry the Cow" || die + git add . || die + git commit -m 'init' || die + fi + + distutils-r1_python_prepare_all +} diff --git a/dev-python/weasyprint/Manifest b/dev-python/weasyprint/Manifest index 0f589282331a..b3ad2af8d6dd 100644 --- a/dev-python/weasyprint/Manifest +++ b/dev-python/weasyprint/Manifest @@ -1 +1,3 @@ DIST weasyprint-61.2.tar.gz 447333 BLAKE2B 753f80ee0756e75b46023d29b8409599de9ff9f7f338a7800cf917a012f61c6a50857af813e4cbfe1ddfa913f95befc43719688468449d6f1b8d8df3714a7895 SHA512 62c3afba18bcc141bc013b95848b0e2426160123533509b6e353caa6c33173266524be84b0a50443ac2549b1b8013e5eb915f54a68168d65e98c9251c4fdf339 +DIST weasyprint-62.0.tar.gz 475383 BLAKE2B 3c390c06366f280eb0f1a949cde2e073dbe5155db78b16d5c557c2c7a4a7ee22c5e22cc36ad000171471a7d027e2508df9363c99b6c9fb151eb3367e8c7b686f SHA512 83b5c9a20a9a8e8fdeb1f54182da2b821ad84510a71b1a66c33f31376c7b54e79c565d2de1b16051688fab505ce726430fc69b9358ea29b38d158f776744a738 +DIST weasyprint-62.1.tar.gz 475687 BLAKE2B 80e5f24c2a52f60baada23239427cc80f34d9885d7decca172dcb420bcb76cdc49a4d15e21d4328e86bf9c7f9228f9a01da1244eba21f35a90f80a8e358b74bc SHA512 8eaee6daa610accd7594141102aecaf1b5debecbae196c442c32d522d4dcb54c411a215b77956b6e66deeb0abda66cb36d0e081d5d3fd69a8bf5a82716209aeb diff --git a/dev-python/weasyprint/weasyprint-62.0.ebuild b/dev-python/weasyprint/weasyprint-62.0.ebuild new file mode 100644 index 000000000000..ede5b4b196eb --- /dev/null +++ b/dev-python/weasyprint/weasyprint-62.0.ebuild @@ -0,0 +1,47 @@ +# 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..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF" +HOMEPAGE=" + https://weasyprint.org/ + https://github.com/Kozea/WeasyPrint/ + https://pypi.org/project/weasyprint/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] + >=dev-python/cssselect2-0.1[${PYTHON_USEDEP}] + >=dev-python/fonttools-4.0.0[${PYTHON_USEDEP}] + >=dev-python/html5lib-1.1[${PYTHON_USEDEP}] + >=dev-python/pillow-4.0.0[jpeg,jpeg2k,${PYTHON_USEDEP}] + >=dev-python/pydyf-0.10.0[${PYTHON_USEDEP}] + >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] + >=dev-python/tinycss2-1.3.0[${PYTHON_USEDEP}] + media-fonts/dejavu + x11-libs/pango +" + +BDEPEND=" + test? ( + >=app-text/ghostscript-gpl-9.56.1-r3 + media-fonts/ahem + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/weasyprint/weasyprint-62.1.ebuild b/dev-python/weasyprint/weasyprint-62.1.ebuild new file mode 100644 index 000000000000..ede5b4b196eb --- /dev/null +++ b/dev-python/weasyprint/weasyprint-62.1.ebuild @@ -0,0 +1,47 @@ +# 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..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF" +HOMEPAGE=" + https://weasyprint.org/ + https://github.com/Kozea/WeasyPrint/ + https://pypi.org/project/weasyprint/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] + >=dev-python/cssselect2-0.1[${PYTHON_USEDEP}] + >=dev-python/fonttools-4.0.0[${PYTHON_USEDEP}] + >=dev-python/html5lib-1.1[${PYTHON_USEDEP}] + >=dev-python/pillow-4.0.0[jpeg,jpeg2k,${PYTHON_USEDEP}] + >=dev-python/pydyf-0.10.0[${PYTHON_USEDEP}] + >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] + >=dev-python/tinycss2-1.3.0[${PYTHON_USEDEP}] + media-fonts/dejavu + x11-libs/pango +" + +BDEPEND=" + test? ( + >=app-text/ghostscript-gpl-9.56.1-r3 + media-fonts/ahem + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/webcolors/webcolors-1.13.ebuild b/dev-python/webcolors/webcolors-1.13.ebuild index 91aca93b3c1d..32afb009b75e 100644 --- a/dev-python/webcolors/webcolors-1.13.ebuild +++ b/dev-python/webcolors/webcolors-1.13.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -14,8 +14,8 @@ HOMEPAGE=" https://pypi.org/project/webcolors/ " -SLOT="0" LICENSE="BSD" +SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" distutils_enable_tests unittest diff --git a/dev-python/webencodings/webencodings-0.5.1-r2.ebuild b/dev-python/webencodings/webencodings-0.5.1-r2.ebuild index 4f1fd148ae77..9e8153aaa871 100644 --- a/dev-python/webencodings/webencodings-0.5.1-r2.ebuild +++ b/dev-python/webencodings/webencodings-0.5.1-r2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -20,10 +20,7 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv distutils_enable_tests pytest -python_prepare_all() { - cat >> setup.cfg <<- EOF || die - [tool:pytest] - python_files=test*.py - EOF - distutils-r1_python_prepare_all +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o 'python_files=test*.py' } diff --git a/dev-python/websocket-client/Manifest b/dev-python/websocket-client/Manifest index f56eca8485e1..1fa86dbd3fdb 100644 --- a/dev-python/websocket-client/Manifest +++ b/dev-python/websocket-client/Manifest @@ -1 +1 @@ -DIST websocket-client-1.7.0.tar.gz 54037 BLAKE2B 6a37b17c0a428dfacfd441384469954bc30f5ca5cf8380c08b45337ebdd69999cbd14eb0f0cde3c33d2f5c2698dac9a34eb51430bb810ab6edf8130415e98a4b SHA512 1f6b3253f7febd053e1271bcacd71701ec27d6921ba9791b16a203c8b7240925284e033dba4ad5d4c56a88568dc57ecb760c254964bc3bb4e87df52573239a9a +DIST websocket_client-1.8.0.tar.gz 54648 BLAKE2B 8fb21148f7d5dfc9e16704560dbcd64c96f4d28ed8382dc0b3427c3b472bb2e1b386d9026ce4c1b91b50d8e7828f8d4ca34e1537797b20f63150d86337db97c6 SHA512 d41dbd4695adcad14142db048b291eed9367153101853e3e17ee8448aa4be9d20bd91b62707291e2b093ce969d51aeef16ceae7330734b5a1556023d773c5a85 diff --git a/dev-python/websocket-client/websocket-client-1.7.0.ebuild b/dev-python/websocket-client/websocket-client-1.8.0.ebuild index 596f7a2a7b64..979d7e8af8fc 100644 --- a/dev-python/websocket-client/websocket-client-1.7.0.ebuild +++ b/dev-python/websocket-client/websocket-client-1.8.0.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi diff --git a/dev-python/websockets/websockets-12.0.ebuild b/dev-python/websockets/websockets-12.0.ebuild index 3d805c69fd53..4612d969888b 100644 --- a/dev-python/websockets/websockets-12.0.ebuild +++ b/dev-python/websockets/websockets-12.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-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=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/werkzeug/Manifest b/dev-python/werkzeug/Manifest index d8fca639110d..8923d4d563d0 100644 --- a/dev-python/werkzeug/Manifest +++ b/dev-python/werkzeug/Manifest @@ -1,2 +1,2 @@ -DIST werkzeug-3.0.1.gh.tar.gz 817317 BLAKE2B 670460cf48c8d06196cd34f117758508512d310b740bd188d8ba87779abd62f514c9909e5700b34c37e382925eabe3ffd722b753b76b498aff0dc8ebe1025c8b SHA512 125a5c7680cba726149198802efa90d06c6586daeafcd0960feda637b765356f602df83af7b14996994303c52d32bc6fa044b774f42f0b8991008d1396675033 DIST werkzeug-3.0.2.gh.tar.gz 817516 BLAKE2B 0c3324b6793f2fad77f62fbd0e3b847a73d6348d4a069dd83c852475d9cfa88feb3ab3ff1c4d547622b732de5fc3ba781d776d30f11ec1fae93cafdcfd9077eb SHA512 fdf44d2af517af69632909ae6fd5af327f34778c8f2dc7e606380123941102cc09d593a2036e843036e5abe998d2b2722f97b959eaeffc8de2b71a5b372a1e3e +DIST werkzeug-3.0.3.tar.gz 803342 BLAKE2B 8c47d3131abeb8ce2d92291e08b603152210c44c40156b5399d24b167d0a02daf6adbeafec43e8b33dff940271feec95e9333e637e825f511cd5d03686c1e02e SHA512 fc771c161b37a376a86930c29c8b8052f81fb869cedea8c3c83af1e8b1aba271358c918e3067f3b0ac6d4a1689c8c355bff410d521c73a1909fd0ffc90fee6c6 diff --git a/dev-python/werkzeug/metadata.xml b/dev-python/werkzeug/metadata.xml index 9a08f8f43ebf..5e4993aad75d 100644 --- a/dev-python/werkzeug/metadata.xml +++ b/dev-python/werkzeug/metadata.xml @@ -5,6 +5,7 @@ <email>python@gentoo.org</email> <name>Python</name> </maintainer> + <stabilize-allarches/> <upstream> <remote-id type="pypi">Werkzeug</remote-id> <remote-id type="github">pallets/werkzeug</remote-id> diff --git a/dev-python/werkzeug/werkzeug-3.0.1.ebuild b/dev-python/werkzeug/werkzeug-3.0.1.ebuild deleted file mode 100644 index 97ac07ce6e41..000000000000 --- a/dev-python/werkzeug/werkzeug-3.0.1.ebuild +++ /dev/null @@ -1,69 +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..12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Collection of various utilities for WSGI applications" -HOMEPAGE=" - https://palletsprojects.com/p/werkzeug/ - https://pypi.org/project/Werkzeug/ - https://github.com/pallets/werkzeug/ -" -SRC_URI=" - https://github.com/pallets/werkzeug/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="test-rust" - -RDEPEND=" - >=dev-python/markupsafe-2.1.1[${PYTHON_USEDEP}] -" -# NOTE: remove the loong mask after greenlet gains support for loong -# see https://github.com/python-greenlet/greenlet/pull/257 -BDEPEND=" - test? ( - dev-python/ephemeral-port-reserve[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-xprocess[${PYTHON_USEDEP}] - >=dev-python/watchdog-2.3[${PYTHON_USEDEP}] - test-rust? ( - dev-python/cryptography[${PYTHON_USEDEP}] - ) - !hppa? ( !ia64? ( !loong? ( - $(python_gen_cond_dep ' - dev-python/greenlet[${PYTHON_USEDEP}] - ' python3_{10..11}) - ) ) ) - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # RequestRedirect class started incidentally being tested - # with pytest-8, though the test isn't prepared for that - # https://github.com/pallets/werkzeug/issues/2845 - 'tests/test_exceptions.py::test_response_body[RequestRedirect]' - ) - if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - "tests/test_serving.py::test_server[https]" - tests/test_serving.py::test_ssl_dev_cert - tests/test_serving.py::test_ssl_object - ) - fi - - # the default portage tempdir is too long for AF_UNIX sockets - local -x TMPDIR=/tmp - epytest -p no:django -p no:httpbin tests -} diff --git a/dev-python/werkzeug/werkzeug-3.0.2-r1.ebuild b/dev-python/werkzeug/werkzeug-3.0.2-r1.ebuild index 67830a3b7586..0be599e6c272 100644 --- a/dev-python/werkzeug/werkzeug-3.0.2-r1.ebuild +++ b/dev-python/werkzeug/werkzeug-3.0.2-r1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test-rust" RDEPEND=" diff --git a/dev-python/werkzeug/werkzeug-3.0.2.ebuild b/dev-python/werkzeug/werkzeug-3.0.3.ebuild index 9278ee288270..f662d9e804d9 100644 --- a/dev-python/werkzeug/werkzeug-3.0.2.ebuild +++ b/dev-python/werkzeug/werkzeug-3.0.3.ebuild @@ -4,9 +4,9 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Collection of various utilities for WSGI applications" HOMEPAGE=" @@ -14,10 +14,6 @@ HOMEPAGE=" https://pypi.org/project/Werkzeug/ https://github.com/pallets/werkzeug/ " -SRC_URI=" - https://github.com/pallets/werkzeug/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" LICENSE="BSD" SLOT="0" @@ -29,12 +25,11 @@ RDEPEND=" " # NOTE: remove the loong mask after greenlet gains support for loong # see https://github.com/python-greenlet/greenlet/pull/257 -# xprocess: https://github.com/pallets/werkzeug/issues/2875 BDEPEND=" test? ( dev-python/ephemeral-port-reserve[${PYTHON_USEDEP}] dev-python/pytest-timeout[${PYTHON_USEDEP}] - <dev-python/pytest-xprocess-1[${PYTHON_USEDEP}] + >=dev-python/pytest-xprocess-1[${PYTHON_USEDEP}] >=dev-python/watchdog-2.3[${PYTHON_USEDEP}] test-rust? ( dev-python/cryptography[${PYTHON_USEDEP}] @@ -49,6 +44,11 @@ BDEPEND=" distutils_enable_tests pytest +PATCHES=( + # https://github.com/pallets/werkzeug/issues/2875 + "${FILESDIR}/${PN}-3.0.2-pytest-xprocess-1.patch" +) + python_test() { local EPYTEST_DESELECT=( # RequestRedirect class started incidentally being tested @@ -66,5 +66,6 @@ python_test() { # the default portage tempdir is too long for AF_UNIX sockets local -x TMPDIR=/tmp - epytest -p no:django -p no:httpbin tests + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p xprocess -p timeout tests } diff --git a/dev-python/wheel/wheel-0.43.0.ebuild b/dev-python/wheel/wheel-0.43.0.ebuild index a493ef96d0a1..a8b3a7d1ade4 100644 --- a/dev-python/wheel/wheel-0.43.0.ebuild +++ b/dev-python/wheel/wheel-0.43.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/wsaccel/wsaccel-0.6.6.ebuild b/dev-python/wsaccel/wsaccel-0.6.6.ebuild index 694c175f7b2e..c165c8ccd122 100644 --- a/dev-python/wsaccel/wsaccel-0.6.6.ebuild +++ b/dev-python/wsaccel/wsaccel-0.6.6.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-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} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 @@ -19,8 +19,8 @@ SRC_URI=" -> ${P}.gh.tar.gz " -SLOT="0" LICENSE="Apache-2.0" +SLOT="0" KEYWORDS="amd64 arm arm64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" BDEPEND=" diff --git a/dev-python/wsproto/wsproto-1.2.0.ebuild b/dev-python/wsproto/wsproto-1.2.0.ebuild index 90d124abc9e5..69cf0eb8d607 100644 --- a/dev-python/wsproto/wsproto-1.2.0.ebuild +++ b/dev-python/wsproto/wsproto-1.2.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/wurlitzer/Manifest b/dev-python/wurlitzer/Manifest index 6a2f5f7a9cb4..5d1cdeec7d10 100644 --- a/dev-python/wurlitzer/Manifest +++ b/dev-python/wurlitzer/Manifest @@ -1 +1 @@ -DIST wurlitzer-3.0.3.tar.gz 10171 BLAKE2B bf0ab15aaf0b693df64e0e9db38309ad1dad117aa97c1f380021ca81153eaf08ef742a97cf7451e72cc3473a2824fe142d8d8cd7ea1b28a367ed5761527c8d6a SHA512 6914ca77af8540bd949b74dfffe58b6ff9de603474e42e973b712f91a11dc906d7753f769932d26106c0543e98f42929741ed4de9ae14601eeadbd0dc5bfca35 +DIST wurlitzer-3.1.0.tar.gz 11571 BLAKE2B 2b7be0f34d1f7b5e15cce51ad749d31e3cd28b9693812aba2c9bcd2b38efc4cf2302abfabf74d11c9929a4951194fc284d05de8c068414626604497e98eb859f SHA512 c285f4169191bca9fb3e4fca884c35d630bbe0b9b9db0952a96888e97f2d27cd82d9defba7fbd2efba14ee2214235743eca1d9e8e79074b8bed2f1af066c0412 diff --git a/dev-python/wurlitzer/wurlitzer-3.0.3.ebuild b/dev-python/wurlitzer/wurlitzer-3.1.0.ebuild index 027355d2cecc..b7a3878b9be6 100644 --- a/dev-python/wurlitzer/wurlitzer-3.0.3.ebuild +++ b/dev-python/wurlitzer/wurlitzer-3.1.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/xarray/Manifest b/dev-python/xarray/Manifest index 47147154332b..ae5a3981cb32 100644 --- a/dev-python/xarray/Manifest +++ b/dev-python/xarray/Manifest @@ -1,3 +1,4 @@ +DIST xarray-2024.03.0.gh.tar.gz 3722922 BLAKE2B 52025d8ba196500ac989fc8ff85ae7578cae3602ede77b663350acf0e132d2d9358f3170c697aa2f158c2f3f3520607c23f9060356fec0942ebddb9ca3e039da SHA512 5d62c102a3fdf6dfc16182d3822386dc9edb75204dff9a9b8e3aa7bbe5b223c477f2a73f0a0e35de3454d9e738da6205da0c308bc778f8ffc9af80c20a49d6af DIST xarray-2024.1.1.tar.gz 3614037 BLAKE2B cc50fbfa19a2c9229b85b8c7d5d0e7e7f6d3e5a484955fcc81aa0b37839a0b992d2c2f928e4097ca05c7b8294ed1061fbd0c1b7e7c65c9087a940dab97c520ce SHA512 b6447ca2c80b3a3091ac2baba648fef4faa79ffff272360e9726b318b517ede9d2717d1b6f77f03fdacf55527233f1a37c0d114901fe1a265d3e435cf293a487 DIST xarray-2024.2.0.tar.gz 3634288 BLAKE2B 8d1165360300da5af6d670947e5280052a3d8915768e02448b86ab38283d6d45258a2c4eb91982ba732ccedb3a7afc5f274116c9ee0072d35cdc5631b8a2ca50 SHA512 dcfe6d1f0edab8659664c5399b96d622d2e3df2f85bb7672d9afab6f74294a6449772efde080aaa7323f733c09cbd0f6f037e547be0afa79f39450eead777828 -DIST xarray-2024.3.0.tar.gz 3674424 BLAKE2B a255ad57329a322751fd96833128372e12b175ad11aa41eff21f0c188f7beb4e6ad0f904a4229d44f13222c45c127ac0be77e050ba5032255839733a084da5f0 SHA512 4c7490b2efb4ed1a7278c807f4d200d99407d21bd54287ca5d35300194049a82aef3d8fbedba8f180ddb0d554cbb3f8f63abbb01401d5904f6d29cfa729e2ab0 +DIST xarray-2024.5.0.tar.gz 3710689 BLAKE2B 04d2d9c70c90bccd0f269dde91be8a3f213b2dfe2d380b041abe946d118e80d0816ef09ed7e225b7bb164902c1943c1be335f1cac815d12c4aace6a0217379bb SHA512 d3aa6ef73afd2fd8a5c5551631ca5385d14221474bdab4c404cee1405b370c2f998c895bfd3506e6ccc1b2f511996b0eebefb331768df047d5e8b398ad2f9199 diff --git a/dev-python/xarray/xarray-2024.3.0-r1.ebuild b/dev-python/xarray/xarray-2024.3.0-r1.ebuild new file mode 100644 index 000000000000..fc4486aed87d --- /dev/null +++ b/dev-python/xarray/xarray-2024.3.0-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +# TODO: switch back to pypi in the next release +MY_PV=2024.03.0 +MY_P=${PN}-${MY_PV} + +DESCRIPTION="N-D labeled arrays and datasets in Python" +HOMEPAGE=" + https://xarray.pydata.org/ + https://github.com/pydata/xarray/ + https://pypi.org/project/xarray/ +" +SRC_URI=" + https://github.com/pydata/xarray/archive/v${MY_PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~s390 ~x86" +IUSE="big-endian" + +RDEPEND=" + <dev-python/numpy-2[${PYTHON_USEDEP}] + >=dev-python/numpy-1.23[${PYTHON_USEDEP}] + >=dev-python/pandas-1.5[${PYTHON_USEDEP}] + >=dev-python/packaging-22[${PYTHON_USEDEP}] +" +# note: most of the test dependencies are optional +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/bottleneck[${PYTHON_USEDEP}] + dev-python/cftime[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/toolz[${PYTHON_USEDEP}] + !hppa? ( >=dev-python/scipy-1.4[${PYTHON_USEDEP}] ) + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + if ! has_version ">=dev-python/scipy-1.4[${PYTHON_USEDEP}]" ; then + EPYTEST_DESELECT+=( + 'xarray/tests/test_missing.py::test_interpolate_na_2d[coords1]' + ) + fi + + if use big-endian ; then + EPYTEST_DESELECT+=( + # Appears to be a numpy issue in display? See bug #916460. + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145224193-ns-int64-20-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-09-21T00:12:44.145224808-ns-float64-1e+30-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225216-ns-float64--9.223372036854776e+18-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145224193-ns-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225-us-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-01-01T00:00:01.000001-us-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:21:52.901038080-ns-float32-20.0-True]' + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/xarray/xarray-2024.3.0.ebuild b/dev-python/xarray/xarray-2024.3.0.ebuild index bf0e39683c59..23e269a25ec3 100644 --- a/dev-python/xarray/xarray-2024.3.0.ebuild +++ b/dev-python/xarray/xarray-2024.3.0.ebuild @@ -6,7 +6,11 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..12} ) -inherit distutils-r1 pypi +inherit distutils-r1 + +# TODO: switch back to pypi in the next release +MY_PV=2024.03.0 +MY_P=${PN}-${MY_PV} DESCRIPTION="N-D labeled arrays and datasets in Python" HOMEPAGE=" @@ -14,13 +18,19 @@ HOMEPAGE=" https://github.com/pydata/xarray/ https://pypi.org/project/xarray/ " +SRC_URI=" + https://github.com/pydata/xarray/archive/v${MY_PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~riscv ~s390 ~x86" +KEYWORDS="~amd64 ~arm arm64 ~hppa ~loong ~riscv ~s390 ~x86" IUSE="big-endian" RDEPEND=" + <dev-python/numpy-2[${PYTHON_USEDEP}] >=dev-python/numpy-1.23[${PYTHON_USEDEP}] >=dev-python/pandas-1.5[${PYTHON_USEDEP}] >=dev-python/packaging-22[${PYTHON_USEDEP}] @@ -42,32 +52,9 @@ distutils_enable_tests pytest python_test() { local EPYTEST_DESELECT=( - # warning-targeted tests are fragile and not important to end users - xarray/tests/test_backends.py::test_no_warning_from_dask_effective_get - # TODO: segv in netcdf4-python - 'xarray/tests/test_backends.py::test_open_mfdataset_manyfiles[netcdf4-20-True-5-5]' - 'xarray/tests/test_backends.py::test_open_mfdataset_manyfiles[netcdf4-20-True-5-None]' - 'xarray/tests/test_backends.py::test_open_mfdataset_manyfiles[netcdf4-20-True-None-5]' - 'xarray/tests/test_backends.py::test_open_mfdataset_manyfiles[netcdf4-20-True-None-None]' - xarray/tests/test_backends.py::TestDask::test_save_mfdataset_compute_false_roundtrip - # TODO: broken - xarray/tests/test_backends.py::TestNetCDF4Data - xarray/tests/test_backends.py::TestNetCDF4ViaDaskData - # hangs - xarray/tests/test_backends.py::TestDask::test_dask_roundtrip - # mismatches when pyarrow is installed - # https://github.com/pydata/xarray/issues/8092 - xarray/tests/test_dask.py::TestToDaskDataFrame::test_to_dask_dataframe_2D - xarray/tests/test_dask.py::TestToDaskDataFrame::test_to_dask_dataframe_not_daskarray + # requires dev-python/cftime + 'xarray/tests/test_coding_times.py::test_encode_cf_datetime_datetime64_via_dask[mixed-cftime-pandas-encoding-with-prescribed-units-and-dtype]' ) - local EPYTEST_IGNORE=( - # requires datatree_ subpackage that is not part of public API - # https://github.com/pydata/xarray/issues/8768 - xarray/tests/datatree - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - if ! has_version ">=dev-python/scipy-1.4[${PYTHON_USEDEP}]" ; then EPYTEST_DESELECT+=( 'xarray/tests/test_missing.py::test_interpolate_na_2d[coords1]' @@ -87,5 +74,6 @@ python_test() { ) fi + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest } diff --git a/dev-python/xarray/xarray-2024.5.0.ebuild b/dev-python/xarray/xarray-2024.5.0.ebuild new file mode 100644 index 000000000000..5811f8af24a1 --- /dev/null +++ b/dev-python/xarray/xarray-2024.5.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="N-D labeled arrays and datasets in Python" +HOMEPAGE=" + https://xarray.pydata.org/ + https://github.com/pydata/xarray/ + https://pypi.org/project/xarray/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~s390 ~x86" +IUSE="big-endian" + +RDEPEND=" + <dev-python/numpy-2[${PYTHON_USEDEP}] + >=dev-python/numpy-1.23[${PYTHON_USEDEP}] + >=dev-python/pandas-2.0[${PYTHON_USEDEP}] + >=dev-python/packaging-23.1[${PYTHON_USEDEP}] +" +# note: most of the test dependencies are optional +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/bottleneck[${PYTHON_USEDEP}] + dev-python/cftime[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/toolz[${PYTHON_USEDEP}] + !hppa? ( >=dev-python/scipy-1.4[${PYTHON_USEDEP}] ) + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + if ! has_version ">=dev-python/scipy-1.4[${PYTHON_USEDEP}]" ; then + EPYTEST_DESELECT+=( + 'xarray/tests/test_missing.py::test_interpolate_na_2d[coords1]' + ) + fi + + if use big-endian ; then + EPYTEST_DESELECT+=( + # Appears to be a numpy issue in display? See bug #916460. + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145224193-ns-int64-20-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-09-21T00:12:44.145224808-ns-float64-1e+30-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225216-ns-float64--9.223372036854776e+18-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145224193-ns-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225-us-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-01-01T00:00:01.000001-us-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:21:52.901038080-ns-float32-20.0-True]' + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/xcffib/xcffib-1.5.0.ebuild b/dev-python/xcffib/xcffib-1.5.0.ebuild index 0d55d90c6c0c..fbb6ddf9f2de 100644 --- a/dev-python/xcffib/xcffib-1.5.0.ebuild +++ b/dev-python/xcffib/xcffib-1.5.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi diff --git a/dev-python/xdoctest/xdoctest-1.1.3.ebuild b/dev-python/xdoctest/xdoctest-1.1.3.ebuild index 623bfa2476da..70d8909b5a6b 100644 --- a/dev-python/xdoctest/xdoctest-1.1.3.ebuild +++ b/dev-python/xdoctest/xdoctest-1.1.3.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 @@ -18,8 +18,8 @@ SRC_URI=" -> ${P}.gh.tar.gz " -SLOT="0" LICENSE="Apache-2.0" +SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" diff --git a/dev-python/xkbcommon/Manifest b/dev-python/xkbcommon/Manifest index 91101265c16c..f15b86461fb5 100644 --- a/dev-python/xkbcommon/Manifest +++ b/dev-python/xkbcommon/Manifest @@ -1,2 +1 @@ -DIST python-xkbcommon-0.8.gh.tar.gz 26951 BLAKE2B 0d2a649e3fee8baa9345ddca97dc7c77b5d9e10d7ca90cbb29bcc3531f4bba3deee39e610e147054e956310506fb79ebb43c85955b787e55046d67c12b851026 SHA512 ae2640ef89e7ace0468e970762c7be4d3f608701f1abea10174f274c622db28a6e6323cdc5bbbbaaa1065d4c4ddf9f67b75d4c34bb2e9a0bb6260778b15a330a DIST python-xkbcommon-1.0.gh.tar.gz 27258 BLAKE2B 3106877f8e87f50453a358eec4e6431642b00a6a2bc23d3088ef22379984869ec84cd042a1ac53dd72783f3005dad1efddf3f87410204b88bfde4f9da0044c97 SHA512 c7793d6f5517771006ff5a9c01deb9a37717157d7171af49ff459dc96b3b16a1d2d4c0f1272b5a8f683390de1e8e6a6ff92472f18828c7e38e0f2a1ee6f34f07 diff --git a/dev-python/xkbcommon/xkbcommon-0.8.ebuild b/dev-python/xkbcommon/xkbcommon-0.8.ebuild deleted file mode 100644 index 1ca6444edeeb..000000000000 --- a/dev-python/xkbcommon/xkbcommon-0.8.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 2023 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} pypy3 ) - -inherit distutils-r1 - -MY_P=python-xkbcommon-${PV} -DESCRIPTION="Python bindings for libxkbcommon using cffi" -HOMEPAGE=" - https://github.com/sde1000/python-xkbcommon/ - https://pypi.org/project/xkbcommon/ -" -SRC_URI=" - https://github.com/sde1000/python-xkbcommon/archive/refs/tags/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~riscv ~x86" - -# x11-libs/libxkbcommon dep per README -RDEPEND=" - >=x11-libs/libxkbcommon-${PV} - $(python_gen_cond_dep ' - dev-python/cffi[${PYTHON_USEDEP}] - ' 'python*') -" -DEPEND="${RDEPEND}" - -distutils_enable_tests pytest - -python_test() { - rm -rf xkbcommon || die - - epytest -} diff --git a/dev-python/xkbcommon/xkbcommon-1.0.ebuild b/dev-python/xkbcommon/xkbcommon-1.0.ebuild index be6fb2d9ee7f..5b1afed2756f 100644 --- a/dev-python/xkbcommon/xkbcommon-1.0.ebuild +++ b/dev-python/xkbcommon/xkbcommon-1.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="amd64 ~riscv ~x86" # x11-libs/libxkbcommon dep per README RDEPEND=" diff --git a/dev-python/xlrd/xlrd-2.0.1-r1.ebuild b/dev-python/xlrd/xlrd-2.0.1-r1.ebuild index 0aee9a5e4cfa..f4585232a731 100644 --- a/dev-python/xlrd/xlrd-2.0.1-r1.ebuild +++ b/dev-python/xlrd/xlrd-2.0.1-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/xlsxwriter/xlsxwriter-3.2.0.ebuild b/dev-python/xlsxwriter/xlsxwriter-3.2.0.ebuild index 23285dc29da9..112f78686dfa 100644 --- a/dev-python/xlsxwriter/xlsxwriter-3.2.0.ebuild +++ b/dev-python/xlsxwriter/xlsxwriter-3.2.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest index 34f62a4b1e39..fb4d3ac2416a 100644 --- a/dev-python/xmlschema/Manifest +++ b/dev-python/xmlschema/Manifest @@ -1,3 +1,2 @@ -DIST xmlschema-3.1.0.tar.gz 566760 BLAKE2B d8d1dc61e5eb6897d128ba9ed5257b65190af948946b7ac5d5b9b5fdeb14df42e8a298bc0ed7cdec58cabd237e0c950465bf58be702610496a16000a2f23f354 SHA512 26d6586ede499907bc2b7f0b58c75460d4bfa3761bc029a042e32ede2237234daa8be7b4602da7dec2e28aa945f24e1726fd445189ec31ce4af89c9c5762e1ef -DIST xmlschema-3.2.0.tar.gz 570442 BLAKE2B 0910a417a608e99850874a15ed608b0e33abb4a3a76c0bd0101eb3fdef89087f1f1c44ca59bc08ee6992eee24ed433bb602626fef0ffe76b671f8a5b33d662a7 SHA512 90d3e6b92054ec9eaead6c79543dceb819b75e94c19e2991671708443cb713fc9b7925d1ae09fe40d1522a27369b729528ab758087b9de0cc0157227abb95f3a -DIST xmlschema-3.2.1.tar.gz 571883 BLAKE2B 1c5202af6f3e1aca99898442f0efb47fd72c0f32e42d0ad4d527e5f4849195b8298656ba214c8578ed5a3cabca3232102e778667062139955fbae39610d90559 SHA512 ea65d79c628eca1b4becefee0f8a79e5a5c9a43072747d7b5b312e152c953a45727e3945bd2755a37ef28e2f010148879ca32a42516254eccba0bc3bb371c2ff +DIST xmlschema-3.3.0.tar.gz 573034 BLAKE2B 1d403483ee4b80ddcfae3ece41ba2b8edb3e0297ac7ad8d531fdfdbc4b4eb50736b728b0aefde08bd8d06e7f6b0636762b098095b06c6ad1c03928d102e4d23f SHA512 3c07d740f26901d4dc481bd83566fed1c48e48b542f14601d30b3c593a606854939052a6b6af20755e0ff6b56dbeb23b4a96519e1d91abc7145d80745f5478b4 +DIST xmlschema-3.3.1.tar.gz 574315 BLAKE2B fa6caf1b21949a46b398f0a951534ef9155d6dd6920a195967ff9155dbcdb496b94ac952396d0ef9e17e36050a6bd6550d975a5faf0ea84727a9bb90f3d8336a SHA512 e9c01fba834ea9d673bd3ade9527f991ec1af14909ad42b9e27100f984ce5ffe1e3ab9e351b91b186fe19145613e0df93a7430d0e006f93a38c782a0e3e6daac diff --git a/dev-python/xmlschema/xmlschema-3.2.0.ebuild b/dev-python/xmlschema/xmlschema-3.2.0.ebuild deleted file mode 100644 index d38ccad42ce5..000000000000 --- a/dev-python/xmlschema/xmlschema-3.2.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2019-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="An XML Schema validator and decoder" -HOMEPAGE=" - https://github.com/sissaschool/xmlschema/ - https://pypi.org/project/xmlschema/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - <dev-python/elementpath-5[${PYTHON_USEDEP}] - >=dev-python/elementpath-4.4.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - ) -" - -python_test() { - "${EPYTHON}" tests/test_all.py -v || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/xmlschema/xmlschema-3.1.0.ebuild b/dev-python/xmlschema/xmlschema-3.3.0.ebuild index 9ee81ded502c..9ee81ded502c 100644 --- a/dev-python/xmlschema/xmlschema-3.1.0.ebuild +++ b/dev-python/xmlschema/xmlschema-3.3.0.ebuild diff --git a/dev-python/xmlschema/xmlschema-3.2.1.ebuild b/dev-python/xmlschema/xmlschema-3.3.1.ebuild index d38ccad42ce5..e23345c2c8bb 100644 --- a/dev-python/xmlschema/xmlschema-3.2.1.ebuild +++ b/dev-python/xmlschema/xmlschema-3.3.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/xmlsec/Manifest b/dev-python/xmlsec/Manifest index 8bd1049057d4..7a3a87d3cb5a 100644 --- a/dev-python/xmlsec/Manifest +++ b/dev-python/xmlsec/Manifest @@ -1 +1,2 @@ DIST python-xmlsec-1.3.12.gh.tar.gz 77722 BLAKE2B b5ecece8063b823cdbe4d58967d10026bdc6f3774954021a3739d579ba3c5a08130af1792921c7892e6bc3d00f88ac83ab30e862775e419e0dad40b990b10cbe SHA512 19c5e3bf58b4b0f8a1cca3e60c08348b02ae298620f8c02b8cfb325aecf0313cb2bd1af89507b754ebe4c35af3b031e232d15ddcd42deae0821c9c0d7571aa7c +DIST python-xmlsec-1.3.14.gh.tar.gz 80643 BLAKE2B b256ad1aa18b5a746148ff4b2e8b3136a31105e1bb64d2dd686d5e62c16c183187432ee06f0f8b9da0bdba3b96c3c1e7fb6f51148bb5d5d60e54083841973399 SHA512 7a28695bf122a9c04ed20e4a6a09f9428372c908857b1dd983251a7b890cc50e92a6fbaa7f062cd58d86dda14257720e9c9554b2b54d840f9180110d93145335 diff --git a/dev-python/xmlsec/xmlsec-1.3.14.ebuild b/dev-python/xmlsec/xmlsec-1.3.14.ebuild new file mode 100644 index 000000000000..002033bd5ead --- /dev/null +++ b/dev-python/xmlsec/xmlsec-1.3.14.ebuild @@ -0,0 +1,61 @@ +# Copyright 2021-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} ) + +inherit distutils-r1 + +MY_P=python-xmlsec-${PV} +DESCRIPTION="Python bindings for the XML Security Library" +HOMEPAGE=" + https://github.com/xmlsec/python-xmlsec/ + https://pypi.org/project/xmlsec/ +" +SRC_URI=" + https://github.com/xmlsec/python-xmlsec/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm64 ~ppc64 x86" + +DEPEND=" + dev-libs/xmlsec:=[openssl] +" +RDEPEND=" + ${DEPEND} + dev-python/lxml[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pkgconfig[${PYTHON_USEDEP}] + dev-python/setuptools-scm[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # Fragile based on black version? + tests/test_type_stubs.py::test_xmlsec_constants_stub +) + +distutils_enable_tests pytest + +src_configure() { + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + + export PYXMLSEC_OPTIMIZE_SIZE= + if use debug; then + # we don't want to use PYXMLSEC_ENABLE_DEBUG envvar, + # as it forces -O0 + export CPPFLAGS="${CPPFLAGS} -DPYXMLSEC_ENABLE_DEBUG=1" + fi +} diff --git a/dev-python/xmltodict/xmltodict-0.13.0-r1.ebuild b/dev-python/xmltodict/xmltodict-0.13.0-r1.ebuild index c21ed017a094..b6ae73d6b21e 100644 --- a/dev-python/xmltodict/xmltodict-0.13.0-r1.ebuild +++ b/dev-python/xmltodict/xmltodict-0.13.0-r1.ebuild @@ -1,16 +1,18 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi DESCRIPTION="Makes working with XML feel like you are working with JSON" -HOMEPAGE="https://github.com/martinblech/xmltodict/ - https://pypi.org/project/xmltodict/" +HOMEPAGE=" + https://github.com/martinblech/xmltodict/ + https://pypi.org/project/xmltodict/ +" LICENSE="MIT" SLOT="0" diff --git a/dev-python/yapsy/yapsy-1.12.2-r2.ebuild b/dev-python/yapsy/yapsy-1.12.2-r2.ebuild index 5e176818e907..72591c69b739 100644 --- a/dev-python/yapsy/yapsy-1.12.2-r2.ebuild +++ b/dev-python/yapsy/yapsy-1.12.2-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,7 +14,7 @@ HOMEPAGE=" https://github.com/tibonihoo/yapsy/ https://pypi.org/project/Yapsy/ " -SRC_URI="mirror://sourceforge/yapsy/${MY_P}/${MY_P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/yapsy/${MY_P}/${MY_P}.tar.gz" S=${WORKDIR}/${MY_P} LICENSE="BSD" diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest index 0cd5706592a1..d5e047024713 100644 --- a/dev-python/yara-python/Manifest +++ b/dev-python/yara-python/Manifest @@ -1 +1,2 @@ -DIST yara-python-4.4.0.gh.tar.gz 38072 BLAKE2B 748dab52e99e264c7d9eb0d7d4482fb76b29f8463f031cf20687e30ae792141633d12e6b3f20303c8ee99bcdaafa01a3df9f73aaf3dd722ad5da9820e6a4d39e SHA512 bc72c2f65e3fe3d7f94728565143b787df6cc63313a3e8b9f159a5cfc3c947f5233674a1213fd2c6454f6165b676da366319794f9fa7c695c43e5523c29a1432 +DIST yara-python-4.4.0.gh.tar.gz 39295 BLAKE2B 27aa6b9fdf07cf30ec30a69c523e8a4eede52389a5565b4b083ac5d7206deaf3bcc0e2cf2fbda2fd01fce53b7ebc65e7c357705bc3244bfcc004bce2acd44e9e SHA512 8c6e30929172942e6e367c889f2d141f81264d9cfc4b5f5f4d35207d4ae25393050c976db823ef74f341ac18b7ee9eef8007d88348bc79848311d4b95fb1fdbd +DIST yara-python-4.5.0.gh.tar.gz 39301 BLAKE2B 9bee247ef21b6e2e576acbac7cfcf140fd3b1ab992affc019f9ce290e00809e397d5057b9033f53fcd94885e855e783e4c43835850c9e6dcd57d74661ba8380b SHA512 b4f091bff7fd3bcd63e7f9f0a765aac7bdb3f17a1bc4b163687ae9ca21048194d90cf2bf1165998edb9953b83e022939179c51de59862a456676f099de69778d diff --git a/dev-python/yara-python/files/yara-python-4.4.0-python3_12.patch b/dev-python/yara-python/files/yara-python-4.4.0-python3_12.patch deleted file mode 100644 index 36bf1d60f686..000000000000 --- a/dev-python/yara-python/files/yara-python-4.4.0-python3_12.patch +++ /dev/null @@ -1,17 +0,0 @@ -Upstream: https://github.com/VirusTotal/yara-python/pull/244 -From c00fd68cfb2f00c4bfe4ea6465a93af2d1d1a68f Mon Sep 17 00:00:00 2001 -From: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> -Date: Sat, 16 Sep 2023 17:35:36 +0200 -Subject: [PATCH] Fix unknown escape sequence - ---- a/tests.py -+++ b/tests.py -@@ -719,7 +719,7 @@ def testRE(self): - 'rule test { strings: $a = /[M-N]iss/ nocase condition: $a }', - 'rule test { strings: $a = /(Mi|ssi)ssippi/ nocase condition: $a }', - r'rule test { strings: $a = /ppi\tmi/ condition: $a }', -- 'rule test { strings: $a = /ppi\.mi/ condition: $a }', -+ r'rule test { strings: $a = /ppi\.mi/ condition: $a }', - 'rule test { strings: $a = /^mississippi/ fullword condition: $a }', - 'rule test { strings: $a = /mississippi.*mississippi$/s condition: $a }', - ], 'mississippi\tmississippi.mississippi\nmississippi') diff --git a/dev-python/yara-python/yara-python-4.4.0.ebuild b/dev-python/yara-python/yara-python-4.4.0.ebuild index 911515e6d4e3..bde11ea7577c 100644 --- a/dev-python/yara-python/yara-python-4.4.0.ebuild +++ b/dev-python/yara-python/yara-python-4.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -27,10 +27,6 @@ RDEPEND=" " DEPEND="${RDEPEND}" -PATCHES=( - "${FILESDIR}/${P}-python3_12.patch" -) - distutils_enable_tests unittest python_configure_all() { diff --git a/dev-python/yara-python/yara-python-4.5.0.ebuild b/dev-python/yara-python/yara-python-4.5.0.ebuild new file mode 100644 index 000000000000..bde11ea7577c --- /dev/null +++ b/dev-python/yara-python/yara-python-4.5.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +PYTHON_COMPAT=( python3_{10..12} ) +inherit distutils-r1 + +DESCRIPTION="Python interface for a malware identification and classification tool" +HOMEPAGE="https://github.com/VirusTotal/yara-python" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/VirusTotal/yara-python.git" +else + SRC_URI="https://github.com/virustotal/yara-python/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="amd64 ~arm64 ~ppc64 x86" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND=" + =app-forensics/yara-$(ver_cut 1-2)* +" +DEPEND="${RDEPEND}" + +distutils_enable_tests unittest + +python_configure_all() { + cat >> setup.cfg <<-EOF + [build_ext] + dynamic_linking = True + EOF +} + +python_test() { + "${EPYTHON}" tests.py || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/ytmusicapi/Manifest b/dev-python/ytmusicapi/Manifest index 8883c4236b1a..e1e371068795 100644 --- a/dev-python/ytmusicapi/Manifest +++ b/dev-python/ytmusicapi/Manifest @@ -1 +1,3 @@ DIST ytmusicapi-1.6.0.tar.gz 106624 BLAKE2B b7900f4fb9e863f694a06a9d85d479e13514d6f4a0ad86e923ccceb497ad9294e34d9b3914005063b272ef8582514a5ea7c173864d38a2b6ec166bcf1199560e SHA512 9886c0b4ec29bf9b676b4c77f9e84ca6c7a0f1b4da264d589aed19d50c8be6ef3718185af755d8a9f652d425ae98603fff09ea8d84ec839756dab43181eb9f4c +DIST ytmusicapi-1.7.0.tar.gz 276068 BLAKE2B 39b33782fde91ada32269e6ec8630164796caff2e17743a852f1eca72debaf23b01fd9e8f4d486e1a67bf790221a233339b0074034d993053388cf31cadb32a0 SHA512 4e5f021e7dc9879e6cf881595afc8c17637e0d722a019b855563358f38bb74fe5ff154ea639c6d56836967c520bfece504733bf960b77cfe79b0586390339551 +DIST ytmusicapi-1.7.1.tar.gz 276874 BLAKE2B 0fee5ad7219b675cbd1cf91e7722dc0addfc7f91be7ad8d74e0df99cc770726df68a1e37d47531161323a42115283b8072f87df2e0261c3b14176a005dd4e52b SHA512 1285ca07cfe18e3965cb769c34a507266188e4d5fa3e34f8e29bb69e0a31aab605f25dbdf24c790621cbcbd7552c0b44a0ae8a0be0237971a02f19d58a05b79f diff --git a/dev-python/ytmusicapi/ytmusicapi-1.7.0.ebuild b/dev-python/ytmusicapi/ytmusicapi-1.7.0.ebuild new file mode 100644 index 000000000000..1537ab0e5d66 --- /dev/null +++ b/dev-python/ytmusicapi/ytmusicapi-1.7.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Unofficial API for YouTube Music" +HOMEPAGE="https://ytmusicapi.readthedocs.io/ + https://github.com/sigma67/ytmusicapi/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" + +RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" + +distutils_enable_sphinx docs/source \ + dev-python/sphinx-rtd-theme diff --git a/dev-python/ytmusicapi/ytmusicapi-1.7.1.ebuild b/dev-python/ytmusicapi/ytmusicapi-1.7.1.ebuild new file mode 100644 index 000000000000..1537ab0e5d66 --- /dev/null +++ b/dev-python/ytmusicapi/ytmusicapi-1.7.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Unofficial API for YouTube Music" +HOMEPAGE="https://ytmusicapi.readthedocs.io/ + https://github.com/sigma67/ytmusicapi/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" + +RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" + +distutils_enable_sphinx docs/source \ + dev-python/sphinx-rtd-theme diff --git a/dev-python/zconfig/Manifest b/dev-python/zconfig/Manifest index 09e749602a70..09edd9cb4c82 100644 --- a/dev-python/zconfig/Manifest +++ b/dev-python/zconfig/Manifest @@ -1 +1,2 @@ DIST ZConfig-4.0.tar.gz 126072 BLAKE2B 7057151267f9b481d3cded72a22dc8fe505f1eac78d156595eb6ba5ff6217b57713ae2ef307358d86320986181bbbb3c1862901297e645bf69dc4893a3e60dbc SHA512 03e3c34f8af9de8bedd98bbdf0c968fdd2fb0c1bb8d62a73c286b804a8841e0e7d9b647f5f3bb37a6d52dc2a5cea7cdce21cd204536399d43203c18e0c204ca7 +DIST zconfig-4.1.tar.gz 146996 BLAKE2B fd4299121b418ba7517ef17c2f9be9e0f0a975199a0fb59bd45f54338becb921c2bf0fd87344e08b21734b80dc11abd64d7bef27d7d17313197d9c781b5e5017 SHA512 71dd5a9ce5f72eda76fde19fa2bec4aaf542ebe4b617753b14c07239366d934d9d635aa63407c76bc00edfb305c85c1cecdd187ee7f2b85f25acaa7682839363 diff --git a/dev-python/zconfig/zconfig-4.1.ebuild b/dev-python/zconfig/zconfig-4.1.ebuild new file mode 100644 index 000000000000..6fe23faf0c6a --- /dev/null +++ b/dev-python/zconfig/zconfig-4.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN="ZConfig" +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Configuration library supporting a hierarchical schema-driven model" +HOMEPAGE=" + https://github.com/zopefoundation/ZConfig/ + https://pypi.org/project/ZConfig/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +BDEPEND=" + test? ( + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/manuel[${PYTHON_USEDEP}] + dev-python/zope-exceptions[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] + ) +" + +DOCS=( CHANGES.rst README.rst ) + +distutils_enable_tests unittest +distutils_enable_sphinx docs \ + dev-python/sphinxcontrib-programoutput + +python_test() { + eunittest -s src/ZConfig/tests +} diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 95e2af190e39..b74d654ade46 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1,3 +1 @@ -DIST zeroconf-0.131.0.tar.gz 169253 BLAKE2B 64247bdca5f8a226e73078b0395fa273649d3baea54fe52c350bf5117527e4290974843385f5b23568a6350bb41fa0af13a6999ef4e880fc42952dde21126296 SHA512 7b7f5494a589306c458dc4fedd940aab86918e9979d5b9f0a466d28b74795c83351f82fdf501a983e9df3e32a8be9a88af3486e79ade23ab73d889610331d89a -DIST zeroconf-0.132.0.tar.gz 170270 BLAKE2B 2ef40ab7d3aafb21f3b82b2e47598034ab821218f80082f26be3e41ac1197ea52a57657e45f38b41a8113164fbde2a8839264c9284c82b64327c443afad1726e SHA512 b8ccbb6f196db9404361e4ec85bc2a9f9801335a188ba6e4f1090afe1f042d82b69545f5db9b8c5d99720f1a7fbc77029ff0f624b8d17837b3dc8b41029e56a7 DIST zeroconf-0.132.2.tar.gz 170698 BLAKE2B 7c76e2a00571a19b23f288dc1183da6ce274ebdf3f64f323e282f444011f7cbf90a63e02a991936a2cfa2d227568b31444b8f61f1110588638d4e888dd8749a6 SHA512 686cdfd2f32c6bad03fb5fd287b1e22f2f0b5099a8971dcff1d9fca7e63bc8069b195feb97be710c20fae8c524ab92143e395cdfec26ede103295d1aa4d32a8f diff --git a/dev-python/zeroconf/zeroconf-0.131.0.ebuild b/dev-python/zeroconf/zeroconf-0.131.0.ebuild deleted file mode 100644 index e2943de8e0d9..000000000000 --- a/dev-python/zeroconf/zeroconf-0.131.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" -HOMEPAGE=" - https://github.com/python-zeroconf/python-zeroconf/ - https://pypi.org/project/zeroconf/ -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}] - ' 3.10) -" -# the build system uses custom build script that uses distutils to build -# C extensions, sigh -BDEPEND=" - >=dev-python/cython-3.0.5[${PYTHON_USEDEP}] - >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export REQUIRE_CYTHON=1 - -python_test() { - local -x SKIP_IPV6=1 - local EPYTEST_DESELECT=( - # network - tests/test_core.py::Framework::test_close_multiple_times - tests/test_core.py::Framework::test_launch_and_close - tests/test_core.py::Framework::test_launch_and_close_context_manager - - # fragile to timeouts (?) - tests/services/test_browser.py::test_service_browser_expire_callbacks - tests/utils/test_asyncio.py::test_run_coro_with_timeout - ) - - epytest -o addopts= -} diff --git a/dev-python/zeroconf/zeroconf-0.132.0.ebuild b/dev-python/zeroconf/zeroconf-0.132.0.ebuild deleted file mode 100644 index be589608aa7b..000000000000 --- a/dev-python/zeroconf/zeroconf-0.132.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" -HOMEPAGE=" - https://github.com/python-zeroconf/python-zeroconf/ - https://pypi.org/project/zeroconf/ -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}] - ' 3.10) -" -# the build system uses custom build script that uses distutils to build -# C extensions, sigh -BDEPEND=" - >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] - >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export REQUIRE_CYTHON=1 - -python_test() { - local -x SKIP_IPV6=1 - local EPYTEST_DESELECT=( - # network - tests/test_core.py::Framework::test_close_multiple_times - tests/test_core.py::Framework::test_launch_and_close - tests/test_core.py::Framework::test_launch_and_close_context_manager - - # fragile to timeouts (?) - tests/services/test_browser.py::test_service_browser_expire_callbacks - tests/utils/test_asyncio.py::test_run_coro_with_timeout - ) - - epytest -o addopts= -} diff --git a/dev-python/zeroconf/zeroconf-0.132.2.ebuild b/dev-python/zeroconf/zeroconf-0.132.2.ebuild index be589608aa7b..53d810e82f90 100644 --- a/dev-python/zeroconf/zeroconf-0.132.2.ebuild +++ b/dev-python/zeroconf/zeroconf-0.132.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest index bc97609d2fbd..3dd682040384 100644 --- a/dev-python/zipp/Manifest +++ b/dev-python/zipp/Manifest @@ -1 +1,2 @@ DIST zipp-3.18.1.tar.gz 21220 BLAKE2B cd2afca05cb35b79bfe2b65396cccae3de15b3aaa2566643f1ce989a2747971a54fbf3baab3d273add51c51774b444c773ced951010a24a60e088103cd808d23 SHA512 27f2a5a098c773ea878b751e5c1d4e6bb89a367cd676f0b4508f3c372e78e1522de6eb46a17c8ac22a09cc6b041e393db40d14d918c7abe44cc2158f886a8045 +DIST zipp-3.18.2.tar.gz 21783 BLAKE2B 488c7ebe2a37d5d38f8aac86a578144aaa77d9acb375cb2aa45eb16e5f5d2db30be00827f580ee35b5aa85559001e457054cca1dd34dec7005c0169bd4a4f1b3 SHA512 c8ba020fe210a3c9b54da2f868c324b41d281dc50342f9ce68e493a695d8c8620ab19303fb81bd64cc458667113ef31a890e8e71180a0155a83ed9ead6049bcd diff --git a/dev-python/zipp/zipp-3.18.2.ebuild b/dev-python/zipp/zipp-3.18.2.ebuild new file mode 100644 index 000000000000..4c2c0b9b1eb8 --- /dev/null +++ b/dev-python/zipp/zipp-3.18.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Backport of pathlib-compatible object wrapper for zip files" +HOMEPAGE=" + https://github.com/jaraco/zipp/ + https://pypi.org/project/zipp/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +# big_o is only used in test_complexity, that we ignore +BDEPEND=" + test? ( + dev-python/jaraco-functools[${PYTHON_USEDEP}] + dev-python/jaraco-itertools[${PYTHON_USEDEP}] + dev-python/jaraco-test[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # performance tests are flaky by design + tests/test_complexity.py +) + +src_configure() { + grep -q 'build-backend = "setuptools' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "zipp" + version = "${PV}" + description = "Backport of pathlib-compatible object wrapper for zip files" + EOF +} diff --git a/dev-python/zope-event/zope-event-5.0.ebuild b/dev-python/zope-event/zope-event-5.0.ebuild index 99db81ced810..b9e576d375dc 100644 --- a/dev-python/zope-event/zope-event-5.0.ebuild +++ b/dev-python/zope-event/zope-event-5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/zope-interface/Manifest b/dev-python/zope-interface/Manifest index 9c747136d0ae..a03a9731f933 100644 --- a/dev-python/zope-interface/Manifest +++ b/dev-python/zope-interface/Manifest @@ -1,2 +1,3 @@ DIST zope.interface-6.2.tar.gz 247528 BLAKE2B 4112579da95e763bb5feca7fc8845896178afd5e3fb181a5945de80cf579d0c66373e9ee9cbff97964f79750908b5e4650316b3df1cef16a267c3625268cec46 SHA512 42c169ba88e0e4fe7895f0956250ddb5f3e9aef3e73a801ef71b0e94f906e9f597008de16955a7a8a5ca59551b800e6f000c70ffb3f486a7cbb7bf9caa00059d DIST zope.interface-6.3.tar.gz 294679 BLAKE2B e70c0581213776a685ff8e208a418f82adc5df2d53cc00316e38621dfa05559836416a897366cf7df76784405490c3cb137ff48d35287812f503a4685e2e75be SHA512 fcc318fd098ca91a4617f2a15123cb727c4ebcdeb56b4e0c59475a55d67afdfeb2f2e2d0fdef462e22236c8733ba2c5982ba72c8e75648be6bf55116f5d39139 +DIST zope_interface-6.4.tar.gz 293987 BLAKE2B 40eb0fbd56c49c82773d4854f92ba691bf3b68850f443362249c22401b3c0f3859b3adc6768c9fc6c01d9f9435d1fde45bf5dce0a72b69981220424e8a49ef5d SHA512 a76d7235bac040fe0b663eabd7bd993ea9db31e39f3786343ee56aef13c36c036398cd17856f33413d4aa6f4d203c4997c178bea306a05eb9c5da8cb880e02c3 diff --git a/dev-python/zope-interface/zope-interface-6.3.ebuild b/dev-python/zope-interface/zope-interface-6.3.ebuild index f53d77341852..2b9282843339 100644 --- a/dev-python/zope-interface/zope-interface-6.3.ebuild +++ b/dev-python/zope-interface/zope-interface-6.3.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="ZPL" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" RDEPEND=" !dev-python/namespace-zope diff --git a/dev-python/zope-interface/zope-interface-6.4.ebuild b/dev-python/zope-interface/zope-interface-6.4.ebuild new file mode 100644 index 000000000000..93a51b50d4da --- /dev/null +++ b/dev-python/zope-interface/zope-interface-6.4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Interfaces for Python" +HOMEPAGE=" + https://github.com/zopefoundation/zope.interface/ + https://pypi.org/project/zope.interface/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + !dev-python/namespace-zope +" +BDEPEND=" + test? ( + dev-python/zope-event[${PYTHON_USEDEP}] + dev-python/zope-testing[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # strip rdep specific to namespaces + sed -e "/'setuptools'/d" -i setup.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + distutils_write_namespace zope + eunittest +} diff --git a/dev-python/zope-testing/zope-testing-5.0.1.ebuild b/dev-python/zope-testing/zope-testing-5.0.1.ebuild index 27d99d2cd56f..a87572e875ce 100644 --- a/dev-python/zope-testing/zope-testing-5.0.1.ebuild +++ b/dev-python/zope-testing/zope-testing-5.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{9..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/zstandard/zstandard-0.22.0.ebuild b/dev-python/zstandard/zstandard-0.22.0.ebuild index bc610d17eeac..0e2f77551573 100644 --- a/dev-python/zstandard/zstandard-0.22.0.ebuild +++ b/dev-python/zstandard/zstandard-0.22.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/zstd/zstd-1.5.5.1.ebuild b/dev-python/zstd/zstd-1.5.5.1.ebuild index 90718da39e70..7e8b1b988440 100644 --- a/dev-python/zstd/zstd-1.5.5.1.ebuild +++ b/dev-python/zstd/zstd-1.5.5.1.ebuild @@ -1,11 +1,11 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-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} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi |