diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-06-15 11:57:34 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-06-15 11:57:34 +0000 |
| commit | 138976658758b93a17ac984aac6795c177573feb (patch) | |
| tree | ccccdb7860e7b10226276be4d0dfe9cfea6227b0 /dev-python | |
| parent | cc19539547f0583125398ff68f966c500ac6b230 (diff) | |
| download | baldeagleos-repo-138976658758b93a17ac984aac6795c177573feb.tar.gz baldeagleos-repo-138976658758b93a17ac984aac6795c177573feb.tar.xz baldeagleos-repo-138976658758b93a17ac984aac6795c177573feb.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
113 files changed, 924 insertions, 1728 deletions
diff --git a/dev-python/PythonQwt/PythonQwt-0.11.2.ebuild b/dev-python/PythonQwt/PythonQwt-0.11.2.ebuild index 5d0e78007ea1..5ce30341a7cd 100644 --- a/dev-python/PythonQwt/PythonQwt-0.11.2.ebuild +++ b/dev-python/PythonQwt/PythonQwt-0.11.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Foundation +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/PythonQwt/PythonQwt-0.12.1.ebuild b/dev-python/PythonQwt/PythonQwt-0.12.1.ebuild index 5d0e78007ea1..5ce30341a7cd 100644 --- a/dev-python/PythonQwt/PythonQwt-0.12.1.ebuild +++ b/dev-python/PythonQwt/PythonQwt-0.12.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Foundation +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/anytree/Manifest b/dev-python/anytree/Manifest new file mode 100644 index 000000000000..97b80ce124bc --- /dev/null +++ b/dev-python/anytree/Manifest @@ -0,0 +1 @@ +DIST anytree-2.12.0.tar.gz 192330 BLAKE2B 117f80689b6610f622a41b2abb85cf54f2ba639659f80e6b8d163043d2552586ef11ed86532b19c7b69beec5e66ab3acad2f72ed0f1e9aa5d3832e4e8ec76457 SHA512 822a72cf84227a7b78cb3808eea585d783821d9c476f1b1e50d77cf982b4bf3c08011be9564ff5205a3efd0d982b03daabeb0067aea523a14002179c94451ff4 diff --git a/dev-python/anytree/anytree-2.12.0.ebuild b/dev-python/anytree/anytree-2.12.0.ebuild new file mode 100644 index 000000000000..e7ae27016f4e --- /dev/null +++ b/dev-python/anytree/anytree-2.12.0.ebuild @@ -0,0 +1,34 @@ +# 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=poetry + +inherit distutils-r1 +# inherit pypi + +DESCRIPTION="Powerful and Lightweight Python Tree Data Structure with various plugins" +HOMEPAGE="https://anytree.readthedocs.io/" + +SRC_URI="https://github.com/c0fec0de/anytree/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +src_prepare(){ + default + + mkdir "${S}/tests/dotexport" || die +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + cd "${S}/tests" || die + distutils-r1_python_test +} diff --git a/dev-python/anytree/metadata.xml b/dev-python/anytree/metadata.xml new file mode 100644 index 000000000000..7b82247675b4 --- /dev/null +++ b/dev-python/anytree/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>negril.nx+gentoo@gmail.com</email> + </maintainer> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index c765fe817a2d..bf07191ec666 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,7 +1,3 @@ -DIST boto3-1.34.113.gh.tar.gz 812031 BLAKE2B ffb4cc54a83d9d783eb69694393a6cc8c4d07325496802de80e8ac1999a1b5f45166571ae52eb8b38cb7d3e58d0cc8114088f7cd698f090b6ab1244565c0af63 SHA512 eebde25a83b2a7169b6892fa61475f26f9bf6baf7eff242d8bde0a5cd1920a7a39107071b093e59aca2a742662e16825b7fcf2850f59840da63a9cf78a19615d DIST boto3-1.34.117.gh.tar.gz 813596 BLAKE2B 1b68c6410a9e4859c05ec6e8baa7b4d0a8eda39ac9cfe7173d581e5712409bb5df83d35f30deb4f5e4e1dd70c0dc411cd8a1725b00f1e8a3026dbaef9862cde0 SHA512 40c6c1d62d94e0ac8d0237abbbacb9b7473dbce0ee7be5f2e8106f0c0be99b6bf048f3068e2978c578a8df5948f854bd4f3b9d99d935094a646a33f3bada7136 DIST boto3-1.34.122.gh.tar.gz 817093 BLAKE2B ecc91833d5d8b7ae33c2fe435e33bc8fa236388dcd36bbbfad138e72dcada1018d9fe032a04565bc6ba04f252c5b1e066f650620aab2b6682705d164660eaa9b SHA512 26ece26e24a09ce12f57fd7cbede798446ddb60c28dd7d090c2604b71cc92fca9cfdc268e6d65fad1bcecf161976186b21acefdb70a2de8acaccd85567a388d0 -DIST boto3-1.34.123.gh.tar.gz 817520 BLAKE2B 264464edc80ec43c6759b542629bfbaa1a7212a67d6738b920191f52be9a51bf6c16170de161f2299273cb5ac3e15dc8c74e60aff8212e51408343362f275f8f SHA512 4b90e3534e0319932bd038a23e68a2dd913fe99f0d07df23f2a1dd4ac8fca7c6f614e7cbc3359851e575599c386c89f382c439f712956e9190872d610b8f6c04 -DIST boto3-1.34.124.gh.tar.gz 818934 BLAKE2B ab1ae5af51340c1782af93c7bbcd88960331449e1372cd614b8905fd8e04d3d2f10a3b92c49938dc101e543525fc85a95dba8ec774d0eb91fbb832ac54288979 SHA512 c49aaf78e1f539e5af32252d645de28f1126e35f4d3603107a3b1329c1cb1d5578c005d678d05e3d0c907c3ef098485113982292bce5168cd4679727797f210d -DIST boto3-1.34.125.gh.tar.gz 819606 BLAKE2B c1213b7da4c5c249f4c886e4adf56466242ca0cc73c0ee3e484983f8c18627ecc7414c8465a6e61c5f135169cbd01386f62d5f386e021ab70cf62b8d603bba6c SHA512 5a8ad7e9d7e6daa311f450b1c49894858dffcdef7504deeb8aad871dc171522776dfa9ae1097365e5ffa039d5987a30de481d748a57f6f2d949ac268774325ec -DIST boto3-1.34.126.gh.tar.gz 820173 BLAKE2B 405e34ef71bac1c7f2087721710476cb83c1bc627466ec4eab4aa29693e9af96f7b68953c7492f1a5ac15c0b0ac6d5adc13e186c6a5f8900b3badc075aea8e53 SHA512 aa3a96889662fd85b7091844bf83cbd3fc9017a4a7180756f3f39289fabd71faa5167555bb8e2473bf448e56549015513bf2ae0b83ca795701e5390394747a4f +DIST boto3-1.34.127.gh.tar.gz 820740 BLAKE2B ddfb7802440a01af27059daed4bc7cd3797eb192004a0e7b78e1e56a8ff479206b4835a79bcac1db273c2936fb8dfde0ba16bebe8cbe1befeb188070bf46b2c7 SHA512 b139ad68a4ce29e84e0fa1618b97c4aea13b668521921712df74256ad61c21d2077ea216dfb4102d8f9910a8119b24509aa10a504d746bdb410fee1cecc0461c diff --git a/dev-python/boto3/boto3-1.34.113.ebuild b/dev-python/boto3/boto3-1.34.113.ebuild deleted file mode 100644 index 1ad6d3c11774..000000000000 --- a/dev-python/boto3/boto3-1.34.113.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/boto3/boto3-1.34.117.ebuild b/dev-python/boto3/boto3-1.34.117.ebuild index 509842b2699d..1ad6d3c11774 100644 --- a/dev-python/boto3/boto3-1.34.117.ebuild +++ b/dev-python/boto3/boto3-1.34.117.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] diff --git a/dev-python/boto3/boto3-1.34.124.ebuild b/dev-python/boto3/boto3-1.34.124.ebuild deleted file mode 100644 index 509842b2699d..000000000000 --- a/dev-python/boto3/boto3-1.34.124.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/boto3/boto3-1.34.125.ebuild b/dev-python/boto3/boto3-1.34.125.ebuild deleted file mode 100644 index 509842b2699d..000000000000 --- a/dev-python/boto3/boto3-1.34.125.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/boto3/boto3-1.34.126.ebuild b/dev-python/boto3/boto3-1.34.126.ebuild deleted file mode 100644 index 509842b2699d..000000000000 --- a/dev-python/boto3/boto3-1.34.126.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/boto3/boto3-1.34.123.ebuild b/dev-python/boto3/boto3-1.34.127.ebuild index 509842b2699d..509842b2699d 100644 --- a/dev-python/boto3/boto3-1.34.123.ebuild +++ b/dev-python/boto3/boto3-1.34.127.ebuild diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index cf1f62e47008..7a0135f2bf86 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,7 +1,3 @@ -DIST botocore-1.34.113.gh.tar.gz 13060395 BLAKE2B 8f9329d613f489f2305d068566940a94199a16e9d538597a86cd916a331245a70c6ad771f0d7d71a05a77a49c86aa8ff6be2ac6cd97c04828cc9f54cb6c5e2ac SHA512 218656c921b7ae6a605d6cca4cb90b76aee2a18541e78189828f2adfbb821fbebac406ba19887c0a07aece72dd4936f41b057fb25611e1b03db4bd11fda66bd6 DIST botocore-1.34.117.gh.tar.gz 13076178 BLAKE2B defbd66d6409004fe49df44aec0a00b4bbe1a459d3e4b067c5c8609b998c63e7d62c8d3c48805416d44c08aeb3ab261f4449cc7e6a7c66dd3ca5f97bdcce291f SHA512 d9736ddb868e602afbaad95989d284b2835636f273e8a4263caa7eec619fe7cc45515fbbe98d4fd33121fe0d97d34353f7cd811bc878a81d1f5f7437798b24d6 DIST botocore-1.34.122.gh.tar.gz 13066937 BLAKE2B f22af79873b5574ae4b2b9041568cfc1d727625c3fa45c9b8d1bef71ffcce893aa8a3591c83160437c7e617be72814a2209569db633d857f869a2152af7c8e05 SHA512 f08dcb2920d4bd26a47478edb871f75b240275a7b96acf58be838080dddca3d4f64b9fda8683e5a3db97defe367298b2ba634fc4d605523805b23c83c3a5ae0d -DIST botocore-1.34.123.gh.tar.gz 13080868 BLAKE2B a15ecc1151803d26181c72117df62a6777c2d209cc1a49eb106d7a779fab23300762d8e034e9dc79c8eb747d6e31b5ea75739698809797bea9fe3c930b72b40a SHA512 20f77200edd899b957c7544ba7faed4fb7fd6a0fb6c0fe95cd729c67b3f47bb2414ed413c145fcc9e0f1e55f2cee86398580b9b71d38b70043d01efbe48e9510 -DIST botocore-1.34.124.gh.tar.gz 13097299 BLAKE2B 1dd7353ca2ae93199995530057cdd90dbaf1a4e493ca7be1e7b4cc445dfa0d352f02b903a6264dd67105f2826df05ed01aa1a861545ab28369519183b731365a SHA512 5e53a80571811faa306926aa7f72d802f720040c6a613aacadcb00e331259185ccfed91bd1fdffefddc069ae58cd80454b182d4965273bc10921cb2625ebf793 -DIST botocore-1.34.125.gh.tar.gz 13105188 BLAKE2B 2db46c6a07c7e75a57872416c7302d250661e24c0f81f65138d12f19fab934c480eea809bb748fd00c9d64b3d97191896477ee2b0bdf96421d7bd82e872e7f7e SHA512 413f986d3d9da2bc9c08f4f2358fb1c47020c02533b3a550f0efd3fe974269d9178c16f5387c41efd23802e9bec795b3f77ab0aae7cac8d5515981eb404861a2 -DIST botocore-1.34.126.gh.tar.gz 13107136 BLAKE2B d26cc2cd8c460d64dbe41cc14a22a115c8c75f2cb5f23ba34df740fcada62e991e3751f4eddc34c1517939274ae6175d00d78ac199d3329027842ac24c985138 SHA512 9b7c010df304e36e767492ae7a31749d9e8ffa8fd1161478f515983c345d13576ffcd941e166412aa53f3dd36b409e3b38bf900d4f007e607f56236ee3ce0eef +DIST botocore-1.34.127.gh.tar.gz 13112261 BLAKE2B e883f0a1e29178667678132195aea9666a124456e731e1b158eed895c125fd614e5671639766f7ad46c2e6b16c4156ff5e42594bc04e49bf25380c91cfcbe264 SHA512 48ca2179c24bb219202e5029dd62350a6fc5c64707762f0f33282e542dbc2227bb146376afa9e6b9eb1e45e3c801208a142bef4827d5036eb4724299c826d534 diff --git a/dev-python/botocore/botocore-1.34.113.ebuild b/dev-python/botocore/botocore-1.34.113.ebuild deleted file mode 100644 index beb1bdc6a919..000000000000 --- a/dev-python/botocore/botocore-1.34.113.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -# unbundled packages -RDEPEND+=" - dev-python/requests[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e "s:>=.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.34.117.ebuild b/dev-python/botocore/botocore-1.34.117.ebuild index 857224b496b7..beb1bdc6a919 100644 --- a/dev-python/botocore/botocore-1.34.117.ebuild +++ b/dev-python/botocore/botocore-1.34.117.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" <dev-python/jmespath-2[${PYTHON_USEDEP}] diff --git a/dev-python/botocore/botocore-1.34.124.ebuild b/dev-python/botocore/botocore-1.34.124.ebuild deleted file mode 100644 index 857224b496b7..000000000000 --- a/dev-python/botocore/botocore-1.34.124.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -# unbundled packages -RDEPEND+=" - dev-python/requests[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e "s:>=.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.34.125.ebuild b/dev-python/botocore/botocore-1.34.125.ebuild deleted file mode 100644 index 857224b496b7..000000000000 --- a/dev-python/botocore/botocore-1.34.125.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -# unbundled packages -RDEPEND+=" - dev-python/requests[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e "s:>=.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.34.126.ebuild b/dev-python/botocore/botocore-1.34.126.ebuild deleted file mode 100644 index 857224b496b7..000000000000 --- a/dev-python/botocore/botocore-1.34.126.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -# unbundled packages -RDEPEND+=" - dev-python/requests[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e "s:>=.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.34.123.ebuild b/dev-python/botocore/botocore-1.34.127.ebuild index 857224b496b7..857224b496b7 100644 --- a/dev-python/botocore/botocore-1.34.123.ebuild +++ b/dev-python/botocore/botocore-1.34.127.ebuild diff --git a/dev-python/bottle/bottle-0.12.25-r2.ebuild b/dev-python/bottle/bottle-0.12.25-r2.ebuild new file mode 100644 index 000000000000..5762bf5f0cd4 --- /dev/null +++ b/dev-python/bottle/bottle-0.12.25-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="A fast and simple micro-framework for small web-applications" +HOMEPAGE=" + https://bottlepy.org/ + https://github.com/bottlepy/bottle/ + https://pypi.org/project/bottle/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/legacy-cgi[${PYTHON_USEDEP}] + ' 3.13) +" +BDEPEND=" + test? ( + dev-python/mako[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + # https://github.com/bottlepy/bottle/issues/1422 + "${FILESDIR}/${P}-py312.patch" +) + +distutils_enable_tests unittest + +python_prepare_all() { + sed -e '/scripts/d' -i setup.py || die + + # Remove test file requiring connection to network + rm test/test_server.py || die + distutils-r1_python_prepare_all +} + +pkg_postinst() { + optfeature "Templating support" dev-python/mako + elog "Due to problems with bottle.py being in /usr/bin (see bug #474874)" + elog "we do as most other distros and do not install the script anymore." + elog "If you do want/have to call it directly rather than through your app," + elog "please use the following instead:" + elog ' `python -m bottle`' +} diff --git a/dev-python/cattrs/cattrs-23.2.3-r1.ebuild b/dev-python/cattrs/cattrs-23.2.3-r1.ebuild index b61de0b5f1a8..49ff55d5b232 100644 --- a/dev-python/cattrs/cattrs-23.2.3-r1.ebuild +++ b/dev-python/cattrs/cattrs-23.2.3-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test-rust" RDEPEND=" diff --git a/dev-python/cbor2/cbor2-5.6.3.ebuild b/dev-python/cbor2/cbor2-5.6.3.ebuild index 117456a39d5b..9460829f5b22 100644 --- a/dev-python/cbor2/cbor2-5.6.3.ebuild +++ b/dev-python/cbor2/cbor2-5.6.3.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" IUSE="+native-extensions" BDEPEND=" diff --git a/dev-python/cherrypy/Manifest b/dev-python/cherrypy/Manifest index bf2c0f9f6cf3..7d2c83a90cf3 100644 --- a/dev-python/cherrypy/Manifest +++ b/dev-python/cherrypy/Manifest @@ -1 +1,2 @@ DIST CherryPy-18.9.0.tar.gz 631900 BLAKE2B 5bc0d4315f6b9300ba8fc122858554a6b6476f78ac1fb31b1635707488a4a300e359d2e368dde9996c202a8f42100ef09e298fb923f955e92d7906ed970d2ba9 SHA512 ed2beacedd3417214f45e59567f2a1faf5964745a545360db2f61251a39f50f2a833745832a2c900673029d98062f7e1813db6c342585f8d2bbae0be423edb3a +DIST cherrypy-18.10.0.tar.gz 633708 BLAKE2B b403ac983da855c7bf44b6909cc984a544d61cfa3191fae81f15b01d6b2d5d5e4bcd8c9f99c550e39540aac75d14523724602ddf121768c43bcbb93235e0941b SHA512 6c77d89e484fc1cf5a8e7523d1ebb04ba49930823905142ab016aabc80924e1173c97342f172585758c28faee1b329e26fe04dd1e36c559b7798495d45fdc36f diff --git a/dev-python/cherrypy/cherrypy-18.10.0.ebuild b/dev-python/cherrypy/cherrypy-18.10.0.ebuild new file mode 100644 index 000000000000..64dd853b2e4a --- /dev/null +++ b/dev-python/cherrypy/cherrypy-18.10.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN="CherryPy" +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="CherryPy is a pythonic, object-oriented HTTP framework" +HOMEPAGE=" + https://cherrypy.dev/ + https://github.com/cherrypy/cherrypy/ + https://pypi.org/project/CherryPy/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="ssl test" + +RDEPEND=" + >=dev-python/cheroot-8.2.1[${PYTHON_USEDEP}] + >=dev-python/portend-2.1.1[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/zc-lockfile[${PYTHON_USEDEP}] + dev-python/jaraco-collections[${PYTHON_USEDEP}] + ssl? ( + dev-python/pyopenssl[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/routes[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + dev-python/objgraph[${PYTHON_USEDEP}] + dev-python/path[${PYTHON_USEDEP}] + dev-python/requests-toolbelt[${PYTHON_USEDEP}] + dev-python/pytest-services[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + sed -i -e '/cov/d' pytest.ini || die + # upstream has been using xfail to mark flaky tests, then added + # xfail_strict... not a good idea + sed -i -e '/xfail_strict/d' pytest.ini || die + + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_DESELECT=() + [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( + # broken by changes in traceback output + cherrypy/test/test_request_obj.py::RequestObjectTests::testErrorHandling + cherrypy/test/test_tools.py::ToolTests::testHookErrors + ) + + epytest +} diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 208843d5bdb6..0a3ba6606f4d 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -4,10 +4,7 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db3659 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a SHA512 ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2 SHA512 6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7 SHA512 f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340 -DIST llvm-project-18.1.6.src.tar.xz 132064976 BLAKE2B d38d8026068de371dc4bc288c68c8e441a126cf8e89e55a965f3b9e3a629a37d5743fd7859a60bedaddf27ff2da1e0f08c81806871ef542cb7c3f40b23b22cf5 SHA512 89ec276aa41bb2d76cfc3a72d8e728a9ce9176e02c085338b704790524fe329904cf311381805814faa8a6c79637620c01627bf122a51f89e0f3adb47e5df34c -DIST llvm-project-18.1.6.src.tar.xz.sig 566 BLAKE2B 4b4a1ec2f084b0728134b9c04775db5938e571f1d7c7aa45b985bed490dcfd2cceab2069a43d4ce7766faec703310a376b83565af317e5f60bf10bc06a732395 SHA512 fbae037d39f4f1c13babafd42dee719f3d79f0e2142cc319f59fb319361a1db8ce65fa736a0e2a5e702ac49e3b8323374be6cfa1003f96b0887fa1894e2b6dee DIST llvm-project-18.1.7.src.tar.xz 132063384 BLAKE2B b8c37bd131fb5f3131bfab4fbad7aa811079ca10723faa14779253bc62b1ee08d4e04650e1da883297ed88a62d518b868a1f13cf57d03233254fd01209da5c02 SHA512 0f67818267803aca9d2bc9eb89335ee6dc56269e8066a0f8a48c4a959e8805dbf6bc839b9f96a92f86ee50d72e7cc326ffe18febb5eb06751ab54a217c0221c8 DIST llvm-project-18.1.7.src.tar.xz.sig 566 BLAKE2B 9ae6d80eba5309ce3d5cba580df57c28dbcf429266b2ced622465e34ab2a7ae0f100d1e89c73a44abccd95a3367979344450fd53fb6a2baa029b929d3f13eee3 SHA512 7e5601e35f4fcaa4ed042638ae5a4fb90714c9dce58aa3f98e965568660b88294185621a4eb5547de262dca8a96f620db3f94932bb1776661e345dbe1266315c DIST llvm-project-5aabbf0602c48b67bb89fd37f95bf97c95ded488.tar.gz 212582616 BLAKE2B 78522148bb4993bd26b16f1e3f44c2baf617705667c7fb104edc844c4330017166c783adae2f0215ca7463c05d1eef30fdf02b13241a9497aaede36bb8580a26 SHA512 104e0b5b4f34102f2da03cd54fe9bf5f7fb6efb3a9745d8ec85caa5f92189fde4a5c02c327243d87ff5c7d24b3790fcabdf0ef7144e79e15765785ca72dd3841 -DIST llvm-project-702198fc9ac5dba392f9d9ba7c56467996343c0a.tar.gz 211764675 BLAKE2B b28203faf5c4e51236da3e3abac969cffe6f93ce6757a81b5a577187ec236fc0b124fe6a370d1f4e803deab781606a7caf0b411780cc84ee08a8de942c4fc479 SHA512 b4217403abf4166eb8eccfd304bcaa2e15d5b67c4f996d51e0745d197e4b9eda1dd5a5b1d7c384effc25f53bb1229edda9618e172abe3be1a94a9569f7c5b0b7 -DIST llvm-project-7dc2f6602212bf0a0433c157b70e4fc0d70bb730.tar.gz 211903416 BLAKE2B 4a2f12e0aa234d507d2fc2136a1d98a7624147ce6e401831743e640abcaceb5152c80ba2dc312f9256e4a04be2ad065d1a57dbe5dc24f2d3edc9d65888986710 SHA512 c9eb99f666fc15b29f01a1b2a4b3c6edd3a726033533111e60763c6313a4af8c9dba3396856d6650ac5e666d00941efcc944fac85a4483748bbbea9475e6daf8 +DIST llvm-project-cddb9ce04e68d876de895d39d60b6af34d569012.tar.gz 213219536 BLAKE2B 5aba2c1dd19d73a8691590873f1697fa32adeab7f84d1d5636e211071e64bfa5d28a49ea9cfdba5fbae77c9520c2103a9f1544d669c7948a318636557f45f6ee SHA512 69ed25a0565c61cd4eb512e95b0fd2d2a3a09dbad73e7186d7fb1764193b06e522572eafb271d21469a4bfb133a62efe65e5ccd20cf05af8b43c52e195d477a9 diff --git a/dev-python/clang-python/clang-python-18.1.6.ebuild b/dev-python/clang-python/clang-python-18.1.6.ebuild deleted file mode 100644 index 2cabb464f8f7..000000000000 --- a/dev-python/clang-python/clang-python-18.1.6.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -inherit llvm.org python-r1 - -DESCRIPTION="Python bindings for sys-devel/clang" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -DEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( - sys-devel/clang:${LLVM_MAJOR} - ) -" - -LLVM_COMPONENTS=( clang/bindings/python ) -llvm.org_set_globals - -python_test() { - # tests rely on results from a specific clang version, so override - # the search path - local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) - local -x CLANG_NO_DEFAULT_CONFIG=1 - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240525.ebuild b/dev-python/clang-python/clang-python-19.0.0_pre20240525.ebuild deleted file mode 100644 index 82c18f7c0f95..000000000000 --- a/dev-python/clang-python/clang-python-19.0.0_pre20240525.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -inherit llvm.org python-r1 - -DESCRIPTION="Python bindings for sys-devel/clang" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -DEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( - sys-devel/clang:${LLVM_MAJOR} - ) -" - -LLVM_COMPONENTS=( clang/bindings/python ) -llvm.org_set_globals - -python_test() { - # tests rely on results from a specific clang version, so override - # the search path - local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) - local -x CLANG_NO_DEFAULT_CONFIG=1 - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240518.ebuild b/dev-python/clang-python/clang-python-19.0.0_pre20240615.ebuild index 82c18f7c0f95..82c18f7c0f95 100644 --- a/dev-python/clang-python/clang-python-19.0.0_pre20240518.ebuild +++ b/dev-python/clang-python/clang-python-19.0.0_pre20240615.ebuild diff --git a/dev-python/dominate/dominate-2.9.1.ebuild b/dev-python/dominate/dominate-2.9.1.ebuild index b5c477b25978..66472363bda9 100644 --- a/dev-python/dominate/dominate-2.9.1.ebuild +++ b/dev-python/dominate/dominate-2.9.1.ebuild @@ -4,6 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools +# py3.13: https://github.com/Knio/dominate/issues/199 PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/evernote2/Manifest b/dev-python/evernote2/Manifest new file mode 100644 index 000000000000..544ce1cc496b --- /dev/null +++ b/dev-python/evernote2/Manifest @@ -0,0 +1 @@ +DIST v1.0.3.tar.gz 247239 BLAKE2B 899067b7736a9e8e7932f1fe5b2c3c5e20650f5bc836f184de18ee7576cec1edb34c25211119bc41917a54bdabff65a6b33216f6bead08fcb3989081a87afff3 SHA512 2df19761dd02d67e1faa7a702ea363530b485e9a5c3ccab7e90f987cdbf06a4d1f00de0066c7cbce15f8a489bb0879d1024226ff8ef9aaff0226eb66f0a6998d diff --git a/dev-python/evernote2/evernote2-1.0.3.ebuild b/dev-python/evernote2/evernote2-1.0.3.ebuild new file mode 100644 index 000000000000..7250e240018c --- /dev/null +++ b/dev-python/evernote2/evernote2-1.0.3.ebuild @@ -0,0 +1,26 @@ +# Copyright Gentoo Authors 2024 +# 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="Unofficial Evernote SDK for Python 3" +HOMEPAGE=" + https://github.com/JackonYang/evernote2 + https://pypi.org/project/evernote2/ +" +SRC_URI="https://github.com/JackonYang/$PN/archive/refs/tags/v$PV.tar.gz" + +LICENSE="Apache-2.0" + +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/oauthlib[${PYTHON_USEDEP}] + dev-python/thrift[${PYTHON_USEDEP}] +" diff --git a/dev-python/fields/fields-5.0.0-r3.ebuild b/dev-python/fields/fields-5.0.0-r3.ebuild index 86d557dfe161..6e9731625007 100644 --- a/dev-python/fields/fields-5.0.0-r3.ebuild +++ b/dev-python/fields/fields-5.0.0-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/flask-login/flask-login-0.6.3.ebuild b/dev-python/flask-login/flask-login-0.6.3.ebuild index 38a0cc188a00..6a724e3024aa 100644 --- a/dev-python/flask-login/flask-login-0.6.3.ebuild +++ b/dev-python/flask-login/flask-login-0.6.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 diff --git a/dev-python/fritzconnection/fritzconnection-1.13.2-r1.ebuild b/dev-python/fritzconnection/fritzconnection-1.13.2-r1.ebuild index 357fe1f86be7..79378b941df5 100644 --- a/dev-python/fritzconnection/fritzconnection-1.13.2-r1.ebuild +++ b/dev-python/fritzconnection/fritzconnection-1.13.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/gmpy/gmpy-2.1.5-r2.ebuild b/dev-python/gmpy/gmpy-2.1.5-r2.ebuild index 2ec7d240622f..49bb90b8ddd7 100644 --- a/dev-python/gmpy/gmpy-2.1.5-r2.ebuild +++ b/dev-python/gmpy/gmpy-2.1.5-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/guiqwt/guiqwt-4.4.5-r1.ebuild b/dev-python/guiqwt/guiqwt-4.4.5-r1.ebuild index 7d0a9cd0fed7..936fa3519ad8 100644 --- a/dev-python/guiqwt/guiqwt-4.4.5-r1.ebuild +++ b/dev-python/guiqwt/guiqwt-4.4.5-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/helpdev/helpdev-0.7.1-r1.ebuild b/dev-python/helpdev/helpdev-0.7.1-r1.ebuild index dcb4e1c37a8d..26a9332951bf 100644 --- a/dev-python/helpdev/helpdev-0.7.1-r1.ebuild +++ b/dev-python/helpdev/helpdev-0.7.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index fb9dc72cbd67..a89bfc223a97 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,2 +1,3 @@ DIST hypothesis-6.102.6.gh.tar.gz 9462342 BLAKE2B 7daf1cfedd3e8aec72ca2a16a320ccac8c03d62dd02c7b6e20a8c0e8e9510996fc36b5f1050c111ef2eb389b77a9f468b23ef7627867b8d50559c59df003f635 SHA512 aa458c9db8ca0f5661ffc64ae61b08ffe2e93cd1fe5431752aa92339af22cf90b79763d08c6e381dd0875b26b2cfbdad92e95cc581ba325072ec5330223d3b7e DIST hypothesis-6.103.1.gh.tar.gz 9463631 BLAKE2B 7c7df97ff5702103c3e02d664732cdb2beb32acc51a385b086cd64763822ef8938a75feb522d62335b3392517f8756f60c73d5c681d3cbdf814659a27c94746c SHA512 19e3bd48380ab8a4ce931437e68b224f77441b8c7da99832a18ec1cdeca9609675b8ba19110df33db45ff5c06a1065d21807436e86afe89366510ea36e7f548d +DIST hypothesis-6.103.2.gh.tar.gz 9463865 BLAKE2B d14882642edf53354a6cc8bdf4fb8ac3a5e93a6d5387186e2bd442447710a3e0e84dc61dee6febb690e85552ec3642df58fb731287a6ffd4fc59bd0c69f4f6a9 SHA512 e18ed2ee70541bf992aae784bed59e4e9b1cd784f2bc35573d3a375fcc749bd0a756b7a2a494a16a04ffca386034bab6f99ae0e25ddb18542af0754df081a359 diff --git a/dev-python/hypothesis/hypothesis-6.103.2.ebuild b/dev-python/hypothesis/hypothesis-6.103.2.ebuild new file mode 100644 index 000000000000..29919aa8ec05 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.103.2.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + esac + + epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ + tests/cover tests/pytest tests/quality +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/inflection/inflection-0.5.1-r1.ebuild b/dev-python/inflection/inflection-0.5.1-r1.ebuild index d604133c998a..e23f71fec663 100644 --- a/dev-python/inflection/inflection-0.5.1-r1.ebuild +++ b/dev-python/inflection/inflection-0.5.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/ipython/ipython-8.25.0.ebuild b/dev-python/ipython/ipython-8.25.0.ebuild index 567bee0d5350..2d517b8cd12a 100644 --- a/dev-python/ipython/ipython-8.25.0.ebuild +++ b/dev-python/ipython/ipython-8.25.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" IUSE="examples notebook nbconvert qt5 +smp test" RESTRICT="!test? ( test )" diff --git a/dev-python/jeepney/jeepney-0.8.0.ebuild b/dev-python/jeepney/jeepney-0.8.0.ebuild index 2d6cbfbfd42a..5abd62f3ea94 100644 --- a/dev-python/jeepney/jeepney-0.8.0.ebuild +++ b/dev-python/jeepney/jeepney-0.8.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/jupyter-server/Manifest b/dev-python/jupyter-server/Manifest index 88d1041b7c03..fc1a06866101 100644 --- a/dev-python/jupyter-server/Manifest +++ b/dev-python/jupyter-server/Manifest @@ -1,2 +1 @@ -DIST jupyter_server-2.14.0.tar.gz 719491 BLAKE2B 6a742c2b4a269a23af7c54e72d551045cc17b017efe88e0cb5848aff9d9a9d0855c74ed066b316bb87d15f49984cc5787250b6191f036c8ae8bd0af7a6b53695 SHA512 57258afae5e64af6b499795795c469fd08fb2562da770ba06b78716dccee12f6662b0d6465739857aa5f3fea084eb2d8553c7205edc7b6813e4f5d61815917b3 DIST jupyter_server-2.14.1.tar.gz 719107 BLAKE2B 2b38fbc709346bdb8c2734dd5f22cf958f0555660af0df23b08b6af8b3dee9130daa0538b7e78c5a0c63d66511a973babbb544c638d1aed267368ebba7d10c36 SHA512 1770fe0fc34c164952a74b75bf765fc737ab59cc52c04f61c0a28d5f6c747587ddee4c6cd3dcb90e2ccb72029d0f52de321569ed7a55bddbad50326e728b53fd diff --git a/dev-python/jupyter-server/jupyter-server-2.14.0.ebuild b/dev-python/jupyter-server/jupyter-server-2.14.0.ebuild deleted file mode 100644 index 97d1f9c5d8e0..000000000000 --- a/dev-python/jupyter-server/jupyter-server-2.14.0.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Core services, APIs, and REST endpoints to Jupyter web applications" -HOMEPAGE=" - https://jupyter.org/ - https://github.com/jupyter-server/jupyter_server/ - https://pypi.org/project/jupyter-server/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] - >=dev-python/argon2-cffi-21.1[${PYTHON_USEDEP}] - >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] - >=dev-python/jupyter-client-7.4.4[${PYTHON_USEDEP}] - >=dev-python/jupyter-core-5.1.0[${PYTHON_USEDEP}] - >=dev-python/jupyter-server-terminals-0.4.4[${PYTHON_USEDEP}] - >=dev-python/jupyter-events-0.9.0[${PYTHON_USEDEP}] - >=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}] - >=dev-python/nbformat-5.3.0[${PYTHON_USEDEP}] - >=dev-python/overrides-5.0[${PYTHON_USEDEP}] - >=dev-python/packaging-22.0[${PYTHON_USEDEP}] - >=dev-python/prometheus-client-0.9[${PYTHON_USEDEP}] - >=dev-python/pyzmq-24[${PYTHON_USEDEP}] - >=dev-python/send2trash-1.8.2[${PYTHON_USEDEP}] - >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] - >=dev-python/tornado-6.2[${PYTHON_USEDEP}] - >=dev-python/traitlets-5.6.0[${PYTHON_USEDEP}] - >=dev-python/websocket-client-1.7[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] - test? ( - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/pytest-console-scripts[${PYTHON_USEDEP}] - >=dev-python/pytest-jupyter-0.7[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-tornasync[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # This fails if your terminal is zsh (and maybe other non-bash as well?) - tests/test_terminal.py - # Fails because above is ignored - tests/auth/test_authorizer.py - # Fails with additional extensions installed - tests/extension/test_app.py::test_stop_extension - ) - - # FIXME: tests seem to be affected by previously installed version - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest \ - -p pytest_tornasync.plugin \ - -p jupyter_server.pytest_plugin \ - -p pytest_console_scripts \ - -p pytest_timeout \ - -o tmp_path_retention_policy=all -} diff --git a/dev-python/jupyter-server/jupyter-server-2.14.1.ebuild b/dev-python/jupyter-server/jupyter-server-2.14.1.ebuild index 70043430f00a..97d1f9c5d8e0 100644 --- a/dev-python/jupyter-server/jupyter-server-2.14.1.ebuild +++ b/dev-python/jupyter-server/jupyter-server-2.14.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] diff --git a/dev-python/kerberos/kerberos-1.3.1-r2.ebuild b/dev-python/kerberos/kerberos-1.3.1-r2.ebuild index acd2cee9c2cb..085e787217d2 100644 --- a/dev-python/kerberos/kerberos-1.3.1-r2.ebuild +++ b/dev-python/kerberos/kerberos-1.3.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -24,7 +24,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 sparc x86" # test environment is non-trivial to set up, so just use docker # (see python_test below) # also for alpha/beta Python releases support: diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index 37a64204a00a..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index c09b7356f549..630fe63c6f53 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..736a1167c898 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,12 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/legacy-cgi/Manifest b/dev-python/legacy-cgi/Manifest new file mode 100644 index 000000000000..32ddc67cdb5a --- /dev/null +++ b/dev-python/legacy-cgi/Manifest @@ -0,0 +1 @@ +DIST python-cgi-c6c8567a66f5ff8c5510755ca25a9bdd2756c4f6.gh.tar.gz 34964 BLAKE2B 0717bf9de721aef145443dd09475a4ed2d093bda0746512bc2074b2d7b90da37055662a47726240c9e7c07f0afca88639eb160d48289b0e9726e6638e1049b42 SHA512 0c0ca50a82a8fe76dd3eec56f75e408bbb035b16e726ba0156fd9360210068d63e7e3e60bd6f6793cef38276fc3c940d3195f7c0a9b1eea5056373358fbdb564 diff --git a/dev-python/legacy-cgi/legacy-cgi-2.6.ebuild b/dev-python/legacy-cgi/legacy-cgi-2.6.ebuild new file mode 100644 index 000000000000..0f3b7decfe48 --- /dev/null +++ b/dev-python/legacy-cgi/legacy-cgi-2.6.ebuild @@ -0,0 +1,30 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +# this is 2.6 + tests +EGIT_COMMIT=c6c8567a66f5ff8c5510755ca25a9bdd2756c4f6 +MY_P=python-cgi-${EGIT_COMMIT} +DESCRIPTION="Fork of the standard library cgi and cgitb modules (deprecated)" +HOMEPAGE=" + https://github.com/jackrosenthal/python-cgi/ + https://pypi.org/project/legacy-cgi/ +" +# no tests in sdist +SRC_URI=" + https://github.com/jackrosenthal/python-cgi/archive/${EGIT_COMMIT}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest diff --git a/dev-python/legacy-cgi/metadata.xml b/dev-python/legacy-cgi/metadata.xml new file mode 100644 index 000000000000..a0d4c5913ba0 --- /dev/null +++ b/dev-python/legacy-cgi/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 208843d5bdb6..0a3ba6606f4d 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -4,10 +4,7 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db3659 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a SHA512 ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2 SHA512 6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7 SHA512 f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340 -DIST llvm-project-18.1.6.src.tar.xz 132064976 BLAKE2B d38d8026068de371dc4bc288c68c8e441a126cf8e89e55a965f3b9e3a629a37d5743fd7859a60bedaddf27ff2da1e0f08c81806871ef542cb7c3f40b23b22cf5 SHA512 89ec276aa41bb2d76cfc3a72d8e728a9ce9176e02c085338b704790524fe329904cf311381805814faa8a6c79637620c01627bf122a51f89e0f3adb47e5df34c -DIST llvm-project-18.1.6.src.tar.xz.sig 566 BLAKE2B 4b4a1ec2f084b0728134b9c04775db5938e571f1d7c7aa45b985bed490dcfd2cceab2069a43d4ce7766faec703310a376b83565af317e5f60bf10bc06a732395 SHA512 fbae037d39f4f1c13babafd42dee719f3d79f0e2142cc319f59fb319361a1db8ce65fa736a0e2a5e702ac49e3b8323374be6cfa1003f96b0887fa1894e2b6dee DIST llvm-project-18.1.7.src.tar.xz 132063384 BLAKE2B b8c37bd131fb5f3131bfab4fbad7aa811079ca10723faa14779253bc62b1ee08d4e04650e1da883297ed88a62d518b868a1f13cf57d03233254fd01209da5c02 SHA512 0f67818267803aca9d2bc9eb89335ee6dc56269e8066a0f8a48c4a959e8805dbf6bc839b9f96a92f86ee50d72e7cc326ffe18febb5eb06751ab54a217c0221c8 DIST llvm-project-18.1.7.src.tar.xz.sig 566 BLAKE2B 9ae6d80eba5309ce3d5cba580df57c28dbcf429266b2ced622465e34ab2a7ae0f100d1e89c73a44abccd95a3367979344450fd53fb6a2baa029b929d3f13eee3 SHA512 7e5601e35f4fcaa4ed042638ae5a4fb90714c9dce58aa3f98e965568660b88294185621a4eb5547de262dca8a96f620db3f94932bb1776661e345dbe1266315c DIST llvm-project-5aabbf0602c48b67bb89fd37f95bf97c95ded488.tar.gz 212582616 BLAKE2B 78522148bb4993bd26b16f1e3f44c2baf617705667c7fb104edc844c4330017166c783adae2f0215ca7463c05d1eef30fdf02b13241a9497aaede36bb8580a26 SHA512 104e0b5b4f34102f2da03cd54fe9bf5f7fb6efb3a9745d8ec85caa5f92189fde4a5c02c327243d87ff5c7d24b3790fcabdf0ef7144e79e15765785ca72dd3841 -DIST llvm-project-702198fc9ac5dba392f9d9ba7c56467996343c0a.tar.gz 211764675 BLAKE2B b28203faf5c4e51236da3e3abac969cffe6f93ce6757a81b5a577187ec236fc0b124fe6a370d1f4e803deab781606a7caf0b411780cc84ee08a8de942c4fc479 SHA512 b4217403abf4166eb8eccfd304bcaa2e15d5b67c4f996d51e0745d197e4b9eda1dd5a5b1d7c384effc25f53bb1229edda9618e172abe3be1a94a9569f7c5b0b7 -DIST llvm-project-7dc2f6602212bf0a0433c157b70e4fc0d70bb730.tar.gz 211903416 BLAKE2B 4a2f12e0aa234d507d2fc2136a1d98a7624147ce6e401831743e640abcaceb5152c80ba2dc312f9256e4a04be2ad065d1a57dbe5dc24f2d3edc9d65888986710 SHA512 c9eb99f666fc15b29f01a1b2a4b3c6edd3a726033533111e60763c6313a4af8c9dba3396856d6650ac5e666d00941efcc944fac85a4483748bbbea9475e6daf8 +DIST llvm-project-cddb9ce04e68d876de895d39d60b6af34d569012.tar.gz 213219536 BLAKE2B 5aba2c1dd19d73a8691590873f1697fa32adeab7f84d1d5636e211071e64bfa5d28a49ea9cfdba5fbae77c9520c2103a9f1544d669c7948a318636557f45f6ee SHA512 69ed25a0565c61cd4eb512e95b0fd2d2a3a09dbad73e7186d7fb1764193b06e522572eafb271d21469a4bfb133a62efe65e5ccd20cf05af8b43c52e195d477a9 diff --git a/dev-python/lit/lit-18.1.6.ebuild b/dev-python/lit/lit-18.1.6.ebuild deleted file mode 100644 index 2e4938b4e8f5..000000000000 --- a/dev-python/lit/lit-18.1.6.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 llvm.org - -DESCRIPTION="A stand-alone install of the LLVM suite testing tool" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -# Tests require 'FileCheck' and 'not' utilities (from llvm) -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm - ) -" - -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -# TODO: move the manpage generation here (from sys-devel/llvm) - -src_prepare() { - # flaky test - # https://github.com/llvm/llvm-project/issues/72022 - rm tests/progress-bar.py || die - - cd "${WORKDIR}" || die - distutils-r1_src_prepare -} - -python_test() { - local -x LIT_PRESERVES_TMP=1 - local litflags=$(get_lit_flags) - ./lit.py ${litflags//;/ } tests || die -} diff --git a/dev-python/lit/lit-19.0.0_pre20240525.ebuild b/dev-python/lit/lit-19.0.0_pre20240525.ebuild deleted file mode 100644 index 5ed5b5bd096e..000000000000 --- a/dev-python/lit/lit-19.0.0_pre20240525.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 llvm.org - -DESCRIPTION="A stand-alone install of the LLVM suite testing tool" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -# Tests require 'FileCheck' and 'not' utilities (from llvm) -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm - ) -" - -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -# TODO: move the manpage generation here (from sys-devel/llvm) - -src_prepare() { - # flaky test - # https://github.com/llvm/llvm-project/issues/72022 - rm tests/progress-bar.py || die - - cd "${WORKDIR}" || die - distutils-r1_src_prepare -} - -python_test() { - local -x LIT_PRESERVES_TMP=1 - local litflags=$(get_lit_flags) - ./lit.py ${litflags//;/ } tests || die -} diff --git a/dev-python/lit/lit-19.0.0_pre20240518.ebuild b/dev-python/lit/lit-19.0.0_pre20240615.ebuild index 5ed5b5bd096e..5ed5b5bd096e 100644 --- a/dev-python/lit/lit-19.0.0_pre20240518.ebuild +++ b/dev-python/lit/lit-19.0.0_pre20240615.ebuild diff --git a/dev-python/mapbox-vector-tile/mapbox-vector-tile-2.1.0.ebuild b/dev-python/mapbox-vector-tile/mapbox-vector-tile-2.1.0.ebuild index a125ca4fea66..9cfe735af3ea 100644 --- a/dev-python/mapbox-vector-tile/mapbox-vector-tile-2.1.0.ebuild +++ b/dev-python/mapbox-vector-tile/mapbox-vector-tile-2.1.0.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/tilezen/mapbox-vector-tile/archive/refs/tags/v${PV}. LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 ~x86" RDEPEND=" dev-python/protobuf-python[${PYTHON_USEDEP}] diff --git a/dev-python/mimerender/mimerender-0.6.0-r1.ebuild b/dev-python/mimerender/mimerender-0.6.0-r1.ebuild index 2140d5fb2361..bacec620ff99 100644 --- a/dev-python/mimerender/mimerender-0.6.0-r1.ebuild +++ b/dev-python/mimerender/mimerender-0.6.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/mkdocs-git-revision-date-localized-plugin/Manifest b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest index b29e982cf261..d979150ad392 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest @@ -1,2 +1 @@ -DIST mkdocs-git-revision-date-localized-plugin-1.2.5.gh.tar.gz 377312 BLAKE2B 272c4f71ac668500e3f8d9eb9af1b26fdea8378206ddbeaa97076a46b06f3730a2b52eba2155008e5b05f6aa9f1f5b34c35b10732be1879b6d5cd6b9e7be98ed SHA512 5a6c225847cb34af61f296d8ecc75c82f3374301d19718e1b9e79084098466b4cc8759d7efb4ba4331e0c5d53d78d7bd2cbdba4558635efd7e7965d7197a461f DIST mkdocs-git-revision-date-localized-plugin-1.2.6.gh.tar.gz 377371 BLAKE2B a24dc76fcaa8e38f20ed751cb3976ef3b1a6898c1b4c52631e1b2f87119ee6ca448413d7e45bb312a64075534973b4b9c649a770cec1281f5cbe9783c112c7f2 SHA512 a230f3e3e6aba437f42eda16e577d6f6dd13ac693e801d4e77c2261f8ed6efba3317803f566581d2cb2f847bbc5d23750f5bc932bd881f892b34484d6448e661 diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.5.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.5.ebuild deleted file mode 100644 index b9ac6230717b..000000000000 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.5.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517="setuptools" -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/regex - dev-python/mkdocs-static-i18n - dev-python/mkdocs-material - dev-python/mkdocs-git-authors-plugin - dev-python/mkdocs-git-revision-date-localized-plugin -" - -inherit distutils-r1 docs - -DESCRIPTION="Display the localized date of the last git modification of a markdown file" -HOMEPAGE=" - https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/ - https://pypi.org/project/mkdocs-git-revision-date-localized-plugin/ -" -SRC_URI=" - https://github.com/timvink/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" - -RDEPEND=" - >=dev-python/Babel-2.7.0[${PYTHON_USEDEP}] - dev-python/GitPython[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.0[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/click[${PYTHON_USEDEP}] - dev-python/mkdocs-material[${PYTHON_USEDEP}] - dev-python/mkdocs-static-i18n[${PYTHON_USEDEP}] - dev-vcs/git - ) - doc? ( dev-vcs/git ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # mkdocs-git-revision-date-localized-plugin's tests need git repo - if use test || use doc; then - git init -q || die - git config --global user.email "larry@gentoo.org" || die - git config --global user.name "Larry the Cow" || die - git add . || die - git commit -qm 'init' || die - fi - - distutils-r1_python_prepare_all -} diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.6.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.6.ebuild index cf1f88ff1dd0..b9ac6230717b 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.6.ebuild +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.6.ebuild @@ -29,7 +29,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" RDEPEND=" >=dev-python/Babel-2.7.0[${PYTHON_USEDEP}] diff --git a/dev-python/moto/moto-5.0.9.ebuild b/dev-python/moto/moto-5.0.9.ebuild index b9af051b25a5..2c56976df438 100644 --- a/dev-python/moto/moto-5.0.9.ebuild +++ b/dev-python/moto/moto-5.0.9.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~riscv x86" RDEPEND=" >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] diff --git a/dev-python/msgpack/msgpack-1.0.8.ebuild b/dev-python/msgpack/msgpack-1.0.8.ebuild index 8d802afdec4c..1d3b1c3168e1 100644 --- a/dev-python/msgpack/msgpack-1.0.8.ebuild +++ b/dev-python/msgpack/msgpack-1.0.8.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="+native-extensions" # extension code is relying on CPython implementation details diff --git a/dev-python/munch/files/munch-4.0.0-py313.patch b/dev-python/munch/files/munch-4.0.0-py313.patch new file mode 100644 index 000000000000..6d7cba2b89d7 --- /dev/null +++ b/dev-python/munch/files/munch-4.0.0-py313.patch @@ -0,0 +1,29 @@ +From 84651ee872f9ea6dbaed986fd3818202933a8b50 Mon Sep 17 00:00:00 2001 +From: Karolina Surma <ksurma@redhat.com> +Date: Wed, 5 Jun 2024 09:49:49 +0200 +Subject: [PATCH] Adjust tests for Python 3.13 + +--- + tests/test_munch.py | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/tests/test_munch.py b/tests/test_munch.py +index c80b757..5886fdd 100644 +--- a/tests/test_munch.py ++++ b/tests/test_munch.py +@@ -225,6 +225,15 @@ def test_reserved_attributes(attrname): + assert attr == 'munch' + elif attrname == '__dict__': + assert attr == {} ++ elif attrname == '__static_attributes__': ++ # Python 3.13: added __static_attributes__ attribute, populated by the ++ # compiler, containing a tuple of names of attributes of this class ++ # which are accessed through self.X from any function in its body. ++ assert isinstance(attr, tuple) ++ elif attrname == '__firstlineno__': ++ # Python 3.13: added __firstlineno__ attribute, populated by the ++ # compiler, containing the line number of the first line of the class definition ++ assert isinstance(attr, int) + else: + assert callable(attr) + diff --git a/dev-python/munch/munch-4.0.0.ebuild b/dev-python/munch/munch-4.0.0.ebuild index ede20d26bb63..6b9d8c9040bf 100644 --- a/dev-python/munch/munch-4.0.0.ebuild +++ b/dev-python/munch/munch-4.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,8 +15,8 @@ HOMEPAGE=" " LICENSE="MIT" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" BDEPEND=" dev-python/pbr[${PYTHON_USEDEP}] @@ -26,3 +26,8 @@ BDEPEND=" " distutils_enable_tests pytest + +PATCHES=( + # https://github.com/Infinidat/munch/pull/104 + "${FILESDIR}/${P}-py313.patch" +) diff --git a/dev-python/openpyxl/Manifest b/dev-python/openpyxl/Manifest index 5787eaec1862..6272b23492cc 100644 --- a/dev-python/openpyxl/Manifest +++ b/dev-python/openpyxl/Manifest @@ -1,3 +1,2 @@ -DIST openpyxl-3.1.2.tar.bz2 2733302 BLAKE2B 7030c698c2dfa3c3f27f23485e33cc9f4ffc0c473e590785ebfa03a958f7c1deab98503890b7350f32cbb4607b3fbf543b35299c0f8abfbfcc779e96ddda9ee1 SHA512 307d82dcf839c60be606c01f862701f69017573894c7fd26e35ec3edead2ea2a126aecca61b0c7f6727ff834dd6bed844095b9a56f2b510689ab071926a7a742 DIST openpyxl-3.1.3.tar.bz2 2739587 BLAKE2B 64161f8ea0629f4bd2ef65187c2d1c0cfa23e155df7b5a4a81c386c48d339956e3d854da040157170852df19ab53d65fd0be9a4f1d4f5b5f6eed20e0fe1e89f9 SHA512 dee9dac201319ed6b3c14cb0cd396148a7caedebb2a95534a1b9fcb75afc445bfd73e67fdbd750334872e4bd3bf1a71d20c48930ff6b195f4f1c6312a5e762f8 DIST openpyxl-3.1.4.tar.bz2 2738775 BLAKE2B 88236c4a5d49d02f746c0a5393cf0e996ee2864c38e9f9b9774355b5263447dfb73eaa027ae8d710fd81585a99ba5a20f1cbecc6615f153387b94516faea4820 SHA512 f2b4d7566428d3e5ff36be37cfce12c247f90e1ab10cfd4e04e285106b48c4d9b30791a9b1f1c6f388ea063e69d9843801b9f7568d4694cfcd20d4e8d0d723b8 diff --git a/dev-python/openpyxl/files/openpyxl-3.1.2-pytest-8.patch b/dev-python/openpyxl/files/openpyxl-3.1.2-pytest-8.patch deleted file mode 100644 index 72ed1fab7638..000000000000 --- a/dev-python/openpyxl/files/openpyxl-3.1.2-pytest-8.patch +++ /dev/null @@ -1,118 +0,0 @@ -From 517ce7d21194da275f8083fa2fd7de6977dc7e95 Mon Sep 17 00:00:00 2001 -From: Charlie Clark <charlie.clark@clark-consulting.eu> -Date: Mon, 11 Mar 2024 13:38:08 +0100 -Subject: [PATCH] Looks like pytest has dropped support for unittest setup - methods so switched to fixture. - ---HG-- -branch : 3.1 ---- - openpyxl/drawing/tests/test_drawing.py | 46 ++++++++++++++------------ - 1 file changed, 24 insertions(+), 22 deletions(-) - -diff --git a/openpyxl/drawing/tests/test_drawing.py b/openpyxl/drawing/tests/test_drawing.py -index c4c0712dd..befd2267c 100644 ---- a/openpyxl/drawing/tests/test_drawing.py -+++ b/openpyxl/drawing/tests/test_drawing.py -@@ -1,20 +1,20 @@ - # Copyright (c) 2010-2024 openpyxl - - import pytest -- - from openpyxl.xml.functions import tostring -- - from openpyxl.tests.helper import compare_xml - -+@pytest.fixture -+def Drawing(): -+ from ..drawing import Drawing -+ return Drawing -+ - - class TestDrawing(object): - -- def setup(self): -- from ..drawing import Drawing -- self.drawing = Drawing() - -- def test_ctor(self): -- d = self.drawing -+ def test_ctor(self, Drawing): -+ d = Drawing() - assert d.coordinates == ((1, 2), (16, 8)) - assert d.width == 21 - assert d.height == 192 -@@ -26,34 +26,34 @@ class TestDrawing(object): - assert d.description == "" - assert d.name == "" - -- def test_width(self): -- d = self.drawing -+ def test_width(self, Drawing): -+ d = Drawing() - d.width = 100 - d.height = 50 - assert d.width == 100 - -- def test_proportional_width(self): -- d = self.drawing -+ def test_proportional_width(self, Drawing): -+ d = Drawing() - d.resize_proportional = True - d.width = 100 - d.height = 50 - assert (d.width, d.height) == (5, 50) - -- def test_height(self): -- d = self.drawing -+ def test_height(self, Drawing): -+ d = Drawing() - d.height = 50 - d.width = 100 - assert d.height == 50 - -- def test_proportional_height(self): -- d = self.drawing -+ def test_proportional_height(self, Drawing): -+ d = Drawing() - d.resize_proportional = True - d.height = 50 - d.width = 100 - assert (d.width, d.height) == (100, 1000) - -- def test_set_dimension(self): -- d = self.drawing -+ def test_set_dimension(self, Drawing): -+ d = Drawing() - d.resize_proportional = True - d.set_dimension(100, 50) - assert d.width == 6 -@@ -65,8 +65,9 @@ class TestDrawing(object): - - - @pytest.mark.pil_required -- def test_absolute_anchor(self): -- node = self.drawing.anchor -+ def test_absolute_anchor(self, Drawing): -+ drawing = Drawing() -+ node = drawing.anchor - xml = tostring(node.to_tree()) - expected = """ - <absoluteAnchor> -@@ -80,9 +81,10 @@ class TestDrawing(object): - - - @pytest.mark.pil_required -- def test_onecell_anchor(self): -- self.drawing.anchortype = "oneCell" -- node = self.drawing.anchor -+ def test_onecell_anchor(self, Drawing): -+ drawing = Drawing() -+ drawing.anchortype = "oneCell" -+ node = drawing.anchor - xml = tostring(node.to_tree()) - expected = """ - <oneCellAnchor> --- -GitLab - diff --git a/dev-python/openpyxl/openpyxl-3.1.2.ebuild b/dev-python/openpyxl/openpyxl-3.1.2.ebuild deleted file mode 100644 index cbd7ca5a7270..000000000000 --- a/dev-python/openpyxl/openpyxl-3.1.2.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Pure python reader and writer of Excel OpenXML files" -HOMEPAGE=" - https://openpyxl.readthedocs.io/en/stable/ - https://foss.heptapod.net/openpyxl/openpyxl/ -" -SRC_URI=" - https://foss.heptapod.net/openpyxl/openpyxl/-/archive/${PV}/${P}.tar.bz2 -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" - -RDEPEND=" - dev-python/et-xmlfile[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP},tiff,jpeg] - ) -" - -distutils_enable_sphinx doc \ - dev-python/sphinx-rtd-theme -distutils_enable_tests pytest - -PATCHES=( - # https://foss.heptapod.net/openpyxl/openpyxl/-/commit/517ce7d21194da275f8083fa2fd7de6977dc7e95 - "${FILESDIR}/${P}-pytest-8.patch" -) - -python_test() { - local EPYTEST_DESELECT=() - - if has_version ">=dev-python/numpy-2[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - # https://foss.heptapod.net/openpyxl/openpyxl/-/issues/2187 - openpyxl/compat/tests/test_compat.py::test_numpy_tostring - ) - fi - - case ${EPYTHON} in - python3.12) - EPYTEST_DESELECT+=( - # deprecation warnings - openpyxl/reader/tests/test_workbook.py::TestWorkbookParser::test_broken_sheet_ref - openpyxl/reader/tests/test_workbook.py::TestWorkbookParser::test_defined_names_print_area - openpyxl/reader/tests/test_workbook.py::TestWorkbookParser::test_name_invalid_index - openpyxl/styles/tests/test_stylesheet.py::test_no_styles - ) - ;; - esac - - epytest -} diff --git a/dev-python/openpyxl/openpyxl-3.1.3.ebuild b/dev-python/openpyxl/openpyxl-3.1.3.ebuild index d7914d35361d..c193bd751445 100644 --- a/dev-python/openpyxl/openpyxl-3.1.3.ebuild +++ b/dev-python/openpyxl/openpyxl-3.1.3.ebuild @@ -19,7 +19,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" RDEPEND=" dev-python/et-xmlfile[${PYTHON_USEDEP}] diff --git a/dev-python/orjson/orjson-3.10.5.ebuild b/dev-python/orjson/orjson-3.10.5.ebuild index a03747222fde..fe7ba7e6d8f7 100644 --- a/dev-python/orjson/orjson-3.10.5.ebuild +++ b/dev-python/orjson/orjson-3.10.5.ebuild @@ -73,7 +73,7 @@ LICENSE+=" || ( Apache-2.0 Boost-1.0 ) " SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" >=virtual/rust-1.72 diff --git a/dev-python/pdoc3/pdoc3-0.10.0-r2.ebuild b/dev-python/pdoc3/pdoc3-0.10.0-r2.ebuild index 3781196997df..15b19f66d907 100644 --- a/dev-python/pdoc3/pdoc3-0.10.0-r2.ebuild +++ b/dev-python/pdoc3/pdoc3-0.10.0-r2.ebuild @@ -17,7 +17,7 @@ SRC_URI+=" LICENSE="AGPL-3+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" RDEPEND=" dev-python/mako[${PYTHON_USEDEP}] diff --git a/dev-python/pygit2/pygit2-1.15.0.ebuild b/dev-python/pygit2/pygit2-1.15.0.ebuild index f516ac32b969..d4bc10707e75 100644 --- a/dev-python/pygit2/pygit2-1.15.0.ebuild +++ b/dev-python/pygit2/pygit2-1.15.0.ebuild @@ -20,7 +20,8 @@ SLOT="0" KEYWORDS="~amd64 ~riscv ~x86" DEPEND=" - =dev-libs/libgit2-1.8*:= + <dev-libs/libgit2-1.9:= + >=dev-libs/libgit2-1.8.1:= " BDEPEND=" >=dev-python/cffi-1.16.0:=[${PYTHON_USEDEP}] diff --git a/dev-python/pyglet/pyglet-2.0.15.ebuild b/dev-python/pyglet/pyglet-2.0.15.ebuild index d3bec72bb04d..90524084f96a 100644 --- a/dev-python/pyglet/pyglet-2.0.15.ebuild +++ b/dev-python/pyglet/pyglet-2.0.15.ebuild @@ -18,7 +18,7 @@ SRC_URI="https://github.com/pyglet/pyglet/archive/v${PV}.tar.gz -> ${P}.gh.tar.g LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~riscv x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" IUSE="examples image +sound" RDEPEND=" diff --git a/dev-python/pymongo/pymongo-4.7.2.ebuild b/dev-python/pymongo/pymongo-4.7.2.ebuild index 700c7863d469..64aceb6b19ef 100644 --- a/dev-python/pymongo/pymongo-4.7.2.ebuild +++ b/dev-python/pymongo/pymongo-4.7.2.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" IUSE="doc kerberos +native-extensions +test-full" RDEPEND=" diff --git a/dev-python/pyproject-fmt-rust/Manifest b/dev-python/pyproject-fmt-rust/Manifest index 4c9036434907..5aef9c259712 100644 --- a/dev-python/pyproject-fmt-rust/Manifest +++ b/dev-python/pyproject-fmt-rust/Manifest @@ -58,6 +58,7 @@ DIST pyo3-ffi-0.21.2.crate 66160 BLAKE2B 759622fa3a41bcdb48170983c4e194898415f8d DIST pyo3-macros-0.21.2.crate 7920 BLAKE2B 60ceb626fd1ffeca7e81ebc721bb4cfebd99bb708d48bbfdd296b250ed41471f82e8657715e1f58840423ac11d8c5a84a6107a7037affdea4e0c2cc561514ed7 SHA512 95335a55d57346107fdc7591d51e36aa0a985d6c44a875475a0ed52df25d33b21a7b922fdab0eed190da9708968e79f7cd50bc683b6d210eb068713a915ac7f4 DIST pyo3-macros-backend-0.21.2.crate 58088 BLAKE2B 05dd49983c8aeddc47cd94f6cd58f10e41ad6f4ec57006908cde4fe3edbcf6814058d7843a88c9dbeb0824f840ad3509414c52e47fffe5ad4b730f791c9a3f19 SHA512 f8488ba0a68f1ae20d053e2323d065f03b40c24231a50b05205b100e973ae50bc7bb9c25e4d37df56f4cfa73d2001655ce9685078d1017a4a90bd7945c01b833 DIST pyproject_fmt_rust-1.1.3.tar.gz 33710 BLAKE2B 254a2a9173c57d2d22fa19043b9d144c425209570039af2330130ee14dbde387c1b748bbd0b7aa7fd81df78b43cd78021602ae6a7a05a4336cee85c40fffadc8 SHA512 c96f5b1233287a19e87c9a1a33dedfa3e015b2846b8fb80e36b99ae1227a3f583af6934ee32db5e0a22068264aede434af7eb3df353c58f7a53e434011a3e05d +DIST pyproject_fmt_rust-1.1.4.tar.gz 34558 BLAKE2B 1b0361e74b4acdb6863937356e5c329452d1854fcb666ae8fd9517c870d1d4ab813eed9aadecdae7f66328f84cadbc021b30169f960c8ff3abef17e0928cf197 SHA512 b0ca84d7d6c44cd9f1c8ead26cdf49680d4e67a91f1c169f2a5484d90bd1ca5bd6094a7c307d8bb4ec6c8f52528e250d7534882f16ec4581eabe135539e833e9 DIST quote-1.0.36.crate 28507 BLAKE2B b93495163ed205e33543ed45f084870240d479071d643704b6e348fb9ada6e1d8401893c13348b9964f4b6b17ddb96cb5458eec540f0d761655fcb96a4cd9129 SHA512 f1f002a912692f7ffd4912ca980ec57ff4aca3a7d9e2e42e9e3409e2105c9f59d86c05719f6af309bccaef2f8843b0848a6e3afda3356e045d8e7cc5956ae685 DIST redox_syscall-0.4.1.crate 24858 BLAKE2B c3301137a0b84e03b09d28dfa377ab3bea74d574a08cee21d35713b278d8b5b30ca2a1d73a0981baeb4644cbb88c86c8eb15ab3bb2692e38b93e6b35fab4e0da SHA512 073ed9d96090cf46eab9877742277a013c62d8da86d9caf2310b4fa868af306511936553579e01309f27067d344226cc8dc5e3aef01d9b900da2febd33848f8d DIST regex-1.10.4.crate 253191 BLAKE2B 08bdb925efbea1ee9f885a89ec6b4692e39d7b17039f788e5b3c1dbfb7847d4f53b67f0c61e4085af7ef4901e67e33ea94948668bf706fef19b4102a06ef0447 SHA512 88ef121a51759f418d5dc01607a6e02651bd00343dae92962c02a80f30343d3f079a0375457780ce46bf205ca38f279b03989154638199fe2fcede10554bf21b diff --git a/dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.1.4.ebuild b/dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.1.4.ebuild new file mode 100644 index 000000000000..2f4240954de0 --- /dev/null +++ b/dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.1.4.ebuild @@ -0,0 +1,159 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +CRATES=" + ahash@0.8.11 + aho-corasick@1.1.3 + any_ascii@0.1.7 + arc-swap@1.7.1 + autocfg@1.2.0 + beef@0.5.2 + bitflags@1.3.2 + bstr@1.9.1 + cfg-if@1.0.0 + countme@3.0.1 + deranged@0.3.11 + derivative@2.2.0 + either@1.11.0 + fnv@1.0.7 + form_urlencoded@1.2.1 + futures-channel@0.3.30 + futures-core@0.3.30 + futures-executor@0.3.30 + futures-io@0.3.30 + futures-macro@0.3.30 + futures-sink@0.3.30 + futures-task@0.3.30 + futures-timer@3.0.3 + futures-util@0.3.30 + futures@0.3.30 + getrandom@0.2.14 + glob@0.3.1 + globset@0.4.14 + hashbrown@0.14.3 + heck@0.4.1 + idna@0.5.0 + indoc@2.0.5 + itertools@0.10.5 + itoa@1.0.11 + lexical-sort@0.3.1 + libc@0.2.153 + lock_api@0.4.11 + log@0.4.21 + logos-derive@0.12.1 + logos@0.12.1 + memchr@2.7.2 + memoffset@0.9.1 + num-conv@0.1.0 + once_cell@1.19.0 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + pep440_rs@0.6.0 + pep508_rs@0.6.0 + percent-encoding@2.3.1 + pin-project-lite@0.2.14 + pin-utils@0.1.0 + portable-atomic@1.6.0 + powerfmt@0.2.0 + proc-macro2@1.0.81 + pyo3-build-config@0.21.2 + pyo3-ffi@0.21.2 + pyo3-macros-backend@0.21.2 + pyo3-macros@0.21.2 + pyo3@0.21.2 + quote@1.0.36 + redox_syscall@0.4.1 + regex-automata@0.4.6 + regex-syntax@0.6.29 + regex-syntax@0.8.3 + regex@1.10.4 + relative-path@1.9.2 + rowan@0.15.15 + rstest@0.19.0 + rstest_macros@0.19.0 + rustc-hash@1.1.0 + rustc_version@0.4.0 + ryu@1.0.17 + scopeguard@1.2.0 + semver@1.0.22 + serde@1.0.198 + serde_derive@1.0.198 + serde_json@1.0.116 + slab@0.4.9 + smallvec@1.13.2 + syn@1.0.109 + syn@2.0.60 + taplo@0.13.0 + target-lexicon@0.12.14 + text-size@1.1.1 + thiserror-impl@1.0.59 + thiserror@1.0.59 + time-core@0.1.2 + time-macros@0.2.18 + time@0.3.36 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + tracing-attributes@0.1.27 + tracing-core@0.1.32 + tracing@0.1.40 + unicode-bidi@0.3.15 + unicode-ident@1.0.12 + unicode-normalization@0.1.23 + unicode-width@0.1.12 + unindent@0.2.3 + unscanny@0.1.0 + url@2.5.0 + urlencoding@2.1.3 + version_check@0.9.4 + wasi@0.11.0+wasi-snapshot-preview1 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 + zerocopy-derive@0.7.32 + zerocopy@0.7.32 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Format your pyproject.toml file (Rust extension)" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-fmt-rust/ + https://pypi.org/project/pyproject-fmt-rust/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions ISC MIT Unicode-DFS-2016 + || ( Apache-2.0 BSD-2 ) + || ( Apache-2.0 Boost-1.0 ) +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/pyproject_fmt_rust/_lib.*.so" + +src_prepare() { + sed -i -e '/strip/d' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test_all() { + cargo_src_test +} diff --git a/dev-python/pyquery/pyquery-2.0.0-r1.ebuild b/dev-python/pyquery/pyquery-2.0.0-r1.ebuild new file mode 100644 index 000000000000..2d1423ca19cb --- /dev/null +++ b/dev-python/pyquery/pyquery-2.0.0-r1.ebuild @@ -0,0 +1,61 @@ +# 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 ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="A jQuery-like library for python" +HOMEPAGE=" + https://github.com/gawel/pyquery/ + https://pypi.org/project/pyquery/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/lxml-2.1[${PYTHON_USEDEP}] + >=dev-python/cssselect-1.2.0[${PYTHON_USEDEP}] + >=dev-python/webob-1.1.9[${PYTHON_USEDEP}] +" +DEPEND=" + test? ( + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + dev-python/webob[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # needs network + tests/test_pyquery.py::TestWebScrappingEncoding::test_get + # known breakage, can't do much about it unless we force old + # libxml2 for everyone, sigh + # https://github.com/gawel/pyquery/issues/248 + tests/test_pyquery.py::TestXMLNamespace::test_selector_html + ) + case ${EPYTHON} in + python3.1[23]) + EPYTEST_DESELECT+=( + # doctest failing because of changed repr() + # https://github.com/gawel/pyquery/issues/249 + pyquery/pyquery.py::pyquery.pyquery.PyQuery.serialize_dict + ) + ;; + esac + + epytest +} + +pkg_postinst() { + optfeature "Support for BeautifulSoup3 as a parser backend" dev-python/beautifulsoup4 +} diff --git a/dev-python/python-mimeparse/files/python-mimeparse-1.6.0-py3.13.patch b/dev-python/python-mimeparse/files/python-mimeparse-1.6.0-py3.13.patch new file mode 100644 index 000000000000..90b4c4fc7d8a --- /dev/null +++ b/dev-python/python-mimeparse/files/python-mimeparse-1.6.0-py3.13.patch @@ -0,0 +1,79 @@ +From 5427072b12119fe28fd66f19f74beb7da0c1de8b Mon Sep 17 00:00:00 2001 +From: Stanis Trendelenburg <stanis.trendelenburg@gmail.com> +Date: Mon, 1 Jan 2024 12:48:19 +0100 +Subject: [PATCH] chore(cgi): include `parse_header()` from the deprecated cgi + module (#46) + +* Include functions from the deprecated cgi module + +* Document source of vendored functions from cgi.py + +* Fix linter error +--- + +Upstream-PR: https://github.com/falconry/python-mimeparse/pull/46 + +diff --git a/mimeparse.py b/mimeparse.py +index 0de6d57..506e138 100644 +--- a/mimeparse.py ++++ b/mimeparse.py +@@ -1,5 +1,3 @@ +-import cgi +- + __version__ = '1.6.0' + __author__ = 'Joe Gregorio' + __email__ = 'joe@bitworking.org' +@@ -11,6 +9,44 @@ class MimeTypeParseException(ValueError): + pass + + ++# Vendored version of cgi._parseparam from Python 3.11 (deprecated and slated ++# for removal in 3.13) ++def _parseparam(s): ++ while s[:1] == ';': ++ s = s[1:] ++ end = s.find(';') ++ while end > 0 and (s.count('"', 0, end) - s.count('\\"', 0, end)) % 2: ++ end = s.find(';', end + 1) ++ if end < 0: ++ end = len(s) ++ f = s[:end] ++ yield f.strip() ++ s = s[end:] ++ ++ ++# Vendored version of cgi.parse_header from Python 3.11 (deprecated and slated ++# for removal in 3.13) ++def _parse_header(line): ++ """Parse a Content-type like header. ++ ++ Return the main content-type and a dictionary of options. ++ ++ """ ++ parts = _parseparam(';' + line) ++ key = parts.__next__() ++ pdict = {} ++ for p in parts: ++ i = p.find('=') ++ if i >= 0: ++ name = p[:i].strip().lower() ++ value = p[i + 1:].strip() ++ if len(value) >= 2 and value[0] == value[-1] == '"': ++ value = value[1:-1] ++ value = value.replace('\\\\', '\\').replace('\\"', '"') ++ pdict[name] = value ++ return key, pdict ++ ++ + def parse_mime_type(mime_type): + """Parses a mime-type into its component parts. + +@@ -23,7 +59,7 @@ def parse_mime_type(mime_type): + + :rtype: (str,str,dict) + """ +- full_type, params = cgi.parse_header(mime_type) ++ full_type, params = _parse_header(mime_type) + # Java URLConnection class sends an Accept header that includes a + # single '*'. Turn it into a legal wildcard. + if full_type == '*': diff --git a/dev-python/python-mimeparse/python-mimeparse-1.6.0-r5.ebuild b/dev-python/python-mimeparse/python-mimeparse-1.6.0-r5.ebuild new file mode 100644 index 000000000000..ef0bbf3fd3e0 --- /dev/null +++ b/dev-python/python-mimeparse/python-mimeparse-1.6.0-r5.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Basic functions for handling mime-types in python" +HOMEPAGE=" + https://github.com/falconry/python-mimeparse/ + https://pypi.org/project/python-mimeparse/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +PATCHES=( + "${FILESDIR}/${P}-py3.13.patch" +) + +python_test() { + "${EPYTHON}" mimeparse_test.py -v || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/repoze-lru/repoze-lru-0.7-r3.ebuild b/dev-python/repoze-lru/repoze-lru-0.7-r3.ebuild index 9b6dfb9f5f7d..76b3059cc80f 100644 --- a/dev-python/repoze-lru/repoze-lru-0.7-r3.ebuild +++ b/dev-python/repoze-lru/repoze-lru-0.7-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -26,10 +26,6 @@ LICENSE="repoze" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86" -RDEPEND=" - !dev-python/namespace-repoze -" - distutils_enable_tests unittest python_compile() { diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest index 154343007820..efbbda4ca0b8 100644 --- a/dev-python/requests/Manifest +++ b/dev-python/requests/Manifest @@ -1,3 +1 @@ -DIST requests-2.32.1.tar.gz 129920 BLAKE2B 9f46afeb3ea62e8bb537fb793bcf1b65b5cc2ae3f22263151b0bf5879aa2a11a1e87777453cc325f552964551750ef81524ef99ce132bb19df5161e1df5fe77f SHA512 6ae12ca26f04c3c001ef1882d17cd7f12412114214961db42d6b5f3f507640d1f07e325034761e02e7e5d9daacaab10a16884c2cb2c4128ca059a142b52bace8 -DIST requests-2.32.2.tar.gz 130327 BLAKE2B 46fd3e49a63f55133126a1896bb693050a63a062c7258f119e285a735004671b12595debd87955b5f6f084996495e8a100bb0b09a43c376df0dcb0a6a8d083e2 SHA512 6f85e41f30d8bdf8d3343092d7fc163342c22c21cf0490eabd65cb66b59a464fbd6a4cd28f1f3ab1eac636adff2a8d55ded54c40351df93deafeb2aba62bcbde DIST requests-2.32.3.tar.gz 131218 BLAKE2B c36bd80e0544e83b80c001e6bfdde7b8552e65b888d44d781f95d5a6302dd34dfd4368e18dbfeab3a014d7170946c502e3bf3a6dbd027a60a2f0f535c674d75c SHA512 20d413597ff4803a62156ada25ef2e8a5edd0d4dbf7d79cc7fcd88d51a76e019a7dacf41d7c3d546306f37c506ede68f16b9afea57c918db64e702382b1ae420 diff --git a/dev-python/requests/requests-2.32.1.ebuild b/dev-python/requests/requests-2.32.1.ebuild deleted file mode 100644 index 38975fe6a466..000000000000 --- a/dev-python/requests/requests-2.32.1.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="HTTP library for human beings" -HOMEPAGE=" - https://requests.readthedocs.io/ - https://github.com/psf/requests/ - https://pypi.org/project/requests/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" -IUSE="socks5 test-rust" - -RDEPEND=" - >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}] - <dev-python/charset-normalizer-4[${PYTHON_USEDEP}] - <dev-python/idna-4[${PYTHON_USEDEP}] - <dev-python/urllib3-3[${PYTHON_USEDEP}] - socks5? ( >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] ) -" - -BDEPEND=" - test? ( - >=dev-python/pytest-httpbin-2.0.0[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] - test-rust? ( - dev-python/trustme[${PYTHON_USEDEP}] - ) - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # Internet (doctests) - requests/__init__.py::requests - requests/api.py::requests.api.request - requests/models.py::requests.models.PreparedRequest - requests/sessions.py::requests.sessions.Session - # require IPv4 interface in 10.* range - tests/test_requests.py::TestTimeout::test_connect_timeout - tests/test_requests.py::TestTimeout::test_total_timeout_connect - # TODO: openssl? - tests/test_requests.py::TestRequests::test_pyopenssl_redirect - # flask-2 - tests/test_requests.py::TestRequests::test_cookie_sent_on_redirect - tests/test_requests.py::TestRequests::test_cookie_removed_on_expire - tests/test_requests.py::TestPreparingURLs::test_redirecting_to_bad_url - ) - - case ${EPYTHON} in - python3.13) - ;& - python3.12) - EPYTEST_DESELECT+=( - # different repr() - requests/utils.py::requests.utils.from_key_val_list - ) - ;; - esac - - if ! has_version "dev-python/trustme[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - tests/test_requests.py::TestRequests::test_https_warnings - ) - fi - - epytest -} diff --git a/dev-python/requests/requests-2.32.2.ebuild b/dev-python/requests/requests-2.32.2.ebuild deleted file mode 100644 index b2ae0ba7d97d..000000000000 --- a/dev-python/requests/requests-2.32.2.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="HTTP library for human beings" -HOMEPAGE=" - https://requests.readthedocs.io/ - https://github.com/psf/requests/ - https://pypi.org/project/requests/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" -IUSE="socks5 test-rust" - -RDEPEND=" - >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}] - <dev-python/charset-normalizer-4[${PYTHON_USEDEP}] - <dev-python/idna-4[${PYTHON_USEDEP}] - <dev-python/urllib3-3[${PYTHON_USEDEP}] - socks5? ( >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] ) -" - -BDEPEND=" - test? ( - >=dev-python/pytest-httpbin-2.0.0[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] - test-rust? ( - dev-python/trustme[${PYTHON_USEDEP}] - ) - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # Internet (doctests) - requests/__init__.py::requests - requests/api.py::requests.api.request - requests/models.py::requests.models.PreparedRequest - requests/sessions.py::requests.sessions.Session - # require IPv4 interface in 10.* range - tests/test_requests.py::TestTimeout::test_connect_timeout - tests/test_requests.py::TestTimeout::test_total_timeout_connect - # TODO: openssl? - tests/test_requests.py::TestRequests::test_pyopenssl_redirect - # flask-2 - tests/test_requests.py::TestRequests::test_cookie_sent_on_redirect - tests/test_requests.py::TestRequests::test_cookie_removed_on_expire - tests/test_requests.py::TestPreparingURLs::test_redirecting_to_bad_url - ) - - case ${EPYTHON} in - python3.13) - ;& - python3.12) - EPYTEST_DESELECT+=( - # different repr() - requests/utils.py::requests.utils.from_key_val_list - ) - ;; - esac - - if ! has_version "dev-python/trustme[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - tests/test_requests.py::TestRequests::test_https_warnings - ) - fi - - epytest -} diff --git a/dev-python/requests/requests-2.32.3.ebuild b/dev-python/requests/requests-2.32.3.ebuild index b2ae0ba7d97d..38975fe6a466 100644 --- a/dev-python/requests/requests-2.32.3.ebuild +++ b/dev-python/requests/requests-2.32.3.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" IUSE="socks5 test-rust" RDEPEND=" diff --git a/dev-python/responses/Manifest b/dev-python/responses/Manifest index 48d8478b92a9..5c1268bb8c6a 100644 --- a/dev-python/responses/Manifest +++ b/dev-python/responses/Manifest @@ -1,2 +1,3 @@ DIST responses-0.25.0.tar.gz 77681 BLAKE2B 0437c343feecb071f544d8f6ce1ad15c4d6e2f00c0fff0404dff9160c962a5de46d0b2c882e8d044b6e09c441a534e7bd8772f826a45c9a9b79e34daf0610546 SHA512 6aed8ce17f55e8c1a7438b3e1aa7e7e59322120f3580fede93d61224ea9f1e1f05382cdf82c11cbef29447b6591d7d6e25d156c087025b93d6e5a3e2da82d90d DIST responses-0.25.2.tar.gz 77494 BLAKE2B 35df38f1a28c006b9b1edfe77cd8e68e55466c3ad50ea8c0a095dae4de35b8d89aa1290a0bab0a813fcbf63224f652ad7e1964d59151eb5633b4a6000ba489bf SHA512 32c9c3a5028687a23bc8b3ec5c3061cfa9f18c98d66867d2dd94de3e2d59c6176de2bbc3ae3c31df3826819e5f04eb5f4ab7cb0c09ac8e93ed2d8c4d5aa4225d +DIST responses-0.25.3.tar.gz 77798 BLAKE2B c85ccca93bf24e392e33bffc697d657e1bdb1d733c36ba035dffb0e1185ad579e35b44c9342d257c3eec735ea789961ea37e739884511b0c5ef9ef88f344dd77 SHA512 f5691cb603174a06a8efebde3e64091a8b21005adc841dcfa83f2bb9aea0c0b8bd8a3d490cc579d77fd4a1106bbdd2f140da1d3c04cbcfd42a6d49c900618f47 diff --git a/dev-python/responses/responses-0.25.3.ebuild b/dev-python/responses/responses-0.25.3.ebuild new file mode 100644 index 000000000000..08ae15c11fc9 --- /dev/null +++ b/dev-python/responses/responses-0.25.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Utility for mocking out the Python Requests library" +HOMEPAGE=" + https://pypi.org/project/responses/ + https://github.com/getsentry/responses/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# tomli backend is optional now, with pyyaml being the new default. +# However, keeping it unconditional here for backwards compatibility. +RDEPEND=" + dev-python/pyyaml[${PYTHON_USEDEP}] + <dev-python/requests-3[${PYTHON_USEDEP}] + >=dev-python/requests-2.30.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) + dev-python/tomli-w[${PYTHON_USEDEP}] + <dev-python/urllib3-3[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.10[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o asyncio_mode=auto -p asyncio -p pytest_httpserver +} diff --git a/dev-python/scikit-build-core/Manifest b/dev-python/scikit-build-core/Manifest index b087af2ff696..b458bcab9211 100644 --- a/dev-python/scikit-build-core/Manifest +++ b/dev-python/scikit-build-core/Manifest @@ -1,4 +1,2 @@ -DIST scikit_build_core-0.9.2.tar.gz 225078 BLAKE2B 8d50e82754013f23a2216d269757fce5b56c5fa99e2f3b93e3bb65e50730799f2874d0eaa71681e248eeb30c443cde03a5bd447732b764852f2069ed18ea98d3 SHA512 c94cb9b109c994bedaba0e82de15caaf4fc4ae5c08375324aeb60f8d05911cc958a70c0430d35b23ad9792d39ab0312ff607b0587cd55eb4fe68ae4f28eed1d9 -DIST scikit_build_core-0.9.3.tar.gz 226732 BLAKE2B b15985eb4bf9cd44e75cf3ea1db4a1541dbac2310927608ab1ec31d5015ef4433290894755230ff5d691d69d90bce1ac92966209e46091d7f4d76099f33cca0a SHA512 e25adbcd2037471046376d3877d7a4a5bea42f3f9c13beaec646ed6e7a254138d0fce050309f634b61ec75c83ad76e34ebfa0bfa403ae394c25870cf15e0ff7a -DIST scikit_build_core-0.9.4.tar.gz 228198 BLAKE2B 86987ce34ed840d22a84a56fa0b62e8b6420f6f91763199945d5dfd0709ffb3b12778e996611cc652364637b8b8e0013cf39322fe322f1c2d3bbc22670c52876 SHA512 bc5252bf1f52e7fa0ea4d9e27d57fbf82a35e2061dfd8b8fbecc32b2da0ae88a2c3197bbece28f1285c1fb33ce91f27907bec093d76b937b382fa7dca072d0d9 DIST scikit_build_core-0.9.5.tar.gz 228404 BLAKE2B 6b3aa905a63b73147e1a760bf8e0265395f6e2b5cce2a24594ee384f6e8ad31d7d16e76e7666115e5a962f49c2f2a4c622a33ac5e3a11443cfc2ed50e0801589 SHA512 fade6192347ea9d3010a24de7c1b868aea14fa2028a064fe397db26e15437f74f3d9b017be940855d57db32cb867cfa9bab1902bc1f51f96589a38b9478d01bc +DIST scikit_build_core-0.9.6.tar.gz 228743 BLAKE2B da5dff989ca053c9ee1abfff739d0b755bb14f9d810020e4b44ba5caad670dfe24ef99b4cb93a18ae162dca8fe21d6d09c4d692ff1406bfa3a64ca25c24aeddb SHA512 b2b1e9b4baefc360b26dfc0bbf0edef20d7b6681140ef9a413c565666869e67ddce2cdd3027f3de6af29b7ef76bd7eeb401c08f3803524706d0ace9106b63f65 diff --git a/dev-python/scikit-build-core/scikit-build-core-0.9.2-r1.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.9.2-r1.ebuild deleted file mode 100644 index bc7ccf1f1709..000000000000 --- a/dev-python/scikit-build-core/scikit-build-core-0.9.2-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Build backend for CMake based projects" -HOMEPAGE=" - https://github.com/scikit-build/scikit-build-core/ - https://pypi.org/project/scikit-build-core/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -# we always want [pyproject] extra -RDEPEND=" - app-alternatives/ninja - dev-build/cmake - >=dev-python/packaging-21.3[${PYTHON_USEDEP}] - >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] - >=dev-python/pyproject-metadata-0.5[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/exceptiongroup[${PYTHON_USEDEP}] - >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/build[${PYTHON_USEDEP}] - >=dev-python/cattrs-22.2.0[${PYTHON_USEDEP}] - dev-python/fastjsonschema[${PYTHON_USEDEP}] - dev-python/pybind11[${PYTHON_USEDEP}] - >=dev-python/pytest-subprocess-1.5[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local _EPYTEST_DESELECT=( - # TODO / we don't package validate_pyproject anyway - tests/test_schema.py::test_compare_schemas - # setuptools now respects PEP 625 - tests/test_setuptools_pep517.py::test_pep517_sdist - ) - local EPYTEST_IGNORE=( - # needs unpackaged validate_pyproject - tests/test_schema.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p subprocess -m "not isolated and not network" -} diff --git a/dev-python/scikit-build-core/scikit-build-core-0.9.4.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.9.4.ebuild deleted file mode 100644 index c252aa77355d..000000000000 --- a/dev-python/scikit-build-core/scikit-build-core-0.9.4.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Build backend for CMake based projects" -HOMEPAGE=" - https://github.com/scikit-build/scikit-build-core/ - https://pypi.org/project/scikit-build-core/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" - -# we always want [pyproject] extra -RDEPEND=" - app-alternatives/ninja - dev-build/cmake - >=dev-python/packaging-21.3[${PYTHON_USEDEP}] - >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] - >=dev-python/pyproject-metadata-0.5[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/exceptiongroup[${PYTHON_USEDEP}] - >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/build[${PYTHON_USEDEP}] - >=dev-python/cattrs-22.2.0[${PYTHON_USEDEP}] - dev-python/fastjsonschema[${PYTHON_USEDEP}] - dev-python/pybind11[${PYTHON_USEDEP}] - >=dev-python/pytest-subprocess-1.5[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local _EPYTEST_DESELECT=( - # TODO / we don't package validate_pyproject anyway - tests/test_schema.py::test_compare_schemas - # setuptools now respects PEP 625 - tests/test_setuptools_pep517.py::test_pep517_sdist - ) - local EPYTEST_IGNORE=( - # needs unpackaged validate_pyproject - tests/test_schema.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p subprocess -m "not isolated and not network" -} diff --git a/dev-python/scikit-build-core/scikit-build-core-0.9.5.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.9.5.ebuild index 853b0772cfe7..c252aa77355d 100644 --- a/dev-python/scikit-build-core/scikit-build-core-0.9.5.ebuild +++ b/dev-python/scikit-build-core/scikit-build-core-0.9.5.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" # we always want [pyproject] extra RDEPEND=" diff --git a/dev-python/scikit-build-core/scikit-build-core-0.9.3.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.9.6.ebuild index 853b0772cfe7..853b0772cfe7 100644 --- a/dev-python/scikit-build-core/scikit-build-core-0.9.3.ebuild +++ b/dev-python/scikit-build-core/scikit-build-core-0.9.6.ebuild diff --git a/dev-python/setuptools-rust/setuptools-rust-1.9.0-r1.ebuild b/dev-python/setuptools-rust/setuptools-rust-1.9.0-r1.ebuild index 7713007c49c8..d4345fea43d4 100644 --- a/dev-python/setuptools-rust/setuptools-rust-1.9.0-r1.ebuild +++ b/dev-python/setuptools-rust/setuptools-rust-1.9.0-r1.ebuild @@ -134,7 +134,7 @@ SRC_URI=" # crates are used at test time only, update via pycargoebuild -L -i ... LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/spotipy/spotipy-2.24.0.ebuild b/dev-python/spotipy/spotipy-2.24.0.ebuild index a2b3ea036a90..e54bc29cee86 100644 --- a/dev-python/spotipy/spotipy-2.24.0.ebuild +++ b/dev-python/spotipy/spotipy-2.24.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="examples" RDEPEND=" diff --git a/dev-python/survey/Manifest b/dev-python/survey/Manifest index 94991240e43e..8311de32f955 100644 --- a/dev-python/survey/Manifest +++ b/dev-python/survey/Manifest @@ -1,2 +1,2 @@ DIST survey-4.5.4.tar.gz 831109 BLAKE2B 00065211437f4c6c820aca5c511395625da7be9415218d6261005aff946b19a3e65cc31189a6aef755ed88ce81f309ac2eabe23ea7f1e2f359007b4fe9172f96 SHA512 045989ca95e3fa9a840ad8d37a040f46bf3f22a858dd7b826fecf88d4e53b6b14e285ef3bf266add496da2d5ffd58971c2456b4375362e24c1a071fc910a03f4 -DIST survey-5.3.0.gh.tar.gz 1564816 BLAKE2B 5f4759c2e824499ee4b7569ae906c73af60f7fa080f02022bec1cd393b1ddf9b563708ad4363d48f12448210fe24125d79526818e09c72be1b96997a2367e271 SHA512 690b9ffbd75bd70d838115430fb6d12d898a2b7b28b1d5e00dcfb8d09490b1f3663632a8b6e0b05fe8d50633b19c33cc13a6776168491a2f6c881b5764397caf +DIST survey-5.3.1.gh.tar.gz 1564902 BLAKE2B de8bafd2fc5a683ca0364f9e1540e177bf2f10344406563ff3ef6723abd2c415517e72ffacccae51e1d69912b966bf678c2abc62b22545f1c5871d4f3459d121 SHA512 383d7339e93760294095881b6ebf3fd00d687210865303aa2c17a51a390f8087b8666364e0ba7b7657e009803665cf02e64f280c8a09a535ce1fa1ebeaafe963 diff --git a/dev-python/survey/survey-5.3.0.ebuild b/dev-python/survey/survey-5.3.1.ebuild index 4882138d47ce..4882138d47ce 100644 --- a/dev-python/survey/survey-5.3.0.ebuild +++ b/dev-python/survey/survey-5.3.1.ebuild diff --git a/dev-python/symengine/symengine-0.11.0.ebuild b/dev-python/symengine/symengine-0.11.0.ebuild index 46143190ddc0..45623d87157e 100644 --- a/dev-python/symengine/symengine-0.11.0.ebuild +++ b/dev-python/symengine/symengine-0.11.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86" BDEPEND=" dev-build/cmake diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest index c480f49b59e0..812698472118 100644 --- a/dev-python/sympy/Manifest +++ b/dev-python/sympy/Manifest @@ -1,3 +1 @@ DIST sympy-1.12.1.gh.tar.gz 8025309 BLAKE2B 01fe3e95716b0efcf682613fb8ba6f149f4f4dc4ad3f20eb816d85f30042af1cd5860d3d157d4c26458520cc2f8e994ae6671058a7a0d5237e7f15d0e61f9e53 SHA512 9b50d2b0e8e9628c38296f8d1e25c83b1b9fa1503166b48cc344709217393b00910ad3441a1da0e81e6faf56e5db7a33bc96926918da024cafc77fb4957f94a4 -DIST sympy-1.12.1rc1.gh.tar.gz 8009898 BLAKE2B 7afbcb0c17249509a1a780bdfbe72eee5aaa4b4548a587968bd2c454cbdbda9e81b47ee31c98a8aa2323d575a9cc8897f9b52aba0eec1ed831e3038b2fc15aff SHA512 575947bc1057d8bfb5e4d6f84243d0206449ef97d861e6029c11f0868c34b8d909159901054469738577edc8f941db14a61936402037a24153c1ca97af4758ad -DIST sympy-1.12.gh.tar.gz 7212937 BLAKE2B 1d37a019e7a6700e69e16d6ca7fdc563711165fc226ac6ec745d20fa6dc689ee9ea01a92549d851aacff763230872c2d1d0cb5bde581c4f960f5de515ffb5f06 SHA512 96a89b88f6912d70c56f5bd1903dd3c518963118ff25d033cdcb7da2f260b8ee209d3ab4a4394dd2b5dc0b4585b71ccd55d55c8e5c6e28024cccbedf07ee4360 diff --git a/dev-python/sympy/files/sympy-1.12-c99.patch b/dev-python/sympy/files/sympy-1.12-c99.patch deleted file mode 100644 index 311311cfcea3..000000000000 --- a/dev-python/sympy/files/sympy-1.12-c99.patch +++ /dev/null @@ -1,48 +0,0 @@ -https://github.com/sympy/sympy/pull/25968 - -From 2251ba15d33656fce53668d789c390923eeae919 Mon Sep 17 00:00:00 2001 -From: Jerry James <loganjerry@gmail.com> -Date: Fri, 8 Dec 2023 15:12:26 -0700 -Subject: [PATCH] Avoid incompatible pointer type error with GCC 14 - ---- a/sympy/utilities/autowrap.py -+++ b/sympy/utilities/autowrap.py -@@ -714,7 +714,11 @@ def binary_function(symfunc, expr, **kwargs): - _ufunc_outcalls = Template("*((double *)out${outnum}) = ${funcname}(${call_args});") - - _ufunc_body = Template("""\ -+#ifdef NPY_1_19_API_VERSION -+static void ${funcname}_ufunc(char **args, const npy_intp *dimensions, const npy_intp* steps, void* data) -+#else - static void ${funcname}_ufunc(char **args, npy_intp *dimensions, npy_intp* steps, void* data) -+#endif - { - npy_intp i; - npy_intp n = dimensions[0]; ---- a/sympy/utilities/tests/test_autowrap.py -+++ b/sympy/utilities/tests/test_autowrap.py -@@ -284,7 +284,11 @@ def test_ufuncify_source(): - {NULL, NULL, 0, NULL} - }; - -+#ifdef NPY_1_19_API_VERSION -+static void test_ufunc(char **args, const npy_intp *dimensions, const npy_intp* steps, void* data) -+#else - static void test_ufunc(char **args, npy_intp *dimensions, npy_intp* steps, void* data) -+#endif - { - npy_intp i; - npy_intp n = dimensions[0]; -@@ -378,7 +382,11 @@ def test_ufuncify_source_multioutput(): - {NULL, NULL, 0, NULL} - }; - -+#ifdef NPY_1_19_API_VERSION -+static void multitest_ufunc(char **args, const npy_intp *dimensions, const npy_intp* steps, void* data) -+#else - static void multitest_ufunc(char **args, npy_intp *dimensions, npy_intp* steps, void* data) -+#endif - { - npy_intp i; - npy_intp n = dimensions[0]; - diff --git a/dev-python/sympy/files/sympy-1.12-py312.patch b/dev-python/sympy/files/sympy-1.12-py312.patch deleted file mode 100644 index 13501c3fb34d..000000000000 --- a/dev-python/sympy/files/sympy-1.12-py312.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 8a2c3c4de266f49312eda4c91dcdf5d5464717e8 Mon Sep 17 00:00:00 2001 -From: Pablo Galindo <pablogsal@gmail.com> -Date: Fri, 9 Jun 2023 11:22:20 +0100 -Subject: [PATCH] Fix factorial parsing for Python 3.12 - -Signed-off-by: Pablo Galindo <pablogsal@gmail.com> ---- - .mailmap | 1 + - sympy/parsing/sympy_parser.py | 5 ++++- - 2 files changed, 5 insertions(+), 1 deletion(-) - -diff --git a/.mailmap b/.mailmap -index fe496637dd..8a9de2d99d 100644 ---- a/.mailmap -+++ b/.mailmap -@@ -1496,6 +1496,7 @@ naelsondouglas <naelson17@gmail.com> - noam simcha finkelstein <noam.finkelstein@protonmail.com> - numbermaniac <5206120+numbermaniac@users.noreply.github.com> - oittaa <8972248+oittaa@users.noreply.github.com> -+pablogsal <pablogsal@gmail.com> - pekochun <hamburg_hamburger2000@yahoo.co.jp> - prshnt19 <prashant.rawat216@gmail.com> - rahuldan <rahul02013@gmail.com> -diff --git a/sympy/parsing/sympy_parser.py b/sympy/parsing/sympy_parser.py -index 5935f4baf2..862679e644 100644 ---- a/sympy/parsing/sympy_parser.py -+++ b/sympy/parsing/sympy_parser.py -@@ -627,7 +627,10 @@ def factorial_notation(tokens: List[TOKEN], local_dict: DICT, global_dict: DICT) - result: List[TOKEN] = [] - nfactorial = 0 - for toknum, tokval in tokens: -- if toknum == ERRORTOKEN: -+ if toknum == OP and tokval == "!": -+ # In Python 3.12 "!" are OP instead of ERRORTOKEN -+ nfactorial += 1 -+ elif toknum == ERRORTOKEN: - op = tokval - if op == '!': - nfactorial += 1 --- -2.42.1 - diff --git a/dev-python/sympy/sympy-1.12-r1.ebuild b/dev-python/sympy/sympy-1.12-r1.ebuild deleted file mode 100644 index 2e0e3cbdfe24..000000000000 --- a/dev-python/sympy/sympy-1.12-r1.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 virtualx - -DESCRIPTION="Computer Algebra System in pure Python" -HOMEPAGE=" - https://www.sympy.org/ - https://github.com/sympy/sympy/ - https://pypi.org/project/sympy/ -" -SRC_URI=" - https://github.com/sympy/sympy/archive/${P}.tar.gz -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${PN}-${P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet symengine texmacs" - -RDEPEND=" - dev-python/mpmath[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - aesara? ( - $(python_gen_cond_dep ' - dev-python/aesara[${PYTHON_USEDEP}] - ' python3_{10..11}) - ) - imaging? ( dev-python/pillow[${PYTHON_USEDEP}] ) - ipython? ( dev-python/ipython[${PYTHON_USEDEP}] ) - latex? ( - virtual/latex-base - dev-texlive/texlive-fontsextra - png? ( app-text/dvipng ) - pdf? ( app-text/ghostscript-gpl ) - ) - mathml? ( dev-python/lxml[${PYTHON_USEDEP}] ) - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) - pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] ) - symengine? ( dev-python/symengine[${PYTHON_USEDEP}] ) - texmacs? ( app-office/texmacs ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}/${P}-py312.patch" - "${FILESDIR}/${PN}-1.12-c99.patch" -) - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # require old version of antlr4 - sympy/parsing/tests/test_autolev.py - sympy/parsing/tests/test_latex.py - # crash due to assertions in sys-devel/llvm[debug] - sympy/parsing/tests/test_c_parser.py - - # TODO: pytest? - sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_check - sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_dsolve_dotprodsimp - - # either very slow or hanging - sympy/solvers/ode/tests/test_systems.py::test_linear_new_order1_type2_de_lorentz_slow_check - sympy/integrals/tests/test_failing_integrals.py::test_issue_15227 - sympy/matrices/tests/test_matrices.py::test_pinv_rank_deficient_when_diagonalization_fails - sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type1 - sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type3 - ) - - case ${EPYTHON} in - pypy3) - if has_version "<dev-python/pypy3_10-exe-7.3.13_p2" || - has_version "<dev-python/pypy3_10-exe-bin-7.3.13_p2" - then - EPYTEST_DESELECT+=( - # https://foss.heptapod.net/pypy/pypy/-/issues/4032 - sympy/tensor/array/tests/test_array_comprehension.py::test_arraycomprehensionmap - ) - fi - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest --veryquickcheck || - die -n "Tests failed with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( AUTHORS README.md ) - - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all - - if use texmacs; then - exeinto /usr/libexec/TeXmacs/bin/ - doexe data/TeXmacs/bin/tm_sympy - insinto /usr/share/TeXmacs/plugins/sympy/ - doins -r data/TeXmacs/progs - fi -} diff --git a/dev-python/sympy/sympy-1.12.1.ebuild b/dev-python/sympy/sympy-1.12.1.ebuild index cdfcbf4488cc..46b19b207512 100644 --- a/dev-python/sympy/sympy-1.12.1.ebuild +++ b/dev-python/sympy/sympy-1.12.1.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${P/_/} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet symengine texmacs" RDEPEND=" diff --git a/dev-python/sympy/sympy-1.12.1_rc1.ebuild b/dev-python/sympy/sympy-1.12.1_rc1.ebuild deleted file mode 100644 index c5d2404c5223..000000000000 --- a/dev-python/sympy/sympy-1.12.1_rc1.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 virtualx - -DESCRIPTION="Computer Algebra System in pure Python" -HOMEPAGE=" - https://www.sympy.org/ - https://github.com/sympy/sympy/ - https://pypi.org/project/sympy/ -" -# pypi sdist misses some files, notably top-level conftest.py, as of 1.12.1_rc1 -SRC_URI=" - https://github.com/sympy/sympy/archive/${PV/_/}.tar.gz - -> ${P/_/}.gh.tar.gz -" -S=${WORKDIR}/${P/_/} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet symengine texmacs" - -RDEPEND=" - dev-python/mpmath[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - aesara? ( - $(python_gen_cond_dep ' - dev-python/aesara[${PYTHON_USEDEP}] - ' python3_{10..11}) - ) - imaging? ( dev-python/pillow[${PYTHON_USEDEP}] ) - ipython? ( dev-python/ipython[${PYTHON_USEDEP}] ) - latex? ( - virtual/latex-base - dev-texlive/texlive-fontsextra - png? ( app-text/dvipng ) - pdf? ( app-text/ghostscript-gpl ) - ) - mathml? ( dev-python/lxml[${PYTHON_USEDEP}] ) - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) - pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] ) - symengine? ( dev-python/symengine[${PYTHON_USEDEP}] ) - texmacs? ( app-office/texmacs ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # require old version of antlr4 - sympy/parsing/tests/test_autolev.py - sympy/parsing/tests/test_latex.py - # crash due to assertions in sys-devel/llvm[debug] - sympy/parsing/tests/test_c_parser.py - - # TODO: pytest? - sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_check - sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_dsolve_dotprodsimp - - # either very slow or hanging - sympy/solvers/ode/tests/test_systems.py::test_linear_new_order1_type2_de_lorentz_slow_check - sympy/integrals/tests/test_failing_integrals.py::test_issue_15227 - sympy/matrices/tests/test_matrices.py::test_pinv_rank_deficient_when_diagonalization_fails - sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type1 - sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type3 - - # known broken - # https://github.com/sympy/sympy/issues/26321 - sympy/solvers/tests/test_simplex.py::test_lp - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest --veryquickcheck || - die -n "Tests failed with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( AUTHORS README.md ) - - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all - - if use texmacs; then - exeinto /usr/libexec/TeXmacs/bin/ - doexe data/TeXmacs/bin/tm_sympy - insinto /usr/share/TeXmacs/plugins/sympy/ - doins -r data/TeXmacs/progs - fi -} diff --git a/dev-python/thrift/thrift-0.20.0.ebuild b/dev-python/thrift/thrift-0.20.0.ebuild index 44f43f8d5d51..c01bfdb4dcf2 100644 --- a/dev-python/thrift/thrift-0.20.0.ebuild +++ b/dev-python/thrift/thrift-0.20.0.ebuild @@ -15,5 +15,5 @@ S="${WORKDIR}/${P}/lib/py" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~riscv x86 ~amd64-linux ~x86-linux" RESTRICT="test" diff --git a/dev-python/tree-sitter/tree-sitter-0.21.3.ebuild b/dev-python/tree-sitter/tree-sitter-0.21.3.ebuild index 2cc23462c856..267ddd683108 100644 --- a/dev-python/tree-sitter/tree-sitter-0.21.3.ebuild +++ b/dev-python/tree-sitter/tree-sitter-0.21.3.ebuild @@ -40,7 +40,7 @@ S=${WORKDIR}/py-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" # setuptools is needed for distutils import DEPEND=">=dev-libs/tree-sitter-0.22.1:=" diff --git a/dev-python/ujson/Manifest b/dev-python/ujson/Manifest index 147076b600cc..6427eadc2de9 100644 --- a/dev-python/ujson/Manifest +++ b/dev-python/ujson/Manifest @@ -1,2 +1 @@ DIST ujson-5.10.0.tar.gz 7154885 BLAKE2B 5cb09e7b8576b837f19e604eda2f498d5cf479c9b0018d948e011a53c5b91fcaf869d8b8f0babf6c1d725e1ba000f107f767a7c2f74c52121bce95a2082938a7 SHA512 29aeb2f57c607c382deb2825f6262b73d11f1edff0545338819d081f223dabb66b2967744cc11b9f4c0b7f042d51688f04bf07fb9b2cdb6adfec439a3d8aea32 -DIST ujson-5.9.0.tar.gz 7154214 BLAKE2B a13eda1c967b8ad39265caf28f97ef302a0b320653cde3ac927dc8119861aa468cfe267980c18b71172f5b766b2e6bc61bb86f18695528934902867ae3a42d37 SHA512 9940bc0c892341a6d2b85cfe592888866f02f054f1367812c39395eaee946f7c66a0197b2791bbb765ae38a06dcd871145effefbc06c71a87f7d24be105cda1f diff --git a/dev-python/ujson/ujson-5.10.0.ebuild b/dev-python/ujson/ujson-5.10.0.ebuild index 47e8d98bcede..53e97ab8280a 100644 --- a/dev-python/ujson/ujson-5.10.0.ebuild +++ b/dev-python/ujson/ujson-5.10.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" DEPEND=" dev-libs/double-conversion:= diff --git a/dev-python/ujson/ujson-5.9.0.ebuild b/dev-python/ujson/ujson-5.9.0.ebuild deleted file mode 100644 index 53e97ab8280a..000000000000 --- a/dev-python/ujson/ujson-5.9.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Ultra fast JSON encoder and decoder for Python" -HOMEPAGE=" - https://github.com/ultrajson/ultrajson/ - https://pypi.org/project/ujson/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" - -DEPEND=" - dev-libs/double-conversion:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_configure() { - export UJSON_BUILD_DC_INCLUDES="${EPREFIX}/usr/include/double-conversion" - export UJSON_BUILD_DC_LIBS="-ldouble-conversion" - export UJSON_BUILD_NO_STRIP=1 -} diff --git a/dev-python/uvloop/uvloop-0.19.0-r1.ebuild b/dev-python/uvloop/uvloop-0.19.0-r1.ebuild index 972a30750eaa..01fefa741025 100644 --- a/dev-python/uvloop/uvloop-0.19.0-r1.ebuild +++ b/dev-python/uvloop/uvloop-0.19.0-r1.ebuild @@ -5,6 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools +# py3.13: https://github.com/MagicStack/uvloop/issues/603 PYTHON_COMPAT=( python3_{8,9,10,11,12} ) inherit distutils-r1 pypi diff --git a/dev-python/webob/webob-1.8.7-r2.ebuild b/dev-python/webob/webob-1.8.7-r2.ebuild new file mode 100644 index 000000000000..f5e124bcff56 --- /dev/null +++ b/dev-python/webob/webob-1.8.7-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN="WebOb" +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="WSGI request and response object" +HOMEPAGE=" + https://webob.org/ + https://github.com/Pylons/webob/ + https://pypi.org/project/WebOb/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/legacy-cgi[${PYTHON_USEDEP}] + ' 3.13) +" + +distutils_enable_sphinx docs 'dev-python/alabaster' +distutils_enable_tests pytest + +src_prepare() { + # py3.9 + sed -i -e 's:isAlive:is_alive:' tests/conftest.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/webtest/webtest-3.0.0-r2.ebuild b/dev-python/webtest/webtest-3.0.0-r2.ebuild new file mode 100644 index 000000000000..d3f5381514bc --- /dev/null +++ b/dev-python/webtest/webtest-3.0.0-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN="WebTest" +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Helper to test WSGI applications" +HOMEPAGE=" + https://docs.pylonsproject.org/projects/webtest/en/latest/ + https://github.com/Pylons/webtest/ + https://pypi.org/project/WebTest/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/paste[${PYTHON_USEDEP}] + dev-python/pastedeploy[${PYTHON_USEDEP}] + >=dev-python/webob-1.2[${PYTHON_USEDEP}] + >=dev-python/waitress-0.8.5[${PYTHON_USEDEP}] + dev-python/beautifulsoup4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pyquery[${PYTHON_USEDEP}] + dev-python/wsgiproxy2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/legacy-cgi[${PYTHON_USEDEP}] + ' 3.13) + ) +" + +PATCHES=( + "${FILESDIR}/webtest-2.0.33-no-pylons-theme.patch" + "${FILESDIR}/webtest-3.0.0-python3.12-unittest.patch" +) + +distutils_enable_sphinx docs +distutils_enable_tests pytest diff --git a/dev-python/wsgiproxy2/wsgiproxy2-0.5.1-r2.ebuild b/dev-python/wsgiproxy2/wsgiproxy2-0.5.1-r2.ebuild new file mode 100644 index 000000000000..9dea4e1045e7 --- /dev/null +++ b/dev-python/wsgiproxy2/wsgiproxy2-0.5.1-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN="WSGIProxy2" +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="HTTP proxying tools for WSGI apps" +HOMEPAGE=" + https://github.com/gawel/WSGIProxy2/ + https://pypi.org/project/WSGIProxy2/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/webob[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/webtest-2.0.17[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs +distutils_enable_tests unittest diff --git a/dev-python/zc-lockfile/zc-lockfile-3.0_p1.ebuild b/dev-python/zc-lockfile/zc-lockfile-3.0_p1.ebuild index aed24902fe12..54e93b53a644 100644 --- a/dev-python/zc-lockfile/zc-lockfile-3.0_p1.ebuild +++ b/dev-python/zc-lockfile/zc-lockfile-3.0_p1.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 |
