aboutsummaryrefslogtreecommitdiff
path: root/net/py-libcloud
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2015-08-01 19:00:11 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2015-08-01 19:00:11 +0000
commit5a12b2060f58e4dd1fd59eb951505d2bba367feb (patch)
treece4419ebb8ced4d334ad7b4a6bcabf55f7bd6e5e /net/py-libcloud
parent3c155af8e39531127ff5e37329c64abb98628828 (diff)
downloadports-5a12b2060f58e4dd1fd59eb951505d2bba367feb.tar.gz
ports-5a12b2060f58e4dd1fd59eb951505d2bba367feb.zip
Notes
Diffstat (limited to 'net/py-libcloud')
-rw-r--r--net/py-libcloud/Makefile2
-rw-r--r--net/py-libcloud/files/patch-setup.py29
2 files changed, 30 insertions, 1 deletions
diff --git a/net/py-libcloud/Makefile b/net/py-libcloud/Makefile
index a1c25835a6b2..c570073b4eb0 100644
--- a/net/py-libcloud/Makefile
+++ b/net/py-libcloud/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libcloud
PORTVERSION= 0.17.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net python
MASTER_SITES= APACHE/${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/net/py-libcloud/files/patch-setup.py b/net/py-libcloud/files/patch-setup.py
new file mode 100644
index 000000000000..66fe556a2838
--- /dev/null
+++ b/net/py-libcloud/files/patch-setup.py
@@ -0,0 +1,29 @@
+--- setup.py.orig 2014-11-19 16:00:24 UTC
++++ setup.py
+@@ -47,7 +47,6 @@ DOC_TEST_MODULES = ['libcloud.compute.dr
+ SUPPORTED_VERSIONS = ['2.5', '2.6', '2.7', 'PyPy', '3.x']
+
+ TEST_REQUIREMENTS = [
+- 'backports.ssl_match_hostname',
+ 'mock'
+ ]
+
+@@ -222,10 +221,6 @@ class CoverageCommand(Command):
+
+ forbid_publish()
+
+-install_requires = ['backports.ssl_match_hostname']
+-if pre_python26:
+- install_requires.extend(['ssl', 'simplejson'])
+-
+ setup(
+ name='apache-libcloud',
+ version=read_version_string(),
+@@ -234,7 +229,6 @@ setup(
+ ' and documentation, please see http://libcloud.apache.org',
+ author='Apache Software Foundation',
+ author_email='dev@libcloud.apache.org',
+- install_requires=install_requires,
+ packages=get_packages('libcloud'),
+ package_dir={
+ 'libcloud': 'libcloud',