void-packages/srcpkgs/tox/template
2021-01-21 08:41:19 -05:00

32 lines
1.1 KiB
Bash

# Template file for 'tox'
pkgname=tox
version=3.21.2
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools_scm"
depends="python3-filelock python3-packaging
python3-pluggy python3-pytest python3-toml python3-virtualenv"
checkdepends="${depends} python3-pytest-mock
python3-flaky python3-pathlib2 python3-freezegun"
short_desc="Generic virtualenv management and test command line tool"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="MIT"
homepage="https://tox.readthedocs.io/en/latest/"
changelog="https://tox.readthedocs.io/en/latest/changelog.html"
distfiles="${PYPI_SITE}/t/tox/tox-${version}.tar.gz"
checksum=f501808381c01c6d7827c2f17328be59c0a715046e94605ddca15fb91e65827d
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_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"
}
post_install() {
vlicense LICENSE
}