vp-build/srcpkgs/python3-flexmock/template

26 lines
677 B
Bash

# Template file for 'python3-flexmock'
pkgname=python3-flexmock
version=0.10.2
revision=1
noarch=yes
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=fe95c8727f4db73dc8f2f7b4548bffe7992440a965fefd60da291abda5352c2b
do_check() {
python3 -m pytest
}
post_install() {
vlicense LICENSE
}