diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-02-09 07:27:47 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-02-09 07:27:47 +0000 |
| commit | 047bdcdd6c8d6f868b18a9a76805a6dd39585bf8 (patch) | |
| tree | 4b0be6f4f5bd423a6cebe4ad030f24e56454b9e4 /dev-python | |
| parent | f5ff65e5d8b2105f7a940daed6002b1ea99d2151 (diff) | |
| download | baldeagleos-repo-047bdcdd6c8d6f868b18a9a76805a6dd39585bf8.tar.gz baldeagleos-repo-047bdcdd6c8d6f868b18a9a76805a6dd39585bf8.tar.xz baldeagleos-repo-047bdcdd6c8d6f868b18a9a76805a6dd39585bf8.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
50 files changed, 923 insertions, 551 deletions
diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index 15b6217be274..af0b506fd754 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1,3 +1,4 @@ DIST astroid-4.0.2.gh.tar.gz 475834 BLAKE2B 04821506d6a56b914edcd8646f81487c8c78298b873b16f9fd6d79a841a479176aaece23ed470f8191807280b57e8ec954bade01b348ad1251bb065de502706c SHA512 1a407acf1b9d6875d1f9c26958ba5f7d362235fe35b856b6310b62bcd5404edbffa16b01209e69ee4f84d70bc79c68ba734d7d6036c72f5dd83ad3fc26c2e65f DIST astroid-4.0.3.gh.tar.gz 476645 BLAKE2B e71fe0b9d0eb8e318134bb7037c6599a8bca308963f28789e5fe4d68449777dfb29fb711a109359d6d037e58fe775372822115f608e09d95cf9891e132bfc04a SHA512 ef5988ba87b2fe6524715385aa8f8055c01910bf244ce8bdf089ac2325a65217b75a7d8070828735fb3ad5f8b9967d204541982a96ba769a8ac03066dfc21c18 DIST astroid-4.0.4.gh.tar.gz 476682 BLAKE2B 513e70a4cf4791a3493bf43a1544d9eaf7dcda1c6b6602edba7314455507aff70d5f137d798243671848a9a9c070d39b6aea6442f3f15506959a4f066418b855 SHA512 37b7dffa92e7ca2e4a2039d9f0c4ff1235daa5e64d6bcaeffd9ed9240c5b24fd6c2f2508c4b20844f3be7bd5daaf98d5ed72f87b65c2288c40ffe7cb0446ddf3 +DIST astroid-4.1.0.gh.tar.gz 482678 BLAKE2B a4c586283b255ae07804aee8223be3a6b487ab38c13587830540947ff7f36c5e7cebd639bfb876f412588b25f1ae9401bdaf4e8d672bf372c8b81eae849ee6f7 SHA512 b5a9c5599b63282719ba96a0c28be85df64a991ad914eebd2ed70eb265f840556000cff7e5de4ff97eba1ea18aed931078cc79a2e5fc707433a9a7683c6ac149 diff --git a/dev-python/astroid/astroid-4.1.0.ebuild b/dev-python/astroid/astroid-4.1.0.ebuild new file mode 100644 index 000000000000..62f82faea121 --- /dev/null +++ b/dev-python/astroid/astroid-4.1.0.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2026 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/_/} +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 +" +S=${WORKDIR}/${MY_P} + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# 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*') + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local EPYTEST_IGNORE=() + local EPYTEST_DESELECT=( + # hangs randomly + tests/test_nodes.py::AsStringTest::test_recursion_error_trapped + # no clue why they're broken + tests/test_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part + # 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 + # old pythons only + tests/brain/test_dataclasses.py::test_pydantic_field + tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils + # -Werror, sigh + tests/test_nodes.py::test_deprecated_nodes_import_from_toplevel + ) + + if ! has_version "dev-python/mypy[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_raw_building.py + ) + fi + + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + tests/brain/test_gi.py::GiBrainClassificationTest::test_gi_function_classification + ) + ;; + esac + + if has_version ">=dev-python/setuptools-82[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + # tests a package using pkg_resources + tests/test_manager.py::AstroidManagerTest::test_identify_old_namespace_package_protocol + ) + fi + + epytest +} diff --git a/dev-python/awkward-cpp/Manifest b/dev-python/awkward-cpp/Manifest index e1b99b0b7e5f..744a1a1d7f34 100644 --- a/dev-python/awkward-cpp/Manifest +++ b/dev-python/awkward-cpp/Manifest @@ -1,4 +1,4 @@ -DIST awkward_cpp-50.tar.gz 1485957 BLAKE2B 4e8123cbb5cdbfa58b36426223de92b3e2c47a9e0aafd95bed09f6f58b328db589729faf394c4d13fd4bd5c873d5f58a35e3c92ca12fba310e2e2e065c8ca528 SHA512 3dfed68f14df7fa5eee9dc78d36d8d2c0a824838e395c11673f91114419c20a06ed8b09afb5b3d31d8ece1affca32f4fd4c80827d8e37a63710831dbb2a95065 -DIST awkward_cpp-50.tar.gz.provenance 9641 BLAKE2B a09545b09ea8a00dce38a42f2bede072f947c3a2190abd5cd91589ed46d6f5295bca2b49893614a704399e0e8c9f2c6a70580f34a8374c535442f32b1ac4b0ca SHA512 6da22cf09dcad1536b8918a7a9fd84e374d9fb3c7460723f50f983cc55a9fcac8a662e993ceaa386c61764746da4bf5767b87227abf29cc7943b169029d80a93 DIST awkward_cpp-51.tar.gz 1486658 BLAKE2B f8cd0084a6d6a60f7f6b733e047026dc51cd53f406d1adff0ade39fbe7d5f021f0bb7dbf39bce1a52baf04d38ab1ba61b6d08b2e1737c27ccace6144abec9414 SHA512 5dbcf12f0c845e144b1405fbc926250c3474f191836c4d4cdf836683826326c7d5c91ffa710a80a2827bf51af1733389515a386ed7640018c37ed4604833c595 DIST awkward_cpp-51.tar.gz.provenance 9494 BLAKE2B 20a974eb651fc7eecd29cabd3f6e7344fc72602dacba20dbd1faf25c5bbc8063b79126d7b43903b17d11200470dbf4e933c71e46fe2f7bbe76703ae0fec6144b SHA512 adc0559d9b341b8fc61763293043df76d71a758c09f454922aff29923cfb4f2374dc7a1ba755da6833259d1e4b44a31cd93a94a5dc4633e793edc46808abcdbf +DIST awkward_cpp-52.tar.gz 1486576 BLAKE2B def9c90066e0056996aa2800be9d728d7f06a67ae5729c53a08550f70ae9c0fb2dc88b40f90a2dae54c85dbf763eb67b6ac0c005e00579d20abe7c263bdac103 SHA512 da45fbdab03aaf44a74d04e025b40fbece9cf3201887ff4063fe8fd639967a6575ee819419b4fca9e805dd35ffab4233399a81f89ed2413c54ac3760a1c59088 +DIST awkward_cpp-52.tar.gz.provenance 9498 BLAKE2B 17d56a2beba2974f1be8bb24067380f65a4853e69240711daf703ef122ce381a50f22fadfff5c45e985d10a59e4aba723100d9cc308ea20e7788c0972431b36b SHA512 e828d1d1e6e39bf21b5c32e5970133ae9bd16d6e4740778c308d1dbb8ce34ff5edd850b3ebfedf73ceb13c1169be868855d6588d951c96849076db023022bbf9 diff --git a/dev-python/awkward-cpp/awkward-cpp-50.ebuild b/dev-python/awkward-cpp/awkward-cpp-52.ebuild index 337961003fcc..ccb42077eee2 100644 --- a/dev-python/awkward-cpp/awkward-cpp-50.ebuild +++ b/dev-python/awkward-cpp/awkward-cpp-52.ebuild @@ -1,4 +1,4 @@ -# Copyright 2025 Gentoo Authors +# Copyright 2025-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,7 +22,7 @@ SLOT="0" KEYWORDS="~amd64" DEPEND=" - >=dev-python/numpy-1.18.0[${PYTHON_USEDEP}] + >=dev-python/numpy-1.21.3[${PYTHON_USEDEP}] " RDEPEND="${DEPEND}" BDEPEND=" diff --git a/dev-python/clang/Manifest b/dev-python/clang/Manifest index 084c04abddc0..69b990500c85 100644 --- a/dev-python/clang/Manifest +++ b/dev-python/clang/Manifest @@ -1,5 +1,3 @@ -DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5 SHA512 4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52 -DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a SHA512 ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2 SHA512 6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30 diff --git a/dev-python/clang/clang-15.0.7.ebuild b/dev-python/clang/clang-15.0.7.ebuild deleted file mode 100644 index f29ec224a92b..000000000000 --- a/dev-python/clang/clang-15.0.7.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..14} ) -inherit llvm.org python-r1 - -DESCRIPTION="Python bindings for llvm-core/clang" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -DEPEND=" - >=llvm-core/clang-${PV}:* - !llvm-core/llvm:0[clang(-),python(-)] - !llvm-core/clang:0[python(-)] -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( - llvm-core/clang:${LLVM_MAJOR} - ) -" - -LLVM_COMPONENTS=( clang/bindings/python ) -llvm.org_set_globals - -python_test() { - # tests rely on results from a specific clang version, so override - # the search path - local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) - local -x CLANG_NO_DEFAULT_CONFIG=1 - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/click/Manifest b/dev-python/click/Manifest index ff91dc524a02..6b58dc9cb13e 100644 --- a/dev-python/click/Manifest +++ b/dev-python/click/Manifest @@ -1,5 +1,2 @@ -DIST click-8.2.1.gh.tar.gz 399811 BLAKE2B 1d28aab3fc8c2e3f977aeb5aedeaddde591d6c6ecf3d3421c4107e954f4116a9f7f6ef8ea2a42a001f0b2995bda695bd34210232a11dc83af2192dbb0c0fe462 SHA512 420ba1989410af0949317f9651c6b292da68605b86b4cf0e2382eaba1defbc9eb4b9d97e0a71e5cdb51a61a1f578e81fd864e1abb0cdcd0a8ee26a899c802afe -DIST click-8.3.0.gh.tar.gz 386835 BLAKE2B 29218ece917a8658b753850d9190b45908973ee059bff6fe745de46c089001483a8ca28061eb0cf7e10d7b2f4d003b87d648ece30eb6a87a5df7a17ba0140398 SHA512 b1296993c0493cac986a60b9a0e64f9a2058ecc7f8489c3db20bc69152a127093665debf3fd5f3a86c81b7b62236dd1e9f9c5ee83eddf3cbc1a98701cc1082a3 -DIST click-8.3.1.gh.tar.gz 389151 BLAKE2B a57fef1b99e676504a3d481628935252c764d52dc968eceefdaa57ed33a54236c5d547b50fca4aafab07d80239b504c77fdb9ce9deadb1bf2da424a7f2960390 SHA512 78fb812aa729f93d3b6e48ee0d29f18797fa18411a80a52af140cb7d6439aaa0a0c07f7b8d34e274b7e034b0b630b2f2b05cee3e562c4a008c7a3a2a6aaa0424 DIST click-8.3.1.tar.gz 295065 BLAKE2B 6910e7506693551543aaa0917df1445d7dd02e369e8174a6e8c2cc8cd160282ce957672259958ed6a5d3fcd0b792c148b4c6a5be063a812a0ea10c1623ee9242 SHA512 78bb5588f1f57f1ce00389bf3cd01630fb68bd75d4deaa9fa9cb6f420e571ea8216aefa37703154e4e99d141925c705a93212d6a23e8751a132a010f4379762e DIST click-8.3.1.tar.gz.provenance 8911 BLAKE2B 8dc836db89adac96c49058a092c0d539ceee25bda3944bb2cab08c9a999aa29317137f2db47cdfb97da49869c2470cc3b1232860506b84794e1521ae23f56248 SHA512 1d32249e9bae5fcd824c03926d8a35bc875379df6d7240a18b543d64df346948edc9ed811ab6840a285c9347c5b03eebb8adf1b5b26da8f5711cc5b9b4a34377 diff --git a/dev-python/click/click-8.2.1.ebuild b/dev-python/click/click-8.2.1.ebuild deleted file mode 100644 index 33865867cc72..000000000000 --- a/dev-python/click/click-8.2.1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# 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="A Python package for creating beautiful command line interfaces" -HOMEPAGE=" - https://palletsprojects.com/p/click/ - https://github.com/pallets/click/ - https://pypi.org/project/click/ -" -SRC_URI=" - https://github.com/pallets/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" -IUSE="examples" - -distutils_enable_sphinx docs \ - '>=dev-python/docutils-0.14' \ - dev-python/myst-parser \ - dev-python/pallets-sphinx-themes \ - dev-python/sphinxcontrib-log-cabinet \ - dev-python/sphinx-tabs -distutils_enable_tests pytest - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/click/click-8.3.0.ebuild b/dev-python/click/click-8.3.0.ebuild deleted file mode 100644 index b84c6a070493..000000000000 --- a/dev-python/click/click-8.3.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# 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="A Python package for creating beautiful command line interfaces" -HOMEPAGE=" - https://palletsprojects.com/p/click/ - https://github.com/pallets/click/ - https://pypi.org/project/click/ -" -SRC_URI=" - https://github.com/pallets/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" -IUSE="examples" - -distutils_enable_sphinx docs \ - '>=dev-python/docutils-0.14' \ - dev-python/myst-parser \ - dev-python/pallets-sphinx-themes \ - dev-python/sphinxcontrib-log-cabinet \ - dev-python/sphinx-tabs - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/click/click-8.3.1.ebuild b/dev-python/click/click-8.3.1.ebuild deleted file mode 100644 index b84c6a070493..000000000000 --- a/dev-python/click/click-8.3.1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# 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="A Python package for creating beautiful command line interfaces" -HOMEPAGE=" - https://palletsprojects.com/p/click/ - https://github.com/pallets/click/ - https://pypi.org/project/click/ -" -SRC_URI=" - https://github.com/pallets/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" -IUSE="examples" - -distutils_enable_sphinx docs \ - '>=dev-python/docutils-0.14' \ - dev-python/myst-parser \ - dev-python/pallets-sphinx-themes \ - dev-python/sphinxcontrib-log-cabinet \ - dev-python/sphinx-tabs - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/ensurepip-setuptools/Manifest b/dev-python/ensurepip-setuptools/Manifest index 4cf1eac68c17..24c40d8d6c3c 100644 --- a/dev-python/ensurepip-setuptools/Manifest +++ b/dev-python/ensurepip-setuptools/Manifest @@ -2,3 +2,4 @@ DIST setuptools-79.0.1-py3-none-any.whl 1256281 BLAKE2B 8ae51bdd1c0ccada116757c2 DIST setuptools-80.10.2.tar.gz 1200343 BLAKE2B 575eacccf3f9f846658d55d55425263d8847419644e62506b9e953c5a5db541dc6b3d8c4fcf096ec1e46406ecad545569111dc265aa8474ba17ebe57a10b382d SHA512 7dbc657878b418a9bdba124e5b8f98228af0590ffbb02c6396ac5b3d84be8f04b327780a7b1f9fa223d4c179004e822e2b00eec673f8eeb700b08b095ff6491d DIST setuptools-80.9.0.tar.gz 1319958 BLAKE2B ab367912eec92b0d1251916d09c1dd2e311767eec87225beaff870dff923b47ba1732d2f7393b7d9e55d1ff1249c612e4403019e0021048951f9fc3b775c04c9 SHA512 36eb1f219d29c6b9e135936bde2001ad70a971c8069cd0175d3a5325b450e6843a903d3f70043c9f534768ebeab8ab0c544b8f44456555d333f1ed72daa5c18b DIST setuptools-81.0.0.tar.gz 1198299 BLAKE2B a92fa15e03c99f6d7acbc0a24e6d3b4b31d514c031195b1dd0ae238611c44c3c979847c45437e5e4221fb8f750a7264fb55235ee7d4a8207ef19a67306d5360c SHA512 4dda2f0796d1a32d160e0786fc6ebb9908483e16edac6b0335df4779a0a8331f13b70fbf69986a27cc8f6ff10c1f696599059710fef99f36ff1e766f04220466 +DIST setuptools-82.0.0.tar.gz 1144893 BLAKE2B dae5c129ba4f490f7e9e7cfc42ff4147010fcd2f63e7e5bf6635a4153e5c3882f2ee265f01baa23d8c0f6c562c90c5408a998db0b95e5ea9c5a2fade167059d5 SHA512 52424f813bb8efa1d3aa8cb910338d29c36c6a641f7ded91d298c1abe7c1a24d572c60c14c028f3825af29b46d57a4ee454845b1d22b73b03278a9500d957dd9 diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-82.0.0.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-82.0.0.ebuild new file mode 100644 index 000000000000..449214aac521 --- /dev/null +++ b/dev-python/ensurepip-setuptools/ensurepip-setuptools-82.0.0.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYPI_PN=${PN#ensurepip-} +# PYTHON_COMPAT used only for testing +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Shared setuptools wheel for ensurepip Python module" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + ${RDEPEND} + test? ( + >=dev-python/build-1.0.3[${PYTHON_USEDEP}] + >=dev-python/ini2toml-0.14[${PYTHON_USEDEP}] + >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-path-3.7.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-test-5.5[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{home,subprocess,timeout} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +declare -A VENDOR_LICENSES=( + [autocommand]=LGPL-3 + [backports.tarfile]=MIT + [importlib_metadata]=Apache-2.0 + [jaraco_context]=MIT + [jaraco_functools]=MIT + [jaraco.text]=MIT + [more_itertools]=MIT + [packaging]="|| ( Apache-2.0 MIT )" + [platformdirs]=MIT + [tomli]=MIT + [wheel]=MIT + [zipp]=MIT +) +LICENSE+=" ${VENDOR_LICENSES[*]}" + +src_prepare() { + distutils-r1_src_prepare + + # Verify that we've covered licenses for all vendored packages + cd setuptools/_vendor || die + local packages=( *.dist-info ) + local pkg missing=() + for pkg in "${packages[@]%%-*}"; do + if [[ ! -v "VENDOR_LICENSES[${pkg}]" ]]; then + missing+=( "${pkg}" ) + else + unset "VENDOR_LICENSES[${pkg}]" + fi + done + + if [[ ${missing[@]} || ${VENDOR_LICENSES[@]} ]]; then + [[ ${missing[@]} ]] && + eerror "License missing for packages: ${missing[*]}" + [[ ${VENDOR_LICENSES[@]} ]] && + eerror "Vendored packages removed: ${!VENDOR_LICENSES[*]}" + die "VENDOR_LICENSES outdated" + fi +} + +python_compile() { + # If we're testing, install for all implementations. + # If we're not, just get one wheel built. + if use test || [[ -z ${DISTUTILS_WHEEL_PATH} ]]; then + distutils-r1_python_compile + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors + # TODO, probably some random package + setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass + # relies on -Werror + setuptools/_static.py::setuptools._static.Dict + setuptools/_static.py::setuptools._static.List + # Internet + setuptools/tests/test_namespaces.py::TestNamespaces::test_mixed_site_and_non_site + setuptools/tests/test_namespaces.py::TestNamespaces::test_namespace_package_installed_and_cwd + setuptools/tests/test_namespaces.py::TestNamespaces::test_packages_in_the_same_namespace_installed_and_cwd + setuptools/tests/test_namespaces.py::TestNamespaces::test_pkg_resources_import + # broken by warnings from setuptools-scm + setuptools/tests/config/test_apply_pyprojecttoml.py::TestPresetField::test_scripts_dont_require_dynamic_entry_points + # TODO + setuptools/tests/test_config_discovery.py::TestDiscoverPackagesAndPyModules::test_py_modules_when_wheel_dir_is_cwd + 'setuptools/tests/test_egg_info.py::TestEggInfo::test_requires[setup_requires_with_markers]' + ) + + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # fails and breaks other tests + setuptools/tests/test_editable_install.py + ) + ;; + esac + + local -x PRE_BUILT_SETUPTOOLS_WHEEL=${DISTUTILS_WHEEL_PATH} + epytest -o tmp_path_retention_policy=all \ + -m "not uses_network" setuptools +} + +src_install() { + if [[ ${DISTUTILS_WHEEL_PATH} != *py3-none-any.whl ]]; then + die "Non-pure wheel produced?! ${DISTUTILS_WHEEL_PATH}" + fi + # TODO: compress it? + insinto /usr/lib/python/ensurepip + doins "${DISTUTILS_WHEEL_PATH}" +} diff --git a/dev-python/fake-py/Manifest b/dev-python/fake-py/Manifest deleted file mode 100644 index d80779b7c7ce..000000000000 --- a/dev-python/fake-py/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST fake.py-0.11.10.gh.tar.gz 118399 BLAKE2B 7bd1d12152c0be9f4e4e7887e3b3ffb372207d464a773acc8bd28035899ff72f6aa82c625fbfd97d4f27c92014db04795efe958d23a431ff7b6ad9ea923023ea SHA512 def8f9dfe89f038c6ff11fc6d40e18c20c5ffa36e3c6a5a3c6f90c08ffd8018b343e455a9763594d3aeb92152c9ac608ed941a75137cb1fc1d1157b2adbbf061 -DIST fake.py-0.11.12.gh.tar.gz 118743 BLAKE2B fdc764a1d5b87fa84f2a5908f20c3ac1935654aa7afb1e9955ebb60dd8dc087dffa1b2b1349c7725a4e41be75c9d8ee54675b9b44de4839516298999099c35d5 SHA512 667feb1d24e1bd27291e52ff80a345ceb097f417df475c101abb513411457db13dad22aed1ccf745e6d8823d2475037ab52a75e49ad5ffe06aaa00a214a43ac8 diff --git a/dev-python/fake-py/fake-py-0.11.10.ebuild b/dev-python/fake-py/fake-py-0.11.10.ebuild deleted file mode 100644 index a292bf381cd5..000000000000 --- a/dev-python/fake-py/fake-py-0.11.10.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_PN=fake.py -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -MY_P=${P/-/.} -DESCRIPTION="Minimalistic, standalone alternative fake data generator with no dependencies" -HOMEPAGE=" - https://github.com/barseghyanartur/fake.py/ - https://pypi.org/project/fake-py/ -" -# upstream removed examples (and their tests) from sdist around 0.11.8 -SRC_URI=" - https://github.com/barseghyanartur/fake.py/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=( hypothesis ) -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # avoid pytest-codeblock which is another nightmare NIH package - rm conftest.py || die -} - -python_test() { - # This package is a mess with tests thrown all over the place, - # and they need to be run separately because of how messy this is. - - local EPYTEST_DESELECT=( - # fails when started via 'python -m pytest' because of different - # argparse output - fake.py::TestCLI::test_no_command - ) - - epytest -o addopts= fake.py - - local suite - for suite in customisation dataclasses hypothesis lazyfuzzy; do - pushd "examples/${suite}" >/dev/null || die - epytest -o addopts= - popd >/dev/null || die - done -} diff --git a/dev-python/fake-py/fake-py-0.11.12.ebuild b/dev-python/fake-py/fake-py-0.11.12.ebuild deleted file mode 100644 index a292bf381cd5..000000000000 --- a/dev-python/fake-py/fake-py-0.11.12.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_PN=fake.py -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -MY_P=${P/-/.} -DESCRIPTION="Minimalistic, standalone alternative fake data generator with no dependencies" -HOMEPAGE=" - https://github.com/barseghyanartur/fake.py/ - https://pypi.org/project/fake-py/ -" -# upstream removed examples (and their tests) from sdist around 0.11.8 -SRC_URI=" - https://github.com/barseghyanartur/fake.py/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=( hypothesis ) -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # avoid pytest-codeblock which is another nightmare NIH package - rm conftest.py || die -} - -python_test() { - # This package is a mess with tests thrown all over the place, - # and they need to be run separately because of how messy this is. - - local EPYTEST_DESELECT=( - # fails when started via 'python -m pytest' because of different - # argparse output - fake.py::TestCLI::test_no_command - ) - - epytest -o addopts= fake.py - - local suite - for suite in customisation dataclasses hypothesis lazyfuzzy; do - pushd "examples/${suite}" >/dev/null || die - epytest -o addopts= - popd >/dev/null || die - done -} diff --git a/dev-python/fake-py/metadata.xml b/dev-python/fake-py/metadata.xml deleted file mode 100644 index a0d4c5913ba0..000000000000 --- a/dev-python/fake-py/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - </maintainer> - - <origin>gentoo-staging</origin> - <stabilize-allarches/> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/happybase/Manifest b/dev-python/happybase/Manifest deleted file mode 100644 index a80401b18903..000000000000 --- a/dev-python/happybase/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST happybase-1.2.0.gh.tar.gz 43753 BLAKE2B 17c7762ca6268bbcfd1c379463a1f370aab354a526db2606e133b19c6b225e30561a079e22bee9f0232d74006c534d4c38d00ea1d651c93d94577dad9f60b0fe SHA512 0a93e390b854bdb047df8528aa6c19b3e0444c3d317feee4e2e0b8025792ece252422674d7b1feeb601b53966fec10e52593f2ad5119ec7f5e06128ad38ac2f6 diff --git a/dev-python/happybase/happybase-1.2.0-r1.ebuild b/dev-python/happybase/happybase-1.2.0-r1.ebuild deleted file mode 100644 index a54f81be992d..000000000000 --- a/dev-python/happybase/happybase-1.2.0-r1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 2021-2023 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 - -COMMIT_HASH="f5b6d104140c2be93e4175c0c844aaf094eb43da" - -DESCRIPTION="A developer-friendly Python library to interact with Apache HBase" -HOMEPAGE=" - https://github.com/python-happybase/happybase - https://happybase.readthedocs.io/ -" -SRC_URI=" - https://github.com/python-happybase/happybase/archive/${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="MIT Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - dev-python/thriftpy2[${PYTHON_USEDEP}] -" - -# tests require a running thrift server -RESTRICT="test" - -distutils_enable_tests pytest diff --git a/dev-python/happybase/metadata.xml b/dev-python/happybase/metadata.xml deleted file mode 100644 index 0f2e57ded13c..000000000000 --- a/dev-python/happybase/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>chutzpah@gentoo.org</email> - <name>Patrick McLean</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/jaconv/Manifest b/dev-python/jaconv/Manifest index f760e4b47bd1..fcbb44e173b9 100644 --- a/dev-python/jaconv/Manifest +++ b/dev-python/jaconv/Manifest @@ -1,3 +1,2 @@ -DIST jaconv-0.4.0-nose-to-pytest.patch 9718 BLAKE2B 3c8386357c2a1359cd7885f9070138aaa743cda747869c0a4af60888def9804f0a2c57d7dc808096f3acb79bfc5ce7c7c45c3da9e9e683e597c3168c1650b1ef SHA512 4d0abc1e26f8d0652114cdd0a7bf6bd30acea5be2e8f21a956a0305ae8363d4e7734d6c082a801b5ef3d83892d53ff709737e587c5e983be76c8dfab068868ca -DIST jaconv-0.4.0.gh.tar.gz 22876 BLAKE2B b37723afdf8516398608919ee5058dae9a99c4f0b258eb0a570b2f4f472637b6cd2e97c6f076b2d42cf74c0f1c1dce852f24a7effde79e8808b6f4e8b55020d8 SHA512 f435f1f61fef2ed36ee387138c767f88bf40dfb9d607b2b8bf9f88b1bbfd969d71c03464ce5b2adba2a65b5441eff6a0b88629cdff415366c2f1b8e6ea510bdf DIST jaconv-0.4.1.tar.gz 20277 BLAKE2B aca83fe68f1822bfcacaff516232b236c5ab575925a5056094a522cfffaf6e67843bb0749a6c15fe372a225c3f76e89c228f82ba747115b627f8c26a69d6682c SHA512 c5869da6a5a217c6fbe90a744c81d1969e7315cea09df0b24c229293980e75b49af3dc656b27cb5994ddeadd13d8ea2b2b492d4b4eea154ae68c3925477507a9 +DIST jaconv-0.5.0.tar.gz 21816 BLAKE2B ae657f919798ad3b9cc78ebfeb72e299c96f9c3a86f9ccdd34107364d5fc9c163b987a94e08ed163b101080c67df700844b8a4d7b6e85a6f0e04d31b6b7f9cbd SHA512 a48c020d8ea4a85c9348cea4a43203c0ea5128718eaf2c6e31a7caaf8594544f13f2f1fe01738bebd584a516f0287b48b720cdc48790ac12823af38927c415eb diff --git a/dev-python/jaconv/jaconv-0.4.0.ebuild b/dev-python/jaconv/jaconv-0.4.0.ebuild deleted file mode 100644 index 0dd30269e78e..000000000000 --- a/dev-python/jaconv/jaconv-0.4.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 2024-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} ) - -# no tags on github, no tests on PyPI -MY_PV=1d8aca73a72a4615b165602af9890517444e45d9 - -inherit distutils-r1 pypi - -DESCRIPTION="Pure-Python Japanese character interconverter" -HOMEPAGE=" - https://pypi.org/project/jaconv/ - https://github.com/ikegami-yukino/jaconv -" -SRC_URI=" - https://github.com/ikegami-yukino/jaconv/archive/${MY_PV}.tar.gz -> ${P}.gh.tar.gz - https://github.com/eli-schwartz/jaconv/commit/4f4160d33267ee7b6ff7386cdcdc6064a315b82a.patch?full_index=1 - -> ${P}-nose-to-pytest.patch -" -S="${WORKDIR}/${PN}-${MY_PV}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/ikegami-yukino/jaconv/pull/36 - "${DISTDIR}"/${P}-nose-to-pytest.patch -) - -src_prepare() { - default - # tries to add README as data to install to sys.prefix - sed -i '/data_files/d' setup.py -} diff --git a/dev-python/jaconv/jaconv-0.5.0.ebuild b/dev-python/jaconv/jaconv-0.5.0.ebuild new file mode 100644 index 000000000000..d63184822c05 --- /dev/null +++ b/dev-python/jaconv/jaconv-0.5.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 2024-2026 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="Pure-Python Japanese character interconverter" +HOMEPAGE=" + https://pypi.org/project/jaconv/ + https://github.com/ikegami-yukino/jaconv +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/jaraco-text/Manifest b/dev-python/jaraco-text/Manifest index 1858a3339ee1..62e350fe8cb2 100644 --- a/dev-python/jaraco-text/Manifest +++ b/dev-python/jaraco-text/Manifest @@ -1 +1,2 @@ DIST jaraco_text-4.0.0.tar.gz 17009 BLAKE2B 4aa4381de0988383f4442a1caaab48eae79f2cbe564438b540adfed12d9cfb3680de1e5579029be204024256ba9f3327af225db73f2bd68fed7b2bdd4859a799 SHA512 240c4f6f3df6916e9015479147474a43ea9e858e22821f53263c1ef42c61336c36a34baa9c7384b9d345cf42e10b7499e2efa3c85178a0c2abc47fcd82b63fb3 +DIST jaraco_text-4.1.0.tar.gz 19153 BLAKE2B 8585bb938ce694e7d438fe0faf17c51f9fd8392cc7157a4816a94a043aa1cd1e047d25c34fc0e27b82ccae1a73d000a82a90493c1b72f20fe8375c5bade02565 SHA512 8af0377c47c673b5d2a7d6d92f37b945bbe6aa451df7dd152669a8ef1f378c8b04283e23291393c70b818d32a96acffd16f71d401d9115775469a94c19926413 diff --git a/dev-python/jaraco-text/jaraco-text-4.1.0.ebuild b/dev-python/jaraco-text/jaraco-text-4.1.0.ebuild new file mode 100644 index 000000000000..4216cff116f1 --- /dev/null +++ b/dev-python/jaraco-text/jaraco-text-4.1.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Text utilities used by other projects by developer jaraco" +HOMEPAGE=" + https://github.com/jaraco/jaraco.text/ + https://pypi.org/project/jaraco.text/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + >=dev-python/jaraco-context-4.1.1-r1[${PYTHON_USEDEP}] + >=dev-python/jaraco-functools-3.5.0-r1[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "setuptools' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "jaraco.text" + version = "${PV}" + description = "Module for text manipulation" + EOF + + # remove CLI tools, they have annoying deps, no entry points + # and since there are dashes in their names, they can't be imported + # anyway + rm jaraco/text/*-*.py || die +} + +python_install() { + distutils-r1_python_install + # rename to workaround a bug in pkg_resources + # https://bugs.gentoo.org/834522 + mv "${D}$(python_get_sitedir)"/jaraco{_,.}text-${PV}.dist-info || die +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index d12ab8aeaca8..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 9cd8a2a93a8d45bf51fe2324402b175d641762ea591fcb99459427f977a95eccffa6ca4777ca4df39814eea6eac62711567faa654456d32f79023a4685804504 SHA512 d973b85ba1a44389a4275f02a779a93a005f7c2e096467b94b072862e4984d5b42cf33f9821ac68aa5b85b12c98983a90b96049989d8c84497969174b6bb838e -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 271137de443d..7100f5f39dd8 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-2025 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/lit/Manifest b/dev-python/lit/Manifest index 084c04abddc0..69b990500c85 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -1,5 +1,3 @@ -DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5 SHA512 4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52 -DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a SHA512 ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2 SHA512 6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30 diff --git a/dev-python/lit/lit-15.0.7.ebuild b/dev-python/lit/lit-15.0.7.ebuild deleted file mode 100644 index a6567ab9baaf..000000000000 --- a/dev-python/lit/lit-15.0.7.ebuild +++ /dev/null @@ -1,42 +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 llvm.org - -DESCRIPTION="A stand-alone install of the LLVM suite testing tool" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -# Tests require 'FileCheck' and 'not' utilities (from llvm) -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - llvm-core/llvm - ) -" - -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -# TODO: move the manpage generation here (from llvm-core/llvm) - -src_prepare() { - cd "${WORKDIR}" || die - distutils-r1_src_prepare -} - -python_test() { - local -x LIT_PRESERVES_TMP=1 - local litflags=$(get_lit_flags) - ./lit.py ${litflags//;/ } tests || die -} diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index 16aab638641b..d5698751ea63 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -7,3 +7,5 @@ DIST moto-5.1.19.tar.gz 8361592 BLAKE2B 09acce72f7e5ec4c98606540127b6b42e3e2142d DIST moto-5.1.19.tar.gz.provenance 9102 BLAKE2B a51cef63b05723935d6f230f3bf3177b37e00c8321a2d596921dbf57ca643f157bd0c92c479b05565810e9891a5f1547fb6fb2111f20e7640584f0ee8e49cbac SHA512 bf2c76fbe135caef94607ffd445fd7438df241b992da5f540634f518a2338b079d009d8ac34ee52a69f129be89a6662ca0e9930d63b711b3f48f8a3aa95924dd DIST moto-5.1.20.tar.gz 8318716 BLAKE2B e5079f84aeb87da3e3212c65ee24710b35c02baa469d4978b4bd7e48838751d886649af63595b5e45a11be2286ed0323261c093ca0703d21982a81c1deea5f68 SHA512 8a84e70422d7cde3e375624155b369275069865b59aa602e1c5fe369daebe01e222b28e2268e33f21dbe19d6dc1f4e51eca4b36bf94affea51cf57ae80869dbf DIST moto-5.1.20.tar.gz.provenance 9149 BLAKE2B 727557787b4e2eeca3c0f0b0bde894495cda7fa860125a7b2de2a06c6653f46499135d0c3b93e5d492059d83f47bda213963f2ea25221d1468fa3a9516276214 SHA512 3cfd65d60a9054dd4f5d0d2dbf492cc82d419673d10965e7f69127296a7b5d6b63ac7570dc5a8ad24a44e128710db4fe91ea3e1eca0e3f0dddeba3a0cd93e439 +DIST moto-5.1.21.tar.gz 8441171 BLAKE2B 3028e81de5f4797223789d8e907084abe752292637c85c8f27f2c0fff1f03c40e4e3f2412814960f997dc943a8675184f42daf83943ecf2532bc685c0de0e5a2 SHA512 87514f7ed6e7705e5d98b60a7a9e55c7a4fca1befc8f94507a0e73b77eb0ef04b83e2e21eb0328f5b15c6555571a2eaf81d9e20069fb37e7aa045b6e14bfb09a +DIST moto-5.1.21.tar.gz.provenance 9192 BLAKE2B 65ffb7dff7b5ca97c3b2042882ae6cdfea573dc2d8f76cb4dfb35d00696d7338280e9fc87acc2ab1c1665fb0c8108171a5974494d95f842ae1d9f1f0e1011cd7 SHA512 743d87261166eec76b54fe35491b1925617b6daa1439b5240eb6cf70551597c8f6f0bde30c2120e8f7b689b4b8698a5c955def61ecbcc08c2602f2ac9d3700a9 diff --git a/dev-python/moto/moto-5.1.21.ebuild b/dev-python/moto/moto-5.1.21.ebuild new file mode 100644 index 000000000000..8f2bdb328ae8 --- /dev/null +++ b/dev-python/moto/moto-5.1.21.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2026 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/getmoto/moto +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi toolchain-funcs + +DESCRIPTION="Mock library for boto" +HOMEPAGE=" + https://github.com/getmoto/moto/ + https://pypi.org/project/moto/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] + dev-python/boto3[${PYTHON_USEDEP}] + >=dev-python/botocore-1.35.47[${PYTHON_USEDEP}] + >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] + >=dev-python/cryptography-35.0.0[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + >=dev-python/jinja2-2.10.1[${PYTHON_USEDEP}] + dev-python/jsonpath-ng[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] + >=dev-python/openapi-spec-validator-0.5.0[${PYTHON_USEDEP}] + dev-python/pyaml[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + >=dev-python/responses-0.25.6[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/sshpubkeys[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/antlr4-python3-runtime[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_RERUNS=5 +: "${EPYTEST_TIMEOUT:=180}" +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + tests/test_dynamodb/test_dynamodb_import_table.py + # require joserfc + tests/test_apigateway/test_apigateway.py::test_create_authorizer + tests/test_apigateway/test_apigateway.py::test_delete_authorizer + tests/test_apigateway/test_apigateway.py::test_update_authorizer_configuration + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserDeleter::test_authenticate_with_signed_out_user + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserPoolDuplidateEmails::test_use_existing_email__when_email_is_ + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserPoolDuplidateEmails::test_use_existing_email__when_username_ + tests/test_cognitoidp/test_cognitoidp_replay.py::TestCreateUserPoolWithPredeterminedID::test_different_seed + tests/test_cognitoidp/test_cognitoidp_replay.py::TestCreateUserPoolWithPredeterminedID::test_same_seed + tests/test_cognitoidp/test_server.py::test_admin_create_user_without_authentication + tests/test_cognitoidp/test_server.py::test_associate_software_token + tests/test_cognitoidp/test_server.py::test_sign_up_user_without_authentication + # require py_partiql_parser + tests/test_dynamodb/test_dynamodb_statements.py + tests/test_s3/test_s3_select.py + # require graphql + tests/test_appsync/test_appsync_schema.py + # Internet + tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_entire_service + tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_specific_url + tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_wildcard_urls + tests/test_firehose/test_firehose_put.py::test_put_record_http_destination + tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination + ) + local EPYTEST_IGNORE=( + # require joserfc + tests/test_cognitoidp/test_cognitoidp.py + ) + + if ! tc-has-64bit-time_t; then + einfo "time_t is smaller than 64 bits, will skip broken tests" + EPYTEST_DESELECT+=( + tests/test_acm/test_acm.py::test_request_certificate_with_optional_arguments + tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header + tests/test_s3/test_server.py::test_s3_server_post_cors_multiple_origins + ) + EPYTEST_IGNORE+=( + tests/test_route53domains/test_route53domains_domain.py + ) + fi + + local -x TZ=UTC + local -x AWS_DEFAULT_REGION=us-east-1 + + epytest -m 'not network and not requires_docker' +} diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 8376cad77afd..e64f35d8cd65 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,6 +1,5 @@ DIST pypdf-6.4.2.gh.tar.gz 8295275 BLAKE2B 745936795cabbdd7f561743fb7a0e6b497a683fe23f32560336e82c3f5866a289ffd771e60f73d1782f73f5019191375704f0bc66617eb24cec860ab2613af8d SHA512 985f5a41bf2ab9ea9930dcd6a8f203596d1b50518f63ee815e0e6e74e050afd9a124b380fd8066c7f0b134886a645e165598d7764e3a40c3670df7e8de5c1995 DIST pypdf-6.5.0.gh.tar.gz 8301408 BLAKE2B 9df78a6d9cd8da07d55649ad92491a97d9fc02ea5329b8d6697a05f27a3c0dd1225271dfc4fda7cee6f6c571e328559cd42ead3535904f69c7517a90aa4dceb9 SHA512 09b098660affaaab94c2b7c3aec25538c639c1b15190aee01fa6d9e5882ad75299d53629bd4566bc7c667bfbad8cc8dc05a389598f29dd777121ea9eb10bea40 -DIST pypdf-6.6.0.gh.tar.gz 8363620 BLAKE2B 69462ebf40aa8eeb0392f463a761e72af118abe94ff120e85226f2a6a276a03c62c1726d0d6a5b552ab6d28b81d19fb6aee4c12b494863fc0ce4281530a57a9b SHA512 edbbe417fca077f4ddbd7d4ffe01cc4cabc66e1bdd5f14607c16baceb945a6dc534bc10dae6af25c9f2d85b0b9873ca47981ad1266b6b64672074846dd3d0382 -DIST pypdf-6.6.1.gh.tar.gz 8364036 BLAKE2B ae556f4742961150012b71206ee54ca9f275c7229cb797b9fd5cc58c7c44a1252dcd3dba6c2e8b9211ba6498086081109b4ab62bc9d955e30662f95a57325204 SHA512 971c6cefd0593804866a311a45feac51f816b420512ebc412f4a36551c1527117307281997d8eec33a19ee9cc65a1d71d1868c72514235a40e32e239fdf18749 DIST pypdf-6.6.2.gh.tar.gz 8364619 BLAKE2B 8aed0d554c764ab5626a86fa4d6513e9a0c0fed26843d2f84ca1c613a67284660b6607d1a12678a41f3086dc1624770b558134f765b49268d28d9ce25ac2732d SHA512 310261c47f9d1dfcbbdb95138d76b90ceb202573e148edbb3a30cf74f1e20f0afd831131d3dcbd39e918ac44507a32cd50465f44e8aff5780ed66ed611bd6c22 +DIST pypdf-6.7.0.gh.tar.gz 8383964 BLAKE2B a01ca5d9fb391cd1b0b770a02e3bf3e4354f779a40219a71c47d606ba5f32e29fb595d9745ee103665fca6cc7ff6233d3adb2b16fb096c2007622c3de4148732 SHA512 d0e514a5a3ea1b8798a7d53b5df8851747b858d46e454ffa37257b782c83ff6fef92959bd72f98889b870eecb7f4e47bd5353fb2b6b253aeff9feb6b80e49070 DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3 diff --git a/dev-python/pypdf/pypdf-6.6.1.ebuild b/dev-python/pypdf/pypdf-6.6.1.ebuild deleted file mode 100644 index 6a4b0c6b2c64..000000000000 --- a/dev-python/pypdf/pypdf-6.6.1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2026 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 - -SAMPLE_COMMIT=8c405ece5eff12396a34a1fae3276132002e1753 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" - -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - media-libs/jbig2dec[png] - ) -" - -EPYTEST_PLUGINS=( pytest-timeout ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} - -python_test() { - epytest -o addopts= -m "not enable_socket" -} diff --git a/dev-python/pypdf/pypdf-6.6.0.ebuild b/dev-python/pypdf/pypdf-6.7.0.ebuild index 6a4b0c6b2c64..6a4b0c6b2c64 100644 --- a/dev-python/pypdf/pypdf-6.6.0.ebuild +++ b/dev-python/pypdf/pypdf-6.7.0.ebuild diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest index bce9ac53b9a2..81471e93bf77 100644 --- a/dev-python/pyproject-fmt/Manifest +++ b/dev-python/pyproject-fmt/Manifest @@ -53,6 +53,7 @@ DIST pyo3-macros-backend-0.26.0.crate 81809 BLAKE2B 73885035855daf00b001e97e0a5e DIST pyproject_fmt-2.11.1.tar.gz 47310 BLAKE2B f066e5222da660e988abc1abf9425eb54864e83872f5317b1eac625433449dd753e76b0ec05905b7051b542bfc42ceebda8f3d41dbdfcde13f8fe5e295933b47 SHA512 c9e63d9494cb9560bb8d404aee78e6a3db3dd1bd019fb16ade7810665084f2e0396d4ec9f2ce84e1c6567ad95ddf26db6d3c9feaf99791291436ce2351cd9b43 DIST pyproject_fmt-2.12.1.tar.gz 83062 BLAKE2B 4011b76e449c833653d7e366c5bd9c95b95a79a26ce66c18b5eda623d9df698787cf62c33b0364d03fb52e4cba5790248d010172ae101122b8a8613fb740e429 SHA512 bebc73b705c02df6667a18b3e2c625362d395cffe8aa8423747d42d8fdda8e7c7cfc3994e2edd904c2682d9aa5cf845d3528b6d85c895848a4926aac5b645915 DIST pyproject_fmt-2.14.0.tar.gz 109775 BLAKE2B 7417d3a08af776339056d2fd4b2abb087b901ab3f840b5527251c643ac605d009c4645f3dbf3f8b779c9856957e26d53bcf13e6d30d45d9b03c883fd13ebfe11 SHA512 30d0330c3a45f115d378bdec0497ea1aed1090fdb8a2bb2aa3f59c7f871584222af530f4c8d3bdca9562119330b6b2fc94a6591a79ad5c64c82c81846518820f +DIST pyproject_fmt-2.14.1.tar.gz 118476 BLAKE2B 4d1045f4744fac803bb3c72efe51ec6ed36d0f67ad3115a0e28c17e59d6525c75c0010b4728269f7e6c01307c4fcc9f3d014ff5c12786c41f5e6c1c1999e348e SHA512 0a58e5bdafb161fcf19b179a60829e032c8ee94a4461571dd5daff8a0a2e1e3c2bac6ab78388e2d5f666b52793b2055ae84fb0d8f57bbae44bb0d6573683f499 DIST quote-1.0.40.crate 31063 BLAKE2B 09036ff3e5ebbd775c466bb936de91d4c070481eb4b98c62a4cddcda57cd7b67d63f979b321f6ec64aabee3f5da6c28e7a3efb83f4647768ba578f1bd0bd0bdb SHA512 45a76e22a2b0bec47e4ba73c3b73cc41d821dfcce9876134c5d8eed514da214aee4ce7612e372c8709f888c0d8b9b7e5442f27adb7a59f3571f0339ed7e2ac99 DIST r-efi-5.2.0.crate 64764 BLAKE2B ee17fae983b2c39137cb75698062a3bf8edb4bc680b04900797730618b54298e2f1d13ceab6b660f7a1799f6fc4113ca15d4320b1b95fc42913e0930f3aa16f8 SHA512 80f89d467b482297ec2c13cb0dc8e310442495483e25c33bb523f1cb66d6ce01fee4a57b36880a4f51c0e9f20eb3f993a5bc0a13224d52693dbc81b97c630158 DIST regex-1.11.1.crate 254170 BLAKE2B 5cf41012fc2ba8a006c0eb4a922cbbf1614bf300be361c9e2d98956a9a5e9b140e37bea09132fab7bfb633d4439158723624bcf45e8c619c4061b399253c1b82 SHA512 d065f6dc405771518260425f39a5eaaf8cab62e78c91ceed3b3994a9a121674d2484cadaaf816bdad89c87a40550d57b66a3d9de6618a7119a658301ce7e67d8 @@ -86,7 +87,9 @@ DIST time-0.3.41.crate 138369 BLAKE2B 1e6e22c973dc33c950886e9628864dfc07e52dd05f DIST time-core-0.1.4.crate 8422 BLAKE2B 3c9fd96b77b2d405ef696d62d18639945b81d1c8d84f1613f440a4d61a373f767aa204cf557f82d41a990cb74e952b5ae51e467f9ad0eca0175bf3cc4385dee2 SHA512 677e6b67081901b2f0bf2856a2cc29ffbb0ec3a4363e6deaa3082890f4972669f30cb55863462d8510462faa6dd698b013e04921a0657005633506b51dbef531 DIST time-macros-0.2.22.crate 24604 BLAKE2B a511923e4c8d790ed422e4635244796154b6893a3dfdd32e9b960fe0a12749a23656335573b42c1245984988382e6991e242830c770378580a61e9f451bd06a5 SHA512 7633ea40338364add29e7cf6beb7f2e9c441a8fd6079fba9b9fd13dcda6537c2ccbc3091cb6551715649d13080567fa26ed6db4e4b3402736105f526da2f45bc DIST tombi-45fd7d87b0e081ac3c29b207d4ccf89dc0a7ab97.gh.tar.gz 10358694 BLAKE2B 5c9d9372094dd730a5868b48d5536734b9127b34c416f5cfbb4d2bfeb26446e167fd5b26be06bffa8e774a52a6ef333b603e761033dd5c169c7575d6eead86d7 SHA512 eb4d3f2d51569dac76fc073459b4f24a91089011412353510050e533701fd38c4369003fdc005cc742e9e8ee3fe8b40b4a3c4afd44587dee8892a335e107c277 +DIST tombi-73d0800f0cf60e04fea74992d7abb6fcac435749.gh.tar.gz 10358630 BLAKE2B b71e4b99b74341e21539310bcfa7859cafc5e37a92ecc09b7772a12fcdb0ea21650313deaa37de42bbfbc5dc814092d09a4544113432a623fd96387488a5dd9d SHA512 268cb8ce9f09e727e59a108e8c233bf97abaea4b5472dcfd66f9b9d9c77dcab3ad1479665b47b2ccb9a4dc02f0cc1821673bd71b9e39d97d106be7c130d6b6ba DIST toml-fmt-pyproject-fmt-2.14.0-crates.tar.xz 17729776 BLAKE2B 00b4918b86c3c35d1a0574348ad6f4559b33e06553e25906da65971d33a428c4a2842b07ff551e823800a3b10682fe1c607cd412f0468ac209c68b73d90ac26e SHA512 63b69d0dc643915ff8930dc8a367f7e66ce6034e20a269482cd152ef88dcbd1ccfb2664a291d1881a47eee4b36c1458e3d1f869ea60f1d1d6119deb0fe9ed561 +DIST toml-fmt-pyproject-fmt-2.14.1-crates.tar.xz 17945184 BLAKE2B 8e8e9b9713aaac87efcc128f194217c0f662e947d6011d675fe789594ca689ed947f71999a1f2e59ae7afb59cdbb76be1bb96a2a1f54c8a917115ef0a1ef088b SHA512 7d4eec57f8f1733bdbb86fa75ef198a45f9c56e93feff96c3e12c7747f637ffacd55a71f999ec3b34a48ee08e8772e5f858d56bd243b8a003861d504f2edcb8b DIST toml_datetime-0.6.9.crate 12622 BLAKE2B 0362fbee2359fb7388bd679ccf114e554234294437dd3aa26b0e969aadd0e0fb76ad89eb33e0c4a2b50883764f64708fad2e265562feba13688fdd07623e18af SHA512 8409a902d7f6c22a8837cb71fd0e4fbb40b34c1608c3e858f4f5268c34948b94e9f9dae9e6f3ba73c78e3db14754fcec0b22081160acb228ae366aeafaaead9c DIST toml_edit-0.22.26.crate 121714 BLAKE2B c1e39ec75d3d34e038d7a7e3af4d74b1a53010ed2d837a3643f08e459231ec7f15c149910dbc5294187601e342b0ba03fa8129dbc879b326841a32513ed7fdd2 SHA512 8cad3472f790e3423dadb34da76f77fd122721daa1c855a749699ac0af8e39c2453ed47369b14e8603204acb896a966ea98857118003a5d75cc48ca5e28ecff7 DIST tracing-0.1.41.crate 82448 BLAKE2B c056d938e001654e03efaec7a11eb8ecfbdfe9af2099271fcefa43f4f4683b40c59f7111fdf7f27df4da38bcbe94f1b2ac0abb6ec3d6e6a0d165b9fbb14da3a3 SHA512 dffb8d3a1375f1b9d5418550a46cb7b1d92b2cc8ffbccb430a38f7731547960775bb42798074186711847d256eee30fb3e74078b69cb36f28c07d9f231dbf96c diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.14.1.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.14.1.ebuild new file mode 100644 index 000000000000..f4fd26ec6221 --- /dev/null +++ b/dev-python/pyproject-fmt/pyproject-fmt-2.14.1.ebuild @@ -0,0 +1,95 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{10..14} ) + +RUST_MIN_VER="1.87.0" +CRATES=" +" + +declare -A GIT_CRATES=( + [tombi-accessor]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-accessor' + [tombi-ast-editor]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-ast-editor' + [tombi-ast]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-ast' + [tombi-cache]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-cache' + [tombi-comment-directive-serde]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-comment-directive-serde' + [tombi-comment-directive-store]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-comment-directive-store' + [tombi-comment-directive]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-comment-directive' + [tombi-config]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-config' + [tombi-date-time]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-date-time' + [tombi-diagnostic]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-diagnostic' + [tombi-document-tree]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-document-tree' + [tombi-document]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-document' + [tombi-formatter]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-formatter' + [tombi-future]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-future' + [tombi-json-lexer]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-json-lexer' + [tombi-json-syntax]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-json-syntax' + [tombi-json-value]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-json-value' + [tombi-json]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-json' + [tombi-lexer]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-lexer' + [tombi-parser]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-parser' + [tombi-regex]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-regex' + [tombi-rg-tree]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-rg-tree' + [tombi-schema-store]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-schema-store' + [tombi-severity-level]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-severity-level' + [tombi-syntax]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-syntax' + [tombi-text]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-text' + [tombi-toml-text]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-toml-text' + [tombi-toml-version]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-toml-version' + [tombi-uri]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-uri' + [tombi-validator]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-validator' + [tombi-version-sort]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-version-sort' + [tombi-x-keyword]='https://github.com/tombi-toml/tombi;73d0800f0cf60e04fea74992d7abb6fcac435749;tombi-%commit%/crates/tombi-x-keyword' +) + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Format your pyproject.toml file" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-fmt/ + https://pypi.org/project/pyproject-fmt/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} + https://github.com/gentoo-crate-dist/toml-fmt/releases/download/pyproject-fmt%2F${PV}/toml-fmt-${P}-crates.tar.xz +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT MPL-2.0 + Unicode-3.0 ZLIB +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + ~dev-python/toml-fmt-common-1.2.0[${PYTHON_USEDEP}] +" +# tox is called as a subprocess, to get targets from tox.ini +BDEPEND=" + test? ( + dev-python/tox + ) +" + +EPYTEST_PLUGINS=( pytest-mock ) +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/pyproject_fmt/_lib.*.so" + +src_prepare() { + distutils-r1_src_prepare + sed -i -e '/strip/d' pyproject.toml || die +} + +python_test_all() { + # default features cause linking errors because they make pyo3 + # wrongly assume it's compiling a Python extension + # https://github.com/tox-dev/toml-fmt/issues/23 + cargo_src_test --no-default-features +} diff --git a/dev-python/python-debian/Manifest b/dev-python/python-debian/Manifest index 7b4e5b815251..b55edccc1eec 100644 --- a/dev-python/python-debian/Manifest +++ b/dev-python/python-debian/Manifest @@ -1 +1,2 @@ DIST python-debian_1.0.1.tar.xz 198004 BLAKE2B 377549e8dbafae8f2a124b96482e9d67a8476848864967911c9c291c5824e45142e1205ceca80e930dd5a19f5421ffdc591f7ce8b535f589323ecb3da40c119c SHA512 7acbb2bf005e586d22ac5583db9d474e40fd12d459e8d8d27f168ba87dbd6ecd5397b624847e227d91b3f803ecf77326f61af4bf041f628d089672bac9f382b4 +DIST python-debian_1.1.0.tar.xz 200940 BLAKE2B 24d31e04fc08c43f9b9e4c9ad71eedaa3529f47266eed2610fc9cfd8a2c3ab932bf9570fcc5c49a219189d6a522af92ee8378aa520932d83ec8153463657484b SHA512 e93e8e6b0127a2f78b70c827ae9afec6302daf790315d1d3445d51f0da487768ec134a5173ea2ec75482fdd1da6af0e8fdb9037234a3c35f9b982a49dfbddfcf diff --git a/dev-python/python-debian/python-debian-1.1.0.ebuild b/dev-python/python-debian/python-debian-1.1.0.ebuild new file mode 100644 index 000000000000..8177253a8983 --- /dev/null +++ b/dev-python/python-debian/python-debian-1.1.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 2011-2026 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 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" +# seriously? +S=${WORKDIR}/work + +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 + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + # silence false positives + rm -rf debian || die + + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_compile_all() { + # See debian/rules. + "${EPYTHON}" src/debian/doc-debtags > README.debtags || die +} + +python_test() { + epytest --doctest-modules +} diff --git a/dev-python/readthedocs-sphinx-ext/Manifest b/dev-python/readthedocs-sphinx-ext/Manifest deleted file mode 100644 index 689c6ba442cf..000000000000 --- a/dev-python/readthedocs-sphinx-ext/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST readthedocs-sphinx-ext-2.2.5.tar.gz 12303 BLAKE2B 55e67a96b8e5c4fef9d0768a4e514da924969628349d210b1cba6d8167c288bb4b6792486a80176fb01df7f8889b3f7b59ff30cb4ea487943e4bfe0d6942488f SHA512 d096803bb3d065236502d790ddd9efbf281854177dee7043f8bf2292cb124aea636b0d036e23ea3f23643484faaf2fd5e1b8636a2ed7973674cf5d5584f39bf3 diff --git a/dev-python/readthedocs-sphinx-ext/metadata.xml b/dev-python/readthedocs-sphinx-ext/metadata.xml deleted file mode 100644 index ea8988e8af6a..000000000000 --- a/dev-python/readthedocs-sphinx-ext/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - - <origin>gentoo-staging</origin> - <stabilize-allarches/> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/readthedocs-sphinx-ext/readthedocs-sphinx-ext-2.2.5.ebuild b/dev-python/readthedocs-sphinx-ext/readthedocs-sphinx-ext-2.2.5.ebuild deleted file mode 100644 index 1063a45c6012..000000000000 --- a/dev-python/readthedocs-sphinx-ext/readthedocs-sphinx-ext-2.2.5.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2020-2025 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_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Code specific for Read the Docs and Sphinx" -HOMEPAGE=" - https://github.com/readthedocs/readthedocs-sphinx-ext/ - https://pypi.org/project/readthedocs-sphinx-ext/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - >=dev-python/jinja2-2.9[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] -" - -# unittest should be sufficient but tests are very verbose, so pytest's -# output capture is most welcome -distutils_enable_tests pytest diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index 7a06c217dfdb..e7063abfcc0a 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -2,3 +2,4 @@ DIST setuptools-79.0.1.tar.gz 1367909 BLAKE2B d495a22753400b3b0ef71423e2c9b5adaa DIST setuptools-80.10.2.tar.gz 1200343 BLAKE2B 575eacccf3f9f846658d55d55425263d8847419644e62506b9e953c5a5db541dc6b3d8c4fcf096ec1e46406ecad545569111dc265aa8474ba17ebe57a10b382d SHA512 7dbc657878b418a9bdba124e5b8f98228af0590ffbb02c6396ac5b3d84be8f04b327780a7b1f9fa223d4c179004e822e2b00eec673f8eeb700b08b095ff6491d DIST setuptools-80.9.0.tar.gz 1319958 BLAKE2B ab367912eec92b0d1251916d09c1dd2e311767eec87225beaff870dff923b47ba1732d2f7393b7d9e55d1ff1249c612e4403019e0021048951f9fc3b775c04c9 SHA512 36eb1f219d29c6b9e135936bde2001ad70a971c8069cd0175d3a5325b450e6843a903d3f70043c9f534768ebeab8ab0c544b8f44456555d333f1ed72daa5c18b DIST setuptools-81.0.0.tar.gz 1198299 BLAKE2B a92fa15e03c99f6d7acbc0a24e6d3b4b31d514c031195b1dd0ae238611c44c3c979847c45437e5e4221fb8f750a7264fb55235ee7d4a8207ef19a67306d5360c SHA512 4dda2f0796d1a32d160e0786fc6ebb9908483e16edac6b0335df4779a0a8331f13b70fbf69986a27cc8f6ff10c1f696599059710fef99f36ff1e766f04220466 +DIST setuptools-82.0.0.tar.gz 1144893 BLAKE2B dae5c129ba4f490f7e9e7cfc42ff4147010fcd2f63e7e5bf6635a4153e5c3882f2ee265f01baa23d8c0f6c562c90c5408a998db0b95e5ea9c5a2fade167059d5 SHA512 52424f813bb8efa1d3aa8cb910338d29c36c6a641f7ded91d298c1abe7c1a24d572c60c14c028f3825af29b46d57a4ee454845b1d22b73b03278a9500d957dd9 diff --git a/dev-python/setuptools/setuptools-82.0.0.ebuild b/dev-python/setuptools/setuptools-82.0.0.ebuild new file mode 100644 index 000000000000..b36ac14537b8 --- /dev/null +++ b/dev-python/setuptools/setuptools-82.0.0.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +# please bump dev-python/ensurepip-setuptools along with this package! + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{11..14} pypy3_11 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of extensions to Distutils" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/jaraco-functools-4.4.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-text-4.0.0[${PYTHON_USEDEP}] + >=dev-python/more-itertools-10.8.0[${PYTHON_USEDEP}] + >=dev-python/packaging-25.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.4.0[${PYTHON_USEDEP}] + >=dev-python/wheel-0.45.1[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + >=dev-python/build-1.0.3[${PYTHON_USEDEP}] + >=dev-python/ini2toml-0.14[${PYTHON_USEDEP}] + >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-path-3.7.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-test-5.5[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + >=dev-python/pytest-home-0.5[${PYTHON_USEDEP}] + dev-python/pytest-subprocess[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" +# setuptools-scm is here because installing plugins apparently breaks stuff at +# runtime, so let's pull it early. See bug #663324. +# +# trove-classifiers are optionally used in validation, if they are +# installed. Since we really oughtn't block them, let's always enforce +# the newest version for the time being to avoid errors. +# https://github.com/pypa/setuptools/issues/4459 +PDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2024.10.16[${PYTHON_USEDEP}] +" + +src_prepare() { + local PATCHES=( + # https://github.com/abravalheri/validate-pyproject/pull/221 + "${FILESDIR}/setuptools-75.6.0-disable-trove-classifiers.patch" + ) + + distutils-r1_src_prepare + + # remove bundled dependencies + rm -r */_vendor || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + return + fi + + local EPYTEST_DESELECT=( + # broken by unbundling (e.g. installs self-wheel into venv) + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta + setuptools/tests/test_distutils_adoption.py + setuptools/tests/test_editable_install.py + setuptools/tests/test_sdist.py::test_sanity_check_setuptools_own_sdist + setuptools/tests/test_setuptools.py::test_wheel_includes_vendored_metadata + setuptools/tests/test_virtualenv.py::test_no_missing_dependencies + # TODO + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors + # TODO, probably some random package + setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass + # relies on -Werror + setuptools/_static.py::setuptools._static.Dict + setuptools/_static.py::setuptools._static.List + # Internet + setuptools/tests/test_build_py.py::TestTypeInfoFiles::test_type_files_included_by_default + setuptools/tests/test_dist.py::test_dist_fetch_build_egg + setuptools/tests/test_namespaces.py::TestNamespaces::test_mixed_site_and_non_site + setuptools/tests/test_namespaces.py::TestNamespaces::test_namespace_package_installed_and_cwd + setuptools/tests/test_namespaces.py::TestNamespaces::test_packages_in_the_same_namespace_installed_and_cwd + setuptools/tests/test_namespaces.py::TestNamespaces::test_pkg_resources_import + # broken by warnings from setuptools-scm + setuptools/tests/config/test_apply_pyprojecttoml.py::TestPresetField::test_scripts_dont_require_dynamic_entry_points + # TODO + 'setuptools/tests/test_egg_info.py::TestEggInfo::test_requires[setup_requires_with_markers]' + ) + + local EPYTEST_XDIST=1 + local -x PRE_BUILT_SETUPTOOLS_WHEEL=${DISTUTILS_WHEEL_PATH} + local EPYTEST_PLUGINS=( pytest-{home,subprocess,timeout} ) + epytest -o tmp_path_retention_policy=all \ + -m "not uses_network" setuptools +} diff --git a/dev-python/slixmpp/Manifest b/dev-python/slixmpp/Manifest index bf7e23109bfb..4e3790543af7 100644 --- a/dev-python/slixmpp/Manifest +++ b/dev-python/slixmpp/Manifest @@ -53,6 +53,7 @@ DIST serde_core-1.0.228.crate 63111 BLAKE2B 8a64e4627ad21a3d16dd37d53fb809d11171 DIST serde_derive-1.0.228.crate 59605 BLAKE2B 166ee2f9ff9f7a0928d0a65a72db3d9226c377bca2a1771956e8ecd9c7faf0544673c9c21be2a5553e621b55c74c7b958052592a1cf6eb6427a2d4f3e3dc6bb8 SHA512 8bfdfeee10ee7ef0670972aa963ef63b13e8eb2c8a09b9e0b717f92551aa89b3dd2a0dcbae6ccf20a1caece07e6adb18f0db56fdac020e4e0281b0d24e376003 DIST slixmpp-1.12.0.tar.gz 715300 BLAKE2B 1345af854f8e6c7423a491e56644fa83a06baf47d01de2667429fd2f4fe3114ed255a6c9c5b01a29bea611235e70dca162acc851d63d74921a25a7904fd0f42a SHA512 45e2c4963241a007879c6641d1d419a00b689992b4ce67bb0d8cdc759a78df2bbf18f6592f4e5590cc8d85eb6c8e1693ff648d8f4f7101c2779b89c0ed87b911 DIST slixmpp-1.13.0.tar.gz 757757 BLAKE2B bffb0612d578b61bc2e3192f434acc56d3b6539a098f56330d0dcabaa5ebfbecd0253640d8c757641134963033cba81a7ab9e0a32bf1a4eaa02de6917a037804 SHA512 4b84c9ce78511c7158ecd2364361841f9345ea4fac7d38ca2d47d22de48d3982f23170582b47d7de9343f5d4bc0152d161b1f94d0c0e37d55b6b38b321a7a37f +DIST slixmpp-1.13.2.tar.gz 757698 BLAKE2B 826993babc2e7326eafe2bb08cba4b157406ee883121e77c8f0196ef18cd1777b3d4633051cbca8291e43b4cd32ffc6d520beb9ae175fc511c13674e4496237e SHA512 19638ebbefd7b85d9ebbede9bfc73d0f68e512b7044e1e488ad1c386419d2bc3386fe8531454cd45b245fa9a082458b35aa4d46bc9daac542286240773e0d5c4 DIST smallvec-1.15.1.crate 38116 BLAKE2B 8dd779d7726694672945e928399e0459f4973d284a6c2d664c2fc757ebb1177658f47c812d9800e982479cbd7413fd4283c64a4d248ba5cff6397f96b758676e SHA512 c26b097a063353beedfcc921129cd0fb838c1c9420218993a05b2655b47b6ec16f11e0054312018658b4abd893beee140c5d2739401a5e5aea2e64575f237047 DIST stable_deref_trait-1.2.1.crate 8186 BLAKE2B 6408959d169d1228c1b0802ef31c850206405f8259168f169aabc91f63683dcdf347ff0e74fb3535ab05d7642889dd2637afbdea389b43b0925e0d6cf441ed67 SHA512 630721d3f8e9f3290efc250c42aba13e2325839e62167a2a611618c18c6aa58c08a53622db61a9aa920284570626b98df26b3c28009cf45b6ce1ec134b9c9f5c DIST stringprep-0.1.5.crate 23573 BLAKE2B 8b5ae2f278603553761e0b98a3f0a02c6a81fd117fee57a8186a015a58ce5ec8d91d9f3decb393f53e07d8df05963f399e63afa46bca937b99f609204582aa50 SHA512 f5dd6ee410e42f285b4da85e76d514ef697cd995c601b5ed23e25f702d920dcc76f15fad41610b6554b692ca0f939f329845535fe4ea167df3ea0e628b1da447 diff --git a/dev-python/slixmpp/slixmpp-1.13.2.ebuild b/dev-python/slixmpp/slixmpp-1.13.2.ebuild new file mode 100644 index 000000000000..8380f33f9a06 --- /dev/null +++ b/dev-python/slixmpp/slixmpp-1.13.2.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2026 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_{10..14} ) + +RUST_MIN_VER="1.83" +CRATES=" + autocfg@1.5.0 + displaydoc@0.2.5 + heck@0.5.0 + icu_collections@2.1.1 + icu_locale_core@2.1.1 + icu_normalizer@2.1.1 + icu_normalizer_data@2.1.1 + icu_properties@2.1.2 + icu_properties_data@2.1.2 + icu_provider@2.1.1 + idna@1.1.0 + idna_adapter@1.2.1 + indoc@2.0.7 + jid@0.12.1 + libc@0.2.180 + litemap@0.8.1 + memchr@2.8.0 + memoffset@0.9.1 + once_cell@1.21.3 + portable-atomic@1.13.1 + potential_utf@0.1.4 + proc-macro2@1.0.106 + pyo3-build-config@0.27.2 + pyo3-ffi@0.27.2 + pyo3-macros-backend@0.27.2 + pyo3-macros@0.27.2 + pyo3@0.27.2 + quote@1.0.44 + rustversion@1.0.22 + smallvec@1.15.1 + stable_deref_trait@1.2.1 + stringprep@0.1.5 + syn@2.0.114 + synstructure@0.13.2 + target-lexicon@0.13.4 + tinystr@0.8.2 + tinyvec@1.10.0 + tinyvec_macros@0.1.1 + unicode-bidi@0.3.18 + unicode-ident@1.0.22 + unicode-normalization@0.1.25 + unicode-properties@0.1.4 + unindent@0.2.4 + utf8_iter@1.0.4 + writeable@0.6.2 + yoke-derive@0.8.1 + yoke@0.8.1 + zerofrom-derive@0.1.6 + zerofrom@0.1.6 + zerotrie@0.2.3 + zerovec-derive@0.11.2 + zerovec@0.11.5 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Python 3 library for XMPP" +HOMEPAGE=" + https://codeberg.org/poezio/slixmpp/ + https://pypi.org/project/slixmpp/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 Unicode-3.0" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + >=dev-python/aiodns-3.2.0[${PYTHON_USEDEP}] + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/emoji[${PYTHON_USEDEP}] + >=dev-python/pyasn1-modules-0.4.1[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.6.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +# Rust +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/slixmpp/jid.*.so" + +distutils_enable_tests unittest + +python_test() { + rm -rf slixmpp || die + eunittest -s tests +} diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest index f997cbe799c7..fbdca52af940 100644 --- a/dev-python/thriftpy2/Manifest +++ b/dev-python/thriftpy2/Manifest @@ -1,2 +1,3 @@ DIST thriftpy2-0.5.3.tar.gz 814230 BLAKE2B 33e4702350d22e4f4c1eb4fedfc9358de93012511bcbdee95f266b9b45be85f16040f673c35fa47fd42dc498d2b132b13a1a6c49e957d9b551cd151ddd328e49 SHA512 09a66b623db6ad8e67d0e8ade9c5d2786f6d8fb967cd47492d48812a4553be2d2c50c5de1192a0d7fabc599d94cb50bdc94b73500d48b76804287cb91e9e3e89 +DIST thriftpy2-0.6.0.tar.gz 996147 BLAKE2B afa23e8ca5247752a141d52d223433539683318290506f52d3c42e0869a775abf35a07330e15112490eec408ae7b70e38e86b5ad55ffb29bb15a57bbcbd0c906 SHA512 a2637ccaf293030211b00d202b21153719172afadfce09c3152157ad850442335000bff33d5335b22cbd662fc768653a5e0b364e4f4980d0d77b211d00f120f4 DIST thriftpy2-0.6.0b1.tar.gz 996052 BLAKE2B a97ed54439ec0cacbe45d6c0ca80ec099a066cf7b6cbe890224db00776cd61d7c5ad3347fe4de4423c67578963dc8d8ea63512d59134a0ddc8908d4eef4fd173 SHA512 8a4df0dc2c62f9302bb3d05642bb109a6cad5b7d68a9b24423a0369a6efade6bc961ba91418d9bc8c4f00c12456d4e6fe4b9327f11bee11c369f5c1395e576e5 diff --git a/dev-python/thriftpy2/thriftpy2-0.6.0.ebuild b/dev-python/thriftpy2/thriftpy2-0.6.0.ebuild new file mode 100644 index 000000000000..6229bdc41f67 --- /dev/null +++ b/dev-python/thriftpy2/thriftpy2-0.6.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 2021-2026 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_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pure python approach of Apache Thrift" +HOMEPAGE=" + https://github.com/Thriftpy/thriftpy2/ + https://pypi.org/project/thriftpy2/ +" + +LICENSE="MIT" +SLOT="0" +if [[ ${PV} != *_beta* ]]; then + KEYWORDS="~amd64 ~x86" +fi + +RDEPEND=" + <dev-python/ply-4[${PYTHON_USEDEP}] + <dev-python/six-2[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/cython-3.0.10[${PYTHON_USEDEP}] + test? ( + dev-python/tornado[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{asyncio,reraise} ) +distutils_enable_tests pytest + +python_test() { + cd tests || die + epytest +} diff --git a/dev-python/ubelt/Manifest b/dev-python/ubelt/Manifest index d2c0d6d10fe8..7248e89f29c9 100644 --- a/dev-python/ubelt/Manifest +++ b/dev-python/ubelt/Manifest @@ -1 +1,2 @@ DIST ubelt-1.4.0.gh.tar.gz 376453 BLAKE2B 9ffafadd749757e73805e90eeea87afe50db5c379c5b6ac1f855bc12bf201eb998d54455fe812e2ffe500ff7bbbdae94b1286aa3bbb7d409d276ff9bb1e10048 SHA512 7d66eb69f9935f2704e2414887f671bf7d9103baf207c3c67ce741ef0471f824e922b8ac9fda9d0e4cf01a52fa09ebfba056e14d50796df61d3fd83666b1a9ab +DIST ubelt-1.4.1.gh.tar.gz 385376 BLAKE2B 98a60de68b04150ba48d6bc4d6eb537ceb913b6a9e60eb90a682779eb19c49b68c2f2c842758b9458445ec3c3a14941f747061228a8bfd28e37a2b7f31277a76 SHA512 de9156c64a3eee49ab6d1ef59e4cc9042f4f3b672581a1e99da242c2e098a6cccb1b209f5b1d9b89f98fde3e9980d6517dba14293621e1dc7cf846b43f11d84c diff --git a/dev-python/ubelt/ubelt-1.4.1.ebuild b/dev-python/ubelt/ubelt-1.4.1.ebuild new file mode 100644 index 000000000000..c7a00ece68e4 --- /dev/null +++ b/dev-python/ubelt/ubelt-1.4.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2026 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 stdlib like feel, and extra batteries. Hashing, Caching, Timing, Progress" +HOMEPAGE=" + https://github.com/Erotemic/ubelt/ + https://pypi.org/project/ubelt/ +" +SRC_URI=" + https://github.com/Erotemic/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +BDEPEND=" + test? ( + >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}] + >=dev-python/pygments-2.2.0[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.25.1[${PYTHON_USEDEP}] + >=dev-python/xxhash-1.0.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( xdoctest ) +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + tests/test_editable_modules.py::test_import_of_editable_install + # relies on passwd home being equal to ${HOME} + ubelt/util_path.py::userhome:0 +) + +EPYTEST_IGNORE=( + # asserts for running on win32 in global scope + ubelt/_win32_jaraco.py +) |
