Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2015 21:04:12 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r384877 - head/finance/electrum/files
Message-ID:  <201504272104.t3RL4CIC094654@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Mon Apr 27 21:04:12 2015
New Revision: 384877
URL: https://svnweb.freebsd.org/changeset/ports/384877

Log:
  finance/electrum: Unbreak on DragonFly (staging)
  
  Since the setup.py patch would never get sent upstream anyway, I
  modified the patch to install the desktop icons on every platform
  that ports supports unconditionally rather than check the OSNAME
  against a list.  Issue was introduced on last commit
  
  Approved by:	blanket (restore DF functionality)

Modified:
  head/finance/electrum/files/patch-setup.py

Modified: head/finance/electrum/files/patch-setup.py
==============================================================================
--- head/finance/electrum/files/patch-setup.py	Mon Apr 27 21:00:10 2015	(r384876)
+++ head/finance/electrum/files/patch-setup.py	Mon Apr 27 21:04:12 2015	(r384877)
@@ -1,10 +1,12 @@
 --- setup.py.orig	2015-03-14 13:27:54 UTC
 +++ setup.py
-@@ -18,7 +18,7 @@ if sys.version_info[:3] < (2, 7, 0):
+@@ -17,8 +17,8 @@ if sys.version_info[:3] < (2, 7, 0):
+ 
  
  data_files = []
- if platform.system() == 'Linux' or platform.system() == 'FreeBSD':
+-if platform.system() == 'Linux' or platform.system() == 'FreeBSD':
 -    usr_share = os.path.join(sys.prefix, "share")
++if True:
 +    usr_share = '%%PREFIX%%/share'
      data_files += [
          (os.path.join(usr_share, 'applications/'), ['electrum.desktop']),



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504272104.t3RL4CIC094654>