void-packages/srcpkgs/python3-pluggy/template

26 lines
674 B
Bash

# Template file for 'python3-pluggy'
pkgname=python3-pluggy
version=0.13.1
revision=2
archs=noarch
wrksrc="pluggy-${version}"
build_style=python3-module
pycompile_module="pluggy"
hostmakedepends="python3-setuptools"
depends="python3-importlib_metadata"
checkdepends="python3-pytest ${depends}"
short_desc="Minimalist production ready plugin system (Python3)"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="MIT"
homepage="https://github.com/pytest-dev/pluggy"
distfiles="${PYPI_SITE}/p/pluggy/pluggy-${version}.tar.gz"
checksum=15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0
do_check() {
python3 -m pytest
}
post_install() {
vlicense LICENSE
}