Date: Monday, November 6, 2017 @ 20:03:26 Author: arojas Revision: 265606
Update to 3.0 Modified: electrum/trunk/PKGBUILD ----------+ PKGBUILD | 36 +++++++++++++----------------------- 1 file changed, 13 insertions(+), 23 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-11-06 19:40:15 UTC (rev 265605) +++ PKGBUILD 2017-11-06 20:03:26 UTC (rev 265606) @@ -1,47 +1,37 @@ # $Id$ -# Maintainer: Timothy Redaelli <[email protected]> +# Maintainer: +# Contributor: Timothy Redaelli <[email protected]> # Contributor: Andy Weidenbaum <[email protected]> -# ThomasV PGP key: gpg --recv-key 6694D8DE7BE8EE5631BED9502BD5824B7F9470E6 -# http://bitcoin-otc.com/viewgpg.php?nick=ThomasV pkgname=electrum -pkgver=2.9.3 +pkgver=3.0 pkgrel=1 pkgdesc="Lightweight Bitcoin wallet" arch=('any') -depends=('python2-pyaes' 'python2-ecdsa' 'python2-pbkdf2' 'python2-requests' 'python2-qrcode' - 'python2-protobuf' 'python2-dnspython' 'python2-jsonrpclib' 'python2-pysocks' - 'python2-pyqt4' 'python2-pycryptodomex') -makedepends=('gettext' 'python2-setuptools' 'desktop-file-utils') -optdepends=('python2-btchip: BTChip hardware wallet support' - 'python2-matplotlib: plot transaction history in graphical mode' +depends=('python-pyaes' 'python-ecdsa' 'python-pbkdf2' 'python-requests' 'python-qrcode' + 'python-protobuf' 'python-dnspython' 'python-jsonrpclib-pelix' 'python-pysocks' + 'python-pyqt5' 'python-pycryptodomex') +makedepends=('python-setuptools') +optdepends=('python-btchip: BTChip hardware wallet support' + 'python-matplotlib: plot transaction history in graphical mode' 'zbar: QR code reading support') url="https://electrum.org" license=(MIT) source=("https://download.electrum.org/${pkgver}/${pkgname^}-${pkgver}.tar.gz"{,.asc}) -md5sums=('17257d2ee01454283a3324392b85eef5' - 'SKIP') -sha256sums=('c2192d4df6490fdc6e6f9f85b05db0e3915683a016a43ed444ebbc51ccfa0e34' +sha256sums=('d1e9b81c10fd9c7ba214be4eaf84067a0b7d9b595945e938a8d67e86ddad8ca0' 'SKIP') validpgpkeys=('6694D8DE7BE8EE5631BED9502BD5824B7F9470E6') -prepare() { - cd ${pkgname^}-${pkgver} - - find . -type f -exec sed -i 's#/usr/bin/python$#/usr/bin/python2#g' {} + - find . -type f -exec sed -i 's#/usr/bin/env python$#/usr/bin/env python2#g' {} + -} - build() { cd ${pkgname^}-${pkgver} - pyrcc4 icons.qrc -o gui/qt/icons_rc.py - python2 setup.py build + pyrcc5 icons.qrc -o gui/qt/icons_rc.py + python setup.py build } package() { cd ${pkgname^}-${pkgver} - python2 setup.py install --root="${pkgdir}" --optimize=1 + python setup.py install --root="${pkgdir}" --optimize=1 install -D -m644 LICENCE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE }
