diff options
-rw-r--r-- | .SRCINFO | 46 | ||||
-rw-r--r-- | PKGBUILD | 91 |
2 files changed, 98 insertions, 39 deletions
@@ -1,31 +1,53 @@ pkgbase = electrum-ltc-git pkgdesc = Litecoin thin client - pkgver = 3.3.5.1.git20190514.7db15b9 + pkgver = 3.3.8.1.git20190811.cd41861 pkgrel = 1 url = https://electrum-ltc.org/ arch = any license = MIT + checkdepends = python-tox + makedepends = gettext makedepends = git - makedepends = python-requests - depends = desktop-file-utils + makedepends = protobuf + makedepends = python-pycurl + makedepends = python-setuptools + depends = hicolor-icon-theme depends = libsecp256k1 - depends = python-aiohttp - depends = python-aiohttp-socks - depends = python-aiorpcx - depends = python-btchip - depends = python-certifi + depends = python depends = python-dnspython depends = python-ecdsa depends = python-jsonrpclib-pelix - depends = python-matplotlib depends = python-protobuf depends = python-pyaes - depends = python-pycryptodomex depends = python-pyqt5 + depends = python-pysocks + depends = python-qdarkstyle depends = python-qrcode - depends = python-scrypt + depends = python-requests + depends = python-six depends = python-websocket-client - depends = zbar + depends = python-aiohttp-socks + depends = python-certifi + depends = python-aiorpcx-git + depends = python-aiohttp + depends = python-scrypt + depends = qt5-base + optdepends = desktop-file-utils: update desktop icon + optdepends = gtk-update-icon-cache: update desktop icon + optdepends = python-amodem: air-gapped transaction signing over audio modem + optdepends = python-btchip: Ledger hardware wallet support + optdepends = python-ckcc-protocol: Coldcard wallet hardware support + optdepends = python-hidapi: Digital Bitbox hardware wallet support + optdepends = python-pycryptodomex: use PyCryptodome AES implementation instead of pyaes + optdepends = python-keepkey: KeepKey hardware wallet support + optdepends = python-matplotlib: plot transaction history in graphical mode + optdepends = python-rpyc: send commands to Electrum Python console from an external script + optdepends = python-safet: Archos Safe-T hardware wallet support + optdepends = python-trezor: Trezor hardware wallet support + optdepends = xdg-utils: update desktop icon + optdepends = zbar: QR code reading support + provides = electrum-ltc + conflicts = electrum-ltc source = git+https://github.com/pooler/electrum-ltc sha256sums = SKIP @@ -1,49 +1,86 @@ +# Maintainer: Luis Aranguren <pizzaman@hotmail.com> +# Contributor: lukpod <lukpod9@ya.ru> + pkgname=electrum-ltc-git -pkgver=3.3.5.1.git20190514.7db15b9 +pkgver=3.3.8.1.git20190811.cd41861 pkgrel=1 pkgdesc='Litecoin thin client' arch=(any) url=https://electrum-ltc.org/ license=(MIT) -depends=(desktop-file-utils - libsecp256k1 - python-aiohttp - python-aiohttp-socks - python-aiorpcx - python-btchip - python-certifi - python-dnspython - python-ecdsa - python-jsonrpclib-pelix - python-matplotlib - python-protobuf - python-pyaes - python-pycryptodomex - python-pyqt5 - python-qrcode - python-scrypt - python-websocket-client - zbar) -makedepends=(git python-requests) +depends=('hicolor-icon-theme' + 'libsecp256k1' + 'python' + 'python-dnspython' + 'python-ecdsa' + 'python-jsonrpclib-pelix' + 'python-protobuf' + 'python-pyaes' + 'python-pyqt5' + 'python-pysocks' + 'python-qdarkstyle' + 'python-qrcode' + 'python-requests' + 'python-six' + 'python-websocket-client' + 'python-aiohttp-socks' + 'python-certifi' + 'python-aiorpcx-git' + 'python-aiohttp' + 'python-scrypt' + 'qt5-base') +checkdepends=('python-tox') +makedepends=('gettext' + 'git' + 'protobuf' + 'python-pycurl' + 'python-setuptools') +optdepends=('desktop-file-utils: update desktop icon' + 'gtk-update-icon-cache: update desktop icon' + 'python-amodem: air-gapped transaction signing over audio modem' + 'python-btchip: Ledger hardware wallet support' + 'python-ckcc-protocol: Coldcard wallet hardware support' + 'python-hidapi: Digital Bitbox hardware wallet support' + 'python-pycryptodomex: use PyCryptodome AES implementation instead of pyaes' + 'python-keepkey: KeepKey hardware wallet support' + 'python-matplotlib: plot transaction history in graphical mode' + 'python-rpyc: send commands to Electrum Python console from an external script' + 'python-safet: Archos Safe-T hardware wallet support' + 'python-trezor: Trezor hardware wallet support' + 'xdg-utils: update desktop icon' + 'zbar: QR code reading support') source=(git+https://github.com/pooler/electrum-ltc) sha256sums=(SKIP) +provides=('electrum-ltc') +conflicts=('electrum-ltc') pkgver() { - cd electrum-ltc + cd ${pkgname%-git} printf %s.git%s "$(grep -om1 '[0-9.]*' electrum_ltc/version.py)" \ "$(git log -1 --format=%ad.%h --date=format:%Y%m%d --abbrev=7)" } build() { - cd electrum-ltc + cd ${pkgname%-git} protoc --proto_path=electrum_ltc --python_out=electrum_ltc electrum_ltc/paymentrequest.proto - contrib/make_locale + contrib/pull_locale ./setup.py build } +check() { + cd ${pkgname%-git} + + #_pyver="$(pacman -Q python | awk '{print $2}' | awk -F. '{print $1 $2}')" + _pyver="$(python -c \ + 'import platform; print("%s%s" % platform.python_version_tuple()[0:2])')" + + echo 'Testing...' + tox -e "py$_pyver" +} + package() { - cd electrum-ltc - ./setup.py install -O1 --root="$pkgdir" --skip-build - install -Dm644 AUTHORS README.rst RELEASE-NOTES -t "$pkgdir"/usr/share/doc/electrum-ltc + cd ${pkgname%-git} + ./setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 AUTHORS README.rst RELEASE-NOTES -t "$pkgdir"/usr/share/doc/$pkgname install -Dm644 LICENCE -t "$pkgdir"/usr/share/licenses/$pkgname } |