From d48368056f09fa1e50d9ece86e7556071da8c68f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 27 Feb 2026 04:56:04 +0100 Subject: dev-python/python-discovery: New package, v1.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New NIH dependency for dev-python/virtualenv. Signed-off-by: Michał Górny --- .../python-discovery/python-discovery-1.1.0.ebuild | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 dev-python/python-discovery/python-discovery-1.1.0.ebuild (limited to 'dev-python/python-discovery/python-discovery-1.1.0.ebuild') diff --git a/dev-python/python-discovery/python-discovery-1.1.0.ebuild b/dev-python/python-discovery/python-discovery-1.1.0.ebuild new file mode 100644 index 000000000000..20c04204f526 --- /dev/null +++ b/dev-python/python-discovery/python-discovery-1.1.0.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" + +RDEPEND=" + >=dev-python/filelock-3.15.4[${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 +} -- cgit v1.2.3