Revision
139671
Author
petr@macports.org
Date
2015-08-24 08:04:05 -0700 (Mon, 24 Aug 2015)

Log Message

py-libcloud: add missing dependency on ssl_match_hostname, closes #48640

Modified Paths

Diff

Modified: trunk/dports/python/py-libcloud/Portfile (139670 => 139671)


--- trunk/dports/python/py-libcloud/Portfile	2015-08-24 11:12:45 UTC (rev 139670)
+++ trunk/dports/python/py-libcloud/Portfile	2015-08-24 15:04:05 UTC (rev 139671)
@@ -49,6 +49,11 @@
         post-test { delete ${test_dir}/secrets.py }
     }
 
+    # ssl_match_hostname package required since 0.17.0
+    if { ${python.version} < 34 } {
+        depends_lib-append  port:py${python.version}-backports-ssl_match_hostname
+    }
+
     # Adding documentation and examples
     post-destroot {
         set dest_doc ${destroot}${prefix}/share/doc/${subport}