dev-python/nab-provider - 0.0.22 (guru)

Search

Install

Install this version:

emerge -a =dev-python/nab-provider-0.0.22

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/nab-provider-0.0.22

Or alternatively:

emerge --autounmask-write -a =dev-python/nab-provider-0.0.22

Package Information

Description:
IO-free resolution core for nab
Homepage:
https://github.com/notatallshaw/nab/ https://pypi.org/project/nab-provider/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.0.22 8 ~amd64 0
View Raw Ebuild
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYPI_VERIFY_REPO=https://github.com/notatallshaw/nab
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{12..15} )

inherit distutils-r1 pypi

DESCRIPTION="IO-free resolution core for nab"
HOMEPAGE="
	https://github.com/notatallshaw/nab/
	https://pypi.org/project/nab-provider/
"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	dev-python/nab-resolver[${PYTHON_USEDEP}]
"

BDEPEND="
	dev-python/hatch-vcs[${PYTHON_USEDEP}]
	test? (
		dev-python/nab-markersets[${PYTHON_USEDEP}]
	)
"

EPYTEST_PLUGINS=( pytest )

distutils_enable_tests pytest

python_test() {
	# skip test that expects monorepo
	local EPYTEST_DESELECT=(
		tests/test_pep508.py::TestParseRequirement::test_over_nested_marker_raises_invalid_requirement
		tests/test_pep508.py::TestRequirementParsingIsRouted::test_no_shipped_module_constructs_a_requirement
	)

	epytest
}

Inherited Eclasses

Dependencies

RDEPEND

	dev-python/nab-resolver[]

BDEPEND

	dev-python/hatch-vcs[]
	test? (
		dev-python/nab-markersets[]
	)