summaryrefslogtreecommitdiff
path: root/dev-python/python-discovery
diff options
context:
space:
mode:
authorRepository mirror & CI <repomirrorci@gentoo.org>2026-02-27 04:15:48 +0000
committerRepository mirror & CI <repomirrorci@gentoo.org>2026-02-27 04:15:48 +0000
commit80aa75b3049ec3bbc4f0dd072aafc46273fbd7b0 (patch)
tree6b986578b9308a3dbc7df7579d04e8bd323124f2 /dev-python/python-discovery
parente9410229cb59f1fcb4aa54ac833813ddc917463a (diff)
parent53bf9dc67d10717fb05851ade72e6cabd3379337 (diff)
downloadgentoo-80aa75b3049ec3bbc4f0dd072aafc46273fbd7b0.tar.gz
gentoo-80aa75b3049ec3bbc4f0dd072aafc46273fbd7b0.tar.bz2
gentoo-80aa75b3049ec3bbc4f0dd072aafc46273fbd7b0.zip
Merge updates from master
Diffstat (limited to 'dev-python/python-discovery')
-rw-r--r--dev-python/python-discovery/Manifest2
-rw-r--r--dev-python/python-discovery/metadata.xml12
-rw-r--r--dev-python/python-discovery/python-discovery-1.1.0.ebuild51
3 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/python-discovery/Manifest b/dev-python/python-discovery/Manifest
new file mode 100644
index 000000000000..5a469d62d107
--- /dev/null
+++ b/dev-python/python-discovery/Manifest
@@ -0,0 +1,2 @@
+DIST python_discovery-1.1.0.tar.gz 55674 BLAKE2B 0873b460369b07973a8e8375d7c04bd354f699f149721f0f4a1b2f9959874d1fd7ed768631d22a4b81bfecdfc84e2401b39b8839e5e64c2c8d412b87d745c72c SHA512 80650fba8dd637b78286c0d029e748ecb5201d94cb9faa3ece87bdafee5c51f00609738d9452bb95b88464752fcd95e5d8248e035950a5c645fc5391fb143226
+DIST python_discovery-1.1.0.tar.gz.provenance 9353 BLAKE2B 41747cb58865e3dd391a99be351c5d10fc3ebbfaf2a647660da02b0ed7de224a15ec0281eec2707c613db3864fccb8f3b650b05ead0a23729764e880a9c939a1 SHA512 6e93df010db38c40cd36db30f9a1b50eb0c19e3dcf1529ecb4ee00f7f204b01d828f7f96c3eeac68474e902c6bcbcacc587329ca1e84cf809cce3c6cbe4c043c
diff --git a/dev-python/python-discovery/metadata.xml b/dev-python/python-discovery/metadata.xml
new file mode 100644
index 000000000000..201be55b0824
--- /dev/null
+++ b/dev-python/python-discovery/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">tox-dev/python-discovery</remote-id>
+ <remote-id type="pypi">python-discovery</remote-id>
+ </upstream>
+</pkgmetadata>
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-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
+}