void-packages/srcpkgs/python3-flexmock/template
2019-03-27 07:14:21 -03:00

26 lines
679 B
Bash

# Template file for 'python3-flexmock'
pkgname=python3-flexmock
version=0.10.4
revision=1
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="maxice8 <thinkabit.ukim@gmail.com>"
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
}