35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# Template file for 'tox'
|
|
pkgname=tox
|
|
version=3.28.0
|
|
revision=2
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools_scm"
|
|
depends="python3-filelock python3-packaging
|
|
python3-pluggy python3-pytest python3-virtualenv"
|
|
checkdepends="${depends} python3-pip python3-pytest-mock
|
|
python3-flaky python3-pathlib2 python3-freezegun"
|
|
short_desc="Generic virtualenv management and test command line tool"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://tox.wiki/en/legacy/"
|
|
changelog="https://tox.wiki/en/legacy/changelog.html"
|
|
distfiles="${PYPI_SITE}/t/tox/tox-${version}.tar.gz"
|
|
checksum=d0d28f3fe6d6d7195c27f8b054c3e99d5451952b54abdae673b71609a581f640
|
|
|
|
do_check() {
|
|
# Skipped tests fail to find module or rely on missing entrypoint script
|
|
PYTHONPATH=src python3 -m pytest \
|
|
-k "not test_parallel \
|
|
and not test_provision_race \
|
|
and not test_tox_console_script \
|
|
and not test_tox_quickstart_script \
|
|
and not test_provision_cli_args_ignore \
|
|
and not test_provision_interrupt_child \
|
|
and not test_provision_non_canonical_dep \
|
|
and not test_package_poetry"
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|