[109496] trunk/dports/python/py-SDL2/Portfile

jmr at macports.org jmr at macports.org
Fri Aug 16 13:50:55 PDT 2013


Revision: 109496
          https://trac.macports.org/changeset/109496
Author:   jmr at macports.org
Date:     2013-08-16 13:50:55 -0700 (Fri, 16 Aug 2013)
Log Message:
-----------
py-SDL2: add livecheck

Modified Paths:
--------------
    trunk/dports/python/py-SDL2/Portfile

Modified: trunk/dports/python/py-SDL2/Portfile
===================================================================
--- trunk/dports/python/py-SDL2/Portfile	2013-08-16 20:39:49 UTC (rev 109495)
+++ trunk/dports/python/py-SDL2/Portfile	2013-08-16 20:50:55 UTC (rev 109496)
@@ -23,11 +23,17 @@
 checksums           rmd160 e8c5be0e7ebc6fbb54f5ad9098687049f8230159 \
                     sha256 a31dc757cfd98bdbb795c6531b8693a9193c1863a145cac5bd77ddeccbe08d27
 
-python.versions      27 32 33
+python.versions     27 32 33
 
 if {$subport != $name} {
     depends_lib-append  port:libsdl2 \
                         port:libsdl2_image \
                         port:libsdl2_mixer \
                         port:libsdl2_ttf
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       [lindex $master_sites 0]
+    livecheck.regex     PySDL2-(\[0-9.\]+)${extract.suffix}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130816/651785cf/attachment.html>


More information about the macports-changes mailing list