diff options
Diffstat (limited to 'dev-python')
26 files changed, 683 insertions, 0 deletions
diff --git a/dev-python/awkward-cpp/Manifest b/dev-python/awkward-cpp/Manifest index a6106dd0cc2a..fb2aa7750510 100644 --- a/dev-python/awkward-cpp/Manifest +++ b/dev-python/awkward-cpp/Manifest @@ -1,2 +1,4 @@ DIST awkward_cpp-53.tar.gz 1495744 BLAKE2B afa6aec4c233009a9054a41f1b38dfbce94495ed98767c2a8dff8ec16d94ccb04e0f93388196d7daf9f6217e8ac67a01429134ee335c1f082f8fb523f97b0832 SHA512 3c2e349f582f04d47e5b8cb1c33d5d3d46bd4f176e29d51749cdc33ac082d9f5fd11d1215c1dc76f71c30781cd48a3e76dd507810c5f0d4f0f221433cfdd4b35 DIST awkward_cpp-53.tar.gz.provenance 9851 BLAKE2B c420450eeba8a63c6d448c3ba3e58e93c30d9702e4db7d6c9d627f8ac7c5313dcaba530b7a70a9a345ef190c85ae3e0813cfd7825434c73f8f41972529f9a4ca SHA512 35357efd86aca9ab3b9e06887588f4e003ac9da4797c8e60d9225e83a67e57d0e2e343d20a713881e1db2f624d74871ebaaa21f2f89abbe9130198ce5f5f6517 +DIST awkward_cpp-54.tar.gz 1495942 BLAKE2B 4214baa3a3607c292e632b04ed898adf3a40f1fcb40c241189141dde989db99dc4bb47c7ff9a3a20a330f507465944e618dacf8d0a22566f81e219fe57c81c3d SHA512 ee5e8be66e0461d94da43fcd0ec02f4b3d647abde786781378ca3b06dc084be4fa59ed6fa3eeb432e6993e6bb4a52c99757c2afe834a9252b0a934ce3051cf28 +DIST awkward_cpp-54.tar.gz.provenance 9707 BLAKE2B 29d516105c508d29f15a77d38089c286734107a5e3d972bacf401f5e6ad58da830989ef989f743aea57c0727f4769b6b1e3a3293ff26a14b8cc179aa3c766584 SHA512 0bf72946748fdfee3299b19bcd97354e1c3671ba5481e2c75e78a3bd0c3d9d3e93d76bed68a95cdfb7077d888bf2b3e26f61b519e478ae7ff6d1154502f2a1c3 diff --git a/dev-python/awkward-cpp/awkward-cpp-54.ebuild b/dev-python/awkward-cpp/awkward-cpp-54.ebuild new file mode 100644 index 000000000000..5ab4874ad1dc --- /dev/null +++ b/dev-python/awkward-cpp/awkward-cpp-54.ebuild @@ -0,0 +1,33 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=scikit-build-core +PYPI_VERIFY_REPO=https://github.com/scikit-hep/awkward +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="CPU kernels and compiled extensions for Awkward Array" +HOMEPAGE=" + https://github.com/scikit-hep/awkward/ + https://pypi.org/project/awkward-cpp/ +" + +# MIT from rapidjson +LICENSE="BSD MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + >=dev-python/numpy-1.21.3[${PYTHON_USEDEP}] +" +RDEPEND="${DEPEND}" +BDEPEND=" + >=dev-python/pybind11-3[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/awkward/Manifest b/dev-python/awkward/Manifest index 60847ad7e2f8..4472b31d775e 100644 --- a/dev-python/awkward/Manifest +++ b/dev-python/awkward/Manifest @@ -1,2 +1,4 @@ +DIST awkward-2.10.0.tar.gz 6343762 BLAKE2B 18550fd612e50fa8f814dd5d91abab0be0baf56c57e2d9771d5e7538d2be871d3ffd3d26a40ba6a8d0f83518371e1d05ec7576c80771c1d2f77f1810161ca27c SHA512 c7e8b1e36a2a832e7d8ffef1019bab8fd19a5e29b82727d21ecffc8252d6240cdf2acd02de256e6d55f97bf68e3d9f4ae3b96dc0e817dfc7e53f2a393aef0523 +DIST awkward-2.10.0.tar.gz.provenance 9837 BLAKE2B cc977242888a13746365d73ec2a05ffac74db39dce338fd9de866066e028c158c2fc79136455a8a39bff691c8b3d378889fb994c1638b302fdb32e86500fa938 SHA512 f5783172e3d9617c7aefb2cda1a94bbfbd2bf34325993de20480a02c95515e10d01142fe662e3003f85cb9719c1afaf92d06c17c910d76c99f1ca4d7cb8661fc DIST awkward-2.9.1.tar.gz 6303886 BLAKE2B 5b17e9934e335c86c0bfec9c191b016505812167e08cf474d436dfb9543337538e35454572f76b9776023f4c5097fa2ef784ec7d6f8c1c7401646bd8aea39311 SHA512 836b59c231a0c06fa38bcfac6412db0e8a68553c67f9803fc7785b7f2dc5b24f870749641e5be6c1305a6fe36228f3786296ebf32e24a7bfb995aa44d4826fe0 DIST awkward-2.9.1.tar.gz.provenance 9547 BLAKE2B ec83d985d2f2bc3c0270f34fda2712916c09af7efa8bbd9e513601ac047bb2947e931049f8c74d8a81d512580b2370da35a331e41e421783344da3c9ae539a56 SHA512 0775aa8f79a2d4bd5d07286c5420dd3ea365d79519116ea54e5d42c0185df2d056ac30f492105d8c542a255914483f5ff44f81a03676640d622e2a4c046001ab diff --git a/dev-python/awkward/awkward-2.10.0.ebuild b/dev-python/awkward/awkward-2.10.0.ebuild new file mode 100644 index 000000000000..9038b9bb68b7 --- /dev/null +++ b/dev-python/awkward/awkward-2.10.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/scikit-hep/awkward +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Manipulate JSON-like data with NumPy-like idioms" +HOMEPAGE=" + https://github.com/scikit-hep/awkward/ + https://pypi.org/project/awkward/ + https://doi.org/10.5281/zenodo.4341376 +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + ~dev-python/awkward-cpp-54[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}] + ' 3.11) + >=dev-python/numpy-1.21.3[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/fsspec-2022.11.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + test? ( + dev-libs/apache-arrow[zstd] + >=dev-python/pyarrow-17.0.0[${PYTHON_USEDEP}] + dev-python/numexpr[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + ) +" + #dev-python/numba[${PYTHON_USEDEP}] # needs numba from sci + +EPYTEST_IGNORE=( + # fails if just caffe2 but not pytorch is installed + tests/test_3259_to_torch_from_torch.py +) + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # missing file: https://github.com/scikit-hep/awkward/issues/4178 + tests/test_4056_cuda_compute_signature_consistency.py::test_cuda_compute_wrappers_match_kernel_spec + ) + + # CUDA tests require cupy + epytest tests +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index e7fa00f7d6a4..acf59023525c 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -8,3 +8,4 @@ DIST boto3-1.43.36.gh.tar.gz 1169288 BLAKE2B c316bf8bc804c7c7a70eed0b01a66d7cf8f DIST boto3-1.43.37.gh.tar.gz 1171489 BLAKE2B 55d1a012b3c2aa98591a25c367b18fed3435bb3d02e35a1e97f5a69c79af13fe7e6775e7bc9fa7feff7848854c761ad33e3815aa9d6ac3c98f272852238c6774 SHA512 15e191664a7f1cc275f9d54efa0781a0b362755a4142c7fe51cef0a300dd0ceedd8d1f706c120daa193dc6e29e2909103059bb86e6479a005728696999d3b7e0 DIST boto3-1.43.38.gh.tar.gz 1173715 BLAKE2B ed41aaf26c81150ac7e8f76b31cba3cfe475aad5e999b5863c01c569197ba6f84bbc81348e3a0b48fb8937a8c5bc3bf10645e3b9d02e358da1749be97814731c SHA512 5bb455bacb8ac867459df7d99805280c222ec59f046f01b74adb25213629f2e020edb0ea55c83d98ec9f29ede82c5258e510a150231c5bc6987d55b1403a4f06 DIST boto3-1.43.39.gh.tar.gz 1174977 BLAKE2B 209342f9903a9497bff3445e95d557898b5fecad0886af536dc1ffd98ae17cc7949920332bfa5d274eb959ae01dec3453725933c9f9dced73363cea949720513 SHA512 069cf9d26a292f673340798905ab7bb1a55c4b9b9e204c5b3a835aa5f1d9cd3f6b6db971fa1b0ddaf1f596166d8aa1537fad408b676e95df5eeb3c52815e48be +DIST boto3-1.43.40.gh.tar.gz 1175361 BLAKE2B cb24a2dd76debf1b3b2d759d020b2cf17248db20044b06e0c191821170644f4762997a527b8e5c401305f5b0c725d1269d610c9cb1aa2bb776d894f70b09f3ac SHA512 eb7d0218051abddd74e544d8eaa4e83cdd2e9ef305d059c165c926ade12a795ae196eefbaa2b64176fe26a1bf20419d775670fccc4fda485c93197d10efcbcf1 diff --git a/dev-python/boto3/boto3-1.43.40.ebuild b/dev-python/boto3/boto3-1.43.40.ebuild new file mode 100644 index 000000000000..93fbbe6dd59b --- /dev/null +++ b/dev-python/boto3/boto3-1.43.40.ebuild @@ -0,0 +1,53 @@ +# 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_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.19.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 52ceede6c770..79126a770c7e 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -8,3 +8,4 @@ DIST botocore-1.43.36.gh.tar.gz 16601718 BLAKE2B b4643995a2c173c9df865923d6912e2 DIST botocore-1.43.37.gh.tar.gz 16625905 BLAKE2B ff085acb7ab6cc50ae0b93e99b45c871110408ccc72b87327a5a85767330947d292175af402a92d61e12154f8efb3d65d08d70e5bd719f4c1a2d13f3be369d6f SHA512 b58ac57522daf0ce17e91b3a3e1f40fa89b689dc98f74575e9a67719a97ddc87b3110797af084ea136b7fc8b5527136c581385a2e8585c7f773cde641bc590ab DIST botocore-1.43.38.gh.tar.gz 16607002 BLAKE2B c6317c12154edf92d6a1330bca1a9a2957480d683a7abf41ad6401d3be337a2f980ca8758bb90b3c298256c3250c1cca4345ee27723c92a21ac1fdc098f5afb8 SHA512 8acf6cdeeb96049423be600a178a82f63d1579ed635045c3fd75d32866ff0b86c2e48062666810ebc65cbbdb193760457093d17d87b5bd9a8568fb65e20dd71d DIST botocore-1.43.39.gh.tar.gz 16619085 BLAKE2B cbef4cba1ad18a2cd67e0da4758af4ca5c3a9e8c2b383715733105c6dbb7352282e07974f78858fc5bf01f10f4137c3039fbd43f83da8ad18870d98484ce8427 SHA512 50d74d78f2b728564208779d329d3938f27a5f22664ed47627a3cd89e31a7f4b8b09ba7a1d0f98c97ee765f0a9a06a577ac97149d9238b4d84daa80135deac9c +DIST botocore-1.43.40.gh.tar.gz 16621912 BLAKE2B 87339ac693df7e8753b8a7463a93aea57f24005c48c6d5b0276307928704893f315e1b7c671d9a91340899bd8bff8846f7afa23eca4dbfaa03f54a3f07b2fa43 SHA512 49257c431950a63d34c137b2b3ed1bb642cfbdc98351dab2cb2dfdaae6f6e88ecb11c74d89d9ec52ad6b558e9d94fa6bc5da13c5a0e67ad441decf1df516e888 diff --git a/dev-python/botocore/botocore-1.43.40.ebuild b/dev-python/botocore/botocore-1.43.40.ebuild new file mode 100644 index 000000000000..a3a161f78545 --- /dev/null +++ b/dev-python/botocore/botocore-1.43.40.ebuild @@ -0,0 +1,67 @@ +# 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_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + epytest tests/{functional,unit} +} diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index 1d42b7ac0e32..1a2a00e44252 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -8,3 +8,5 @@ DIST coverage-7.14.2.tar.gz 923982 BLAKE2B 825dab5a7bfdfd751a7e641f3d1e714740231 DIST coverage-7.14.2.tar.gz.provenance 9758 BLAKE2B 92560d10a299b3525aa49a0f976dff01daf04aff635dc8fd825f9447e8cceefc5b864b7509178121c425e2993a84e897d29bd240017d46e71af62b72439636cc SHA512 051b6e23378083641cb1b479071fd32c41b75489e42ec534bffe9a77207326e4a0a94936e65f08b61c8ecd0c224020da37ed450b4f13c3b3fbd3eb18b43615e1 DIST coverage-7.14.3.tar.gz 924398 BLAKE2B 8f1699e1c4b6c93ae22f5799df40843ff9ff35a77a73d2980aa6d76b70005010983aac11bce1cdc02d5edda6f4afddb9dd43117ca12a05e04d4b5782102a2335 SHA512 1a29d6e4824fc472b766476e0940d0d4db0ce4ea33ec4376d7738fb318365da05e33773bd8ca1cad56b7f2471780333b52a53f135bc13414ccf3b3c445e8d2fe DIST coverage-7.14.3.tar.gz.provenance 9907 BLAKE2B c1876fbc3b147afa865812c8f09d1595f317f62b4c07f644f4bacf450d4c21bc45e8de8cdb001d0f497967d7aa77dd4340877457462bed39006ebfd72b856fa6 SHA512 13702b5009e3a416e341bb6db12d9b2251d832650595f6439e2aeaf212994624a37047f1eb34c1473e65c7fac597658e6ada02788fef4526a0b60e410bdedbbd +DIST coverage-7.15.0.tar.gz 925362 BLAKE2B 2ecd07a36f06d9c047733cd89dfd0db412797a251d8ff9becb2b90b69be07f3ebb69dee4dca9cc4ed246850b7f77ccfc1a2799b02b92f591c9683a6f8f44676c SHA512 559aea2ef68f488b3863f9919ee586b011197bb7e91c73cc72e61d4811af0ec7b084dc77752355f661f230147633ea2245e23c3a9a7c081a10872ae77e58dfc5 +DIST coverage-7.15.0.tar.gz.provenance 9903 BLAKE2B 0ac0779725018ed2b284fe0baf8d91076dd02af8263a1955d8688c2bfa8ec3333d0f96004812968d3a02048d22b941367faa59545669396289574314eccb8a27 SHA512 caf9b9f57391720f55bc88148de7b97275f41a0d1ecbbc314ee1adee6ec938949e5616227ba23c27d1f27cbd80b2cefd73eae47151a85719c75957c924dad2ff diff --git a/dev-python/coverage/coverage-7.15.0.ebuild b/dev-python/coverage/coverage-7.15.0.ebuild new file mode 100644 index 000000000000..6aae2bf728ac --- /dev/null +++ b/dev-python/coverage/coverage-7.15.0.ebuild @@ -0,0 +1,110 @@ +# 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 +PYPI_VERIFY_REPO=https://github.com/coveragepy/coveragepy +PYTHON_COMPAT=( python3_{13..14} ) +PYTHON_REQ_USE="threads(+),sqlite(+)" + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="Code coverage measurement for Python" +HOMEPAGE=" + https://coverage.readthedocs.io/en/latest/ + https://github.com/coveragepy/coveragepy/ + https://pypi.org/project/coverage/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="+native-extensions" + +BDEPEND=" + test? ( + >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( hypothesis pytest-{rerunfailures,xdist} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_compile() { + if ! use native-extensions; then + local -x COVERAGE_DISABLE_EXTENSION=1 + fi + + distutils-r1_python_compile +} + +test_tracer() { + local -x COVERAGE_CORE=${1} + einfo " Testing with the ${COVERAGE_CORE} core ..." + epytest -o addopts= "${@:2}" tests +} + +python_test() { + local EPYTEST_DESELECT=( + # broken because of pytest plugins explicity loaded + tests/test_debug.py::ShortStackTest::test_short_stack{,_skip} + # these expect specific availability of C extension matching + # COVERAGE_CORE (which breaks testing pytracer on CPython) + tests/test_cmdline.py::CmdLineStdoutTest::test_version + tests/test_debug.py::DebugTraceTest::test_debug_sys_ctracer + # mismatch of expected concurrency in error message + # TODO: report upstream? + tests/test_concurrency.py::ConcurrencyTest::test_greenlet + tests/test_concurrency.py::ConcurrencyTest::test_greenlet_simple_code + # packaging tests, fragile to setuptools version + tests/test_setup.py + # looks like a difference in exit status reporting? + # https://github.com/nedbat/coveragepy/issues/2008 + tests/test_process.py::ProcessTest::test_save_signal_usr1 + ) + local EPYTEST_IGNORE=( + # pip these days insists on fetching build deps from Internet + tests/test_venv.py + ) + + "${EPYTHON}" igor.py zip_mods || die + + local -x COVERAGE_TESTING=True + # TODO: figure out why they can't be imported inside test env + local -x COVERAGE_NO_CONTRACTS=1 + + local jobs=${EPYTEST_JOBS:-$(makeopts_jobs)} + local xdist_args=() + if [[ ${jobs} -gt 1 ]]; then + # required upstream to avoid cross-test conflicts + xdist_args+=( --dist=loadgroup ) + fi + + local prev_opt=$(shopt -p nullglob) + shopt -s nullglob + local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) + ${prev_opt} + + if [[ -n ${c_ext} ]]; then + cp "${c_ext}" coverage/ || die + test_tracer ctrace "${xdist_args[@]}" + fi + + test_tracer pytrace "${xdist_args[@]}" + + case ${EPYTHON} in + *3.11) + ;; + *) + # available since Python 3.12 + test_tracer sysmon "${xdist_args[@]}" + ;; + esac + + if [[ -n ${c_ext} ]]; then + rm coverage/*.so || die + fi +} diff --git a/dev-python/croniter/Manifest b/dev-python/croniter/Manifest index a726a978ebb5..eeb3ba007783 100644 --- a/dev-python/croniter/Manifest +++ b/dev-python/croniter/Manifest @@ -1,2 +1,4 @@ DIST croniter-6.2.2.tar.gz 113762 BLAKE2B 6941307f8564dfcc2ad6a978632409d2d888943cbdee8e6121697cb75fadc090589ad9e8b08bf78306ffc517e329752d3b84e30a533901938ee874215d942544 SHA512 f7b32c0f2984a34f401e9e5017a5a51a81d63a07c7081ae0da7606e01d41ccc06fdafcf5e8b27543bc8711ecd0552fb9650bd5acafe182fd31b43a85e3c8e885 DIST croniter-6.2.2.tar.gz.provenance 9649 BLAKE2B 8590a4feaff44f76b5c9e8fbc3780f5b312d9353501da3b0a5c91ed92444d7e5cfedd4becec9585ed8131469e6a18a753f940f88e186ee6fb8b16f97743b1e86 SHA512 ba62d0527187c1526627fc6020d21344a198ed9f9d21a8312788360766dd495680431f1eb94e4bc062dda4519d03601f82d34553b4c715ed5914e93a48826f4b +DIST croniter-6.2.3.tar.gz 166174 BLAKE2B 744a0319891d09187e1b85acae961afee954a330050e876650a2b99ff810f9f30b93c6adc1181138ae40b5908386380fa288de96b1653650d223db34446f2f92 SHA512 371d68d4edeb1830a9f4ad1a75788c6f4895e1236af106547838808b4e993ee7a5d47cf850c340483f33037eb7973d11d2e2b724b0855aa0332019e6b90c5e02 +DIST croniter-6.2.3.tar.gz.provenance 9763 BLAKE2B c2a33d6669ff50fab40369dc08262206e9052bd4f7884e8e2b40d428f241b9eb5667a788c7326f38e92a799052c602eb924ebf2df9d0829357731b3a53f94e1f SHA512 c356a9172dda273e94b7342b690b1428dabf03c27059323446161308d9c9d6e9b0f2e0a812c44942d5b620e619cf379fc5a9d43ce598b5fa66d1b08050ae4c75 diff --git a/dev-python/croniter/croniter-6.2.3.ebuild b/dev-python/croniter/croniter-6.2.3.ebuild new file mode 100644 index 000000000000..d4abd1f0de2e --- /dev/null +++ b/dev-python/croniter/croniter-6.2.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/pallets-eco/croniter +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python module to provide iteration for datetime object" +HOMEPAGE=" + https://github.com/pallets-eco/croniter/ + https://pypi.org/project/croniter/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/fitsio/Manifest b/dev-python/fitsio/Manifest index e5c59c3e5a34..8f119c593e2e 100644 --- a/dev-python/fitsio/Manifest +++ b/dev-python/fitsio/Manifest @@ -1 +1,2 @@ DIST fitsio-1.3.0.gh.tar.gz 4990432 BLAKE2B d43b140d564326f858f45905b49d70b58fab4a2755cc3dacfe33e4df83fd929db8060dea146f681b35a60ae6a8b6f2662a9af2542a1b6150a2e3837a87d54a76 SHA512 e7e758f69fffe0c1386b30f7b1e392b4162af2ec1ca63389730ac2f5eb41cb7c2b4e9fec831411a9f37a08be80ef9bef39b6fad04d6520e03fabe5501c59ba84 +DIST fitsio-1.4.0.gh.tar.gz 4137424 BLAKE2B 2e502a2cffd371abe88360a55ccce6b24c7cd51fec4ba9d74a9fdbc9931786c1841d80ec92a67638877a1541692de3cf97f5e5feeedf58560cb8518c580db6d1 SHA512 926d81ccde59387ba99cffca5e04029438e4cb09a40c4ed1e2988a51409913fe5cb24bd7400d13715bbbfe3b633740e1c5088deee1cc5bfe4ece31e48aafb847 diff --git a/dev-python/fitsio/fitsio-1.4.0.ebuild b/dev-python/fitsio/fitsio-1.4.0.ebuild new file mode 100644 index 000000000000..603991a06c3e --- /dev/null +++ b/dev-python/fitsio/fitsio-1.4.0.ebuild @@ -0,0 +1,52 @@ +# 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_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Python library to read from and write to FITS files" +HOMEPAGE=" + https://github.com/esheldon/fitsio/ + https://pypi.org/project/fitsio/ +" +SRC_URI=" + https://github.com/esheldon/fitsio/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + >=dev-python/numpy-1.17:=[${PYTHON_USEDEP}] + >=sci-libs/cfitsio-4.6.4:0= +" +RDEPEND=" + ${DEPEND} + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +export FITSIO_USE_SYSTEM_FITSIO=1 + +python_test() { + local EPYTEST_DESELECT=( + # requires pytest-run-parallel + fitsio/tests/test_locking.py::test_locking_io + # requires cfitsio built without FMA instructions + # https://github.com/esheldon/fitsio/issues/512 + fitsio/tests/test_image_compression.py::test_image_compression_read_from_osx_arm64 + fitsio/tests/test_image_compression.py::test_image_compression_write_read_comp_to_osx_arm64 + ) + + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + epytest +} diff --git a/dev-python/pymdown-extensions/Manifest b/dev-python/pymdown-extensions/Manifest index 202c52d41c16..a7e5953b3cfb 100644 --- a/dev-python/pymdown-extensions/Manifest +++ b/dev-python/pymdown-extensions/Manifest @@ -1,4 +1,6 @@ DIST pymdown_extensions-10.21.3.tar.gz 854140 BLAKE2B 931b33c568c4bc5fdafbaed14ec28afb7c54c2328bf68b1a8b8551a601cda6f79523f90f8ed46381e23b9390a5193f02e1389ca297ce8fa3e190dc856433415f SHA512 a7f480509eb4d589b17364b70eddc2aed506bc7507577e4738b6099cf4384177a21364f4b9c11e871d2d4d99e2227f461801f92388874a10aac3adbc76b513b3 DIST pymdown_extensions-10.21.3.tar.gz.provenance 9926 BLAKE2B c862c2499b076eded65d8998885cce57be5838a13e9804bb1e789a1fa2eab41c27aa3fda8f2b7157597fe5b67964c8fd01e255fd7a4877a08021584549c0b98f SHA512 e4b9c754314128907cc0a5684243614449e38ccc2055d24e8745c10e197d8b3681c5c48b156e1da7657dd499fb2a4f7c0d34e42f512845b3e89c8981bc854f88 +DIST pymdown_extensions-11.0.1.tar.gz 857113 BLAKE2B a585fd5c325fb4b146ecdddf9204626218fbdd9d4691a06bbe14a564fc2f93c4b8f22ba267929ce23229abbd2b08a2eadb09f3d01185ce88177a9a49e5a865ca SHA512 c95ef9cdb073b1a11f0a78ca82c49e0b0a9c57a301e599bce29a99995ce5a8415530979271ca76b1b0bf7ab3d7f348b9ef0ba7b36c1e19e6121da379c6163484 +DIST pymdown_extensions-11.0.1.tar.gz.provenance 10025 BLAKE2B 11c409e59669f3219fdf115b6593a7f1e40ac7725ffea84e0c3b25d468774a1bd5513df54e7885443631e64d1dcf7c2ef0a521547dca9ca8cf092a4333fc4161 SHA512 5a0515a30b1e65d73fc01e405a5fd0b470259273f1d8c3c152f2f8d2a5ab86bc72830d5c8b08b40fba564cfd0b69fd556524042412ea022cee3528b117aa7083 DIST pymdown_extensions-11.0.tar.gz 857049 BLAKE2B 54f5c7eaa123edc8824fa2581c7cae86876ccf8d6c75a76a99794f84011cf096dc83d6f2e5347081bcf0fb52ad7519e9ee365503218b596dc6592b3e0fa464a9 SHA512 6ac12b6d7ad0d6aeff162d43ef763fcf675dbaaf29d978dd8956334196b06ce554abe2ddee4eb9fc4ccd9ef14ae5f1105951049fd21f4651588de22326550b6d DIST pymdown_extensions-11.0.tar.gz.provenance 10087 BLAKE2B 8bda330010f473d7ea02b34c1a05cbbb1803f94debdb5ee0dc8491ab5c101e49e832102b8cd62a5d26a0869eeebd80e6eb07934e59d42cbacebe4f03ebb021db SHA512 368cc356ca40d405ee9f45af73162ed8c9523a1e94d55beae5e2a3e118f2302fa2cee134b1a5cc01cd9ab4d3337f5dcae143ce9a7ebc50126ff0d045bd947ef1 diff --git a/dev-python/pymdown-extensions/pymdown-extensions-11.0.1.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-11.0.1.ebuild new file mode 100644 index 000000000000..1c6dfb8c42e4 --- /dev/null +++ b/dev-python/pymdown-extensions/pymdown-extensions-11.0.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/facelessuser/pymdown-extensions +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Extensions for Python Markdown" +HOMEPAGE=" + https://github.com/facelessuser/pymdown-extensions/ + https://pypi.org/project/pymdown-extensions/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/markdown-3.6[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/pygments-2.19.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/python-ironicclient/Manifest b/dev-python/python-ironicclient/Manifest index 87a89209c551..68d0a7e1a546 100644 --- a/dev-python/python-ironicclient/Manifest +++ b/dev-python/python-ironicclient/Manifest @@ -1 +1,2 @@ DIST python_ironicclient-6.1.0.tar.gz 237687 BLAKE2B fd662b6b5fec7998b9c248176010916460277bfcac3960e79a3e45ca9f8f3f957e4e96a308432862143749630a1f8679380ab1ca872d86bdd6222771329259eb SHA512 71fe14ca5edf1a040c6f8899329021ea83ba0a4127540b38e794c25e2f2b171c1ce7a994c8cba4896169f14f8b6e19c3991b072d3e9ba03e006f174a436da8bf +DIST python_ironicclient-6.2.0.tar.gz 233670 BLAKE2B e444e8ef5d791e951c564e65f6031840ca2fbdc24fba6fc9889d9d2ed8236fb34a9a4bf4e57622255382badd4f70295a1a6a4691290e11c8701494c9df833df1 SHA512 a701f12408840b4547a46bf1316db4f0f4d18389ea1e7e3388a600c4a743a3b809ed9a28793466d50796ccea40b077b700cb204114f490304d288dfe97befeef diff --git a/dev-python/python-ironicclient/python-ironicclient-6.2.0.ebuild b/dev-python/python-ironicclient/python-ironicclient-6.2.0.ebuild new file mode 100644 index 000000000000..6c26e3302cf8 --- /dev/null +++ b/dev-python/python-ironicclient/python-ironicclient-6.2.0.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=pbr +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for the Ironic API" +HOMEPAGE=" + https://opendev.org/openstack/python-ironicclient/ + https://github.com/openstack/python-ironicclient/ + https://pypi.org/project/python-ironicclient/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/pbr-6.0.0[${PYTHON_USEDEP}] + >=dev-python/cliff-2.8.0[${PYTHON_USEDEP}] + >=dev-python/dogpile-cache-0.8.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-3.11.0[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-4.10.0[${PYTHON_USEDEP}] + >=dev-python/osc-lib-2.0.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.13.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] + >=dev-python/python-openstackclient-3.12.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/python-utils/Manifest b/dev-python/python-utils/Manifest index 7d4799d26581..a4f1a6072dee 100644 --- a/dev-python/python-utils/Manifest +++ b/dev-python/python-utils/Manifest @@ -1 +1,3 @@ DIST python_utils-3.9.1.tar.gz 35403 BLAKE2B 8cad7a9dbbc1a2d537d1fe7342846f1b1da15d41934cef861fcc0ad8da68d67fbab8f33ab6b579ff0f67d8c8dada6411a8087b46f9682990e7c2410802009c05 SHA512 f458446edde989ad338d20b11b2486148848c9373ef627938ccff99ab186517594428d7ec068d0d110a04c8ceee665735d33c662592b96920b8faf8aeb065239 +DIST python_utils-4.0.0.tar.gz 43027 BLAKE2B 4abdcaace88afe2e6d0a4a7ec1f47fe11fd90929cbccf249b15a327cbc9878e4f7dfdef4b0351e56ffbf8ba7aefc0c13ccc5b9693dfc21d53897e82e6295a016 SHA512 189b73da6fbafc4f36e514e0f5ceffab5be461a8dbc344e038fdcb74fefacde3d7dabe0525d4bd6fd5521a829e0c9082a5611de21e21e52a4c961638539ffd22 +DIST python_utils-4.0.0.tar.gz.provenance 9555 BLAKE2B 574af1303e7ef2e7d328e949346d78a3e6b58a40031820646b253d184f0aad13fde3b98edc2e2f265a71dd0c299eafa736df4e9306586eee79ffcab61aa8dd1f SHA512 236ab21a0447e8dd9408f54e20d45895e84158ae175b17526d68a17d20c049ac98b193886c8856c42652e21af4c8500be3a262114fa42933acc430ac0554ede5 diff --git a/dev-python/python-utils/python-utils-4.0.0.ebuild b/dev-python/python-utils/python-utils-4.0.0.ebuild new file mode 100644 index 000000000000..05d102d2521e --- /dev/null +++ b/dev-python/python-utils/python-utils-4.0.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=uv-build +PYPI_VERIFY_REPO=https://github.com/wolph/python-utils +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of small Python functions & classes" +HOMEPAGE=" + https://github.com/WoLpH/python-utils/ + https://pypi.org/project/python-utils/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/typing-extensions[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + docs + _python_utils_tests/test_logger.py + python_utils/loguru.py +) + +EPYTEST_DESELECT=( + # fragile + _python_utils_tests/test_time.py::test_timeout_generator +) + +python_prepare_all() { + sed -i -e '/--cov/d' pyproject.toml || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/stevedore/Manifest b/dev-python/stevedore/Manifest index c066b268a109..12a594d1b5d5 100644 --- a/dev-python/stevedore/Manifest +++ b/dev-python/stevedore/Manifest @@ -1 +1,2 @@ DIST stevedore-5.8.0.tar.gz 514710 BLAKE2B 905fe75ba6ba85be25a1a6761dd31a5c802d80c0532f59562e489b39eda91ec83c2dcc61320f7b8040f5c4ab39130ac253a8dd88c335fcda8ae727032cdec340 SHA512 f11aff48fb3cc66c4319ceeeaf8aff316cc0047021a28d3976f527b7321fe204faab414e4793dd93d82edd8d11391600ea8479cc6da2115fa7189d4f48b7ffad +DIST stevedore-5.9.0.tar.gz 514850 BLAKE2B 822c51a1637bb2eaad30b57426a43fa1baa4ccc3d36ebcbec1cc979ce5d1f18e831fc31ef1136830784d3d1576e8bd129a9fc51a399de24453c382040b6434b8 SHA512 90f579779114cee32b4e06fa5eb60dce5ba4592a8a0ddfcbecacddf9682e105cf9b53f9c1c19049d80969eb561c73bf592d920a620182c664e558134dcae2605 diff --git a/dev-python/stevedore/stevedore-5.9.0.ebuild b/dev-python/stevedore/stevedore-5.9.0.ebuild new file mode 100644 index 000000000000..16569141fa9b --- /dev/null +++ b/dev-python/stevedore/stevedore-5.9.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pbr +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Manage dynamic plugins for Python applications" +HOMEPAGE=" + https://opendev.org/openstack/stevedore/ + https://github.com/openstack/stevedore/ + https://pypi.org/project/stevedore/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest +distutils_enable_sphinx 'doc/source' \ + '>=dev-python/openstackdocstheme-1.18.1' \ + '>=dev-python/reno-2.5.0' \ + '>=dev-python/sphinx-2.0.0' + +python_test() { + local EPYTEST_DESELECT=( + # also fails in venv + stevedore/tests/test_cache.py::TestCache::test_disable_caching_file + ) + local EPYTEST_IGNORE=() + if ! has_version "dev-python/sphinx[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + stevedore/tests/test_sphinxext.py + ) + fi + + epytest +} diff --git a/dev-python/typing-extensions/Manifest b/dev-python/typing-extensions/Manifest index dc71a97ad417..9c18d616a686 100644 --- a/dev-python/typing-extensions/Manifest +++ b/dev-python/typing-extensions/Manifest @@ -1,2 +1,4 @@ DIST typing_extensions-4.15.0.tar.gz 109391 BLAKE2B 6a34bd7862531d3471741749eb11562b19f72fdb120c85348b28452ba0de4146c3a553626640b1f38437b7d6478a8c74c59cf4498cfa435d8e94113500e7a692 SHA512 7ad50638ddbb575a929ffde20ac7b421970abacb311ce1b10b4bbc3b331318784863a8f67b44531327a69be08f5ab7ade65cbd1b5cd35af69fde491d800c8074 DIST typing_extensions-4.15.0.tar.gz.provenance 9518 BLAKE2B dae04e788e20ad350a246c1bee1ef11200dec0ba650a5fd9a6fa160083b906cd19cf2330b3aa1dc3d5c8f0bed9627599bb6854b80a932e60adf2ee89391e4208 SHA512 1332e31df66302bf0e0c2e2d3171fd4b84d276d94348e2a3de215390b4d96fcd8794e05dc7d6327e76b22889739f435cc3eef270101acb8042d43cd34613974b +DIST typing_extensions-4.16.0.tar.gz 113555 BLAKE2B e98cfc36cbdc6459ef30f5a6a5155a891922a6eadc715e8502612c4cae98dd0bf5f4371004fdb2511f10815eb4fb95724b9802f7e4e1f2010f5ddf90c8131c76 SHA512 a46564258597913027f8104ab84dc15cb09434f978e3cac423d2e7c916b400d24627351cd0cc7095e21b01246a6c7b0bcfc062e7c9c5e56e9b71fb4d659560bd +DIST typing_extensions-4.16.0.tar.gz.provenance 10152 BLAKE2B 8c70415ad5bc2c68d825ba54c4e531b003875d95e6f4a2b2a8c3e1b3bdc8c062c542d2b3643a2b20455f59ca91d3a3929ad94ba5be08ea26385b6e3894644628 SHA512 4dec4e902cfb058375f18de56660489485458ddb4852481a75e208c5bb713feac8f83dd15631a0b1c042bf180e0fa79d1b3c0dbff70f96275fc80ba2399b479d diff --git a/dev-python/typing-extensions/typing-extensions-4.16.0.ebuild b/dev-python/typing-extensions/typing-extensions-4.16.0.ebuild new file mode 100644 index 000000000000..f8a45cc94714 --- /dev/null +++ b/dev-python/typing-extensions/typing-extensions-4.16.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYPI_VERIFY_REPO=https://github.com/python/typing_extensions +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Backported and Experimental Type Hints for Python 3.7+" +HOMEPAGE=" + https://pypi.org/project/typing-extensions/ + https://github.com/python/typing_extensions/ +" + +LICENSE="PSF-2" +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=" + >=dev-python/flit-core-3.11[${PYTHON_USEDEP}] + test? ( + dev-python/test[${PYTHON_USEDEP}] + ) +" + +# TODO: switch back to unittests once we don't need deselects +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + cd src || die + epytest +} diff --git a/dev-python/wcmatch/Manifest b/dev-python/wcmatch/Manifest index 5970fb770d0d..5ee3647b16ed 100644 --- a/dev-python/wcmatch/Manifest +++ b/dev-python/wcmatch/Manifest @@ -1,2 +1,3 @@ DIST wcmatch-10.1.gh.tar.gz 120743 BLAKE2B 4cb96a5305f55527e98ec695b1dc66ac89b2609768e7abe1719d4127f14f60ca79f7c9fd8db5bf18e04c411b7db7733525303336d14cc2056851aa9538e46573 SHA512 5f0588752142d4a0bf0230bb19342db653fbd740413a841ac4edb5b5bf3b63733a901949396017ead9788d100a57ca292a69b61463707a47977020b4cdcd768b +DIST wcmatch-10.2.1.gh.tar.gz 137948 BLAKE2B 73675cae60fb0b77dc3b8dd06f9d64afe7936f69f232e6202820407af5c9a367b6216e121f3efae6dcb4416f19222124318364b66207b3de9c8f010ca1cc28ab SHA512 4930f0d5b503dabccb57b8592ddb091eefbe89d4825507fa9a54b94ab0e441ec8ddbbb1481e52f3628aa5f075db3ab85420ac615e8d0dba9124435c10a75bb3a DIST wcmatch-10.2.gh.tar.gz 137972 BLAKE2B 43a0538f258b9b8f0024a1f405a8dd4c73c093ba949622ddfa062ec48147dfd59e8c834adb614a18671edbdd9ff59f7448c6432df03b05a5584d95f2b7e69abc SHA512 79914f7af8f814c1f173377d671b6aa1ee71b62e036f12e04a48500696317ea8e7b88dcd64fc06b5daa88c8663e765bf470a4493b0117e25e67d12ebabe776ee diff --git a/dev-python/wcmatch/wcmatch-10.2.1.ebuild b/dev-python/wcmatch/wcmatch-10.2.1.ebuild new file mode 100644 index 000000000000..e358d900ec15 --- /dev/null +++ b/dev-python/wcmatch/wcmatch-10.2.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) +DISTUTILS_USE_PEP517=hatchling + +inherit distutils-r1 + +DESCRIPTION="Wildcard/glob file name matcher" +HOMEPAGE=" + https://github.com/facelessuser/wcmatch/ + https://pypi.org/project/wcmatch/ +" +SRC_URI=" + https://github.com/facelessuser/wcmatch/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/bracex-3.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-vcs/git + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_prepare_all() { + # tests require some files in homedir + > "${HOME}"/test1.txt || die + > "${HOME}"/test2.txt || die + + distutils-r1_python_prepare_all +} |
