summaryrefslogtreecommitdiff
path: root/dev-python/python-discovery/python-discovery-1.3.2.ebuild
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-05-31 17:23:40 -0500
committerroot <root@alpha.trunkmasters.com>2026-05-31 17:23:40 -0500
commitf953dc70343485250b836ad157649aaad47ac5bc (patch)
treee3634b454cf48f10ce9f8d12f10e60ad0a749239 /dev-python/python-discovery/python-discovery-1.3.2.ebuild
parent5e07081cf4f5afaef79409b430a018b1daec073e (diff)
downloadbaldeagleos-repo-f953dc70343485250b836ad157649aaad47ac5bc.tar.gz
baldeagleos-repo-f953dc70343485250b836ad157649aaad47ac5bc.tar.xz
baldeagleos-repo-f953dc70343485250b836ad157649aaad47ac5bc.zip
Adding metadata
Diffstat (limited to 'dev-python/python-discovery/python-discovery-1.3.2.ebuild')
-rw-r--r--dev-python/python-discovery/python-discovery-1.3.2.ebuild57
1 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/python-discovery/python-discovery-1.3.2.ebuild b/dev-python/python-discovery/python-discovery-1.3.2.ebuild
new file mode 100644
index 000000000000..61ac35bbbedb
--- /dev/null
+++ b/dev-python/python-discovery/python-discovery-1.3.2.ebuild
@@ -0,0 +1,57 @@
+# 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..15} python3_{13..15}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="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~x86"
+
+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
+ )
+ ;;
+ python3.15)
+ EPYTEST_DESELECT+=(
+ # TODO
+ tests/test_discovery.py::test_predicate_with_fallback_specs
+ )
+ ;;
+ esac
+
+ epytest
+}