Files
gentoo/dev-python/nox/nox-2026.08.17.ebuild
Michał Górny b43d4bf42b dev-python/nox: Bump to 2026.08.17
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2026-08-19 07:38:33 +02:00

56 lines
1.3 KiB
Bash

# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
DESCRIPTION="Flexible test automation for Python"
HOMEPAGE="
https://github.com/wntrblm/nox/
https://pypi.org/project/nox/
"
SRC_URI="
https://github.com/wntrblm/nox/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND="
>=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}]
>=dev-python/attrs-24.1[${PYTHON_USEDEP}]
>=dev-python/colorlog-6.6[${PYTHON_USEDEP}]
>=dev-python/dependency-groups-1.1[${PYTHON_USEDEP}]
>=dev-python/humanize-4[${PYTHON_USEDEP}]
>=dev-python/packaging-22[${PYTHON_USEDEP}]
>=dev-python/platformdirs-2[${PYTHON_USEDEP}]
>=dev-python/python-discovery-1[${PYTHON_USEDEP}]
>=dev-python/virtualenv-21[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/pbs-installer-2025.01.06[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
python_test() {
local EPYTEST_DESELECT=(
# TODO: conda?
'tests/test_sessions.py::TestSessionRunner::test__create_venv_options[nox.virtualenv.CondaEnv.create-conda-CondaEnv]'
# Internet
tests/test_virtualenv.py::test_uv_install
tests/test_main.py::test_noxfile_script_mode
)
epytest -o tmp_path_retention_policy=all
}