pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/finance/electrum electrum: install desktop files on al...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/24203da0251f
branches:  trunk
changeset: 452754:24203da0251f
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat May 15 09:50:08 2021 +0000

description:
electrum: install desktop files on all operating systems

not just FreeBSD and Linux

diffstat:

 finance/electrum/Makefile               |   4 +++-
 finance/electrum/PLIST                  |   4 +++-
 finance/electrum/distinfo               |   3 ++-
 finance/electrum/patches/patch-setup.py |  15 +++++++++++++++
 4 files changed, 23 insertions(+), 3 deletions(-)

diffs (68 lines):

diff -r c48e2bb1a2f9 -r 24203da0251f finance/electrum/Makefile
--- a/finance/electrum/Makefile Sat May 15 08:22:06 2021 +0000
+++ b/finance/electrum/Makefile Sat May 15 09:50:08 2021 +0000
@@ -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 @@
 
 .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"
diff -r c48e2bb1a2f9 -r 24203da0251f finance/electrum/PLIST
--- a/finance/electrum/PLIST    Sat May 15 08:22:06 2021 +0000
+++ b/finance/electrum/PLIST    Sat May 15 09:50:08 2021 +0000
@@ -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/x509.py
 ${PYSITELIB}/electrum/x509.pyc
 ${PYSITELIB}/electrum/x509.pyo
+share/applications/electrum.desktop
+share/pixmaps/electrum.png
diff -r c48e2bb1a2f9 -r 24203da0251f finance/electrum/distinfo
--- a/finance/electrum/distinfo Sat May 15 08:22:06 2021 +0000
+++ b/finance/electrum/distinfo Sat May 15 09:50:08 2021 +0000
@@ -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
diff -r c48e2bb1a2f9 -r 24203da0251f finance/electrum/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/finance/electrum/patches/patch-setup.py   Sat May 15 09:50:08 2021 +0000
@@ -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