aboutsummaryrefslogtreecommitdiffstats
path: root/community/github-cli
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-06-16 07:28:39 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-06-16 08:32:51 +0000
commit63c83ae3712a430f54a80de95ddc8463ae625638 (patch)
tree45751f11fee99152a7736a43e6eb9a78301bb8a8 /community/github-cli
parent8060a81799cbcdbf4cfac812d2db0f3025d40b6b (diff)
downloadaports-63c83ae3712a430f54a80de95ddc8463ae625638.tar.bz2
aports-63c83ae3712a430f54a80de95ddc8463ae625638.tar.xz
community/github-cli: added python dependency to make it work
Diffstat (limited to 'community/github-cli')
-rw-r--r--community/github-cli/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/github-cli/APKBUILD b/community/github-cli/APKBUILD
index 7651fbc2fb..6d13c94aec 100644
--- a/community/github-cli/APKBUILD
+++ b/community/github-cli/APKBUILD
@@ -2,17 +2,22 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=github-cli
pkgver=1.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="GitHub issue tracker client"
url="http://packages.python.org/github-cli/"
arch="noarch"
license="BSD"
-depends="python2 py-simplejson"
+depends="python2 py-simplejson py-setuptools"
makedepends="py-distutils-extra"
-install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.zip::https://github.com/jsmits/$pkgname/archive/$pkgver.zip"
builddir="$srcdir"/$pkgname-$pkgver
+
+check() {
+ cd "$builddir"
+ python2 setup.py check
+}
+
build() {
cd "$builddir"
python2 setup.py build
@@ -25,6 +30,4 @@ package() {
install -Dm644 README.rst "$pkgdir/usr/share/doc/$pkgname/README.rst"
}
-md5sums="9e6b53ebebef3a6b07b6a3984e976c61 github-cli-1.0.0.zip"
-sha256sums="f30367a79243d6f9cc600185eff3f6074f0ffa6b46361be32ca198467a7467b8 github-cli-1.0.0.zip"
sha512sums="ba57bb1a6842da951da2c807e49f0b1f18c36e754dad567cc912dff6e979cd6aefd6063f10bd99d32542f73d8001a5bfcebd54471f445259dc218386e00fe61d github-cli-1.0.0.zip"