mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/py-rencode: new aport. Fixes #5481
This commit is contained in:
parent
6e5499bca1
commit
d88f2acca9
32
testing/py-rencode/APKBUILD
Normal file
32
testing/py-rencode/APKBUILD
Normal file
@ -0,0 +1,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"
|
||||
Loading…
x
Reference in New Issue
Block a user