network/deis: Updated for version 1.6.0.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2015-05-09 03:51:55 +03:00 committed by Willy Sudiarto Raharjo
parent f96de8d376
commit a02ba32f34
4 changed files with 34 additions and 5 deletions

View File

@ -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

View File

@ -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 \

View File

@ -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"

25
network/deis/setup.patch Normal file
View File

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