net-misc/electrum: remove unused patches

Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10925
Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2019-01-28 14:59:01 +01:00
committed by Aaron Bauman
parent 6e03ae4d3c
commit 2282e0a754
4 changed files with 0 additions and 71 deletions

View File

@@ -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']),
]

View File

@@ -1,12 +0,0 @@
diff -Naur Electrum-3.1.1.orig/setup.py Electrum-3.1.1/setup.py
--- Electrum-3.1.1.orig/setup.py 2018-03-12 13:25:11.000000000 -0400
+++ Electrum-3.1.1/setup.py 2018-03-17 17:49:54.481961514 -0400
@@ -86,8 +86,3 @@
url="https://electrum.org",
long_description="""Lightweight Bitcoin Wallet"""
)
-
-# Optional modules (not required to run Electrum)
-import pip
-opt_modules = requirements_hw + ['pycryptodomex']
-[ pip.main(['install', m]) for m in opt_modules ]

View File

@@ -1,21 +0,0 @@
diff -Naur Electrum-3.1.2.orig/electrum.desktop Electrum-3.1.2/electrum.desktop
--- Electrum-3.1.2.orig/electrum.desktop 2018-03-24 06:42:16.000000000 -0400
+++ Electrum-3.1.2/electrum.desktop 2018-04-01 08:37:43.362027638 -0400
@@ -3,7 +3,7 @@
[Desktop Entry]
Comment=Lightweight Bitcoin Client
-Exec=sh -c 'PATH="$HOME/.local/bin:$PATH" electrum %u'
+Exec=electrum %u
GenericName[en_US]=Bitcoin Wallet
GenericName=Bitcoin Wallet
Icon=electrum
@@ -14,8 +14,4 @@
Terminal=false
Type=Application
MimeType=x-scheme-handler/bitcoin;
-Actions=Testnet;
-[Desktop Action Testnet]
-Exec=sh -c 'PATH="$HOME/.local/bin:$PATH" electrum --testnet %u'
-Name=Testnet mode

View File

@@ -1,23 +0,0 @@
diff -Naur Electrum-3.2.2.orig/setup.py Electrum-3.2.2/setup.py
--- Electrum-3.2.2.orig/setup.py 2018-07-01 08:00:11.000000000 -0400
+++ Electrum-3.2.2/setup.py 2018-07-16 14:09:10.790238994 -0400
@@ -40,19 +40,10 @@
(os.path.join(usr_share, icons_dirname), ['icons/electrum.png'])
]
-extras_require = {
- 'hardware': requirements_hw,
- 'fast': ['pycryptodomex'],
- ':python_version < "3.5"': ['typing>=3.0.0'],
-}
-extras_require['full'] = extras_require['hardware'] + extras_require['fast']
-
-
setup(
name="Electrum",
version=version.ELECTRUM_VERSION,
install_requires=requirements,
- extras_require=extras_require,
packages=[
'electrum',
'electrum_gui',