mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-11-05 15:20:48 -05:00
Updates dependencies, and restricts test. This package provides many tests that depend on the whole nab repo. Since adding more nab dependencies will cause the build to add even more testing, in this case it is better to restrict. Closes: https://bugs.gentoo.org/984993 Signed-off-by: bakedsnake <bakedsnake@vagrantz.xyz>
47 lines
1.1 KiB
Bash
47 lines
1.1 KiB
Bash
# 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="Indexed-backed provider, lockfile emitter, and downloader for nab"
|
|
HOMEPAGE="
|
|
https://github.com/notatallshaw/nab/
|
|
https://pypi.org/project/nab-project/
|
|
"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
# Many tests not working when not in monorepo
|
|
# in this case it is better to just restrict
|
|
RESTRICT="test"
|
|
|
|
RDEPEND="
|
|
dev-python/installer[${PYTHON_USEDEP}]
|
|
dev-python/nab-index[${PYTHON_USEDEP}]
|
|
dev-python/nab-markersets[${PYTHON_USEDEP}]
|
|
dev-python/packaging[${PYTHON_USEDEP}]
|
|
dev-python/pyproject-hooks[${PYTHON_USEDEP}]
|
|
>=dev-python/tomli-2.5.0[${PYTHON_USEDEP}]
|
|
>=dev-python/tomli-w-1.2.0[${PYTHON_USEDEP}]
|
|
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
|
"
|
|
|
|
BDEPEND="
|
|
dev-python/hatch-vcs[${PYTHON_USEDEP}]
|
|
test? (
|
|
dev-python/build[${PYTHON_USEDEP}]
|
|
)
|
|
"
|
|
|
|
EPYTEST_PLUGINS=( pytest httpx2 hypothesis respx )
|
|
|
|
distutils_enable_tests pytest
|