blob: 989a730bff06e719c360226d75109c404216e172 (
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
|
# Maintainer: David Parrish <daveparrish@tutanota.com>
# shellcheck disable=SC2034,SC2164
pkgname=python-jmdaemon-git
pkgver=0.7.0.r3.gc90432e
pkgrel=1
pkgdesc="JoinMarket library for deamon protocol"
url="https://github.com/JoinMarket-Org/joinmarket-clientserver/tree/master/jmdeamon"
# See dependencies here: https://github.com/JoinMarket-Org/joinmarket-clientserver/blob/master/jmdaemon/setup.py
depends=( 'libsodium' 'python-txtorcon' 'python-pyopenssl' 'python-libnacl' 'python-jmbase-git' )
makedepends=('git' 'python-setuptools')
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/jmdaemon"
python setup.py test
}
build() {
cd "${srcdir:?}/$pkgname/jmdaemon"
python setup.py build
}
package() {
cd "${srcdir:?}/$pkgname/jmdaemon"
python setup.py install --root="${pkgdir:?}" --optimize=1
}
|