aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-rencode/APKBUILD
blob: 506cf88cf4f543e49921d5086e30dadab460c90a (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.4
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="741ee1b994344358517987f1681baf12  py-rencode-1.0.4.tar.gz"
sha256sums="610eee3d926d56c1e5ff1be9df007e96e07d67a991c88b3f62b3ed109e0091c7  py-rencode-1.0.4.tar.gz"
sha512sums="a9ef3d90a9d3660f752a496504744104d3c59a59a8671586bb61091e11abf2d7493b77629a17f1298a05f5b812728f45862c0c4190ff223f5512b1ef78b4588c  py-rencode-1.0.4.tar.gz"