diff options
author | William Pitcock <nenolod@dereferenced.org> | 2014-01-24 22:02:27 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2014-01-24 22:03:06 +0000 |
commit | 87dbd11393ca6f898bc7e1bff0ceb7496c5e1c29 (patch) | |
tree | 690e89624ced7973fa16b1c43a436480835437b5 /main/py-ediarpc | |
parent | f88de068de78ae08e2f9791061a9d13510abd147 (diff) | |
download | aports-87dbd11393ca6f898bc7e1bff0ceb7496c5e1c29.tar.bz2 aports-87dbd11393ca6f898bc7e1bff0ceb7496c5e1c29.tar.xz |
main/py-ediarpc: moved from testing
Diffstat (limited to 'main/py-ediarpc')
-rw-r--r-- | main/py-ediarpc/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/main/py-ediarpc/APKBUILD b/main/py-ediarpc/APKBUILD new file mode 100644 index 0000000000..01b6a3d0ac --- /dev/null +++ b/main/py-ediarpc/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=py-ediarpc +pkgver=0.3 +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="ea8f942b359262f9429cea1c0d444fb5 ediarpc-0.3.tar.gz" |