aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-rencode/APKBUILD
blob: a643458e839db79f8dd56dfdfe25bcd625d73417 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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 python2-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"