void-packages/srcpkgs/python3-pytest-fixture-config/template

27 lines
742 B
Bash

# Template file for 'python3-pytest-fixture-config'
pkgname=python3-pytest-fixture-config
_pkgname=${pkgname#*-}
version=1.3.0
revision=5
wrksrc="${_pkgname}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-pytest"
checkdepends="python3-pytest"
short_desc="Fixture configuration utils for py.test (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/manahl/pytest-plugins"
distfiles="${PYPI_SITE}/p/${_pkgname}/${_pkgname}-${version}.tar.gz"
checksum=1717cd7d2233943cae9af419c6e31dca5e40d5de01ef0bcfd5cd06f37548db08
pre_build() {
sed -i '/setup_requires/d' common_setup.py
}
do_check() {
python3 setup.py test
}
post_install() {
vlicense LICENSE
}