aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-04-03 20:28:43 +0300
committerprspkt <prspkt@protonmail.com>2019-04-03 22:52:04 +0300
commitd68a9b9a8b522f58fec7d22e93e62c9ec670ca73 (patch)
tree2e3a25ff474b4203f65d33b139de8fe5f1b2b81e /testing
parenteeaa2fdbf538e7f818be05d96f60258039d8339d (diff)
downloadaports-d68a9b9a8b522f58fec7d22e93e62c9ec670ca73.tar.bz2
aports-d68a9b9a8b522f58fec7d22e93e62c9ec670ca73.tar.xz
testing/py3-hamcrest: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/py3-hamcrest/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/py3-hamcrest/APKBUILD b/testing/py3-hamcrest/APKBUILD
new file mode 100644
index 0000000000..e47636ae3a
--- /dev/null
+++ b/testing/py3-hamcrest/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: prspkt <prspkt@protonmail.com>
+# Maintainer: prspkt <prspkt@protonmail.com>
+pkgname=py3-hamcrest
+_pkgname=PyHamcrest
+pkgver=1.9.0
+pkgrel=0
+pkgdesc="Hamcrest framework for matcher objects"
+url="https://github.com/hamcrest/PyHamcrest"
+arch="noarch"
+license="BSD-3-Clause"
+depends="py3-six python3"
+makedepends="py3-setuptools python3-dev"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/"$_pkgname-$pkgver
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="3b8393d0079b619b208ec7f06ed5133c4ff9d9dba050f818adf56347fc2225fd1c85d60f3dc262b7b9722061f0b8e4966180b6b96245a371e578d0d51633b4b0 PyHamcrest-1.9.0.tar.gz"