blob: 985bd152ac9c950b52075f3588b37eadb2575da1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Zosoled
pkgname='python-bip_utils'
_name=${pkgname#python-}
pkgver=2.10.0
pkgrel=2
pkgdesc='Generation of mnemonics, seeds, private/public keys and addresses for different types of cryptocurrencies'
arch=('any')
url='https://github.com/ebellocchia/bip_utils'
license=('MIT')
depends=(
'python>=3.7'
'python-cbor2'
'python-coincurve'
'python-crcmod'
'python-ecdsa'
'python-ed25519-blake2b'
'python-pycryptodome'
'python-pynacl'
'python-py-sr25519-bindings'
)
makedepends=(
'python-build'
'python-installer'
'python-setuptools>=77'
'python-setuptools-scm>=6.2'
'python-wheel'
)
source=(
"${url}/archive/refs/tags/v${pkgver}.tar.gz"
)
sha256sums=(
'SKIP'
)
build() {
cd ${_name}-${pkgver}
export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
python -m build --wheel --no-isolation
}
package() {
cd ${_name}-${pkgver}
python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|