diff options
Diffstat (limited to 'dev-python/python-discovery')
| -rw-r--r-- | dev-python/python-discovery/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/python-discovery/python-discovery-1.4.3.ebuild | 57 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/python-discovery/Manifest b/dev-python/python-discovery/Manifest index a3c61890dca1..bb2a83057c62 100644 --- a/dev-python/python-discovery/Manifest +++ b/dev-python/python-discovery/Manifest @@ -2,3 +2,5 @@ DIST python_discovery-1.4.0.tar.gz 68455 BLAKE2B a2c0c4785aadbf829ae784b9cef80f6 DIST python_discovery-1.4.0.tar.gz.provenance 9934 BLAKE2B 7e0949b3a7ebbc8bc8ac5b8b01f6ad1e0e38bece245bfb9d75567712ed3bb84939221565bbc823027949a14a857d4e1c6b682618c9cb612ca075e4f4848e48cc SHA512 671054e43f9c6db32468c08e30e955371d8a731db9322480ede309589b59ef3e2eaf9492a367f3eefc6e49293c08bb9a4034b09864b7f68b660198cd9d884421 DIST python_discovery-1.4.2.tar.gz 70277 BLAKE2B 9155da6b7112f2711654884933280298c06c1a18dc933a3c8f1c2d88261350ebd90769f323e1af37283841c63af4617e13afd4a94cf44a328c71ea68a849050c SHA512 5dc2964d2ca3df494ec6eaeea64fa931aeb10dc81a9e628b981dbd47ab6c940430089b93abd9dcd7443e2ae2bb184b5170d9c6087b4e3c25d1b40e7840d938e7 DIST python_discovery-1.4.2.tar.gz.provenance 9899 BLAKE2B 3e1e4c628614146f6f34b5de2412947c5bd6cdde0c314e05478cff6f4ade95ff4f4bdf9737252cf0666ee422f7183e98b6e422bfb17ef508165c77b57cf8e934 SHA512 08f15ca855e980ae309ad28b3a5c58240371b814ac10cb3fb4ba74f55b823e30425f1421e7cb2d06f65b8ee84977575b4b08d3cf22d776f0358042c20afc497d +DIST python_discovery-1.4.3.tar.gz 70438 BLAKE2B a34205591ab69895c7384f458899083880547109d5496ab0eeb3f5a6782b50d9765f64c621e698406d79db4efbdf08993ac32148c694f5986c280bff4579501e SHA512 c3b706bfd67ff9fd63dfc29ac6a51564620dfdfa883055879d273362c4fab496717336cef043ddb033cb0c13ad76e57e49ca5b5888530e06dd663ad1987ec9a5 +DIST python_discovery-1.4.3.tar.gz.provenance 10130 BLAKE2B cb327f65e5746d3d03c99107ba07b6653372dcaaf0267fb5eb73af277cda5c788ccd4d7fc97f7c93f63581f2cb779e986f33ec8089830dface5a8eb19dc9c73a SHA512 a44613ccbad06b6b6f23e074cfa284e61ad8086a82bf49c8669dfe0db241893fb534a0731f987a82c09a48d8369655b28a1bb3323087d910cf8052c604099e5c diff --git a/dev-python/python-discovery/python-discovery-1.4.3.ebuild b/dev-python/python-discovery/python-discovery-1.4.3.ebuild new file mode 100644 index 000000000000..984af8461c7b --- /dev/null +++ b/dev-python/python-discovery/python-discovery-1.4.3.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=( python3_{13..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="~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 +} |
