From 911ef46e23e657dd28746c4227a2b2fd0af34298 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 18 Oct 2018 03:09:28 +0000 Subject: user/py3-pycotap: new package --- user/py3-pycotap/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 user/py3-pycotap/APKBUILD diff --git a/user/py3-pycotap/APKBUILD b/user/py3-pycotap/APKBUILD new file mode 100644 index 000000000..a2731dc39 --- /dev/null +++ b/user/py3-pycotap/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=py3-pycotap +_pipname=pycotap +pkgver=1.1.0 +pkgrel=0 +pkgdesc="Tiny Python test runner that outputs TAP results" +url="https://el-tramo.be/pycotap/" +arch="noarch" +license="MIT" +depends="python3" +makedepends="" +subpackages="" +source="https://files.pythonhosted.org/packages/a1/99/f1dfa70ffe1140f701ba9797630fb12c12558c28865e1e01728800054d32/pycotap-$pkgver.tar.gz" +builddir="$srcdir/$_pipname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + python3 setup.py check +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="dbe8d76c3e4b934dd4ff9ec0d48caafef3ae5583046a7316607b3c8cebf8cb920c68dc46487243aac81823994805c76f2be8ff0cbda593c70b70f268661fa289 pycotap-1.1.0.tar.gz" -- cgit v1.2.3-70-g09d2