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.1.1.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/python-discovery/Manifest b/dev-python/python-discovery/Manifest index 5a469d62d107..c8da52046456 100644 --- a/dev-python/python-discovery/Manifest +++ b/dev-python/python-discovery/Manifest @@ -1,2 +1,4 @@ DIST python_discovery-1.1.0.tar.gz 55674 BLAKE2B 0873b460369b07973a8e8375d7c04bd354f699f149721f0f4a1b2f9959874d1fd7ed768631d22a4b81bfecdfc84e2401b39b8839e5e64c2c8d412b87d745c72c SHA512 80650fba8dd637b78286c0d029e748ecb5201d94cb9faa3ece87bdafee5c51f00609738d9452bb95b88464752fcd95e5d8248e035950a5c645fc5391fb143226 DIST python_discovery-1.1.0.tar.gz.provenance 9353 BLAKE2B 41747cb58865e3dd391a99be351c5d10fc3ebbfaf2a647660da02b0ed7de224a15ec0281eec2707c613db3864fccb8f3b650b05ead0a23729764e880a9c939a1 SHA512 6e93df010db38c40cd36db30f9a1b50eb0c19e3dcf1529ecb4ee00f7f204b01d828f7f96c3eeac68474e902c6bcbcacc587329ca1e84cf809cce3c6cbe4c043c +DIST python_discovery-1.1.1.tar.gz 56016 BLAKE2B 8e6f81743e8e94a3811d604365d5ff9a02927f9363b6b5482fcda5a3341314f9c15c48c9c14ebfb01d4599d18d9777733b0c7fdc28a430c705957b0832cdcd39 SHA512 f4eb0c50ddc3231e75e5b0f511f02ef8c5206d76d4c931f1d128a3f10f1eeb0d7c2b60b903120ebb5b5677cd7d8ac3b2701419fb0716ec2fa856f68a6d70cb87 +DIST python_discovery-1.1.1.tar.gz.provenance 9636 BLAKE2B d5b252949d5fb79163e18225d8d5b37f09d8a41c743c4b164c47aa652c30a4de51bc5dadb2319d1b4ef42852c03e7c14ca35f5456f8f7be3140aeaed0cae8bd0 SHA512 ecbcb33c01a50ca520cfd8743babc96e4e5b50da69e7c27a85199d597b6e5cf97be7d45e52cb9dc6aa1f8655fc2b6d8e0e6cf6300f885c2149cc3a2f72b4db87 diff --git a/dev-python/python-discovery/python-discovery-1.1.1.ebuild b/dev-python/python-discovery/python-discovery-1.1.1.ebuild new file mode 100644 index 000000000000..42ce908a34a0 --- /dev/null +++ b/dev-python/python-discovery/python-discovery-1.1.1.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=( pypy3_11 python3_{11..14} python3_{13,14}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="~amd64 ~riscv ~s390" + +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 +} |
