mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 18:55:29 +03:00
28 lines
746 B
Text
28 lines
746 B
Text
# Contributor: Noel Kuntze <noel.kuntze@thermi.consulting>
|
|
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
|
|
pkgname=py3-minimock
|
|
pkgver=1.2.8
|
|
pkgrel=3
|
|
pkgdesc="Simple mock library"
|
|
url="https://pypi.org/project/MiniMock/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-nose"
|
|
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"
|