diff options
| author | Crucible <crucible@localhost> | 2026-10-10 03:05:02 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-10-10 03:05:02 -0500 |
| commit | 8d50579e39879dc6ba06d9fa6829f2e9a2c77420 (patch) | |
| tree | 02fb01f1f55d0cf4b5660cb1cc12f2e2fccae010 /dev-python/python-discovery/python-discovery-1.6.2.ebuild | |
| parent | fe1add1bc6351c4b156c993343992fe4de29c61e (diff) | |
| download | srcux-8d50579e39879dc6ba06d9fa6829f2e9a2c77420.tar.gz srcux-8d50579e39879dc6ba06d9fa6829f2e9a2c77420.tar.xz srcux-8d50579e39879dc6ba06d9fa6829f2e9a2c77420.zip | |
Publish srcux candidate 0000000619-20261010-030308
Diffstat (limited to 'dev-python/python-discovery/python-discovery-1.6.2.ebuild')
| -rw-r--r-- | dev-python/python-discovery/python-discovery-1.6.2.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/python-discovery/python-discovery-1.6.2.ebuild b/dev-python/python-discovery/python-discovery-1.6.2.ebuild new file mode 100644 index 000000000000..fddf512947d9 --- /dev/null +++ b/dev-python/python-discovery/python-discovery-1.6.2.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.16.1[${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 +} |
