summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-05-09 03:51:55 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-10 07:04:59 +0700
commita02ba32f342875afba7c8ab6df4798941799c00b (patch)
tree3b2c5efdb2a6f9e8a80487314784a07a8b30f004
parentf96de8d376226c01c1e19c5925e72b2f60c0cdca (diff)
downloadslackbuilds-a02ba32f342875afba7c8ab6df4798941799c00b.tar.gz
network/deis: Updated for version 1.6.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--network/deis/README2
-rw-r--r--network/deis/deis.SlackBuild4
-rw-r--r--network/deis/deis.info8
-rw-r--r--network/deis/setup.patch25
4 files changed, 34 insertions, 5 deletions
diff --git a/network/deis/README b/network/deis/README
index 0d9799db91..ae76f73b3f 100644
--- a/network/deis/README
+++ b/network/deis/README
@@ -3,3 +3,5 @@ that combine to provide a Heroku-inspired application platform for
public and private clouds.
Your PaaS. Your Rules.
+
+NOTE: Required python-urllib3 == 1.10.2
diff --git a/network/deis/deis.SlackBuild b/network/deis/deis.SlackBuild
index 2c61adec83..a8059c53a2 100644
--- a/network/deis/deis.SlackBuild
+++ b/network/deis/deis.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=deis
-VERSION=${VERSION:-1.5.1}
+VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/setup.patch
+
python setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/network/deis/deis.info b/network/deis/deis.info
index aa31101910..e2de8f070f 100644
--- a/network/deis/deis.info
+++ b/network/deis/deis.info
@@ -1,10 +1,10 @@
PRGNAM="deis"
-VERSION="1.5.1"
+VERSION="1.6.0"
HOMEPAGE="http://deis.io/"
-DOWNLOAD="https://pypi.python.org/packages/source/d/deis/deis-1.5.1.tar.gz"
-MD5SUM="7f9cb0e37eaa7b43f2db78f9a469ed63"
+DOWNLOAD="https://pypi.python.org/packages/source/d/deis/deis-1.6.0.tar.gz"
+MD5SUM="587cbc1ab9ea7d6c1436b0309e634f72"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="docopt python-dateutil python-requests termcolor PyYAML python-tabulate"
+REQUIRES="docopt python-dateutil python-requests termcolor PyYAML python-tabulate python-urllib3"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/deis/setup.patch b/network/deis/setup.patch
new file mode 100644
index 0000000000..51329d6938
--- /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',