diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-05-01 19:27:44 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-05-01 19:27:44 +0000 |
| commit | 99508030007cffa33f44655bba49715cde00a9ad (patch) | |
| tree | 545e4bf81f133337d4a522336b427db2bb35cfc7 /dev-python | |
| parent | 6d17ffe6fd178e58cb953180f12660eda8f1ed17 (diff) | |
| download | baldeagleos-repo-99508030007cffa33f44655bba49715cde00a9ad.tar.gz baldeagleos-repo-99508030007cffa33f44655bba49715cde00a9ad.tar.xz baldeagleos-repo-99508030007cffa33f44655bba49715cde00a9ad.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
20 files changed, 112 insertions, 837 deletions
diff --git a/dev-python/backports-strenum/Manifest b/dev-python/backports-strenum/Manifest deleted file mode 100644 index 88686fc247d5..000000000000 --- a/dev-python/backports-strenum/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST backports.strenum-1.3.1.gh.tar.gz 15064 BLAKE2B 749e319c9bdbec9eb1f3beab32355f015469336d688a3672380238f44694ce82747d7515330587821a60c92e1be0c7d8afc24ed70e3fa6ece368f6e74956958a SHA512 6a285bc63e6e3cb93e67da09eac9a1546af663d80e26448eed502494910db7850437bc13b6bee8f50e5debdea3335950c2f7c612238ecfbbfb454d5216c9513e diff --git a/dev-python/backports-strenum/backports-strenum-1.3.1.ebuild b/dev-python/backports-strenum/backports-strenum-1.3.1.ebuild deleted file mode 100644 index 2d0eab47126d..000000000000 --- a/dev-python/backports-strenum/backports-strenum-1.3.1.ebuild +++ /dev/null @@ -1,28 +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 - -MY_P=${P/-/.} -DESCRIPTION="Create enumerated constants that are also subclasses of str" -HOMEPAGE=" - https://github.com/clbarnes/backports.strenum/ - https://pypi.org/project/backports.strenum/ -" -# no tests in sdist -SRC_URI=" - https://github.com/clbarnes/backports.strenum/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -distutils_enable_tests pytest diff --git a/dev-python/backports-strenum/metadata.xml b/dev-python/backports-strenum/metadata.xml deleted file mode 100644 index a0d4c5913ba0..000000000000 --- a/dev-python/backports-strenum/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?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/ipdb/ipdb-0.13.13.ebuild b/dev-python/ipdb/ipdb-0.13.13.ebuild index 8e29d7912796..2b8e1e35e91d 100644 --- a/dev-python/ipdb/ipdb-0.13.13.ebuild +++ b/dev-python/ipdb/ipdb-0.13.13.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,13 +21,6 @@ KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ppc64 ~riscv ~sparc x86" RDEPEND=" >=dev-python/ipython-7.17[${PYTHON_USEDEP}] " -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.10) - ) -" DOCS=( AUTHORS HISTORY.txt README.rst ) diff --git a/dev-python/peewee/Manifest b/dev-python/peewee/Manifest index dd4355a9f982..bc8b41c12d93 100644 --- a/dev-python/peewee/Manifest +++ b/dev-python/peewee/Manifest @@ -1,2 +1,3 @@ DIST peewee-3.17.9.gh.tar.gz 930724 BLAKE2B 6ce8156b48876db93344b7eaac14122d9d11812cdacb80dc4f3db0e7aa05a97b279f27e5b8d17016cb43d68f5e9ecd4e591cd58e2520677dfba7544395447911 SHA512 7082b0abcdaf47ee7b50066773c8491bebc94502b875a0f2a01f6d8d251fd147c738362021ab1d45dbc8ddc73fd7a37c0bc2732623d0f4b3e5d314caea7da510 DIST peewee-3.18.0.gh.tar.gz 931113 BLAKE2B 615062dcdcbbedc8f9e92c9d4cdd35b96207689f76b7a336d472d5aed6b43fb65d4d74d84fac2c72096d7c4003b5b88fba77a6ee9eb9a64b8ebd8d3932187d89 SHA512 2753e076897c1a895942fe55f17763e4ad78defece29c0973b35146c767edb66f9447949eb3fe28fb0b45e74b805aa0115da234a1bdf67412e5f928a35c27390 +DIST peewee-3.18.1.gh.tar.gz 931200 BLAKE2B eacd3571175ae3bac019ac2dd0dcd561b9ef863a243bf54d45b8bb18656a458d32244f0a55b2e1d91dc07c7232c5f6182438c92f912d9f6ab75dee953b94d570 SHA512 eeef91aa30eea6ea6d4e1a7cdef7e8c207511ae65455cb0b5f84945c38ac6de3c8e218aa24752e3345d1eb4efcbf20ed289cf764c6fbd631b51be3d5075bc8b7 diff --git a/dev-python/peewee/files/peewee-3.18.1-cython-3.1.patch b/dev-python/peewee/files/peewee-3.18.1-cython-3.1.patch new file mode 100644 index 000000000000..819c5c8905bc --- /dev/null +++ b/dev-python/peewee/files/peewee-3.18.1-cython-3.1.patch @@ -0,0 +1,23 @@ +From 3aadae7eb3602f3ab893343045aa30d427985534 Mon Sep 17 00:00:00 2001 +From: Charles Leifer <coleifer@gmail.com> +Date: Thu, 1 May 2025 07:38:07 -0500 +Subject: [PATCH] Remove long check for newer cython. + +Fixes #2987 +--- + playhouse/_sqlite_ext.pyx | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/playhouse/_sqlite_ext.pyx b/playhouse/_sqlite_ext.pyx +index 41df21870..93b71cb52 100644 +--- a/playhouse/_sqlite_ext.pyx ++++ b/playhouse/_sqlite_ext.pyx +@@ -326,7 +326,7 @@ cdef sqlite_to_python(int argc, sqlite3_value **params): + cdef python_to_sqlite(sqlite3_context *context, value): + if value is None: + sqlite3_result_null(context) +- elif isinstance(value, (int, long)): ++ elif isinstance(value, int): + sqlite3_result_int64(context, <sqlite3_int64>value) + elif isinstance(value, float): + sqlite3_result_double(context, <double>value) diff --git a/dev-python/peewee/peewee-3.18.1.ebuild b/dev-python/peewee/peewee-3.18.1.ebuild new file mode 100644 index 000000000000..9d4d9e621772 --- /dev/null +++ b/dev-python/peewee/peewee-3.18.1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2025 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_{9,10,11,12,13} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +DESCRIPTION="Small Python ORM" +HOMEPAGE=" + https://github.com/coleifer/peewee/ + https://pypi.org/project/peewee/ +" +SRC_URI=" + https://github.com/coleifer/peewee/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="examples +native-extensions test" +RESTRICT="!test? ( test )" + +DEPEND=" + native-extensions? ( dev-db/sqlite:3= ) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-db/postgresql + dev-python/psycopg:0[${PYTHON_USEDEP}] + sys-libs/timezone-data + ) +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme + +src_prepare() { + local PATCHES=( + # https://github.com/dumpmemory/peewee/commit/3aadae7eb3602f3ab893343045aa30d427985534 + "${FILESDIR}/${P}-cython-3.1.patch" + ) + + default + + # disable test failing on postgres 16 + sed -e 's/test_timeout/_&/' -i tests/sqliteq.py || die +} + +src_compile() { + if ! use native-extensions; then + local -x NO_SQLITE=1 + fi + + distutils-r1_src_compile +} + +src_test() { + initdb -D "${T}"/pgsql || die + pg_ctl -w -D "${T}"/pgsql start -o "-h '' -k '${T}'" || die + createdb -h "${T}" peewee_test || die + psql -h "${T}" peewee_test -c 'create extension hstore;' || die + + local -x PEEWEE_PSQL_HOST="${T}" + distutils-r1_src_test + + pg_ctl -w -D "${T}"/pgsql stop || die +} + +python_test() { + "${EPYTHON}" runtests.py -v 2 || die "tests failed under ${EPYTHON}" +} + +python_install_all() { + use examples && DOCS=( examples/ ) + distutils-r1_python_install_all +} diff --git a/dev-python/pyproject-metadata/pyproject-metadata-0.9.1.ebuild b/dev-python/pyproject-metadata/pyproject-metadata-0.9.1.ebuild index a0dab83080c4..bf3593517b4c 100644 --- a/dev-python/pyproject-metadata/pyproject-metadata-0.9.1.ebuild +++ b/dev-python/pyproject-metadata/pyproject-metadata-0.9.1.ebuild @@ -21,12 +21,5 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 RDEPEND=" >=dev-python/packaging-19[${PYTHON_USEDEP}] " -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] - ' 3.10) - ) -" distutils_enable_tests pytest diff --git a/dev-python/pytest-salt-factories/Manifest b/dev-python/pytest-salt-factories/Manifest index 5faadd42178a..cda1c2e66546 100644 --- a/dev-python/pytest-salt-factories/Manifest +++ b/dev-python/pytest-salt-factories/Manifest @@ -1,5 +1,2 @@ -DIST pytest-salt-factories-1.0.0_rc20.gh.tar.gz 160140 BLAKE2B 7ecd9af695626c465e5776ed218bd92f30a556394cf4af0c2b6fb87c182f8aaf2d8f998358a7eef95fae53c85a6be2d4ed5a6ff191496fcac62a97e25cf19063 SHA512 5677c6638b5dc7f90c01f2c2204e1910c2bf6ea2c10b714173d3443d4c682b5f515ad7881e2ceee66f6eaf619e399d6fa10052604fdc9c5157c58348b63c8f2b -DIST pytest-salt-factories-1.0.0_rc23.gh.tar.gz 162711 BLAKE2B 28610679d7717d7a6f97a2f14a1ac838aec5101171ae65f2328d9b902d04b272c5e37f08d8ff3414af52ff7af954da24c083dfdc4afd1a9342b09cce0bf5aec3 SHA512 22d8f4a1c48a144437b9ff7d064760b59bb2a1003838e07f446a6150a77c162bffa7f21c570f796d8214d870d5b029e92abf7b0410ce19726085b607628364f0 -DIST pytest-salt-factories-1.0.0_rc28.gh.tar.gz 168150 BLAKE2B c286c2a3933f8a987f1073ba97097cec29bf494cac9c4ba21ec4c261e22570ac3445900cacf629cce6253fb1a5fb95eb3d637b4d26e8835648dd11c569a7255e SHA512 ea362daa83007d9054b023ca9c11864ba304d802fa359c8cb883aa929f339c5347d50560a2d4a9cbc151a7b05bc46d1dc2f7693dd32d26383766cb5f249f3484 DIST pytest-salt-factories-1.0.0_rc29.gh.tar.gz 168690 BLAKE2B d365cdef727e6ed0c0d2d06ce3c8731ddf67181d4d8386d106b7569c709fc5336529c72e907d44496463b47b18659376a64c79b08d45aaa5aa7d8d927a646db3 SHA512 7dd0e9d5bb6e4b292ef145f6fec770435f1cd23a07be67c98e155b1aa3a34bec1c542d97a6cae0302ad46e5c2f4e35eadb45bd7ea8979c05c6ddf1aacde9f755 DIST pytest-salt-factories-1.0.1.gh.tar.gz 169610 BLAKE2B 7f24d25ac9713204b3ba922aefbbb7e41de400128670eeba05679f85e6ee838ca8d595908ed442c8760e08be7c0041f936ee0ccfec651de767a4b660e47c136f SHA512 598486f15f00654509a68b0a216d84e1f790b4b9a28c2fd85b809d357d030299db6137e1b15883dc682b3eaa4f29f47b76bd06c1d1a9994028dc0332af972991 diff --git a/dev-python/pytest-salt-factories/files/pytest-salt-factories-1.0.0_rc20-tests.patch b/dev-python/pytest-salt-factories/files/pytest-salt-factories-1.0.0_rc20-tests.patch deleted file mode 100644 index cd201af5b9f3..000000000000 --- a/dev-python/pytest-salt-factories/files/pytest-salt-factories-1.0.0_rc20-tests.patch +++ /dev/null @@ -1,423 +0,0 @@ -diff --git a/src/saltfactories/plugins/__init__.py b/src/saltfactories/plugins/__init__.py -index efb8911..14af8fe 100644 ---- a/src/saltfactories/plugins/__init__.py -+++ b/src/saltfactories/plugins/__init__.py -@@ -28,7 +28,7 @@ def pytest_tempdir_temproot(): - tempdir = "/tmp" - else: - tempdir = os.environ.get("TMPDIR") or tempfile.gettempdir() -- return os.path.abspath(os.path.realpath(tempdir)) -+ return tempdir - - - def pytest_tempdir_basename(): -diff --git a/tests/functional/factories/base/test_salt_daemon_factory.py b/tests/functional/factories/base/test_salt_daemon_factory.py -index 70d8d62..260e40c 100644 ---- a/tests/functional/factories/base/test_salt_daemon_factory.py -+++ b/tests/functional/factories/base/test_salt_daemon_factory.py -@@ -36,7 +36,7 @@ def test_extra_cli_arguments_after_first_failure( - This test asserts that after the first start failure, the extra_cli_arguments_after_first_start_failure - arguments are added - """ -- output_file = tmp_path.joinpath("output.txt").resolve() -+ output_file = tmp_path.joinpath("output.txt") - config = {"conf_file": config_file, "id": master_id} - script = tempfiles.makepyfile( - r""" -diff --git a/tests/functional/factories/daemons/test_container_factory.py b/tests/functional/factories/daemons/test_container_factory.py -index d060214..3837074 100644 ---- a/tests/functional/factories/daemons/test_container_factory.py -+++ b/tests/functional/factories/daemons/test_container_factory.py -@@ -18,6 +18,7 @@ def _connectable_docker_client(): - pytest.skip("Failed to instantiate a docker client: {}".format(exc)) - - -+@pytest.mark.skip("Needs network access") - @pytest.mark.parametrize("skip_on_pull_failure", [True, False]) - def test_skip_on_pull_failure(pytester, skip_on_pull_failure): - pytester.makepyfile( -diff --git a/tests/functional/markers/test_requires_salt_modules.py b/tests/functional/markers/test_requires_salt_modules.py -index 97ed1ec..53ff0dd 100644 ---- a/tests/functional/markers/test_requires_salt_modules.py -+++ b/tests/functional/markers/test_requires_salt_modules.py -@@ -1,9 +1,11 @@ - """ - Test the ``@pytest.mark.requires_salt_modules`` marker. - """ -+import sys - import pytest - - -+@pytest.mark.skipif(sys.version_info >= (3, 10), reason="test broken on python 3.10") - @pytest.mark.parametrize( - "modules", - [ -@@ -29,6 +31,7 @@ def test_has_required_salt_module(pytester, modules): - res.stdout.no_fnmatch_line("*PytestUnknownMarkWarning*") - - -+@pytest.mark.skipif(sys.version_info >= (3, 10), reason="test broken on python 3.10") - @pytest.mark.parametrize( - "modules", - [ -@@ -54,6 +57,7 @@ def test_missing_required_salt_module(pytester, modules): - res.stdout.no_fnmatch_line("*PytestUnknownMarkWarning*") - - -+@pytest.mark.skipif(sys.version_info >= (3, 10), reason="test broken on python 3.10") - def test_has_required_custom_salt_module(pytester): - pytester.makepyfile( - r""" -diff --git a/tests/functional/markers/test_requires_salt_states.py b/tests/functional/markers/test_requires_salt_states.py -index f6d63a9..ec4b431 100644 ---- a/tests/functional/markers/test_requires_salt_states.py -+++ b/tests/functional/markers/test_requires_salt_states.py -@@ -1,9 +1,11 @@ - """ - Test the ``@pytest.mark.requires_salt_states`` marker. - """ -+import sys - import pytest - - -+@pytest.mark.skipif(sys.version_info >= (3, 10), reason="test broken on python 3.10") - @pytest.mark.parametrize( - "modules", - [ -@@ -29,6 +31,7 @@ def test_has_required_salt_state(pytester, modules): - res.stdout.no_fnmatch_line("*PytestUnknownMarkWarning*") - - -+@pytest.mark.skipif(sys.version_info >= (3, 10), reason="test broken on python 3.10") - @pytest.mark.parametrize( - "modules", - [ -@@ -54,6 +57,7 @@ def test_missing_required_salt_state(pytester, modules): - res.stdout.no_fnmatch_line("*PytestUnknownMarkWarning*") - - -+@pytest.mark.skipif(sys.version_info >= (3, 10), reason="test broken on python 3.10") - def test_has_required_custom_salt_state(pytester): - pytester.makepyfile( - r""" -diff --git a/tests/functional/test_sys_info.py b/tests/functional/test_sys_info.py -index c8fbf6e..f18c85d 100644 ---- a/tests/functional/test_sys_info.py -+++ b/tests/functional/test_sys_info.py -@@ -1,9 +1,11 @@ - """ - Tests related to system information reports enabled by the `--sys-info` flag.. - """ -+import sys - import pytest - - -+@pytest.mark.skipif(sys.version_info >= (3, 10), reason="test broken on python 3.10") - @pytest.mark.parametrize("flag", ["--sysinfo", "--sys-info"]) - def test_sysinfo(pytester, flag): - pytester.makepyfile( -@@ -27,6 +29,7 @@ def test_sysinfo(pytester, flag): - ) - - -+@pytest.mark.skipif(sys.version_info >= (3, 10), reason="test broken on python 3.10") - def test_no_sysinfo(pytester): - pytester.makepyfile( - """ -diff --git a/tests/integration/factories/cli/test_salt.py b/tests/integration/factories/cli/test_salt.py -index 9c4fdb0..0766fe7 100644 ---- a/tests/integration/factories/cli/test_salt.py -+++ b/tests/integration/factories/cli/test_salt.py -@@ -14,6 +14,7 @@ def salt_minion_2(salt_master, salt_minion): - yield factory - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_merged_json_out(salt_cli, salt_minion, salt_minion_2): - ret = salt_cli.run("test.ping", minion_tgt="*") - assert ret.returncode == 0, ret -@@ -24,6 +25,7 @@ def test_merged_json_out(salt_cli, salt_minion, salt_minion_2): - assert ret.data[salt_minion_2.id] is True - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_merged_json_out_disabled(salt_cli, salt_minion, salt_minion_2): - ret = salt_cli.run("test.ping", minion_tgt="*", merge_json_output=False) - assert ret.returncode == 0, ret -diff --git a/tests/integration/factories/daemons/api/test_api.py b/tests/integration/factories/daemons/api/test_api.py -index d6fd060..aade16e 100644 ---- a/tests/integration/factories/daemons/api/test_api.py -+++ b/tests/integration/factories/daemons/api/test_api.py -@@ -19,5 +19,6 @@ def salt_api(master): - yield factory - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_api(salt_api): - assert salt_api.is_running() -diff --git a/tests/integration/factories/daemons/api/test_restarts.py b/tests/integration/factories/daemons/api/test_restarts.py -index bfab01f..0494ebb 100644 ---- a/tests/integration/factories/daemons/api/test_restarts.py -+++ b/tests/integration/factories/daemons/api/test_restarts.py -@@ -12,6 +12,7 @@ def master(salt_factories): - yield factory - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_multiple_start_stops(master): - factory = master.salt_api_daemon() - assert factory.is_running() is False -diff --git a/tests/integration/factories/daemons/master/test_master.py b/tests/integration/factories/daemons/master/test_master.py -index 648781d..cb051c4 100644 ---- a/tests/integration/factories/daemons/master/test_master.py -+++ b/tests/integration/factories/daemons/master/test_master.py -@@ -1,3 +1,4 @@ -+import sys - import pytest - import salt.defaults.exitcodes - from pytestshellutils.exceptions import FactoryNotStarted -@@ -48,10 +49,12 @@ def salt_call(minion, salt_cli_timeout): - return minion.salt_call_cli(timeout=salt_cli_timeout) - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_master(master): - assert master.is_running() - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_salt_run(master, salt_run): - max_open_files_config_value = master.config["max_open_files"] - ret = salt_run.run("config.get", "max_open_files") -@@ -59,6 +62,7 @@ def test_salt_run(master, salt_run): - assert ret.data == max_open_files_config_value - - -+@pytest.mark.skip("Needs network access") - def test_salt_cp_minion_id_as_first_argument(master, minion, salt_cp, tempfiles, tmp_path): - """ - Test copying a file from the master any minions connected -@@ -75,6 +79,7 @@ def test_salt_cp_minion_id_as_first_argument(master, minion, salt_cp, tempfiles, - assert dest.read_text() == contents - - -+@pytest.mark.skip("Needs network access") - def test_salt_cp_explicit_minion_tgt(master, minion, salt_cp, tempfiles, tmp_path): - """ - Test copying a file from the master to the minion -@@ -91,6 +96,7 @@ def test_salt_cp_explicit_minion_tgt(master, minion, salt_cp, tempfiles, tmp_pat - assert dest.read_text() == contents - - -+@pytest.mark.skip("Needs network access") - def test_salt_cp_no_match(master, minion, salt_cp, tempfiles, tmp_path): - assert master.is_running() - assert minion.is_running() -diff --git a/tests/integration/factories/daemons/master/test_restarts.py b/tests/integration/factories/daemons/master/test_restarts.py -index 683970a..443dcfb 100644 ---- a/tests/integration/factories/daemons/master/test_restarts.py -+++ b/tests/integration/factories/daemons/master/test_restarts.py -@@ -11,6 +11,7 @@ def master(salt_factories): - return factory - - -+@pytest.mark.skip("not compatible with network") - def test_multiple_start_stops(master): - assert master.is_running() is False - pid = None -diff --git a/tests/integration/factories/daemons/minion/test_event_forwarder_engine.py b/tests/integration/factories/daemons/minion/test_event_forwarder_engine.py -index a6c6420..10626cd 100644 ---- a/tests/integration/factories/daemons/minion/test_event_forwarder_engine.py -+++ b/tests/integration/factories/daemons/minion/test_event_forwarder_engine.py -@@ -28,6 +28,7 @@ def salt_call_cli(minion): - return minion.salt_call_cli() - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_event_listener_engine(minion, salt_call_cli, event_listener): - """ - There are some events which the minion fires internally that never reach the master. -diff --git a/tests/integration/factories/daemons/minion/test_minion.py b/tests/integration/factories/daemons/minion/test_minion.py -index f2799ce..5e2b06a 100644 ---- a/tests/integration/factories/daemons/minion/test_minion.py -+++ b/tests/integration/factories/daemons/minion/test_minion.py -@@ -27,6 +27,7 @@ def salt_call_cli(minion, salt_cli_timeout): - return minion.salt_call_cli(timeout=salt_cli_timeout) - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_minion(minion, salt_cli): - assert minion.is_running() - ret = salt_cli.run("test.ping", minion_tgt=minion.id) -@@ -34,6 +35,7 @@ def test_minion(minion, salt_cli): - assert ret.data is True - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_no_match(minion, salt_cli): - assert minion.is_running() - ret = salt_cli.run("test.ping", minion_tgt="minion-2") -@@ -41,6 +43,7 @@ def test_no_match(minion, salt_cli): - assert not ret.data - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_show_jid(minion, salt_cli): - assert minion.is_running() - ret = salt_cli.run("--show-jid", "test.ping", minion_tgt=minion.id) -@@ -48,6 +51,7 @@ def test_show_jid(minion, salt_cli): - assert ret.data is True - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_minion_salt_call(minion, salt_call_cli): - assert minion.is_running() - ret = salt_call_cli.run("test.ping") -@@ -59,6 +63,7 @@ def test_minion_salt_call(minion, salt_call_cli): - assert ret.data is True - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_salt_call_exception_handling_doesnt_timeout(minion, salt_call_cli): - ret = salt_call_cli.run( - "test.raise_exception", "OSError", "2", "No such file or directory", "/tmp/foo.txt" -@@ -66,6 +71,7 @@ def test_salt_call_exception_handling_doesnt_timeout(minion, salt_call_cli): - assert ret.returncode == 1, ret - - -+@pytest.mark.skip("not compatible with sandbox") - def test_state_tree(minion, salt_call_cli): - sls_contents = """ - test: -diff --git a/tests/integration/factories/daemons/minion/test_restarts.py b/tests/integration/factories/daemons/minion/test_restarts.py -index ab1f044..4ac417d 100644 ---- a/tests/integration/factories/daemons/minion/test_restarts.py -+++ b/tests/integration/factories/daemons/minion/test_restarts.py -@@ -10,6 +10,7 @@ def master(salt_factories): - yield factory - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_multiple_start_stops(master): - factory = master.salt_minion_daemon(random_string("minion-")) - assert factory.is_running() is False -diff --git a/tests/integration/factories/daemons/proxy/test_proxy_minion.py b/tests/integration/factories/daemons/proxy/test_proxy_minion.py -index 579e6f5..e7464ed 100644 ---- a/tests/integration/factories/daemons/proxy/test_proxy_minion.py -+++ b/tests/integration/factories/daemons/proxy/test_proxy_minion.py -@@ -36,6 +36,7 @@ def salt_call_cli(proxy_minion, salt_cli_timeout): - return proxy_minion.salt_call_cli(timeout=salt_cli_timeout) - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_proxy_minion(proxy_minion, salt_cli): - assert proxy_minion.is_running() - ret = salt_cli.run("test.ping", minion_tgt=proxy_minion.id) -@@ -43,6 +44,7 @@ def test_proxy_minion(proxy_minion, salt_cli): - assert ret.data is True - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_no_match(proxy_minion, salt_cli): - assert proxy_minion.is_running() - ret = salt_cli.run("test.ping", minion_tgt="proxy-minion-2") -@@ -50,6 +52,7 @@ def test_no_match(proxy_minion, salt_cli): - assert not ret.data - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_show_jid(proxy_minion, salt_cli): - if platform.is_darwin() and sys.version_info[:2] == (3, 7): - pytest.skip( -@@ -62,6 +65,7 @@ def test_show_jid(proxy_minion, salt_cli): - assert ret.data is True - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_proxy_minion_salt_call(proxy_minion, salt_call_cli): - assert proxy_minion.is_running() - ret = salt_call_cli.run("test.ping") -@@ -73,6 +77,7 @@ def test_proxy_minion_salt_call(proxy_minion, salt_call_cli): - assert ret.data is True - - -+@pytest.mark.skip("not compatible with sandbox") - def test_state_tree(proxy_minion, salt_call_cli): - sls_contents = """ - test: -diff --git a/tests/integration/factories/daemons/proxy/test_restarts.py b/tests/integration/factories/daemons/proxy/test_restarts.py -index a243c6d..7758c96 100644 ---- a/tests/integration/factories/daemons/proxy/test_restarts.py -+++ b/tests/integration/factories/daemons/proxy/test_restarts.py -@@ -16,6 +16,7 @@ def master(salt_factories): - yield factory - - -+@pytest.mark.skip("not compatible with sandbox") - def test_multiple_start_stops(master): - factory = master.salt_proxy_minion_daemon(random_string("proxy-minion-")) - assert factory.is_running() is False -diff --git a/tests/integration/factories/daemons/ssh/test_salt_ssh.py b/tests/integration/factories/daemons/ssh/test_salt_ssh.py -index 832a2d3..a586c4f 100644 ---- a/tests/integration/factories/daemons/ssh/test_salt_ssh.py -+++ b/tests/integration/factories/daemons/ssh/test_salt_ssh.py -@@ -51,6 +51,7 @@ def salt_ssh_cli(sshd, salt_factories, master): - - - @pytest.mark.skip_on_windows -+@pytest.mark.skip("not compatible with network-sandbox") - def test_salt_ssh(salt_ssh_cli): - ret = salt_ssh_cli.run("--ignore-host-keys", "test.echo", "It Works!", minion_tgt="localhost") - assert ret.returncode == 0 -diff --git a/tests/integration/factories/daemons/sshd/test_sshd.py b/tests/integration/factories/daemons/sshd/test_sshd.py -index 3b425fc..3e03636 100644 ---- a/tests/integration/factories/daemons/sshd/test_sshd.py -+++ b/tests/integration/factories/daemons/sshd/test_sshd.py -@@ -5,6 +5,7 @@ import pytest - - @pytest.fixture(scope="module") - @pytest.mark.skip_if_binaries_missing("sshd", "ssh-keygen") -+@pytest.mark.skip("not compatible with network-sandbox") - def sshd(salt_factories): - # Set StrictModes to no because our config directory lives in /tmp and those permissions - # are not acceptable by sshd strict paranoia. -@@ -15,12 +16,14 @@ def sshd(salt_factories): - - - @pytest.mark.skip_on_windows -+@pytest.mark.skip("not compatible with network-sandbox") - def test_sshd(sshd): - assert sshd.is_running() - - - @pytest.mark.skip_on_windows - @pytest.mark.skip_if_binaries_missing("ssh") -+@pytest.mark.skip("not compatible with network-sandbox") - def test_connect(sshd): - cmd = subprocess.run( - [ -diff --git a/tests/integration/utils/saltext/test_log_handlers.py b/tests/integration/utils/saltext/test_log_handlers.py -index 6d5b9c0..edc5b5a 100644 ---- a/tests/integration/utils/saltext/test_log_handlers.py -+++ b/tests/integration/utils/saltext/test_log_handlers.py -@@ -24,6 +24,7 @@ def salt_cli(master): - return master.salt_cli() - - -+@pytest.mark.skip("Not compatible with sandbox") - def test_logs_forwarded_from_sub_processes(salt_cli, minion, caplog): - assert minion.is_running() - -diff --git a/tests/scenarios/examples/test_echoext.py b/tests/scenarios/examples/test_echoext.py -index 238a442..d827467 100644 ---- a/tests/scenarios/examples/test_echoext.py -+++ b/tests/scenarios/examples/test_echoext.py -@@ -1,6 +1,8 @@ - from saltfactories import CODE_ROOT_DIR - -+import pytest - -+@pytest.mark.skip("Incompatible with sandbox") - def test_echoext(extension_venv): - extension_path = CODE_ROOT_DIR.parent.parent / "examples" / "echo-extension" - with extension_venv(extension_path) as venv: diff --git a/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc20-r1.ebuild b/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc20-r1.ebuild deleted file mode 100644 index 29a30595cc1e..000000000000 --- a/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc20-r1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 2020-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 - -DESCRIPTION="The new generation of the pytest-salt Plugin" -HOMEPAGE="https://github.com/saltstack/pytest-salt-factories" -SRC_URI="https://github.com/saltstack/${PN}/archive/${PV//_/}.tar.gz -> ${P}.gh.tar.gz" -S=${WORKDIR}/${PN}-${PV//_/} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv x86" -IUSE="test" - -RDEPEND=" - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/pytest-tempdir[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] - dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}] - dev-python/pytest-skip-markers[${PYTHON_USEDEP}] - dev-python/pytest-system-statistics[${PYTHON_USEDEP}] - >=dev-python/pytest-shell-utilities-1.4.0[${PYTHON_USEDEP}] - dev-python/pyzmq[${PYTHON_USEDEP}] - dev-python/msgpack[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - >=app-admin/salt-3001.0[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - dev-python/pyfakefs[${PYTHON_USEDEP}] - dev-python/pytest-subtests[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/pytest-salt-factories-1.0.0_rc20-tests.patch" -) - -distutils_enable_tests pytest - -python_prepare_all() { - sed -r -e "s:use_scm_version=True:version='${PV}', name='${PN//-/.}':" -i setup.py || die - sed -r -e '/(setuptools|setup_requires)/ d' -i setup.cfg || die - - sed -i 's:tool.setuptools_scm:tool.disabled:' pyproject.toml || die - printf '__version__ = "%s"\n' "${PV}" > src/saltfactories/version.py || die - distutils-r1_python_prepare_all -} - -python_test() { - local tempdir - - local -a disable_tests=( - testexcludetest - ) - local textexpr - testexpr=$(printf 'not %s and ' "${disable_tests[@]}") - - # ${T} is too long a path for the tests to work - tempdir="$(mktemp -du --tmpdir=/tmp salt-XXX)" || die - addwrite "${tempdir}" - - ( - cleanup() { rm -rf "${tempdir}" || die; } - - trap cleanup EXIT - export SHELL="/bin/bash" TMPDIR="${tempdir}" - epytest -vv -k "${testexpr%and }" - ) -} diff --git a/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc23.ebuild b/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc23.ebuild deleted file mode 100644 index af9b618fb81e..000000000000 --- a/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc23.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 2020-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 - -DESCRIPTION="The new generation of the pytest-salt Plugin" -HOMEPAGE="https://github.com/saltstack/pytest-salt-factories" -SRC_URI="https://github.com/saltstack/${PN}/archive/${PV//_/}.tar.gz -> ${P}.gh.tar.gz" -S=${WORKDIR}/${PN}-${PV//_/} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" -IUSE="test" - -RDEPEND=" - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/pytest-tempdir[${PYTHON_USEDEP}] - dev-python/docker[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] - dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}] - dev-python/pytest-skip-markers[${PYTHON_USEDEP}] - dev-python/pytest-system-statistics[${PYTHON_USEDEP}] - >=dev-python/pytest-shell-utilities-1.4.0[${PYTHON_USEDEP}] - dev-python/pyzmq[${PYTHON_USEDEP}] - dev-python/msgpack[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - >=app-admin/salt-3001.0[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - dev-python/pyfakefs[${PYTHON_USEDEP}] - dev-python/pytest-subtests[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/pytest-salt-factories-1.0.0_rc20-tests.patch" -) - -distutils_enable_tests pytest - -python_prepare_all() { - sed -r -e "s:use_scm_version=True:version='${PV}', name='${PN//-/.}':" -i setup.py || die - sed -r -e '/(setuptools|setup_requires)/ d' -i setup.cfg || die - - sed -i 's:tool.setuptools_scm:tool.disabled:' pyproject.toml || die - printf '__version__ = "%s"\n' "${PV}" > src/saltfactories/version.py || die - distutils-r1_python_prepare_all -} - -python_test() { - local tempdir - - local -a disable_tests=( - testexcludetest - test_version_info - ) - local textexpr - testexpr=$(printf 'not %s and ' "${disable_tests[@]}") - - # ${T} is too long a path for the tests to work - tempdir="$(mktemp -du --tmpdir=/tmp salt-XXX)" || die - addwrite "${tempdir}" - - ( - cleanup() { rm -rf "${tempdir}" || die; } - - trap cleanup EXIT - export SHELL="/bin/bash" TMPDIR="${tempdir}" - epytest -vv -k "${testexpr%and }" - ) -} diff --git a/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc28.ebuild b/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc28.ebuild deleted file mode 100644 index 38f2047fb049..000000000000 --- a/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc28.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 2020-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 - -DESCRIPTION="The new generation of the pytest-salt Plugin" -HOMEPAGE=" - https://github.com/saltstack/pytest-salt-factories/ - https://pypi.org/project/pytest-salt-factories/ -" -SRC_URI=" - https://github.com/saltstack/pytest-salt-factories/archive/${PV//_/}.tar.gz - -> ${P}.gh.tar.gz -" -S=${WORKDIR}/${P//_/} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 ~riscv x86" - -RDEPEND=" - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/docker[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - >=dev-python/pytest-7.0.0[${PYTHON_USEDEP}] - dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}] - dev-python/pytest-skip-markers[${PYTHON_USEDEP}] - dev-python/pytest-system-statistics[${PYTHON_USEDEP}] - >=dev-python/pytest-shell-utilities-1.4.0[${PYTHON_USEDEP}] - dev-python/pyzmq[${PYTHON_USEDEP}] - dev-python/msgpack[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - >=app-admin/salt-3005.1[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/importlib-metadata[${PYTHON_USEDEP}] - dev-python/pyfakefs[${PYTHON_USEDEP}] - dev-python/pytest-subtests[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -src_prepare() { - sed -i -e 's:helpers_namespace:pytest_&.plugin:' tests/conftest.py || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - tests/integration/factories/daemons/ssh/test_salt_ssh.py::test_salt_ssh - tests/integration/factories/daemons/sshd/test_sshd.py::test_connect - tests/scenarios/examples/test_echoext.py::test_echoext - ) - - local ret tempdir x - # ${T} is too long a path for the tests to work - tempdir="$(mktemp -du --tmpdir=/tmp salt-XXX)" || die - addwrite "${tempdir}" - - local -x SHELL="/bin/bash" TMPDIR="${tempdir}" - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=saltfactories.plugins - PYTEST_PLUGINS+=,pytest_helpers_namespace.plugin - PYTEST_PLUGINS+=,pytestsysstats.plugin - PYTEST_PLUGINS+=,pytest_subtests - for x in factories markers sysinfo event_listener log_server loader - do - PYTEST_PLUGINS+=,saltfactories.plugins.${x} - done - - nonfatal epytest --no-sys-stats - ret=${?} - - rm -rf "${tempdir}" || die - [[ ${ret} -ne 0 ]] && die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/python-ctags3/python-ctags3-1.6.0.ebuild b/dev-python/python-ctags3/python-ctags3-1.6.0-r1.ebuild index 65e65b15f185..43963f9aa46a 100644 --- a/dev-python/python-ctags3/python-ctags3-1.6.0.ebuild +++ b/dev-python/python-ctags3/python-ctags3-1.6.0-r1.ebuild @@ -3,6 +3,7 @@ EAPI=8 +DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) diff --git a/dev-python/python-tests/Manifest b/dev-python/python-tests/Manifest index d84037d2854a..2c63973a37f2 100644 --- a/dev-python/python-tests/Manifest +++ b/dev-python/python-tests/Manifest @@ -1,12 +1,9 @@ -DIST Python-3.10.17.tar.xz 19608144 BLAKE2B 9caebdcdc21c07037f423bc4831b0e4654dea4264b7a176b2caed625a930f0d6e8e2f6d581dee6f666a1fc17139d1ccd8bcf13c958df14dfd8de31f321d3e048 SHA512 11b1e647f8db05041bcafe110698af8bf5e9f7c8d23c0e9eb568a60544bb9a9e9c3ac94b34f0898f0d4e6c23da3cb81f844ae9d9c8b750058763502eaba39880 -DIST Python-3.10.17.tar.xz.asc 833 BLAKE2B 9468dc33530d8a4ec911e7a2bacd2d1c3533e6819a91c1307e8d577cefe6c6bdb9e9dc7f2abc078cd35186db7f58efd89eb4170fb20887bb2de5a5aa68b3c1f4 SHA512 f5fea78e2ea413c9befb6181787b3a5ea3bc0f5dbf808a94465b558c09353482cd34631a4c505f72aa343a2f4fae291453324cd8e6b18df214baaf4680fc17cf DIST Python-3.11.12.tar.xz 20112232 BLAKE2B 95f82af070e86ecf48881103ce6d7211a4a915a93a49b1407eaf445364b7a7daec406cf07eb9334ed47a59397a9796f6a5c70dcc9b7b47103beb3bffc6aa56d7 SHA512 5c95900de73cd187f5d7a89a05314ef85f4d680308d0d5fff5e6ada81f8ecf030018bef0f1a819d007e8b6d01b52e50395572c2d1a56d2c164492e13a69a9926 DIST Python-3.11.12.tar.xz.asc 833 BLAKE2B b874df8019eb3c548598f8723fa38c89189cc375d6ced7cae180ffdc35a8e7b0ba93638861412e19037aa1fee76749186f10c4929dc7f4fb4ef7a8f4561d325c SHA512 cb1f82d44be6de67182747f8ad1054e85cca22753c0c86ff12b95ec7044c5c6c37f40a876e5707a6c422d58f483257b8ddbb3ea87893679f81b9299c48373f20 DIST Python-3.12.10.tar.xz 20520960 BLAKE2B f05805da36958e3ebb68c69353e8119b20ee4c1a123f4492e9bf614e7faa856180ef2017f2a698bcacf19cac01d89329ed5ee45e00c98b255d4854090a2e6926 SHA512 520c30e3958d0be3c127e5dbb1c52bb3bfc404b5b3c7eb56525e25b9b59af9b21b53bee192f323f470e1df806f6cb2dd3411eb90cbc1c4b7d9b6b0777c29e644 DIST Python-3.12.10.tar.xz.asc 963 BLAKE2B 45e1ec67311d1ac5679cb5a05b92e61f3e5e6e9d3ffa5462c09c2aa066fda7ea915df13f6e5ad33aa924f6ce1f18e2d78a31af15412a10c093fc8a5b536c5133 SHA512 7edfa6fd816cf2a052abdb775d464e2f389105ed3e782cacf90805613aaca54bf71308504a5336ee1204e872e7db28df32413fb10b057056b0d5cb3c7a20a9f1 DIST Python-3.13.3.tar.xz 22654240 BLAKE2B 24ac47c13cbfa4dc9ce6ae4d18d7b5310f83ac1f4f18722138ef07e01cb8ac37edf6f4301983cb468f533b9b475b5a9d761d3044e61c7ccaa99dceadb954fe34 SHA512 f7559b6dceae69f48742af0a6497fbec42cd1e5304f64b6eb9d89222a1171ccf12fa186cc0decabb4e98d05223184967a4a7537754c01083dacdc9073cb1a578 DIST Python-3.13.3.tar.xz.asc 963 BLAKE2B 4a98965305b80e985512f54d9ce8ab88a74fe0d3ee48e300fbc2b4e251c0f499f4eb935e0aeb6d5ad8262338643325126f094fff926da1e2b9a2b3a2247701dc SHA512 54f8da5f4a4dcadc9830cb07aecf695a26a2de48ab98e1f42b09fdde1c70989476d07ce7ea81337216f1e5fcbf6b688e0608c88a2545ced416b01640108e94db -DIST python-gentoo-patches-3.10.17.tar.xz 28784 BLAKE2B 7f1c1f9f49876b99d80a3f40b66061ab96796821e1a5396f5edfa08e3878b8b9970688d3c861d9c5d08701a8850584eb87a223e3ba84c5536ae689f59145ad43 SHA512 3e89b334d81702f0e6fa00e9b70daf6ff4df439c280c6cff33aa8874dde29f63d809697757df39daea07bf746207e931f211558811c9e731df9ca846a8559483 DIST python-gentoo-patches-3.11.12.tar.xz 15616 BLAKE2B 5d4a47058fc35c4ae966e3dff823f91129852bf81cd586d5b3a34a6daf672732918daf00199394f2f982411ec30a291f45bba55b3ffa3d96a179ecd600ea4647 SHA512 77973ef88403f94d55162e0138cd29b4d8959a8fcf4cec730daf7ddd8fb4a3acfcd0dd1fdaacbdd2b218bd15f6c6715ce339df4eba48227d17520243d96eeb39 DIST python-gentoo-patches-3.12.10.tar.xz 10744 BLAKE2B 2abf4874018156d6735cf8604c410dc4726ac9365bc7500abe6b82472aad100aac7268957256692f4275b02965773e58178519ed8038e121f1ffa3c53770d238 SHA512 62066405aa00f46f9645e9c747d53bb93bf510fc791d14d49e00edfd79981778e6c8e07bfa7bac88d76407a0ffd8f7321dea89f81d90b01dbf13f4d381b6a1a3 DIST python-gentoo-patches-3.13.3.tar.xz 8336 BLAKE2B 66393886fbd034eb14732e4f81f5798e77650ea3fe1c4f8176bd93808b711c8977a53c3f52be6c9b97a368299258b851d9bdb6d4c8e0c75695c6aea784d48b44 SHA512 c1ed31d6aaef81addf786c2ccc1013309b122b791c42fe10e467a677d0db8f149e8b1cc21928c146298918c7ceb851b4b19d1e59f491cb161004e1c9386db289 diff --git a/dev-python/python-tests/python-tests-3.10.17.ebuild b/dev-python/python-tests/python-tests-3.10.17.ebuild deleted file mode 100644 index 5b7cc84bddae..000000000000 --- a/dev-python/python-tests/python-tests-3.10.17.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit python-r1 verify-sig - -MY_PV=${PV} -MY_P="Python-${MY_PV%_p*}" -PYVER=$(ver_cut 1-2) -PATCHSET="python-gentoo-patches-${MY_PV}" - -DESCRIPTION="Test modules from dev-lang/python" -HOMEPAGE=" - https://www.python.org/ - https://github.com/python/cpython/ -" -SRC_URI=" - https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz - https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz - verify-sig? ( - https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc - ) -" -S="${WORKDIR}/${MY_P}/Lib" - -LICENSE="PSF-2" -SLOT="${PYVER}" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - ~dev-lang/python-${PV}:${PYVER} - !<dev-lang/python-3.10.14_p3-r1:${PYVER} -" -BDEPEND=" - ${RDEPEND} - verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc - -src_unpack() { - if use verify-sig; then - verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc} - fi - default -} - -src_prepare() { - local PATCHES=( - "${WORKDIR}/${PATCHSET}" - ) - - cd .. || die - default -} - -src_install() { - python_setup - # keep in sync with TESTSUBDIRS in Makefile.pre.in - local dirs=( - ctypes/test distutils/tests idlelib/idle_test lib2to3/tests - sqlite3/test ./test tkinter/test unittest/test - ) - local dir - for dir in "${dirs[@]}"; do - python_moduleinto "/usr/lib/python${PYVER}/${dir%/*}" - python_domodule "${dir}" - done -} diff --git a/dev-python/taskgroup/Manifest b/dev-python/taskgroup/Manifest deleted file mode 100644 index 40f0b87fe290..000000000000 --- a/dev-python/taskgroup/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST taskgroup-0.2.2.tar.gz 11504 BLAKE2B 125316de4069d84b9bbc25e8d46b1b3d59ac97c39630af7e4c50d41a55c2748d07b709fc67be13450e799b3d6799712736ea1b7d463fde50da0b96961871b91a SHA512 194c7130538f5e474b7e7df5b7c8ea764fd0c81203f0cf4eaa57bef7bbc7af5bb47c4a1f75b0d1132376018f8ef8eb32a3f486e6de548578ab2006d79306c903 diff --git a/dev-python/taskgroup/metadata.xml b/dev-python/taskgroup/metadata.xml deleted file mode 100644 index a0d4c5913ba0..000000000000 --- a/dev-python/taskgroup/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?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/taskgroup/taskgroup-0.2.2.ebuild b/dev-python/taskgroup/taskgroup-0.2.2.ebuild deleted file mode 100644 index e7338264d231..000000000000 --- a/dev-python/taskgroup/taskgroup-0.2.2.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -# py3.11: this is a backport to py3.10, please do not add more targets -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Backport of asyncio.TaskGroup, asyncio.Runner and asyncio.timeout" -HOMEPAGE=" - https://github.com/graingert/taskgroup/ - https://pypi.org/project/taskgroup/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/exceptiongroup[${PYTHON_USEDEP}] - <dev-python/typing-extensions-5[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.12.2[${PYTHON_USEDEP}] -" diff --git a/dev-python/yapf/yapf-0.43.0.ebuild b/dev-python/yapf/yapf-0.43.0-r1.ebuild index ffcc4f2c1b5b..da49f9716a53 100644 --- a/dev-python/yapf/yapf-0.43.0.ebuild +++ b/dev-python/yapf/yapf-0.43.0-r1.ebuild @@ -26,7 +26,6 @@ RESTRICT="!test? ( test )" RDEPEND=" >=dev-python/platformdirs-3.5.1[${PYTHON_USEDEP}] - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] " python_test() { |
