diff options
Diffstat (limited to 'testing/py-ediarpc')
-rw-r--r-- | testing/py-ediarpc/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/py-ediarpc/APKBUILD b/testing/py-ediarpc/APKBUILD new file mode 100644 index 0000000000..89c8b03fb8 --- /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" |