void-packages/srcpkgs/python3-pluggy/template

26 lines
674 B
Bash

# Template file for 'python3-pluggy'
pkgname=python3-pluggy
version=0.13.0
revision=1
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=fa5fa1622fa6dd5c030e9cad086fa19ef6a0cf6d7a2d12318e10cb49d6d68f34
do_check() {
python3 -m pytest
}
post_install() {
vlicense LICENSE
}