diff options
| author | Repository mirror & CI <repomirrorci@gentoo.org> | 2026-03-27 05:31:00 +0000 |
|---|---|---|
| committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2026-03-27 05:31:00 +0000 |
| commit | 4d17e97cd75732e5b178a6875780e2c6db27f0e5 (patch) | |
| tree | 2655b48961a0f4e12a65ca697498474219348d98 /dev-python/python-discovery/python-discovery-1.2.1.ebuild | |
| parent | 9e6f625542b93607d13771bc0fbe88814d82deb2 (diff) | |
| parent | bdef0a076edf4d60d02947bb12145dd177f6e586 (diff) | |
| download | gentoo-4d17e97cd75732e5b178a6875780e2c6db27f0e5.tar.gz gentoo-4d17e97cd75732e5b178a6875780e2c6db27f0e5.tar.bz2 gentoo-4d17e97cd75732e5b178a6875780e2c6db27f0e5.zip | |
Merge updates from master
Diffstat (limited to 'dev-python/python-discovery/python-discovery-1.2.1.ebuild')
| -rw-r--r-- | dev-python/python-discovery/python-discovery-1.2.1.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/python-discovery/python-discovery-1.2.1.ebuild b/dev-python/python-discovery/python-discovery-1.2.1.ebuild new file mode 100644 index 0000000000000..42ce908a34a01 --- /dev/null +++ b/dev-python/python-discovery/python-discovery-1.2.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 +} |
