aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoel Kuntze <noel.kuntze@thermi.consulting>2020-07-29 07:59:47 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-08-05 16:14:39 -0300
commit7a0b69c4ec41b5f384ecc8d893f2483031c9bb82 (patch)
tree2ab41fe8942628ecbd330d45202c3537a3e85586
parent81ed4aee86faad8d496164490a183424e76d87de (diff)
downloadaports-7a0b69c4ec41b5f384ecc8d893f2483031c9bb82.tar.gz
aports-7a0b69c4ec41b5f384ecc8d893f2483031c9bb82.tar.bz2
aports-7a0b69c4ec41b5f384ecc8d893f2483031c9bb82.tar.xz
testing/py3-minimock: new aport
Simple mock library https://pypi.python.org/pypi/MiniMock Co-Authored-By: Leo <thinkabit.ukim@gmail.com>
-rw-r--r--testing/py3-minimock/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-minimock/APKBUILD b/testing/py3-minimock/APKBUILD
new file mode 100644
index 0000000000..3ffa1b5bb0
--- /dev/null
+++ b/testing/py3-minimock/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Noel Kuntze <noel.kuntze@thermi.consulting>
+# Maintainer: Noel Kuntze <noel.kuntze@thermi.consulting>
+pkgname=py3-minimock
+pkgver=1.2.8
+pkgrel=0
+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"