diff options
Diffstat (limited to 'dev-python')
55 files changed, 529 insertions, 1091 deletions
diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest index ffd8813c1dfd..43e8b1ed1e9e 100644 --- a/dev-python/Nuitka/Manifest +++ b/dev-python/Nuitka/Manifest @@ -1,3 +1,4 @@ DIST Nuitka-2.3.10.tar.gz 3702002 BLAKE2B 6aa0a890d1db4f245686c87152855ff23c71726d34025bcd41fe9fb639ff78002396f7400aafbee59249b1a06238fd5384bdfb48e5b961580020cd7f02ce4e4d SHA512 757c332afe2099fdc4708ea83776657d669811d2215360bcdbd4b6d2765fabca81a533d8bf7122c570318d3363cb2a3b1f511f4b6fa28abbc6a3d046fb7ff23d DIST Nuitka-2.3.11.tar.gz 3701661 BLAKE2B c318bf839ad334c49eb145ecd7074e9c36f982af13a10cc8226ce0aeddea5b6cd69be9a3279a1e0da9f83934e3cc0f6d02d1c5f469839d6e6be05d056c8e2a68 SHA512 4165a922e79027cc71b7ecf175c5e85a071e6661613d9dc95ba553d4d167b979726094c025af513e7e62eb0553f206b31408d233ffd74f1256d163c31d127e16 DIST Nuitka-2.3.9.tar.gz 3701334 BLAKE2B 8e86496330ddcbab61a875c173bcaa8acee74b4942efe7e0947c2e2536605bd8ba7eab59533766a0d308c446a577456ed398c703d71b58e9d53bba8fcc484c00 SHA512 6039580292d3cbb3adb2ad504c996f83beaa583336cbdcfae92c8310ffaabd8b9510451c2ceffb6a4c26f82e8e9c112468670eb8b5cdaae96ed152f3f9337272 +DIST Nuitka-2.4.tar.gz 3718936 BLAKE2B 385a2bb2bbaa971277d7812f53d5a141a9643b0886e46e90fc3f5f8e3cb991801414ce6215a075ffe7998a99a65d534d2af16f9c4adc6c48fd8dee428461563a SHA512 c622434f48bea3d651c4720f8d22f23ec1ba680f9b58c66772a229ca1dc671a6c702d34503d4f16588008300e8e7e32a73dd51b56da1de8edbb33fde62be6053 diff --git a/dev-python/Nuitka/Nuitka-2.4.ebuild b/dev-python/Nuitka/Nuitka-2.4.ebuild new file mode 100644 index 000000000000..35ccf652e8e3 --- /dev/null +++ b/dev-python/Nuitka/Nuitka-2.4.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_{8,9,10,11,12} ) + +inherit distutils-r1 flag-o-matic optfeature pypi + +DESCRIPTION="Python to native compiler" +HOMEPAGE=" + https://nuitka.net/ + https://github.com/Nuitka/Nuitka/ + https://pypi.org/project/Nuitka/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~loong ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-build/scons[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( dev-util/ccache ) +" + +distutils-r1_src_prepare() { + # remove vendored version of SCons that is Python2 only + # this should be removed when upstream removes support for Python2 + rm -vR "nuitka/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + doman doc/nuitka.1 doc/nuitka-run.1 +} + +python_test() { + append-ldflags -Wl,--no-warn-search-mismatch + ./tests/basics/run_all.py search || die +} + +pkg_postinst() { + optfeature "support for stand-alone executables" dev-util/patchelf +} diff --git a/dev-python/coloredlogs/coloredlogs-15.0.1-r1.ebuild b/dev-python/coloredlogs/coloredlogs-15.0.1-r1.ebuild deleted file mode 100644 index 2f8348bdef9c..000000000000 --- a/dev-python/coloredlogs/coloredlogs-15.0.1-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 pypi - -DESCRIPTION="Colored stream handler for the logging module" -HOMEPAGE=" - https://pypi.org/project/coloredlogs/ - https://github.com/xolox/python-coloredlogs - https://coloredlogs.readthedocs.io/en/latest/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/humanfriendly-9.1[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-python/capturer[${PYTHON_USEDEP}] - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/verboselogs[${PYTHON_USEDEP}] - ) -" - -PATCHES=( "${FILESDIR}/coloredlogs-14.0-fix-install-prefix.patch" ) - -distutils_enable_sphinx docs -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # test_auto_install fails because the pth file isn't being loaded - coloredlogs/tests.py::ColoredLogsTestCase::test_auto_install -) - -python_test() { - epytest coloredlogs/tests.py -} diff --git a/dev-python/coloredlogs/coloredlogs-15.0.1-r2.ebuild b/dev-python/coloredlogs/coloredlogs-15.0.1-r2.ebuild index c3833390c9a3..0c983e685eaf 100644 --- a/dev-python/coloredlogs/coloredlogs-15.0.1-r2.ebuild +++ b/dev-python/coloredlogs/coloredlogs-15.0.1-r2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/humanfriendly-9.1[${PYTHON_USEDEP}]" diff --git a/dev-python/django-allauth/metadata.xml b/dev-python/django-allauth/metadata.xml index 69d156e471cf..a2df676e20ae 100644 --- a/dev-python/django-allauth/metadata.xml +++ b/dev-python/django-allauth/metadata.xml @@ -1,12 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <maintainer type="project"> + <email>core@liguros.net</email> + <name>Development</name> </maintainer> - <upstream> - <bugs-to>https://github.com/pennersr/django-allauth/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>ports</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/django-auditlog/Manifest b/dev-python/django-auditlog/Manifest new file mode 100644 index 000000000000..98800a1be084 --- /dev/null +++ b/dev-python/django-auditlog/Manifest @@ -0,0 +1 @@ +DIST django-auditlog-3.0.0.gh.tar.gz 61443 BLAKE2B 44d4ddf157664dbbf716871ca4b39908ea77069dccbf4681fd93b563ba06213e55581767f9c0bf2267a4fe00c0e3477aaf66b8812f78d3a9d75383fa20158aee SHA512 7725451674b82b96dcc3765844d9a3c1e4cb2a5bc71ab5466516b1a787310a4acc64049d6eb8b4c2f4ed1ceb53e32a3289b3c064514828307c82001d973c0145 diff --git a/dev-python/django-auditlog/django-auditlog-3.0.0.ebuild b/dev-python/django-auditlog/django-auditlog-3.0.0.ebuild new file mode 100644 index 000000000000..eac5e01fa839 --- /dev/null +++ b/dev-python/django-auditlog/django-auditlog-3.0.0.ebuild @@ -0,0 +1,53 @@ +# 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_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Audit log app for Django" +HOMEPAGE="https://github.com/jazzband/django-auditlog" +SRC_URI="https://github.com/jazzband/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/django[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/setuptools-scm[${PYTHON_USEDEP}] + doc? ( + dev-python/psycopg:2[${PYTHON_USEDEP}] + ) + test? ( + dev-db/postgresql[server] + dev-python/freezegun[${PYTHON_USEDEP}] + ) +" + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +distutils_enable_sphinx docs/source \ + dev-python/sphinx-rtd-theme + +python_test() { + local db="${T}/pgsql" + + initdb --username=postgres -D "${db}" || die + 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 '';" || die + createdb -h "${T}" -U postgres auditlog || die + + "${EPYTHON}" -m django test -v2 --settings=auditlog_tests.test_settings || die "Tests fail with ${EPYTHON}" + + pg_ctl -w -D "${db}" stop || die +} diff --git a/dev-python/django-auditlog/metadata.xml b/dev-python/django-auditlog/metadata.xml new file mode 100644 index 000000000000..a2df676e20ae --- /dev/null +++ b/dev-python/django-auditlog/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>core@liguros.net</email> + <name>Development</name> + </maintainer> + + <origin>ports</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/django-multiselectfield/metadata.xml b/dev-python/django-multiselectfield/metadata.xml index ab4fefd4ccc7..a2df676e20ae 100644 --- a/dev-python/django-multiselectfield/metadata.xml +++ b/dev-python/django-multiselectfield/metadata.xml @@ -1,12 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <maintainer type="project"> + <email>core@liguros.net</email> + <name>Development</name> </maintainer> - <upstream> - <bugs-to>https://github.com/goinnn/django-multiselectfield/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>ports</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/django-soft-delete/Manifest b/dev-python/django-soft-delete/Manifest index 04adc27b6551..081a959df1a6 100644 --- a/dev-python/django-soft-delete/Manifest +++ b/dev-python/django-soft-delete/Manifest @@ -1,3 +1 @@ DIST django-soft-delete-1.0.13.gh.tar.gz 14193 BLAKE2B 3181faedad990123be75e98ba074dafa7910847168a089055ac5cf4e75a5de4e64612e90a43144133044ef6848a39bb01d1362061c722b382502939be7db6c85 SHA512 8513a8e61c54afbb43ec0ee6024cfb7cf88e0f21130efb8ffa42c4491508c92db3d66afaebb895fbbf642c230f99543452549da4dbf5387b0811ee23ffa77e98 -EBUILD django-soft-delete-1.0.13.ebuild 711 BLAKE2B 460eb7a1f3a4e7df51e68afb2f7c7ac733427b3ee8669226787c2d4ab36df4ba71885b862f8d00e795d22f1ac6aa5d3a5a83ee6a113b4625b7a3d066c7082cfd SHA512 082056d1f902dac6ab62a8fbe0a4e7826860ef74b0fddc06ccec4a5baac1d0c07ca44aa50d42b5737807dd9f47255dea1ef240b3e07954244d2110198ebf3007 -MISC metadata.xml 475 BLAKE2B 7a7d0f76a01dff35c1f7762dd7510521b9fca790ddc784eb17e7c4f881e0a901c6e359c1e9ad53c32164a8e5bbb22127a9a5117facc0d6aa63c3abb43f655094 SHA512 934718099b8c65b65f34f099d0186cfcd475d4a8c51074ff8e1949082e747c623537c15a6f7a3a625de240a1b6abde8a96bb98598ba38d3f9b3cdc55a96bc83f diff --git a/dev-python/django-soft-delete/metadata.xml b/dev-python/django-soft-delete/metadata.xml index d62f3a220796..a2df676e20ae 100644 --- a/dev-python/django-soft-delete/metadata.xml +++ b/dev-python/django-soft-delete/metadata.xml @@ -1,12 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <maintainer type="project"> + <email>core@liguros.net</email> + <name>Development</name> </maintainer> - <upstream> - <bugs-to>https://github.com/san4ezy/django_softdelete/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>ports</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/drf-writable-nested/metadata.xml b/dev-python/drf-writable-nested/metadata.xml index ef2fbb062efb..a2df676e20ae 100644 --- a/dev-python/drf-writable-nested/metadata.xml +++ b/dev-python/drf-writable-nested/metadata.xml @@ -1,12 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <maintainer type="project"> + <email>core@liguros.net</email> + <name>Development</name> </maintainer> - <upstream> - <bugs-to>https://github.com/beda-software/drf-writable-nested/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>ports</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/ecdsa/ecdsa-0.19.0.ebuild b/dev-python/ecdsa/ecdsa-0.19.0.ebuild index e17085085119..39eeb6a0bed3 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 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos ~x64-macos" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/gmpy/gmpy-2.1.5-r2.ebuild b/dev-python/gmpy/gmpy-2.1.5-r2.ebuild index 49bb90b8ddd7..1f563cf4a76c 100644 --- a/dev-python/gmpy/gmpy-2.1.5-r2.ebuild +++ b/dev-python/gmpy/gmpy-2.1.5-r2.ebuild @@ -23,7 +23,7 @@ SRC_URI+=" LICENSE="LGPL-3+" SLOT="2" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" DEPEND=" >=dev-libs/mpc-1.0.2:= diff --git a/dev-python/humanfriendly/humanfriendly-10.0-r1.ebuild b/dev-python/humanfriendly/humanfriendly-10.0-r1.ebuild deleted file mode 100644 index 78769e47fa81..000000000000 --- a/dev-python/humanfriendly/humanfriendly-10.0-r1.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 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -PYTHON_REQ_USE="threads(+)" -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 pypi - -DESCRIPTION="Human friendly output for text interfaces using Python" -HOMEPAGE="https://pypi.org/project/humanfriendly/ - https://github.com/xolox/python-humanfriendly/ - https://humanfriendly.readthedocs.io/" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux" - -# This is completely broken -# AttributeError: module 'humanfriendly.tests' has no attribute 'connect' -RESTRICT="test" - -BDEPEND=" - test? ( - dev-python/capturer[${PYTHON_USEDEP}] - >=dev-python/coloredlogs-15.0.1[${PYTHON_USEDEP}] - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs - -python_test() { - epytest humanfriendly/tests.py -} diff --git a/dev-python/humanfriendly/humanfriendly-10.0-r2.ebuild b/dev-python/humanfriendly/humanfriendly-10.0-r2.ebuild index 077fe72c41bc..66abcfb26e96 100644 --- a/dev-python/humanfriendly/humanfriendly-10.0-r2.ebuild +++ b/dev-python/humanfriendly/humanfriendly-10.0-r2.ebuild @@ -15,7 +15,7 @@ HOMEPAGE="https://pypi.org/project/humanfriendly/ LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux" BDEPEND=" test? ( diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index 37a64204a00a..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index c09b7356f549..630fe63c6f53 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..736a1167c898 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,12 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/matplotlib/matplotlib-3.9.1.ebuild b/dev-python/matplotlib/matplotlib-3.9.1.ebuild index 63342a49080b..8e9aed8c492d 100644 --- a/dev-python/matplotlib/matplotlib-3.9.1.ebuild +++ b/dev-python/matplotlib/matplotlib-3.9.1.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 excel gtk3 latex qt5 tk webagg wxwidgets" DEPEND=" diff --git a/dev-python/psycopg/psycopg-3.2.1.ebuild b/dev-python/psycopg/psycopg-3.2.1.ebuild index 51c7a3c6a123..8d3f97f2b9a3 100644 --- a/dev-python/psycopg/psycopg-3.2.1.ebuild +++ b/dev-python/psycopg/psycopg-3.2.1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" 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" +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=" diff --git a/dev-python/pygame/Manifest b/dev-python/pygame/Manifest index 4a5df64234de..9d7b5373a2c8 100644 --- a/dev-python/pygame/Manifest +++ b/dev-python/pygame/Manifest @@ -1,2 +1 @@ -DIST pygame-2.5.2.gh.tar.gz 5970857 BLAKE2B 523874926a8fd868f5674ed2997a44decb928fcfe246d551249ed7320a0e908ce46d00f459d187726edf74a4c1038cd56821f6466559fb7d24aa75d16769cbfe SHA512 b54e9b80951c8a9e75666621aafc26874c6dbdab27330146f7217346c76be5627a5464a0102a5968eca0dbd7cced4b2143cd2ff1b6227e3e17e5634854b27f19 DIST pygame-2.6.0.gh.tar.gz 5970025 BLAKE2B 2a7616982675d8d9a5f306bae709e97e87d4f602f12ea553ca4779f858fb88bf92ac2a4e0f8f63ac52096e1829d2f7805edee919d7e96b7764db72e9cb7f4034 SHA512 bdf36314bd2179ab30942efab4e4cb65eff023b6951d1705a46d7cb4b89095e76bf4dcd04e714224355705d3e44283213fbb807973b3b241bf128b78c80044ae diff --git a/dev-python/pygame/files/pygame-2.5.2-error.patch b/dev-python/pygame/files/pygame-2.5.2-error.patch deleted file mode 100644 index 9f2800e29e70..000000000000 --- a/dev-python/pygame/files/pygame-2.5.2-error.patch +++ /dev/null @@ -1,121 +0,0 @@ -From bbed8d293483fa7bd7322f5976641dfe86bf6367 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Ren=C3=A9=20Dudfield?= <renesd@gmail.com> -Date: Sat, 7 Oct 2023 12:05:45 +0200 -Subject: [PATCH 1/2] base: Clean up some error messaging - ---- - src_c/base.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/src_c/base.c b/src_c/base.c -index 1f12a63451..d32c17bdc5 100644 ---- a/src_c/base.c -+++ b/src_c/base.c -@@ -309,11 +309,13 @@ pg_mod_autoquit(const char *modname) - - funcobj = PyObject_GetAttrString(module, "_internal_mod_quit"); - -+ if (PyErr_Occurred()) -+ PyErr_Clear(); -+ - /* If we could not load _internal_mod_quit, load quit function */ - if (!funcobj) - funcobj = PyObject_GetAttrString(module, "quit"); - -- /* Silence errors */ - if (PyErr_Occurred()) - PyErr_Clear(); - -@@ -322,7 +324,6 @@ pg_mod_autoquit(const char *modname) - Py_XDECREF(temp); - } - -- /* Silence errors */ - if (PyErr_Occurred()) - PyErr_Clear(); - - -From d8fae59ff0f3a02fe159cc302c891177af97a41f Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Ren=C3=A9=20Dudfield?= <renesd@gmail.com> -Date: Sat, 7 Oct 2023 12:05:58 +0200 -Subject: [PATCH 2/2] pixelcopy: Clean up some error messaging - ---- - src_c/pixelcopy.c | 27 +++++++++++++++++++++++++++ - 1 file changed, 27 insertions(+) - -diff --git a/src_c/pixelcopy.c b/src_c/pixelcopy.c -index 923072dde8..1d1eaf3267 100644 ---- a/src_c/pixelcopy.c -+++ b/src_c/pixelcopy.c -@@ -767,6 +767,9 @@ surface_to_array(PyObject *self, PyObject *args, PyObject *kwds) - Uint8 opaque = 255; - Uint8 clear = 0; - SDL_Surface *surf; -+ PyObject *type = NULL; -+ PyObject *value = NULL; -+ PyObject *traceback = NULL; - char *keywords[] = {"array", "surface", "kind", "opaque", "clear", 0}; - - if (!PyArg_ParseTupleAndKeywords( -@@ -794,8 +797,16 @@ surface_to_array(PyObject *self, PyObject *args, PyObject *kwds) - if (view_p->ndim == 2) { - if (view_kind == VIEWKIND_RGB) { - if (_copy_mapped(view_p, surf)) { -+ if (PyErr_Occurred()) { -+ PyErr_Fetch(&type, &value, &traceback); -+ PyErr_Clear(); -+ } -+ - pgBuffer_Release(&pg_view); - pgSurface_Unlock(surfobj); -+ if (type) { -+ PyErr_Restore(type, value, traceback); -+ } - return 0; - } - } -@@ -876,6 +887,8 @@ map_array(PyObject *self, PyObject *args) - _pc_pixel_t pixel = {0}; - int pix_bytesize; - Py_ssize_t i; -+ PyObject *type = NULL; -+ PyObject *value, *traceback; - - if (!PyArg_ParseTuple(args, "OOO!", &tar_array, &src_array, - &pgSurface_Type, &format_surf)) { -@@ -889,6 +902,11 @@ map_array(PyObject *self, PyObject *args) - /* Determine array shapes and check validity - */ - if (pgObject_GetBuffer(tar_array, &tar_pg_view, PyBUF_RECORDS)) { -+ if (PyErr_Occurred()) { -+ PyErr_Fetch(&type, &value, &traceback); -+ PyErr_Clear(); -+ } -+ - goto fail; - } - is_tar_alloc = 1; -@@ -912,6 +930,10 @@ map_array(PyObject *self, PyObject *args) - goto fail; - } - if (pgObject_GetBuffer(src_array, &src_pg_view, PyBUF_RECORDS_RO)) { -+ if (PyErr_Occurred()) { -+ PyErr_Fetch(&type, &value, &traceback); -+ PyErr_Clear(); -+ } - goto fail; - } - is_src_alloc = 1; -@@ -1134,6 +1156,11 @@ map_array(PyObject *self, PyObject *args) - pgBuffer_Release(&tar_pg_view); - } - pgSurface_Unlock(format_surf); -+ -+ if (type != NULL) { -+ PyErr_Restore(type, value, traceback); -+ } -+ - return 0; - } - diff --git a/dev-python/pygame/files/pygame-2.5.2-gcc-14.patch b/dev-python/pygame/files/pygame-2.5.2-gcc-14.patch deleted file mode 100644 index 0d74303bbba4..000000000000 --- a/dev-python/pygame/files/pygame-2.5.2-gcc-14.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 504a11fd4855e33ecb945af1270311aa463aae59 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Ren=C3=A9=20Dudfield?= <renesd@gmail.com> -Date: Sun, 19 May 2024 11:12:33 +0200 -Subject: [PATCH] pypm: Fix incorrect param in Pm_OpenInput - ---- - src_c/cython/pygame/pypm.pyx | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/src_c/cython/pygame/pypm.pyx b/src_c/cython/pygame/pypm.pyx -index f2c16c9e2b..54a88fd83a 100644 ---- a/src_c/cython/pygame/pypm.pyx -+++ b/src_c/cython/pygame/pypm.pyx -@@ -106,7 +106,7 @@ cdef extern from "portmidi.h": - PmDeviceID inputDevice, - void *inputDriverInfo, - long bufferSize, -- long (*PmPtr) (), # long = PtTimestamp -+ PmTimeProcPtr time_proc, # long = PtTimestamp - void *time_info) - - PmError Pm_OpenOutput(PortMidiStream** stream, -@@ -538,11 +538,14 @@ cdef class Input: - """Instantiate MIDI input stream object.""" - - cdef PmError err -+ cdef PmTimeProcPtr PmPtr - self.device = input_device - self.debug = 0 - -+ PmPtr = <PmTimeProcPtr>&Pt_Time -+ - err = Pm_OpenInput(&(self.midi), input_device, NULL, buffersize, -- &Pt_Time, NULL) -+ PmPtr, NULL) - if err < 0: - raise Exception(Pm_GetErrorText(err)) - diff --git a/dev-python/pygame/files/pygame-2.5.2-numpy-2.patch b/dev-python/pygame/files/pygame-2.5.2-numpy-2.patch deleted file mode 100644 index 37b702e57280..000000000000 --- a/dev-python/pygame/files/pygame-2.5.2-numpy-2.patch +++ /dev/null @@ -1,135 +0,0 @@ -From 21859cd1b108c2073dfd5fd197714c2b391e3824 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Ren=C3=A9=20Dudfield?= <renesd@gmail.com> -Date: Tue, 21 May 2024 10:24:52 +0200 -Subject: [PATCH 1/3] test: Fix numpy.alltrue imports to import all instead - thanks @mgorny - ---- - test/pixelcopy_test.py | 2 +- - test/sndarray_test.py | 2 +- - test/surfarray_test.py | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/test/pixelcopy_test.py b/test/pixelcopy_test.py -index 6510fd99..46051cd4 100644 ---- a/test/pixelcopy_test.py -+++ b/test/pixelcopy_test.py -@@ -534,7 +534,7 @@ class PixelCopyTestWithArrayNumpy(unittest.TestCase): - - def test_map_array(self): - try: -- from numpy import array, zeros, uint8, int32, alltrue -+ from numpy import array, zeros, uint8, int32, all as alltrue - except ImportError: - return - -diff --git a/test/sndarray_test.py b/test/sndarray_test.py -index 5b624caf..7a7a51f3 100644 ---- a/test/sndarray_test.py -+++ b/test/sndarray_test.py -@@ -1,6 +1,6 @@ - import unittest - --from numpy import int8, int16, uint8, uint16, float32, array, alltrue -+from numpy import int8, int16, uint8, uint16, float32, array, all as alltrue - - import pygame - import pygame.sndarray -diff --git a/test/surfarray_test.py b/test/surfarray_test.py -index 0863da77..a9d53fc4 100644 ---- a/test/surfarray_test.py -+++ b/test/surfarray_test.py -@@ -9,7 +9,7 @@ from numpy import ( - zeros, - float32, - float64, -- alltrue, -+ all as alltrue, - rint, - arange, - ) --- -2.45.2 - -From 4a2ede7b8a1e90c77ab90aadd9c26a2757124923 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Ren=C3=A9=20Dudfield?= <renesd@gmail.com> -Date: Sun, 2 Jun 2024 13:15:26 +0200 -Subject: [PATCH 2/3] sndarray_test: Fix some overflowed data sizes - ---- - test/sndarray_test.py | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/test/sndarray_test.py b/test/sndarray_test.py -index 7a7a51f3..57eb71c3 100644 ---- a/test/sndarray_test.py -+++ b/test/sndarray_test.py -@@ -41,7 +41,7 @@ class SndarrayTest(unittest.TestCase): - 16, 2, [[0, 0xFFFF], [0xFFFF, 0], [0x00FF, 0xFF00], [0x0F0F, 0xF0F0]] - ) - check_array(-8, 1, [0, -0x80, 0x7F, 0x64]) -- check_array(-8, 2, [[0, -0x80], [-0x64, 0x64], [0x25, -0x50], [0xFF, 0]]) -+ check_array(-8, 2, [[0, -0x80], [-0x64, 0x64], [0x25, -0x50], [-1, 0]]) - check_array(-16, 1, [0, 0x7FFF, -0x7FFF, -1]) - check_array(-16, 2, [[0, -0x7FFF], [-0x7FFF, 0], [0x7FFF, 0], [0, 0x7FFF]]) - -@@ -78,13 +78,13 @@ class SndarrayTest(unittest.TestCase): - pygame.mixer.quit() - - check_sound(8, 1, [0, 0x0F, 0xF0, 0xFF]) -- check_sound(8, 2, [[0, 0x80], [0x2D, 0x41], [0x64, 0xA1], [0xFF, 0x40]]) -+ check_sound(8, 2, [[0, 0x80], [0x2D, 0x41], [0x64, 0xA1], [125, 0x40]]) - check_sound(16, 1, [0, 0x00FF, 0xFF00, 0xFFFF]) - check_sound( - 16, 2, [[0, 0xFFFF], [0xFFFF, 0], [0x00FF, 0xFF00], [0x0F0F, 0xF0F0]] - ) - check_sound(-8, 1, [0, -0x80, 0x7F, 0x64]) -- check_sound(-8, 2, [[0, -0x80], [-0x64, 0x64], [0x25, -0x50], [0xFF, 0]]) -+ check_sound(-8, 2, [[0, -0x80], [-0x64, 0x64], [0x25, -0x50], [-1, 0]]) - check_sound(-16, 1, [0, 0x7FFF, -0x7FFF, -1]) - check_sound(-16, 2, [[0, -0x7FFF], [-0x7FFF, 0], [0x7FFF, 0], [0, 0x7FFF]]) - check_sound(32, 2, [[0.0, -1.0], [-1.0, 0], [1.0, 0], [0, 1.0]]) -@@ -123,7 +123,7 @@ class SndarrayTest(unittest.TestCase): - 16, 2, [[0, 0xFFFF], [0xFFFF, 0], [0x00FF, 0xFF00], [0x0F0F, 0xF0F0]] - ) - check_sample(-8, 1, [0, -0x80, 0x7F, 0x64]) -- check_sample(-8, 2, [[0, -0x80], [-0x64, 0x64], [0x25, -0x50], [0xFF, 0]]) -+ check_sample(-8, 2, [[0, -0x80], [-0x64, 0x64], [0x25, -0x50], [-1, 0]]) - check_sample(-16, 1, [0, 0x7FFF, -0x7FFF, -1]) - check_sample(-16, 2, [[0, -0x7FFF], [-0x7FFF, 0], [0x7FFF, 0], [0, 0x7FFF]]) - check_sample(32, 2, [[0.0, -1.0], [-1.0, 0], [1.0, 0], [0, 1.0]]) --- -2.45.2 - -From 184f8b78e6952aa619e961553835c442b3db8d5c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Ren=C3=A9=20Dudfield?= <renesd@gmail.com> -Date: Sun, 2 Jun 2024 13:27:34 +0200 -Subject: [PATCH 3/3] surfarray_test: Fix for value out of uint32 range - -Was in signed 32bit range. ---- - test/surfarray_test.py | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/test/surfarray_test.py b/test/surfarray_test.py -index a9d53fc4..ee74290e 100644 ---- a/test/surfarray_test.py -+++ b/test/surfarray_test.py -@@ -113,10 +113,10 @@ class SurfarrayModuleTest(unittest.TestCase): - - def _fill_array2d(self, arr, surf): - palette = self.test_palette -- arr[:5, :6] = surf.map_rgb(palette[1]) -- arr[5:, :6] = surf.map_rgb(palette[2]) -- arr[:5, 6:] = surf.map_rgb(palette[3]) -- arr[5:, 6:] = surf.map_rgb(palette[4]) -+ arr[:5, :6] = surf.map_rgb(palette[1]) & 0xFFFFFFFF -+ arr[5:, :6] = surf.map_rgb(palette[2]) & 0xFFFFFFFF -+ arr[:5, 6:] = surf.map_rgb(palette[3]) & 0xFFFFFFFF -+ arr[5:, 6:] = surf.map_rgb(palette[4]) & 0xFFFFFFFF - - def _fill_array3d(self, arr): - palette = self.test_palette --- -2.45.2 - diff --git a/dev-python/pygame/pygame-2.5.2-r2.ebuild b/dev-python/pygame/pygame-2.5.2-r2.ebuild deleted file mode 100644 index e5daa8d789ba..000000000000 --- a/dev-python/pygame/pygame-2.5.2-r2.ebuild +++ /dev/null @@ -1,103 +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_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python bindings for SDL multimedia library" -HOMEPAGE=" - https://www.pygame.org/ - https://github.com/pygame/pygame/ - https://pypi.org/project/pygame/ -" -SRC_URI=" - https://github.com/pygame/pygame/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv x86" -IUSE="examples opengl test X" -RESTRICT="!test? ( test )" - -RDEPEND=" - <dev-python/numpy-2[${PYTHON_USEDEP}] - media-libs/freetype - media-libs/libjpeg-turbo:= - media-libs/libpng:= - media-libs/portmidi - media-libs/sdl2-image - media-libs/sdl2-mixer - media-libs/sdl2-ttf - X? ( media-libs/libsdl2[opengl?,threads(+),video,X] ) - !X? ( media-libs/libsdl2[threads(+)] ) -" -DEPEND=" - ${RDEPEND} - test? ( - media-libs/sdl2-image[gif,jpeg,png,tiff,webp] - media-libs/sdl2-mixer[mp3,vorbis,wav] - ) -" -# fontconfig used for fc-list -RDEPEND+=" - media-libs/fontconfig -" -# util-linux provides script -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - media-libs/fontconfig - sys-apps/util-linux - ) -" - -src_prepare() { - local PATCHES=( - # https://github.com/pygame/pygame/pull/4035 - "${FILESDIR}/${P}-error.patch" - # https://github.com/pygame/pygame/pull/4236 - "${FILESDIR}/${P}-gcc-14.patch" - ) - - # some numpy-related crash (not a regression) - # https://github.com/pygame/pygame/issues/4049 - sed -e 's:import numpy:raise ImportError(""):' \ - -i test/pixelcopy_test.py || die - - distutils-r1_src_prepare -} - -python_configure() { - PORTMIDI_INC_PORTTIME=1 LOCALBASE="${EPREFIX}/usr" \ - "${EPYTHON}" "${S}"/buildconfig/config.py || die -} - -python_configure_all() { - find src_c/cython -name '*.pyx' -exec touch {} + || die - "${EPYTHON}" setup.py cython_only || die -} - -python_test() { - local -x SDL_VIDEODRIVER=dummy - local -x SDL_AUDIODRIVER=disk - script -eqc "${EPYTHON} -m pygame.tests -v" || die -} - -python_install() { - distutils-r1_python_install - - # https://bugs.gentoo.org/497720 - rm -fr "${D}$(python_get_sitedir)"/pygame/{docs,examples} || die -} - -python_install_all() { - distutils-r1_python_install_all - use examples && dodoc -r examples -} diff --git a/dev-python/pygame/pygame-2.5.2-r3.ebuild b/dev-python/pygame/pygame-2.5.2-r3.ebuild deleted file mode 100644 index ff14caddfcc4..000000000000 --- a/dev-python/pygame/pygame-2.5.2-r3.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=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python bindings for SDL multimedia library" -HOMEPAGE=" - https://www.pygame.org/ - https://github.com/pygame/pygame/ - https://pypi.org/project/pygame/ -" -SRC_URI=" - https://github.com/pygame/pygame/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv x86" -IUSE="examples opengl test X" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - media-libs/freetype - media-libs/libjpeg-turbo:= - media-libs/libpng:= - media-libs/portmidi - media-libs/sdl2-image - media-libs/sdl2-mixer - media-libs/sdl2-ttf - X? ( media-libs/libsdl2[opengl?,threads(+),video,X] ) - !X? ( media-libs/libsdl2[threads(+)] ) -" -DEPEND=" - ${RDEPEND} - test? ( - media-libs/sdl2-image[gif,jpeg,png,tiff,webp] - media-libs/sdl2-mixer[mp3,vorbis,wav] - ) -" -# fontconfig used for fc-list -RDEPEND+=" - media-libs/fontconfig -" -# util-linux provides script -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - media-libs/fontconfig - sys-apps/util-linux - ) -" - -src_prepare() { - local PATCHES=( - # https://github.com/pygame/pygame/pull/4035 - "${FILESDIR}/${P}-error.patch" - # https://github.com/pygame/pygame/pull/4236 - "${FILESDIR}/${P}-gcc-14.patch" - # https://github.com/pygame/pygame/pull/4240 - # https://github.com/pygame/pygame/pull/4254 - # https://github.com/pygame/pygame/pull/4255 - "${FILESDIR}/${P}-numpy-2.patch" - ) - - # some numpy-related crash (not a regression) - # https://github.com/pygame/pygame/issues/4049 - sed -e 's:import numpy:raise ImportError(""):' \ - -i test/pixelcopy_test.py || die - - distutils-r1_src_prepare -} - -python_configure() { - PORTMIDI_INC_PORTTIME=1 LOCALBASE="${EPREFIX}/usr" \ - "${EPYTHON}" "${S}"/buildconfig/config.py || die -} - -python_configure_all() { - find src_c/cython -name '*.pyx' -exec touch {} + || die - "${EPYTHON}" setup.py cython_only || die -} - -python_test() { - local -x SDL_VIDEODRIVER=dummy - local -x SDL_AUDIODRIVER=disk - script -eqc "${EPYTHON} -m pygame.tests -v" || die -} - -python_install() { - distutils-r1_python_install - - # https://bugs.gentoo.org/497720 - rm -fr "${D}$(python_get_sitedir)"/pygame/{docs,examples} || die -} - -python_install_all() { - distutils-r1_python_install_all - use examples && dodoc -r examples -} diff --git a/dev-python/pygame/pygame-2.6.0.ebuild b/dev-python/pygame/pygame-2.6.0.ebuild index 2f5740ea70c2..43ca899620ae 100644 --- a/dev-python/pygame/pygame-2.6.0.ebuild +++ b/dev-python/pygame/pygame-2.6.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv x86" IUSE="examples opengl test X" RESTRICT="!test? ( test )" diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.1.4.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.1.4.ebuild index 9c3ae917d4ce..1c82c43cb308 100644 --- a/dev-python/pyproject-fmt/pyproject-fmt-2.1.4.ebuild +++ b/dev-python/pyproject-fmt/pyproject-fmt-2.1.4.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" 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/pyproject-fmt-rust-1.1.5[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-import-check/pytest-import-check-0.0.4.ebuild b/dev-python/pytest-import-check/pytest-import-check-0.0.4.ebuild index 2215dac828c5..95854c0ddf95 100644 --- a/dev-python/pytest-import-check/pytest-import-check-0.0.4.ebuild +++ b/dev-python/pytest-import-check/pytest-import-check-0.0.4.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" RDEPEND=" >=dev-python/pytest-8.1[${PYTHON_USEDEP}] diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest index a28b0058ed0c..f92cd46ff33a 100644 --- a/dev-python/pytest/Manifest +++ b/dev-python/pytest/Manifest @@ -2,3 +2,4 @@ DIST pytest-7.4.4.tar.gz 1357116 BLAKE2B 0bf281b3d4b7b2eb7805423a75c8c2befa820cc DIST pytest-8.0.2.tar.gz 1396924 BLAKE2B ad95d246f5592cfe54faea6c96e38cb60d3e2713070d1ff7cab6c42aea312883c5d97c99a930dbcbd8493e966c4b8351320f6494b4ab904afbf21d7e1dd004a7 SHA512 c495943baad05e09b467d23c7afadb3edff7ae93ee96290d6db9e64739236888148b63dff7e8e25b331b11bd48c55fb0ca8901cf823d69b1a922e94915bab2f1 DIST pytest-8.1.2.tar.gz 1410060 BLAKE2B 1379047c5ba434e98a383756c53a9cf31dc3bd3abcc49820f872b9110ec70906ca14080ce17ed2770b71195fbd79627a0eb16ee00429e165368144b20153a02b SHA512 a6ffae29da98ee4c357ebb03f00c4bc1a33f093ef867ad118841695548468c7f229eaa2c029a2ce3b158bbb0a65be5014e91555a223d04c1c72e614cb1d00546 DIST pytest-8.2.2.tar.gz 1427980 BLAKE2B 7f343e5ff05e4d26f816595ad1c52ee2b79d38029e75e3641ed0bbb7477e0a47e5ae48ebc3058a8e9f374cd1a391d360d9eda73eca2e41d8b533eda7948aedcb SHA512 896192f0d41f3fef49915dfea6ae33dbb939f6bbe54de27861bf1554bf87f910702169293e923af9bc40466e7f806aa19ca54cbe41a848c233f70b52bb86a63c +DIST pytest-8.3.1.tar.gz 1438997 BLAKE2B acf50897e018b678231beecc73093788d1b810c47cf81f5d9b156c04f61bfbea00b2c3d49c5ec81d70d0b1f4c3fe084a821c4fa53a200ffe6950177a823a66a2 SHA512 fd650785ec91233242c9ee2a1847d3f4a679cfc4504fa6863410bda2f16527e655261eb285e936219e0bca0d95d958265aa7d3e06401bcd5f5127af3f2809425 diff --git a/dev-python/pytest/pytest-8.3.1.ebuild b/dev-python/pytest/pytest-8.3.1.ebuild new file mode 100644 index 000000000000..0158ceec3c95 --- /dev/null +++ b/dev-python/pytest/pytest-8.3.1.ebuild @@ -0,0 +1,116 @@ +# 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_{8,9,10,11,12} 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 + + # PDB tests seem quite flaky (they time out often) + testing/test_debugging.py::TestPDB + ) + + 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 + ) + ;; + esac + + local EPYTEST_XDIST=1 + epytest +} diff --git a/dev-python/python3-openid/Manifest b/dev-python/python3-openid/Manifest index 04b41fe440b7..62c1b143f240 100644 --- a/dev-python/python3-openid/Manifest +++ b/dev-python/python3-openid/Manifest @@ -1,3 +1 @@ DIST python3-openid-3.2.0.tar.gz 305600 BLAKE2B d793eb61335d7240d5c25324b8377d19781df15012c8da6d5d0d7445c8a7fcb31711156b48d32efae8b6de27509e8f9112535ece7820779ca9b7f2e7be04fb0f SHA512 54412820fef21928e1bf30d16c9bc73d454e9ff41df028a12047c08abdb4c2c9e1d9053daebab8b0327cb0fe0f67e364c2506a47509fef6db5bff42f8399b799 -EBUILD python3-openid-3.2.0.ebuild 679 BLAKE2B 805b4b45756dd30106b964502022b7e4efc53f80ed7730a8b96b1a843a22d330b257fc3c023979f47f857c7ffc67b792de0a36d097683b7ef4507dbea1fbf54f SHA512 0b6a07d5e6ae7b5062a275ef1d6de9ac1063504633d2270a2ab47cd5f2c6c9032db298d5f5f2b1e604845cff6aad773e51120262e6e889982f4507d5e0075daa -MISC metadata.xml 465 BLAKE2B 13d59e0e7c411bebdf18756721d500782b64ab134a8d824d0affc897079e8dcabdbfd49f3c6a437124b6cc0a8a61dc4f80696979e17c404942d66b841b61e850 SHA512 9df2e6d83ce3d3b8b3d9e752d2d9b3b80330cfc40a91dfd894d7ddba982af4433b68abfd402d64d7a2459624bcc02df1f29356e96d363a3f4b7a3abc0b4f123e diff --git a/dev-python/python3-openid/metadata.xml b/dev-python/python3-openid/metadata.xml index a38793ddd6e5..a2df676e20ae 100644 --- a/dev-python/python3-openid/metadata.xml +++ b/dev-python/python3-openid/metadata.xml @@ -1,12 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <maintainer type="project"> + <email>core@liguros.net</email> + <name>Development</name> </maintainer> - <upstream> - <bugs-to>https://github.com/necaris/python3-openid/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>ports</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/rapidfuzz/Manifest b/dev-python/rapidfuzz/Manifest index ef5430669250..9fedb67168c0 100644 --- a/dev-python/rapidfuzz/Manifest +++ b/dev-python/rapidfuzz/Manifest @@ -1,2 +1 @@ -DIST rapidfuzz-3.9.3.tar.gz 1595645 BLAKE2B 1e7400ba3dea0a4c90939503d4f50e963d0241f40ce207d53ab4aa421f51ffa20ff574ad5363e4a21dc3482f764731dfe7726bfaaee873f3d9674efbd5dc3108 SHA512 730569e14bf512a2e90039a937006eb7d26ffb4dfb5e926e8277d1048b9a520fe970c9fa908d1f330eb37030b1053541845175eceac8b651863b59b76ec387f5 DIST rapidfuzz-3.9.4.tar.gz 1595863 BLAKE2B ba835b6d1c5bc7da99ae7202ae469d9a1d069ea0351b732a701abbadfbe1539a389efb051cd58e462505ebcf6020b60ec6413d9f44bbfd63a0dc8419cded9722 SHA512 4494d86f17e7b4ae51639f1d2941d4e313c26739787f3a47261a5d5bf26da4091d918e1603e2199774edd5e1b91d67446b762a81e6b98496d67fbddb93effe21 diff --git a/dev-python/rapidfuzz/rapidfuzz-3.9.3-r1.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.9.3-r1.ebuild deleted file mode 100644 index bbc6b29fb1ab..000000000000 --- a/dev-python/rapidfuzz/rapidfuzz-3.9.3-r1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2022-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_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" -HOMEPAGE=" - https://github.com/rapidfuzz/RapidFuzz/ - https://pypi.org/project/rapidfuzz/ -" - -LICENSE="MIT" -SLOT="0" -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.4 - dev-python/numpy[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/cython-3[${PYTHON_USEDEP}] - >=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # sterilize build flags - sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die - # remove bundled libraries - rm -r extern || die - # force recythonization - find src -name '*.cxx' -delete || die - # do not require exact taskflow version - sed -i -e '/Taskflow/s:3\.7\.0::' CMakeLists.txt || die - - distutils-r1_src_prepare - - export RAPIDFUZZ_BUILD_EXTENSION=1 -} - -python_compile() { - distutils-r1_python_compile - - # scikit-build is broken and reuses the same build - # https://github.com/scikit-build/scikit-build/issues/633 - rm -r _skbuild || die -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/rapidfuzz/rapidfuzz-3.9.4.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.9.4.ebuild index c064e29fa174..e797c6c3ca4a 100644 --- a/dev-python/rapidfuzz/rapidfuzz-3.9.4.ebuild +++ b/dev-python/rapidfuzz/rapidfuzz-3.9.4.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/sphinx-autoapi/Manifest b/dev-python/sphinx-autoapi/Manifest index 54d210ca0fce..e7d25ff332d2 100644 --- a/dev-python/sphinx-autoapi/Manifest +++ b/dev-python/sphinx-autoapi/Manifest @@ -1 +1,2 @@ DIST sphinx-autoapi-3.1.2.gh.tar.gz 68260 BLAKE2B 31315fb298f7dae78c10f839e2738340eaf68d5497f22368c50f14309a564d1c5636015a715a9f99080a4f753416a10c63147e63dfcd53a27d7466ad422f95c4 SHA512 18e4a49e831446fa14278ffda4fec703f3b2c86654ce78fa7f4b89e5a41f1e6b19ea76cb64e7290a3125dc027a2de8aa052495a8bfd4bcc1828780f762e81957 +DIST sphinx-autoapi-3.2.0.gh.tar.gz 68693 BLAKE2B f9d70febea444a12c4db906614223415f51e649c3cb02770ca24e7274cb1e6c64a86802545ff1cb7b22e0e63bb63ceaaf1c27e487982a3d8d45e750a497dda01 SHA512 d14d62d4ab414f54f0066a63de490c293fbbbb1ca364b3094ca915fcb7765f373650a933026bf9582aeafb5556efb83c72a907f17c5168888bcfd7cbad081583 diff --git a/dev-python/sphinx-autoapi/sphinx-autoapi-3.2.0.ebuild b/dev-python/sphinx-autoapi/sphinx-autoapi-3.2.0.ebuild new file mode 100644 index 000000000000..0405fcac85d4 --- /dev/null +++ b/dev-python/sphinx-autoapi/sphinx-autoapi-3.2.0.ebuild @@ -0,0 +1,50 @@ +# 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_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="A new approach to API documentation in Sphinx" +HOMEPAGE=" + https://sphinx-autoapi.readthedocs.io/ + https://github.com/readthedocs/sphinx-autoapi/ + https://pypi.org/project/sphinx-autoapi/ +" +# sdist is missing docs, as of 2.1.0 +SRC_URI=" + https://github.com/readthedocs/sphinx-autoapi/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/astroid-3.0.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/sphinx-6.1.0[${PYTHON_USEDEP}] +" + +BDEPEND+=" + test? ( dev-python/beautifulsoup4[${PYTHON_USEDEP}] ) +" + +DOCS=( README.rst CHANGELOG.rst ) + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/python/test_pyintegration.py::TestPEP695::test_integration + tests/python/test_pyintegration.py::TestPipeUnionModule::test_integration + "tests/test_integration.py::TestExtensionErrors::test_extension_setup_errors[dotnetexample" + ) + + distutils-r1_python_test +} diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest index d5846cf1f623..1d6e00a9df4d 100644 --- a/dev-python/sphinx/Manifest +++ b/dev-python/sphinx/Manifest @@ -1,6 +1,4 @@ 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 -DIST sphinx-7.4.0.gh.tar.gz 8186356 BLAKE2B 968d2bc887c6326c44c741cfdfeb67bb303c718d4283d8149b1ab7bafa84ef7f3ef5ff3fd72b82a207846e91bda3fff72ed6c8953c1bcf8482bc79b992f636f3 SHA512 fea84f86e414bba741537f4db68a1f0e0922f8fe6eea5e0eefac4a76bfb30d5eb97eb5590404c7e427b03c57b589844ebba8ef5f3f6d786ca91bb2dbbc704d8f -DIST sphinx-7.4.4.gh.tar.gz 8184232 BLAKE2B cf75b1dc39d194293845a621c12246fd78249541634dc5edee6ed6da15285ab763223729a63ef2c375215a394c12e189333d248b7f047195b66d8e7c6706ed18 SHA512 4f2ef5f0c4270517a12b9dc169903ece7ec809687c14961522c37a5ea829d1624ee45926a5fe48fefce77ac73b5dc4035e2452b2b6c4bbdf14c06e9201596f66 -DIST sphinx-7.4.5.gh.tar.gz 8187162 BLAKE2B 95aa15db43abfb9671c3d7a3094525afb4f3a56eda6ef6c81a2e669b3d6512ff8a5e7c0c6f29614abe06316fbea1fef34f8b6884ed04c1e060e043f04950748c SHA512 649d8776561fe0fc3452302cafe01cca66680db19ab5283d34656023ab78f9803d3cd33156aeb00c8d5d205f78afbc75d0d676a44ace52a86e51200afd14fb3a DIST sphinx-7.4.6.gh.tar.gz 8187130 BLAKE2B 69cf73dc3644ac0fbb4e2d26ee07652b4a16bb2d87fba1a6f5a3dba74533af470d2449658eb7029479618d47ea34d6dc896126cfe330d31b343c0a3300ba90b3 SHA512 7015aa5b926856e1e3ed35b559a78dbeb8a1746028f4a488a3237c65ea5eb786a9feff05649b8126395c6f8277802a093c704ca13e941d3aab561b2fca8b0de8 +DIST sphinx-7.4.7.gh.tar.gz 8135111 BLAKE2B b5a511355b16edfbcf32f9a20855466251c592a7fbffa33a84d84369f2a9de7767cd9529cce3f350cdf25bfbb53534ddea70d9482c1d6d78e9ab160d2c9821e8 SHA512 bfb48d4dc09f108986c5b7737710c7495fbdd83eb18f2a1c77bc9d324c499bffb5103f65ebf7396260f10c0f89eddb1ae5eb8d037bd33fffd748483f4391a7e1 diff --git a/dev-python/sphinx/sphinx-7.4.4.ebuild b/dev-python/sphinx/sphinx-7.4.4.ebuild deleted file mode 100644 index ae5dfe3be3ca..000000000000 --- a/dev-python/sphinx/sphinx-7.4.4.ebuild +++ /dev/null @@ -1,141 +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_{8,9,10,11,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.13[${PYTHON_USEDEP}] - <dev-python/docutils-0.22[${PYTHON_USEDEP}] - >=dev-python/docutils-0.20[${PYTHON_USEDEP}] - >=dev-python/imagesize-1.3[${PYTHON_USEDEP}] - >=dev-python/jinja-3.1[${PYTHON_USEDEP}] - >=dev-python/packaging-23.0[${PYTHON_USEDEP}] - >=dev-python/pygments-2.14[${PYTHON_USEDEP}] - >=dev-python/requests-2.30.0[${PYTHON_USEDEP}] - >=dev-python/snowballstemmer-2.2[${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}] - $(python_gen_cond_dep ' - >=dev-python/tomli-2[${PYTHON_USEDEP}] - ' 3.10) - latex? ( - dev-texlive/texlive-latexextra - dev-texlive/texlive-luatex - app-text/dvipng - ) -" -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" -) - -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=( - # less interesting failures - tests/test_builders/test_build_latex.py::test_build_latex_doc - tests/test_extensions/test_ext_math.py::test_imgmath_png - tests/test_extensions/test_ext_math.py::test_imgmath_numfig_html - ) - case ${EPYTHON} in - python3.13) - EPYTEST_DESELECT+=( - tests/test_extensions/test_ext_autodoc.py::test_autodoc_special_members - tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_type_aliases - tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_format_fully_qualified - tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_none - tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_signature - ) - ;; - 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/sphinx/sphinx-7.4.5.ebuild b/dev-python/sphinx/sphinx-7.4.5.ebuild deleted file mode 100644 index ae5dfe3be3ca..000000000000 --- a/dev-python/sphinx/sphinx-7.4.5.ebuild +++ /dev/null @@ -1,141 +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_{8,9,10,11,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.13[${PYTHON_USEDEP}] - <dev-python/docutils-0.22[${PYTHON_USEDEP}] - >=dev-python/docutils-0.20[${PYTHON_USEDEP}] - >=dev-python/imagesize-1.3[${PYTHON_USEDEP}] - >=dev-python/jinja-3.1[${PYTHON_USEDEP}] - >=dev-python/packaging-23.0[${PYTHON_USEDEP}] - >=dev-python/pygments-2.14[${PYTHON_USEDEP}] - >=dev-python/requests-2.30.0[${PYTHON_USEDEP}] - >=dev-python/snowballstemmer-2.2[${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}] - $(python_gen_cond_dep ' - >=dev-python/tomli-2[${PYTHON_USEDEP}] - ' 3.10) - latex? ( - dev-texlive/texlive-latexextra - dev-texlive/texlive-luatex - app-text/dvipng - ) -" -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" -) - -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=( - # less interesting failures - tests/test_builders/test_build_latex.py::test_build_latex_doc - tests/test_extensions/test_ext_math.py::test_imgmath_png - tests/test_extensions/test_ext_math.py::test_imgmath_numfig_html - ) - case ${EPYTHON} in - python3.13) - EPYTEST_DESELECT+=( - tests/test_extensions/test_ext_autodoc.py::test_autodoc_special_members - tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_type_aliases - tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_format_fully_qualified - tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_none - tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_signature - ) - ;; - 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/sphinx/sphinx-7.4.0.ebuild b/dev-python/sphinx/sphinx-7.4.7.ebuild index ae5dfe3be3ca..fc49ec061c2a 100644 --- a/dev-python/sphinx/sphinx-7.4.0.ebuild +++ b/dev-python/sphinx/sphinx-7.4.7.ebuild @@ -60,6 +60,7 @@ BDEPEND=" app-text/dvipng >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] >=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] >=dev-python/setuptools-67.0[${PYTHON_USEDEP}] dev-texlive/texlive-fontsextra dev-texlive/texlive-latexextra @@ -100,7 +101,7 @@ python_test() { tests/test_extensions/test_ext_math.py::test_imgmath_numfig_html ) case ${EPYTHON} in - python3.13) + python3.13x) EPYTEST_DESELECT+=( tests/test_extensions/test_ext_autodoc.py::test_autodoc_special_members tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_type_aliases @@ -137,5 +138,5 @@ python_test() { # note: pytest-xdist causes random test failures local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest + epytest -p rerunfailures --reruns=5 } diff --git a/dev-python/sphinxcontrib-htmlhelp/Manifest b/dev-python/sphinxcontrib-htmlhelp/Manifest index 75fc7d08699a..612f0d0ee81e 100644 --- a/dev-python/sphinxcontrib-htmlhelp/Manifest +++ b/dev-python/sphinxcontrib-htmlhelp/Manifest @@ -1 +1,2 @@ DIST sphinxcontrib_htmlhelp-2.0.5.tar.gz 21925 BLAKE2B ba023e53c14b5427b09a9608cfc45ccdf932d4c27cce40932088fadb127ebfe50d7b2639513589469facf108fdc748e0f07195766e6e4bc67d26c50d00a2bf75 SHA512 537ef6a1a32863728a6324fcd50f9374e4f488ed7ed112f9f0ceb9e4488637f502280dda21835e8d63c6b6297d2a3db3032c3f307dce5948b516f293d07b9711 +DIST sphinxcontrib_htmlhelp-2.0.6.tar.gz 21957 BLAKE2B 44b03832d8b89978062028be32a1253f2d5f2134b83f7e95fc685ab669ae3b4131dbad452e49d84cef56993a701f1cc1fbf1f50583fdc114eed7a05ad261c5ac SHA512 842194261315b35c470dee36ea7945b73dd08338f2b86d542b3a21d1cb900a2fbe0ba8ec2412589b4c8993b71d88b0e4fcfb0e3316db61c8ba2989811d3e073e diff --git a/dev-python/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-2.0.6.ebuild b/dev-python/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-2.0.6.ebuild new file mode 100644 index 000000000000..4b368dea4d7b --- /dev/null +++ b/dev-python/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-2.0.6.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_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Sphinx extension which outputs HTML help book" +HOMEPAGE=" + https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/ + https://pypi.org/project/sphinxcontrib-htmlhelp/ +" + +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" + +PDEPEND=" + >=dev-python/sphinx-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${PDEPEND} + dev-python/html5lib[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/sphinxcontrib-qthelp/Manifest b/dev-python/sphinxcontrib-qthelp/Manifest index 0c6c050e6cab..21cecfa12ef2 100644 --- a/dev-python/sphinxcontrib-qthelp/Manifest +++ b/dev-python/sphinxcontrib-qthelp/Manifest @@ -1 +1,2 @@ DIST sphinxcontrib_qthelp-1.0.7.tar.gz 16685 BLAKE2B dbe4518134f31f9283a1de4a9f7c1b1fd59e3c639923dd5a84fe1c60323f8c0fbf31942ab51724241bf8865b78c5c83bc7c2187d7209b1c55027245cae2bd271 SHA512 fa11be5f663a0784a59ee18deaa8d497eeb4d5311fd86f75d48f40b70d8c0c868bd8625a001da274379d2b3412447abd810cb44af42f8a252cbcc31c400884c9 +DIST sphinxcontrib_qthelp-1.0.8.tar.gz 16778 BLAKE2B 71c0639f526e3a83bb5c47706e0073234a40691d22337cb41920f612fdd2798731b6d84cde2744e24e545c9d23559a48cc94ecdf49f887404370c3ef3f698756 SHA512 d3bde9e5e8ace4f58fc76bea22fdd7740a503f46a671f52f836039cd85f62733187b87395669bb2566de451c4de253725316ff97ca3c910b8dd31149c3c80331 diff --git a/dev-python/sphinxcontrib-qthelp/sphinxcontrib-qthelp-1.0.8.ebuild b/dev-python/sphinxcontrib-qthelp/sphinxcontrib-qthelp-1.0.8.ebuild new file mode 100644 index 000000000000..13ff49468a58 --- /dev/null +++ b/dev-python/sphinxcontrib-qthelp/sphinxcontrib-qthelp-1.0.8.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_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Sphinx extension which outputs QtHelp documents" +HOMEPAGE=" + https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinxcontrib-qthelp/ + https://pypi.org/project/sphinxcontrib-qthelp/ +" + +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" + +PDEPEND=" + >=dev-python/sphinx-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] + ${PDEPEND} + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index bc46bcf0ba84..e76aef54cc9b 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -1,2 +1 @@ -DIST tox-4.15.0.tar.gz 179243 BLAKE2B ba126d2dbe9598667570e1798567cf2301a60ca4859947b0b5cd15603b6f1b9c1b557bc090973a3c99960c29242edbb684d9ab81b90ecca3ac020b129a033850 SHA512 a113d8e921301dc4bc39e03103f8857604b28beedc49c764315cf99694e8a351b965e0e1b7d91555ce437a1cbb2bce0e1dd645b7c92c36e8e0e1dedcf610d1af DIST tox-4.16.0.tar.gz 179738 BLAKE2B 24ab57b05504ca8d4ef39c164604e5cc8150d722d0d0258bac8fe35b0dcf7ee31625734c65cabb26b4c49f377fe9b2be65f8d84481f7aee7307f9499e6498929 SHA512 b3d65c5b4f086f1f0474d6cb08d3d4bcdf81735376a94e97997ab5dee5c726e71e8b9a1117eda59f9afd61be0bff38a9533faf16e76b78b504ff6de0f2ddfde0 diff --git a/dev-python/tox/tox-4.15.0.ebuild b/dev-python/tox/tox-4.15.0.ebuild deleted file mode 100644 index 8af62dc4823b..000000000000 --- a/dev-python/tox/tox-4.15.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=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="virtualenv-based automation of test activities" -HOMEPAGE=" - https://tox.readthedocs.io/ - https://github.com/tox-dev/tox/ - https://pypi.org/project/tox/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/cachetools[${PYTHON_USEDEP}] - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/platformdirs[${PYTHON_USEDEP}] - dev-python/pluggy[${PYTHON_USEDEP}] - dev-python/pyproject-api[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.{9..10}) - dev-python/virtualenv[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/build[${PYTHON_USEDEP}] - dev-python/distlib[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/psutil[${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}] - ' 'python*') - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # upstream lower bounds are meaningless - sed -i -e 's:>=[0-9.]*::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - # devpi_process is not packaged, and has lots of dependencies - cat > "${T}"/devpi_process.py <<-EOF || die - def IndexServer(*args, **kwargs): raise NotImplementedError() - EOF - - local -x PYTHONPATH=${T}:${PYTHONPATH} - local EPYTEST_DESELECT=( - # Internet - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_run_installpkg_targz - ) - local EPYTEST_IGNORE=( - # requires devpi* - tests/test_provision.py - ) - - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[constraints-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit+requirements-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_indirect-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_constraints_indirect-True-True]' - ) - - epytest -} diff --git a/dev-python/tox/tox-4.16.0.ebuild b/dev-python/tox/tox-4.16.0.ebuild index c4c03e498202..0f77ce68acde 100644 --- a/dev-python/tox/tox-4.16.0.ebuild +++ b/dev-python/tox/tox-4.16.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" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/cachetools[${PYTHON_USEDEP}] diff --git a/dev-python/uvicorn/Manifest b/dev-python/uvicorn/Manifest index df55a976f3b5..b3631e37f299 100644 --- a/dev-python/uvicorn/Manifest +++ b/dev-python/uvicorn/Manifest @@ -1 +1,2 @@ DIST uvicorn-0.30.1.gh.tar.gz 722580 BLAKE2B 33cb5683bf8d3f3bbc2a17a354356adee2be66259cd79413c9f1ef698485c46060a609a8f0a28cef05de71631569ac61c12aad6913a3243f45eb7e1691a481ea SHA512 ce705c1e99ca0feff3f82e067c0df9e21dea6ff3789541757edbc686718bcb0c80be392fd75f7c0962c5d7251e7e3e441e97633057dcb43e565c48a4d6b3d392 +DIST uvicorn-0.30.3.gh.tar.gz 723748 BLAKE2B 8191491ebbccf8586e668bc6c14ce0a526d958ee1bf618cbf714bcb0932c36e14bfa4365a3ce88129180dcb0a2ac62b65fd977262f936b31a84267e3d41a971e SHA512 de6299c4b93bb14ea5ef466d2ebb91e24c2b9ae3e47158e924ae8c1f1e58a3fffd39e3e001e647afa47512f9481f5a3e2cce613427600200bcf27c4143c4e608 diff --git a/dev-python/uvicorn/uvicorn-0.30.3.ebuild b/dev-python/uvicorn/uvicorn-0.30.3.ebuild new file mode 100644 index 000000000000..171f3a489763 --- /dev/null +++ b/dev-python/uvicorn/uvicorn-0.30.3.ebuild @@ -0,0 +1,75 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Lightning-fast ASGI server implementation" +HOMEPAGE=" + https://www.uvicorn.org/ + https://github.com/encode/uvicorn/ + https://pypi.org/project/uvicorn/ +" +# as of 0.28.0, no tests in sdist +SRC_URI=" + https://github.com/encode/uvicorn/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/asgiref-3.4.0[${PYTHON_USEDEP}] + >=dev-python/click-7.0[${PYTHON_USEDEP}] + >=dev-python/h11-0.8[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/a2wsgi[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/websockets-10.4[${PYTHON_USEDEP}] + dev-python/wsproto[${PYTHON_USEDEP}] + test-rust? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/watchfiles[${PYTHON_USEDEP}] + ) + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # too long path for unix socket + tests/test_config.py::test_bind_unix_socket_works_with_reload_or_workers + ) + case ${EPYTHON} in + pypy3) + # TODO + EPYTEST_DESELECT+=( + tests/middleware/test_logging.py::test_running_log_using_fd + ) + ;; + esac + + epytest +} + +pkg_postinst() { + optfeature "auto reload on file changes" dev-python/watchfiles +} diff --git a/dev-python/versioningit/Manifest b/dev-python/versioningit/Manifest index 31f48286f517..9d28d21fc071 100644 --- a/dev-python/versioningit/Manifest +++ b/dev-python/versioningit/Manifest @@ -1 +1,2 @@ DIST versioningit-3.1.1.tar.gz 212882 BLAKE2B 786af766a5e85ea426dee02d1ae888b0a50712f9d154690302b3fdb1f4aa037a931612ad3f1f169a3d8f3481db09da895cf3ba7dcbc7d2f256b3b8622334e08e SHA512 f8e23834324f785b93668f4cb55d57885cf96e9ca16f1d6a06c3610dd00a79c018960fe52aff5fe4cc735b5fcec27be1ceb151a88e0e9a447cba750dd6956816 +DIST versioningit-3.1.2.tar.gz 213047 BLAKE2B d34f3d14a667e84a0d7f17fa9de59bbb4d900d466120879939dfb9586b20ee45c6f33991c586438e47cc58de70db03996ade0561a91efffeee49545ac5f1ef97 SHA512 0e09a51ed9a137ffa9a66c2a8b4c43131bd27d07e35b896248d963a780f955d6bf37de29c04e41acf06dd636a3609d045e359b28429d7272fad6187db7748c3c diff --git a/dev-python/versioningit/versioningit-3.1.2.ebuild b/dev-python/versioningit/versioningit-3.1.2.ebuild new file mode 100644 index 000000000000..3849504db724 --- /dev/null +++ b/dev-python/versioningit/versioningit-3.1.2.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=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A setuptools plugin for versioning based on git tags" +HOMEPAGE=" + https://github.com/jwodder/versioningit/ + https://pypi.org/project/versioningit/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/packaging-17.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + <dev-python/tomli-3[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/pydantic[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # Tries to do wheel/pip installs + test/test_end2end.py +) + +distutils_enable_tests pytest + +python_test() { + epytest -o addopts= +} |
