void-packages/srcpkgs/python3-py/template

25 lines
633 B
Bash

# Template file for 'python3-py'
pkgname=python3-py
version=1.10.0
revision=1
wrksrc="py-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools_scm"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python3 development support library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/pytest-dev/py"
changelog="https://github.com/pytest-dev/py/raw/master/CHANGELOG"
distfiles="${PYPI_SITE}/p/py/py-${version}.tar.gz"
checksum=21b81bda15b66ef5e1a777a21c4dcd9c20ad3efd0b3f817e7a809035269e1bd3
do_check() {
python3 -m pytest
}
post_install() {
vlicense LICENSE
}