pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/finance/electrum



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat May 15 09:50:08 UTC 2021

Modified Files:
        pkgsrc/finance/electrum: Makefile PLIST distinfo
Added Files:
        pkgsrc/finance/electrum/patches: patch-setup.py

Log Message:
electrum: install desktop files on all operating systems

not just FreeBSD and Linux


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/finance/electrum/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/finance/electrum/PLIST \
    pkgsrc/finance/electrum/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/finance/electrum/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/finance/electrum/Makefile
diff -u pkgsrc/finance/electrum/Makefile:1.4 pkgsrc/finance/electrum/Makefile:1.5
--- pkgsrc/finance/electrum/Makefile:1.4        Sat Jan 30 23:44:41 2021
+++ pkgsrc/finance/electrum/Makefile    Sat May 15 09:50:08 2021
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2021/01/30 23:44:41 js Exp $
+# $NetBSD: Makefile,v 1.5 2021/05/15 09:50:08 nia Exp $
 
 VERSION=       4.0.9
 DISTNAME=      Electrum-${VERSION}
 PKGNAME=       electrum-${VERSION}
+PKGREVISION=   1
 CATEGORIES=    finance
 MASTER_SITES=  https://download.electrum.org/${VERSION}/
 
@@ -33,5 +34,6 @@ REPLACE_PYTHON+=      lib/*.py
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../x11/py-qt5/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/finance/electrum/PLIST
diff -u pkgsrc/finance/electrum/PLIST:1.3 pkgsrc/finance/electrum/PLIST:1.4
--- pkgsrc/finance/electrum/PLIST:1.3   Sat Jan 30 23:44:41 2021
+++ pkgsrc/finance/electrum/PLIST       Sat May 15 09:50:08 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2021/01/30 23:44:41 js Exp $
+@comment $NetBSD: PLIST,v 1.4 2021/05/15 09:50:08 nia Exp $
 bin/electrum
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -640,3 +640,5 @@ ${PYSITELIB}/electrum/wordlist/spanish.t
 ${PYSITELIB}/electrum/x509.py
 ${PYSITELIB}/electrum/x509.pyc
 ${PYSITELIB}/electrum/x509.pyo
+share/applications/electrum.desktop
+share/pixmaps/electrum.png
Index: pkgsrc/finance/electrum/distinfo
diff -u pkgsrc/finance/electrum/distinfo:1.3 pkgsrc/finance/electrum/distinfo:1.4
--- pkgsrc/finance/electrum/distinfo:1.3        Sat Jan 30 23:44:41 2021
+++ pkgsrc/finance/electrum/distinfo    Sat May 15 09:50:08 2021
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2021/01/30 23:44:41 js Exp $
+$NetBSD: distinfo,v 1.4 2021/05/15 09:50:08 nia Exp $
 
 SHA1 (Electrum-4.0.9.tar.gz) = a85ec246e869c430ce933d553c0fc90ccb8c052f
 RMD160 (Electrum-4.0.9.tar.gz) = 5157504e02eaf8ea91e35d30c9d7c10b2d57c588
 SHA512 (Electrum-4.0.9.tar.gz) = ce63131cc58fd9e4fdfec40860d022687b0abaf67cdf40cf6ad7b6ef8be5437c5fcb70e826a4917d05f2644d943eea60c3858fa02342ab46038f6c29a121927a
 Size (Electrum-4.0.9.tar.gz) = 10457149 bytes
 SHA1 (patch-electrum-ecc_fast.py) = fa8b7d784f51890f356429ac9ba48f1bb0a3b7fc
+SHA1 (patch-setup.py) = 7f6472a2278073c15cdfe4c25f911871165b085f

Added files:

Index: pkgsrc/finance/electrum/patches/patch-setup.py
diff -u /dev/null pkgsrc/finance/electrum/patches/patch-setup.py:1.1
--- /dev/null   Sat May 15 09:50:08 2021
+++ pkgsrc/finance/electrum/patches/patch-setup.py      Sat May 15 09:50:08 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2021/05/15 09:50:08 nia Exp $
+
+Install desktop files on all operating systems.
+
+--- setup.py.orig      2000-11-11 11:11:11.000000000 +0000
++++ setup.py
+@@ -32,7 +32,7 @@ version_spec.loader.exec_module(version_
+ 
+ data_files = []
+ 
+-if platform.system() in ['Linux', 'FreeBSD', 'DragonFly']:
++if True:
+     parser = argparse.ArgumentParser()
+     parser.add_argument('--root=', dest='root_path', metavar='dir', default='/')
+     opts, _ = parser.parse_known_args(sys.argv[1:])



Home | Main Index | Thread Index | Old Index