[142249] trunk/dports/python/py-tornado/Portfile
stromnov at macports.org
stromnov at macports.org
Sat Dec 12 04:57:38 PST 2015
Revision: 142249
https://trac.macports.org/changeset/142249
Author: stromnov at macports.org
Date: 2015-11-08 09:19:59 -0800 (Sun, 08 Nov 2015)
Log Message:
-----------
py-tornado: update to version 4.3
Modified Paths:
--------------
trunk/dports/python/py-tornado/Portfile
Modified: trunk/dports/python/py-tornado/Portfile
===================================================================
--- trunk/dports/python/py-tornado/Portfile 2015-11-08 17:04:09 UTC (rev 142248)
+++ trunk/dports/python/py-tornado/Portfile 2015-11-08 17:19:59 UTC (rev 142249)
@@ -5,7 +5,7 @@
PortGroup python 1.0
name py-tornado
-version 4.2.1
+version 4.3
revision 0
categories-append www
platforms darwin
@@ -25,33 +25,41 @@
underlying non-blocking infrastructure.
homepage http://www.tornadoweb.org/
-master_sites https://pypi.python.org/packages/source/t/tornado/
+master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
-distname tornado-${version}
+distname ${python.rootname}-${version}
-checksums rmd160 1c183083a4bcde24d05a52a537e06ec6f88d4dfa \
- sha256 a16fcdc4f76b184cb82f4f9eaeeacef6113b524b26a2cb331222e4a7fa6f2969
+checksums rmd160 994fbd51e116b73ece02bcd351ee670331e8e494 \
+ sha256 c9c2d32593d16eedf2cec1b6a41893626a2649b40b21ca9c4cac4243bde2efbf
-if {${name} ne ${subport} && ${python.version} == 26} {
- version 3.1.1
- revision 0
- distname tornado-${version}
- checksums rmd160 36598ca25dcb47b6c27316f44cae3cea9b649136 \
- sha256 345904bfe4a0ce5d687203f783986a73cfd7dc3a9957ee3342cd43d4e310fdc6
-}
-
if {${name} ne ${subport}} {
- if {${python.version} == 27} {
- depends_lib-append port:py${python.version}-backports-ssl_match_hostname
- }
-
- if {[lsearch {27 33 34} ${python.version}] != -1} {
+ if {${python.version} == 26} {
+ version 3.1.1
+ revision 0
+ distname ${python.rootname}-${version}
+ checksums rmd160 36598ca25dcb47b6c27316f44cae3cea9b649136 \
+ sha256 345904bfe4a0ce5d687203f783986a73cfd7dc3a9957ee3342cd43d4e310fdc6
+ } elseif {${python.version} == 33} {
+ version 4.2.1
+ revision 0
+ distname ${python.rootname}-${version}
+ checksums rmd160 1c183083a4bcde24d05a52a537e06ec6f88d4dfa \
+ sha256 a16fcdc4f76b184cb82f4f9eaeeacef6113b524b26a2cb331222e4a7fa6f2969
depends_lib-append port:py${python.version}-certifi
+ } else {
+ if {${python.version} == 27} {
+ depends_lib-append port:py${python.version}-backports-ssl_match_hostname
+ }
+ if {${python.version} < 34} {
+ depends_lib-append port:py${python.version}-singledispatch
+ }
+ if {${python.version} < 35} {
+ depends_lib-append port:py${python.version}-backports_abc
+ }
+ depends_lib-append port:py${python.version}-certifi
}
livecheck.type none
} else {
- livecheck.type regex
- livecheck.url https://pypi.python.org/pypi/tornado/json
- livecheck.regex "tornado-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+ livecheck.type pypi
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/dc16e770/attachment.html>
More information about the macports-changes
mailing list