# Contributor: Noel Kuntze # Maintainer: Oliver Smith pkgname=py3-minimock pkgver=1.2.8 pkgrel=5 pkgdesc="Simple mock library" url="https://pypi.org/project/MiniMock/" arch="noarch" license="MIT" depends="python3" makedepends="py3-setuptools" checkdepends="py3-nose" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/lowks/minimock/archive/$pkgver.tar.gz" builddir="$srcdir/minimock-$pkgver" build() { python3 setup.py build } check() { sh test } package() { python3 setup.py install --root="$pkgdir" } sha512sums="dd12154470263132c4fc8860796619e0db736c9482d8bbdffeba305f846ad873596bf500becef65a812e7a41385471b3d74fe7b7064e9fe255eb7c69a05bfd7e py3-minimock-1.2.8.tar.gz"