blob: d8e1bc32926f5756b40b0fbd56360aa52e324a23 (
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
|
# Maintainer: David Parrish <daveparrish@tutanota.com>
# shellcheck disable=SC2034,SC2164
pkgname=python-jmbitcoin-git
pkgver=0.7.0.r3.gc90432e
pkgrel=1
pkgdesc="JoinMarket library for bitcoin protocol"
url="https://github.com/JoinMarket-Org/joinmarket-clientserver/tree/master/jmbitcoin"
# See dependencies listed here: https://github.com/JoinMarket-Org/joinmarket-clientserver/blob/master/jmbitcoin/setup.py
depends=( 'python-coincurve' 'python-bitcointx' 'python-pyaes' 'python-urldecode' )
makedepends=('git' 'python-setuptools')
checkdepends=('python-jmbase-git' 'python-colorama' 'python-secp256k1' 'python-chromalog' )
arch=('any')
license=('GPL3')
source=("${pkgname}::git+https://github.com/JoinMarket-Org/joinmarket-clientserver.git")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
check() {
cd "${srcdir:?}/$pkgname/jmbitcoin"
python setup.py test
}
build() {
cd "${srcdir:?}/$pkgname/jmbitcoin"
python setup.py build
}
package() {
cd "${srcdir:?}/$pkgname/jmbitcoin"
python setup.py install --root="${pkgdir:?}" --optimize=1
}
|