void-packages/srcpkgs/python3-nose2/template

25 lines
704 B
Bash

# Template file for 'python3-nose2'
pkgname=python3-nose2
version=0.15.1
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-coverage python3-six"
checkdepends="python3-pluggy tox"
short_desc="Next generation of nicer testing (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/nose-devs/nose2"
changelog="https://docs.nose2.io/en/latest/changelog.html"
distfiles="${PYPI_SITE}/n/nose2/nose2-${version}.tar.gz"
checksum=36770f519df5becd3cbfe0bee4abbfbf9b9f6b4eb4e03361d282b7efcfc4f0df
conflicts="python-nose2>=0"
post_install() {
vlicense LICENSE
}
do_check() {
python3 -m tox -e py
}