2023-10-09 10:44:23 +00:00

31 lines
807 B
Plaintext

# Contributor: Eloi Torrents <eloitor@duck.com>
# Maintainer: Eloi Torrents <eloitor@duck.com>
pkgname=py3-base58
pkgver=2.1.1
pkgrel=0
pkgdesc="Bitcoin-compatible Base58 and Base58Check implementation"
url="https://github.com/keis/base58"
arch="all"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pyhamcrest py3-pytest-benchmark"
source="$pkgname-$pkgver.tar.gz::https://github.com/keis/base58/archive/v$pkgver.tar.gz"
builddir="$srcdir/${pkgname/py3-/}-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
e39131ffbcc4f2d64d576fc6a6e7052b4f0ac0e9895819cc3086fec686c276bdfc031e8a3756197a18da576cf165b6d8c8d5e72bed9820e7e4dd4053aa9b8068 py3-base58-2.1.1.tar.gz
"