New Paste

 

Recent Pastes

Administrate




Pastebin on p.luis.im

PasteID: 6jq
Pasted by Anonymous, 2018-05-14 04:29:59 GMT
Expires Never
Paste size 1.11 Kb
Tools Raw   Download
 
  1. # Maintainer: Xaiuweb <xaiuweb@protonmail.ch>  
  2. # Contributor: Andy Weidenbaum <archbaum@gmail.com>  
  3.   
  4. pkgname=python-trezor  
  5. pkgver=0.9.1  
  6. pkgrel=1  
  7. pkgdesc="Python 3 library for communicating with the TREZOR Bitcoin hardware wallet"  
  8. arch=('any')  
  9. depends=('protobuf'  
  10.          'python'  
  11.          'python-ecdsa'  
  12.          'python-hidapi'  
  13.          'python-mnemonic'  
  14.          'python-protobuf'  
  15.          'python-requests')  
  16. makedepends=('python-setuptools')  
  17. url="https://github.com/trezor/python-trezor"  
  18. license=('LGPL3')  
  19. options=(!emptydirs)  
  20. source=(https://files.pythonhosted.org/packages/26/46/b78ba738beea1d451a9f88b55edde8d1fac1049b69157aeaf12390ec00b6/trezor-0.9.1.tar.gz)  
  21. sha256sums=('a481191011bade98f1e9f1201e7c72a83945050657bbc90dc4ac32dc8b8b46a4')  
  22. provides=('python-trezor' 'trezorctl')  
  23. conflicts=('trezorctl')  
  24.   
  25. build() {  
  26.   cd "$srcdir/${pkgname#python-}-$pkgver"  
  27.   
  28.   msg2 'Building...'  
  29.   python setup.py build  
  30. }  
  31.   
  32. package() {  
  33.   cd "$srcdir/${pkgname#python-}-$pkgver"  
  34.   
  35.   msg2 'Installing...'  
  36.   python setup.py install --root="$pkgdir" --optimize=1  
  37. }  
  38.   
  39.   
  40.   
  41.   
  42.   
  43.   
  44.   
  45.  
 
 
 
 
Written by Xan Manning, 2010.