summaryrefslogtreecommitdiffstats
path: root/testing/py-ediarpc
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2012-12-14 18:24:18 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2012-12-14 18:24:18 -0600
commitde0bcc5ca8cefe755251cbd6ffb5c05d28c2d4a2 (patch)
tree7d91586ff9ba0975d1601bc033c87b31aff3b1e5 /testing/py-ediarpc
parent1c0e3d879d6d4626b23e676450d72cf1e0c5bec9 (diff)
downloadaports-de0bcc5ca8cefe755251cbd6ffb5c05d28c2d4a2.tar.bz2
aports-de0bcc5ca8cefe755251cbd6ffb5c05d28c2d4a2.tar.xz
testing/py-ediarpc: new aport
Diffstat (limited to 'testing/py-ediarpc')
-rw-r--r--testing/py-ediarpc/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/py-ediarpc/APKBUILD b/testing/py-ediarpc/APKBUILD
new file mode 100644
index 000000000..89c8b03fb
--- /dev/null
+++ b/testing/py-ediarpc/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=py-ediarpc
+pkgver=0.1
+pkgrel=0
+pkgdesc="Python RPC library"
+url="https://bitbucket.org/tortoiselabs/ediarpc"
+arch="noarch"
+license="ISC"
+depends="python"
+depends_dev=""
+makedepends="python-dev"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/e/ediarpc/ediarpc-$pkgver.tar.gz"
+
+_builddir="$srcdir"/ediarpc-$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="d01a2762f6c88815e0e1d514cefd31eb ediarpc-0.1.tar.gz"