mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-18 07:28:15 +02:00
48 lines
1.4 KiB
Text
48 lines
1.4 KiB
Text
# Contributor: Eloi Torrents <eloitor@duck.com>
|
|
# Maintainer: Eloi Torrents <eloitor@duck.com>
|
|
pkgname=py3-duniterpy
|
|
_pkgname=duniterpy
|
|
pkgver=1.1.1
|
|
pkgrel=3
|
|
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="
|
|
attr
|
|
python3
|
|
py3-aiohttp
|
|
py3-attrs
|
|
py3-base58
|
|
py3-jsonschema
|
|
py3-libnacl
|
|
py3-pyaes
|
|
py3-pypeg2
|
|
py3-scrypt
|
|
py3-websocket-client
|
|
"
|
|
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
|
|
Remove_empty_homepage_field_from_pyproject.patch
|
|
Support_py3-libnacl_1.9.0.patch
|
|
"
|
|
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
|
|
b85743c269fff452d71016059c287a4b12f6442d29c06481ac5c9604b20a88887d5d7806058fc99c6471bc57dc866102ee8d5319e7aa89bd24fe2ada873cc0f2 Remove_empty_homepage_field_from_pyproject.patch
|
|
b0b71d291898be989e6a74ea0ec75942fdea5e089c022b42f7a6751de2911699998cc84fc48bca80ce5829caae9dc137266e43f19be573e239fa3ce7d7dc8066 Support_py3-libnacl_1.9.0.patch
|
|
"
|