[Pkg-bitcoin-commits] [electrum] 04/05: Do not ship requirements files.

Tristan Seligmann mithrandi at moszumanska.debian.org
Sat Mar 10 17:19:00 UTC 2018


This is an automated email from the git hooks/post-receive script.

mithrandi pushed a commit to branch master
in repository electrum.

commit d588748c29cfa74e4b67f0ba3c3d5b37a951162d
Author: Tristan Seligmann <mithrandi at debian.org>
Date:   Sat Mar 10 18:38:50 2018 +0200

    Do not ship requirements files.
---
 .../0001-Do-not-ship-requirements-files.patch       | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/0001-Do-not-ship-requirements-files.patch b/debian/patches/0001-Do-not-ship-requirements-files.patch
new file mode 100644
index 0000000..852d966
--- /dev/null
+++ b/debian/patches/0001-Do-not-ship-requirements-files.patch
@@ -0,0 +1,21 @@
+From: Tristan Seligmann <mithrandi at debian.org>
+Date: Sat, 10 Mar 2018 18:38:21 +0200
+Subject: Do not ship requirements files.
+
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 63581a6..030993b 100755
+--- a/setup.py
++++ b/setup.py
+@@ -20,7 +20,7 @@ version = imp.load_source('version', 'lib/version.py')
+ if sys.version_info[:3] < (3, 4, 0):
+     sys.exit("Error: Electrum requires Python version >= 3.4.0...")
+ 
+-data_files = ['contrib/requirements/' + r for r in ['requirements.txt', 'requirements-hw.txt']]
++data_files = []
+ 
+ if platform.system() in ['Linux', 'FreeBSD', 'DragonFly']:
+     parser = argparse.ArgumentParser()
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e56fca7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Do-not-ship-requirements-files.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/electrum.git



More information about the Pkg-bitcoin-commits mailing list