diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-10-26 09:35:31 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-10-26 09:35:31 +0000 |
| commit | aa019d5894f6d27297a4daba87e6260ad5d31896 (patch) | |
| tree | 48295dc9b3aefeb042d47853112e6251d323a710 /dev-python | |
| parent | c45e76784166f9e8f7007753a29f93dd53c322e0 (diff) | |
| download | baldeagleos-repo-aa019d5894f6d27297a4daba87e6260ad5d31896.tar.gz baldeagleos-repo-aa019d5894f6d27297a4daba87e6260ad5d31896.tar.xz baldeagleos-repo-aa019d5894f6d27297a4daba87e6260ad5d31896.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
34 files changed, 638 insertions, 151 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 5de097bd8d31..6c5cdb6dac6d 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -5,3 +5,4 @@ DIST boto3-1.35.45.gh.tar.gz 875934 BLAKE2B 0b532577dd9c27c50d6ddeb9916205f53926 DIST boto3-1.35.46.gh.tar.gz 876859 BLAKE2B c37a8af936c8b02e08fe08fc300bb46df748654819db3ff82cb93db1350b1c37983ab4de5c191dda43632bc1460fa4e5e711ff2517873620f8b600e0abd9a931 SHA512 911f2bcbbe5c130d540e8b9cf718b17d53a128db8d12f28c965832f574b7261e057d9b669561ed928c6bd500ad7059760e4d54a56af8c5bc0e7954e897f454bb DIST boto3-1.35.47.gh.tar.gz 877327 BLAKE2B 938f375ff94907713c91c849d2f16934088978dffbe93c0985d5a427ebe7aeea3e598dd373cf64c1a1d53cb7b3fd073c480b45aaf79e59697dee2a2c83102f5c SHA512 7df4fc0bb66df8ba1d1859ff727771a25e8eadcb6540f8b9ffc2b9f4d2358dca3b382e0868812d1bc6383abd19e4a73ea3328eb22f1d22583e23451f9b2a7279 DIST boto3-1.35.48.gh.tar.gz 877808 BLAKE2B 19ac43a8b14ee2795396e3840f49450bbd62c8c603373e187623b8a0f3a588f89e754881506cd33da8cf7459879561f7eae1f92b74951d972d4b294a39889630 SHA512 08f3a8527b2d39c8409740bc742286914650eb2d0b47190369771c71846b039ac2a164a5d744afa621935d4453bcaf1224fffc1f46529f9a1dfbd64a158bf458 +DIST boto3-1.35.49.gh.tar.gz 878577 BLAKE2B 8f9ddf29eaad2f91a9ba670b268ac987f7f813dea52427a559b245111042f84b8593158bf1f3dbec353b9fb92116be39e739326dbdd70366589ee507a994da4d SHA512 3a1aa9bb8c8aa384abdc2a139273364c49f608921ff9c4ce9e96b4b93d11bb145a45ac65df6245912ba3be6d4e8f0df86e407d74610837b149f81712529b3152 diff --git a/dev-python/boto3/boto3-1.35.49.ebuild b/dev-python/boto3/boto3-1.35.49.ebuild new file mode 100644 index 000000000000..d91ce27598cf --- /dev/null +++ b/dev-python/boto3/boto3-1.35.49.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +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/botocore/Manifest b/dev-python/botocore/Manifest index ed613ffc6874..4c2641ae6ec8 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -5,3 +5,4 @@ DIST botocore-1.35.45.gh.tar.gz 13481420 BLAKE2B 5b3559753dbe31febf6f0d037931300 DIST botocore-1.35.46.gh.tar.gz 13487988 BLAKE2B d6349bf053c4742310fd63b49d07bd212705f057c196ea68de78a36717101c4c2eea0842033b5080535d2f777ebfb0742f11d5fd1ad4a91a1a59fa6f6f8fa3b6 SHA512 a073a318d50b479d5ae6158c7feaf24f9c2be256718b928f482c4f5b4daa06144fa667a5c2cbde642d2eef0fb997e64d0d734c7142115858f5395abdfc24cf74 DIST botocore-1.35.47.gh.tar.gz 13489577 BLAKE2B 88e53f47f412842e7c02196a4f5328c7c085540e7f7d1bb472840f3995cfab8bdd36cca6d81e942cd5cb60671d9b83971fcbb01baf6d33588f4d6e492959c2d2 SHA512 16a779e93e7bc70ed63e26fedd2febb7f93cd133489647903f2f56d6dbade35a5e1d9541fdb0f8abbda28c04eec6df8f7a0d86cec61ed235897f8f859debb102 DIST botocore-1.35.48.gh.tar.gz 13470592 BLAKE2B 63e757b843771485dbf8aec918c2cc0affd44b5cf3c913055bb6f57346ba602b105f6f22432fef130f39237a1268f9223c88583588436f52f82417eba7ead2fe SHA512 90c6e6ab696a423533cb4929f011a4707bf891b4f180c25e4cf534e866485902ba422bbb73199f63b7e50af0bf695cee6fad03dc00bcdeaaf28330d481e514b3 +DIST botocore-1.35.49.gh.tar.gz 13473579 BLAKE2B 0b1a0e8ec76ad0d4ec677532626c4f34383828415ae6a6dc318a8e7864f2756c5618e0086a02f29726844e585895492b0e80d5e944e67fa5c233122a35a75eab SHA512 abcbcd3e8c5c4704755f83290aa8c65ee703c5f75cecab45d58451e2960f341e73042b61c28fd42a671562b25795255392d13db60c6c9d2f944f04ede6d3e78d diff --git a/dev-python/botocore/botocore-1.35.49.ebuild b/dev-python/botocore/botocore-1.35.49.ebuild new file mode 100644 index 000000000000..7816e9efeb52 --- /dev/null +++ b/dev-python/botocore/botocore-1.35.49.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +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/django-allauth/Manifest b/dev-python/django-allauth/Manifest index 7ccfdf931353..e5fb70ccb257 100644 --- a/dev-python/django-allauth/Manifest +++ b/dev-python/django-allauth/Manifest @@ -1,2 +1,2 @@ -DIST django-allauth-64.2.1.gh.tar.gz 1194438 BLAKE2B 27fd1bf493aadf69574c02dc3971cfbb533c77deffb58ead245a9664afd61d620177c55e87696bb2fe29b89ac4f1cc938e14595a8e2b0681a4c6e9c856d65906 SHA512 9a467a851f138afd739d54bef31bc05765fdbe8d199c05ff4955ba0f10c9b38997782f523990e2f3bae01a3c046ddb9aaf59f59d77c801a022b23d39b26b9258 DIST django-allauth-65.0.2.gh.tar.gz 1213808 BLAKE2B 95ceafbbe177261e8e29e983f03104b80aab0db193c4d0ae28d84567c06cd583eb6c825ac439b9826c18cd85b70bd6cf034be999b9f39e33d074ed0b9513ff3b SHA512 b19b1928dfdad245b0a878c4b49a637f165616aef25b14b2a0e5fc6d8b0aba64fc794f636d544fe166351f098b4b886e0a3d87b0e1de520a9320f2cc68a91c05 +DIST django-allauth-65.1.0.gh.tar.gz 1218818 BLAKE2B 0d617ce2068b7ae74fc965995b25f6c6008343aaccc7323a7c0f8fd13d875fd389717790bb779f41fb466475febbace287647323ff2961ee48002b9e19aba9c8 SHA512 14431e598d2317ae5f4cad11061135e682d570135c26ca244c662c0bc238680566b460ddbe00658199efe1ef60e3a7aed498f1409d1ce1c9010f4ceea65ba631 diff --git a/dev-python/django-allauth/django-allauth-64.2.1.ebuild b/dev-python/django-allauth/django-allauth-65.1.0.ebuild index c76884f73e2e..c76884f73e2e 100644 --- a/dev-python/django-allauth/django-allauth-64.2.1.ebuild +++ b/dev-python/django-allauth/django-allauth-65.1.0.ebuild diff --git a/dev-python/et-xmlfile/Manifest b/dev-python/et-xmlfile/Manifest index f57537cad621..88519bafd39b 100644 --- a/dev-python/et-xmlfile/Manifest +++ b/dev-python/et-xmlfile/Manifest @@ -1 +1,2 @@ DIST et_xmlfile-1.1.tar.gz 12566 BLAKE2B f8f1c95a523433698032c79442b8bdf725717b647d3f65017926be3c12b78890528d5cde99c13e219d99f20e45ee5db872a772f88e451974435d565bebb56923 SHA512 0978cfa08c56b6dd8b3bed020a9f48c286c5bbcef5ac46f0cbf37bea0c1fcc79c6688f9853da68cbd9df4c6268e780fd99a172907cf900bcb3faf2f6252157f8 +DIST et_xmlfile-2.0.0.git.tar.gz 99140 BLAKE2B 810cb9119558bd139e19e5ad9df90db0b1445f47dc410040d319d5a761a357eb07776e9a4d2515d7ddd10c2b845ea834769d7bddc7cebff54e1085261203a936 SHA512 b23c0d110b85aba2881e4bb2702efc7a7d411aa1528e1096fd11c09b54e1afed01bf8ae5231874eeb64011ae0ebd6342dd89add45237bfc98ff19f2a895eb013 diff --git a/dev-python/et-xmlfile/et-xmlfile-2.0.0.ebuild b/dev-python/et-xmlfile/et-xmlfile-2.0.0.ebuild new file mode 100644 index 000000000000..ee0fff6a815f --- /dev/null +++ b/dev-python/et-xmlfile/et-xmlfile-2.0.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +MY_PV=${PV} +MY_P=et_xmlfile-${MY_PV} + +DESCRIPTION="An implementation of lxml.xmlfile for the standard library" +HOMEPAGE=" + https://pypi.org/project/et-xmlfile/ + https://foss.heptapod.net/openpyxl/et_xmlfile/ +" +SRC_URI=" + https://foss.heptapod.net/openpyxl/et_xmlfile/-/archive/${MY_PV}/${MY_P}.tar.gz + -> ${MY_P}.git.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc diff --git a/dev-python/ftfy/Manifest b/dev-python/ftfy/Manifest index cf5ab4284fed..994e5fac1052 100644 --- a/dev-python/ftfy/Manifest +++ b/dev-python/ftfy/Manifest @@ -1,3 +1,2 @@ -DIST ftfy-6.2.0.tar.gz 63675 BLAKE2B 4d2455c004737b2914edcdf22dc53e433f1f9d9a1b469f8b34069ce7a4b04c30a5b2a0d76db35d8e1f9ba0469cdff604271e7331f9fca0d8b579cc61c422cde1 SHA512 31724b3f65936a146f567a493988b3a3ce5ba87ac7578b97a64f0946cc20d09fcab040964cec9bcf3fbac1f79cad0b67c5e74aaa871a7d6c856f5939e7a30529 -DIST ftfy-6.2.3.tar.gz 64165 BLAKE2B 83fdd2ba0b8b321b2cbac62c4e41a68356cc8a73970c0683aca8915624b622d1ef462c4724afd1dbcae494387aad3b97ba836cc47d433fb10b57a5c1019ee602 SHA512 6711dbe9750db6bc25c57d5d600d1db52eff6f22caa7ff89c06615bbd7dd612cca56f9e9a35c633648747c421f2e710a6e24ee1f9a6d6df0ac6f6049a5189e8e DIST ftfy-6.3.0.tar.gz 362118 BLAKE2B 30dd2a94a155203827bd43f05371f5a8ac3fb880a621f1d6323cfd0570310f326ef3d97dac3f82bc683dfd9a7b2eb3c7d056b3dbd9ef94a950046cb2a2c567b1 SHA512 1fd1c209961a69a4424f3b0f51f599d7b1a86035470cb3a0ceef998f0b7a7dc80d709b2d2efa122beac16819a46799255dbb6bce58949c28c3d919c20431c865 +DIST ftfy-6.3.1.tar.gz 308927 BLAKE2B 8ec573e3a2b2f92489c811fe42e066a981cda970531994c984fe91acd55a302437665771a50a573715b1aa594840c1fa4043800d2ded6de9b19f27dd6737a018 SHA512 a6ef2fb906ad9bc91638a7427defdffafb8116991e20aa421b34b7151862edec7ae15cc1427a8d753b849ba929bfa8e64a97243fb69d1f4a1f2f7617ad71ed23 diff --git a/dev-python/ftfy/files/ftfy-6.2.0-poetry.patch b/dev-python/ftfy/files/ftfy-6.2.0-poetry.patch deleted file mode 100644 index 1766a9aa98b9..000000000000 --- a/dev-python/ftfy/files/ftfy-6.2.0-poetry.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 4ef6eeef8764086816034992705d4a4ebba4e88c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Wed, 3 Apr 2024 10:33:02 +0200 -Subject: [PATCH] fix pyproject.toml not to install stray files into - site-packages - -Fix the `include` directives in `pyproject.toml` to include the relevant -files in `sdist` archives only and not in wheels, where they end up -being installed straight into site-packages, e.g. as: - - /usr/lib/python3.12/site-packages/CHANGELOG.md - /usr/lib/python3.12/site-packages/README.md ---- - pyproject.toml | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/pyproject.toml b/pyproject.toml -index fc3e6b9..3bc68e2 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -4,7 +4,11 @@ version = "6.2.0" - description = "Fixes mojibake and other problems with Unicode, after the fact" - authors = ["Robyn Speer <rspeer@arborelia.net>"] - license = "Apache-2.0" --include = ["README.md", "CHANGELOG.md", "tests"] -+include = [ -+ {path = "README.md", format = "sdist"}, -+ {path = "CHANGELOG.md", format = "sdist"}, -+ {path = "tests", format = "sdist"}, -+] - readme = "README.md" - - [tool.poetry.dependencies] --- -2.44.0 - diff --git a/dev-python/ftfy/ftfy-6.2.0.ebuild b/dev-python/ftfy/ftfy-6.2.0.ebuild deleted file mode 100644 index 7109b9e778c5..000000000000 --- a/dev-python/ftfy/ftfy-6.2.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fixes mojibake and other problems with Unicode, after the fact" -HOMEPAGE=" - https://ftfy.readthedocs.io/en/latest/ - https://github.com/rspeer/python-ftfy/ - https://pypi.org/project/ftfy/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - <dev-python/wcwidth-0.3[${PYTHON_USEDEP}] - >=dev-python/wcwidth-0.2.12[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - local PATCHES=( - # https://github.com/rspeer/python-ftfy/pull/204 - "${FILESDIR}/${P}-poetry.patch" - ) - - # https://github.com/rspeer/python-ftfy/pull/205 - sed -i -e "s:'poetry', 'run',::" tests/test_cli.py || die - - distutils-r1_src_prepare -} diff --git a/dev-python/ftfy/ftfy-6.2.3.ebuild b/dev-python/ftfy/ftfy-6.3.1.ebuild index dc47cff01759..6e5553a883ca 100644 --- a/dev-python/ftfy/ftfy-6.2.3.ebuild +++ b/dev-python/ftfy/ftfy-6.3.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -DISTUTILS_USE_PEP517=poetry +DISTUTILS_USE_PEP517=hatchling PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) inherit distutils-r1 pypi @@ -20,8 +20,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND=" - <dev-python/wcwidth-0.3[${PYTHON_USEDEP}] - >=dev-python/wcwidth-0.2.12[${PYTHON_USEDEP}] + dev-python/wcwidth[${PYTHON_USEDEP}] " distutils_enable_tests pytest diff --git a/dev-python/meson-python/Manifest b/dev-python/meson-python/Manifest index 3deeab6d5951..627bff2caf89 100644 --- a/dev-python/meson-python/Manifest +++ b/dev-python/meson-python/Manifest @@ -1,2 +1,3 @@ DIST meson-python-0.16.0.gh.tar.gz 74975 BLAKE2B af74d62a4567bc0a7524e815f1bb4ef3ae7290ccea38c00c3b0013f5e7777d6a41c1631b0c1d83fdd930836599752e3bba3c381c137d275103409a986df4e040 SHA512 99ea4304f15e2e13adf031e7c8cacbbc48c0c80f42a81f9d84242b6279ac9c1a13e3f162be5f472a1e498dc7cf3cba6799bf765b3fd441ac10cd87dc0db38678 DIST meson-python-0.17.0.gh.tar.gz 79243 BLAKE2B f7eb63b1b6575b03d0a8e218b478a557260bd259206517155ba51f32aa3b168d6e999087ece5695c47addb8313227a24243b88d170ce4a1d0fbdef2cdcc492b2 SHA512 ae1466e6f7c6e1d57353be55d9f6dbba6cb532bf6581f8cf03bc2c13f2bd564f4c5ffee561cf1c46293e208da254dc56ec7311b148d2bf507ce5df875b4909de +DIST meson-python-0.17.1.gh.tar.gz 79456 BLAKE2B 88bda9aadc74d186aab41c9b3a2fe5ba7d51b5997c1c043cf4ea9448395d0c5c5763ccf35358ab867d32a4537a4041a3cf480d82c9ec5cd8d1b5d6bc67d35fc8 SHA512 bd5f4c807468b81b3630eeb6973c2a574473c22298eb2c43d30b67b7503ce77fd79d4509a8f1b0186197622d281279a9c3aa5d9d1c2286d46b7aea1ff2461ae5 diff --git a/dev-python/meson-python/meson-python-0.17.1.ebuild b/dev-python/meson-python/meson-python-0.17.1.ebuild new file mode 100644 index 000000000000..491d1f1ba944 --- /dev/null +++ b/dev-python/meson-python/meson-python-0.17.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Meson PEP 517 Python build backend" +HOMEPAGE=" + https://pypi.org/project/meson-python/ + https://github.com/mesonbuild/meson-python/ +" +SRC_URI=" + https://github.com/mesonbuild/meson-python/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/pyproject-metadata-0.7.1[${PYTHON_USEDEP}] + >=dev-build/meson-0.63.0 + !kernel_Darwin? ( dev-util/patchelf ) + $(python_gen_cond_dep ' + >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + >=dev-python/cython-0.29.34[${PYTHON_USEDEP}] + test? ( + >=dev-python/packaging-23.1[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +src_test() { + # required by tests/test_sdist.py::test_reproducible + git config --global user.email "test@example.com" || die + git config --global user.name "The Test Suite" || die + git init -q || die + git add -A || die + git commit -m init -q || die + + distutils-r1_src_test +} + +python_test() { + unset NINJA + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} diff --git a/dev-python/mido/Manifest b/dev-python/mido/Manifest index 5aa1724421c4..f5fc4f19ca0c 100644 --- a/dev-python/mido/Manifest +++ b/dev-python/mido/Manifest @@ -1 +1,2 @@ DIST mido-1.3.2.tar.gz 124216 BLAKE2B f6eb230ad8ec02a9a2f0e5e1b332a70334433a1decddb341b1c315b878bdc2e7aefed3527c408a3da9264e7344439a69bf28bd2b4d810c29e4f4278aee8303b9 SHA512 5f31057a972f8ecdadcd135f2ffd68f70388bb8777f6bc7fa14c84aa8c57988a4f7443283dd093930352989d8a097177c6543a38440184c705cfaf82e3aaff83 +DIST mido-1.3.3.tar.gz 124288 BLAKE2B 2119ffa5894067107ccf94a4ddcccde0365aedd942df0330e06c1a1a3645cfa8b9a1bf767a0e60616f50966cf7dfb5a1d6cc394c05269bb01ba0724573dd4164 SHA512 9a9b983b7d2cc6ea530f98df09bc84690dfc980467726217023991a680a7c3f294bb0ffac730e79dcc5a3e4afccacfb4423791df290a035260513a5f7cc26152 diff --git a/dev-python/mido/mido-1.3.3.ebuild b/dev-python/mido/mido-1.3.3.ebuild new file mode 100644 index 000000000000..666780a25ca5 --- /dev/null +++ b/dev-python/mido/mido-1.3.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 pypi + +DESCRIPTION="MIDI Objects, a library for working with MIDI messages and ports" +HOMEPAGE=" + https://pypi.org/project/mido/ + https://github.com/mido/mido +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+portmidi rtmidi" + +RDEPEND=" + >=dev-python/packaging-23.1[${PYTHON_USEDEP}] + portmidi? ( media-libs/portmidi ) + rtmidi? ( dev-python/python-rtmidi[${PYTHON_USEDEP}] ) +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # performance test + tests/midifiles/test_tracks.py::test_merge_large_midifile + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/pymongo/pymongo-4.10.1.ebuild b/dev-python/pymongo/pymongo-4.10.1.ebuild index 1f825f74411e..1c9d5b567bfc 100644 --- a/dev-python/pymongo/pymongo-4.10.1.ebuild +++ b/dev-python/pymongo/pymongo-4.10.1.ebuild @@ -145,7 +145,7 @@ python_test() { if ! use test-full; then # .invalid is guaranteed to return NXDOMAIN per RFC 6761 local -x DB_IP=mongodb.invalid - epytest + epytest -p asyncio return fi diff --git a/dev-python/python-openstackclient/python-openstackclient-7.1.2.ebuild b/dev-python/python-openstackclient/python-openstackclient-7.1.2.ebuild index ca3cf1b09f86..4f2792dbb7ff 100644 --- a/dev-python/python-openstackclient/python-openstackclient-7.1.2.ebuild +++ b/dev-python/python-openstackclient/python-openstackclient-7.1.2.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~riscv x86" RDEPEND=" >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] diff --git a/dev-python/quart/Manifest b/dev-python/quart/Manifest index 21f1c927843d..66330a20f754 100644 --- a/dev-python/quart/Manifest +++ b/dev-python/quart/Manifest @@ -1 +1,2 @@ DIST quart-0.19.6.gh.tar.gz 747457 BLAKE2B 2912e8e951ad94e8f86e553ee8fac2d3ea679f71be54ff6638aa36d3d3027b48de47994a2f264b3cee69b483ffe4e153c7ea0080b8f6904a2ebaddce2fbede96 SHA512 2a28a36638052c26265122771936dbe8a12332c8abe177a9addafc71b4a0987c864c26f73160492d6e849a5b0a576346ac24c961c5e461afd11981c45aecbcd7 +DIST quart-0.19.8.gh.tar.gz 747979 BLAKE2B 434c5493f01a1ea0cdd223145f52327229af0fd4ddf5739628847c4f78f1b8d76dcb827370446a50227b1afa96d829a47304efed3d017b405632c15c01034292 SHA512 658384387f064f3d0d9af3f79588ab88d28ed7a0922417cf809d2c0ce2e5d4de3c11649368ed57ba3739f88ac2fb8753be31a2e740d052773129a421a38e2115 diff --git a/dev-python/quart/quart-0.19.8.ebuild b/dev-python/quart/quart-0.19.8.ebuild new file mode 100644 index 000000000000..3847f4122246 --- /dev/null +++ b/dev-python/quart/quart-0.19.8.ebuild @@ -0,0 +1,50 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A Python ASGI web microframework with the same API as Flask" +HOMEPAGE=" + https://github.com/pallets/quart/ + https://pypi.org/project/Quart/ +" +# no tests in sdist as of 0.19.4 +SRC_URI=" + https://github.com/pallets/quart/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/aiofiles[${PYTHON_USEDEP}] + >=dev-python/blinker-1.6[${PYTHON_USEDEP}] + >=dev-python/click-8.0.0[${PYTHON_USEDEP}] + >=dev-python/flask-3.0.0[${PYTHON_USEDEP}] + >=dev-python/hypercorn-0.11.2[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/markupsafe[${PYTHON_USEDEP}] + >=dev-python/werkzeug-3.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p asyncio +} diff --git a/dev-python/regress/regress-2024.8.1.ebuild b/dev-python/regress/regress-2024.8.1.ebuild index 5120b4c03792..889b069c3c3b 100644 --- a/dev-python/regress/regress-2024.8.1.ebuild +++ b/dev-python/regress/regress-2024.8.1.ebuild @@ -55,7 +55,7 @@ LICENSE="MIT" # Dependent crate licenses LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" +KEYWORDS="amd64 ~arm64 ~riscv" distutils_enable_tests pytest diff --git a/dev-python/sigstore/Manifest b/dev-python/sigstore/Manifest index 5d5d71ee3760..bee36aeeda7f 100644 --- a/dev-python/sigstore/Manifest +++ b/dev-python/sigstore/Manifest @@ -1,3 +1,2 @@ -DIST sigstore-python-3.3.0.gh.tar.gz 194796 BLAKE2B 34773c7d4d1a2e5c57534ebfc2ea7e8d8769a1243d082bf0298c6e85e14fab289551f951646aaa482deea5101cbb447d8629a05c31937e7d618f45077507ed12 SHA512 7a5659d4c49ba2bea9974e6588d673d1a16b9618ff3d45c8da68d9f77c098a872b5f68cdf2ea402de50deb8141ea98091bd199243fbde217f9076f3b155c5226 DIST sigstore-python-3.4.0.gh.tar.gz 200807 BLAKE2B ffb74589d6d740a5b16f4c7884966be8f34954bac9e746d5d210b2e9b23d06eb94b59f9e5f52358d7a934c23791c1a9616a449c320b87a17e3255c4351b0b556 SHA512 3624dd1611d1671988bec4518ffe6c135a3df3f7ce4171d8e93c7d848b2755688c1f349b77fb89643f7b2a9da530b1b1f52272abd2ddb3685d53fd6d5367a97c -DIST sigstore-python-3.5.0.gh.tar.gz 201262 BLAKE2B dfbdbacda8aa57783a36a6ea1e4b443913df553a1aefeb1e458f98e347518876567a2cc9dedea543750d7431475108fe453824b63469c5e33c2596c3d6979ba1 SHA512 f8c6c382d5f37b79cc6a1a354b549a1cfdb452d702fa4570ea25b4509df3374cc828e55973125496a6681c1f054681c9852a96ebd0fdae56fec227c9cd73a343 +DIST sigstore-python-3.5.1.gh.tar.gz 201350 BLAKE2B e7027c4dfdee056d84bec5646234887ece4aabc068cea2a1fe69c78ed01e6229f9ced686c19e08b1a2bbed82d00820de8431c2eabdd965b4f23b8c6bf036cd06 SHA512 1b2c9937ca7b0a417db4d7e20e97309dc7cfb44f0f435fe0b6d9e6bb37d2a9451644d965446bcffa9160b32fb34d53bc273a87874340865e8d4e8beaafec69c3 diff --git a/dev-python/sigstore/sigstore-3.5.0.ebuild b/dev-python/sigstore/sigstore-3.5.0.ebuild deleted file mode 100644 index edb74b786f7f..000000000000 --- a/dev-python/sigstore/sigstore-3.5.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -MY_P=sigstore-python-${PV} -DESCRIPTION="A tool for signing Python package distributions" -HOMEPAGE=" - https://github.com/sigstore/sigstore-python/ - https://pypi.org/project/sigstore/ -" -# no tests in sdist, as of 3.3.0 -SRC_URI=" - https://github.com/sigstore/sigstore-python/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/cryptography-42[${PYTHON_USEDEP}] - >=dev-python/id-1.1.0[${PYTHON_USEDEP}] - >=dev-python/platformdirs-4.2[${PYTHON_USEDEP}] - >=dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}] - >=dev-python/pyasn1-0.6[${PYTHON_USEDEP}] - >=dev-python/pydantic-2[${PYTHON_USEDEP}] - >=dev-python/pyjwt-2.1[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - >=dev-python/rfc8785-0.1.2[${PYTHON_USEDEP}] - >=dev-python/rich-13.0[${PYTHON_USEDEP}] - ~dev-python/sigstore-protobuf-specs-0.3.2[${PYTHON_USEDEP}] - ~dev-python/sigstore-rekor-types-0.0.13[${PYTHON_USEDEP}] - >=dev-python/tuf-5.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/importlib-resources-5.7[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - test? ( - dev-python/pretend[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # unpin deps - sed -i -e 's:~=:>=:' pyproject.toml || die -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest test/unit --skip-online -} diff --git a/dev-python/sigstore/sigstore-3.3.0-r1.ebuild b/dev-python/sigstore/sigstore-3.5.1.ebuild index edb74b786f7f..edb74b786f7f 100644 --- a/dev-python/sigstore/sigstore-3.3.0-r1.ebuild +++ b/dev-python/sigstore/sigstore-3.5.1.ebuild diff --git a/dev-python/sphinx-autoapi/Manifest b/dev-python/sphinx-autoapi/Manifest index d811fc8b129b..16d60f311986 100644 --- a/dev-python/sphinx-autoapi/Manifest +++ b/dev-python/sphinx-autoapi/Manifest @@ -1 +1,2 @@ DIST sphinx-autoapi-3.3.2.gh.tar.gz 71874 BLAKE2B ec92e3a4d3a7b2597a7224201e7ea443dbc6408e43933a54a24fdcb4968fe4e5d295374ea310c600ecf0893a3692a5d4645eafec8bf2a12566de057193eef073 SHA512 6532655408bde105377de1d87cb2f392524935499f45b77afefcfe0fb1b04e8251dce71d338e030537469520774fb8155f91fbe747181ea721a4477fcdebfa3a +DIST sphinx-autoapi-3.3.3.gh.tar.gz 72123 BLAKE2B 85b7c8f1eae4d9366f8e8afd526bdb5e6c0e3f14de44c9e94f4922e021bd15f31117942dc1c542a903c1fa4b3f138e0eacbfaccc744bf28c211283acbfc4268c SHA512 c6de80ceb7b394627ca19dbd59e8f7361ff1d14b5ab401134d149131b69f6be05348189ae97dcc6daa6e99276a99072d62990a8594be653d449659b556d86655 diff --git a/dev-python/sphinx-autoapi/sphinx-autoapi-3.3.3.ebuild b/dev-python/sphinx-autoapi/sphinx-autoapi-3.3.3.ebuild new file mode 100644 index 000000000000..d9fdd1ae5dba --- /dev/null +++ b/dev-python/sphinx-autoapi/sphinx-autoapi-3.3.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="A new approach to API documentation in Sphinx" +HOMEPAGE=" + https://sphinx-autoapi.readthedocs.io/ + https://github.com/readthedocs/sphinx-autoapi/ + https://pypi.org/project/sphinx-autoapi/ +" +# sdist is missing docs, as of 2.1.0 +SRC_URI=" + https://github.com/readthedocs/sphinx-autoapi/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/astroid-3.0.0[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/sphinx-6.1.0[${PYTHON_USEDEP}] +" + +BDEPEND+=" + test? ( dev-python/beautifulsoup4[${PYTHON_USEDEP}] ) +" + +DOCS=( README.rst CHANGELOG.rst ) + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/python/test_pyintegration.py::TestPEP695::test_integration + tests/python/test_pyintegration.py::TestPipeUnionModule::test_integration + "tests/test_integration.py::TestExtensionErrors::test_extension_setup_errors[dotnetexample" + ) + + distutils-r1_python_test +} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index d18cd7426667..d4fa8ebbf68f 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -19,8 +19,8 @@ DIST quote-1.0.33.crate 28090 BLAKE2B 77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d7 DIST redox_syscall-0.4.1.crate 24858 BLAKE2B c3301137a0b84e03b09d28dfa377ab3bea74d574a08cee21d35713b278d8b5b30ca2a1d73a0981baeb4644cbb88c86c8eb15ab3bb2692e38b93e6b35fab4e0da SHA512 073ed9d96090cf46eab9877742277a013c62d8da86d9caf2310b4fa868af306511936553579e01309f27067d344226cc8dc5e3aef01d9b900da2febd33848f8d DIST scopeguard-1.2.0.crate 11619 BLAKE2B 8b7e9ed6cefef9ee55407fb9690d57a2a98bb93e5105aeebdb475a52485e9e185255249e1dce8f83cd80534e7402d485aac3efa7e8493b13135de27550cd4bc4 SHA512 6247719a15fe1e4e2d179127b9a934bd2f99367724f41175ed9522f58824b6bc69b35002eae66b35880375ff61d77ac43ddaa78cbde7160a35183a1da32d3fbb DIST smallvec-1.11.2.crate 34801 BLAKE2B 58645e99db8f02db64d02c75860c7ea41836c427c03ee3b0b23365e73a406e4fd6ac312bf13fc5faef8bb6111c10fcfd5f839d5b3686e9b34d1626f8469fc327 SHA512 5cfb427c3b99b0dbd71f6154ed899abcde9d7d2992977ac7b2ef3a4c3ff51e4efafd133071a69609b4ed6cb269bdc26b79eb72e1988f10dfcaef8185d950cd1d -DIST sqlglot-25.26.0.tar.gz 19542750 BLAKE2B 5e8eda29d26e7566bb39eb8636ee502d04103dbcd088a07ba4e425adf7ffcce78cc6a187b5dbd19c731c39443cffb5f8bd9dba6f2c9169b1bb10f1719fc3e8c1 SHA512 41fa2f3dd181354380036aba637bdf15ead40d1c3767caa4958a83c65483e90149e62fe04976318dcfcda7c68d554affef077d82e7ac754a9e94f593eae68614 DIST sqlglot-25.27.0.tar.gz 19567180 BLAKE2B f921e9063aac75ad4b0962ac26d850c128751118cf39dc8cd07e3be18a8c7061f337cba9f2df5adcd87b695fbe33cdb632dde5cccb956235e7e11497d2a2f480 SHA512 97b44ff96b7c277b4fc7e9c7e4a77a10dbbfde3a6822ea6d318274ae6b93e563abee4b4856df5679992134385b179e1e5a5251bdb38c5378d4e5061150fcd39b +DIST sqlglot-25.28.0.tar.gz 19576571 BLAKE2B ab399819a06f8fbd67977f2df65fae50952fa79e5a8d6e8eff46c346841e6e2ecf480d0815dcf3d1a21d52b35d6a8b535c3e1dc4c786ee20d31114554c533bfa SHA512 ce47bd073529101687390ddd2210212b5335139ad370cf71f8a73b3c1419f51778bf1955836e2a58cf53ebc5e9b36aaf9cbba171c5775bd92b2a6a74ab992f41 DIST syn-2.0.41.crate 246016 BLAKE2B 9d389f2e2a0acb4c84c309456e8ffcc88c5d4d541535ed136832d7a6054dde45a598bb68e8a6f3062ca2a96e1ceae947d54b3aec9bad65b0c51d6733aa6c80db SHA512 6bbaf69ca783025dfb81ac3612ac60bfbed31b2d87792909b35c12892dadebdaff2ddf9463105e536b671dce5870610ab90fe29471284bbd3014dca8d6993f1a DIST target-lexicon-0.12.12.crate 25156 BLAKE2B f3803596c75f6c89438592a1176c3748fc2c0524d7d50a20056de1cd26d40c572b05bafcdf6dd702752864bea37c8b4f28f96dadc12a5b3bb1d279b25e489f85 SHA512 6147295c43ba1b7b087a3c5ab51534b2985e4e77e5e15687978cfb9d07e21c4fd9bc7191576d6cabd268d08a44dc733c4a957e59dba8b948c2055d8bb433aeca DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 diff --git a/dev-python/sqlglot/sqlglot-25.26.0.ebuild b/dev-python/sqlglot/sqlglot-25.28.0.ebuild index 3bab78f5b721..3bab78f5b721 100644 --- a/dev-python/sqlglot/sqlglot-25.26.0.ebuild +++ b/dev-python/sqlglot/sqlglot-25.28.0.ebuild diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 73f4755ead8a..5468675818d6 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -11,3 +11,4 @@ DIST uv-0.4.25-crates.tar.xz 45691104 BLAKE2B ff0c2f51dbc00a7ed636e652c9641ec497 DIST uv-0.4.25.gh.tar.gz 2766139 BLAKE2B d3dbb50f34f6ce5df6885b6ce3fc04a943c472e2550f013c3fcc1d6b5d65b2418adf321d584f133f71ef0cdeb3b33acf03dc8fe211664e28e910937f6a50ffdf SHA512 c278d60ee09031e11c53e5862025a4e546c67a00ffa01da744658ca02a53507cd8f9fe9f0bce2cb7c29466ececd7f45e73f3db2c9b58d3451dd02a918e9213c2 DIST uv-0.4.26-crates.tar.xz 45699316 BLAKE2B 87409df6d4ff9462225000d8c3e4cb4f29c460f94043b28accc227e8dc5cc78aaf362a43e4f7df09b20e1354afdd414d5d260ed2742162e9c307d1e7641ead16 SHA512 321c61ef404cb10753fef2bc7aa2be89fdd1b3e2d77065400874044af1987f7d8eea85af259bc3d678bb56f97c185ac1c6d0f6f769b25fc732a1153c3c9b0d39 DIST uv-0.4.26.gh.tar.gz 2772725 BLAKE2B 46ea8245fdb0a38ad924e4d65d1c247f11c2419de1466b99f62ee486b0c3fc7a7dedf4a8d5168fc9b4bf062741b7865dd07d29cd1ab0e92772810982c10029d5 SHA512 e4ed845687641b1054703ec5419a34947409504353fbfc1f56aab3dbafa72c1705170f71b569fb8c92d549dc2d7ce26cd1fa4010e23d0360310743821d37b653 +DIST uv-0.4.27.gh.tar.gz 2796691 BLAKE2B 8c4c04f912fc4c9ec6eceebd9853bbdf148f1d12f68836d8e4a92743ca1be405d7f5d8a5e3f09dd70360f078d0e93db6e878a9ed4cdcd6f876990b9a2ad41eb2 SHA512 6ba5f1b5fb0d427b75ec528d8ef40d020de11ddb81efc4638ed4b9d0244ccd1d630577c0f4d9fae6e3b303fcdeee51623406540de3b6974d4a22282884157e33 diff --git a/dev-python/uv/uv-0.4.27.ebuild b/dev-python/uv/uv-0.4.27.ebuild new file mode 100644 index 000000000000..20c05fb19bde --- /dev/null +++ b/dev-python/uv/uv-0.4.27.ebuild @@ -0,0 +1,144 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" + +declare -A GIT_CRATES=( + [async_zip]='https://github.com/charliermarsh/rs-async-zip;011b24604fa7bc223daaad7712c0694bac8f0a87;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;7243f4faf8e54837aa8a401a18406e7173de4ad5;pubgrub-%commit%' + [reqwest-middleware]='https://github.com/TrueLayer/reqwest-middleware;d95ec5a99fcc9a4339e1850d40378bbfe55ab121;reqwest-middleware-%commit%/reqwest-middleware' + [reqwest-retry]='https://github.com/TrueLayer/reqwest-middleware;d95ec5a99fcc9a4339e1850d40378bbfe55ab121;reqwest-middleware-%commit%/reqwest-retry' + [tl]='https://github.com/charliermarsh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' +) + +inherit cargo check-reqs + +CRATE_PV=0.4.26 +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://dev.gentoo.org/~mgorny/dist/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT + MPL-2.0 Unicode-DFS-2016 +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + >=virtual/rust-1.80 + test? ( + dev-lang/python:3.8 + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space +} + +src_prepare() { + default + + # remove patch.* that breaks GIT_CRATES + local reqmw=${GIT_CRATES[reqwest-middleware]} + reqmw=${reqmw#*;} + reqmw=${reqmw%;*} + sed -i -e "/^\[patch/,\$s@^\(reqwest-middleware = \).*@\1 { path = \"${WORKDIR}/reqwest-middleware-${reqmw}/reqwest-middleware\" }@" Cargo.toml || die + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die + + # bzip2-sys requires a pkg-config file + # https://github.com/alexcrichton/bzip2-rs/issues/104 + mkdir "${T}/pkg-config" || die + export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} + cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die + Name: bzip2 + Version: 9999 + Description: + Libs: -lbz2 + EOF +} + +src_configure() { + local myfeatures=( + git + pypi + python + ) + + cargo_src_configure --no-default-features +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + # work around https://github.com/astral-sh/uv/issues/4376 + local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} + local -x COLUMNS=100 + local -x PYTHONDONTWRITEBYTECODE= + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install +} diff --git a/dev-python/werkzeug/Manifest b/dev-python/werkzeug/Manifest index 70307cc851f1..68b955f0b96b 100644 --- a/dev-python/werkzeug/Manifest +++ b/dev-python/werkzeug/Manifest @@ -1,2 +1,3 @@ DIST werkzeug-3.0.4.tar.gz 803966 BLAKE2B 56e992c61ed977a677ae4ca403adfb335457df2f096eed3589d74f5539282b144e70895e4d403c9fb72621bc145c91315fab0d3ddca5afcc0040c0e582cf05ec SHA512 40ca7a6c54ba5593a854d6fda6c6b0fed08f03aa970ac83c86aa16b434b6f24f204ca425a0fae3f42610ce6e7ff9220224cc927018a7181d673b48b71b848422 DIST werkzeug-3.0.5.tar.gz 804673 BLAKE2B f094c5efe6a38ed74e571aead1c0981594351625a5c93fd17e6cfb4cba8135d08c5222b47ca4aa688436418f0dd6a00b1a7a354f0ee80f0a7607073883ca50ec SHA512 83db714067fcc29339b9fbdd4d20f849d7e4c0ce5f67e222241f3a3948204ff58d2bca97058b6f5e2aaa99328fa5ae5c68d09496f62c8095fa024f2d4532f9d8 +DIST werkzeug-3.0.6.tar.gz 805170 BLAKE2B 7aa02e3e979d9375ec676d02f43738b96410fc3dddf60ca96fc9709790caa47e590952e7675f9226af9f8111271463e82a7069d0ed6e8e672188bc824d3d04a8 SHA512 500f47e13546a3d0ce3a41f21157649571ea70b332ca22758bad939cb42aee4d1b58b64cecc4ed83a857ad466f37de8256cf7b53ad28e5fe0fd353455df3639b diff --git a/dev-python/werkzeug/werkzeug-3.0.6.ebuild b/dev-python/werkzeug/werkzeug-3.0.6.ebuild new file mode 100644 index 000000000000..b10b44aa967e --- /dev/null +++ b/dev-python/werkzeug/werkzeug-3.0.6.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of various utilities for WSGI applications" +HOMEPAGE=" + https://palletsprojects.com/p/werkzeug/ + https://pypi.org/project/Werkzeug/ + https://github.com/pallets/werkzeug/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/markupsafe-2.1.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/ephemeral-port-reserve[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + >=dev-python/pytest-xprocess-1[${PYTHON_USEDEP}] + >=dev-python/watchdog-2.3[${PYTHON_USEDEP}] + test-rust? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) + ) +" + +distutils_enable_tests pytest + +PATCHES=( + # https://github.com/pallets/werkzeug/issues/2875 + "${FILESDIR}/${PN}-3.0.2-pytest-xprocess-1.patch" +) + +python_test() { + local EPYTEST_DESELECT=( + # RequestRedirect class started incidentally being tested + # with pytest-8, though the test isn't prepared for that + # https://github.com/pallets/werkzeug/issues/2845 + 'tests/test_exceptions.py::test_response_body[RequestRedirect]' + ) + if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + "tests/test_serving.py::test_server[https]" + tests/test_serving.py::test_ssl_dev_cert + tests/test_serving.py::test_ssl_object + ) + fi + + # the default portage tempdir is too long for AF_UNIX sockets + local -x TMPDIR=/tmp + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p xprocess -p timeout tests +} diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 34d9fbe99cbb..0d25029bd6e1 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1 +1,2 @@ DIST zeroconf-0.135.0.tar.gz 171896 BLAKE2B 99822f18b98bedf8af03cb3f6483b0884ef92289afd4f71892ce33dc85e1751eea6180de8dac3d8c460bdabea3e096dfac1f26854a5dc52a86ce6ee271514996 SHA512 703d71aa2ffdedfc9a212dac448b9bb5589a839a610d1add8b5324e4ce241680ee1ebd8b5a01533c4c73bc91d22e5f641151c12186aec6b71c3e23607b32c30a +DIST zeroconf-0.136.0.tar.gz 238635 BLAKE2B 265dac1aed041d86f81264b5449952695f316cdfd9ff8e594631cd5c5eebad917d32537920308ae62feee7927307a667fdfd3cfd5c182fff08120cba19bbc60e SHA512 835f1e22a92e62efaba055816c962fdea12b80e3a875883da28919e952363ce14dea6b60738a2c199d6e4718c016c00a7dfaa86ee4b20347c69a771515240be3 diff --git a/dev-python/zeroconf/zeroconf-0.136.0.ebuild b/dev-python/zeroconf/zeroconf-0.136.0.ebuild new file mode 100644 index 000000000000..0c00ccff1261 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.136.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" +HOMEPAGE=" + https://github.com/python-zeroconf/python-zeroconf/ + https://pypi.org/project/zeroconf/ +" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export REQUIRE_CYTHON=1 + +python_test() { + local -x SKIP_IPV6=1 + local EPYTEST_DESELECT=( + # network + tests/test_core.py::Framework::test_close_multiple_times + tests/test_core.py::Framework::test_launch_and_close + tests/test_core.py::Framework::test_launch_and_close_context_manager + + # fragile to timeouts (?) + tests/services/test_browser.py::test_service_browser_expire_callbacks + tests/utils/test_asyncio.py::test_run_coro_with_timeout + ) + + epytest -o addopts= +} |
