diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-04-14 06:23:35 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-04-14 06:23:35 +0000 |
| commit | 63e9c2d7721dccfc29927b157ad9c1934f727820 (patch) | |
| tree | deca7cdb2b56243d1e74e9ddf0437b1f229fd5a8 /dev-python | |
| parent | 904e501ae3ed374d8de2fb5a1fe696eefe129016 (diff) | |
| download | baldeagleos-repo-63e9c2d7721dccfc29927b157ad9c1934f727820.tar.gz baldeagleos-repo-63e9c2d7721dccfc29927b157ad9c1934f727820.tar.xz baldeagleos-repo-63e9c2d7721dccfc29927b157ad9c1934f727820.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
87 files changed, 375 insertions, 1326 deletions
diff --git a/dev-python/PGPy/Manifest b/dev-python/PGPy/Manifest deleted file mode 100644 index ae1417df1f69..000000000000 --- a/dev-python/PGPy/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST PGPy-0.6.0.gh.tar.gz 602228 BLAKE2B d40aeb74503ff81d68764e89c7331e99128e047b92156abc4b35d32f99f386c2043065ff98445b24bcf38aeedbdfb35a4a2ceffc485e538a7285f432d67c69c4 SHA512 6d20c1a8fe225de49196f0a5d3cd823ec5988b68f0ca9e255acdf3700356bec5fdfb6963d4d4f93da41a008b5fb15ab7df3ce8cd77ffdfb69766320211ad0d6b diff --git a/dev-python/PGPy/PGPy-0.6.0.ebuild b/dev-python/PGPy/PGPy-0.6.0.ebuild deleted file mode 100644 index 80750ff372cc..000000000000 --- a/dev-python/PGPy/PGPy-0.6.0.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2022-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 -inherit distutils-r1 - -DESCRIPTION="Pretty Good Privacy for Python" -HOMEPAGE="https://github.com/SecurityInnovation/PGPy - https://pypi.org/project/PGPy/" -SRC_URI="https://github.com/SecurityInnovation/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND="${RDEPEND} - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/pyasn1[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/PGPy/metadata.xml b/dev-python/PGPy/metadata.xml deleted file mode 100644 index e271371573a1..000000000000 --- a/dev-python/PGPy/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>julien@jroy.ca</email> - <name>Julien Roy</name> - </maintainer> - <longdescription>PGPy is a Python library for implementing Pretty Good Privacy into Python programs, conforming to the OpenPGP specification per RFC 4880.</longdescription> - <upstream> - <changelog>https://github.com/SecurityInnovation/PGPy/releases</changelog> - <bugs-to>https://github.com/SecurityInnovation/PGPy/issues</bugs-to> - <doc>https://pgpy.readthedocs.io/en/latest/</doc> - </upstream> - <origin>gentoo-guru-overlay</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/apprise/Manifest b/dev-python/apprise/Manifest index 9c6b2d8567f7..ab95fdbe6b00 100644 --- a/dev-python/apprise/Manifest +++ b/dev-python/apprise/Manifest @@ -1,2 +1,3 @@ DIST apprise-1.7.4.tar.gz 1648673 BLAKE2B 33c91a63e3d0e730dcfe2b99433cd97e16ff9635e9ff717e9c4f7b708e6536185265e591ff419a785044877cadd4793f2df73fe9420ffed65838fb16654810f8 SHA512 5e3ab2136f1bdbd9d769fb3e3c5a5c899834b7ffb6ba57f3601079d516e31bed9d988b76745c251fff6df91f1fcd186d23a0878165ad73b811f76a8118278a64 DIST apprise-1.7.5.tar.gz 1652098 BLAKE2B 01acc8be50b76cdcb5c7ce068b6f644d5edbbf28ea964d95e8d2ea0579a3a9c60e9715ae482ec0d7f16f4ce8118acf99e4159249bc763f268f89362a3e4fcde9 SHA512 d783d74a8e4a9f9b39c2ab86c0207a99e6f5fe30492b5bc50cb7008477acc1c5831d94c18bd3cee22fa28e028571108237191cc7a253aa072e121cecd0ce7afa +DIST apprise-1.7.6.tar.gz 1656123 BLAKE2B 49720f6ba6522f3496ad5cbf5bf72340c6b21f207d11f3c3fcdd113db2e01730b64209fad1d0c7f1ed357251e567a0fe8c875b2ab8f1befdeeab9af59f5678e3 SHA512 39fdfd129d9e8bc16070a015bc9e2b4f4bf6e61e1b87ee45ec11e99e7e87dcc3896312c7ff71d0dac9532cee36709de40d6397d98b8affda069cb3a436ab8683 diff --git a/dev-python/apprise/apprise-1.7.6.ebuild b/dev-python/apprise/apprise-1.7.6.ebuild new file mode 100644 index 000000000000..1fb4c1bf85d5 --- /dev/null +++ b/dev-python/apprise/apprise-1.7.6.ebuild @@ -0,0 +1,38 @@ +# 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 pypi + +DESCRIPTION="Push Notifications that work with just about every platform" +HOMEPAGE=" + https://pypi.org/project/apprise/ + https://github.com/caronc/apprise/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv" +IUSE="+dbus mqtt" + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) + mqtt? ( dev-python/paho-mqtt[${PYTHON_USEDEP}] ) +" +BDEPEND=" + dev-python/Babel[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/azure-core/azure-core-1.27.1.ebuild b/dev-python/azure-core/azure-core-1.27.1.ebuild index 81801247ff66..b617fb4c16df 100644 --- a/dev-python/azure-core/azure-core-1.27.1.ebuild +++ b/dev-python/azure-core/azure-core-1.27.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 diff --git a/dev-python/azure-core/azure-core-1.28.0.ebuild b/dev-python/azure-core/azure-core-1.28.0.ebuild index 81801247ff66..b617fb4c16df 100644 --- a/dev-python/azure-core/azure-core-1.28.0.ebuild +++ b/dev-python/azure-core/azure-core-1.28.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/cachelib/Manifest b/dev-python/cachelib/Manifest index 5c504c9291ed..056183421786 100644 --- a/dev-python/cachelib/Manifest +++ b/dev-python/cachelib/Manifest @@ -1 +1,2 @@ DIST cachelib-0.12.0.gh.tar.gz 30768 BLAKE2B 5d147e63d0be58c7134f851cea79a002aa89b5364aec5c0e0906bfb9573578b094d71f361265b15eb519da897eed069d4aaeae1a8599176a95c074186018a713 SHA512 a35bfa9dfb6db8ae0e6fcdad86e5221d82144d5c0fcdb046b951d193f70f706712800b27c27825f8020314c521eb568131257ce0e20dc820cb3f7f8ffbf2650f +DIST cachelib-0.13.0.gh.tar.gz 31116 BLAKE2B fcb5f065778533bbe9200c77f12d374a62111c5dc26e366c07ea0986bba138a97c56de0440dd3b4a5603b8700ec8035b65ebe95d48e4dcf60c03f78a2215f128 SHA512 6b58f3823d1169ca1e25a5accc7a51752e26c8e7f62b58a571b0de4d8792dd6c3eb3d3c60f3843653b7aaa17177a1d6d56e442ceb6b69a486d76511003ff97b2 diff --git a/dev-python/cachelib/cachelib-0.13.0.ebuild b/dev-python/cachelib/cachelib-0.13.0.ebuild new file mode 100644 index 000000000000..710e37a05170 --- /dev/null +++ b/dev-python/cachelib/cachelib-0.13.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Collection of cache libraries in the same API interface. Extracted from werkzeug" +HOMEPAGE=" + https://pypi.org/project/cachelib/ + https://github.com/pallets-eco/cachelib/ +" +SRC_URI=" + https://github.com/pallets-eco/cachelib/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +BDEPEND=" + test? ( + dev-db/redis + dev-python/pylibmc[${PYTHON_USEDEP}] + dev-python/pytest-xprocess[${PYTHON_USEDEP}] + dev-python/redis[${PYTHON_USEDEP}] + net-misc/memcached + www-servers/uwsgi[python,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # bug #818523 + tests/test_redis_cache.py + # requires some test server running + # (these tests require dev-python/boto3) + tests/test_dynamodb_cache.py + # requires mongo test server + tests/test_mongodb_cache.py +) diff --git a/dev-python/dacite/Manifest b/dev-python/dacite/Manifest index 69fce113a93a..8064d7f88e27 100644 --- a/dev-python/dacite/Manifest +++ b/dev-python/dacite/Manifest @@ -1 +1 @@ -DIST dacite-1.6.0.tar.gz 22102 BLAKE2B 79bfa563feb1bd0fdf3541dbafc3ec15b370808e90625e7a7656a4155ba856324644a59b146307df19aca9a0aa68898478111757e37de065f2538932ceaa236f SHA512 034255f095589d309fe5805413d8b148f430cd20a0de305b7954083b530d516da1d8f3f00ebb5264a8cfb77f2b2a76f1e2d863e78bd191f1d85021c5553815da +DIST dacite-1.8.1.tar.gz 26038 BLAKE2B 53b859953221dd01a98976fcb1a8242bb99186c9fa4da04814eaad9232232a27da37fb8d80a91a3e875b1071c809c7f928b2eb0c165f5c4acef3ec9d4c64a94e SHA512 4b40c0bdcf5490bcc77de9e7f04b7267642bcfd41e4168607a5457f38abe3ad4b3041d8a23cb43af76de14eabee45f900ad5ddf7af8f70a2be4850bccc2d3af1 diff --git a/dev-python/dacite/dacite-1.6.0.ebuild b/dev-python/dacite/dacite-1.8.1.ebuild index c08a070f4d79..789f44f6ef5f 100644 --- a/dev-python/dacite/dacite-1.6.0.ebuild +++ b/dev-python/dacite/dacite-1.8.1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2021 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 @@ -13,6 +14,10 @@ SRC_URI="https://github.com/konradhalas/dacite/archive/v${PV}.tar.gz -> ${P}.tar SLOT="0" LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" + +DEPEND=" + test? ( dev-python/pytest-benchmark ) +" distutils_enable_tests pytest diff --git a/dev-python/dasbus/dasbus-1.7.ebuild b/dev-python/dasbus/dasbus-1.7-r1.ebuild index 68f4f2e046c1..49e4ae0df274 100644 --- a/dev-python/dasbus/dasbus-1.7.ebuild +++ b/dev-python/dasbus/dasbus-1.7-r1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2022 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 diff --git a/dev-python/dataclasses_json/Manifest b/dev-python/dataclasses_json/Manifest index ccd86b30d176..1f0d17079277 100644 --- a/dev-python/dataclasses_json/Manifest +++ b/dev-python/dataclasses_json/Manifest @@ -1,2 +1 @@ DIST dataclasses_json-0.5.14.tar.gz 72513 BLAKE2B f45ca18030388efcc21ca9c939bf2298f891de66d62dc0f8042a3d0e26cc0bae63c7c5a02c839b07282c3110d6e5752979e3abea361b215b86b354984901c77c SHA512 5ec21843ef29a8e6e9511922698f42c115c7e641ca9ae5e47a58c6f0697a51928fd462f6342190263469baa70b76a302ad1d27954f50b9457b97149586f35703 -DIST dataclasses_json-0.5.7.tar.gz 39291 BLAKE2B eded21a6da89e1a8785c38cd7facc3e273154a31f34daf99dc0681891bf44cc0f34fc7ab69021cf04052e82a5bd66058b826609ca3ebfc1d75f40720b0b9ce6b SHA512 2dad73f55e0f33d1f9557e1ed3d41cf237204631c044027c41d37cd2e968da003f77e80c9a06db651e689413cbfd7f85eec1b70b02acf0a32f8337c4abb75f7b diff --git a/dev-python/dataclasses_json/dataclasses_json-0.5.7.ebuild b/dev-python/dataclasses_json/dataclasses_json-0.5.7.ebuild deleted file mode 100644 index 3eaedd12c52d..000000000000 --- a/dev-python/dataclasses_json/dataclasses_json-0.5.7.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2022 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="Easily serialize Data Classes to and from JSON" -HOMEPAGE="https://github.com/lidatong/dataclasses-json" -SRC_URI="https://github.com/lidatong/dataclasses-json/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${P/_/-}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/marshmallow-3.3.0[${PYTHON_USEDEP}] - >=dev-python/marshmallow_enum-1.5.1[${PYTHON_USEDEP}] - >=dev-python/typing_inspect-0.4.0[${PYTHON_USEDEP}] -" -DEPEND=" - ${RDEPEND} - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - >=dev-python/mypy-0.710[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i '/scripts/d' setup.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/defcon/defcon-0.10.2.ebuild b/dev-python/defcon/defcon-0.10.2.ebuild index d3725a8c5bfa..d276dae47771 100644 --- a/dev-python/defcon/defcon-0.10.2.ebuild +++ b/dev-python/defcon/defcon-0.10.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/devtools/devtools-0.10.0-r1.ebuild b/dev-python/devtools/devtools-0.10.0-r1.ebuild index e509e0cd2362..7bf29412cd44 100644 --- a/dev-python/devtools/devtools-0.10.0-r1.ebuild +++ b/dev-python/devtools/devtools-0.10.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/digitalocean/digitalocean-1.17.0-r1.ebuild b/dev-python/digitalocean/digitalocean-1.17.0-r1.ebuild index 24a89b158967..3dd9fd9ba198 100644 --- a/dev-python/digitalocean/digitalocean-1.17.0-r1.ebuild +++ b/dev-python/digitalocean/digitalocean-1.17.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -24,4 +24,9 @@ BDEPEND="test? ( dev-python/responses[${PYTHON_USEDEP}] )" distutils_enable_sphinx docs dev-python/alabaster +EPYTEST_DESELECT=( + # Needs net + digitalocean/tests/test_firewall.py +) + distutils_enable_tests pytest diff --git a/dev-python/django-bleach/django-bleach-3.0.1.ebuild b/dev-python/django-bleach/django-bleach-3.0.1.ebuild index d4d1b35f6680..6c57517ed7a7 100644 --- a/dev-python/django-bleach/django-bleach-3.0.1.ebuild +++ b/dev-python/django-bleach/django-bleach-3.0.1.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 diff --git a/dev-python/django-markdownify/django-markdownify-0.9.2.ebuild b/dev-python/django-markdownify/django-markdownify-0.9.2.ebuild index 8eed16ea1a0c..ccecceef547a 100644 --- a/dev-python/django-markdownify/django-markdownify-0.9.2.ebuild +++ b/dev-python/django-markdownify/django-markdownify-0.9.2.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 diff --git a/dev-python/django-widget-tweaks/django-widget-tweaks-1.4.12.ebuild b/dev-python/django-widget-tweaks/django-widget-tweaks-1.4.12.ebuild index ae691b86db7c..5f420708a2bf 100644 --- a/dev-python/django-widget-tweaks/django-widget-tweaks-1.4.12.ebuild +++ b/dev-python/django-widget-tweaks/django-widget-tweaks-1.4.12.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 diff --git a/dev-python/doxypypy/Manifest b/dev-python/doxypypy/Manifest index 2b5d6c78fe9d..1cebbd0a4517 100644 --- a/dev-python/doxypypy/Manifest +++ b/dev-python/doxypypy/Manifest @@ -1 +1 @@ -DIST doxypypy-0.8.8.6_p20210405.tar.gz 62179 BLAKE2B ee36a130f2c4af9264f04cf00ad311dccda8beeca505d7eb84169b05cf1e0ed6242770ede96b3df9b77385ea238cae84e9cd4e9f8761d23530e2f8e5fbcad797 SHA512 d3fa6bec9381d5531f82837e51988ccea4882fc77109924dd7a7f3ecd99e5afbec09d203629ac3853eeb38cf4592d97a1ec8c18fbe9fb48885794f887aba4336 +DIST doxypypy-0.8.8.6_p20210405.gh.tar.gz 62179 BLAKE2B ee36a130f2c4af9264f04cf00ad311dccda8beeca505d7eb84169b05cf1e0ed6242770ede96b3df9b77385ea238cae84e9cd4e9f8761d23530e2f8e5fbcad797 SHA512 d3fa6bec9381d5531f82837e51988ccea4882fc77109924dd7a7f3ecd99e5afbec09d203629ac3853eeb38cf4592d97a1ec8c18fbe9fb48885794f887aba4336 diff --git a/dev-python/doxypypy/doxypypy-0.8.8.6_p20210405.ebuild b/dev-python/doxypypy/doxypypy-0.8.8.6_p20210405-r1.ebuild index 71b63633baa5..a21c57b77ad5 100644 --- a/dev-python/doxypypy/doxypypy-0.8.8.6_p20210405.ebuild +++ b/dev-python/doxypypy/doxypypy-0.8.8.6_p20210405-r1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2020 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 @@ -10,7 +11,7 @@ COMMIT="39115c3d061d2f83e4a030bcb8642ec6f3203e61" DESCRIPTION="A more Pythonic version of doxypy, a Doxygen filter for Python" HOMEPAGE="https://github.com/Feneric/doxypypy" -SRC_URI="https://github.com/Feneric/doxypypy/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/Feneric/doxypypy/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz" S="${WORKDIR}/${PN}-${COMMIT}" RESTRICT="!test? ( test )" diff --git a/dev-python/dropbox/dropbox-11.36.2.ebuild b/dev-python/dropbox/dropbox-11.36.2.ebuild index f18d6852315e..d242ff268669 100644 --- a/dev-python/dropbox/dropbox-11.36.2.ebuild +++ b/dev-python/dropbox/dropbox-11.36.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/dtreeviz/Manifest b/dev-python/dtreeviz/Manifest index 00c57fe16234..6e684966d863 100644 --- a/dev-python/dtreeviz/Manifest +++ b/dev-python/dtreeviz/Manifest @@ -1 +1 @@ -DIST dtreeviz-2.2.1.gh.tar.gz 91575827 BLAKE2B 41889e36b58df4fb81cf65b1c8fe89c5206e737a19503f270ed2b4d64b64e1890119d2017b63419af306cfc3747738483fdfed463f0b22049dc54f8b03dc63b0 SHA512 8c80479164cbc2004b27160cc1be5a0d0422bb5b58603bb9a347e8e9d98735fbc8a9fa0635c6605e8ffa360d9fd669bbe88befe74d598c02eb10b675fd2274d6 +DIST dtreeviz-2.2.2.tar.gz 77028 BLAKE2B 1c0b64d720d5fec2559c13cfcd8ca3e02108b02f056e5eccbc7ae596ab7ab0523256b8cafcd5908d77adf098a56d6f87340473f95e1545ed86f12a6912524fac SHA512 4be118cc7825da8e51cffb7fc248105c13e17342f58acaa5110d91f4e8c686d6c8ca8697ab9d3fe2c4e7549fd781aad6154a64562b76989e51e906964505796e diff --git a/dev-python/dtreeviz/dtreeviz-2.2.1.ebuild b/dev-python/dtreeviz/dtreeviz-2.2.1.ebuild deleted file mode 100644 index b62ea6ba706d..000000000000 --- a/dev-python/dtreeviz/dtreeviz-2.2.1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -inherit distutils-r1 - -DESCRIPTION="A python library for decision tree visualization and model interpretation" -HOMEPAGE=" - https://pypi.org/project/dtreeviz/ -" -SRC_URI="https://github.com/parrt/dtreeviz/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -# IUSE="test xgboost pyspark lightgbm" -IUSE="test" - -RDEPEND=" - >=dev-python/graphviz-0.9 - dev-python/pandas - dev-python/numpy - dev-python/scikit-learn - dev-python/matplotlib - dev-python/colour -" -# xgboost: available at the science overlay: https://github.com/gentoo/sci - Tested -# pyspark: available at the spark overlay: https://github.com/6-6-6/spark-overlay - Not tested -# lightgbm: available at the pypi-sci overlay: https://github.com/jiegec/gentoo-pypi-sci - Not tested - -DEPEND="test? ( dev-python/pytest )" - -TEST_DIR="testing/testlib/models" - -python_prepare_all() { - # FIXME - #if ! use xgboost; then - rm $TEST_DIR/test_decision_trees_xgb_classifier.py || die - rm $TEST_DIR/test_decision_tree_xgb_regressor.py || die - #fi - - # if ! use pyspark; then - rm $TEST_DIR/test_decision_tree_spark_classifier.py || die - # fi - - # if ! use lightgbm; then - rm $TEST_DIR/test_decision_tree_lightgbm_classifier.py || die - # fi - - #TODO: tensorflow_decision_forests ebuild - rm $TEST_DIR/test_decision_tree_tensorflow_classifier.py || die - - distutils-r1_python_prepare_all -} - -distutils_enable_tests pytest diff --git a/dev-python/dtreeviz/dtreeviz-2.2.2.ebuild b/dev-python/dtreeviz/dtreeviz-2.2.2.ebuild new file mode 100644 index 000000000000..43ca9b58d12c --- /dev/null +++ b/dev-python/dtreeviz/dtreeviz-2.2.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +inherit distutils-r1 pypi + +DESCRIPTION="A python library for decision tree visualization and model interpretation" +HOMEPAGE=" + https://github.com/parrt/dtreeviz + https://pypi.org/project/dtreeviz/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +# Tests are either not packaged properly +# Or have dependencies which aren't package in ::gentoo or ::guru +RESTRICT="test" + +RDEPEND=" + >=dev-python/graphviz-0.9 + dev-python/pandas + dev-python/numpy + dev-python/scikit-learn + dev-python/matplotlib + dev-python/colour +" + +distutils_enable_tests pytest 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 839320ae23ff..25df389b3790 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" PROPERTIES="test_network" RESTRICT="test" diff --git a/dev-python/faust-cchardet/faust-cchardet-2.1.18.ebuild b/dev-python/faust-cchardet/faust-cchardet-2.1.18.ebuild index 964824687e41..1993a7ab452b 100644 --- a/dev-python/faust-cchardet/faust-cchardet-2.1.18.ebuild +++ b/dev-python/faust-cchardet/faust-cchardet-2.1.18.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -31,6 +31,8 @@ KEYWORDS="~amd64" S="${WORKDIR}/cChardet-${PV}" +BDEPEND="dev-python/cython" + distutils_enable_tests pytest src_unpack() { diff --git a/dev-python/faust-cchardet/faust-cchardet-2.1.19.ebuild b/dev-python/faust-cchardet/faust-cchardet-2.1.19.ebuild index 964824687e41..1993a7ab452b 100644 --- a/dev-python/faust-cchardet/faust-cchardet-2.1.19.ebuild +++ b/dev-python/faust-cchardet/faust-cchardet-2.1.19.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -31,6 +31,8 @@ KEYWORDS="~amd64" S="${WORKDIR}/cChardet-${PV}" +BDEPEND="dev-python/cython" + distutils_enable_tests pytest src_unpack() { diff --git a/dev-python/funcsigs/funcsigs-0.4.ebuild b/dev-python/funcsigs/funcsigs-0.4.ebuild index 6827aebdd18d..631ee540a70d 100644 --- a/dev-python/funcsigs/funcsigs-0.4.ebuild +++ b/dev-python/funcsigs/funcsigs-0.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/gbinder/gbinder-1.1.2.ebuild b/dev-python/gbinder/gbinder-1.1.2.ebuild deleted file mode 100644 index af3c19f7e3bf..000000000000 --- a/dev-python/gbinder/gbinder-1.1.2.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2023 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" - -inherit distutils-r1 - -if [[ ${PV} != *9999* ]]; then - MY_PN="${PN}-python" - MY_P="${MY_PN}-${PV}" - S="${WORKDIR}/${MY_P}" - SRC_URI="https://github.com/erfanoabdi/gbinder-python/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~x86" -else - inherit git-r3 - EGIT_REPO_URI="https://github.com/erfanoabdi/gbinder-python.git" -fi - -DESCRIPTION="Python bindings for libgbinder" -HOMEPAGE="https://github.com/erfanoabdi/gbinder-python" -LICENSE="GPL-3" -SLOT="0" - -PATCHES=( - "${FILESDIR}"/gbinder-1.1.1-setuptools.patch -) - - -DEPEND="dev-libs/gbinder - dev-libs/libglibutil" -RDEPEND="${DEPEND}" -BDEPEND=" - virtual/pkgconfig - dev-python/cython[${PYTHON_USEDEP}] - ${DISTUTILS_DEPS} -" - -python_configure_all () { - DISTUTILS_ARGS=( --cython ) -} diff --git a/dev-python/glicko2/glicko2-2.0.0-r2.ebuild b/dev-python/glicko2/glicko2-2.0.0-r2.ebuild index b04ab7d651ba..e595f9bc6429 100644 --- a/dev-python/glicko2/glicko2-2.0.0-r2.ebuild +++ b/dev-python/glicko2/glicko2-2.0.0-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/gnuplot-py/gnuplot-py-1.8_p8.ebuild b/dev-python/gnuplot-py/gnuplot-py-1.8_p8-r1.ebuild index ccce319c664c..7abbcb4f6cac 100644 --- a/dev-python/gnuplot-py/gnuplot-py-1.8_p8.ebuild +++ b/dev-python/gnuplot-py/gnuplot-py-1.8_p8-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,6 +7,7 @@ MYPN="python-gnuplot" MYPV="$(ver_cut 1-2)" MYP="${PN}-${MYPV}" PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 diff --git a/dev-python/googletrans/Manifest b/dev-python/googletrans/Manifest index e2a731533917..60209ce73770 100644 --- a/dev-python/googletrans/Manifest +++ b/dev-python/googletrans/Manifest @@ -1 +1 @@ -DIST googletrans-4.0.0_rc1.tar.gz 20199 BLAKE2B 38047d2dea820272a3b2adc07043230802fc66994966771c7ea55b70c0f79d5fdb22ff6bba8e89f0bc5224be86a21d5026d7dc19f8a370a61f34eecf53296a3c SHA512 fcb0330c51680fa91fdea994cf5ec6d19867c0996183529df5d1d0c63ef4d1fd4e9a2a061d6c01a9a0c302faf640724f3bdaff335ad663874af9588bd3210eaa +DIST googletrans-4.0.0rc1.tar.gz 20199 BLAKE2B 38047d2dea820272a3b2adc07043230802fc66994966771c7ea55b70c0f79d5fdb22ff6bba8e89f0bc5224be86a21d5026d7dc19f8a370a61f34eecf53296a3c SHA512 fcb0330c51680fa91fdea994cf5ec6d19867c0996183529df5d1d0c63ef4d1fd4e9a2a061d6c01a9a0c302faf640724f3bdaff335ad663874af9588bd3210eaa diff --git a/dev-python/googletrans/googletrans-4.0.0_rc1.ebuild b/dev-python/googletrans/googletrans-4.0.0_rc1-r1.ebuild index f73ca89abaa6..c0ec2fd2c4bc 100644 --- a/dev-python/googletrans/googletrans-4.0.0_rc1.ebuild +++ b/dev-python/googletrans/googletrans-4.0.0_rc1-r1.ebuild @@ -1,14 +1,18 @@ -# Copyright 1999-2021 Gentoo Authors +# 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 +PYPI_NONORMALIZE=1 + inherit distutils-r1 pypi MY_PV=${PV/_/} DESCRIPTION="Free Google Translate API for Python. Translates totally free of charge." HOMEPAGE="https://pypi.org/project/googletrans/ https://github.com/ssut/py-googletrans" -SRC_URI="$(pypi_sdist_url --no-normalize ${PN} ${MY_PV}) -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${MY_PV}" LICENSE="MIT" diff --git a/dev-python/graphql-core/graphql-core-3.2.3.ebuild b/dev-python/graphql-core/graphql-core-3.2.3.ebuild index cec63e36d272..9bba9e450a96 100644 --- a/dev-python/graphql-core/graphql-core-3.2.3.ebuild +++ b/dev-python/graphql-core/graphql-core-3.2.3.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 @@ -44,10 +44,6 @@ src_prepare() { } python_test() { - if [[ ${EPYTHON} == "python3.11" ]]; then - local EPYTEST_DESELECT=( - tests/pyutils/test_is_awaitable.py::describe_is_awaitable::recognizes_an_old_style_coroutine - ) - fi + cd "${S}"/tests || die epytest } diff --git a/dev-python/grpc-stubs/grpc-stubs-1.53.0.3.ebuild b/dev-python/grpc-stubs/grpc-stubs-1.53.0.3.ebuild index 321529fdf1e2..2ee48a7eae9b 100644 --- a/dev-python/grpc-stubs/grpc-stubs-1.53.0.3.ebuild +++ b/dev-python/grpc-stubs/grpc-stubs-1.53.0.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/guidata/Manifest b/dev-python/guidata/Manifest index b387ca03aeb4..28a62c5afbdc 100644 --- a/dev-python/guidata/Manifest +++ b/dev-python/guidata/Manifest @@ -1,3 +1,2 @@ -DIST guidata-2.3.1.tar.gz 504812 BLAKE2B 4b2e5e07ee76bbeb95a9a55a4cde1d409d2438fe5273a0f154d34e8beb9934f810b29a33ef508009e38c589d57402aef55d346b93856fc744e7a8236748f5e86 SHA512 7488ca8c761394dfd9d58a8ac3c96dc963adab6df278823fb1a7d9132febc16e275908034ef48381d696668add43f62438fab1ba22f70f5e08f33b14a81082c5 DIST guidata-3.2.2.tar.gz 672062 BLAKE2B ff8c06e1f97cc454136a3cb8857739cc223536456bb06a4ac3b3b86e2eaf894fc60a3bdc2d70ea62fdc2b85bbc9f546f614b5ad0b2c9bace584054377f5fbfb2 SHA512 a9f31e5c43bf203f9a5919dd574553ec14dcd317e06204be50bcd4f2cc7ac71a431145d33a6d3dfe076620d6cc753349b5fdb5436d89dfda18c9f7572aeec00f DIST guidata-3.3.0.tar.gz 690865 BLAKE2B 1b52295094844f839665e9dadbfff8d407b48d1746d72154d1181812a8b205660feac6ec86002cab31eef2c8fc5e72a35034145e51388e16e9bae89b2e801bd1 SHA512 7c962b8205cdcb13a628b6bfa256e7b62e1478933933d5ac9b8a1f7fbf6e4e17dbbbfe73bd520585b148ea858816e78f7dd3377ba70acc1be3a071981e5179ca diff --git a/dev-python/guidata/guidata-2.3.1.ebuild b/dev-python/guidata/guidata-2.3.1.ebuild deleted file mode 100644 index 1d06274dcb6f..000000000000 --- a/dev-python/guidata/guidata-2.3.1.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Library for user interfaces for easy dataset editing and display" -HOMEPAGE="https://pypi.python.org/pypi/guidata" -LICENSE="CeCILL-2" - -SLOT="0" - -# No automated tests can be performed afaik -RESTRICT="test" - -RDEPEND=" - dev-python/PyQt5[${PYTHON_USEDEP}] - dev-python/QtPy[${PYTHON_USEDEP}] -" - - -KEYWORDS="~amd64 ~x86" diff --git a/dev-python/guppy3/guppy3-3.1.3-r1.ebuild b/dev-python/guppy3/guppy3-3.1.3-r1.ebuild index 42eef2eba465..7cef4831593b 100644 --- a/dev-python/guppy3/guppy3-3.1.3-r1.ebuild +++ b/dev-python/guppy3/guppy3-3.1.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 diff --git a/dev-python/hachoir/Manifest b/dev-python/hachoir/Manifest index 3f1d4f736112..cbfb33cc9840 100644 --- a/dev-python/hachoir/Manifest +++ b/dev-python/hachoir/Manifest @@ -1,2 +1 @@ -DIST hachoir-3.2.0.gh.tar.gz 6922212 BLAKE2B d4e4b220a2495f00506e4a74882cb90abc0b20937fe6a28da1ed03e46c9ee7de004abd0ec04306a62f37c4799d78dad6bafdc70691b4d70864dd2e63979b960f SHA512 82b4271bfe8c50529b69e482205f66953c63da754220a11bb2d4ff9474d8ae81d856e639c293c4461427fc190ae53eae259c592af6844b67667d3063de955751 DIST hachoir-3.3.0.gh.tar.gz 7905416 BLAKE2B 2125d28c932564867b37265206d5e27c9202b523ee8cb01d438aba44e6be42e76a6d2411ff72002db1a2dd28cf5561ff9c810920c88bbd8b20399007d85c3abf SHA512 8c9d6070877cedf706bec45f2813e145b3014dfc5c29d44e6c78fade165f0706cb214690e89551e4934a54c7e8e1fac1c73362fb9ada1c3d3d41f35556f43c7a diff --git a/dev-python/hachoir/hachoir-3.2.0.ebuild b/dev-python/hachoir/hachoir-3.2.0.ebuild deleted file mode 100644 index 7e0f080f266f..000000000000 --- a/dev-python/hachoir/hachoir-3.2.0.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2022-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="Hachoir is a Python library to view and edit a binary stream field by field " -HOMEPAGE="https://github.com/vstinner/hachoir/" -SRC_URI="https://github.com/vstinner/hachoir/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" -" -DEPEND="${RDEPEND}" - -distutils_enable_tests pytest diff --git a/dev-python/i3ipc/i3ipc-2.2.1-r1.ebuild b/dev-python/i3ipc/i3ipc-2.2.1-r1.ebuild index c82355e0b2e3..c922c2fcd7de 100644 --- a/dev-python/i3ipc/i3ipc-2.2.1-r1.ebuild +++ b/dev-python/i3ipc/i3ipc-2.2.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 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/j1m-sphinxautozconfig/Manifest b/dev-python/j1m-sphinxautozconfig/Manifest deleted file mode 100644 index cbea93af5e79..000000000000 --- a/dev-python/j1m-sphinxautozconfig/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST j1m.sphinxautozconfig-0.1.0.tar.gz 2419 BLAKE2B 8fa63ddbf29404edeb13b110b6432fadad49752f0c43cb57feef03276013979dc2b632e6b75b7b0d19ee273a23c8d0a401f6039e0005a2619a8d60516d98e478 SHA512 a6177d4ea94f79f3d5974f3633d553ddcfbfcd5e6734998005de929b6ed34273c7d8aaeea59d2b61bf49559c7f09563bce04ab46d371d06a9a4a2954fcff3178 diff --git a/dev-python/j1m-sphinxautozconfig/j1m-sphinxautozconfig-0.1.0.ebuild b/dev-python/j1m-sphinxautozconfig/j1m-sphinxautozconfig-0.1.0.ebuild deleted file mode 100644 index 95d14e901658..000000000000 --- a/dev-python/j1m-sphinxautozconfig/j1m-sphinxautozconfig-0.1.0.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -PYPI_NO_NORMALIZE=1 -PYPI_PN="${PN/-/\.}" - -inherit distutils-r1 pypi - -DESCRIPTION="Spinx support for ZConfig" -HOMEPAGE="https://github.com/jimfulton/sphinxautozconfig" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} diff --git a/dev-python/j1m-sphinxautozconfig/metadata.xml b/dev-python/j1m-sphinxautozconfig/metadata.xml deleted file mode 100644 index 58984801aba5..000000000000 --- a/dev-python/j1m-sphinxautozconfig/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>julien@jroy.ca</email> - <name>Julien Roy</name> - </maintainer> - <upstream> - <maintainer> - <email>jim@jimfulton.info</email> - <name>Jim Fulton</name> - </maintainer> - <bugs-to>https://github.com/jimfulton/sphinxautozconfig/issues</bugs-to> - </upstream> - <origin>gentoo-guru-overlay</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/jinja2-cli/jinja2-cli-0.8.2.ebuild b/dev-python/jinja2-cli/jinja2-cli-0.8.2.ebuild index 81cd112eadbf..818f6157e05e 100644 --- a/dev-python/jinja2-cli/jinja2-cli-0.8.2.ebuild +++ b/dev-python/jinja2-cli/jinja2-cli-0.8.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,7 +10,7 @@ inherit distutils-r1 DESCRIPTION="CLI for Jinja2" HOMEPAGE="https://github.com/mattrobenolt/jinja2-cli" -SRC_URI="https://github.com/mattrobenolt/jinja2-cli/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/mattrobenolt/jinja2-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" @@ -21,10 +21,4 @@ RDEPEND=" dev-python/xmltodict[${PYTHON_USEDEP}] " -src_prepare() { - distutils-r1_src_prepare -} - -python_install_all() { - distutils-r1_python_install_all -} +distutils_enable_tests pytest diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..e9da2ac43cac 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 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 deleted file mode 100644 index 637368d2f237..000000000000 --- a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." - ---- a/setup.py -+++ b/setup.py -@@ -18,7 +18,7 @@ setup( - author_email='michal.danilak@gmail.com', - url='https://github.com/Mimino666/langdetect', - keywords='language detection library', -- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], -+ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], - include_package_data=True, - install_requires=['six'], - license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 630fe63c6f53..c09b7356f549 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-2024 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,6 +19,4 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) - distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 736a1167c898..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,6 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - - <origin>gentoo-guru-overlay</origin> + <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> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/libusb1/libusb1-2.0.1.ebuild b/dev-python/libusb1/libusb1-2.0.1-r1.ebuild index 14f951b72eb2..66b87c01edc8 100644 --- a/dev-python/libusb1/libusb1-2.0.1.ebuild +++ b/dev-python/libusb1/libusb1-2.0.1-r1.ebuild @@ -1,14 +1,18 @@ -# Copyright 2020-2021 Gentoo Authors +# Copyright 2020-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="Pure-python wrapper for libusb-1.0" -HOMEPAGE="https://github.com/vpelletier/python-libusb1 https://pypi.org/project/libusb1/" +HOMEPAGE=" + https://github.com/vpelletier/python-libusb1 + https://pypi.org/project/libusb1/ +" LICENSE="LGPL-2.1+" SLOT="0" diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest index b5e05c832a1d..b5cb9d9d3c1a 100644 --- a/dev-python/libvirt-python/Manifest +++ b/dev-python/libvirt-python/Manifest @@ -2,6 +2,8 @@ DIST libvirt-python-10.0.0.tar.gz 246385 BLAKE2B 0d3411d5d138fe57c6a5b7342347993 DIST libvirt-python-10.0.0.tar.gz.asc 833 BLAKE2B f90f76364c84dff7f7346ea06a630b7085f9c6c7c9bf671cc152287f2123a4f8d1fd8734c3a2771468a8e4748fb7e8628738403b45e688dc36d3972999ff24bf SHA512 fd6048d6a8f73145e7e0512e55a86740a923c671b75aa505cb58291e9809d9927400eabf636db94d9e7093b3eb2c11df0e36d8de24ba9944ae05a8885201ebab DIST libvirt-python-10.1.0.tar.gz 246933 BLAKE2B f95757c6e88271874f2e6c5efd52f4b075dee96902287b66f535f3d154eea58f7fa5156c7303c108eed34552917227cd0e1abbf4ce78d619dd113d24763780bb SHA512 b1a316703f577ebeafc6f96b5988f3716c24acfea674834c9034d488c456ca1d0386d602942ff4e0d2e947252a2d7049af4c6531407f9ff9a3b981c7c6c3fd37 DIST libvirt-python-10.1.0.tar.gz.asc 833 BLAKE2B ae970da8b897efa3c8abf596fa653e2fed23e11dc1e1531093ce7fb1c3f9c76659fb71aab828a02c141bd59695eb6989a39f2c99fdd8494e40a8ded43c727fb8 SHA512 deb6af1a7d59bae6498175c842be7995262d0503a0614267b4fa8a157d5d094d8aacd34184b4149a0821750d57ba3ad36af1fec1f7e9532625bb620229bf404d +DIST libvirt-python-10.2.0.tar.gz 246954 BLAKE2B a6987539386acae3f06d97fa3fbe9b53eb93b3877ee0e4f0c2a068104f12c5c7b116392fc078c30ef297c108128eaf29075974502dee75e84c96c8288ab70809 SHA512 36c79491a9be24fc118cbaddcd96c02c7df05c3808cd8f7dbc2d143330aa8f4a6cf8ea90fc1901dcb43d9c2b52edd1a013d01b88a82b1d3ec6a2ab88b671ac61 +DIST libvirt-python-10.2.0.tar.gz.asc 833 BLAKE2B 0aaf3853f27e7f2157fed61e1a4dedd80cc70a95b2a265a46d04eb97d0e4b583779eb072f7c94f478c20340f09266079204d9c1805987c3a512f96c4d7f670d4 SHA512 b9fd2d958c3afd23e18559d913dabd3409d68c2eb0094e485f5131e8278f25569c88d443b1ac1b30cad87cd02d9335c5e09a3ea87e37a3a73df650f57d647b11 DIST libvirt-python-9.8.0.tar.gz 246277 BLAKE2B c333909d1f4fd32f9e05d42e468b3808971360bb8aaf35934ec25f8155f0231b2ff3bfd90944a50cf13e09cec3cf35fdf41fb5869b1683c1cd36b4767f2b3dd1 SHA512 c9871ca2fa9d18ae42c4aa76e9a7ba9f0a026061b058072c862c8fe402c2d2325189687e1490718360a9b8f6c13d8ae2adfbe54f79a367fb6be9fbde381f4901 DIST libvirt-python-9.8.0.tar.gz.asc 833 BLAKE2B 78e6556031c325674d26322d0a6a4dfc391dd050223bd6d939d30328fc7bb1a2f8671aae95eb3a37b916311e6f4c44a4c1929093844347e06dffa23480793e34 SHA512 b999d442f8e22d91ccf9988f53603159406b3aacd3469fd613ed24afd67722206eb2b319a1518bc7aa8cc12684f84685de885bd40c9ba7d9a94ef16cf03f6065 DIST libvirt-python-9.9.0.tar.gz 246357 BLAKE2B d2e6bc9f8ae3c722ffa18772e40965e7ef1acfb36a863d764ac39c694f687a078b6433cb780a27696f63c698c3e63d203ae1609b48ee31ea5cd95a21a3947666 SHA512 5a09b23b843080f2e55a7b00dc225e0bf23c9c23cac42ce4ffaff725020303745185482c2cc781d519020f50a335d4fa72a7a618bb2c1d0eb0845781d1b22ab7 diff --git a/dev-python/libvirt-python/libvirt-python-10.2.0.ebuild b/dev-python/libvirt-python/libvirt-python-10.2.0.ebuild new file mode 100644 index 000000000000..66a1212e3036 --- /dev/null +++ b/dev-python/libvirt-python/libvirt-python-10.2.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Packages which get releases together: +# app-emacs/nxml-libvirt-schemas +# dev-python/libvirt-python +# dev-perl/Sys-Virt +# app-emulation/libvirt +# Please bump them together! + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +inherit distutils-r1 verify-sig + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-python.git" + RDEPEND="app-emulation/libvirt:=" +else + MY_P="${P/_rc/-rc}" + SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz + verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + RDEPEND="app-emulation/libvirt:0/${PV}" +fi +S="${WORKDIR}/${P%_rc*}" + +DESCRIPTION="libvirt Python bindings" +HOMEPAGE="https://www.libvirt.org" + +LICENSE="LGPL-2" +SLOT="0" +IUSE="examples test" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + ) + verify-sig? ( sec-keys/openpgp-keys-libvirt ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libvirt.org.asc + +distutils_enable_tests pytest + +python_compile() { + # setuptools is broken for C extensions, bug #907718 + distutils-r1_python_compile -j1 +} + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/lxml/lxml-5.1.1.ebuild b/dev-python/lxml/lxml-5.1.1.ebuild index bcfbcd43b09d..b8c17a5fd5cf 100644 --- a/dev-python/lxml/lxml-5.1.1.ebuild +++ b/dev-python/lxml/lxml-5.1.1.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/lxml-${P} LICENSE="BSD ElementTree GPL-2 PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="doc examples +threads test" RESTRICT="!test? ( test )" diff --git a/dev-python/nkdfu/nkdfu-0.2.ebuild b/dev-python/nkdfu/nkdfu-0.2.ebuild index 808c87a3c6f3..4ec6e9c3a6df 100644 --- a/dev-python/nkdfu/nkdfu-0.2.ebuild +++ b/dev-python/nkdfu/nkdfu-0.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/opentelemetry-api/Manifest b/dev-python/opentelemetry-api/Manifest index a6e4faac064e..dc35f6a3f727 100644 --- a/dev-python/opentelemetry-api/Manifest +++ b/dev-python/opentelemetry-api/Manifest @@ -1,2 +1 @@ -DIST opentelemetry-python-1.23.0.gh.tar.gz 523456 BLAKE2B 94047e0d806ce17f0116fd6343daeecbf738c41e3e1cc1cbf8af9a0b1c44b29cecbc597011a7ffe15ffc656f2744750d9117d63bdaa77c7971248f58f9580c8e SHA512 8a2cb94d774db15eb6bb7fd97d5b761d35066779072c0ce0cf51b6d1083d115120b932598c0da2efb20060e8a4c65415a74f508011ccca7242e2d79705f0c246 DIST opentelemetry-python-1.24.0.gh.tar.gz 532064 BLAKE2B 3dc13658293d1651d8e441b0c43f539a4e5e9d49d633786cb3f3dbab667b016c88777e0691bac24ca43e7df5f04c8e41a67e9f6991787947d743b1b30b5953cd SHA512 dbae1db127e2aed0a90bb01db6e2865162f945a9e6713f5048c7f56660231a14c3707474f9f65db8759f2f03334c3126d0542c3c8c2e0998d0f7f98ae6e84ef8 diff --git a/dev-python/opentelemetry-api/opentelemetry-api-1.23.0.ebuild b/dev-python/opentelemetry-api/opentelemetry-api-1.23.0.ebuild deleted file mode 100644 index 485ea421a541..000000000000 --- a/dev-python/opentelemetry-api/opentelemetry-api-1.23.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_P="opentelemetry-python-${PV}" - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="OpenTelemetry Python API" -HOMEPAGE=" - https://opentelemetry.io/ - https://pypi.org/project/opentelemetry-api/ - https://github.com/open-telemetry/opentelemetry-python/ -" -SRC_URI=" - https://github.com/open-telemetry/opentelemetry-python/archive/refs/tags/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/${PN}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/deprecated-1.2.6[${PYTHON_USEDEP}] - dev-python/importlib-metadata[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/asgiref[${PYTHON_USEDEP}] - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/iniconfig[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pluggy[${PYTHON_USEDEP}] - dev-python/py-cpuinfo[${PYTHON_USEDEP}] - dev-python/py[${PYTHON_USEDEP}] - dev-python/tomli[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - dev-python/wrapt[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - default - - # Unnecessary restriction - # https://github.com/open-telemetry/opentelemetry-python/pull/3576 - sed -i -e '/importlib-metadata/s:, < 7.0::' pyproject.toml || die -} - -python_test() { - cp -a "${BUILD_DIR}"/{install,test} || die - local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} - - for dep in opentelemetry-semantic-conventions opentelemetry-sdk tests/opentelemetry-test-utils ; do - pushd "${WORKDIR}/${MY_P}/${dep}" >/dev/null || die - distutils_pep517_install "${BUILD_DIR}"/test - popd >/dev/null || die - done - - epytest -} 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 85827a98c979..65af0e779de9 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" RDEPEND=" >=dev-python/deprecated-1.2.6[${PYTHON_USEDEP}] diff --git a/dev-python/opentelemetry-sdk/Manifest b/dev-python/opentelemetry-sdk/Manifest index a6e4faac064e..dc35f6a3f727 100644 --- a/dev-python/opentelemetry-sdk/Manifest +++ b/dev-python/opentelemetry-sdk/Manifest @@ -1,2 +1 @@ -DIST opentelemetry-python-1.23.0.gh.tar.gz 523456 BLAKE2B 94047e0d806ce17f0116fd6343daeecbf738c41e3e1cc1cbf8af9a0b1c44b29cecbc597011a7ffe15ffc656f2744750d9117d63bdaa77c7971248f58f9580c8e SHA512 8a2cb94d774db15eb6bb7fd97d5b761d35066779072c0ce0cf51b6d1083d115120b932598c0da2efb20060e8a4c65415a74f508011ccca7242e2d79705f0c246 DIST opentelemetry-python-1.24.0.gh.tar.gz 532064 BLAKE2B 3dc13658293d1651d8e441b0c43f539a4e5e9d49d633786cb3f3dbab667b016c88777e0691bac24ca43e7df5f04c8e41a67e9f6991787947d743b1b30b5953cd SHA512 dbae1db127e2aed0a90bb01db6e2865162f945a9e6713f5048c7f56660231a14c3707474f9f65db8759f2f03334c3126d0542c3c8c2e0998d0f7f98ae6e84ef8 diff --git a/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.23.0.ebuild b/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.23.0.ebuild deleted file mode 100644 index 2db25e4b2906..000000000000 --- a/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.23.0.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_P="opentelemetry-python-${PV}" - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="OpenTelemetry Python SDK" -HOMEPAGE=" - https://opentelemetry.io/ - https://pypi.org/project/opentelemetry-sdk/ - https://github.com/open-telemetry/opentelemetry-python/ -" -SRC_URI=" - https://github.com/open-telemetry/opentelemetry-python/archive/refs/tags/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" - -S="${WORKDIR}/${MY_P}/${PN}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - ~dev-python/opentelemetry-api-${PV}[${PYTHON_USEDEP}] - ~dev-python/opentelemetry-semantic-conventions-${PV}[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/asgiref[${PYTHON_USEDEP}] - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/deprecated[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/importlib-metadata[${PYTHON_USEDEP}] - dev-python/iniconfig[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pluggy[${PYTHON_USEDEP}] - dev-python/py-cpuinfo[${PYTHON_USEDEP}] - dev-python/py[${PYTHON_USEDEP}] - dev-python/tomli[${PYTHON_USEDEP}] - dev-python/wrapt[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] - ) -" - -# Tests cannot handle xdist with high makeopts -# https://bugs.gentoo.org/928132 -distutils_enable_tests pytest - -src_prepare() { - default - - # Use the same version with all opentelemetry components - # # https://github.com/gentoo/gentoo/pull/35962#issuecomment-2025466313 - sed -i -e "s/\"\(opentelemetry-semantic-conventions == \).*\"/\"\1 ${PV}\"/" pyproject.toml || die -} - -python_test() { - cp -a "${BUILD_DIR}"/{install,test} || die - local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} - - for dep in tests/opentelemetry-test-utils; do - pushd "${WORKDIR}/${MY_P}/${dep}" >/dev/null || die - distutils_pep517_install "${BUILD_DIR}"/test - popd >/dev/null || die - done - - local -x EPYTEST_IGNORE=( - tests/performance/benchmarks/ - ) - - epytest -} 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 2db25e4b2906..a206408a588f 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" RDEPEND=" ~dev-python/opentelemetry-api-${PV}[${PYTHON_USEDEP}] diff --git a/dev-python/opentelemetry-semantic-conventions/Manifest b/dev-python/opentelemetry-semantic-conventions/Manifest index a6e4faac064e..dc35f6a3f727 100644 --- a/dev-python/opentelemetry-semantic-conventions/Manifest +++ b/dev-python/opentelemetry-semantic-conventions/Manifest @@ -1,2 +1 @@ -DIST opentelemetry-python-1.23.0.gh.tar.gz 523456 BLAKE2B 94047e0d806ce17f0116fd6343daeecbf738c41e3e1cc1cbf8af9a0b1c44b29cecbc597011a7ffe15ffc656f2744750d9117d63bdaa77c7971248f58f9580c8e SHA512 8a2cb94d774db15eb6bb7fd97d5b761d35066779072c0ce0cf51b6d1083d115120b932598c0da2efb20060e8a4c65415a74f508011ccca7242e2d79705f0c246 DIST opentelemetry-python-1.24.0.gh.tar.gz 532064 BLAKE2B 3dc13658293d1651d8e441b0c43f539a4e5e9d49d633786cb3f3dbab667b016c88777e0691bac24ca43e7df5f04c8e41a67e9f6991787947d743b1b30b5953cd SHA512 dbae1db127e2aed0a90bb01db6e2865162f945a9e6713f5048c7f56660231a14c3707474f9f65db8759f2f03334c3126d0542c3c8c2e0998d0f7f98ae6e84ef8 diff --git a/dev-python/opentelemetry-semantic-conventions/opentelemetry-semantic-conventions-1.23.0.ebuild b/dev-python/opentelemetry-semantic-conventions/opentelemetry-semantic-conventions-1.23.0.ebuild deleted file mode 100644 index 8efd5e979744..000000000000 --- a/dev-python/opentelemetry-semantic-conventions/opentelemetry-semantic-conventions-1.23.0.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_P="opentelemetry-python-${PV}" - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="OpenTelemetry Semantic Conventions" -HOMEPAGE=" - https://opentelemetry.io/ - https://pypi.org/project/opentelemetry-sdk/ - https://github.com/open-telemetry/opentelemetry-python/ -" -SRC_URI=" - https://github.com/open-telemetry/opentelemetry-python/archive/refs/tags/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/${PN}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -BDEPEND=" - test? ( - dev-python/asgiref[${PYTHON_USEDEP}] - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/deprecated[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/importlib-metadata[${PYTHON_USEDEP}] - dev-python/iniconfig[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pluggy[${PYTHON_USEDEP}] - dev-python/py-cpuinfo[${PYTHON_USEDEP}] - dev-python/py[${PYTHON_USEDEP}] - dev-python/tomli[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - dev-python/wrapt[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - default - - # Use the same version with all opentelemetry components - # https://github.com/gentoo/gentoo/pull/35962#issuecomment-2025466313 - sed -i -e "s/\(__version__ =\) .*/\1 \"${PV}\"/" src/opentelemetry/semconv/version.py || die -} - -python_test() { - cp -a "${BUILD_DIR}"/{install,test} || die - local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} - - for dep in opentelemetry-api opentelemetry-sdk tests/opentelemetry-test-utils ; do - pushd "${WORKDIR}/${MY_P}/${dep}" >/dev/null || die - distutils_pep517_install "${BUILD_DIR}"/test - popd >/dev/null || die - done - - epytest -} 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 8efd5e979744..b67ce001f4c9 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" BDEPEND=" test? ( diff --git a/dev-python/pandas/Manifest b/dev-python/pandas/Manifest index 6ec9246b695c..05856a547c23 100644 --- a/dev-python/pandas/Manifest +++ b/dev-python/pandas/Manifest @@ -1,4 +1,2 @@ -DIST pandas-2.1.4.tar.gz 4274800 BLAKE2B 71cd374964d5e751a9ea0b29cb341d7de521de8de3bbe0963fc821eb6fa2babf2a5cb87c0f49fab88fd451bd331d83fd216f199c75876d7c1ea367ba53c20178 SHA512 de02944829ea4df6a3913788c2ae30683504d70a1cef5789c927245dab8700981edd50de18af3619d30ac97f4658fce67f6c7637acf496bd464ad3a4109bfd1c -DIST pandas-2.2.0.tar.gz 4390211 BLAKE2B 205410d02d1295bfb68403685fb9247ca361c80233e762b8d798ff4a04fd1ca39e22bc3beb3f701490dbaf0a2d69a1afebbfe142ef646506c1d19aba88a1b5c6 SHA512 6de7f6941f08d412d5e6e3b33e7ad569afce4ade2eda9a68f2883e8ccefe8373212a1b80ac384e68522fb5a9c043de0b944b3920d07131ed6625363f2a4b0b5b DIST pandas-2.2.1.tar.gz 4395256 BLAKE2B 7f66c2995699832930a626ff01b3b39bafa0bd19f41245b8b49bbf5a1b78663433060f4d94817498494b6cf66d38dde27da64e196c6400e50f30441d7e51991b SHA512 8e6af4793d8b77e5c86a22c88f999dba63b1cc1954f5148bdb8c9b1bfe4e7fc5004de7d0f035b2d651f56c44b28ba4b0bd304f9c9122426cc37fb97596e13746 DIST pandas-2.2.2.tar.gz 4398391 BLAKE2B 6b723d85c500abaca4d833e4fb329d9a495e3e8ae51c74632111b139ed38ca9e26087ba43ecc40d68f66613352dc140bb2f1b0cbb92915bb027548886072fc79 SHA512 85b006f96bd6400aeea2ec29df3557ea6c4bfee0a7aebb172547a43171dc0e7682d15f798081846a4f464559ab83f579cfe06d66d4b5c0cb0fb2975c2ef98f9c diff --git a/dev-python/pandas/pandas-2.1.4.ebuild b/dev-python/pandas/pandas-2.1.4.ebuild deleted file mode 100644 index 7ca8addaf321..000000000000 --- a/dev-python/pandas/pandas-2.1.4.ebuild +++ /dev/null @@ -1,221 +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=meson-python -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -PYTHON_REQ_USE="threads(+)" - -VIRTUALX_REQUIRED="manual" - -inherit distutils-r1 optfeature pypi virtualx - -DESCRIPTION="Powerful data structures for data analysis and statistics" -HOMEPAGE=" - https://pandas.pydata.org/ - https://github.com/pandas-dev/pandas/ - https://pypi.org/project/pandas/ -" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ~riscv ~s390 x86" -IUSE="full-support minimal test X" -RESTRICT="!test? ( test )" - -RECOMMENDED_DEPEND=" - >=dev-python/bottleneck-1.3.4[${PYTHON_USEDEP}] - >=dev-python/numexpr-2.8.0[${PYTHON_USEDEP}] -" - -# TODO: add pandas-gbq to the tree -# TODO: Re-add dev-python/statsmodel[python3_11] dep once it supports python3_11 -# https://github.com/statsmodels/statsmodels/issues/8287 -OPTIONAL_DEPEND=" - >=dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] - dev-python/blosc[${PYTHON_USEDEP}] - >=dev-python/html5lib-1.1[${PYTHON_USEDEP}] - >=dev-python/jinja-3.1.2[${PYTHON_USEDEP}] - >=dev-python/lxml-4.8.0[${PYTHON_USEDEP}] - >=dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}] - >=dev-python/openpyxl-3.0.7[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.4.36[${PYTHON_USEDEP}] - >=dev-python/tables-3.7.0[${PYTHON_USEDEP}] - >=dev-python/tabulate-0.8.10[${PYTHON_USEDEP}] - >=dev-python/xarray-2022.3.0[${PYTHON_USEDEP}] - >=dev-python/xlrd-2.0.1[${PYTHON_USEDEP}] - >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] - >=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}] - !arm? ( !hppa? ( !ppc? ( !x86? ( - $(python_gen_cond_dep ' - dev-python/statsmodels[${PYTHON_USEDEP}] - ' python3_{8..10} ) - >=dev-python/scipy-1.8.1[${PYTHON_USEDEP}] - ) ) ) ) - X? ( - || ( - >=dev-python/PyQt5-5.15.6[${PYTHON_USEDEP}] - >=dev-python/QtPy-2.2.0[${PYTHON_USEDEP}] - x11-misc/xclip - x11-misc/xsel - ) - ) -" -DEPEND=" - <dev-python/numpy-2[${PYTHON_USEDEP}] - >=dev-python/numpy-1.23.2[${PYTHON_USEDEP}] -" -COMMON_DEPEND=" - ${DEPEND} - >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] - >=dev-python/pytz-2020.1[${PYTHON_USEDEP}] -" -BDEPEND=" - ${COMMON_DEPEND} - >=dev-build/meson-1.2.1 - >=dev-python/cython-0.29.33[${PYTHON_USEDEP}] - >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] - test? ( - ${VIRTUALX_DEPEND} - ${RECOMMENDED_DEPEND} - ${OPTIONAL_DEPEND} - >=dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.46.1[${PYTHON_USEDEP}] - >=dev-python/openpyxl-3.0.10[${PYTHON_USEDEP}] - >=dev-python/pymysql-1.0.2[${PYTHON_USEDEP}] - >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] - x11-misc/xclip - x11-misc/xsel - ) -" -RDEPEND=" - ${COMMON_DEPEND} - dev-python/tzdata[${PYTHON_USEDEP}] - !minimal? ( ${RECOMMENDED_DEPEND} ) - full-support? ( ${OPTIONAL_DEPEND} ) -" - -PATCHES=( - # a quick hack, it's already fixed in main - "${FILESDIR}/pandas-2.1.1-which.patch" - # https://github.com/pandas-dev/pandas/commit/e31a6865958442435ae9b31f312129c44f66eb5e - "${FILESDIR}/pandas-2.1.4-khash-dep.patch" -) - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # test for rounding errors, fails if we have better precision - # e.g. on amd64 with FMA or on arm64 - # https://github.com/pandas-dev/pandas/issues/38921 - tests/window/test_rolling.py::test_rolling_var_numerical_issues - - # TODO; unhappy about DISPLAY? - tests/test_downstream.py::test_seaborn - - # OOMs - tests/io/parser/test_c_parser_only.py::test_bytes_exceed_2gb - - # TODO: numexpr says "forbidden control characters" - tests/computation/test_eval.py::TestOperations::test_multi_line_expression_local_variable - 'tests/computation/test_eval.py::test_query_token[numexpr-Temp(\xb0C)]' - tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_lots_of_operators_string - tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_multiple_spaces - tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_parenthesis - tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_start_with_spaces - tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_local_syntax - tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_local_variable_with_in - tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_nested_scope - tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_query_scope - - # TODO: missing data not covered by --no-strict-data-files? - tests/io/xml/test_xml.py::test_empty_stylesheet - tests/io/xml/test_xml.py::test_wrong_file_path - - # TODO - tests/frame/test_arithmetic.py::TestFrameFlexArithmetic::test_floordiv_axis0_numexpr_path - - # deprecation warning - tests/io/pytables/test_retain_attributes.py::test_retain_index_attributes2 - 'tests/computation/test_eval.py::TestEval::test_scalar_unary[numexpr-pandas]' - - # Needs 64-bit time_t (TODO: split into 32-bit arch only section) - tests/tseries/offsets/test_year.py::test_add_out_of_pydatetime_range - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessDay]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessHour]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessDay]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessHour]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-QuarterEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-LastWeekOfMonth]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-WeekOfMonth]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-Week]' - - # hdf / pytables have alignment problems: bug #911660 - # https://github.com/pandas-dev/pandas/issues/54396 - tests/io/pytables/test_append.py::test_append_frame_column_oriented - tests/io/pytables/test_store.py::test_select_filter_corner - - # blosc2 version - tests/io/pytables/test_file_handling.py::test_complibs\[blosc2-{1..9}\] - ) - - case ${EPYTHON} in - python3.12) - EPYTEST_DESELECT+=( - tests/io/pytables/test_select.py::test_select_dtypes - tests/io/pytables/test_select.py::test_frame_select - # deprecation warnings - tests/io/excel/test_writers.py::TestRoundTrip::test_read_excel_parse_dates - # some pytest-xdist problem? - tests/base/test_unique.py::test_unique_bad_unicode - ) - ;; - esac - - local -x LC_ALL=C.UTF-8 - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die - # --no-strict-data-files is necessary since upstream prevents data - # files from even being included in GitHub archives, sigh - # https://github.com/pandas-dev/pandas/issues/54907 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest pandas/tests \ - --no-strict-data-files \ - -m "not single and not slow and not network" || - die "Tests failed with ${EPYTHON}" - rm test-data.xml || die -} - -pkg_postinst() { - optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck - optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" ">=dev-python/numexpr-2.1" - optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup4 dev-python/html5lib dev-python/lxml - optfeature "for msgpack compression using blosc" dev-python/blosc - optfeature "Template engine for conditional HTML formatting" dev-python/jinja - optfeature "Plotting support" dev-python/matplotlib - optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-3.0.10" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt - optfeature "necessary for HDF5-based storage" ">=dev-python/tables-3.7.0" - optfeature "R I/O support" dev-python/rpy - optfeature "Needed for parts of pandas.stats" dev-python/statsmodels - optfeature "SQL database support" ">=dev-python/sqlalchemy-1.4.36" - optfeature "miscellaneous statistical functions" dev-python/scipy - optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/PyQt5 dev-python/QtPy dev-python/pygtk x11-misc/xclip x11-misc/xsel -} diff --git a/dev-python/pandas/pandas-2.2.0-r1.ebuild b/dev-python/pandas/pandas-2.2.0-r1.ebuild deleted file mode 100644 index 09e0611d0d14..000000000000 --- a/dev-python/pandas/pandas-2.2.0-r1.ebuild +++ /dev/null @@ -1,215 +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=meson-python -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -PYTHON_REQ_USE="threads(+)" - -VIRTUALX_REQUIRED="manual" - -inherit distutils-r1 optfeature pypi virtualx - -DESCRIPTION="Powerful data structures for data analysis and statistics" -HOMEPAGE=" - https://pandas.pydata.org/ - https://github.com/pandas-dev/pandas/ - https://pypi.org/project/pandas/ -" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64 ~hppa ~riscv" -IUSE="full-support minimal test X" -RESTRICT="!test? ( test )" - -RECOMMENDED_DEPEND=" - >=dev-python/bottleneck-1.3.4[${PYTHON_USEDEP}] - >=dev-python/numexpr-2.8.0[${PYTHON_USEDEP}] -" - -# TODO: add pandas-gbq to the tree -# TODO: Re-add dev-python/statsmodel[python3_11] dep once it supports python3_11 -# https://github.com/statsmodels/statsmodels/issues/8287 -OPTIONAL_DEPEND=" - >=dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] - dev-python/blosc[${PYTHON_USEDEP}] - >=dev-python/html5lib-1.1[${PYTHON_USEDEP}] - >=dev-python/jinja-3.1.2[${PYTHON_USEDEP}] - >=dev-python/lxml-4.8.0[${PYTHON_USEDEP}] - >=dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}] - >=dev-python/openpyxl-3.0.7[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.4.36[${PYTHON_USEDEP}] - >=dev-python/tables-3.7.0[${PYTHON_USEDEP}] - >=dev-python/tabulate-0.8.10[${PYTHON_USEDEP}] - >=dev-python/xarray-2022.3.0[${PYTHON_USEDEP}] - >=dev-python/xlrd-2.0.1[${PYTHON_USEDEP}] - >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] - >=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}] - !arm? ( !hppa? ( !ppc? ( !x86? ( - >=dev-python/scipy-1.8.1[${PYTHON_USEDEP}] - dev-python/statsmodels[${PYTHON_USEDEP}] - ) ) ) ) - X? ( - || ( - >=dev-python/PyQt5-5.15.6[${PYTHON_USEDEP}] - >=dev-python/QtPy-2.2.0[${PYTHON_USEDEP}] - x11-misc/xclip - x11-misc/xsel - ) - ) -" -DEPEND=" - <dev-python/numpy-2[${PYTHON_USEDEP}] - >=dev-python/numpy-1.23.2[${PYTHON_USEDEP}] -" -COMMON_DEPEND=" - ${DEPEND} - >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] - >=dev-python/pytz-2020.1[${PYTHON_USEDEP}] -" -BDEPEND=" - ${COMMON_DEPEND} - >=dev-build/meson-1.2.1 - >=dev-python/cython-3.0.5[${PYTHON_USEDEP}] - >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] - test? ( - ${VIRTUALX_DEPEND} - ${RECOMMENDED_DEPEND} - ${OPTIONAL_DEPEND} - dev-libs/apache-arrow[brotli,parquet,snappy] - >=dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.46.1[${PYTHON_USEDEP}] - >=dev-python/openpyxl-3.0.10[${PYTHON_USEDEP}] - dev-python/pyarrow[parquet,${PYTHON_USEDEP}] - >=dev-python/pymysql-1.0.2[${PYTHON_USEDEP}] - >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] - x11-misc/xclip - x11-misc/xsel - ) -" -RDEPEND=" - ${COMMON_DEPEND} - dev-python/tzdata[${PYTHON_USEDEP}] - !minimal? ( ${RECOMMENDED_DEPEND} ) - full-support? ( ${OPTIONAL_DEPEND} ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # test for rounding errors, fails if we have better precision - # e.g. on amd64 with FMA or on arm64 - # https://github.com/pandas-dev/pandas/issues/38921 - tests/window/test_rolling.py::test_rolling_var_numerical_issues - - # TODO; unhappy about DISPLAY? - tests/test_downstream.py::test_seaborn - - # OOMs - tests/io/parser/test_c_parser_only.py::test_bytes_exceed_2gb - - # TODO: numexpr says "forbidden control characters" - tests/computation/test_eval.py::TestOperations::test_multi_line_expression_local_variable - 'tests/computation/test_eval.py::test_query_token[numexpr-Temp(\xb0C)]' - tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_lots_of_operators_string - tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_multiple_spaces - tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_parenthesis - tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_start_with_spaces - tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_local_syntax - tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_local_variable_with_in - tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_nested_scope - tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_query_scope - - # TODO: missing data not covered by --no-strict-data-files? - tests/io/xml/test_xml.py::test_empty_stylesheet - tests/io/xml/test_xml.py::test_wrong_file_path - - # TODO - tests/frame/test_arithmetic.py::TestFrameFlexArithmetic::test_floordiv_axis0_numexpr_path - - # deprecation warning - tests/io/pytables/test_retain_attributes.py::test_retain_index_attributes2 - 'tests/computation/test_eval.py::TestEval::test_scalar_unary[numexpr-pandas]' - - # Needs 64-bit time_t (TODO: split into 32-bit arch only section) - tests/tseries/offsets/test_year.py::test_add_out_of_pydatetime_range - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessDay]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessHour]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessDay]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessHour]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-QuarterEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-LastWeekOfMonth]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-WeekOfMonth]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-Week]' - - # hdf / pytables have alignment problems: bug #911660 - # https://github.com/pandas-dev/pandas/issues/54396 - tests/io/pytables/test_append.py::test_append_frame_column_oriented - tests/io/pytables/test_store.py::test_select_filter_corner - - # blosc2 version - tests/io/pytables/test_file_handling.py::test_complibs\[blosc2-{1..9}\] - - # requires -Werror - tests/tslibs/test_to_offset.py::test_to_offset_lowercase_frequency_deprecated - tests/tslibs/test_to_offset.py::test_to_offset_uppercase_frequency_deprecated - - # assumes that it will fail due to -mfpmath=387 on 32-bit arches, - # so it XPASS-es in every other scenario - tests/tools/test_to_timedelta.py::TestTimedeltas::test_to_timedelta_float - ) - - if ! has_version "dev-python/scipy[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - tests/plotting/test_misc.py::test_savefig - ) - fi - - local -x LC_ALL=C.UTF-8 - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die - # --no-strict-data-files is necessary since upstream prevents data - # files from even being included in GitHub archives, sigh - # https://github.com/pandas-dev/pandas/issues/54907 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest pandas/tests \ - --no-strict-data-files \ - -m "not single_cpu and not slow and not network and not db" || - die "Tests failed with ${EPYTHON}" - rm test-data.xml test_stata.dta || die -} - -pkg_postinst() { - optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck - optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" ">=dev-python/numexpr-2.1" - optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup4 dev-python/html5lib dev-python/lxml - optfeature "for msgpack compression using blosc" dev-python/blosc - optfeature "Template engine for conditional HTML formatting" dev-python/jinja - optfeature "Plotting support" dev-python/matplotlib - optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-3.0.10" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt - optfeature "necessary for HDF5-based storage" ">=dev-python/tables-3.7.0" - optfeature "R I/O support" dev-python/rpy - optfeature "Needed for parts of pandas.stats" dev-python/statsmodels - optfeature "SQL database support" ">=dev-python/sqlalchemy-1.4.36" - optfeature "miscellaneous statistical functions" dev-python/scipy - optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/PyQt5 dev-python/QtPy dev-python/pygtk x11-misc/xclip x11-misc/xsel -} diff --git a/dev-python/pandas/pandas-2.2.0.ebuild b/dev-python/pandas/pandas-2.2.0.ebuild deleted file mode 100644 index 228cad2afe7c..000000000000 --- a/dev-python/pandas/pandas-2.2.0.ebuild +++ /dev/null @@ -1,218 +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=meson-python -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -PYTHON_REQ_USE="threads(+)" - -VIRTUALX_REQUIRED="manual" - -inherit distutils-r1 optfeature pypi virtualx - -DESCRIPTION="Powerful data structures for data analysis and statistics" -HOMEPAGE=" - https://pandas.pydata.org/ - https://github.com/pandas-dev/pandas/ - https://pypi.org/project/pandas/ -" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ~riscv ~s390 x86" -IUSE="full-support minimal test X" -RESTRICT="!test? ( test )" - -RECOMMENDED_DEPEND=" - >=dev-python/bottleneck-1.3.4[${PYTHON_USEDEP}] - >=dev-python/numexpr-2.8.0[${PYTHON_USEDEP}] -" - -# TODO: add pandas-gbq to the tree -# TODO: Re-add dev-python/statsmodel[python3_11] dep once it supports python3_11 -# https://github.com/statsmodels/statsmodels/issues/8287 -OPTIONAL_DEPEND=" - >=dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] - dev-python/blosc[${PYTHON_USEDEP}] - >=dev-python/html5lib-1.1[${PYTHON_USEDEP}] - >=dev-python/jinja-3.1.2[${PYTHON_USEDEP}] - >=dev-python/lxml-4.8.0[${PYTHON_USEDEP}] - >=dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}] - >=dev-python/openpyxl-3.0.7[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.4.36[${PYTHON_USEDEP}] - >=dev-python/tables-3.7.0[${PYTHON_USEDEP}] - >=dev-python/tabulate-0.8.10[${PYTHON_USEDEP}] - >=dev-python/xarray-2022.3.0[${PYTHON_USEDEP}] - >=dev-python/xlrd-2.0.1[${PYTHON_USEDEP}] - >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] - >=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}] - !arm? ( !hppa? ( !ppc? ( !x86? ( - >=dev-python/scipy-1.8.1[${PYTHON_USEDEP}] - dev-python/statsmodels[${PYTHON_USEDEP}] - ) ) ) ) - X? ( - || ( - >=dev-python/PyQt5-5.15.6[${PYTHON_USEDEP}] - >=dev-python/QtPy-2.2.0[${PYTHON_USEDEP}] - x11-misc/xclip - x11-misc/xsel - ) - ) -" -DEPEND=" - <dev-python/numpy-2[${PYTHON_USEDEP}] - >=dev-python/numpy-1.23.2[${PYTHON_USEDEP}] -" -COMMON_DEPEND=" - ${DEPEND} - >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] - >=dev-python/pytz-2020.1[${PYTHON_USEDEP}] -" -BDEPEND=" - ${COMMON_DEPEND} - >=dev-build/meson-1.2.1 - >=dev-python/cython-3.0.5[${PYTHON_USEDEP}] - >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] - test? ( - ${VIRTUALX_DEPEND} - ${RECOMMENDED_DEPEND} - ${OPTIONAL_DEPEND} - >=dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.46.1[${PYTHON_USEDEP}] - >=dev-python/openpyxl-3.0.10[${PYTHON_USEDEP}] - >=dev-python/pymysql-1.0.2[${PYTHON_USEDEP}] - >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] - x11-misc/xclip - x11-misc/xsel - !!dev-python/pyarrow - ) -" -RDEPEND=" - ${COMMON_DEPEND} - dev-python/tzdata[${PYTHON_USEDEP}] - !minimal? ( ${RECOMMENDED_DEPEND} ) - full-support? ( ${OPTIONAL_DEPEND} ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # test for rounding errors, fails if we have better precision - # e.g. on amd64 with FMA or on arm64 - # https://github.com/pandas-dev/pandas/issues/38921 - tests/window/test_rolling.py::test_rolling_var_numerical_issues - - # TODO; unhappy about DISPLAY? - tests/test_downstream.py::test_seaborn - - # OOMs - tests/io/parser/test_c_parser_only.py::test_bytes_exceed_2gb - - # TODO: numexpr says "forbidden control characters" - tests/computation/test_eval.py::TestOperations::test_multi_line_expression_local_variable - 'tests/computation/test_eval.py::test_query_token[numexpr-Temp(\xb0C)]' - tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_lots_of_operators_string - tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_multiple_spaces - tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_parenthesis - tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_start_with_spaces - tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_local_syntax - tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_local_variable_with_in - tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_nested_scope - tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_query_scope - - # TODO: missing data not covered by --no-strict-data-files? - tests/io/xml/test_xml.py::test_empty_stylesheet - tests/io/xml/test_xml.py::test_wrong_file_path - - # TODO - tests/frame/test_arithmetic.py::TestFrameFlexArithmetic::test_floordiv_axis0_numexpr_path - - # deprecation warning - tests/io/pytables/test_retain_attributes.py::test_retain_index_attributes2 - 'tests/computation/test_eval.py::TestEval::test_scalar_unary[numexpr-pandas]' - - # Needs 64-bit time_t (TODO: split into 32-bit arch only section) - tests/tseries/offsets/test_year.py::test_add_out_of_pydatetime_range - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessDay]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessHour]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessDay]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessHour]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-QuarterEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-LastWeekOfMonth]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-WeekOfMonth]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-Week]' - - # hdf / pytables have alignment problems: bug #911660 - # https://github.com/pandas-dev/pandas/issues/54396 - tests/io/pytables/test_append.py::test_append_frame_column_oriented - tests/io/pytables/test_store.py::test_select_filter_corner - - # blosc2 version - tests/io/pytables/test_file_handling.py::test_complibs\[blosc2-{1..9}\] - - # requires -Werror - tests/tslibs/test_to_offset.py::test_to_offset_lowercase_frequency_deprecated - tests/tslibs/test_to_offset.py::test_to_offset_uppercase_frequency_deprecated - - # requires pyarrow (which is really broken) - tests/io/formats/style/test_bar.py::test_style_bar_with_pyarrow_NA_values - tests/series/test_api.py::TestSeriesMisc::test_inspect_getmembers - - # assumes that it will fail due to -mfpmath=387 on 32-bit arches, - # so it XPASS-es in every other scenario - tests/tools/test_to_timedelta.py::TestTimedeltas::test_to_timedelta_float - ) - - if ! has_version "dev-python/scipy[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - tests/plotting/test_misc.py::test_savefig - ) - fi - - local -x LC_ALL=C.UTF-8 - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die - # --no-strict-data-files is necessary since upstream prevents data - # files from even being included in GitHub archives, sigh - # https://github.com/pandas-dev/pandas/issues/54907 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest pandas/tests \ - --no-strict-data-files \ - -m "not single_cpu and not slow and not network and not db" || - die "Tests failed with ${EPYTHON}" - rm test-data.xml test_stata.dta || die -} - -pkg_postinst() { - optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck - optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" ">=dev-python/numexpr-2.1" - optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup4 dev-python/html5lib dev-python/lxml - optfeature "for msgpack compression using blosc" dev-python/blosc - optfeature "Template engine for conditional HTML formatting" dev-python/jinja - optfeature "Plotting support" dev-python/matplotlib - optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-3.0.10" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt - optfeature "necessary for HDF5-based storage" ">=dev-python/tables-3.7.0" - optfeature "R I/O support" dev-python/rpy - optfeature "Needed for parts of pandas.stats" dev-python/statsmodels - optfeature "SQL database support" ">=dev-python/sqlalchemy-1.4.36" - optfeature "miscellaneous statistical functions" dev-python/scipy - optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/PyQt5 dev-python/QtPy dev-python/pygtk x11-misc/xclip x11-misc/xsel -} diff --git a/dev-python/playsound/playsound-1.3.0.ebuild b/dev-python/playsound/playsound-1.3.0.ebuild index 69fdf94aeaa8..822f4e2cd4ab 100644 --- a/dev-python/playsound/playsound-1.3.0.ebuild +++ b/dev-python/playsound/playsound-1.3.0.ebuild @@ -1,15 +1,18 @@ -# Copyright 1999-2021 Gentoo Authors +# 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 ) + inherit distutils-r1 pypi -DESCRIPTION="Single function module with no dependencies for playing sounds." -HOMEPAGE="https://pypi.org/project/playsound/ https://github.com/TaylorSMarks/playsound" +DESCRIPTION="Single function module with no dependencies for playing sounds" +HOMEPAGE=" + https://pypi.org/project/playsound/ + https://github.com/TaylorSMarks/playsound +" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -DEPEND="${RDEPEND}" diff --git a/dev-python/pyagentx/pyagentx-0.4.ebuild b/dev-python/pyagentx/pyagentx-0.4-r1.ebuild index 3d43c87c1f75..8ee3429ebd4c 100644 --- a/dev-python/pyagentx/pyagentx-0.4.ebuild +++ b/dev-python/pyagentx/pyagentx-0.4-r1.ebuild @@ -1,15 +1,16 @@ -# Copyright 1999-2022 Gentoo Authors +# 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 inherit distutils-r1 DESCRIPTION="Python AgentX Implementation" HOMEPAGE="https://github.com/hosthvo/pyagentx" -SRC_URI="https://github.com/hosthvo/pyagentx/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/hosthvo/pyagentx/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" SLOT="0" @@ -17,5 +18,3 @@ KEYWORDS="~amd64" PATCHES="${FILESDIR}/updater.patch ${FILESDIR}/python3.patch" - -distutils_enable_tests setup.py diff --git a/dev-python/pygments-promql/Manifest b/dev-python/pygments-promql/Manifest index cbc80cd32df4..f9e92727f45e 100644 --- a/dev-python/pygments-promql/Manifest +++ b/dev-python/pygments-promql/Manifest @@ -1 +1 @@ -DIST pygments-promql-0.0.9.tar.gz 97971 BLAKE2B 77413cad92374b9ac0f6dc6b5f8453c639f3da77abc7014f81e9392c59a36010da71eba50a445a4c4ebbd485f982e7946237a5a8dfed5c90841e93dcd226135d SHA512 5e0138fbf6f303609adcbd7c5d3142a5d10d84f3e64ee55973d129f39f85425484d79d988708f1bf2ceeb97b8752f59407bb453c5f352be2b6de7da975de432d +DIST pygments-promql-0.0.9.gh.tar.gz 97971 BLAKE2B 77413cad92374b9ac0f6dc6b5f8453c639f3da77abc7014f81e9392c59a36010da71eba50a445a4c4ebbd485f982e7946237a5a8dfed5c90841e93dcd226135d SHA512 5e0138fbf6f303609adcbd7c5d3142a5d10d84f3e64ee55973d129f39f85425484d79d988708f1bf2ceeb97b8752f59407bb453c5f352be2b6de7da975de432d diff --git a/dev-python/pygments-promql/pygments-promql-0.0.9.ebuild b/dev-python/pygments-promql/pygments-promql-0.0.9-r1.ebuild index 1bda5539db5a..ec8c8e1af5b1 100644 --- a/dev-python/pygments-promql/pygments-promql-0.0.9.ebuild +++ b/dev-python/pygments-promql/pygments-promql-0.0.9-r1.ebuild @@ -4,11 +4,13 @@ EAPI=8 PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +DISTUTILS_USE_PEP517=setuptools + inherit distutils-r1 DESCRIPTION="A PromQL lexer for Pygments" HOMEPAGE="https://github.com/pabluk/pygments-promql" -SRC_URI="https://github.com/pabluk/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/pabluk/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="BSD-2" SLOT="0" diff --git a/dev-python/pymorphy2-dicts-ru/pymorphy2-dicts-ru-2.4.417127.4579844.ebuild b/dev-python/pymorphy2-dicts-ru/pymorphy2-dicts-ru-2.4.417127.4579844-r1.ebuild index 0dba4f4fc4b8..451343f8f1ba 100644 --- a/dev-python/pymorphy2-dicts-ru/pymorphy2-dicts-ru-2.4.417127.4579844.ebuild +++ b/dev-python/pymorphy2-dicts-ru/pymorphy2-dicts-ru-2.4.417127.4579844-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -DISTUTILS_USE_SETUPTOOLS=bdepend +DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 inherit distutils-r1 pypi diff --git a/dev-python/pymorphy2-dicts/pymorphy2-dicts-2.4.393442.3710985.ebuild b/dev-python/pymorphy2-dicts/pymorphy2-dicts-2.4.393442.3710985-r1.ebuild index 06331de1f3fe..451343f8f1ba 100644 --- a/dev-python/pymorphy2-dicts/pymorphy2-dicts-2.4.393442.3710985.ebuild +++ b/dev-python/pymorphy2-dicts/pymorphy2-dicts-2.4.393442.3710985-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -DISTUTILS_USE_SETUPTOOLS=bdepend +DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 inherit distutils-r1 pypi diff --git a/dev-python/python-fire/Manifest b/dev-python/python-fire/Manifest index 2cc94f379579..ac89896acf56 100644 --- a/dev-python/python-fire/Manifest +++ b/dev-python/python-fire/Manifest @@ -1,2 +1 @@ -DIST python-fire-0.4.0.tar.gz 104198 BLAKE2B 1060931356753c00daa5c138234a8214c3662ae8aab54fa050488df89251be7cdf9846af46defd4fbeed817ca2cc1992e7978ad68579ad753749cdf3e9b6c011 SHA512 24473cae1cbaf01a6a07939fd77b8d26d97e5efb0bca349f65ed6a8bbf132167d74140b42030dcee0404945581d039230e0e8f8edb0bf8664e8e9f6555dfdeb5 -DIST python-fire-0.5.0.gh.tar.gz 105701 BLAKE2B 25acb51c3a76ec14c82157edfa2f0ac4fd49a58f78a62c98f1680cd0817413088820c6db00c5062cee30ed9849696c890054bad214ddfe1d7c613b0c30d31d1e SHA512 9d99b53d03568993f93f4742549b68c6a09668dec51fafc62b66b88cda123e055d0408b61e88ce88ee63d153afc543cec435aeddba9bbfaf2d587ba9bb8ed2ef +DIST fire-0.6.0.tar.gz 88439 BLAKE2B 5eb8a7ec2e0f93bec50f0b6a03edfe9ec6040ca2f3a85a77875df752457281c7614874254db935dcd94c229af3fd6722088c43dae7664e99c3f09047f9d4453f SHA512 491f224d31038494be2f40dd55e8713da20e4a20dc044ed1346deaeff69d65908ac754679b36ae1dbf42319c26cb30acc664a444f2d735d173971001447a9dd3 diff --git a/dev-python/python-fire/python-fire-0.4.0.ebuild b/dev-python/python-fire/python-fire-0.4.0.ebuild deleted file mode 100644 index 695780fca0a4..000000000000 --- a/dev-python/python-fire/python-fire-0.4.0.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2022 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="Library for automatically generating command line interfaces from Python objects" -HOMEPAGE="https://pypi.org/project/python-fire/" -SRC_URI="https://github.com/google/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/six - dev-python/termcolor -" -DEPEND="${RDEPEND}" - -distutils_enable_tests pytest diff --git a/dev-python/python-fire/python-fire-0.5.0.ebuild b/dev-python/python-fire/python-fire-0.6.0.ebuild index 20386926c1c5..6db22bfee701 100644 --- a/dev-python/python-fire/python-fire-0.5.0.ebuild +++ b/dev-python/python-fire/python-fire-0.6.0.ebuild @@ -1,15 +1,15 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -inherit distutils-r1 +DISTUTILS_USE_PEP517=setuptools +PYPI_PN="fire" +inherit distutils-r1 pypi DESCRIPTION="Library for automatically generating command line interfaces from Python objects" HOMEPAGE="https://pypi.org/project/python-fire/" -SRC_URI="https://github.com/google/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="Apache-2.0" SLOT="0" @@ -19,6 +19,13 @@ RDEPEND=" dev-python/six dev-python/termcolor " -DEPEND="${RDEPEND}" +DEPEND=" + ${RDEPEND} + test? ( + dev-python/hypothesis + dev-python/mock + dev-python/pytest-asyncio + ) +" distutils_enable_tests pytest diff --git a/dev-python/python-lsp-isort/python-lsp-isort-0.1.ebuild b/dev-python/python-lsp-isort/python-lsp-isort-0.1.ebuild index 5ef94371e819..073932176d5a 100644 --- a/dev-python/python-lsp-isort/python-lsp-isort-0.1.ebuild +++ b/dev-python/python-lsp-isort/python-lsp-isort-0.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) inherit distutils-r1 diff --git a/dev-python/respx/respx-0.21.1.ebuild b/dev-python/respx/respx-0.21.1.ebuild index b5157b7d28bd..6f8e429a4578 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" RDEPEND=" dev-python/httpx[${PYTHON_USEDEP}] diff --git a/dev-python/tavern/Manifest b/dev-python/tavern/Manifest index 8e50a9464bbf..fed9ee2b2ab6 100644 --- a/dev-python/tavern/Manifest +++ b/dev-python/tavern/Manifest @@ -1 +1,2 @@ DIST tavern-2.10.1.gh.tar.gz 239917 BLAKE2B 836f4940ba7b9a17455e757a7bdec578effc6753162d0ff0b05c46d293cad840924f3e8d66aac08553478d63eb0edb61ad39f53e4e36d9a7681bae303e71a614 SHA512 a09e55e2fa71d2601833137e51fc94cb8bd65086fc21e6c26055406a6be3dce44b57f89d91d7a766aa88c0b5b4214f28eeda69812f1f623ed60f45f57dcf2ded +DIST tavern-2.10.3.gh.tar.gz 240386 BLAKE2B eb01cdabb171de101784c4fecf99c59fad892e9819e4b047e9d6f30a27b742ac49eb1840a66225466f2de09f8e0883941de92a4051898fe479e35ee06151a0d4 SHA512 e27da0da1d9eb8302ba34191bb9e157a28335c90012569218709f65b761c2f01d47c2e60a4a72df320cb7a2575ee3e890c3dc37027fb91fc90d97305d2afe277 diff --git a/dev-python/tavern/tavern-2.10.3.ebuild b/dev-python/tavern/tavern-2.10.3.ebuild new file mode 100644 index 000000000000..9c6098ba1c2b --- /dev/null +++ b/dev-python/tavern/tavern-2.10.3.ebuild @@ -0,0 +1,71 @@ +# 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} ) + +inherit distutils-r1 + +DESCRIPTION="A tool, library, and Pytest plugin for testing RESTful APIs" +HOMEPAGE=" + https://github.com/taverntesting/tavern/ + https://pypi.org/project/tavern/ +" +SRC_URI=" + https://github.com/taverntesting/tavern/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/jmespath-1[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4[${PYTHON_USEDEP}] + <dev-python/paho-mqtt-2[${PYTHON_USEDEP}] + >=dev-python/paho-mqtt-1.3.1[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}] + >=dev-python/pykwalify-1.8.0[${PYTHON_USEDEP}] + >=dev-python/pytest-7[${PYTHON_USEDEP}] + >=dev-python/python-box-6[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.22.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/colorlog[${PYTHON_USEDEP}] + dev-python/Faker[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + local PATCHES=( + # https://github.com/taverntesting/tavern/pull/922 + "${FILESDIR}/${PN}-2.10.1-pytest-8.patch" + ) + + # strip unnecessary pins, upstream doesn't update them a lot + sed -i -E -e 's:,?<=?[0-9.]+::' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # requires grpc + tests/unit/test_extensions.py::TestGrpcCodes + ) + local EPYTEST_IGNORE=( + # require grpc* + tavern/_plugins/grpc + tests/unit/tavern_grpc + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p tavern +} diff --git a/dev-python/typing_inspect/Manifest b/dev-python/typing_inspect/Manifest index 7c1fa8d84320..013f920d56be 100644 --- a/dev-python/typing_inspect/Manifest +++ b/dev-python/typing_inspect/Manifest @@ -1,2 +1 @@ -DIST typing_inspect-0.7.1.tar.gz 11799 BLAKE2B a0f0fde9fe1b85897c8cac660a1fb9de2b9bc3b83c619ddb0642749cacb105bfc7d2f0e25a1da0e9c95a3cdd60e39eecd3be4aef32d0f47c53f107d681f43a39 SHA512 16aa279e5bcdcaa4ad28b68a5c5cedcefee32ec78f57c75b4285888ab6d634e3306eedc63445839cc57923ae956e9b2234cb2afcf71216b3f6ff6839cd48fc58 DIST typing_inspect-0.9.0.tar.gz 13825 BLAKE2B 599ec6a99fd040ac5ee83ef20deee86a8255dd116c8d8defe67d99291088984efc3b639986a9d350b26200028a309cfe6590a3f75dc4b9e0306bdc13bb65641e SHA512 5d46e6632895fa0a59007779f49a5812beff09f59e359a81af93bfee7bb5f4c2025566efbd27422299a614baa4d9c22da2317377090b0ad1cdd89fca73e9ee5a diff --git a/dev-python/typing_inspect/typing_inspect-0.7.1.ebuild b/dev-python/typing_inspect/typing_inspect-0.7.1.ebuild deleted file mode 100644 index 348fcd4bb806..000000000000 --- a/dev-python/typing_inspect/typing_inspect-0.7.1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) # python3_11 depends on dev-python/mypy_extensions - -inherit distutils-r1 pypi - -DESCRIPTION="Runtime inspection utilities for Python typing module" -HOMEPAGE="https://github.com/ilevkivskyi/typing_inspect" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/mypy_extensions-0.3.0[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-3.7.4.2[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" - -distutils_enable_tests pytest - -python_test() { - # https://github.com/ilevkivskyi/typing_inspect/issues/84 - local EPYTEST_DESELECT=( 'test_typing_inspect.py::GetUtilityTestCase::test_typed_dict_typing_extension' ) - epytest -} diff --git a/dev-python/yams/Manifest b/dev-python/yams/Manifest index cd4697dd3251..d8979f3065b1 100644 --- a/dev-python/yams/Manifest +++ b/dev-python/yams/Manifest @@ -1 +1 @@ -DIST yams-0.7.3.tar.gz 31201 BLAKE2B 0b09157c545c3ffe4b2b792c8bd00ebf66f78b65a45904db397b7295d43f4cdefd18c5ef855b88f5652debf6c43902d8e8415cf6d134c51d225bc6ae6ba084dc SHA512 785aae9ce0e371e50dac4070a06102d6ac440acd179b6840d4283b0298dd0ae36f12b9f695ddbf7ee2bb281e4d6e1cfd600a444c4169d5652662da1f8c52f43d +DIST yams-0.7.3.gh.tar.gz 31201 BLAKE2B 0b09157c545c3ffe4b2b792c8bd00ebf66f78b65a45904db397b7295d43f4cdefd18c5ef855b88f5652debf6c43902d8e8415cf6d134c51d225bc6ae6ba084dc SHA512 785aae9ce0e371e50dac4070a06102d6ac440acd179b6840d4283b0298dd0ae36f12b9f695ddbf7ee2bb281e4d6e1cfd600a444c4169d5652662da1f8c52f43d diff --git a/dev-python/yams/yams-0.7.3.ebuild b/dev-python/yams/yams-0.7.3-r1.ebuild index 5f0e9f83cb9f..e20dc39f8f39 100644 --- a/dev-python/yams/yams-0.7.3.ebuild +++ b/dev-python/yams/yams-0.7.3-r1.ebuild @@ -1,9 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# 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 + inherit distutils-r1 systemd DESCRIPTION="Yet Another MPD Scrobbler (for Last.FM)" @@ -13,7 +15,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/Berulacks/${PN}.git" inherit git-r3 else - SRC_URI="https://github.com/Berulacks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/Berulacks/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" KEYWORDS="~amd64" fi @@ -28,14 +30,6 @@ RDEPEND=" media-sound/mpd " -python_prepare_all() { - # Change application name so the .egg-info directory has the - # same name as the Python site-package one for consistency - sed -e "s/YAMScrobbler/yams/" -i setup.py || die - - distutils-r1_python_prepare_all -} - python_install_all() { systemd_douserunit yams.service diff --git a/dev-python/yams/yams-9999.ebuild b/dev-python/yams/yams-9999.ebuild index 16b28311e3fd..e20dc39f8f39 100644 --- a/dev-python/yams/yams-9999.ebuild +++ b/dev-python/yams/yams-9999.ebuild @@ -4,6 +4,8 @@ EAPI=8 PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +DISTUTILS_USE_PEP517=setuptools + inherit distutils-r1 systemd DESCRIPTION="Yet Another MPD Scrobbler (for Last.FM)" @@ -13,7 +15,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/Berulacks/${PN}.git" inherit git-r3 else - SRC_URI="https://github.com/Berulacks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/Berulacks/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" KEYWORDS="~amd64" fi @@ -28,14 +30,6 @@ RDEPEND=" media-sound/mpd " -python_prepare_all() { - # Change application name so the .egg-info directory has the - # same name as the Python site-package one for consistency - sed -e "s/YAMScrobbler/yams/" -i setup.py || die - - distutils-r1_python_prepare_all -} - python_install_all() { systemd_douserunit yams.service |
