mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
community/py3-electrum-aionostr: new aport
New dependency for community/electrum.
This commit is contained in:
parent
77eedf5ccb
commit
fe741fbbaf
46
community/py3-electrum-aionostr/APKBUILD
Normal file
46
community/py3-electrum-aionostr/APKBUILD
Normal file
@ -0,0 +1,46 @@
|
||||
maintainer="Hugo Osvaldo Barrera <hugo@whynothugo.nl>"
|
||||
pkgname=py3-electrum-aionostr
|
||||
_pkgname=electrum-aionostr
|
||||
pkgver=0.1.0
|
||||
pkgrel=0
|
||||
pkgdesc="asyncio nostr client"
|
||||
url="https://github.com/spesmilo/electrum-aionostr"
|
||||
arch="noarch"
|
||||
license="BSD-3-Clause"
|
||||
depends="
|
||||
py3-aiohttp-socks
|
||||
py3-aiorpcx
|
||||
py3-click
|
||||
py3-cryptography
|
||||
py3-electrum-ecc
|
||||
"
|
||||
makedepends="
|
||||
py3-gpep517
|
||||
py3-setuptools
|
||||
py3-wheel
|
||||
"
|
||||
checkdepends="py3-pytest-xdist"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="electrum-aionostr-$pkgver.tar.gz::https://github.com/spesmilo/electrum-aionostr/archive/refs/tags/$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgname-$pkgver"
|
||||
|
||||
build() {
|
||||
gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
check() {
|
||||
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
||||
.testenv/bin/python3 -m installer .dist/*.whl
|
||||
# tests/test_aionostr.py: fails depending on version of py3-click.
|
||||
.testenv/bin/python3 -m pytest -n auto \
|
||||
--ignore tests/test_aionostr.py \
|
||||
tests
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" .dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
f3fa45539391698fa262e9f449abfe98cf55baa79baa3341520a27e1582a5a5f8b3785bb0eb6afb8546b9a057eafbdd83aae77ac772c7aea520bb93a0575f597 electrum-aionostr-0.1.0.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user