dev-python/python-discovery - 1.6.7 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/python-discovery-1.6.7

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/python-discovery-1.6.7

Or alternatively:

emerge --autounmask-write -a =dev-python/python-discovery-1.6.7

Package Information

Description:
Python interpreter discovery
Homepage:
https://github.com/tox-dev/python-discovery/ https://pypi.org/project/python-discovery/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.6.7 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{12..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="~amd64 ~arm64"

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=()

	epytest
}

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/filelock-3.16.1[]

BDEPEND

	dev-python/hatch-vcs[]
	test? (
		>=dev-python/setuptools-75.1[]
	)