summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e8080bffd2a7540899e87fd8510ac9a65895d75d (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
47
48
49
50
51
52
53
#Maintainer: Lothar_m <lothar_m at riseup dot net>

_pkgname=kraken-wsclient-py
__pkgname=python-$_pkgname
pkgname=python-$_pkgname-git
pkgver=2
pkgrel=1
pkgdesc="Sample Kraken WebSockets client in Python. This client was created for demonstration purposes only."
arch=("any")
url="https://github.com/krakenfx/kraken-wsclient-py"
license=("MIT")
provides=($__pkgname)
conflicts=($__pkgname)
depends=("python"
         "python-asn1crypto"
		 "python-attrs"
		 "python-autobahn"
		 "python-automat"
		 "python-cffi"
		 "python-constantly"
		 "python-cryptography"
		 "python-hyperlink"
		 "python-idna"
		 "python-incremental"
		 "python-pyasn1"
		 "python-pyasn1-modules"
		 "python-pycparser"
		 "python-pyhamcrest"
		 "python-pyopenssl"
		 "python-service-identity"
		 "python-six"
		 "python-twisted"
		 "python-txaio"
		 "python-zope-schema")
makedepends=("python-setuptools")
source=("git+https://github.com/krakenfx/kraken-wsclient-py.git")
sha256sums=('SKIP')

build() {
    cd "$srcdir/$_pkgname"
    python setup.py build
}

package() {
    cd "$srcdir/$_pkgname"
    python setup.py install --root="$pkgdir/" --optimize=1
}

check() {
    cd "$srcdir/$_pkgname"
    python setup.py test
}