Revision
139937
Author
stromnov@macports.org
Date
2015-09-03 13:33:25 -0700 (Thu, 03 Sep 2015)

Log Message

py-pyglet: update to version 1.2.4

Modified Paths

Diff

Modified: trunk/dports/python/py-pyglet/Portfile (139936 => 139937)


--- trunk/dports/python/py-pyglet/Portfile	2015-09-03 20:32:44 UTC (rev 139936)
+++ trunk/dports/python/py-pyglet/Portfile	2015-09-03 20:33:25 UTC (rev 139937)
@@ -5,7 +5,7 @@
 PortGroup           python 1.0
 
 name                py-pyglet
-version             1.2.3
+version             1.2.4
 revision            0
 categories-append   devel graphics
 platforms           darwin
@@ -19,17 +19,15 @@
 long_description    ${description}
 
 homepage            http://www.pyglet.org/
-master_sites        https://pypi.python.org/packages/source/p/pyglet/
+master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
 
-distname            pyglet-${version}
+distname            ${python.rootname}-${version}
 
-checksums           rmd160  eea45e9552cde5f3b8855bc5e25c26f052b7f731 \
-                    sha256  06c857039420bd21baad35fac99dca7f97951350c2df5a79bdcf89eb708907cb
+checksums           rmd160  67ec24a3d273c2729248abce84c2009991676600 \
+                    sha256  9f62ffbbcf2b202d084bf158685e77d28b8f4f5f2738f4c5e63a947a07503445
 
 if {${name} ne ${subport}} {
     livecheck.type      none
 } else {
-    livecheck.type      regex
-    livecheck.url       https://pypi.python.org/pypi/pyglet/json
-    livecheck.regex     {pyglet-(\d+(?:\.\d+)*)\.[tz]}
+    livecheck.type      pypi
 }