void-packages/srcpkgs/python3-httmock/template

20 lines
586 B
Bash

# Template file for 'python3-httmock'
pkgname=python3-httmock
version=1.3.0
revision=3
wrksrc="httmock-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-requests"
checkdepends="python3-requests"
short_desc="Mocking library for requests (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/patrys/httmock"
distfiles="https://github.com/patrys/httmock/archive/${version}.tar.gz"
checksum=4716729f0d07f3f6043dde43545a5381c4c6031a62e9dc9eed21e73c63d86722
do_check() {
python3 setup.py test
}