blob: 2733f52ae82644ff52051ba059be0ccf4201bf05 (
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
|
# Maintainer: yate <mwyeatts at gmail dot com>
# Maintainer: Xaiuweb <xaiuweb@protonmail.ch>
# Contributor: Andy Weidenbaum <archbaum@gmail.com>
pkgname=python-trezor
pkgver=0.11.6
pkgrel=1
pkgdesc='Python 3 library for communicating with the TREZOR Bitcoin hardware wallet'
arch=('any')
depends=('protobuf'
'python'
'python-ecdsa'
'python-hidapi'
'python-mnemonic'
'python-click'
'python-pyblake2'
'python-protobuf'
'python-requests'
'python-construct'
'python-libusb1'
'python-typing_extensions')
makedepends=('python-setuptools')
url='https://github.com/trezor/trezor-firmware/tree/master/python'
license=('LGPL3')
options=(!emptydirs)
source=('https://files.pythonhosted.org/packages/84/95/61ae38cd07211ba4a7f7610a64f4255d2804da311e66638bdb9c0aebc9df/trezor-0.11.6.tar.gz')
sha256sums=('101e0400f5b148b28056a0a5a21f4b4d4f6cd88dd780601397af81280292e3c4')
provides=('python-trezor' 'trezorctl')
conflicts=('trezorctl')
build() {
cd "$srcdir/${pkgname#python-}-$pkgver"
msg2 'Building...'
python setup.py build
}
package() {
cd "$srcdir/${pkgname#python-}-$pkgver"
msg2 'Installing...'
python setup.py install --root="$pkgdir" --optimize=1
}
|