summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Beste2017-12-09 00:26:31 -0600
committerDan Beste2017-12-09 00:26:31 -0600
commit2625c5b307e8498719b1ed696360fa2fe0e62fc8 (patch)
treee39f7a034fb09531292fb8d293959206fbebb8c2
parentdd2d8cc8dff91aef9a67f8418dac016c612eba9c (diff)
downloadaur-2625c5b307e8498719b1ed696360fa2fe0e62fc8.tar.gz
v3.0.r2.gb81a3f34
-rw-r--r--.SRCINFO49
-rw-r--r--PKGBUILD69
2 files changed, 54 insertions, 64 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5d1b95b7973..9e879b08ae9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,46 +1,41 @@
pkgbase = electron-cash-git
pkgdesc = Lightweight Bitcoin Cash wallet
- pkgver = 2.9.4.r0.gf493cadb
- pkgrel = 2
+ pkgver = 3.0.r2.gb81a3f34
+ pkgrel = 1
url = http://www.electroncash.org/
install = electron-cash-git.install
arch = any
license = MIT
makedepends = git
makedepends = protobuf
- makedepends = python2-pycurl
- makedepends = python2-setuptools
- makedepends = python2-tox
+ makedepends = python-pycurl
+ makedepends = python-setuptools
+ makedepends = python-tox
depends = hicolor-icon-theme
- depends = python2
- depends = python2-dnspython
- depends = python2-ecdsa
- depends = python2-jsonrpclib-pelix
- depends = python2-pbkdf2
- depends = python2-protobuf
- depends = python2-pyaes
- depends = python2-pyqt4
- depends = python2-pyqt5
- depends = python2-pysocks
- depends = python2-qrcode
- depends = python2-requests
- depends = python2-six
- depends = qt4
+ depends = python
+ depends = python-dnspython
+ depends = python-ecdsa
+ depends = python-jsonrpclib-pelix
+ depends = python-pbkdf2
+ depends = python-protobuf
+ depends = python-pyaes
+ depends = python-pyqt5
+ depends = python-pysocks
+ depends = python-qrcode
+ depends = python-requests
+ depends = python-six
depends = qt5-base
optdepends = desktop-file-utils: update desktop icon
optdepends = gtk-update-icon-cache: update desktop icon
- optdepends = python2-amodem: air-gapped transaction signing over audio modem
- optdepends = python2-btchip: Ledger hardware wallet support
- optdepends = python2-pycryptodomex: use PyCryptodome AES implementation instead of pyaes
- optdepends = python2-keepkey: KeepKey hardware wallet support
- optdepends = python2-matplotlib: plot transaction history in graphical mode
- optdepends = python2-rpyc: send commands to Electrum Python console from an external script
- optdepends = python2-trezor: Trezor hardware wallet support
+ optdepends = python-btchip: Ledger hardware wallet support
+ optdepends = python-pycryptodomex: use PyCryptodome AES implementation instead of pyaes
+ optdepends = python-matplotlib: plot transaction history in graphical mode
+ optdepends = python-rpyc: send commands to Electrum Python console from an external script
optdepends = xdg-utils: update desktop icon
optdepends = zbar: QR code reading support
provides = electron-cash
conflicts = electron-cash
- source = electron-cash::git+https://github.com/fyookball/electrum.git
+ source = electron-cash-git::git+https://github.com/fyookball/electrum.git
source = electron-cash-git.install
sha256sums = SKIP
sha256sums = d682766321f9981ee38aee26dc050209882d8c1c6006e3e509649b47fa1bb073
diff --git a/PKGBUILD b/PKGBUILD
index 036ea5cce40..c14f7f57a43 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,9 +9,9 @@
#
pkgname='electron-cash-git'
-pkgdesc="Lightweight Bitcoin Cash wallet"
-pkgver=2.9.4.r0.gf493cadb
-pkgrel=2
+pkgdesc='Lightweight Bitcoin Cash wallet'
+pkgver=3.0.r2.gb81a3f34
+pkgrel=1
url='http://www.electroncash.org/'
install="${pkgname}.install"
arch=('any')
@@ -19,45 +19,40 @@ license=('MIT')
makedepends=(
'git'
'protobuf'
- 'python2-pycurl'
- 'python2-setuptools'
- 'python2-tox'
+ 'python-pycurl'
+ 'python-setuptools'
+ 'python-tox'
)
depends=(
'hicolor-icon-theme'
- 'python2'
- 'python2-dnspython'
- 'python2-ecdsa'
- 'python2-jsonrpclib-pelix'
- 'python2-pbkdf2'
- 'python2-protobuf'
- 'python2-pyaes'
- 'python2-pyqt4'
- 'python2-pyqt5'
- 'python2-pysocks'
- 'python2-qrcode'
- 'python2-requests'
- 'python2-six'
- 'qt4'
+ 'python'
+ 'python-dnspython'
+ 'python-ecdsa'
+ 'python-jsonrpclib-pelix'
+ 'python-pbkdf2'
+ 'python-protobuf'
+ 'python-pyaes'
+ 'python-pyqt5'
+ 'python-pysocks'
+ 'python-qrcode'
+ 'python-requests'
+ 'python-six'
'qt5-base'
)
optdepends=(
'desktop-file-utils: update desktop icon'
'gtk-update-icon-cache: update desktop icon'
- 'python2-amodem: air-gapped transaction signing over audio modem'
- 'python2-btchip: Ledger hardware wallet support'
- 'python2-pycryptodomex: use PyCryptodome AES implementation instead of pyaes'
- 'python2-keepkey: KeepKey hardware wallet support'
- 'python2-matplotlib: plot transaction history in graphical mode'
- 'python2-rpyc: send commands to Electrum Python console from an external script'
- 'python2-trezor: Trezor hardware wallet support'
+ 'python-btchip: Ledger hardware wallet support'
+ 'python-pycryptodomex: use PyCryptodome AES implementation instead of pyaes'
+ 'python-matplotlib: plot transaction history in graphical mode'
+ 'python-rpyc: send commands to Electrum Python console from an external script'
'xdg-utils: update desktop icon'
'zbar: QR code reading support'
)
provides=("${pkgname/-git/}")
conflicts=("${pkgname/-git/}")
source=(
- "${pkgname/-git}::git+https://github.com/fyookball/electrum.git"
+ "${pkgname}::git+https://github.com/fyookball/electrum.git"
"${pkgname}.install"
)
sha256sums=(
@@ -67,35 +62,35 @@ sha256sums=(
install="${pkgname}.install"
pkgver() {
- cd "${pkgname/-git/}"
+ cd "${pkgname}"
git describe --long --tags \
| sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
- cd "${pkgname/-git/}"
+ cd "${pkgname}"
# Compile the icons file for Qt:
- python2-pyrcc5 icons.qrc -o gui/qt/icons_rc.py
+ pyrcc5 icons.qrc -o gui/qt/icons_rc.py
# Compile the protobuf description file:
protoc --proto_path=lib/ --python_out=lib/ lib/paymentrequest.proto
# Create translations (optional):
- python2 contrib/make_locale
+ python contrib/make_locale
# Build
- python2 setup.py build
+ python setup.py build
}
check() {
- cd "${pkgname/-git/}"
+ cd "${pkgname}"
- tox2
+ tox -e py36
}
package() {
- cd "${pkgname/-git/}"
+ cd "${pkgname}"
- python2 setup.py install --root="${pkgdir}" --optimize=1
+ python setup.py install --root="${pkgdir}" --optimize=1
}
# vim: ts=2 sw=2 et: