26 lines
677 B
Bash
26 lines
677 B
Bash
# Template file for 'python3-flexmock'
|
|
pkgname=python3-flexmock
|
|
version=0.10.3
|
|
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=41cc082cd40513644ed0237c99d712b6e397cc2cdf13d80163a7e27689302c0c
|
|
|
|
do_check() {
|
|
python3 -m pytest
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|