diff --git a/dev-python/python-discovery/Manifest b/dev-python/python-discovery/Manifest index 26f769ae4bbbf..44ae84a77af6a 100644 --- a/dev-python/python-discovery/Manifest +++ b/dev-python/python-discovery/Manifest @@ -2,3 +2,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.3.tar.gz 82477 BLAKE2B 9c4fb00eaed1f285fbc11f17329b2b15cef76d7dabda740f25247b952d73446feabe66cb3697651050289206644849959424176180c1ad075d984c77cbc2dea1 SHA512 27df23aac5b1c1d0959a2982260362f7126f630bcf00ef239d3bfe8b30b4eeb21d11f857b83b91d4c82b7b07a2da565cdaf54637228636b771e42bc809cc88bd DIST python_discovery-1.5.3.tar.gz.provenance 9705 BLAKE2B 3b868680b81b7b357f6b1a746c1c3f9dd3647d661357aecf2d56b29c020775878ab1e99702ca1cdb543329eec78b2f178d063d3aeb69aa114336f74b0e1c2809 SHA512 6d4308a4cd90f1eb880f9a787bb43e1f96c169304009efd7fff673df6816e02adbe6124d8c52eff2be5a03e2a1892f3ffdef35ddf3cd788c5c78eaf04ea11de0 +DIST python_discovery-1.6.0.tar.gz 82849 BLAKE2B f4eb680ebac443ef96d3b02c38c084077daa63125c78f1528414e316ccaafa15e33fec2e247c62faed19be9884ebb1f5b91f3ee24b343b8a6531f39f68ee4056 SHA512 dbf16e32b74aa5d02c07219688d1bddab550321cd1bd6e2d424cdf4970c2a80973d0f1b3348a41974fa86dd3d283641f19fe6b8434aee1b35c2ce70102f7562d +DIST python_discovery-1.6.0.tar.gz.provenance 9936 BLAKE2B 293c80437cec2b33211ef2b28d4021f01cfbed0f769adcef52f090f40300fabb437cb544516c4ad2aa5d4e4646b4384877a56dd12f369a5085c82a7b06962e7b SHA512 f2e2911814b42b44fb5616450e6264787f2bfae71385f7258ab29428ee3fe3b07e6952f4c0c2fda50796b3be531e04429cfca6433d9ba7091801a8f50279609a diff --git a/dev-python/python-discovery/python-discovery-1.6.0.ebuild b/dev-python/python-discovery/python-discovery-1.6.0.ebuild new file mode 100644 index 0000000000000..476b15572dfb4 --- /dev/null +++ b/dev-python/python-discovery/python-discovery-1.6.0.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_{12..15} python3_{14..15}t ) + +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_IGNORE=( + # TODO: package vermin? + tests/test_py_info_collect.py + ) + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + python3.*t) + EPYTEST_DESELECT+=( + # TODO + tests/test_py_info_extra.py::test_satisfies_path_not_abs_basename_match + tests/test_iter_interpreters.py::test_iter_interpreters_dedups_symlinks + tests/test_iter_interpreters.py::test_iter_interpreters_no_key_includes_running_interpreter + ) + ;; + esac + + epytest +}