diff options
author | Andy Weidenbaum | 2018-06-09 17:42:08 -0400 |
---|---|---|
committer | Andy Weidenbaum | 2018-06-09 17:42:08 -0400 |
commit | 4dc21b0e88acc8a86bfbddd621782533d0bf692e (patch) | |
tree | e301af144d0ada4e4953464fe535a25f287570e5 | |
parent | a63a46f0b444fe4b8424f084f43852cae6676abb (diff) | |
download | aur-4dc21b0e88acc8a86bfbddd621782533d0bf692e.tar.gz |
update pkgver to 20180608
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 21 insertions, 4 deletions
@@ -1,19 +1,19 @@ -# Generated by mksrcinfo v8 -# Thu Jan 25 21:13:11 UTC 2018 pkgbase = electrum-git pkgdesc = Lightweight Bitcoin wallet - pkgver = 20180125 + pkgver = 20180608 pkgrel = 1 url = https://github.com/spesmilo/electrum install = electrum.install arch = any license = MIT + checkdepends = python-tox makedepends = gettext makedepends = git makedepends = protobuf makedepends = python-pycurl makedepends = python-setuptools depends = hicolor-icon-theme + depends = libsecp256k1 depends = python depends = python-dnspython depends = python-ecdsa @@ -31,6 +31,7 @@ pkgbase = electrum-git 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-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 @@ -1,6 +1,8 @@ # Maintainer: Andy Weidenbaum <archbaum@gmail.com> # Contributor: RunningDroid <runningdroid AT zoho.com> # Contributor: Sebastian Lindqvist <dunpin@gmail.com> +# Contributor: Dan Beste <dan.ray.beste@gmail.com> +# Contributor: Marcel O'Neil <marcel@marceloneil.com> # # ThomasV PGP key: gpg --recv-key 6694D8DE7BE8EE5631BED9502BD5824B7F9470E6 @@ -8,11 +10,12 @@ # pkgname=electrum-git -pkgver=20180125 +pkgver=20180608 pkgrel=1 pkgdesc="Lightweight Bitcoin wallet" arch=('any') depends=('hicolor-icon-theme' + 'libsecp256k1' 'python' 'python-dnspython' 'python-ecdsa' @@ -26,6 +29,7 @@ depends=('hicolor-icon-theme' 'python-requests' 'python-six' 'qt5-base') +checkdepends=('python-tox') makedepends=('gettext' 'git' 'protobuf' @@ -35,6 +39,7 @@ 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-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' @@ -50,6 +55,10 @@ provides=('electrum') conflicts=('electrum') install=electrum.install +#_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])')" + pkgver() { cd ${pkgname%-git} git log -1 --format="%cd" --date=short --no-show-signature | sed "s|-||g" @@ -71,6 +80,13 @@ build() { python setup.py build } +check() { + cd ${pkgname%-git} + + msg2 'Testing...' + tox -e "py$_pyver" +} + package() { cd ${pkgname%-git} |