diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-21 22:59:42 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-21 22:59:42 +0200 |
commit | 973e86ae7f2d75c34f67d10a16db714e775b4dc8 (patch) | |
tree | ac07672f66d9905ffda60ce3c67da1586eb29307 /community/py-rencode | |
parent | 0ea348258ece793cdfc28f8d57dceed8c29aef91 (diff) | |
download | aports-973e86ae7f2d75c34f67d10a16db714e775b4dc8.tar.bz2 aports-973e86ae7f2d75c34f67d10a16db714e775b4dc8.tar.xz |
testing/py-rencode: move to community
Diffstat (limited to 'community/py-rencode')
-rw-r--r-- | community/py-rencode/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/py-rencode/APKBUILD b/community/py-rencode/APKBUILD new file mode 100644 index 0000000000..5a06a92e17 --- /dev/null +++ b/community/py-rencode/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=py-rencode +_pkgname=rencode +pkgver=1.0.5 +pkgrel=0 +pkgdesc="The rencode module is similar to bencode from the BitTorrent project." +url="https://pypi.python.org/pypi/rencode" +arch="all" +license="GPL3" +depends="python cython" +depends_dev="" +makedepends="$depends_dev py-setuptools cython-dev python-dev" +install="" +subpackages="" +source="$pkgname-$pkgver.tar.gz::https://github.com/aresch/rencode/archive/v$pkgver.tar.gz" + +builddir="$srcdir"/$_pkgname-$pkgver + +build() { + cd "$builddir" + python setup.py build || return 1 +} + +package() { + cd "$builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="3bdbec5c50d845e5367ba53c5b85d1a4 py-rencode-1.0.5.tar.gz" +sha256sums="cbdb8d2473aa5a7246e1a8077055be697fccec88477b78248c5fe93d79e2cd26 py-rencode-1.0.5.tar.gz" +sha512sums="809d7070b746fe77419e7b4d2eed274e1e0b3b4f15bcddb466806478a90f89965b0b456443b390cce6d1ca9df409367f336dd659f4481cd442e3cc459bd63c18 py-rencode-1.0.5.tar.gz" |