[115939] trunk/dports/python
stromnov at macports.org
stromnov at macports.org
Tue Jan 14 13:39:10 PST 2014
Revision: 115939
https://trac.macports.org/changeset/115939
Author: stromnov at macports.org
Date: 2014-01-14 13:39:10 -0800 (Tue, 14 Jan 2014)
Log Message:
-----------
py-backports-ssl_match_hostname: new port
Added Paths:
-----------
trunk/dports/python/py-backports-ssl_match_hostname/
trunk/dports/python/py-backports-ssl_match_hostname/Portfile
Added: trunk/dports/python/py-backports-ssl_match_hostname/Portfile
===================================================================
--- trunk/dports/python/py-backports-ssl_match_hostname/Portfile (rev 0)
+++ trunk/dports/python/py-backports-ssl_match_hostname/Portfile 2014-01-14 21:39:10 UTC (rev 115939)
@@ -0,0 +1,48 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup python 1.0
+
+name py-backports-ssl_match_hostname
+version 3.4.0.2
+revision 0
+categories-append devel
+platforms darwin
+license Python
+supported_archs noarch
+
+python.versions 27 33
+
+maintainers stromnov openmaintainer
+
+description The ssl.match_hostname() function from Python 3.4
+long_description ${description}
+
+homepage http://bitbucket.org/brandon/backports.ssl_match_hostname
+master_sites https://pypi.python.org/packages/source/b/backports.ssl_match_hostname/
+
+distname backports.ssl_match_hostname-${version}
+
+checksums rmd160 4f87ff790bdd53b4095ffc4b9e214d4ffc9bb41d \
+ sha256 07410e7fb09aab7bdaf5e618de66c3dac84e2e3d628352814dc4c37de321d6ae
+
+if {${name} ne ${subport}} {
+ depends_lib-append port:py${python.version}-backports \
+ port:py${python.version}-setuptools
+
+ post-destroot {
+ foreach f {__init__.py __init__.pyc __init__.pyo __pycache__} {
+ set fp "${destroot}${python.pkgd}/backports/$f"
+ if {[file exists ${fp}]} {
+ file delete -force ${fp}
+ }
+ }
+ }
+
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url ${master_sites}
+ livecheck.regex {backports\.ssl_match_hostname-(\d+(?:\.\d+)*)\.[tz]}
+}
Property changes on: trunk/dports/python/py-backports-ssl_match_hostname/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140114/265cb66e/attachment.html>
More information about the macports-changes
mailing list