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.5.1.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/python-discovery/Manifest b/dev-python/python-discovery/Manifest index 534aa798ea52..64d40e6d9b87 100644 --- a/dev-python/python-discovery/Manifest +++ b/dev-python/python-discovery/Manifest @@ -6,3 +6,5 @@ DIST python_discovery-1.4.4.tar.gz 72212 BLAKE2B e272217c9b5975aceb21d368b0b5486 DIST python_discovery-1.4.4.tar.gz.provenance 9887 BLAKE2B e52e59f1064d2e9763d2db64c501950a42625db2bd77f225843a71ce0eb676aa33a9727503bc1e95c73e79d37ddfceb30ff3a0e7db0c342d0f4623efa4253f33 SHA512 c02e940e81bfcde654cbf2aa273d91c1d50ef312c25c35a13c979025156ad9963b969f09bbe0854953f3bd326ae51ddc6ad6a3dbcdbaf781db1241e2010ab89f DIST python_discovery-1.5.0.tar.gz 72483 BLAKE2B 399f0bfe7309c494454ad0fe350e303c414171db02da93937a329dd2f014279675552336ddbe83ca6a6ba211b452db6e228d3a797d9501303d38e9bf47ba5fcc SHA512 c7030e7078705c8a02097d8014052f4655908f8a4e5762465312bafe0d02137e51b12a5e28a517625ff12ca1e874f9d921d29e1820225690136992873c559beb DIST python_discovery-1.5.0.tar.gz.provenance 9981 BLAKE2B 2e3f54965057359cfc0b5be8eae074de9946d50de4c0de882e86c647a81b60380842c063989c90bc3dc9cb81b235794e72d852dcef53097eebb43777a794cef5 SHA512 072632cbf0713f019f5794f94b980d01fa9ee3994b8f930623b6fc44b9515e8391d322923727ea333bdbb9d59809a69c78f1d855c91736b0826becfe58ba8840 +DIST python_discovery-1.5.1.tar.gz 77200 BLAKE2B aa9d33adf86a4c17ee0159672886e63a1932fa75339e00c402e011236879bcf13566b1a66a9043a5b5be0879ca6c314409090217ba6fed2c15425bbba52edb89 SHA512 256d6ddef34daca99049c83d3b9344067da347b3169b8f7147f88cca3d079bf0af954aec4dccc2b186e70c070a30afa637bd2586dd1a37bad23465d111e5c015 +DIST python_discovery-1.5.1.tar.gz.provenance 9797 BLAKE2B c4ac51be4b7d54ab6d9ff2edc9c6fed685c73a25617accf1d98e2186f372a2dd7c0986a379fd383375d34c3c08e724ea266d18ef8c232298eab2d9be185d90ca SHA512 20cbc11b7b5b17c0bb324978f72b1928897eaccc07d70af9ab04fb188d96a6cee6a610b9cddec406a048c26c4536deaadcd86123e4c0dc0ba2b9a8da78621a47 diff --git a/dev-python/python-discovery/python-discovery-1.5.1.ebuild b/dev-python/python-discovery/python-discovery-1.5.1.ebuild new file mode 100644 index 000000000000..76ec71b6a7fb --- /dev/null +++ b/dev-python/python-discovery/python-discovery-1.5.1.ebuild @@ -0,0 +1,55 @@ +# 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_{13..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 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/filelock-3.15.4[${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 + ) + ;; + python3.15) + EPYTEST_DESELECT+=( + # TODO + tests/test_discovery.py::test_predicate_with_fallback_specs + ) + ;; + esac + + epytest +} |
