diff options
Diffstat (limited to 'dev-python/python-discovery')
| -rw-r--r-- | dev-python/python-discovery/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/python-discovery/python-discovery-1.2.2.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/python-discovery/Manifest b/dev-python/python-discovery/Manifest index 2c52f3fb1140..f12c071c2abf 100644 --- a/dev-python/python-discovery/Manifest +++ b/dev-python/python-discovery/Manifest @@ -1,2 +1,4 @@ DIST python_discovery-1.2.1.tar.gz 58457 BLAKE2B 618d2063314201b1a309c30e39061e6eeaa973f48ee60cfd7698a0dfbe753e66a2719f1798a191eb1fdb0c91fc2fbf5163132040d97e1384f101716c5a7c54c5 SHA512 7007265dd78279c55f12383eac0acafbcfd76e94fc6d2ceb2124fe7741abe4ba302b82d0522e72193dcd0372f7c236b0fb500c1a3be4b32393f0424c5e419323 DIST python_discovery-1.2.1.tar.gz.provenance 9827 BLAKE2B e2ac127bd8d2e0d340bbb0b06afe6fe6afc3a8db4837050723aa6fef32684c1b7540a353b2830247016926fd7b115361ce0a691c87180dff51a4b808517ee892 SHA512 3da8a48c369fceeaaa8972f450c6c6f047aa21cb8758380006ba5b9c4b61a9f1fefc9f3837cd6e419f9bcee7f22853bd7904ab23023ae1b4bbd4a5ffe26c0cb8 +DIST python_discovery-1.2.2.tar.gz 58872 BLAKE2B 0177a23499cd59aef5c7489694a53c7d1c290e8ab1543182a8388ede9aa80afba15f6e58113dedd6e16d404dbd081b575d4725c15f3b35e7cc9eed0fab4bd3ca SHA512 4f82ff5510f245cdfd08e896f1b869f2c5b5636a92ac6e5c782ec652d1e2a8c0c422ca09bf277b2cd1b3ccfb566e9909ac108bc8ab095ca5564beb86ab66e9c5 +DIST python_discovery-1.2.2.tar.gz.provenance 9263 BLAKE2B e405c7db48810a177671144bffdc28c8903b74ed846f2f5bcab47134e8e795f061ad3394779551a045feb4debaf2704567547cafefafcbd0a9debecb6ec1425e SHA512 c70313361c0660297335fdce23a7af12eb2f67b7146126ab6bfe3cf783645155e368bc68126b853be91b968da9917e005ecc7f6025a62fa14d1ffc735c31bc85 diff --git a/dev-python/python-discovery/python-discovery-1.2.2.ebuild b/dev-python/python-discovery/python-discovery-1.2.2.ebuild new file mode 100644 index 000000000000..24318511709a --- /dev/null +++ b/dev-python/python-discovery/python-discovery-1.2.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 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/tox-dev/python-discovery +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python interpreter discovery" +HOMEPAGE=" + https://github.com/tox-dev/python-discovery/ + https://pypi.org/project/python-discovery/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~riscv ~s390 ~x86" + +RDEPEND=" + >=dev-python/filelock-3.15.4[${PYTHON_USEDEP}] + <dev-python/platformdirs-5[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.3.6[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/setuptools-75.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-mock ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + python3.*t) + EPYTEST_DESELECT+=( + # TODO + tests/test_py_info_extra.py::test_satisfies_path_not_abs_basename_match + ) + ;; + esac + + epytest +} |
