mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/python-discovery: New package, v1.1.0
New NIH dependency for dev-python/virtualenv. Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
2
dev-python/python-discovery/Manifest
Normal file
2
dev-python/python-discovery/Manifest
Normal file
@@ -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
|
||||
12
dev-python/python-discovery/metadata.xml
Normal file
12
dev-python/python-discovery/metadata.xml
Normal file
@@ -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>
|
||||
51
dev-python/python-discovery/python-discovery-1.1.0.ebuild
Normal file
51
dev-python/python-discovery/python-discovery-1.1.0.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user