aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2015-03-06 06:51:20 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2015-03-11 14:33:18 +0000
commit605c4bd8b78f0987d7c25d4f474b4685f4708b47 (patch)
treec72c0fd00afe3925a67ad859d28d25a7b1c9ae22 /testing
parentdcb5a3721040a03ffce86084c6e4c6c8705d59e8 (diff)
downloadaports-605c4bd8b78f0987d7c25d4f474b4685f4708b47.tar.bz2
aports-605c4bd8b78f0987d7c25d4f474b4685f4708b47.tar.xz
testing/py-click-utils: new aport
A set of utilities for Click (framework for command line programs) https://github.com/slafs/click-utils
Diffstat (limited to 'testing')
-rw-r--r--testing/py-click-utils/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-click-utils/APKBUILD b/testing/py-click-utils/APKBUILD
new file mode 100644
index 0000000000..a3cdba5c5e
--- /dev/null
+++ b/testing/py-click-utils/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-click-utils
+_pkgname=click-utils
+pkgver=0.2.1
+pkgrel=0
+pkgdesc="A set of utilites for writing command line programs with Click"
+url="https://github.com/slafs/click-utils"
+arch="noarch"
+license="BSD"
+depends="python py-click"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_pkgname-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="3508334ee30cc2b10be2e6665ee48784 click-utils-0.2.1.tar.gz"
+sha256sums="a0cc935d6bb7f5c6659231e58765676a1779395fa40b708f3983794d3380b4c0 click-utils-0.2.1.tar.gz"
+sha512sums="801ccb2a65cf50ade14e4b9b477cab1468a903dfbcabd86de4d0214604c5c19af4328c1b6477f251f15efbd3408c30540faf551f8d3c4a6806aec12cf9555450 click-utils-0.2.1.tar.gz"