blob: 9d5a65a88c16f697620e766aba3ef06eeae0f541 (
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-jmbase-git
pkgver=0.7.0.r3.gc90432e
pkgrel=1
pkgdesc="Base JoinMarket library including commands defining client-server (daemon) messaging protocol"
url="https://github.com/JoinMarket-Org/joinmarket-clientserver/tree/master/jmbase"
# See dependencies listed here: https://github.com/JoinMarket-Org/joinmarket-clientserver/blob/master/jmbase/setup.py
depends=( 'python-twisted' 'python-service-identity' 'python-chromalog' )
makedepends=('git' 'python-setuptools')
checkdepends=('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/jmbase"
python setup.py test
}
build() {
cd "${srcdir:?}/$pkgname/jmbase"
python setup.py build
}
package() {
cd "${srcdir:?}/$pkgname/jmbase"
python setup.py install --root="${pkgdir:?}" --optimize=1
}
|