void-packages/srcpkgs/python3-pluggy/template

26 lines
717 B
Bash

# Template file for 'python3-pluggy'
pkgname=python3-pluggy
version=1.0.0
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools_scm"
depends="python3"
checkdepends="python3-pytest"
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=4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159
do_check() {
# Must export PYTHONPATH so subprocesses see the variable
local _pypath="${PYTHONPATH}"
export PYTHONPATH="${PWD}/src:${PYTHONPATH}"
python3 -m pytest
}
post_install() {
vlicense LICENSE
}