summaryrefslogtreecommitdiff
path: root/network/Electrum
diff options
context:
space:
mode:
Diffstat (limited to 'network/Electrum')
-rw-r--r--network/Electrum/Electrum.SlackBuild15
-rw-r--r--network/Electrum/Electrum.info8
-rw-r--r--network/Electrum/README4
3 files changed, 15 insertions, 12 deletions
diff --git a/network/Electrum/Electrum.SlackBuild b/network/Electrum/Electrum.SlackBuild
index 8893974e93..7abb56c76d 100644
--- a/network/Electrum/Electrum.SlackBuild
+++ b/network/Electrum/Electrum.SlackBuild
@@ -23,9 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=Electrum
-SRCNAM=electrum
-VERSION=${VERSION:-2.9.4}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.0.5}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -60,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -70,8 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-pyrcc4 icons.qrc -o gui/qt/icons_rc.py
-python setup.py install --root=$PKG
+pyrcc5 icons.qrc -o gui/qt/icons_rc.py
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/network/Electrum/Electrum.info b/network/Electrum/Electrum.info
index fbf0280855..cec4faaaea 100644
--- a/network/Electrum/Electrum.info
+++ b/network/Electrum/Electrum.info
@@ -1,10 +1,10 @@
PRGNAM="Electrum"
-VERSION="2.9.4"
+VERSION="3.0.5"
HOMEPAGE="https://electrum.org/"
-DOWNLOAD="https://github.com/spesmilo/electrum/archive/2.9.4/electrum-2.9.4.tar.gz"
-MD5SUM="2f4805e655d18c3275ee0a5cd4b79b97"
+DOWNLOAD="https://download.electrum.org/3.0.5/Electrum-3.0.5.tar.gz"
+MD5SUM="c64741b42523c9aeacfd86bff4a0297b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="SlowAES ecdsa python-qrcode pyasn1-modules python-tlslite python-pbkdf2 protobuf python-jsonrpclib dnspython python-requests pyaes PySocks"
+REQUIRES="python3-PyQt5 SlowAES ecdsa python-qrcode pyasn1-modules python-tlslite python-pbkdf2 protobuf3 python-jsonrpclib dnspython python-requests pyaes PySocks python3-dateutil"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/network/Electrum/README b/network/Electrum/README
index 4f876f67f3..18a07bc14b 100644
--- a/network/Electrum/README
+++ b/network/Electrum/README
@@ -2,3 +2,7 @@ Electrum is an easy to use Bitcoin client.
There is no waiting time when you start the client, because it does
not download the Bitcoin blockchain.
+
+NOTE:
+Make sure python3 is installed before building any dependencies
+as we need Python3 bindings.