commit:     0a1f6ff79993dc1ce9e53ec74aada1885f981ed3
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Jan 12 15:23:11 2018 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jan 13 22:40:27 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a1f6ff7

net-misc/electrum: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/6840

 net-misc/electrum/files/2.7.15-no-user-root.patch | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/net-misc/electrum/files/2.7.15-no-user-root.patch 
b/net-misc/electrum/files/2.7.15-no-user-root.patch
deleted file mode 100644
index e98cf30da42..00000000000
--- a/net-misc/electrum/files/2.7.15-no-user-root.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- setup.py.orig      2017-01-06 19:17:44.294137848 +0000
-+++ setup.py   2017-01-06 19:17:50.093161327 +0000
-@@ -21,12 +21,6 @@
-     parser.add_argument('--root=', dest='root_path', metavar='dir', 
default='/')
-     opts, _ = parser.parse_known_args(sys.argv[1:])
-     usr_share = os.path.join(sys.prefix, "share")
--    if not os.access(opts.root_path + usr_share, os.W_OK) and \
--       not os.access(opts.root_path, os.W_OK):
--        if 'XDG_DATA_HOME' in os.environ.keys():
--            usr_share = os.environ['XDG_DATA_HOME']
--        else:
--            usr_share = os.path.expanduser('~/.local/share')
-     data_files += [
-         (os.path.join(usr_share, 'applications/'), ['electrum.desktop']),
-     ]

Reply via email to