summaryrefslogtreecommitdiffstats
path: root/testing/py-appliancekit-ng/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2013-01-06 01:13:04 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2013-01-06 01:13:19 -0600
commit71e0da93b7dd580601622a325050d1dcb4eb9b65 (patch)
tree38c17de1d058a25c1d19b00c32ad70bc43c10312 /testing/py-appliancekit-ng/APKBUILD
parentefce7c5dbdda28347b5a1e7140cd01402d318ecd (diff)
downloadaports-71e0da93b7dd580601622a325050d1dcb4eb9b65.tar.bz2
aports-71e0da93b7dd580601622a325050d1dcb4eb9b65.tar.xz
testing/py-appliancekit-ng: new aport
Diffstat (limited to 'testing/py-appliancekit-ng/APKBUILD')
-rw-r--r--testing/py-appliancekit-ng/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/py-appliancekit-ng/APKBUILD b/testing/py-appliancekit-ng/APKBUILD
new file mode 100644
index 000000000..2f78b5a14
--- /dev/null
+++ b/testing/py-appliancekit-ng/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=py-appliancekit-ng
+pkgver=0.1
+pkgrel=0
+pkgdesc="abstract appliance image builder"
+url="http://bitbucket.org/tortoiselabs/appliancekit-ng"
+arch="noarch"
+license="ISC"
+depends="python py-jinja2"
+depends_dev=""
+makedepends="python-dev"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/A/ApplianceKit-NG/ApplianceKit-NG-$pkgver.tar.gz"
+
+_builddir="$srcdir"/ApplianceKit-NG-$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="7ec0bcb20c06baf3b98db39072eb6f15 ApplianceKit-NG-0.1.tar.gz"