26 lines
676 B
Bash
26 lines
676 B
Bash
# Template file for 'python3-flexmock'
|
|
pkgname=python3-flexmock
|
|
version=0.10.4
|
|
revision=2
|
|
archs=noarch
|
|
wrksrc="flexmock-${version}"
|
|
build_style=python3-module
|
|
pycompile_module="flexmock.py"
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3"
|
|
checkdepends="python3-pytest"
|
|
short_desc="Testing library for Python3 inspired by Ruby's flexmock"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://flexmock.readthedocs.io/en/latest/"
|
|
distfiles="${PYPI_SITE}/f/flexmock/flexmock-${version}.tar.gz"
|
|
checksum=5033ceb974d6452cf8716c2ff5059074b77e546df5c849fb44a53f98dfe0d82c
|
|
|
|
do_check() {
|
|
python3 -m pytest
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|