ptrcnull d6e150e932
testing/*: rebuild against python 3.12
this is only a partial rebuild,
including stuff that i built on my personal machine
with python 3.12.2; might fail with 3.12.3
2024-04-15 17:00:47 +02: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=1
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
"