mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 20:25:28 +03:00
27 lines
948 B
Text
27 lines
948 B
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-rencode
|
|
_pkgname=rencode
|
|
pkgver=1.0.6
|
|
pkgrel=3
|
|
pkgdesc="The rencode module is similar to bencode from the BitTorrent project."
|
|
options="!check" # No testsuite
|
|
url="https://pypi.python.org/pypi/rencode"
|
|
arch="all"
|
|
license="GPL-3.0-or-later"
|
|
makedepends="py3-setuptools python3-dev cython"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/aresch/rencode/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
replaces="py-rencode" # Backwards compatibility
|
|
provides="py-rencode=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py --quiet install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="f04de4d3a83aed916bdc4b7a8ca772655e9324d0531ee882cb7d2a1e92b397bdcec8497bf02939e0a806886ecc62ed2e7319dfee054dad1b69052157f0959e8f py3-rencode-1.0.6.tar.gz"
|