vp-build/srcpkgs/python3-PyHamcrest/template

21 lines
669 B
Bash

# Template file for 'python3-PyHamcrest'
pkgname=python3-PyHamcrest
version=2.0.4
revision=1
build_style=python3-pep517
make_install_target="dist/pyhamcrest-${version}-*-*-*.whl"
hostmakedepends="hatch-vcs"
depends="python3"
checkdepends="python3-pytest python3-numpy"
short_desc="Hamcrest framework for matcher objects (Python3)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/hamcrest/PyHamcrest"
distfiles="${PYPI_SITE}/p/pyhamcrest/pyhamcrest-${version}.tar.gz"
checksum=b5d9ce6b977696286cf232ce2adf8969b4d0b045975b0936ac9005e84e67e9c1
make_check_pre="env PYTHONPATH=src"
post_install() {
vlicense LICENSE.txt
}