diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-04-14 18:45:23 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-04-14 18:45:23 +0000 |
| commit | 8fdc3a2b9cc2cfe01893b9cb3f923c210287b0f1 (patch) | |
| tree | 67723745baeb547a82176791d74b80470cdb8d29 /dev-python | |
| parent | 63e9c2d7721dccfc29927b157ad9c1934f727820 (diff) | |
| download | baldeagleos-repo-8fdc3a2b9cc2cfe01893b9cb3f923c210287b0f1.tar.gz baldeagleos-repo-8fdc3a2b9cc2cfe01893b9cb3f923c210287b0f1.tar.xz baldeagleos-repo-8fdc3a2b9cc2cfe01893b9cb3f923c210287b0f1.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
47 files changed, 381 insertions, 155 deletions
diff --git a/dev-python/IPy/IPy-1.01-r1.ebuild b/dev-python/IPy/IPy-1.01-r1.ebuild index 3636c9daf7f7..8976e890142f 100644 --- a/dev-python/IPy/IPy-1.01-r1.ebuild +++ b/dev-python/IPy/IPy-1.01-r1.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_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 + PYTHON_COMPAT=( python3_{8,9,10,11,12} ) inherit distutils-r1 pypi diff --git a/dev-python/OutputCheck/OutputCheck-0.4.2-r1.ebuild b/dev-python/OutputCheck/OutputCheck-0.4.2-r2.ebuild index de5c32ea6557..2f0636874995 100644 --- a/dev-python/OutputCheck/OutputCheck-0.4.2-r1.ebuild +++ b/dev-python/OutputCheck/OutputCheck-0.4.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 @@ -10,7 +10,8 @@ inherit distutils-r1 DESCRIPTION="A tool for checking the output of console programs inspired by LLVM's FileCheck" HOMEPAGE="https://github.com/stp/OutputCheck/" -SRC_URI="https://github.com/stp/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" +SRC_URI="https://github.com/stp/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" LICENSE="BSD" SLOT="0" @@ -20,20 +21,18 @@ RESTRICT="!test? ( test )" BDEPEND="test? ( dev-python/lit[${PYTHON_USEDEP}] )" -PATCHES=( "${FILESDIR}"/${P}-Driver.patch ) +PATCHES=( "${FILESDIR}/${PN}-0.4.2-Driver.patch" ) src_prepare() { distutils-r1_src_prepare # Remove bad tests. - rm "${S}"/tests/invalid-regex-syntax.smt2 || - die "failed to remove bad tests" + rm "${S}/tests/invalid-regex-syntax.smt2" || die "failed to remove bad tests" # Create RELEASE-VERSION file. - echo ${PV} > "${S}"/RELEASE-VERSION || - die "failed to write RELEASE-VERSION" + echo "${PV}" > "${S}/RELEASE-VERSION" || die "failed to write RELEASE-VERSION" } python_test() { - lit --verbose "${S}"/tests || die "running test with ${EPYTHON} failed" + lit --verbose "${S}/tests" || die "running test with ${EPYTHON} failed" } diff --git a/dev-python/PyRSS2Gen/PyRSS2Gen-1.1-r2.ebuild b/dev-python/PyRSS2Gen/PyRSS2Gen-1.1-r2.ebuild index a9e5c74939ec..6a409d814311 100644 --- a/dev-python/PyRSS2Gen/PyRSS2Gen-1.1-r2.ebuild +++ b/dev-python/PyRSS2Gen/PyRSS2Gen-1.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 EAPI=8 diff --git a/dev-python/antlr4-python3-runtime/antlr4-python3-runtime-4.13.1.ebuild b/dev-python/antlr4-python3-runtime/antlr4-python3-runtime-4.13.1.ebuild index 60280cc47350..54fa5e4900f8 100644 --- a/dev-python/antlr4-python3-runtime/antlr4-python3-runtime-4.13.1.ebuild +++ b/dev-python/antlr4-python3-runtime/antlr4-python3-runtime-4.13.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 @@ -25,6 +25,13 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" +src_prepare() { + # https://github.com/antlr/antlr4/pull/4593 + sed -i -e 's:assertEquals:assertEqual:' tests/TestIntervalSet.py || die + + distutils-r1_src_prepare +} + python_test() { "${EPYTHON}" tests/run.py -v || die "Tests failed with ${EPYTHON}" } diff --git a/dev-python/cryptography/cryptography-42.0.3.ebuild b/dev-python/cryptography/cryptography-42.0.3-r1.ebuild index f141d8de52d7..1f08aea67da8 100644 --- a/dev-python/cryptography/cryptography-42.0.3.ebuild +++ b/dev-python/cryptography/cryptography-42.0.3-r1.ebuild @@ -6,8 +6,6 @@ CARGO_OPTIONAL=yes PYTHON_COMPAT=( python3_{8,9,10,11,12} ) PYTHON_REQ_USE="threads(+)" - - CRATES=" asn1-0.15.5 asn1_derive-0.15.5 @@ -81,7 +79,7 @@ IUSE="libressl" RDEPEND=" !libressl? ( >=dev-libs/openssl-1.0.2o-r6:0= ) - libressl? ( >=dev-libs/libressl-3.6.0:0= ) + libressl? ( <=dev-libs/libressl-3.8.1:= ) $(python_gen_cond_dep ' >=dev-python/cffi-1.8:=[${PYTHON_USEDEP}] ' 'python*') diff --git a/dev-python/cryptography/cryptography-42.0.5.ebuild b/dev-python/cryptography/cryptography-42.0.5-r1.ebuild index e2f88969b1b0..0009b7b1518f 100644 --- a/dev-python/cryptography/cryptography-42.0.5.ebuild +++ b/dev-python/cryptography/cryptography-42.0.5-r1.ebuild @@ -6,7 +6,6 @@ CARGO_OPTIONAL=yes PYTHON_COMPAT=( python3_{8,9,10,11,12} ) PYTHON_REQ_USE="threads(+)" - CRATES=" asn1-0.15.5 asn1_derive-0.15.5 @@ -81,7 +80,7 @@ IUSE="libressl" RDEPEND=" !libressl? ( >=dev-libs/openssl-1.0.2o-r6:0= ) - libressl? ( >=dev-libs/libressl-3.6.0:0= ) + libressl? ( <=dev-libs/libressl-3.8.1:= ) $(python_gen_cond_dep ' >=dev-python/cffi-1.8:=[${PYTHON_USEDEP}] ' 'python*') diff --git a/dev-python/dbus-next/dbus-next-0.2.3-r1.ebuild b/dev-python/dbus-next/dbus-next-0.2.3-r1.ebuild index c58252714310..f4b2973c4aac 100644 --- a/dev-python/dbus-next/dbus-next-0.2.3-r1.ebuild +++ b/dev-python/dbus-next/dbus-next-0.2.3-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 @@ -22,7 +22,7 @@ S="${WORKDIR}"/python-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~riscv ~x86" +KEYWORDS="amd64 ~arm64 ~riscv x86" BDEPEND=" test? ( @@ -36,6 +36,11 @@ PATCHES=( "${FILESDIR}"/${PN}-0.2.3-glib-crash.patch ) +EPYTEST_DESELECT=( + # test does not work anymore with dbus 1.14.4+ + # https://github.com/altdesktop/python-dbus-next/issues/135 + test/test_tcp_address.py::test_tcp_connection_with_forwarding +) EPYTEST_IGNORE=( # "interface not found on this object: org.freedesktop.DBus.Debug.Stats" # Seems like we build dbus w/o this? diff --git a/dev-python/django_polymorphic/Manifest b/dev-python/django-polymorphic/Manifest index 8678dcfcd1fa..6b3175e1e369 100644 --- a/dev-python/django_polymorphic/Manifest +++ b/dev-python/django-polymorphic/Manifest @@ -1 +1 @@ -DIST django_polymorphic-3.1.gh.tar.gz 104090 BLAKE2B de2a2b38f338a10198d00e70d1813e541bf627e2ba2f5e29f0844c9ec7034badba39c077a195fc8c2f71105f1b4e546b91218b95d2ac47020f0dc2e3a5b0baa8 SHA512 730f617009007f94e935870941fdd8973d0cd5995060afbd138622345de77fa48bf2afe037bfa2ad476cef0a31e90cab1eb55109c470ae815a98e1facfa8f125 +DIST django-polymorphic-3.1.gh.tar.gz 104090 BLAKE2B de2a2b38f338a10198d00e70d1813e541bf627e2ba2f5e29f0844c9ec7034badba39c077a195fc8c2f71105f1b4e546b91218b95d2ac47020f0dc2e3a5b0baa8 SHA512 730f617009007f94e935870941fdd8973d0cd5995060afbd138622345de77fa48bf2afe037bfa2ad476cef0a31e90cab1eb55109c470ae815a98e1facfa8f125 diff --git a/dev-python/django_polymorphic/django_polymorphic-3.1-r1.ebuild b/dev-python/django-polymorphic/django-polymorphic-3.1-r1.ebuild index 75238a6c8429..0c7760f5a1b5 100644 --- a/dev-python/django_polymorphic/django_polymorphic-3.1-r1.ebuild +++ b/dev-python/django-polymorphic/django-polymorphic-3.1-r1.ebuild @@ -1,22 +1,26 @@ -# 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_{8,9,10,11,12} ) + inherit distutils-r1 DESCRIPTION="Seamless Polymorphic Inheritance for Django Models" -HOMEPAGE="https://pypi.org/project/django-polymorphic/" +HOMEPAGE=" + https://github.com/jazzband/django-polymorphic/ + https://pypi.org/project/django-polymorphic/ +" SRC_URI=" - https://github.com/django-polymorphic/django-polymorphic/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz" -S="${WORKDIR}/${P//_/-}" + https://github.com/jazzband/django-polymorphic/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" LICENSE="BSD" -KEYWORDS="~amd64 ~arm64 ~x86" SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/django_polymorphic/metadata.xml b/dev-python/django-polymorphic/metadata.xml index ea8988e8af6a..ea8988e8af6a 100644 --- a/dev-python/django_polymorphic/metadata.xml +++ b/dev-python/django-polymorphic/metadata.xml diff --git a/dev-python/django-tables2/django-tables2-2.7.0.ebuild b/dev-python/django-tables2/django-tables2-2.7.0.ebuild index 545034b0cdac..dec5b8214d62 100644 --- a/dev-python/django-tables2/django-tables2-2.7.0.ebuild +++ b/dev-python/django-tables2/django-tables2-2.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,8 +18,8 @@ SRC_URI=" -> ${P}.gh.tar.gz " -SLOT="0" LICENSE="BSD-2" +SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/django-taggit/Manifest b/dev-python/django-taggit/Manifest index 2267035622a5..d059385f71e2 100644 --- a/dev-python/django-taggit/Manifest +++ b/dev-python/django-taggit/Manifest @@ -1 +1,2 @@ DIST django-taggit-3.1.0.tar.gz 58238 BLAKE2B ea5c90300383294daf80315b013dc1171d94fe4994cdf58a9364666a879672bd5af35f3c620673cb0a9139d2a224bc06d58f933ae94ccd8a65b947c76ab0a0ca SHA512 8654b703cb9b3848a5185f1b88826a80eed44f00993d6272e8fbec1145e6c30be4c0840a0d6e88544d2f927c7c288c2be94e3df61cbe34c37f1f213a1bf0780d +DIST django-taggit-5.0.1.tar.gz 60372 BLAKE2B 1934fc0a92655db15a4997646c44d8faa57b48469421abb7c48ea248525f0c536d658a9a481ed646dc4846c2f8f6ca9799274f9961238bd727ef0bafbb0ddf0c SHA512 af7b04da8359ebf68ea1b5c1fba3ed509b5357d65cccd95d835e0db68431fcbf0057e613cd05c54ac76524c8fc1c23d0dbacae8b80a23bb7867a0fa4a62f445b diff --git a/dev-python/django-taggit/django-taggit-5.0.1.ebuild b/dev-python/django-taggit/django-taggit-5.0.1.ebuild new file mode 100644 index 000000000000..21004a994cf3 --- /dev/null +++ b/dev-python/django-taggit/django-taggit-5.0.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 +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simple tagging for Django" +HOMEPAGE=" + https://github.com/jazzband/django-taggit/ + https://pypi.org/project/django-taggit/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-4.1[${PYTHON_USEDEP}] + dev-python/djangorestframework[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + ) +" + +python_test() { + "${EPYTHON}" -m django test -v 2 --settings=tests.settings || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/dockerpty/dockerpty-0.4.1-r2.ebuild b/dev-python/dockerpty/dockerpty-0.4.1-r2.ebuild index dfd03cad757c..abace9d2b066 100644 --- a/dev-python/dockerpty/dockerpty-0.4.1-r2.ebuild +++ b/dev-python/dockerpty/dockerpty-0.4.1-r2.ebuild @@ -1,26 +1,35 @@ -# 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_{8,9,10,11,12} ) + inherit distutils-r1 DESCRIPTION="Python library to use the pseudo-tty of a docker container" -HOMEPAGE="https://github.com/d11wtq/dockerpty" -SRC_URI="https://github.com/d11wtq/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" +HOMEPAGE=" + https://github.com/d11wtq/dockerpty/ + https://pypi.org/project/dockerpty/ +" +SRC_URI=" + https://github.com/d11wtq/dockerpty/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="amd64 arm64" +RDEPEND=" + >=dev-python/six-1.3.0[${PYTHON_USEDEP}] +" BDEPEND=" test? ( >=dev-python/docker-0.7.0_rc2[${PYTHON_USEDEP}] >=dev-python/expects-0.4[${PYTHON_USEDEP}] ) " -RDEPEND=">=dev-python/six-1.3.0[${PYTHON_USEDEP}]" distutils_enable_tests pytest diff --git a/dev-python/dockerpty/metadata.xml b/dev-python/dockerpty/metadata.xml index 83d00b14c8d4..ea8988e8af6a 100644 --- a/dev-python/dockerpty/metadata.xml +++ b/dev-python/dockerpty/metadata.xml @@ -1,6 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/dulwich/dulwich-0.21.7-r1.ebuild b/dev-python/dulwich/dulwich-0.21.7-r1.ebuild index 4dabfc14a99b..2ff510a8ab41 100644 --- a/dev-python/dulwich/dulwich-0.21.7-r1.ebuild +++ b/dev-python/dulwich/dulwich-0.21.7-r1.ebuild @@ -37,6 +37,7 @@ distutils_enable_sphinx docs src_prepare() { # Do not install "docs" directory into site-packages # https://github.com/jelmer/dulwich/issues/1248 + [[ ${PV} != 0.21.7 ]] && die "Remove the hack!" sed -i -e '/package_data/d' setup.py || die rm -r *.egg-info || die diff --git a/dev-python/elastic-transport/elastic-transport-8.13.0.ebuild b/dev-python/elastic-transport/elastic-transport-8.13.0.ebuild index 25df389b3790..414ff26ffd34 100644 --- a/dev-python/elastic-transport/elastic-transport-8.13.0.ebuild +++ b/dev-python/elastic-transport/elastic-transport-8.13.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64" +KEYWORDS="amd64 ~arm64" PROPERTIES="test_network" RESTRICT="test" diff --git a/dev-python/elasticsearch/elasticsearch-8.13.0.ebuild b/dev-python/elasticsearch/elasticsearch-8.13.0.ebuild index 218c890390d6..750445a214b4 100644 --- a/dev-python/elasticsearch/elasticsearch-8.13.0.ebuild +++ b/dev-python/elasticsearch/elasticsearch-8.13.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0/$(ver_cut 1)" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" RDEPEND=" <dev-python/aiohttp-4[${PYTHON_USEDEP}] diff --git a/dev-python/ensurepip-setuptools/Manifest b/dev-python/ensurepip-setuptools/Manifest index 7c9ec70386ca..db11cb48ddcb 100644 --- a/dev-python/ensurepip-setuptools/Manifest +++ b/dev-python/ensurepip-setuptools/Manifest @@ -1,2 +1,3 @@ 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.5.1.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-69.5.1.ebuild new file mode 100644 index 000000000000..97aca4a61872 --- /dev/null +++ b/dev-python/ensurepip-setuptools/ensurepip-setuptools-69.5.1.ebuild @@ -0,0 +1,24 @@ +# 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/itunespy/itunespy-1.6-r1.ebuild b/dev-python/itunespy/itunespy-1.6-r2.ebuild index 2ef701055897..7483a3750639 100644 --- a/dev-python/itunespy/itunespy-1.6-r1.ebuild +++ b/dev-python/itunespy/itunespy-1.6-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 diff --git a/dev-python/kafka-python/kafka-python-2.0.2-r1.ebuild b/dev-python/kafka-python/kafka-python-2.0.2-r1.ebuild deleted file mode 100644 index dd579ef8cec5..000000000000 --- a/dev-python/kafka-python/kafka-python-2.0.2-r1.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 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Kafka protocol support in Python" -HOMEPAGE=" - https://github.com/dpkp/kafka-python/ - https://pypi.org/project/kafka-python/ -" -SRC_URI=" - https://github.com/dpkp/kafka-python/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/xxhash[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/lz4[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/zstandard[${PYTHON_USEDEP}] - dev-python/python-snappy[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/${P}-py311-test-fixes.patch" -) - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # Needs the unpackaged crc32c module - "test/record/test_util.py::test_crc32c[None]" - # Needs kafka server running - test/test_consumer_integration.py::test_kafka_consumer_offsets_for_time_old -) - -pkg_postinst() { - optfeature "LZ4 compression/decompression support" dev-python/lz4 - optfeature "Snappy compression support" dev-python/python-snappy - optfeature "ZSTD compression/decompression support" dev-python/zstandard -} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index e9da2ac43cac..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 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 -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/opentelemetry-api/opentelemetry-api-1.24.0.ebuild b/dev-python/opentelemetry-api/opentelemetry-api-1.24.0.ebuild index 65af0e779de9..8562aef9228a 100644 --- a/dev-python/opentelemetry-api/opentelemetry-api-1.24.0.ebuild +++ b/dev-python/opentelemetry-api/opentelemetry-api-1.24.0.ebuild @@ -24,7 +24,7 @@ S="${WORKDIR}/${MY_P}/${PN}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64" +KEYWORDS="amd64 ~arm64" RDEPEND=" >=dev-python/deprecated-1.2.6[${PYTHON_USEDEP}] diff --git a/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.24.0.ebuild b/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.24.0.ebuild index a206408a588f..660f79776f8c 100644 --- a/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.24.0.ebuild +++ b/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.24.0.ebuild @@ -25,7 +25,7 @@ S="${WORKDIR}/${MY_P}/${PN}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64" +KEYWORDS="amd64 ~arm64" RDEPEND=" ~dev-python/opentelemetry-api-${PV}[${PYTHON_USEDEP}] diff --git a/dev-python/opentelemetry-semantic-conventions/opentelemetry-semantic-conventions-1.24.0.ebuild b/dev-python/opentelemetry-semantic-conventions/opentelemetry-semantic-conventions-1.24.0.ebuild index b67ce001f4c9..485620ce1e21 100644 --- a/dev-python/opentelemetry-semantic-conventions/opentelemetry-semantic-conventions-1.24.0.ebuild +++ b/dev-python/opentelemetry-semantic-conventions/opentelemetry-semantic-conventions-1.24.0.ebuild @@ -24,7 +24,7 @@ S="${WORKDIR}/${MY_P}/${PN}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64" +KEYWORDS="amd64 ~arm64" BDEPEND=" test? ( diff --git a/dev-python/pyDes/pyDes-2.0.1.ebuild b/dev-python/pyDes/pyDes-2.0.1-r1.ebuild index b024b2721455..d46e26fcdd98 100644 --- a/dev-python/pyDes/pyDes-2.0.1.ebuild +++ b/dev-python/pyDes/pyDes-2.0.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 diff --git a/dev-python/pycxx/pycxx-7.1.7-r1.ebuild b/dev-python/pycxx/pycxx-7.1.7-r1.ebuild new file mode 100644 index 000000000000..8a5691565bab --- /dev/null +++ b/dev-python/pycxx/pycxx-7.1.7-r1.ebuild @@ -0,0 +1,37 @@ +# 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} ) +# 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/pymetar/pymetar-1.4-r2.ebuild b/dev-python/pymetar/pymetar-1.4-r2.ebuild index 90623fef2a70..f70f41111bf1 100644 --- a/dev-python/pymetar/pymetar-1.4-r2.ebuild +++ b/dev-python/pymetar/pymetar-1.4-r2.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 @@ -9,7 +9,11 @@ PYTHON_COMPAT=( python3_{8,9,10,11,12} ) inherit distutils-r1 DESCRIPTION="Downloads and decodes to the weather report for a given station ID" -HOMEPAGE="https://www.schwarzvogel.de/software/pymetar/" +HOMEPAGE=" + https://www.schwarzvogel.de/software/pymetar/ + https://github.com/klausman/pymetar/ + https://pypi.org/project/pymetar/ +" SRC_URI="https://www.schwarzvogel.de/pkgs/${P}.tar.gz" LICENSE="GPL-2" diff --git a/dev-python/python-gflags/python-gflags-3.1.2-r2.ebuild b/dev-python/python-gflags/python-gflags-3.1.2-r2.ebuild index 1630056c7b71..2c41e11ff41d 100644 --- a/dev-python/python-gflags/python-gflags-3.1.2-r2.ebuild +++ b/dev-python/python-gflags/python-gflags-3.1.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 @@ -10,7 +10,10 @@ PYTHON_COMPAT=( python3_{8,9,10,11,12} ) inherit distutils-r1 pypi DESCRIPTION="Google's Python argument parsing library" -HOMEPAGE="https://github.com/google/python-gflags" +HOMEPAGE=" + https://github.com/google/python-gflags/ + https://pypi.org/project/python-gflags/ +" LICENSE="BSD" SLOT="0" diff --git a/dev-python/python-linux-procfs/Manifest b/dev-python/python-linux-procfs/Manifest index c7910a668031..52c70c614e73 100644 --- a/dev-python/python-linux-procfs/Manifest +++ b/dev-python/python-linux-procfs/Manifest @@ -1 +1,2 @@ DIST python-linux-procfs-0.7.1.tar.xz 19104 BLAKE2B e6e495ecce77c1ea4c1580c2534e87f769a0057702648ee75bf89f5cbaa944012ba17e69c231977889b9b18d8e9b8d67261361b499ef8a567bed978a207d61ec SHA512 532613cd0feab1317131a3ec30e0730ed48415de333f1430573b7bf0eb5525222dc92db38dab6ff76c27ff10ac0a381975c329441b9ca6011e79bd637482056d +DIST python-linux-procfs-0.7.3.tar.xz 11412 BLAKE2B 66c22261a3ab9fff68949e2e1e54a07ac5bc365d12e52b8149a02105e2ace85e22be38ec84fb1c97b3d4fec6392998d98252e11454a72135eacae770efa171ae SHA512 fbb4bd5b22ccafd6e8fed853f9bc175f9c7b5fc6795b9641a5e39404a96c1cdfdad7856fa89b3dc91ee9f13e3c76a23c79e3729fdfd7a10df1e46fdbb25aa631 diff --git a/dev-python/python-linux-procfs/metadata.xml b/dev-python/python-linux-procfs/metadata.xml index 83d00b14c8d4..853174b8f2ab 100644 --- a/dev-python/python-linux-procfs/metadata.xml +++ b/dev-python/python-linux-procfs/metadata.xml @@ -1,6 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> <origin>gentoo-staging</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/python-linux-procfs/python-linux-procfs-0.7.1.ebuild b/dev-python/python-linux-procfs/python-linux-procfs-0.7.1.ebuild index e0ce9d21aac2..faa41a7ce40d 100644 --- a/dev-python/python-linux-procfs/python-linux-procfs-0.7.1.ebuild +++ b/dev-python/python-linux-procfs/python-linux-procfs-0.7.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 @@ -10,8 +10,7 @@ inherit distutils-r1 DESCRIPTION="Python classes to extract information from the Linux kernel /proc files" HOMEPAGE=" - https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/ - https://kernel.googlesource.com/pub/scm/libs/python/python-linux-procfs/python-linux-procfs/ + https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git/ " SRC_URI="https://cdn.kernel.org/pub/software/libs/python/${PN}/${P}.tar.xz" @@ -19,8 +18,10 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" -RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] +" python_test() { - ${EPYTHON} ./bitmasklist_test.py || die "Tests failed with ${EPYTHON}" + "${EPYTHON}" ./bitmasklist_test.py || die "Tests failed with ${EPYTHON}" } diff --git a/dev-python/python-linux-procfs/python-linux-procfs-0.7.3.ebuild b/dev-python/python-linux-procfs/python-linux-procfs-0.7.3.ebuild new file mode 100644 index 000000000000..faa41a7ce40d --- /dev/null +++ b/dev-python/python-linux-procfs/python-linux-procfs-0.7.3.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=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Python classes to extract information from the Linux kernel /proc files" +HOMEPAGE=" + https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git/ +" +SRC_URI="https://cdn.kernel.org/pub/software/libs/python/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] +" + +python_test() { + "${EPYTHON}" ./bitmasklist_test.py || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/python-poppler-qt5/Manifest b/dev-python/python-poppler-qt5/Manifest index 90f4d7db1177..c6788136d272 100644 --- a/dev-python/python-poppler-qt5/Manifest +++ b/dev-python/python-poppler-qt5/Manifest @@ -1 +1 @@ -DIST python-poppler-qt5-21.3.0.tar.gz 25641 BLAKE2B 5937f1ddc1493bb1ef1d98b91dd8ccec4bd8c835956d84c8d7ce7a1cedcbe16854861e1f13825812e0f74c335020f0d74aad2d2bbc7a5780c6eb3ac77437f13b SHA512 cc942a860c2c999ff04fb0468b1556b0e23e7aa19a0185a39c5e903e717dca64bcbd51b8fe34b6885bd789cbf5cc1080c2ca1dcee30b3e69fa1721618e8db278 +DIST python-poppler-qt5-21.3.0.gh.tar.gz 25641 BLAKE2B 5937f1ddc1493bb1ef1d98b91dd8ccec4bd8c835956d84c8d7ce7a1cedcbe16854861e1f13825812e0f74c335020f0d74aad2d2bbc7a5780c6eb3ac77437f13b SHA512 cc942a860c2c999ff04fb0468b1556b0e23e7aa19a0185a39c5e903e717dca64bcbd51b8fe34b6885bd789cbf5cc1080c2ca1dcee30b3e69fa1721618e8db278 diff --git a/dev-python/python-poppler-qt5/python-poppler-qt5-21.3.0.ebuild b/dev-python/python-poppler-qt5/python-poppler-qt5-21.3.0.ebuild index 38e5bd09395c..5bc86ab91e68 100644 --- a/dev-python/python-poppler-qt5/python-poppler-qt5-21.3.0.ebuild +++ b/dev-python/python-poppler-qt5/python-poppler-qt5-21.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 @@ -10,19 +10,26 @@ PYTHON_COMPAT=( python3_{8,9,10,11,12} ) inherit distutils-r1 multiprocessing qmake-utils DESCRIPTION="Python binding for libpoppler-qt5" -HOMEPAGE="https://github.com/frescobaldi/python-poppler-qt5" -SRC_URI="https://github.com/frescobaldi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE=" + https://github.com/frescobaldi/python-poppler-qt5/ + https://pypi.org/project/python-poppler-qt5/ +" +SRC_URI=" + https://github.com/frescobaldi/python-poppler-qt5/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" -RDEPEND=" +DEPEND=" app-text/poppler[qt5] dev-python/PyQt5[${PYTHON_USEDEP}] " -DEPEND="${RDEPEND}" +RDEPEND=" + ${DEPEND} +" src_configure() { DISTUTILS_ARGS=( diff --git a/dev-python/respx/respx-0.21.1.ebuild b/dev-python/respx/respx-0.21.1.ebuild index 6f8e429a4578..21ef8b21a9c4 100644 --- a/dev-python/respx/respx-0.21.1.ebuild +++ b/dev-python/respx/respx-0.21.1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64" +KEYWORDS="amd64 ~arm64" RDEPEND=" dev-python/httpx[${PYTHON_USEDEP}] diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index 31d7ec1a1687..28faea005510 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -1,2 +1,3 @@ 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/setuptools-69.5.1.ebuild b/dev-python/setuptools/setuptools-69.5.1.ebuild new file mode 100644 index 000000000000..61af0b9f444a --- /dev/null +++ b/dev-python/setuptools/setuptools-69.5.1.ebuild @@ -0,0 +1,129 @@ +# 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_{8,9,10,11,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 + + # breaks tests + sed -i -e '/--import-mode/d' pytest.ini || die + + # 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/sphinx-sitemap/Manifest b/dev-python/sphinx-sitemap/Manifest index 61cd9831357d..aecf1a887d3f 100644 --- a/dev-python/sphinx-sitemap/Manifest +++ b/dev-python/sphinx-sitemap/Manifest @@ -1,2 +1 @@ -DIST sphinx-sitemap-2.5.0.gh.tar.gz 25760 BLAKE2B eb005638eca1a6fb948c44a554739c4a40f5f282c8cdd8e1d34b8fef317316750e492d8d252a2bb3ba7ee652b0eeba81d9d2969d1b85c0538e3c090fcd547706 SHA512 6fc1eb6da9e10fce4180fac656fd048b5d0603da8a44a841c03452848ef844265da846ce8370f09d9cee7057a5746768b32975df31939684a1c8202f7117a3d6 DIST sphinx-sitemap-2.5.1.gh.tar.gz 26496 BLAKE2B 390050befcd3295d7d9e63495bc5095eb18c9d510db834fb221a796d28d6b8944aa8b7935c3f3018eb9ae59f6b8aba47703ae2af2cc8b9ed1ebb144fe093736a SHA512 9a470d0717f69f01178c2bc0ef8fc825824a534ceb37f1d0aec8feb36aea8c5d3fe92a3d60e34d2e4f30bc0318f497abfdb6221de42418d935da7563caeaca48 diff --git a/dev-python/sphinx-sitemap/sphinx-sitemap-2.5.0.ebuild b/dev-python/sphinx-sitemap/sphinx-sitemap-2.5.0.ebuild deleted file mode 100644 index 2df733e77df8..000000000000 --- a/dev-python/sphinx-sitemap/sphinx-sitemap-2.5.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2022-2023 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 -PYPI_NO_NORMALIZE=1 -inherit distutils-r1 - -DESCRIPTION="Sitemap generator for Sphinx" -HOMEPAGE=" - https://pypi.org/project/sphinx-sitemap/ - https://github.com/jdillard/sphinx-sitemap -" -SRC_URI="https://github.com/jdillard/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -#distutils_enable_sphinx docs/source \ - #dev-python/furo \ - #dev-python/sphinxemoji \ - #dev-python/sphinxext-opengraph \ - #dev-python/sphinx-contributors diff --git a/dev-python/sphinxcontrib-log-cabinet/sphinxcontrib-log-cabinet-1.0.1-r1.ebuild b/dev-python/sphinxcontrib-log-cabinet/sphinxcontrib-log-cabinet-1.0.1-r1.ebuild index 3be856a42e54..953d506143bb 100644 --- a/dev-python/sphinxcontrib-log-cabinet/sphinxcontrib-log-cabinet-1.0.1-r1.ebuild +++ b/dev-python/sphinxcontrib-log-cabinet/sphinxcontrib-log-cabinet-1.0.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 diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-8.0.0.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-8.0.0.ebuild index 76fc78d823dd..77ec1c5471b1 100644 --- a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-8.0.0.ebuild +++ b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-8.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 diff --git a/dev-python/youtube-search-python/youtube-search-python-1.6.6.ebuild b/dev-python/youtube-search-python/youtube-search-python-1.6.6-r1.ebuild index 97d53a6af781..0a308070d210 100644 --- a/dev-python/youtube-search-python/youtube-search-python-1.6.6.ebuild +++ b/dev-python/youtube-search-python/youtube-search-python-1.6.6-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 |
