diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-10-27 07:06:12 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-10-27 07:06:12 +0000 |
| commit | 77272320b386471d770e430481202b31a5ffd5d2 (patch) | |
| tree | 56e776d58aacdc632edac6a7c730fcba84b06808 /dev-python | |
| parent | f13cad212cc9cc174ad2ce844dd276e5714a7521 (diff) | |
| download | baldeagleos-repo-77272320b386471d770e430481202b31a5ffd5d2.tar.gz baldeagleos-repo-77272320b386471d770e430481202b31a5ffd5d2.tar.xz baldeagleos-repo-77272320b386471d770e430481202b31a5ffd5d2.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
47 files changed, 606 insertions, 315 deletions
diff --git a/dev-python/awkward-cpp/Manifest b/dev-python/awkward-cpp/Manifest index c4aeed663208..1c935c366006 100644 --- a/dev-python/awkward-cpp/Manifest +++ b/dev-python/awkward-cpp/Manifest @@ -1,2 +1,2 @@ -DIST awkward_cpp-49.tar.gz 1485870 BLAKE2B 0325759641f647a5f155e1a36b68a104556b78a65ceb47e68401836646f5d7e426dd18f26d9c16c30e70129615711a1fa2dcadd8f0edff8e85e9bcb3a8e60446 SHA512 b417f1450994e1916a9d5aa7c07c180f657a2ae77f53ac97315b1df526a618eabadb689f5099cf6e2af571de7f67ab84156fa00cb6723fd0fd8f161760b1458e DIST awkward_cpp-50.tar.gz 1485957 BLAKE2B 4e8123cbb5cdbfa58b36426223de92b3e2c47a9e0aafd95bed09f6f58b328db589729faf394c4d13fd4bd5c873d5f58a35e3c92ca12fba310e2e2e065c8ca528 SHA512 3dfed68f14df7fa5eee9dc78d36d8d2c0a824838e395c11673f91114419c20a06ed8b09afb5b3d31d8ece1affca32f4fd4c80827d8e37a63710831dbb2a95065 +DIST awkward_cpp-50.tar.gz.provenance 9641 BLAKE2B a09545b09ea8a00dce38a42f2bede072f947c3a2190abd5cd91589ed46d6f5295bca2b49893614a704399e0e8c9f2c6a70580f34a8374c535442f32b1ac4b0ca SHA512 6da22cf09dcad1536b8918a7a9fd84e374d9fb3c7460723f50f983cc55a9fcac8a662e993ceaa386c61764746da4bf5767b87227abf29cc7943b169029d80a93 diff --git a/dev-python/awkward-cpp/awkward-cpp-49.ebuild b/dev-python/awkward-cpp/awkward-cpp-49.ebuild deleted file mode 100644 index b7f20c91089a..000000000000 --- a/dev-python/awkward-cpp/awkward-cpp-49.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..14} ) -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=scikit-build-core - -inherit distutils-r1 pypi - -DESCRIPTION="CPU kernels and compiled extensions for Awkward Array" -HOMEPAGE=" - https://github.com/scikit-hep/awkward/ - https://pypi.org/project/awkward-cpp/ -" - -# MIT from rapidjson -LICENSE="BSD MIT" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - >=dev-python/numpy-1.18.0[${PYTHON_USEDEP}] -" -RDEPEND="${DEPEND}" -BDEPEND=" - >=dev-python/pybind11-3[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest diff --git a/dev-python/awkward-cpp/awkward-cpp-50.ebuild b/dev-python/awkward-cpp/awkward-cpp-50.ebuild index b7f20c91089a..337961003fcc 100644 --- a/dev-python/awkward-cpp/awkward-cpp-50.ebuild +++ b/dev-python/awkward-cpp/awkward-cpp-50.ebuild @@ -3,9 +3,10 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..14} ) DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=scikit-build-core +PYPI_VERIFY_REPO=https://github.com/scikit-hep/awkward +PYTHON_COMPAT=( python3_{10..14} ) inherit distutils-r1 pypi diff --git a/dev-python/awkward/Manifest b/dev-python/awkward/Manifest index e8f63c08738f..d8d5d89ac85a 100644 --- a/dev-python/awkward/Manifest +++ b/dev-python/awkward/Manifest @@ -1,2 +1,2 @@ -DIST awkward-2.8.8.tar.gz 6231035 BLAKE2B e979953ab3742537a5a6cf3fe67e735a82f13be6a8e8d32848e8659820b151b9384f33af4dca2307ca19a8229af2611050877bf914e540d3699d1279d1b32683 SHA512 1991185adc6a6701c9d7feb7f0a6011a5aeaad6d180c0ea140d9f3fcb5db8fb8c253779da848a03f2e84b37bdbfcdea4f7a7b4c88e60d7fbb1f2e7b662c14887 DIST awkward-2.8.9.tar.gz 6243673 BLAKE2B 3a8d72a7e814f999d4ad91e3346f46bd5c1535b83e432ab97e918811afa0788525e6344bfe09320c0bdcb5a2d7b0403aa6b9e7d66177f0754c64821826d10426 SHA512 06b7f9ef04ec2ed18d9a6f68ed828736a2312c5e06507550a7629824804d33f708b8d273a5037b0196a7cc405f6b1a7f7b3ff4dde56abe7a040a6234510cff5b +DIST awkward-2.8.9.tar.gz.provenance 9231 BLAKE2B f6231b069be9c32d6ec72877ef2edf8475fd8d62a934c367d00e682b9c0d2b4a7da588eddd6c27a037aef12467bf6191f02db2d739588489f755e7b1bd30b85a SHA512 d8d77035e074668997ba27c6481afa3838457b91c70a678d79ecac85733cf6f6d0d7746ee549a56b5fa7b0c4cf003170c73f63f2991563c8222509f43eb872aa diff --git a/dev-python/awkward/awkward-2.8.8.ebuild b/dev-python/awkward/awkward-2.8.8.ebuild deleted file mode 100644 index 580493399c13..000000000000 --- a/dev-python/awkward/awkward-2.8.8.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..14} ) -DISTUTILS_USE_PEP517=hatchling - -inherit distutils-r1 pypi - -DESCRIPTION="Manipulate JSON-like data with NumPy-like idioms" -HOMEPAGE=" - https://github.com/scikit-hep/awkward - https://pypi.org/project/awkward/ - https://doi.org/10.5281/zenodo.4341376 -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - ~dev-python/awkward-cpp-49[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}] - ' 3.11) - >=dev-python/numpy-1.18.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/fsspec-2022.11.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - test? ( - dev-libs/apache-arrow[zstd] - dev-python/pyarrow[${PYTHON_USEDEP}] - dev-python/numexpr[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - ) -" - #dev-python/numba[${PYTHON_USEDEP}] # needs numba from sci - -EPYTEST_IGNORE=( - tests-cuda/ - tests-cuda-kernels/ - # fails if just caffe2 but not pytorch is installed - tests/test_3259_to_torch_from_torch.py -) - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest diff --git a/dev-python/awkward/awkward-2.8.9.ebuild b/dev-python/awkward/awkward-2.8.9.ebuild index d987ceaf8f47..ffe4cd933157 100644 --- a/dev-python/awkward/awkward-2.8.9.ebuild +++ b/dev-python/awkward/awkward-2.8.9.ebuild @@ -3,8 +3,9 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..14} ) DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/scikit-hep/awkward +PYTHON_COMPAT=( python3_{10..14} ) inherit distutils-r1 pypi diff --git a/dev-python/cleo/cleo-2.1.0.ebuild b/dev-python/cleo/cleo-2.1.0.ebuild index 9f411413b938..cc86b09ce8e2 100644 --- a/dev-python/cleo/cleo-2.1.0.ebuild +++ b/dev-python/cleo/cleo-2.1.0.ebuild @@ -26,12 +26,8 @@ RDEPEND=" dev-python/crashtest[${PYTHON_USEDEP}] dev-python/rapidfuzz[${PYTHON_USEDEP}] " -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" +EPYTEST_PLUGINS=( pytest-mock ) distutils_enable_tests pytest src_prepare() { @@ -51,7 +47,5 @@ python_test() { ;; esac - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_mock epytest } diff --git a/dev-python/click-plugins/Manifest b/dev-python/click-plugins/Manifest index 8f8df316c454..13b90b569f57 100644 --- a/dev-python/click-plugins/Manifest +++ b/dev-python/click-plugins/Manifest @@ -1 +1,2 @@ DIST click-plugins-1.1.1.tar.gz 8164 BLAKE2B 48d75b9445b72dca41516fe81d02c6fad8089630c0d49963f559a847b90c7897c8db64773c4ec5f4c162d0f2f4fdd14fe212d485765d38977145fd32acdd0dcb SHA512 bbd838f50603ac4e76daf3535fd5d27a17e17549addbc8b582df6d6193b4f07d743101ce52f0b71f326995fdfeac159805025770350ca2e7697f212dce0c4b1a +DIST click_plugins-1.1.1.2.tar.gz 8343 BLAKE2B 53ce30531bb541bd7a92e8ebc49c711d13b4a2124f7336b41216c6c41156d2053a0666c1f6f5e1f987f074e1937706baf61a941dae1f0bddc00c9587da8a1ad1 SHA512 cdf5fd2cbe878ecd6c580a502904eec7ab4ee545e83af7599995572d0455324339bdbe316a03c20f90800ed62084c8778c5ceea375c031382169a49996279619 diff --git a/dev-python/click-plugins/click-plugins-1.1.1.2.ebuild b/dev-python/click-plugins/click-plugins-1.1.1.2.ebuild new file mode 100644 index 000000000000..2001b507214d --- /dev/null +++ b/dev-python/click-plugins/click-plugins-1.1.1.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..14} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 pypi + +DESCRIPTION="Module for click to enable registering CLI commands via entry points" +HOMEPAGE=" + https://github.com/click-contrib/click-plugins/ + https://pypi.org/project/click-plugins/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +PATCHES=( + # backport based on + # https://github.com/click-contrib/click-plugins/commit/29e66eb05a5911e333501bd21466f02e6b697892 + "${FILESDIR}/${P}-click82.patch" +) diff --git a/dev-python/click-plugins/files/click-plugins-1.1.1.2-click82.patch b/dev-python/click-plugins/files/click-plugins-1.1.1.2-click82.patch new file mode 100644 index 000000000000..f6e8024bb04f --- /dev/null +++ b/dev-python/click-plugins/files/click-plugins-1.1.1.2-click82.patch @@ -0,0 +1,58 @@ +diff --git a/tests/test_plugins.py b/tests/test_plugins.py +index 935f37a..26549ef 100644 +--- a/tests/test_plugins.py ++++ b/tests/test_plugins.py +@@ -78,7 +78,7 @@ def test_registered(): + def test_register_and_run(runner): + + result = runner.invoke(good_cli) +- assert result.exit_code == 0 ++ assert result.exit_code == 2 + + for ep in iter_entry_points('_test_click_plugins.test_plugins'): + cmd_result = runner.invoke(good_cli, [ep.name, 'something']) +@@ -89,7 +89,7 @@ def test_register_and_run(runner): + def test_broken_register_and_run(runner): + + result = runner.invoke(broken_cli) +- assert result.exit_code == 0 ++ assert result.exit_code == 2 + assert u'\U0001F4A9' in result.output or u'\u2020' in result.output + + for ep in iter_entry_points('_test_click_plugins.broken_plugins'): +@@ -108,7 +108,7 @@ def test_group_chain(runner): + pass + + result = runner.invoke(good_cli) +- assert result.exit_code == 0 ++ assert result.exit_code == 2 + assert sub_cli.name in result.output + for ep in iter_entry_points('_test_click_plugins.test_plugins'): + assert ep.name in result.output +@@ -121,7 +121,7 @@ def test_group_chain(runner): + pass + + result = runner.invoke(good_cli, ['sub-cli-plugins']) +- assert result.exit_code == 0 ++ assert result.exit_code == 2 + for ep in iter_entry_points('_test_click_plugins.test_plugins'): + assert ep.name in result.output + +@@ -142,7 +142,7 @@ def test_exception(): + + def test_broken_register_and_run_with_help(runner): + result = runner.invoke(broken_cli) +- assert result.exit_code == 0 ++ assert result.exit_code == 2 + assert u'\U0001F4A9' in result.output or u'\u2020' in result.output + + for ep in iter_entry_points('_test_click_plugins.broken_plugins'): +@@ -153,7 +153,7 @@ def test_broken_register_and_run_with_help(runner): + + def test_broken_register_and_run_with_args(runner): + result = runner.invoke(broken_cli) +- assert result.exit_code == 0 ++ assert result.exit_code == 2 + assert u'\U0001F4A9' in result.output or u'\u2020' in result.output + + for ep in iter_entry_points('_test_click_plugins.broken_plugins'): diff --git a/dev-python/cloudscraper/cloudscraper-1.2.69-r1.ebuild b/dev-python/cloudscraper/cloudscraper-1.2.69-r1.ebuild index 84506307a41d..39adf834f2c1 100644 --- a/dev-python/cloudscraper/cloudscraper-1.2.69-r1.ebuild +++ b/dev-python/cloudscraper/cloudscraper-1.2.69-r1.ebuild @@ -29,8 +29,6 @@ RDEPEND=" " BDEPEND=" test? ( - dev-python/pytest-forked[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] dev-python/responses[${PYTHON_USEDEP}] net-libs/nodejs ) @@ -44,6 +42,7 @@ EPYTEST_DESELECT=( "tests/test_cloudscraper.py::TestCloudScraper::test_reCaptcha_providers" ) +EPYTEST_PLUGINS=( pytest-{forked,timeout} ) distutils_enable_tests pytest pkg_postinst() { diff --git a/dev-python/confuse/confuse-2.0.1-r1.ebuild b/dev-python/confuse/confuse-2.0.1-r1.ebuild new file mode 100644 index 000000000000..25e7eed85c7b --- /dev/null +++ b/dev-python/confuse/confuse-2.0.1-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A configuration library for Python that uses YAML" +HOMEPAGE=" + https://github.com/beetbox/confuse/ + https://pypi.org/project/confuse/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/pyyaml[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest +distutils_enable_sphinx docs \ + 'dev-python/sphinx-rtd-theme' + +PATCHES=( + # https://github.com/beetbox/confuse/commit/ed79b4b9f53fe99293139c18f053168e564508b8 + "${FILESDIR}/${P}-py314.patch" +) diff --git a/dev-python/confuse/files/confuse-2.0.1-py314.patch b/dev-python/confuse/files/confuse-2.0.1-py314.patch new file mode 100644 index 000000000000..4fcc733df26b --- /dev/null +++ b/dev-python/confuse/files/confuse-2.0.1-py314.patch @@ -0,0 +1,42 @@ +From ed79b4b9f53fe99293139c18f053168e564508b8 Mon Sep 17 00:00:00 2001 +From: wisp3rwind <17089248+wisp3rwind@users.noreply.github.com> +Date: Thu, 17 Apr 2025 22:35:06 +0200 +Subject: [PATCH] address deprecation of pkgutil.get_loader + +Closes https://github.com/beetbox/confuse/issues/165 +--- + confuse/util.py | 12 +++++++++--- + 1 file changed, 9 insertions(+), 3 deletions(-) + +diff --git a/confuse/util.py b/confuse/util.py +index c27e161..a3f6e62 100644 +--- a/confuse/util.py ++++ b/confuse/util.py +@@ -1,9 +1,9 @@ ++import importlib.util + import os + import sys + import argparse + import optparse + import platform +-import pkgutil + + + UNIX_DIR_FALLBACK = '~/.config' +@@ -114,8 +114,14 @@ def find_package_path(name): + None if the path could not be identified (e.g., if + ``name == "__main__"``). + """ +- # Based on get_root_path from Flask by Armin Ronacher. +- loader = pkgutil.get_loader(name) ++ # Based on get_root_path from Flask by Armin Ronacher, cf. ++ # https://github.com/pallets/flask/blob/85c5d93cbd049c4bd0679c36fd1ddcae8c37b642/src/flask/helpers.py#L570 ++ try: ++ spec = importlib.util.find_spec(name) ++ except (ImportError, ValueError): ++ return None ++ ++ loader = spec.loader + if loader is None or name == '__main__': + return None + diff --git a/dev-python/csvkit/Manifest b/dev-python/csvkit/Manifest index a008b27aeb0f..d08d6c033ae6 100644 --- a/dev-python/csvkit/Manifest +++ b/dev-python/csvkit/Manifest @@ -1 +1,2 @@ DIST csvkit-2.1.0.tar.gz 3820430 BLAKE2B fc3ad12ecb8cedf69c41263733939c2bee4755076a227b50e60704a59f74bdca8e8280bc240fc22d11aaed6066f0f0abac7afad5a2c6e8a6187604416308b187 SHA512 7f34b346179b71bbb6519c8c58d5caf5c5a861997a249f2c438af3957c6beb913b5f7a3e05a0ae00754a0eba3314f86aba4d5f599ad04497e7a8df79be8c35b4 +DIST csvkit-2.1.0.tar.gz.provenance 9020 BLAKE2B 8c613a0f1d3d3893510ad72c2108ef28d1bb5769be8b906d6e7e2494ba18fdbaefb71a9640e4e6a162d8c37675b18d4142b0b74d95d10eda8643e3b1320155f9 SHA512 8a536702e427e57b6cbc6410948ec885def9af1ad52df58b11c83df921fe4a3a6ee89c138c9294aa6441106c7b579b802ad3cc9706802aa3617b149eae49ce0c diff --git a/dev-python/csvkit/csvkit-2.1.0-r1.ebuild b/dev-python/csvkit/csvkit-2.1.0-r1.ebuild new file mode 100644 index 000000000000..46b0841bebeb --- /dev/null +++ b/dev-python/csvkit/csvkit-2.1.0-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/wireservice/csvkit +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A suite of utilities for converting to and working with CSV" +HOMEPAGE=" + https://github.com/wireservice/csvkit/ + https://pypi.org/project/csvkit/ +" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/agate-1.12.0[${PYTHON_USEDEP}] + >=dev-python/agate-excel-0.4.0[${PYTHON_USEDEP}] + >=dev-python/agate-dbf-0.2.3[${PYTHON_USEDEP}] + >=dev-python/agate-sql-0.7.0[${PYTHON_USEDEP}] + dev-python/openpyxl[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/xlrd[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/zstandard[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +PATCHES=( + # https://github.com/wireservice/csvkit/commit/de4ec58126e3341e4cf8c54735c297d6496fecf5 + "${FILESDIR}/${P}-py314.patch" +) + +python_test() { + local EPYTEST_DESELECT=( + # fails depending on locale, let's not force en_US + tests/test_utilities/test_csvstat.py::TestCSVStat::test_decimal_format + ) + local -x LC_ALL=C.UTF-8 + epytest +} diff --git a/dev-python/csvkit/files/csvkit-2.1.0-py314.patch b/dev-python/csvkit/files/csvkit-2.1.0-py314.patch new file mode 100644 index 000000000000..76daa627005c --- /dev/null +++ b/dev-python/csvkit/files/csvkit-2.1.0-py314.patch @@ -0,0 +1,24 @@ +From de4ec58126e3341e4cf8c54735c297d6496fecf5 Mon Sep 17 00:00:00 2001 +From: James McKinney <26463+jpmckinney@users.noreply.github.com> +Date: Mon, 9 Jun 2025 23:51:26 -0400 +Subject: [PATCH] fix: Set ArgumentParser(prog=) for Python 3.14, #1284 (bis) + +--- + csvkit/cli.py | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/csvkit/cli.py b/csvkit/cli.py +index a1bde8018..a1ad1bff8 100644 +--- a/csvkit/cli.py ++++ b/csvkit/cli.py +@@ -163,7 +163,9 @@ def _init_common_parser(self): + whose single-letter form is contained in 'omitflags' will be left out of the configured parser. Use 'f' for + file. + """ +- self.argparser = argparse.ArgumentParser(description=self.description, epilog=self.epilog) ++ self.argparser = argparse.ArgumentParser( ++ prog=type(self).__name__.lower(), description=self.description, epilog=self.epilog ++ ) + + # Input + if 'f' not in self.override_flags: diff --git a/dev-python/dns-lexicon/dns-lexicon-3.21.1.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.21.1.ebuild index e183e70877c3..84c66cfc5113 100644 --- a/dev-python/dns-lexicon/dns-lexicon-3.21.1.ebuild +++ b/dev-python/dns-lexicon/dns-lexicon-3.21.1.ebuild @@ -39,6 +39,7 @@ BDEPEND=" ) " +EPYTEST_PLUGINS=() EPYTEST_XDIST=1 distutils_enable_tests pytest diff --git a/dev-python/doit-py/doit-py-0.5.0-r1.ebuild b/dev-python/doit-py/doit-py-0.5.0-r1.ebuild index a12b59b92870..dbc0027234c0 100644 --- a/dev-python/doit-py/doit-py-0.5.0-r1.ebuild +++ b/dev-python/doit-py/doit-py-0.5.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -34,4 +34,5 @@ BDEPEND=" " distutils_enable_sphinx doc +EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/dev-python/emcee/emcee-3.1.6.ebuild b/dev-python/emcee/emcee-3.1.6.ebuild index 62ea8dec81a5..61e48d7d673a 100644 --- a/dev-python/emcee/emcee-3.1.6.ebuild +++ b/dev-python/emcee/emcee-3.1.6.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..14} ) -inherit distutils-r1 multiprocessing pypi +inherit distutils-r1 pypi DESCRIPTION="Python ensemble sampling toolkit for affine-invariant MCMC" HOMEPAGE=" @@ -29,11 +29,12 @@ RDEPEND=" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] dev-python/scipy[${PYTHON_USEDEP}] ) " +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 distutils_enable_tests pytest DOCS=( AUTHORS.rst README.rst ) @@ -43,8 +44,3 @@ src_prepare() { sed -i -e '/wheel/d' setup.py || die distutils-r1_src_prepare } - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/expecttest/expecttest-0.3.0.ebuild b/dev-python/expecttest/expecttest-0.3.0.ebuild index 516359412884..864da75d7f06 100644 --- a/dev-python/expecttest/expecttest-0.3.0.ebuild +++ b/dev-python/expecttest/expecttest-0.3.0.ebuild @@ -2,14 +2,21 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..14} ) + DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..14} ) + inherit distutils-r1 DESCRIPTION="golden tests" -HOMEPAGE="https://github.com/pytorch/expecttest" -SRC_URI="https://github.com/pytorch/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz" +HOMEPAGE=" + https://github.com/pytorch/expecttest/ + https://pypi.org/project/expecttest/ +" +SRC_URI=" + https://github.com/pytorch/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" LICENSE="MIT" SLOT="0" @@ -17,15 +24,12 @@ KEYWORDS="~amd64" IUSE="test" RESTRICT="!test? ( test )" -BDEPEND="test? ( - dev-python/flake8[${PYTHON_USEDEP}] - dev-python/mypy[${PYTHON_USEDEP}] +BDEPEND=" + test? ( dev-python/hypothesis[${PYTHON_USEDEP}] ) " python_test() { - flake8 || die - mypy --exclude=smoketests . || die - ${EPYTHON} test_expecttest.py || die + "${EPYTHON}" test_expecttest.py -v || die } diff --git a/dev-python/fasteners/Manifest b/dev-python/fasteners/Manifest index 2b4a392adeda..1be69d6f006e 100644 --- a/dev-python/fasteners/Manifest +++ b/dev-python/fasteners/Manifest @@ -1,2 +1 @@ -DIST fasteners-0.19.gh.tar.gz 43188 BLAKE2B c30f4dc3da6605aa2552f58ae1071b51efefe2aea59ca8815fd50eebdbe7e826756cd9923485d6fb99dcc39196def485f4c1346a234bc7af09e2426c84b6a0d3 SHA512 47db216ff5bad5c669ca2d9be0ee09feba4a3d55ed0eac8d3623bd3d112b0b87fb9019f8785d035ec32ad9fa9e4ae7d1c92a576c97eec29acc82711d7e71a465 DIST fasteners-0.20.gh.tar.gz 42740 BLAKE2B 89d3f3432bff3ec6716a96b51867227a4cebfe05cb8ed9554480dbcc0d31b2afa1d173b3dd4cf786688f74e994c6ab390c77898fc045b5636d10ab626103e57c SHA512 539ce5b16f70a73fe6b7296a1bab3b751eff7b7385b980eba3e4d6e42eb263448fd074f325529a30d982e1c366a122aef46bc359578a370ef1278225c09a5f71 diff --git a/dev-python/fasteners/fasteners-0.19.ebuild b/dev-python/fasteners/fasteners-0.19.ebuild deleted file mode 100644 index b52e555f3d9e..000000000000 --- a/dev-python/fasteners/fasteners-0.19.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="Python package that provides useful locks" -HOMEPAGE=" - https://github.com/harlowja/fasteners/ - https://pypi.org/project/fasteners/ -" -SRC_URI=" - https://github.com/harlowja/fasteners/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" - -BDEPEND=" - test? ( - dev-python/diskcache[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - tests/test_eventlet.py -) diff --git a/dev-python/fs/fs-2.4.16-r1.ebuild b/dev-python/fs/fs-2.4.16-r1.ebuild index 1a75800e2775..19620f5e0cbf 100644 --- a/dev-python/fs/fs-2.4.16-r1.ebuild +++ b/dev-python/fs/fs-2.4.16-r1.ebuild @@ -4,15 +4,15 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools +# py3.14: https://github.com/PyFilesystem/pyfilesystem2/issues/596 PYTHON_COMPAT=( python3_{10..14} ) inherit distutils-r1 optfeature pypi DESCRIPTION="Filesystem abstraction layer" HOMEPAGE=" + https://github.com/PyFilesystem/pyfilesystem2/ https://pypi.org/project/fs/ - https://docs.pyfilesystem.org/ - https://www.willmcgugan.com/tag/fs/ " LICENSE="MIT" @@ -34,6 +34,7 @@ BDEPEND=" " distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/recommonmark +EPYTEST_PLUGINS=() distutils_enable_tests pytest EPYTEST_IGNORE=( diff --git a/dev-python/fs/metadata.xml b/dev-python/fs/metadata.xml index a47158bf2aeb..767c85598c81 100644 --- a/dev-python/fs/metadata.xml +++ b/dev-python/fs/metadata.xml @@ -10,7 +10,6 @@ <email>will@willmcgugan.com</email> <name>Will McGugan</name> </maintainer> - <doc>https://docs.pyfilesystem.org/</doc> </upstream> <origin>gentoo-staging</origin> <stabilize-allarches/> diff --git a/dev-python/fuzzywuzzy/fuzzywuzzy-0.18.0-r1.ebuild b/dev-python/fuzzywuzzy/fuzzywuzzy-0.18.0-r1.ebuild index b2a0d8d4f948..db613f5b06b5 100644 --- a/dev-python/fuzzywuzzy/fuzzywuzzy-0.18.0-r1.ebuild +++ b/dev-python/fuzzywuzzy/fuzzywuzzy-0.18.0-r1.ebuild @@ -28,4 +28,5 @@ BDEPEND=" ) " +EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/dev-python/github3-py/github3-py-4.0.1.ebuild b/dev-python/github3-py/github3-py-4.0.1.ebuild index ff562ecb4c27..1dcec48944d1 100644 --- a/dev-python/github3-py/github3-py-4.0.1.ebuild +++ b/dev-python/github3-py/github3-py-4.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -38,6 +38,8 @@ BDEPEND=" ) " +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 distutils_enable_tests pytest python_test() { diff --git a/dev-python/griddataformats/griddataformats-1.0.2.ebuild b/dev-python/griddataformats/griddataformats-1.0.2.ebuild index fff788c959e2..dca788fb2ba4 100644 --- a/dev-python/griddataformats/griddataformats-1.0.2.ebuild +++ b/dev-python/griddataformats/griddataformats-1.0.2.ebuild @@ -27,4 +27,5 @@ RDEPEND=" dev-python/six[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/dev-python/grpclib/grpclib-0.4.8.ebuild b/dev-python/grpclib/grpclib-0.4.8.ebuild index a2a52f0ed4ae..6a73b39392bc 100644 --- a/dev-python/grpclib/grpclib-0.4.8.ebuild +++ b/dev-python/grpclib/grpclib-0.4.8.ebuild @@ -4,6 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools +# py3.14: https://github.com/vmagamedov/grpclib/pull/208 PYTHON_COMPAT=( python3_{10..14} ) inherit distutils-r1 @@ -34,11 +35,10 @@ RDEPEND=" BDEPEND=" test? ( dev-python/async-timeout[${PYTHON_USEDEP}] - dev-python/faker[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] ) " +EPYTEST_PLUGINS=( faker pytest-asyncio ) distutils_enable_tests pytest PATCHES=( diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest index 6fdb967d8cda..a866155e91f4 100644 --- a/dev-python/h5py/Manifest +++ b/dev-python/h5py/Manifest @@ -1,3 +1,2 @@ DIST h5py-3.14.0.tar.gz 424323 BLAKE2B 4e8a2f78859aa4a9647a06f9319e79bc7f46d35029c02f7814d6c72fd2211c1d4c0cecdd7c14c3afc77a507e0bf98ef78009b2716f2d9cdbb152dd1578677088 SHA512 54e0054a542c8b62da90e15c110a153cc0cadc6cba1914074d35a6380f8b270ba051de860feb7e31c2ee3d4f09903e456c94e9faa3570764af0e36c480e1c44e -DIST h5py-3.15.0.tar.gz 425986 BLAKE2B f591276161d8c48e66c0678dd4bee88303816b21059c6a83540a69ae4c7890cf02f0dd3a1f81fc168339531319b014a7e24e33d5fc079b57bce401be7a085bbd SHA512 76a382bcfd5805e1a72a3770f1bf60851786642c7cad69021b02f850453e740ab26cd6de032ab0759113b9d2ad6e79f38492779c9acf83491123561dac9d2c6d DIST h5py-3.15.1.tar.gz 426236 BLAKE2B ede4864e8f24a3400dc4b4c7708894fb1d673b9e68465016a488d0700e463fb70fbf5f867e3f36d7fbace74ba13463b5933995b556f5deca4ac97c6442870f49 SHA512 db86c2b41823f9adfcd77b8f18ff9c0e3d6a5074cf3b547dd7353075d5edd948e58bd6c5e982a48e8985872d629107e3dca1efb7c5964510fc4b564eefde2fcb diff --git a/dev-python/h5py/h5py-3.15.0.ebuild b/dev-python/h5py/h5py-3.15.0.ebuild deleted file mode 100644 index bee8df0027bc..000000000000 --- a/dev-python/h5py/h5py-3.15.0.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Simple Python interface to HDF5 files" -HOMEPAGE=" - https://www.h5py.org/ - https://github.com/h5py/h5py/ - https://pypi.org/project/h5py/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" -IUSE="examples" - -DEPEND=" - >=dev-python/numpy-1.21.2:=[${PYTHON_USEDEP}] - >=sci-libs/hdf5-1.10.4:=[hl(+)] -" -RDEPEND=" - ${DEPEND} -" - -BDEPEND=" - >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}] - >=dev-python/pkgconfig-1.5.5[${PYTHON_USEDEP}] - >=dev-python/setuptools-77.0.1[${PYTHON_USEDEP}] - test? ( - dev-python/qtpy[testlib,${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/sphinx-rtd-theme - -python_prepare_all() { - # avoid pytest-mpi dep, we do not use mpi anyway - sed -i -e 's:pytest-mpi::' pytest.ini || die - distutils-r1_python_prepare_all - - export H5PY_SETUP_REQUIRES=0 -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - epytest -m "not mpi" -} - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/hashin/hashin-1.0.5.ebuild b/dev-python/hashin/hashin-1.0.5.ebuild index 0d240248f0c5..c3f4bd2a012e 100644 --- a/dev-python/hashin/hashin-1.0.5.ebuild +++ b/dev-python/hashin/hashin-1.0.5.ebuild @@ -9,18 +9,19 @@ PYTHON_COMPAT=( python3_{10..14} ) inherit distutils-r1 pypi DESCRIPTION="Adds hashed entries for packages to requirements.txt" -HOMEPAGE="https://github.com/peterbe/hashin" +HOMEPAGE=" + https://github.com/peterbe/hashin/ + https://pypi.org/project/hashin/ +" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] dev-python/pip[${PYTHON_USEDEP}] " -RESTRICT="!test? ( test )" - +EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/dev-python/jupyter-console/jupyter-console-6.6.3-r1.ebuild b/dev-python/jupyter-console/jupyter-console-6.6.3-r1.ebuild new file mode 100644 index 000000000000..3f829c797217 --- /dev/null +++ b/dev-python/jupyter-console/jupyter-console-6.6.3-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A terminal-based console frontend for Jupyter kernels" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/jupyter_console/ + https://pypi.org/project/jupyter-console/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/ipykernel-6.14[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + >=dev-python/jupyter-client-7.0.0[${PYTHON_USEDEP}] + >=dev-python/jupyter-core-5.1.0[${PYTHON_USEDEP}] + >=dev-python/prompt-toolkit-3.0.30[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.4[${PYTHON_USEDEP}] +" +# util-linux provides script(1) +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + sys-apps/util-linux + ) +" + +EPYTEST_PLUGINS=( flaky ) +distutils_enable_tests pytest diff --git a/dev-python/jupyter-kernel-test/jupyter-kernel-test-0.7.0.ebuild b/dev-python/jupyter-kernel-test/jupyter-kernel-test-0.7.0.ebuild index c2079eb1234d..5ff2abbc0063 100644 --- a/dev-python/jupyter-kernel-test/jupyter-kernel-test-0.7.0.ebuild +++ b/dev-python/jupyter-kernel-test/jupyter-kernel-test-0.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/jupyter-lsp/jupyter-lsp-2.3.0-r1.ebuild b/dev-python/jupyter-lsp/jupyter-lsp-2.3.0-r1.ebuild new file mode 100644 index 000000000000..1d4c21403204 --- /dev/null +++ b/dev-python/jupyter-lsp/jupyter-lsp-2.3.0-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab" +HOMEPAGE=" + https://github.com/jupyter-lsp/jupyterlab-lsp + https://pypi.org/project/jupyter-lsp/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/entrypoints[${PYTHON_USEDEP}] + >=dev-python/jupyter-server-1.1.2[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # hangs + jupyter_lsp/tests/test_auth.py + # Not packaged + jupyter_lsp/tests/test_detect.py::test_r_package_detection + "jupyter_lsp/tests/test_listener.py::test_listeners[bash-language-server]" + "jupyter_lsp/tests/test_listener.py::test_listeners[dockerfile-language-server-nodejs]" + "jupyter_lsp/tests/test_listener.py::test_listeners[pylsp]" + "jupyter_lsp/tests/test_listener.py::test_listeners[r-languageserver]" + "jupyter_lsp/tests/test_listener.py::test_listeners[sql-language-server]" + "jupyter_lsp/tests/test_listener.py::test_listeners[typescript-language-server]" + "jupyter_lsp/tests/test_listener.py::test_listeners[unified-language-server]" + "jupyter_lsp/tests/test_listener.py::test_listeners[vscode-css-languageserver-bin]" + "jupyter_lsp/tests/test_listener.py::test_listeners[vscode-html-languageserver-bin]" + "jupyter_lsp/tests/test_listener.py::test_listeners[vscode-json-languageserver-bin]" + "jupyter_lsp/tests/test_listener.py::test_listeners[yaml-language-server]" + "jupyter_lsp/tests/test_session.py::test_start_known[bash-language-server]" + "jupyter_lsp/tests/test_session.py::test_start_known[dockerfile-language-server-nodejs]" + "jupyter_lsp/tests/test_session.py::test_start_known[pylsp]" + "jupyter_lsp/tests/test_session.py::test_start_known[r-languageserver]" + "jupyter_lsp/tests/test_session.py::test_start_known[sql-language-server]" + "jupyter_lsp/tests/test_session.py::test_start_known[typescript-language-server]" + "jupyter_lsp/tests/test_session.py::test_start_known[unified-language-server]" + "jupyter_lsp/tests/test_session.py::test_start_known[vscode-css-languageserver-bin]" + "jupyter_lsp/tests/test_session.py::test_start_known[vscode-html-languageserver-bin]" + "jupyter_lsp/tests/test_session.py::test_start_known[vscode-json-languageserver-bin]" + "jupyter_lsp/tests/test_session.py::test_start_known[yaml-language-server]" + + # TODO + 'jupyter_lsp/tests/test_session.py::test_start_unknown[foo-language-server]' + jupyter_lsp/tests/test_session.py::test_substitute_env +) + +python_prepare_all() { + # Do not depend on pytest-cov or flake8 + sed -i -e '/--cov/d' -e '/--flake8/d' setup.cfg || die + + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} + +pkg_postinst() { + optfeature "Language server for Python" dev-python/python-lsp-server +} diff --git a/dev-python/jupyter-server-mathjax/jupyter-server-mathjax-0.2.6-r1.ebuild b/dev-python/jupyter-server-mathjax/jupyter-server-mathjax-0.2.6-r1.ebuild new file mode 100644 index 000000000000..a910a8df4343 --- /dev/null +++ b/dev-python/jupyter-server-mathjax/jupyter-server-mathjax-0.2.6-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="MathJax resources as a Jupyter Server Extension" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter-server/jupyter_server_mathjax/ + https://pypi.org/project/jupyter-server-mathjax/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/jupyter-server-1.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/jupyter-packaging[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-{jupyter,tornasync} ) +distutils_enable_tests pytest + +python_prepare_all() { + # Don't try (and fail) to fetch things from the internet with npm + # https://bugs.gentoo.org/820317 + sed -i -e '/cmdclass=cmdclass/d' setup.py || die + + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/meshio/meshio-5.3.5-r1.ebuild b/dev-python/meshio/meshio-5.3.5-r1.ebuild index 9da119b7ccf7..31728dafe998 100644 --- a/dev-python/meshio/meshio-5.3.5-r1.ebuild +++ b/dev-python/meshio/meshio-5.3.5-r1.ebuild @@ -29,6 +29,7 @@ BDEPEND=" test? ( dev-python/h5py[${PYTHON_USEDEP}] ) " +EPYTEST_PLUGINS=() distutils_enable_tests pytest PATCHES=( diff --git a/dev-python/metakernel/metakernel-0.30.3.ebuild b/dev-python/metakernel/metakernel-0.30.3.ebuild index 95ea50127dbb..e22f41815403 100644 --- a/dev-python/metakernel/metakernel-0.30.3.ebuild +++ b/dev-python/metakernel/metakernel-0.30.3.ebuild @@ -30,11 +30,11 @@ BDEPEND=" test? ( dev-python/jupyter-kernel-test[${PYTHON_USEDEP}] dev-python/pydot[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] ) " +EPYTEST_PLUGINS=( pytest-timeout ) distutils_enable_tests pytest EPYTEST_DESELECT=( diff --git a/dev-python/mkdocs-htmlproofer-plugin/Manifest b/dev-python/mkdocs-htmlproofer-plugin/Manifest index 0a080f6cf03c..b3a02b6c2bd5 100644 --- a/dev-python/mkdocs-htmlproofer-plugin/Manifest +++ b/dev-python/mkdocs-htmlproofer-plugin/Manifest @@ -1 +1,2 @@ DIST mkdocs-htmlproofer-plugin-1.3.0.gh.tar.gz 16017 BLAKE2B 603f8c80ff5539c9495876e5eaa1701a3f2a2f8ef098be3bc1f85c522103cf5d578cfc4b89748f0da2242d4d0953e8dc5a223c211a691f2ac7ddbb300fad04c5 SHA512 ab8f34bea6c76879cf9a55780425cef24ad45d7c9a606999066003d9e4ad3446f5c9bcfcc96cce6946da1368dfb2788a08bbea228c8485611750dc2f67dd0c5e +DIST mkdocs-htmlproofer-plugin-1.4.0.gh.tar.gz 16335 BLAKE2B d34181c6c408b02250a544b9c86497466483006711b8c76af42402781b1159007761d16b6d86a8d18a650acc0878ff07f94a76ac0ddc2b05d439fe01606c21fd SHA512 ed1f57be886d15907746f4bb6c40144c4c30b7179346bbd0197845a3f5038f26e7dba0d907fee7d561dd7c9012408386666d179b9ee9c36945c6660859578d77 diff --git a/dev-python/mkdocs-htmlproofer-plugin/mkdocs-htmlproofer-plugin-1.4.0.ebuild b/dev-python/mkdocs-htmlproofer-plugin/mkdocs-htmlproofer-plugin-1.4.0.ebuild new file mode 100644 index 000000000000..e5264ca38ffc --- /dev/null +++ b/dev-python/mkdocs-htmlproofer-plugin/mkdocs-htmlproofer-plugin-1.4.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="A MkDocs plugin that validates URLs in rendered HTML files" +HOMEPAGE=" + https://github.com/manuzhang/mkdocs-htmlproofer-plugin/ + https://pypi.org/project/mkdocs-htmlproofer-plugin/ +" +# No tests in PyPI tarballs +SRC_URI=" + https://github.com/manuzhang/mkdocs-htmlproofer-plugin/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.4.0[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest index 3154729a917e..3b7e689930c6 100644 --- a/dev-python/pysnmp/Manifest +++ b/dev-python/pysnmp/Manifest @@ -1 +1,2 @@ DIST pysnmp-7.1.21.gh.tar.gz 471713 BLAKE2B 11223cc35043aee87b527438152f17af7920c8ac8364bcaa4bb97ae2f53f6e0f93861ce2f5fa0cbe84eb4661b63871304e22320d4327aed89869a25a3c4b1458 SHA512 65e609690d08b2db8ab497fa4a974e4bc90630891ff80b28351e74d17f1da654a0aa309226658731ad315cce192c6e9e36d9bcbbf87270c9c48dc187df36b03a +DIST pysnmp-7.1.22.gh.tar.gz 463898 BLAKE2B 3e43fe160757b251fc01a2d1f71435d9e32037611361f06fa66ca3e968079ed68c646210c41593543c28a28f312c19ad7905447dc91e37c515aa9d0ba1d7b05d SHA512 f77690c2f269e76c8a2f556e86207af9ccb1ecf608f1748e2fad1e01b0795b133019957e6956027a394cd7c36f45e105eb89ef3a71750266f6839bcdfc49cb95 diff --git a/dev-python/pysnmp/pysnmp-7.1.22.ebuild b/dev-python/pysnmp/pysnmp-7.1.22.ebuild new file mode 100644 index 000000000000..e9d36c43cd90 --- /dev/null +++ b/dev-python/pysnmp/pysnmp-7.1.22.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="Python SNMP library" +HOMEPAGE=" + https://pypi.org/project/pysnmp/ + https://github.com/lextudio/pysnmp/ +" +SRC_URI=" + https://github.com/lextudio/pysnmp/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86" +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + >=dev-python/cryptography-43.0.1[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.4.8[${PYTHON_USEDEP}] + >=dev-python/pysmi-1.5.7[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest +# TODO +# distutils_enable_sphinx docs/source dev-python/furo dev-python/sphinx-copybutton dev-python/sphinx-sitemap + +python_test() { + local EPYTEST_DESELECT=( + # TODO + tests/smi/manager/test_mib-tree-inspection.py::test_getNodeName_by_symbol_description_with_module_name_2 + ) + + mibdump CISCO-ENHANCED-IPSEC-FLOW-MIB.py || die + mibdump LEXTUDIO-TEST-MIB || die + mibdump NET-SNMP-EXAMPLES-MIB || die + mibdump IF-MIB || die + epytest +} diff --git a/dev-python/serpent/Manifest b/dev-python/serpent/Manifest index fec16e65087b..21088242dc31 100644 --- a/dev-python/serpent/Manifest +++ b/dev-python/serpent/Manifest @@ -1 +1,2 @@ DIST serpent-1.41.tar.gz 88927 BLAKE2B 738c0e3ff3ff908514a54523aa41bcda3aa4426d0426037a0223ddb744995bf9175de96df2372506aaf45de664897e35cd7292b9aa58beab146f225ce02864f1 SHA512 cab6f9e36d2f777e58cd5f3d1dd6e11626e0f222ecb2adb8e5997338c76ed357c461dadd00010cfd43ffc6a0b1addd7de06d86b7a82ca796719e4bde2d9f4813 +DIST serpent-1.42.tar.gz 90352 BLAKE2B 1b1f8eb284c395134f48ebf5d5db3816f91e06bc8b2333971d71b4ec9ba0d883e6ecd999afa8a857f91a9559bd828378fe24cfc8c217f38f6274583d66c5f7af SHA512 a01b68ccb59d8f4b2b6d2dad031429ce7ffc81c6f64bc7fcc464e38205f2caba3be879facefe0f6e33d1c66e515c7dc19b7cb5d68d829d01dd488b3bccdb2596 diff --git a/dev-python/serpent/serpent-1.42.ebuild b/dev-python/serpent/serpent-1.42.ebuild new file mode 100644 index 000000000000..c5b59bffc9e7 --- /dev/null +++ b/dev-python/serpent/serpent-1.42.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A simple serialization library based on ast.literal_eval" +HOMEPAGE=" + https://github.com/irmen/Serpent/ + https://pypi.org/project/serpent/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_test() { + eunittest tests +} diff --git a/dev-python/spyder-kernels/Manifest b/dev-python/spyder-kernels/Manifest index 0d866e8b4252..5acaacf4de00 100644 --- a/dev-python/spyder-kernels/Manifest +++ b/dev-python/spyder-kernels/Manifest @@ -1,3 +1,2 @@ DIST spyder-kernels-3.0.5.gh.tar.gz 240411 BLAKE2B 28600b359fc12f8b3ffe01545a98b2fd3ec7f832e7ca5aa58f809825d7f1060ecc5929a72d615c2543b6b34685ee03b521cd087dd58725315a68e1188b72cd3c SHA512 4aaf57e7e4dc7c985f2c0e64aad6080370f1cf012ef72f49dcaaa5daed4b6b5e0c5cbcde88e127b136c87e3ae17314212dd56f89801edd87382da8d06caa9662 -DIST spyder-kernels-3.1.0.gh.tar.gz 245742 BLAKE2B e1a8af48aa7436957cb81a785b0a8f6a67c7edd623a4070371cfbe7a57790e9cebd62fc3cd9d4a0ddb60dcbe3c5fef01df0bad19f48cba9dd2299ef09f46871b SHA512 26b95548c4f6b27e22d9624ea2a9af9a1c3685fea6ca2ee2e88a6f9e0e2c983f3abf1ae649c991d72ad898f87c20ae1b75c5876f2297df41b9c28cfd3f3a03f0 DIST spyder-kernels-3.1.1.gh.tar.gz 246032 BLAKE2B d48e6eb5ca9268f2a66204c5c50359cea155b3ca3431bb8cecedd2cbffeff33eddc7e1d02be1963986efa2f0944407f8b0246fce953e85bab58bb91a493bc286 SHA512 69cdeb12f1352f782220ebad3f3f9db2386235149c56f646d5668822ee7a3074a9cfe1e27ea7dd1fc18a6ae2f4cf8e648dd3f65006af89ef43f40848bc21199c diff --git a/dev-python/spyder-kernels/spyder-kernels-3.1.0.ebuild b/dev-python/spyder-kernels/spyder-kernels-3.1.0.ebuild deleted file mode 100644 index b9dbf1a20ce0..000000000000 --- a/dev-python/spyder-kernels/spyder-kernels-3.1.0.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -MY_P=${P/_beta/b} -DESCRIPTION="Kernels used by spyder on its ipython console" -HOMEPAGE=" - https://github.com/spyder-ide/spyder-kernels/ - https://pypi.org/project/spyder-kernels/ -" -SRC_URI="https://github.com/spyder-ide/${PN}/archive/refs/tags/v${PV/_beta/b}.tar.gz -> ${MY_P}.gh.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/cloudpickle[${PYTHON_USEDEP}] - <dev-python/ipykernel-7[${PYTHON_USEDEP}] - >=dev-python/ipykernel-6.29.3[${PYTHON_USEDEP}] - <dev-python/ipython-10[${PYTHON_USEDEP}] - >=dev-python/ipython-9.5.0[${PYTHON_USEDEP}] - <dev-python/jupyter-client-9[${PYTHON_USEDEP}] - >=dev-python/jupyter-client-7.4.9[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pyxdg-0.26[${PYTHON_USEDEP}] - >=dev-python/pyzmq-24.0.0[${PYTHON_USEDEP}] - >=dev-python/traitlets-5.14.3[${PYTHON_USEDEP}] - >=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-python/cython[${PYTHON_USEDEP}] - dev-python/django[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/h5py[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/xarray[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -EPYTEST_PLUGINS=( anyio pytest-rerunfailures ) -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # pydicom only packaged in ::sci at the moment - spyder_kernels/utils/tests/test_iofuncs.py::test_load_dicom_files - - # require polars - spyder_kernels/console/tests/test_console_kernel.py::test_get_value_with_polars - spyder_kernels/utils/tests/test_nsview.py::test_polars_dataframe - ) - local EPYTEST_IGNORE=() - - if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( - # require pandas - spyder_kernels/utils/tests/test_nsview.py - ) - fi - - if ! has_version "dev-python/h5py[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - # require hdf5 - spyder_kernels/utils/tests/test_iofuncs.py::test_save_load_hdf5_files - spyder_kernels/utils/tests/test_dochelpers.py - ) - fi - - epytest -} diff --git a/dev-python/zope-schema/Manifest b/dev-python/zope-schema/Manifest index 21f0e0105df4..ec7dc31d3714 100644 --- a/dev-python/zope-schema/Manifest +++ b/dev-python/zope-schema/Manifest @@ -1,2 +1,3 @@ DIST zope_schema-7.1.tar.gz 109864 BLAKE2B 26dccb457128df88700354f0b10895fb898e082010730c714ae8d116d5f85d66cefb5274a6202357a3316b8ae40ecf930fde1a2cd5a01d158926cef6732de822 SHA512 4a462e3e5897377a07f75f2f07a8fc116e7ccf94c4660207d2d0be0c5883f1eb339ec93489958da3019fe150459762a4d62062ac876b1dadbf7449e7899a18ca DIST zope_schema-8.0.tar.gz 109823 BLAKE2B d3f4b73037c8667ac494f1baa777797ad0f39e6c58367f3b222eaced9acc9156305503e2362df1ebca3dda5777d5bc6d05203da868482cb40cc3bafcc7ad4c81 SHA512 bc1dc2cfbbb5cf91627003d1cfd67c355d7a501935ab87cb73a745c3743be55a67369090d4286018a5e027774dd893532fd57636b62b331069bbee5d6ae7ec23 +DIST zope_schema-8.1.tar.gz 109902 BLAKE2B 1b55ec0e761b6a07668112c98297400b3fd0fcf73d4c8184adf88f8220e898d2f3fc147414b9b6b357fcb3c52a53f9016fef6442f614f7b56a0385b75c4995b5 SHA512 832541957c2c4222f044ba3bdd062b5a9cd6413b132df8066507299f0674fba919469acbab6d266ae4e0cde7f6ca676553c7083ee4b1413aa4c656379af639cb diff --git a/dev-python/zope-schema/zope-schema-8.1.ebuild b/dev-python/zope-schema/zope-schema-8.1.ebuild new file mode 100644 index 000000000000..19886883c2ba --- /dev/null +++ b/dev-python/zope-schema/zope-schema-8.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Zope schema Architecture" +HOMEPAGE=" + https://pypi.org/project/zope.schema/ + https://github.com/zopefoundation/zope.schema/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/zope-event[${PYTHON_USEDEP}] + >=dev-python/zope-interface-5.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/zope-i18nmessageid[${PYTHON_USEDEP}] + dev-python/zope-testing[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_test() { + eunittest -s "${BUILD_DIR}/install$(python_get_sitedir)/zope" +} |
