mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
31 lines
978 B
Text
31 lines
978 B
Text
# Contributor: Eloi Torrents <eloitor@duck.com>
|
|
# Maintainer: Eloi Torrents <eloitor@duck.com>
|
|
pkgname=py3-duniterpy
|
|
_pkgname=duniterpy
|
|
pkgver=1.1.1
|
|
pkgrel=1
|
|
pkgdesc="Python APIs library to implement Duniter clients software"
|
|
url="https://git.duniter.org/clients/python/duniterpy"
|
|
arch="noarch"
|
|
license="GPL-3.0-or-later"
|
|
depends="python3 py3-aiohttp py3-scrypt py3-libnacl py3-base58 py3-pyaes py3-pypeg2 py3-websocket-client attr"
|
|
makedepends="py3-build py3-wheel py3-installer poetry libsodium-dev"
|
|
checkdepends="py3-pytest"
|
|
source="https://git.duniter.org/clients/python/$_pkgname/-/archive/$pkgver/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/"$_pkgname-$pkgver
|
|
|
|
build() {
|
|
python -m build --wheel --no-isolation
|
|
}
|
|
|
|
check() {
|
|
pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer --destdir="$pkgdir" dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
4fd702f37d65c83ce907c90dde8fe2d55a47c9b19624f9f48a5bb988bf11c62cf56092a0fd61cae91225b42afb7784739ab2a9c14577e0fa275b97c21f312608 duniterpy-1.1.1.tar.gz
|
|
"
|