void-packages/srcpkgs/python-pluggy/template

24 lines
637 B
Bash

# Template file for 'python-pluggy'
pkgname=python-pluggy
version=0.13.1
revision=2
wrksrc="pluggy-${version}"
build_style=python2-module
hostmakedepends="python-setuptools"
depends="python"
checkdepends="python-pytest ${depends}"
short_desc="Minimalist production ready plugin system (Python2)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/pytest-dev/pluggy"
distfiles="${PYPI_SITE}/p/pluggy/pluggy-${version}.tar.gz"
checksum=15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0
do_check() {
PYTHONPATH=$(pwd)/build/lib python2 -m pytest
}
post_install() {
vlicense LICENSE
}