aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-shouldbe
diff options
context:
space:
mode:
authorDmitry Romanenko <Dmitry@Romanenko.in>2019-06-04 23:30:39 -0400
committerprspkt <prspkt@protonmail.com>2019-06-05 21:32:21 +0300
commit1aeea0352fb5c89587af061a5c4248d8cfff285e (patch)
treedb04a28c31b93dc074769f83367baeadd31fa3d2 /testing/py3-shouldbe
parentb376dcaca66f1f200ef3b5515bb615cd7b8aebc9 (diff)
downloadaports-1aeea0352fb5c89587af061a5c4248d8cfff285e.tar.bz2
aports-1aeea0352fb5c89587af061a5c4248d8cfff285e.tar.xz
testing/py3-shouldbe: new aport
Diffstat (limited to 'testing/py3-shouldbe')
-rw-r--r--testing/py3-shouldbe/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/py3-shouldbe/APKBUILD b/testing/py3-shouldbe/APKBUILD
new file mode 100644
index 0000000000..b9fbc66f04
--- /dev/null
+++ b/testing/py3-shouldbe/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Dmitry Romanenko <dmitry@romanenko.in>
+# Maintainer: Dmitry Romanenko <dmitry@romanenko.in>
+pkgname=py3-shouldbe
+_pkgname=shouldbe
+pkgver=0.1.2
+pkgrel=0
+pkgdesc="A Python Assertions Helper Based on Shouldly"
+url="https://github.com/directxman12/should_be"
+arch="noarch"
+license="ISC"
+depends="python3 py3-forbiddenfruit"
+checkdepends="py3-nose"
+makedepends="py3-setuptools"
+source="https://files.pythonhosted.org/packages/source/s/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir"/$_pkgname-$pkgver
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+
+sha512sums="4469d958db5dbdad08d48ccd11d24db2d2bdba7d11aaaa94827b2963ab7f84f63f4e5674e1cef7a0edecf6020be634d448195a4b322b5ce0381d5c65371019fb shouldbe-0.1.2.tar.gz"