dev-python/python-discovery: Bump to 1.3.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-05-13 04:22:54 +02:00
parent eed3848e14
commit 71372eb9cd
2 changed files with 59 additions and 0 deletions

View File

@@ -2,3 +2,5 @@ DIST python_discovery-1.2.2.tar.gz 58872 BLAKE2B 0177a23499cd59aef5c7489694a53c7
DIST python_discovery-1.2.2.tar.gz.provenance 9263 BLAKE2B e405c7db48810a177671144bffdc28c8903b74ed846f2f5bcab47134e8e795f061ad3394779551a045feb4debaf2704567547cafefafcbd0a9debecb6ec1425e SHA512 c70313361c0660297335fdce23a7af12eb2f67b7146126ab6bfe3cf783645155e368bc68126b853be91b968da9917e005ecc7f6025a62fa14d1ffc735c31bc85
DIST python_discovery-1.3.0.tar.gz 63925 BLAKE2B 58f80736df5a3187edea63949cc326be9e4c88e7df7be99aae04fade18666b679894db3318d0ec31a6724df9be43bfde503d0643f782bd73c153161105397077 SHA512 dc7567834d23b7879d144be79c35ec343058909ba81dade3921bdea64fdb921ec9b8a354da5aecad3013b9617f5a186f0d4aff5a59c5538a1f0fade9316fc18f
DIST python_discovery-1.3.0.tar.gz.provenance 9310 BLAKE2B 1af3f9f500a8b186e2548bb47ab2bf18376e059712c2d3042138300038b5f254f4daf30bce4dfe6c14f0760fc46f3df71d4efcfda4b50cf02dce866a1ac2b745 SHA512 29626c050fe014cb2ef8e8fd4f738dda7edec6b3b412a22415ff05be81fe9a86f1727073e254e4ae860b47a8c8ea41832335e296f4d8701523b29ce8732efbb7
DIST python_discovery-1.3.1.tar.gz 68011 BLAKE2B ba0e1e7320a8d5834c80f6218c48badd1668e189daa8d5b4d616dc24b275fa07b154381ff683fb48ac4400004cb1106d46c70b2b1b470eb6b948b0799c9b1e36 SHA512 af8a90cf411d6c914ce12e7f198e92bc166100eff1dbe814b1731abc8913abf7a8a0d44a269bd86985cc19e9235cc3995056014f7bdd02dba5e62af4117bdf47
DIST python_discovery-1.3.1.tar.gz.provenance 9549 BLAKE2B 46c2c90661a8f0f59f6e33ef9bdcfebf99f194c7d27b5f76bdb9a6c4d2f92d8c1d1eb2fa922f37a8dee7b800eef0685ca49ac2221253c670c4fa3171ac9ec0bf SHA512 df2a72238637c04fa7d7ba316a82a18bf1c057bd21fea7a4278d26a7eec156614c56ea47209ce875de42d82a5dce84d176e223e2504edf1ef6ab89713f11af5a

View File

@@ -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 ~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
}