aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-10-21 14:29:02 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-10-21 14:29:02 +0200
commitebd1dca3a706af1043edbe1a8bc04dbc7de76cb9 (patch)
tree162164b9be259bde8ce7dfeb42ce07f66cc6f13d /testing
parent753f6fd9e4aaf57064c9c070a0260f32c1b20233 (diff)
downloadaports-ebd1dca3a706af1043edbe1a8bc04dbc7de76cb9.tar.bz2
aports-ebd1dca3a706af1043edbe1a8bc04dbc7de76cb9.tar.xz
testing/py-configargparse: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/py-configargparse/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/py-configargparse/APKBUILD b/testing/py-configargparse/APKBUILD
new file mode 100644
index 0000000000..6df32487f4
--- /dev/null
+++ b/testing/py-configargparse/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=py-configargparse
+pkgver=0.9.3
+pkgrel=0
+pkgdesc="A drop-in replacement for argparse"
+url="https://github.com/zorro3/ConfigArgParse"
+arch="noarch"
+license="MIT"
+depends=""
+depends_dev=""
+makedepends="$depends_dev py-setuptools"
+install=""
+subpackages=""
+source="ConfigArgParse-$pkgver.tar.gz::https://github.com/bw2/ConfigArgParse/archive/$pkgver.tar.gz"
+
+_builddir="$srcdir"/ConfigArgParse-$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="86e4fdba056c04035657b9575b4f38d6 ConfigArgParse-0.9.3.tar.gz"
+sha256sums="689bf143b016105374852eb80dd582faf26dafd7291bcd05368948a30ab0eee8 ConfigArgParse-0.9.3.tar.gz"
+sha512sums="9d31fe27bd6bdf7438b464dc1e691a648a2ca45711774aaa9d7a93387d61a7649139e5c00b6045b53f66e2f97d029c9ed41abeeafd5c61f56222e32abd4bc4d7 ConfigArgParse-0.9.3.tar.gz"