[132949] trunk/dports/python/py-pyglet/Portfile

stromnov at macports.org stromnov at macports.org
Sun Feb 15 14:22:12 PST 2015


Revision: 132949
          https://trac.macports.org/changeset/132949
Author:   stromnov at macports.org
Date:     2015-02-15 14:22:12 -0800 (Sun, 15 Feb 2015)
Log Message:
-----------
py-pyglet: update to version 1.2.0

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

Modified: trunk/dports/python/py-pyglet/Portfile
===================================================================
--- trunk/dports/python/py-pyglet/Portfile	2015-02-15 22:15:52 UTC (rev 132948)
+++ trunk/dports/python/py-pyglet/Portfile	2015-02-15 22:22:12 UTC (rev 132949)
@@ -5,38 +5,31 @@
 PortGroup           python 1.0
 
 name                py-pyglet
-version             1.1.4
-license             BSD
+version             1.2.0
+revision            0
+categories-append   devel graphics
 platforms           darwin
-# uses carbon; apparently 1.2 will use cocoa
-supported_archs     i386 ppc
+license             BSD
+
+python.versions     26 27 34
+
 maintainers         stromnov openmaintainer
 
 description         A cross-platform windowing and multimedia library for Python.
 long_description    ${description}
 
 homepage            http://www.pyglet.org/
-master_sites        googlecode:pyglet
+master_sites        https://pypi.python.org/packages/source/p/pyglet/
+
 distname            pyglet-${version}
 
-checksums           md5     b2363642dc3832e95dc4e63a6793467f \
-                    sha1    1c1fa4130b5e5b7aa9da2456b75742ae447d0315 \
-                    rmd160  64a70d8a87ff056f4fc912fb9f4b32b3ea4cd262
+checksums           rmd160  e451454b067ec08d413a448827888b9b32794651 \
+                    sha256  52bff80064e0fc35d7f326b55390ff8b4127d562296c8e1c8718ff3ff123d0a5
 
-python.versions     26 27
-
 if {${name} ne ${subport}} {
-    set Resources_dir ${python.prefix}/Resources
-    if {${build_arch} eq "x86_64" || ${build_arch} eq "ppc64"} {
-        notes "Since MacPorts is configured to use the $build_arch architecture\
-where possible and the current version of pyglet only works when built for\
-32-bit archs, you will probably need to run python like this to use pyglet:
-    arch -${configure.build_arch} ${Resources_dir}/Python.app/Contents/MacOS/Python"
-    }
-
     livecheck.type      none
 } else {
     livecheck.type      regex
-    livecheck.url       ${homepage}download.html
-    livecheck.regex     "The current stable version of pyglet is <strong>(\[0-9\](\\.\[0-9\]+)*)</strong>\\."
+    livecheck.url       https://pypi.python.org/pypi/pyglet/json
+    livecheck.regex     {pyglet-(\d+(?:\.\d+)*)\.[tz]}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150215/3e1f7d05/attachment-0001.html>


More information about the macports-changes mailing list