void-packages/srcpkgs/python-pluggy/template

26 lines
646 B
Bash

# Template file for 'python-pluggy'
pkgname=python-pluggy
version=0.9.0
revision=2
archs=noarch
wrksrc="pluggy-${version}"
build_style=python2-module
pycompile_module="pluggy"
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=19ecf9ce9db2fce065a7a0586e07cfb4ac8614fe96edf628a264b1c70116cf8f
do_check() {
python -m pytest
}
post_install() {
vlicense LICENSE
}