diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-03-10 18:55:20 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-03-10 18:55:20 +0000 |
| commit | 77be6c81c8aca17fcf3efb129a0d827ab379e86b (patch) | |
| tree | 2d0e84ffb3e6732c108a973223d72c86eecfe331 /dev-python | |
| parent | 21bc4b6ed6a0315868a4d850055160daccce7d89 (diff) | |
| download | baldeagleos-repo-77be6c81c8aca17fcf3efb129a0d827ab379e86b.tar.gz baldeagleos-repo-77be6c81c8aca17fcf3efb129a0d827ab379e86b.tar.xz baldeagleos-repo-77be6c81c8aca17fcf3efb129a0d827ab379e86b.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
41 files changed, 545 insertions, 287 deletions
diff --git a/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.5.0.ebuild b/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.5.0.ebuild index 9e041efe827a..61805d960b31 100644 --- a/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.5.0.ebuild +++ b/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.5.0.ebuild @@ -23,6 +23,7 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" BDEPEND=" + >=dev-python/poetry-core-2.0.0[${PYTHON_USEDEP}] test? ( >=dev-python/pytest-asyncio-0.23.2[${PYTHON_USEDEP}] ) diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index 707709d23497..6d5f907e5027 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1 +1,2 @@ DIST astroid-3.3.8.gh.tar.gz 467093 BLAKE2B 0f019e8569d7fff96d0c6e4025312d03ec518a3d7014b35bd381989d88b4ed4bb4c796597cbf6ee892ea25c03eeb9159e1f40791f20f9a27a0f8c2578d565a0c SHA512 b788815d07d6a9f5796a4e5d1c1d1df5ad9786c43b82c9f10719097bad01881c394352aaeada3171bfaf8fa72f1542efb1f75b88b8ea9164f96f4946654d00c6 +DIST astroid-3.3.9.gh.tar.gz 467796 BLAKE2B 6bca213d71de9599cb9102d4aa7f48f7df2b050875e9e566202e9ee700fd309064453a1b4df10d930abb1b4b32b9085ca1a6a569c68ab56c811d1fc51e3cba68 SHA512 c868f2b0da0c52cf827dd5c9e228f814fe307592eb9378968773d336ff412cd8186c826bd4b61e1329ef31e4efd9489d691d3db8a23d09b925354b2973cce943 diff --git a/dev-python/astroid/astroid-3.3.9.ebuild b/dev-python/astroid/astroid-3.3.9.ebuild new file mode 100644 index 000000000000..c8d0031ae039 --- /dev/null +++ b/dev-python/astroid/astroid-3.3.9.ebuild @@ -0,0 +1,96 @@ +# 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_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Abstract Syntax Tree for logilab packages" +HOMEPAGE=" + https://github.com/pylint-dev/astroid/ + https://pypi.org/project/astroid/ +" +SRC_URI=" + https://github.com/pylint-dev/astroid/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# Version specified in pyproject.toml +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +# dev-python/regex isn't available for pypy +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/numpy-1.17.0[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/regex[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local EPYTEST_IGNORE=() + local EPYTEST_DESELECT=( + # no clue why they're broken + tests/test_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part + tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils + # pydantic-2? + tests/brain/test_dataclasses.py::test_pydantic_field + # requires urllib3 with bundled six (skipped with urllib3>=2) + tests/test_modutils.py::test_file_info_from_modpath__SixMetaPathImporter + # hangs + tests/test_nodes.py::AsStringTest::test_recursion_error_trapped + # TODO + tests/test_builder.py::BuilderTest::test_data_build_error_filename + # numpy-2 (https://github.com/pylint-dev/astroid/issues/2442) + tests/brain/numpy/test_core_einsumfunc.py::test_numpy_function_calls_inferred_as_ndarray + tests/brain/numpy/test_core_fromnumeric.py::BrainNumpyCoreFromNumericTest::test_numpy_function_calls_inferred_as_ndarray + tests/brain/numpy/test_core_multiarray.py::BrainNumpyCoreMultiarrayTest::test_numpy_function_calls_inferred_as_ndarray + tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_datetime_astype_return + tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_generic_types_are_subscriptables + tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type + tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type_tuple + ) + + if ! has_version "dev-python/mypy[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_raw_building.py + ) + fi + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + tests/test_transforms.py::TestTransforms::test_transform_aborted_if_recursion_limited + ) + ;; + python3.13) + EPYTEST_DESELECT+=( + # changes in py3.13.0b4 + # https://github.com/pylint-dev/astroid/issues/2478 + tests/test_nodes.py::AsStringTest::test_f_strings + tests/test_nodes_lineno.py::TestLinenoColOffset::test_end_lineno_string + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/asyncstdlib/Manifest b/dev-python/asyncstdlib/Manifest index 8c15bc029f33..1613979fea4c 100644 --- a/dev-python/asyncstdlib/Manifest +++ b/dev-python/asyncstdlib/Manifest @@ -1,3 +1,2 @@ -DIST asyncstdlib-3.12.4.tar.gz 47279 BLAKE2B 855f4ebb5619ab4aec429b551fb410855da150916416636737c980712e981a8f3b7339f7691d4fa1ee3439911d6e0733ff2431a520d515b836b183848cfb3013 SHA512 33da70653166525009680cd78e6bb7dabb8518babb73caac26dbea9dbd0b73898d1ffe17755f1505dde1c6a3407c0a31743ea60a66af1b30a587ec39fc4014ff -DIST asyncstdlib-3.12.5.tar.gz 49063 BLAKE2B d956683758b605323e9c4c12b401e2f123c4ad7677e8b64fd3909a95d1f973b0eb1a6116cf01231b92209f0d75dac3ef6806f6938fc9e59e4d1e860ecc7e7f71 SHA512 cf93bb6f867ac7cbea7cb707d491bfbb4da3c09eb6916cdd383a896d3e9cec64a23216129a54e1b87796cdff7ae539a340d726c58b160175a745d98466e66c05 DIST asyncstdlib-3.13.0.tar.gz 49688 BLAKE2B 128ceb8ddd3c3b06285d6e2887b285f04485bff6fd32855f187f5b98e878d9bf6f53a0206b505cc440783f0649b31a8b69af8857f844526bbf791dc2e581265e SHA512 371d75bfa4b84451aa1a0cb3ece31fd36b97bad0b647bf62d2dbfa584227dd3e8409811b295f1d9c93cf33d6ee2ae8a1d4567b95c7bd368fe457416ea4d6981e +DIST asyncstdlib-3.13.1.tar.gz 49752 BLAKE2B 094f04325a1dbf0b6a354dcf2f89bc707a8ae1725c12888a88970b6f3e4e75ac70d60cf9f5198cc91736eb1e8bff97f7474e0dcf81de95887bb066cc305bbbb5 SHA512 53358cef42065d6f8eea264684ad5d1a748052740c58c51cc42fc26173dfadf03fea230a2d74e47328f40a23aa9c5f2764a9049cc687e9ddff7bf60827be0925 diff --git a/dev-python/asyncstdlib/asyncstdlib-3.12.5.ebuild b/dev-python/asyncstdlib/asyncstdlib-3.12.5.ebuild deleted file mode 100644 index d58a964d0827..000000000000 --- a/dev-python/asyncstdlib/asyncstdlib-3.12.5.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="The missing async toolbox" -HOMEPAGE=" - https://github.com/maxfischer2781/asyncstdlib/ - https://pypi.org/project/asyncstdlib/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -BDEPEND=" - test? ( - dev-python/typing-extensions[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/asyncstdlib/asyncstdlib-3.12.4.ebuild b/dev-python/asyncstdlib/asyncstdlib-3.13.1.ebuild index d58a964d0827..4fa53b7819ed 100644 --- a/dev-python/asyncstdlib/asyncstdlib-3.12.4.ebuild +++ b/dev-python/asyncstdlib/asyncstdlib-3.13.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2024 Gentoo Authors +# Copyright 2021-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/dns-lexicon/dns-lexicon-3.20.1.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.20.1.ebuild index cfdd9ab257ce..9bb74db2cb33 100644 --- a/dev-python/dns-lexicon/dns-lexicon-3.20.1.ebuild +++ b/dev-python/dns-lexicon/dns-lexicon-3.20.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" RDEPEND=" >=dev-python/beautifulsoup4-4[${PYTHON_USEDEP}] diff --git a/dev-python/findpython/Manifest b/dev-python/findpython/Manifest index a77674ff51ea..c9596cb75989 100644 --- a/dev-python/findpython/Manifest +++ b/dev-python/findpython/Manifest @@ -1,2 +1,2 @@ -DIST findpython-0.6.1.tar.gz 17797 BLAKE2B 22008769317bd769768e06f991031c2fdfe1135864fd2df0ddfc43f95b5098cd35f254b005e4f682b4866a035516560c58b59609edcf223536446e08372dcc1e SHA512 4b915dd5ce4e4ae9e09adeec5ef6118c44e8adbc4a629b8c97d8141c85635ef3152b4cfe6acbb89684183f0217e5835779c9091e7271670adaf74b941e17a125 DIST findpython-0.6.2.tar.gz 17770 BLAKE2B bf19d35231455253c46dc13b52a9d3756ddcd37e790127d41558d1a41936077fee4c7532f43f49eb12fc623f321ac9f5c265522681138b13654359fe98357da2 SHA512 f2ef799aad7c58455a398082a420937716fd19f12f509515f229108c3e3e4cc707d39aa410e8cd9aef69ee35f25227b11a6ad971348d71e776abf909321b92e0 +DIST findpython-0.6.3.tar.gz 17827 BLAKE2B 6ade39d51f8209192e703ee19510133c837bf3bd4d7897c2d83c1e0b50947c5646e264a72dc5287faf50ac10fbbd61cfe7721240365db8a04f89ac38e032023f SHA512 111a8b5895a122e6e845de5afdec7a476fabbfdc64af289417ec8c168b45fb0832a0a30e07abf48b6e63c74ff8938796509e3d9d8b8f97b3463427dd49203e80 diff --git a/dev-python/findpython/findpython-0.6.1.ebuild b/dev-python/findpython/findpython-0.6.3.ebuild index 4e520cc41934..d7df74c153ba 100644 --- a/dev-python/findpython/findpython-0.6.1.ebuild +++ b/dev-python/findpython/findpython-0.6.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023-2024 Gentoo Authors +# Copyright 2023-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index b3944c0a9ccf..b72619841139 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,2 +1,3 @@ DIST hypothesis-6.126.0.gh.tar.gz 9515798 BLAKE2B 8fbecef130bee50e856b4a3af9726d0bff759c1c8d69de9cff28387f87bc4aba72fc7b4944b9c1748c0b032de1556e197de5005ad193a61cc7d9f790f4975c5b SHA512 ee9e633c2f91c7d1a122515be0853c3aa9604db5ff79419c9ede646444c19d895b5cec8bb0dfed707b2b5a09c0899928643040c821e5b9dc47f46e19a18a0128 DIST hypothesis-6.127.9.gh.tar.gz 9519367 BLAKE2B 721494bf5f594811486436f839e9d2bec879e504b9243bd2767c4a7fb5554cd5b6dfbceeb666890edbae51eadbdb0f107af91ee2894fbdba458e7d0ea0d636d3 SHA512 ccd74f251f9eea7e1537483b5792998a1be7a676149a8fe2ed42ed58c64aad0d0bd0bb7fa482c18d1b9a1d875f172b6486a872d57161a3e44717ec1a0e1b9556 +DIST hypothesis-6.128.2.gh.tar.gz 9522813 BLAKE2B cc466d24bf45b5a0916f47d6a7ed124cd4e2532b9e79d8c879597fa6fb5fccfed7b410890318689b2cae6fce0357df19b97784725a38ef1408c06fe3696771b5 SHA512 c16a518d1bf59808ba7d95e863ad50fca68a7a58ab761f7b66f43c200ed5841f8ca2753dbb1af66bd7bc2b6210bef697412101812ae069c1ad21f6ac23b40ebd diff --git a/dev-python/hypothesis/hypothesis-6.128.2.ebuild b/dev-python/hypothesis/hypothesis-6.128.2.ebuild new file mode 100644 index 000000000000..08befcf116e3 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.128.2.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( pypy3 python3_{10..13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + python3.13) + EPYTEST_DESELECT+=( + # TODO + 'hypothesis-python/tests/cover/test_reflection.py::test_clean_source[case-5]' + ) + ;; + esac + + epytest -o filterwarnings= -p rerunfailures --reruns=5 \ + tests/cover tests/pytest tests/quality +} + +src_install() { + local HAD_CLI= + + distutils-r1_src_install + + if [[ ! ${HAD_CLI} ]]; then + rm -r "${ED}/usr/bin" || die + fi +} + +python_install() { + distutils-r1_python_install + if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + HAD_CLI=1 + else + rm -r "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index 37a64204a00a..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 56733bbffc48..eb2586280d80 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest index c741aae093c9..d68f26f9055b 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest @@ -1,3 +1,4 @@ DIST mkdocs-git-revision-date-localized-plugin-1.3.0.gh.tar.gz 378511 BLAKE2B e922d0ce5dd37f92c11a37d7c02a59fc776a1a4245823a2275c600c6348cc7f97a2a8b43919a5cdbe03e8b23623f0c7d22cf92eb728d6f11d7472db5b78e98a1 SHA512 6e6c085ae861382a932817264c00de55f94b8b09349c18206c1644487a7476d4494f0b451b31510de4ba3a5d4934514923521c8c4c5aca84a8183f5cd574177d DIST mkdocs-git-revision-date-localized-plugin-1.4.0.gh.tar.gz 383048 BLAKE2B 7e7b2fadb1b03409ad81c8a4d70e3a84e41a0b616f10d9ccb0eeed43e31e762478de5a598e5b1afa3466659fe60e9687b9fd2c5ad4ebd2ff3dc42e8d7005a66f SHA512 18d9e59d38cb54ea1aa8fef53d5dcf6cf680d209ad45fa66b0355a5691cf93a63affdccc9a4a5f07223e7d7bde1ed751e985a42f628acdf6d6a4cd8c0947a1a9 DIST mkdocs-git-revision-date-localized-plugin-1.4.1.gh.tar.gz 442856 BLAKE2B deb35deb9c9214a56e7f32b085908c9fcad1d77faaec79cdd674796fbf079161d63b5648efbd1914a0c34b1fee000bf29585cf66ec99c37e67a01281b0c3a8fa SHA512 1cf4237d2be3e1020d2771280738536b33c54da4557bf5e14fe84d545058673e5d3deefaa929efd62390d76f3bd86f29b00eeefbb720cdebcec9208b48c590f6 +DIST mkdocs-git-revision-date-localized-plugin-1.4.2.gh.tar.gz 443259 BLAKE2B d174c9e7ca7edd9b8e7da798da910d4733f4c917a932f7c5040794f073ddd0c1f315f8bf5d5a6f00764c75e614c113ab047b4f01affe59068e313cc1a47449c1 SHA512 39c54938e4b3ffefa1ee302be0e9461e84b798841a4cfa5f054ec20021f9a87b47b909dab6ea5abf98c028693805057df5883bbc7aee3eef5275538b0ddd009b diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.4.2.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.4.2.ebuild new file mode 100644 index 000000000000..587e72542cc3 --- /dev/null +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.4.2.ebuild @@ -0,0 +1,65 @@ +# 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_{9,10,11,12,13} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/regex + dev-python/mkdocs-static-i18n + dev-python/mkdocs-material + dev-python/mkdocs-git-authors-plugin + dev-python/mkdocs-git-revision-date-localized-plugin +" + +inherit distutils-r1 docs + +DESCRIPTION="Display the localized date of the last git modification of a markdown file" +HOMEPAGE=" + https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/ + https://pypi.org/project/mkdocs-git-revision-date-localized-plugin/ +" +SRC_URI=" + https://github.com/timvink/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/babel-2.7.0[${PYTHON_USEDEP}] + dev-python/gitpython[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.0[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/click[${PYTHON_USEDEP}] + dev-python/mkdocs-material[${PYTHON_USEDEP}] + dev-python/mkdocs-monorepo-plugin[${PYTHON_USEDEP}] + dev-python/mkdocs-static-i18n[${PYTHON_USEDEP}] + dev-vcs/git + ) + doc? ( dev-vcs/git ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # mkdocs-git-revision-date-localized-plugin's tests need git repo + if use test || use doc; then + git init -q || die + git config --global user.email "larry@gentoo.org" || die + git config --global user.name "Larry the Cow" || die + git add . || die + git commit -qm 'init' || die + fi + + distutils-r1_python_prepare_all +} diff --git a/dev-python/pip/files/pip-25.0.1-scripttest-2.patch b/dev-python/pip/files/pip-25.0.1-scripttest-2.patch new file mode 100644 index 000000000000..950f70c192dd --- /dev/null +++ b/dev-python/pip/files/pip-25.0.1-scripttest-2.patch @@ -0,0 +1,43 @@ +From 3c77c106330ca77883e9e3c7a150032bb5db73fd Mon Sep 17 00:00:00 2001 +From: Richard Si <sichard26@gmail.com> +Date: Sat, 8 Mar 2025 10:44:32 -0500 +Subject: [PATCH] tests: Use script.scratch_path over script.temp_path + +script.temp_path is the system temporary directory. scripttest will +check that there aren't any dangling files left in there, thus it's +inappropriate to write long-lived packages there. + +These tests are currently passing as scripttest's temporary file +detection logic is broken. However, a newer version of scripttest will +fail. +--- + tests/functional/test_cli.py | 2 +- + tests/functional/test_pep517.py | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/tests/functional/test_cli.py b/tests/functional/test_cli.py +index 65946a1f46a..366d0129b2d 100644 +--- a/tests/functional/test_cli.py ++++ b/tests/functional/test_cli.py +@@ -24,7 +24,7 @@ def test_entrypoints_work(entrypoint: str, script: PipTestEnvironment) -> None: + if script.zipapp: + pytest.skip("Zipapp does not include entrypoints") + +- fake_pkg = script.temp_path / "fake_pkg" ++ fake_pkg = script.scratch_path / "fake_pkg" + fake_pkg.mkdir() + fake_pkg.joinpath("setup.py").write_text( + dedent( +diff --git a/tests/functional/test_pep517.py b/tests/functional/test_pep517.py +index fd9380d0eb6..34ddd6633ce 100644 +--- a/tests/functional/test_pep517.py ++++ b/tests/functional/test_pep517.py +@@ -252,7 +252,7 @@ def test_pep517_backend_requirements_satisfied_by_prerelease( + script.pip("install", "test_backend", "--no-index", "-f", data.backends) + + project_dir = make_project( +- script.temp_path, ++ script.scratch_path, + requires=["test_backend", "myreq"], + backend="test_backend", + ) diff --git a/dev-python/pip/pip-25.0.1-r1.ebuild b/dev-python/pip/pip-25.0.1-r1.ebuild index 4431ba8b7fcc..50c13342fc26 100644 --- a/dev-python/pip/pip-25.0.1-r1.ebuild +++ b/dev-python/pip/pip-25.0.1-r1.ebuild @@ -7,10 +7,10 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_TESTED=( python3_{9,10,11,12,13} pypy3 ) -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) PYTHON_REQ_USE="ssl(+),threads(+)" -inherit bash-completion-r1 distutils-r1 +inherit distutils-r1 shell-completion DESCRIPTION="The PyPA recommended tool for installing Python packages" HOMEPAGE=" @@ -76,6 +76,8 @@ python_prepare_all() { "${FILESDIR}/pip-23.1-no-coverage.patch" # prepare to unbundle dependencies "${FILESDIR}/pip-25.0.1-unbundle.patch" + # https://github.com/pypa/pip/pull/13272 + "${FILESDIR}/${P}-scripttest-2.patch" ) distutils-r1_python_prepare_all @@ -137,7 +139,7 @@ python_test() { ) case ${EPYTHON} in - pypy3) + pypy3*) EPYTEST_DESELECT+=( # unexpected tempfiles? tests/functional/test_install_config.py::test_do_not_prompt_for_authentication @@ -169,7 +171,5 @@ python_install_all() { distutils-r1_python_install_all newbashcomp completion.bash pip - - insinto /usr/share/zsh/site-functions - newins completion.zsh _pip + newzshcomp completion.zsh _pip } diff --git a/dev-python/psutil/Manifest b/dev-python/psutil/Manifest index e4cb46e9fc73..e4bc22f620c3 100644 --- a/dev-python/psutil/Manifest +++ b/dev-python/psutil/Manifest @@ -1,3 +1 @@ -DIST psutil-6.1.0.tar.gz 508565 BLAKE2B 2b5095613854c8e77e5e5ac8bb67b3d631bb29515c8d958e7cedb81a56c03d639663602f01337e191084f1511a6cb921a85394ecc8ac64af2270cf75cdc44262 SHA512 76865df4fdb2a9df45e47589b76b34d0d9d9251491091683e47b4509863e32e46dc62ee2f760b983f0f762b8288d1ea7f32268a6857c049ad12f399908e19c82 -DIST psutil-6.1.1.tar.gz 508502 BLAKE2B ebd8ee40cd86fdbc1ed70e192228889dbae74295ba5b17baa629ca8c3d05945b61ad4b02a836af30886bbf78d65de842cd25486c292ed5b727f37645c6bde93b SHA512 db8a2f4b0b451ca46aaa21b1faae03c4328b1effd04f240a7c8efc94a1c8ca7fc080fc6d16f6ca2046b9232ec43e447be0c414b125f8f511131dc6dff95bd72c DIST psutil-7.0.0.tar.gz 497003 BLAKE2B d5bd3845f4a1a9852ea0136d43f3c4ef9534f08cde7acc3e7a02d7725e52a517882986cf48be241d51b001646b0550d8d7d964dd38ba15e6777d82c3605c34af SHA512 83c17e5dd975bd403d8ece3bcfe021e5b845eb53260f8857999ebc6fdea8aca83e136b945aaa0b3974dc387191988c22fcdcab03effc8e943382989a106aeaf3 diff --git a/dev-python/psutil/psutil-6.1.0.ebuild b/dev-python/psutil/psutil-6.1.0.ebuild deleted file mode 100644 index 47a8c75eba4e..000000000000 --- a/dev-python/psutil/psutil-6.1.0.ebuild +++ /dev/null @@ -1,91 +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=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Retrieve information on running processes and system utilization" -HOMEPAGE=" - https://github.com/giampaolo/psutil/ - https://pypi.org/project/psutil/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # hardcoded assumptions about the test environment - tests/test_linux.py::TestRootFsDeviceFinder::test_disk_partitions_mocked - tests/test_linux.py::TestSystemDiskPartitions::test_zfs_fs - tests/test_linux.py::TestSystemNetIfAddrs::test_ips - tests/test_posix.py::TestProcess::test_nice - tests/test_process.py::TestProcess::test_ionice_linux - tests/test_system.py::TestDiskAPIs::test_disk_partitions - - # mocking is broken - tests/test_linux.py::TestSensorsBattery::test_emulate_energy_full_0 - tests/test_linux.py::TestSensorsBattery::test_emulate_energy_full_not_avail - tests/test_linux.py::TestSensorsBattery::test_emulate_no_power - tests/test_linux.py::TestSensorsBattery::test_emulate_power_undetermined - - # doesn't like sandbox injecting itself - tests/test_process.py::TestProcess::test_weird_environ - - # extremely flaky - tests/test_linux.py::TestSystemVirtualMemoryAgainstFree::test_used - tests/test_linux.py::TestSystemVirtualMemoryAgainstVmstat::test_used - - # nproc --all is broken? - tests/test_linux.py::TestSystemCPUCountLogical::test_against_nproc - - # broken on some architectures - tests/test_linux.py::TestSystemCPUCountCores::test_method_2 - tests/test_linux.py::TestSystemCPUCountLogical::test_emulate_fallbacks - tests/test_linux.py::TestSystemCPUFrequency::test_emulate_use_cpuinfo - tests/test_linux.py::TestSystemCPUFrequency::test_emulate_use_second_file - tests/test_system.py::TestCpuAPIs::test_cpu_freq - tests/test_system.py::TestCpuAPIs::test_cpu_times_comparison - - # broken in some setups - tests/test_linux.py::TestMisc::test_issue_687 - tests/test_linux.py::TestProcessAgainstStatus::test_cpu_affinity - tests/test_linux.py::TestSystemCPUStats::test_interrupts - tests/test_posix.py::TestProcess::test_cmdline - tests/test_posix.py::TestProcess::test_name - tests/test_posix.py::TestSystemAPIs::test_users - tests/test_process.py::TestProcess::test_terminal - tests/test_unicode.py::TestFSAPIs::test_memory_maps - - # fails on all AT containers - tests/test_system.py::TestMiscAPIs::test_users - - # failing without /sys/class/power_supply? - tests/test_memleaks.py::TestModuleFunctionsLeaks::test_sensors_battery - tests/test_misc.py::TestMisc::test_serialization - ) - - # Since we are running in an environment a bit similar to CI, - # let's skip the tests that are disabled for CI - local -x TRAVIS=1 - local -x APPVEYOR=1 - local -x GITHUB_ACTIONS=1 - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - rm -rf psutil || die - epytest --pyargs psutil -} - -python_compile() { - # Force -j1 to avoid .o linking race conditions - local MAKEOPTS=-j1 - distutils-r1_python_compile -} diff --git a/dev-python/psutil/psutil-6.1.1.ebuild b/dev-python/psutil/psutil-6.1.1.ebuild deleted file mode 100644 index 2907ce64f5f5..000000000000 --- a/dev-python/psutil/psutil-6.1.1.ebuild +++ /dev/null @@ -1,91 +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=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Retrieve information on running processes and system utilization" -HOMEPAGE=" - https://github.com/giampaolo/psutil/ - https://pypi.org/project/psutil/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # hardcoded assumptions about the test environment - tests/test_linux.py::TestRootFsDeviceFinder::test_disk_partitions_mocked - tests/test_linux.py::TestSystemDiskPartitions::test_zfs_fs - tests/test_linux.py::TestSystemNetIfAddrs::test_ips - tests/test_posix.py::TestProcess::test_nice - tests/test_process.py::TestProcess::test_ionice_linux - tests/test_system.py::TestDiskAPIs::test_disk_partitions - - # mocking is broken - tests/test_linux.py::TestSensorsBattery::test_emulate_energy_full_0 - tests/test_linux.py::TestSensorsBattery::test_emulate_energy_full_not_avail - tests/test_linux.py::TestSensorsBattery::test_emulate_no_power - tests/test_linux.py::TestSensorsBattery::test_emulate_power_undetermined - - # doesn't like sandbox injecting itself - tests/test_process.py::TestProcess::test_weird_environ - - # extremely flaky - tests/test_linux.py::TestSystemVirtualMemoryAgainstFree::test_used - tests/test_linux.py::TestSystemVirtualMemoryAgainstVmstat::test_used - - # nproc --all is broken? - tests/test_linux.py::TestSystemCPUCountLogical::test_against_nproc - - # broken on some architectures - tests/test_linux.py::TestSystemCPUCountCores::test_method_2 - tests/test_linux.py::TestSystemCPUCountLogical::test_emulate_fallbacks - tests/test_linux.py::TestSystemCPUFrequency::test_emulate_use_cpuinfo - tests/test_linux.py::TestSystemCPUFrequency::test_emulate_use_second_file - tests/test_system.py::TestCpuAPIs::test_cpu_freq - tests/test_system.py::TestCpuAPIs::test_cpu_times_comparison - - # broken in some setups - tests/test_linux.py::TestMisc::test_issue_687 - tests/test_linux.py::TestProcessAgainstStatus::test_cpu_affinity - tests/test_linux.py::TestSystemCPUStats::test_interrupts - tests/test_posix.py::TestProcess::test_cmdline - tests/test_posix.py::TestProcess::test_name - tests/test_posix.py::TestSystemAPIs::test_users - tests/test_process.py::TestProcess::test_terminal - tests/test_unicode.py::TestFSAPIs::test_memory_maps - - # fails on all AT containers - tests/test_system.py::TestMiscAPIs::test_users - - # failing without /sys/class/power_supply? - tests/test_memleaks.py::TestModuleFunctionsLeaks::test_sensors_battery - tests/test_misc.py::TestMisc::test_serialization - ) - - # Since we are running in an environment a bit similar to CI, - # let's skip the tests that are disabled for CI - local -x TRAVIS=1 - local -x APPVEYOR=1 - local -x GITHUB_ACTIONS=1 - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - rm -rf psutil || die - epytest --pyargs psutil -} - -python_compile() { - # Force -j1 to avoid .o linking race conditions - local MAKEOPTS=-j1 - distutils-r1_python_compile -} diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index 2edec674e261..5cbde6cbce7d 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -1 +1,2 @@ DIST pylint-3.3.4.gh.tar.gz 1455691 BLAKE2B 294cedc1d0ff5cf907ed847958d3067d526d7709df0ca9db2885fbd292b73d08d6b36708b1309a995790045d1eb5c55fe6d73f2bedaa6698d7fbd131dd010479 SHA512 cd99d69e3689986177320369a0b738054f92b194ff4a3f469d006de92181db1c88a068a9955dafc4df297256740f212f608b6c4bb050d25d0dbeb4c6d5466d44 +DIST pylint-3.3.5.gh.tar.gz 1456364 BLAKE2B 79b25a97f388b280d8656338ce4108add79cc2ba28f81354439049526191e9660a8557c3c1a7edd4b04cc4aa0aca943ec37d9fe567a8a620359246fd9bd0f76d SHA512 c4e65ae4301c5cce575f8f9d1e71515cd71d0329de9ed80501d1635783dcc79d99b488cc8e396c3f25b5e54cd0e84b5ed7c689142662c29ef3d64b2942146f83 diff --git a/dev-python/pylint/pylint-3.3.5.ebuild b/dev-python/pylint/pylint-3.3.5.ebuild new file mode 100644 index 000000000000..d5f9bf84abe2 --- /dev/null +++ b/dev-python/pylint/pylint-3.3.5.ebuild @@ -0,0 +1,92 @@ +# 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_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +MY_P=${P/_beta/b} +DESCRIPTION="Python code static checker" +HOMEPAGE=" + https://pypi.org/project/pylint/ + https://github.com/pylint-dev/pylint/ +" +SRC_URI=" + https://github.com/pylint-dev/pylint/archive/v${PV/_beta/b}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples" + +RDEPEND=" + <dev-python/astroid-3.4[${PYTHON_USEDEP}] + >=dev-python/astroid-3.3.8[${PYTHON_USEDEP}] + >=dev-python/dill-0.3.7[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + <dev-python/isort-7[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] + <dev-python/mccabe-0.8[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + >=dev-python/gitpython-3[${PYTHON_USEDEP}] + ' 'python*' ) + >=dev-python/pytest-8.3[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + 'tests/test_functional.py::test_functional[dataclass_with_field]' + 'tests/test_functional.py::test_functional[no_name_in_module]' + 'tests/test_functional.py::test_functional[shadowed_import]' + 'tests/test_functional.py::test_functional[use_yield_from]' + 'tests/test_functional.py::test_functional[wrong_import_order]' + ) + local EPYTEST_IGNORE=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + ) + + if ! has_version "dev-python/gitpython[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/profile/test_profile_against_externals.py + tests/testutils/_primer/test_package_to_lint.py + tests/testutils/_primer/test_primer.py + ) + fi + + rm -rf pylint || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p timeout +} + +python_install_all() { + if use examples ; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pyotp/pyotp-2.9.0.ebuild b/dev-python/pyotp/pyotp-2.9.0.ebuild index 38c6e3f4b2f3..8c02a546cc64 100644 --- a/dev-python/pyotp/pyotp-2.9.0.ebuild +++ b/dev-python/pyotp/pyotp-2.9.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 @@ -16,6 +16,6 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" distutils_enable_tests unittest diff --git a/dev-python/python-augeas/python-augeas-1.1.0-r1.ebuild b/dev-python/python-augeas/python-augeas-1.1.0-r1.ebuild index 701752865d19..ca1d3c1f86bc 100644 --- a/dev-python/python-augeas/python-augeas-1.1.0-r1.ebuild +++ b/dev-python/python-augeas/python-augeas-1.1.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 @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~arm64 x86" +KEYWORDS="amd64 ~arm64 ~riscv x86" RDEPEND=" app-admin/augeas diff --git a/dev-python/python-debian/Manifest b/dev-python/python-debian/Manifest index 85e2989d4069..e8e0b82080db 100644 --- a/dev-python/python-debian/Manifest +++ b/dev-python/python-debian/Manifest @@ -1 +1,2 @@ DIST python-debian_0.1.49.tar.xz 191388 BLAKE2B 590e6f7877684caaa5a74f06d335bcf7808960968209cf18bb2cec7e81f33a3b0ff458bbe30264ae5fc015de9357dddb1522b5fd93bf33d0a7fabef1b7dd98f9 SHA512 201ceecdd8c1d3dc0cca0f661407bcfb825a1cba07c528858cc1123ab16afe0df50e338c8cd82ea24230812a9cc136220bd4f0dccbac19ad53efe48eaa25cf6f +DIST python-debian_1.0.0.tar.xz 197964 BLAKE2B 38e9ce2f1bbb15577e18189ad1a26d230f24ef7d20490556ab72149f68e5945e777018abca256d49020f4985f13953b6fd1640042272df763af38a8e57eb3766 SHA512 86d58c5185580010773f4d7236aa84276828a094f07bc8fe11d77c2cdf8a4b911284299dd2c2728dbbb802091b4a81b5ff2876404dfb9d944df1d996bb369228 diff --git a/dev-python/python-debian/python-debian-1.0.0.ebuild b/dev-python/python-debian/python-debian-1.0.0.ebuild new file mode 100644 index 000000000000..b4eb7262cb66 --- /dev/null +++ b/dev-python/python-debian/python-debian-1.0.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 2011-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Python modules to work with Debian-related data formats" +HOMEPAGE=" + https://salsa.debian.org/python-debian-team/python-debian/ + https://pypi.org/project/python-debian/ +" +SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${PV}.tar.xz" + +LICENSE="GPL-2 GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/charset-normalizer[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + app-arch/dpkg + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + # silence false positives + rm -rf debian || die +} + +python_compile_all() { + # See debian/rules. + "${EPYTHON}" src/debian/doc-debtags > README.debtags || die +} + +python_test() { + epytest --doctest-modules +} diff --git a/dev-python/requests-file/requests-file-2.1.0.ebuild b/dev-python/requests-file/requests-file-2.1.0.ebuild index ab878b431329..cc9a79417599 100644 --- a/dev-python/requests-file/requests-file-2.1.0.ebuild +++ b/dev-python/requests-file/requests-file-2.1.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 @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm64 ~loong x86" +KEYWORDS="amd64 arm64 ~loong ~riscv x86" RDEPEND=" dev-python/requests[${PYTHON_USEDEP}] diff --git a/dev-python/rich-click/Manifest b/dev-python/rich-click/Manifest index 2297349281c6..54995b3a3014 100644 --- a/dev-python/rich-click/Manifest +++ b/dev-python/rich-click/Manifest @@ -1,2 +1,2 @@ -DIST rich-click-1.8.5.gh.tar.gz 8135268 BLAKE2B 84e9fe895d70a4357ea49d383822b6f50d9c89b3788e0ef60200c2a67807ac1e77df2dba8d1fafc9a78f4174d12241c7f3faf53177bfa64d031da673c67ce4e8 SHA512 ccb309f05593c55edc097a199eb07f4c260217751e3bc5a27a6f11cfa5d6f98125086729639f0a5d6b476c17c18ef1b9cc29a26ac24dacb84754feed4291af3d DIST rich-click-1.8.6.gh.tar.gz 8140359 BLAKE2B ab5ddbad68cae208797a7893fdd8092035d8b4a428926fd55ffb01ebdd1ea83a510c1bf0622f01fd9f84da791425d1ac5647febc16bc55781c28d3fac96c70d3 SHA512 922c0c133104cb1aba9aca439aa81835202bf055c0b652339f3eb0c66bf71e7cb201881e03eb585f3eb1c0dedf1aa943df18917ce86f0d8d607ea7f9208ab0e2 +DIST rich-click-1.8.7.gh.tar.gz 8140585 BLAKE2B f9d05ff78b4daad478cf9c7dad8ee66f4d970a80943e1ae5740d67c2a8c0f3e34ac2d06c8a50e39284782d801eb9435f9ef4b6037ba65fcde173e2da4dc4c702 SHA512 130787a0ae19363463d32e40e7b53513a1be919afcf3cfc7fec90ce2f3a75b948be4584ad7efda89161044ec0e3ee3a69cca255d4b41fdcda11a665508d9f65e diff --git a/dev-python/rich-click/rich-click-1.8.5.ebuild b/dev-python/rich-click/rich-click-1.8.7.ebuild index d52764d97ac3..d52764d97ac3 100644 --- a/dev-python/rich-click/rich-click-1.8.5.ebuild +++ b/dev-python/rich-click/rich-click-1.8.7.ebuild diff --git a/dev-python/rtslib-fb/Manifest b/dev-python/rtslib-fb/Manifest index 567ad78b14b1..7b339f433b05 100644 --- a/dev-python/rtslib-fb/Manifest +++ b/dev-python/rtslib-fb/Manifest @@ -1 +1,2 @@ +DIST rtslib-fb-2.1.76.tar.gz 78055 BLAKE2B df22093072a7e7b12a080db8253eff9e6aff1efb44a8bdb6c37a21601fd10beea03b665d1e1621904a9a0c1d1299e7f9e5f61682669f75a06f4e050c503da9a7 SHA512 fee3087702e44ede59b9635d7cbe7af06da104d6aeffc3fbb584ce6e8170b7856650a006ee574940448801a67e9f7d9610ccb9ad632dd6d0c378fe7c6cd1c159 DIST rtslib_fb-2.2.2.tar.gz 45508 BLAKE2B e233bd7b346e7da98d8d6237f1cfc976a4963a13802c06175612c9c5497b20fb708228561b8a7a03dfd31e24359c1c339bae9c09228d2c3df5f1a5d9fbad6b08 SHA512 e64b0cc32520c19747c4e752a33aef9e27557f34a695d321b699bfd12feaba9749b32b5e292c96258bf0e6bf87fc4bb56287257691a7dccd786d12c9bec72964 diff --git a/dev-python/rtslib-fb/rtslib-fb-2.1.76.ebuild b/dev-python/rtslib-fb/rtslib-fb-2.1.76.ebuild new file mode 100644 index 000000000000..4d1397b014d3 --- /dev/null +++ b/dev-python/rtslib-fb/rtslib-fb-2.1.76.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYPI_NO_NORMALIZE=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 systemd pypi + +DESCRIPTION="A Python object API for managing the Linux LIO kernel target" +HOMEPAGE=" + https://github.com/open-iscsi/rtslib-fb/ + https://pypi.org/project/rtslib-fb/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/pyudev[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +python_test() { + # super basic import test + "${EPYTHON}" - <<- EOF || die "Failed tests with ${EPYTHON}" + from rtslib_fb import RTSRoot + EOF +} + +src_install() { + distutils-r1_src_install + systemd_dounit "${FILESDIR}/target.service" +} diff --git a/dev-python/scripttest/scripttest-1.3.0-r2.ebuild b/dev-python/scripttest/scripttest-1.3.0-r2.ebuild index 29743061bea8..b4e0ddb9c5a3 100644 --- a/dev-python/scripttest/scripttest-1.3.0-r2.ebuild +++ b/dev-python/scripttest/scripttest-1.3.0-r2.ebuild @@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) inherit distutils-r1 -DESCRIPTION="A very small text templating language" +DESCRIPTION="Helper to test command-line scripts" HOMEPAGE=" https://pypi.org/project/scripttest/ https://github.com/pypa/scripttest/ diff --git a/dev-python/scripttest/scripttest-2.0.ebuild b/dev-python/scripttest/scripttest-2.0.ebuild index da2b2467fc2c..2342aeb90e6c 100644 --- a/dev-python/scripttest/scripttest-2.0.ebuild +++ b/dev-python/scripttest/scripttest-2.0.ebuild @@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) inherit distutils-r1 -DESCRIPTION="A very small text templating language" +DESCRIPTION="Helper to test command-line scripts" HOMEPAGE=" https://pypi.org/project/scripttest/ https://github.com/pypa/scripttest/ diff --git a/dev-python/tldextract/tldextract-5.1.3.ebuild b/dev-python/tldextract/tldextract-5.1.3.ebuild index d2a4ef871e0b..fc23ea404f0f 100644 --- a/dev-python/tldextract/tldextract-5.1.3.ebuild +++ b/dev-python/tldextract/tldextract-5.1.3.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 @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm64 ~loong x86" +KEYWORDS="amd64 ~arm64 ~loong ~riscv x86" RDEPEND=" >=dev-python/filelock-3.0.8[${PYTHON_USEDEP}] diff --git a/dev-python/types-psutil/Manifest b/dev-python/types-psutil/Manifest index 243a349124fa..22fde3cf71e5 100644 --- a/dev-python/types-psutil/Manifest +++ b/dev-python/types-psutil/Manifest @@ -1,3 +1 @@ -DIST types-psutil-6.1.0.20241102.tar.gz 15447 BLAKE2B d4e97ecfd3c1b812b1eb6f193dba37cfc58d5d12f732e3269287f1df62a307e717d2772fb3e5af4bbd6b25a44b5898aa8c90826aa0a2f21b1d8d193f876a442a SHA512 e772f8063d71871ce18b96347eca8af7c7c2e53fd2eda154690b6d36d7c0f40379dda889b2fc04735ccf4ffcc9afea8bd3ca453c7fd92e664b4f901b0f0a995d -DIST types_psutil-6.1.0.20241221.tar.gz 20035 BLAKE2B f7b1afa3c17c9aa8bdc0a0b219a10dae3d0128035a5e1c38e513965860a90e0232873fcc349cf71251ebbe03816467e092bbff24717b065d1875e8a4df814e2f SHA512 48f47f6cd312c9e56c2a3c185bc4824db418950f02ebec6baf994afbdd4ca3b4897565c5e1430a0cdc1560cef28140d22dc7aaa2a132d2be152f6634165a894a DIST types_psutil-7.0.0.20250218.tar.gz 19828 BLAKE2B 0b1c1f53a4ba50145e6dfb3ca3e698c341b3050bb6fdbbfe62f10c7fadf85b16dba37feb15b6d66b11e068afbe693e54aaaa02fab85857b4d9f2e9def17259ee SHA512 0fc058e34e87af5438e0cd0702e30743ec9c4dd6e28ffe892d43afb8821480198a75b79b77650f76aef742ce44f35aa1ff6739dbcbabfb6aa68fdfd3d7d4f647 diff --git a/dev-python/types-psutil/types-psutil-6.1.0.20241102.ebuild b/dev-python/types-psutil/types-psutil-6.1.0.20241102.ebuild deleted file mode 100644 index 089bf01897f0..000000000000 --- a/dev-python/types-psutil/types-psutil-6.1.0.20241102.ebuild +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Typing stubs for psutil" -HOMEPAGE="https://pypi.org/project/types-psutil/" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" diff --git a/dev-python/types-psutil/types-psutil-6.1.0.20241221.ebuild b/dev-python/types-psutil/types-psutil-6.1.0.20241221.ebuild deleted file mode 100644 index 8caace33e5a4..000000000000 --- a/dev-python/types-psutil/types-psutil-6.1.0.20241221.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Typing stubs for psutil" -HOMEPAGE="https://pypi.org/project/types-psutil/" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" diff --git a/dev-python/xmlsec/xmlsec-1.3.14.ebuild b/dev-python/xmlsec/xmlsec-1.3.14.ebuild index cfd1247104bc..97a3744effdd 100644 --- a/dev-python/xmlsec/xmlsec-1.3.14.ebuild +++ b/dev-python/xmlsec/xmlsec-1.3.14.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2024 Gentoo Authors +# Copyright 2021-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm64 ~ppc64 x86" +KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86" DEPEND=" dev-libs/xmlsec:=[openssl] diff --git a/dev-python/zeep/zeep-4.3.1.ebuild b/dev-python/zeep/zeep-4.3.1.ebuild index c15579ad0651..02e6aed9bbf8 100644 --- a/dev-python/zeep/zeep-4.3.1.ebuild +++ b/dev-python/zeep/zeep-4.3.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 @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm64 x86" +KEYWORDS="amd64 arm64 ~riscv x86" IUSE="async" RDEPEND=" |
