net-misc/electrum: remove unused patch
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Fri, 12 Jan 2018 15:23:11 +0000 (16:23 +0100)
committerDavid Seifert <soap@gentoo.org>
Sat, 13 Jan 2018 22:40:27 +0000 (23:40 +0100)
Closes: https://github.com/gentoo/gentoo/pull/6840

net-misc/electrum/files/2.7.15-no-user-root.patch [deleted file]

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 (file)
index e98cf30..0000000
+++ /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']),
-     ]