From 9ed6ed8c9792a7cf8c5eed02c9067d69ac426bff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 15 Jun 2024 17:00:48 +0200 Subject: [PATCH 01/11] dev-python/parver: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/parver/parver-0.5.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/parver/parver-0.5.ebuild b/dev-python/parver/parver-0.5.ebuild index 90b283b435a6c..a79741998179b 100644 --- a/dev-python/parver/parver-0.5.ebuild +++ b/dev-python/parver/parver-0.5.ebuild @@ -1,10 +1,10 @@ -# Copyright 2019-2023 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 From a7556fea8133111f05ff13c9ee2d171e188eeb38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 15 Jun 2024 17:06:33 +0200 Subject: [PATCH 02/11] dev-python/pgspecial: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pgspecial/pgspecial-2.1.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pgspecial/pgspecial-2.1.2.ebuild b/dev-python/pgspecial/pgspecial-2.1.2.ebuild index 160c438e2316e..4fa8bed1bfceb 100644 --- a/dev-python/pgspecial/pgspecial-2.1.2.ebuild +++ b/dev-python/pgspecial/pgspecial-2.1.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi From 1a75f5e544d6f61804d0fb38f3c53ac5a183a6a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 15 Jun 2024 17:09:34 +0200 Subject: [PATCH 03/11] dev-python/peewee: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/peewee/peewee-3.17.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/peewee/peewee-3.17.5.ebuild b/dev-python/peewee/peewee-3.17.5.ebuild index 2943c28f7f6b1..400156fc2dc1e 100644 --- a/dev-python/peewee/peewee-3.17.5.ebuild +++ b/dev-python/peewee/peewee-3.17.5.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) PYTHON_REQ_USE="sqlite" inherit distutils-r1 From b796fbe7bc8bfe7392bcdfe1b1bafde9d142ae0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 15 Jun 2024 17:12:31 +0200 Subject: [PATCH 04/11] dev-python/pluginbase: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pluginbase/pluginbase-1.0.1-r1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-python/pluginbase/pluginbase-1.0.1-r1.ebuild b/dev-python/pluginbase/pluginbase-1.0.1-r1.ebuild index d3984db8b7df8..f17668bab70d9 100644 --- a/dev-python/pluginbase/pluginbase-1.0.1-r1.ebuild +++ b/dev-python/pluginbase/pluginbase-1.0.1-r1.ebuild @@ -1,14 +1,14 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi -DESCRIPTION="Support library for building plugins sytems in Python" +DESCRIPTION="Support library for building plugins systems in Python" HOMEPAGE=" https://github.com/mitsuhiko/pluginbase/ https://pypi.org/project/pluginbase/ From d2d612f9dad6fa9d39ae59450e7a52e3fc3a6a61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 15 Jun 2024 17:18:50 +0200 Subject: [PATCH 05/11] dev-python/polib: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/polib/polib-1.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/polib/polib-1.2.0.ebuild b/dev-python/polib/polib-1.2.0.ebuild index 0168119fdd905..f0bfff4f96152 100644 --- a/dev-python/polib/polib-1.2.0.ebuild +++ b/dev-python/polib/polib-1.2.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi From 8207e5e73e20ac3249ecf7200d8d1dfb4c119ad6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 15 Jun 2024 17:19:05 +0200 Subject: [PATCH 06/11] dev-python/portalocker: Remove old MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/portalocker/Manifest | 1 - .../portalocker/portalocker-2.7.0.ebuild | 45 ------------------- 2 files changed, 46 deletions(-) delete mode 100644 dev-python/portalocker/portalocker-2.7.0.ebuild diff --git a/dev-python/portalocker/Manifest b/dev-python/portalocker/Manifest index b57d3027b5963..2b7cb69b59dbc 100644 --- a/dev-python/portalocker/Manifest +++ b/dev-python/portalocker/Manifest @@ -1,2 +1 @@ -DIST portalocker-2.7.0.gh.tar.gz 29787 BLAKE2B 14c2742978396c0d1bb5bdcd8c3eeb5af676d57bcc5bfb34bbf397655895f66b7c48a3a8d6c035e62aed3278f20ba4e5d5b0d88d0bac01b4dd6bab9e5ebcf40a SHA512 ca1d7c6ec57b4f95d138975f47a3fdaed35be9b580331dbd58159adbbdce63666e82d89eb6bd3ce614778c525fd04144faa4880d5fea976772d72a247999f2c9 DIST portalocker-2.8.2.gh.tar.gz 32382 BLAKE2B d953165d4e64d4bf5d084a9d5563b6e53515abbddeb7f9a4a49ea3358ff3bafc9631f38322e4a7ff1ab702aff4813eb52b4a7c431f411d767afd0647347d37af SHA512 3772ea6d15ee80d284c7fc7e88bdc9ab7714b460fdca39c2a288e0375c16f430bf9362da06227084dc2e56bd7342bd2d59823a94daf52ca51366e69fe6456236 diff --git a/dev-python/portalocker/portalocker-2.7.0.ebuild b/dev-python/portalocker/portalocker-2.7.0.ebuild deleted file mode 100644 index 1129e7ffef3a3..0000000000000 --- a/dev-python/portalocker/portalocker-2.7.0.ebuild +++ /dev/null @@ -1,45 +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_11 ) - -inherit distutils-r1 optfeature - -DESCRIPTION="A library for Python file locking" -HOMEPAGE=" - https://github.com/WoLpH/portalocker - https://portalocker.readthedocs.io - https://pypi.org/project/portalocker/ -" -SRC_URI=" - https://github.com/WoLpH/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" - -BDEPEND=" - test? ( - dev-python/redis[${PYTHON_USEDEP}] - >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] - >=dev-python/sphinx-6.0.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - default - - # Disable code coverage in tests. - sed -i '/^ *--cov.*$/d' pytest.ini || die -} - -pkg_postinst() { - optfeature "redis support" dev-python/redis -} From 460b94b59f4700a31a27a615c879b82e8c3d7bc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 15 Jun 2024 17:23:16 +0200 Subject: [PATCH 07/11] dev-python/portalocker: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/portalocker/portalocker-2.8.2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/portalocker/portalocker-2.8.2.ebuild b/dev-python/portalocker/portalocker-2.8.2.ebuild index f60b24c8aba5d..2c3098f6479ce 100644 --- a/dev-python/portalocker/portalocker-2.8.2.ebuild +++ b/dev-python/portalocker/portalocker-2.8.2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..12} ) +PYTHON_COMPAT=( python3_{11..13} ) inherit distutils-r1 optfeature From 4ee6977a1380729e115528ab959815482b469b74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 15 Jun 2024 17:23:28 +0200 Subject: [PATCH 08/11] dev-python/podman: Remove old MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/podman/Manifest | 1 - dev-python/podman/podman-4.9.0.ebuild | 53 --------------------------- 2 files changed, 54 deletions(-) delete mode 100644 dev-python/podman/podman-4.9.0.ebuild diff --git a/dev-python/podman/Manifest b/dev-python/podman/Manifest index 9c6b0e48c1ff4..c1ce992c1b9b2 100644 --- a/dev-python/podman/Manifest +++ b/dev-python/podman/Manifest @@ -1,2 +1 @@ -DIST podman-py-4.9.0.gh.tar.gz 182639 BLAKE2B fce3efa75658bb29513fdb55fa8b51d41401a49d58c2ea3c17c037e435f1f822090c6cc12b1afd06aec7e96c2541abb898fc37a0d2a62fcc5cddeeaf7832a0c0 SHA512 73488ccd3e910284410a43ec607cefdab3b8f3478617b95d5a6efd6f817a3eaced1a5ac9993d13c0104bad1bcd868507d544ef0396202003bb2f8b024901396c DIST podman-py-5.0.0.gh.tar.gz 183844 BLAKE2B c2c5511815d37321a843dfe028839592f6e9b4cc580263e743b6a2ee0917b3307b77bf4d08b327781c6d765c231d8bfcc4d1e0027351c4297509433405887552 SHA512 3abcc4c989843fb82a09e32359018cb9b3352f014253def4bec46a7336c95405b50fe774192d2f4625748351c57293b70d393eb85671719833c0a9f1311612ed diff --git a/dev-python/podman/podman-4.9.0.ebuild b/dev-python/podman/podman-4.9.0.ebuild deleted file mode 100644 index 9567fabe95196..0000000000000 --- a/dev-python/podman/podman-4.9.0.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_{10..12} ) - -inherit distutils-r1 - -MY_P=podman-py-${PV/_p/.post} -DESCRIPTION="A library to interact with a Podman server" -HOMEPAGE=" - https://github.com/containers/podman-py/ - https://pypi.org/project/podman/ -" -SRC_URI=" - https://github.com/containers/podman-py/archive/v${PV/_p/.post}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/pyxdg-0.26[${PYTHON_USEDEP}] - >=dev-python/requests-2.24[${PYTHON_USEDEP}] - >=dev-python/rich-12.5.1[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-1.2.3[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - test? ( - >=dev-python/requests-mock-1.11.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - podman/tests/unit/test_volumesmanager.py::VolumesManagerTestCase::test_get_404 - ) - - # integration tests require a workable podman server, - # and it doesn't seem to work in ebuild env - epytest podman/tests/unit -} From f233f037711c1f6cd7083dea4eda472d23df6fb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 15 Jun 2024 17:24:13 +0200 Subject: [PATCH 09/11] dev-python/podman: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/podman/podman-5.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/podman/podman-5.0.0.ebuild b/dev-python/podman/podman-5.0.0.ebuild index 9567fabe95196..cef5e8c080bf3 100644 --- a/dev-python/podman/podman-5.0.0.ebuild +++ b/dev-python/podman/podman-5.0.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 From cb3c7b88943fa4e8991225f0071ff835d8d91c1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 15 Jun 2024 17:32:45 +0200 Subject: [PATCH 10/11] dev-python/pipx: Remove old MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pipx/Manifest | 3 - dev-python/pipx/pipx-1.4.3.ebuild | 87 ----------------------------- dev-python/pipx/pipx-1.5.0.ebuild | 93 ------------------------------- 3 files changed, 183 deletions(-) delete mode 100644 dev-python/pipx/pipx-1.4.3.ebuild delete mode 100644 dev-python/pipx/pipx-1.5.0.ebuild diff --git a/dev-python/pipx/Manifest b/dev-python/pipx/Manifest index 963fa793102ce..34cc341788fcd 100644 --- a/dev-python/pipx/Manifest +++ b/dev-python/pipx/Manifest @@ -1,6 +1,3 @@ DIST pip-23.3.2-py3-none-any.whl 2109393 BLAKE2B 278b9941f93951508ae2f508b1b5a9fddd4ca11fac1d5b0c2ac994f8e8457226a4e8c4501078776476e0bae56fd82b989ebaf4f5f484ffe7b0ee79789e34aca8 SHA512 a1449fe400787f73ac26cb48acaae71208a2e696f9ce4992b44e11da29646b018c2f6c27a95b12e42531236fe658e0605e20d5dfa740c43e005c01da3db802da -DIST pipx-1.4.1-test-shim.tar.xz 76316 BLAKE2B 25200c9519f8e916cba3933b4df3cc808d5575ac055c4465dbd4cf0ced92bc7f0bca5c448e324b9d61a0cf70710f584cfba6106859ffcccf42e0f59910b81cd0 SHA512 760ad73c67588747bed91b7172821a8e899e52fff8966836d7a2b3dc8cd3946006c76fdcae0320364fe0cb5afc8b51dd583c0a3720099812702fb585b98b9fef -DIST pipx-1.4.3.gh.tar.gz 361782 BLAKE2B 579f16fe9c8fca973a2fdd1dc6b0cee9ae9d3da37be5acd1cc9d14e37fb291f678986bcfd52b185ebce3200000817a9dacdce95473f9fd498d4f6dc89cf7d3da SHA512 423310d4a2523fdb0eca69fd5ee861f8cad144f458aaf63008ca018fea0dc3b6a4274f7cae1ffdde45013dd85eee05a4a379589a93f4c369376e122a5dc4f23e -DIST pipx-1.5.0.gh.tar.gz 374890 BLAKE2B 214e6a3f73815888ab06fbf75e09434cf033bba402a0aa39d803a24ad052d3b9ece1d6daab79f1c5196e8da09d1ea085f96f816da4240df6ec67f88f8d1f2121 SHA512 7d8d64f2b042f050153dee27a759de2734a567a445470411c2838292e9365cfa18199cb096c0015651210e656173006be0cba20a16cc4b3ebc211a6a2caef2c7 DIST pipx-1.6.0-test-shim.tar.xz 71508 BLAKE2B f6625796b733911aeee7157d726888ef251ef43a806008a07dadcc290a22d331494ab6906ab1f5e06bf11180d295c1c6445c1a3c4d20eafb0f19fdacef02becb SHA512 a30adb15c78c8f6f9febedf4a899c665bd185ae0e9dbb5278b962fab9d47164601e7f354f61dd600df856a16d9620a586f9f5795a2985172f938fc376c840a6c DIST pipx-1.6.0.gh.tar.gz 389164 BLAKE2B 07b603202a44136892e196066fa6d1b85fce2c7d91d798f75edf3f2a18e2924e55487dbd63747948cfc82ea3ca600bdd09e6995a9ee5954c1f4287a4f255a43b SHA512 ae241bb518b240348b5811ee9d278c927cc0e703e6cd0da6225b2e47d727ac1ab54b5ac8fc207da849afc383cfe77ca6a95a62efcb33edc238bb607eada8b00b diff --git a/dev-python/pipx/pipx-1.4.3.ebuild b/dev-python/pipx/pipx-1.4.3.ebuild deleted file mode 100644 index 388b94a953f13..0000000000000 --- a/dev-python/pipx/pipx-1.4.3.ebuild +++ /dev/null @@ -1,87 +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_{10..12} ) - -inherit distutils-r1 - -TEST_SHIM=pipx-1.4.1-test-shim -DESCRIPTION="Install and Run Python Applications in Isolated Environments" -HOMEPAGE=" - https://pipx.pypa.io/stable/ - https://pypi.org/project/pipx/ - https://github.com/pypa/pipx/ -" -# no tests in sdist -SRC_URI=" - https://github.com/pypa/pipx/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://dev.gentoo.org/~mgorny/dist/${TEST_SHIM}.tar.xz - ) -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.10) - >=dev-python/userpath-1.9.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/ensurepip-pip - dev-python/ensurepip-setuptools - dev-python/ensurepip-wheel - dev-python/pypiserver[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -src_prepare() { - if use test; then - cp -vs "${BROOT}"/usr/lib/python/ensurepip/{pip,setuptools,wheel}-*.whl \ - "${WORKDIR}/${TEST_SHIM}/" || die - mkdir -p .pipx_tests/package_cache || die - local v - for v in 3.{10..12}; do - ln -s "${WORKDIR}/${TEST_SHIM}" \ - ".pipx_tests/package_cache/${v}" || die - done - - : > scripts/update_package_cache.py || die - # sigh - sed -e 's:server = str.*:server = "pypi-server":' \ - -i tests/conftest.py || die - fi - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # Internet - tests/test_run.py::test_run_ensure_null_pythonpath - tests/test_run.py::test_run_script_from_internet - 'tests/test_install.py::test_install_package_specs[pycowsay-git+https://github.com/cs01/pycowsay.git@master]' - tests/test_install.py::test_force_install_changes - 'tests/test_install.py::test_install_package_specs[nox-https://github.com/wntrblm/nox/archive/2022.1.7.zip]' - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -x -} diff --git a/dev-python/pipx/pipx-1.5.0.ebuild b/dev-python/pipx/pipx-1.5.0.ebuild deleted file mode 100644 index dda904431a85b..0000000000000 --- a/dev-python/pipx/pipx-1.5.0.ebuild +++ /dev/null @@ -1,93 +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_{10..12} ) - -inherit distutils-r1 - -TEST_SHIM=pipx-1.4.1-test-shim -DESCRIPTION="Install and Run Python Applications in Isolated Environments" -HOMEPAGE=" - https://pipx.pypa.io/stable/ - https://pypi.org/project/pipx/ - https://github.com/pypa/pipx/ -" -# no tests in sdist -SRC_URI=" - https://github.com/pypa/pipx/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://dev.gentoo.org/~mgorny/dist/${TEST_SHIM}.tar.xz - ) -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.10) - >=dev-python/userpath-1.9.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/ensurepip-pip - dev-python/ensurepip-setuptools - dev-python/ensurepip-wheel - dev-python/pypiserver[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -src_prepare() { - if use test; then - cp -vs "${BROOT}"/usr/lib/python/ensurepip/{pip,setuptools,wheel}-*.whl \ - "${WORKDIR}/${TEST_SHIM}/" || die - mkdir -p .pipx_tests/package_cache || die - local v - for v in 3.{10..12}; do - ln -s "${WORKDIR}/${TEST_SHIM}" \ - ".pipx_tests/package_cache/${v}" || die - done - - : > scripts/update_package_cache.py || die - # sigh - sed -e 's:server = str.*:server = "pypi-server":' \ - -i tests/conftest.py || die - fi - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # Internet - tests/test_run.py::test_run_ensure_null_pythonpath - tests/test_run.py::test_run_script_from_internet - 'tests/test_install.py::test_install_package_specs[pycowsay-git+https://github.com/cs01/pycowsay.git@master]' - tests/test_install.py::test_force_install_changes - 'tests/test_install.py::test_install_package_specs[nox-https://github.com/wntrblm/nox/archive/2022.1.7.zip]' - tests/test_interpreter.py::test_fetch_missing_python - tests/test_list.py::test_list_standalone_interpreter - tests/test_standalone_interpreter.py - # TODO - tests/test_environment.py::test_cli - tests/test_run.py::test_cachedir_tag - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} From 128342c8de8654be5a6cb1638082c241f89c3b44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 15 Jun 2024 17:38:28 +0200 Subject: [PATCH 11/11] dev-python/pyaes: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pyaes/pyaes-1.6.1-r3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/pyaes/pyaes-1.6.1-r3.ebuild b/dev-python/pyaes/pyaes-1.6.1-r3.ebuild index 2780469c86f7f..5115bd66d23b8 100644 --- a/dev-python/pyaes/pyaes-1.6.1-r3.ebuild +++ b/dev-python/pyaes/pyaes-1.6.1-r3.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi