diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2015-05-09 03:51:55 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-05-10 07:04:59 +0700 |
commit | a02ba32f342875afba7c8ab6df4798941799c00b (patch) | |
tree | 3b2c5efdb2a6f9e8a80487314784a07a8b30f004 /network/deis/setup.patch | |
parent | f96de8d376226c01c1e19c5925e72b2f60c0cdca (diff) |
network/deis: Updated for version 1.6.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'network/deis/setup.patch')
-rw-r--r-- | network/deis/setup.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/network/deis/setup.patch b/network/deis/setup.patch new file mode 100644 index 0000000000000..51329d693803c --- /dev/null +++ b/network/deis/setup.patch @@ -0,0 +1,25 @@ +--- deis-1.6.0/setup.orig.py 2015-05-09 03:43:01.776728194 +0300 ++++ deis-1.6.0/setup.py 2015-05-09 03:44:20.037749797 +0300 +@@ -2,6 +2,7 @@ + + """Install the Deis command-line client.""" + ++import os + + try: + from setuptools import setup +@@ -27,9 +28,11 @@ + KWARGS = {'scripts': ['deis']} + + +-with open('requirements.txt') as f: +- required = f.read().splitlines() +- required = [r for r in required if r.strip() and not r.startswith('#')] ++required = "" ++if os.path.isfile('requirements.txt'): ++ with open('requirements.txt') as f: ++ required = f.read().splitlines() ++ required = [r for r in required if r.strip() and not r.startswith('#')] + + + setup(name='deis', |