aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2019-08-25 12:05:50 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2019-09-21 13:28:13 +0200
commit7a7155f7da9181e8d119268ca57b9e04448a3dca (patch)
tree66cb5eff9c781f0810ef134e0d9c274ca2932500 /testing
parent1bbeec3717c96dd51f92509c70a393e1b0e2f0f7 (diff)
downloadaports-7a7155f7da9181e8d119268ca57b9e04448a3dca.tar.bz2
aports-7a7155f7da9181e8d119268ca57b9e04448a3dca.tar.xz
testing/py3-clint: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/py3-clint/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-clint/APKBUILD b/testing/py3-clint/APKBUILD
new file mode 100644
index 0000000000..13e3c75a33
--- /dev/null
+++ b/testing/py3-clint/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer:
+pkgname=py3-clint
+pkgver=0.5.1
+pkgrel=0
+pkgdesc="Set of tools for python commandline applications"
+url="https://github.com/kennethreitz/clint"
+arch="noarch"
+license="ISC"
+depends="python3"
+makedepends="py3-setuptools"
+checkdepends="py3-pytest"
+source="$pkgname-$pkgver.tar.gz::https://github.com/kennethreitz/clint/archive/v$pkgver.tar.gz"
+builddir="$srcdir/clint-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ py.test-3 --junitxml=junit-{envname}.xml
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="3ad8bfc587acb1322c7d7c3e73756a07c98f3b4215a3d4dc409b5a2067bc70dce2dd98d19250b8122b319b7bcf5e2859251de2829780345de06f93b35447c4e8 py3-clint-0.5.1.tar.gz"