[55153] trunk/dports/python

jmr at macports.org jmr at macports.org
Thu Aug 6 22:57:39 PDT 2009


Revision: 55153
          http://trac.macports.org/changeset/55153
Author:   jmr at macports.org
Date:     2009-08-06 22:57:38 -0700 (Thu, 06 Aug 2009)
Log Message:
-----------
py*-game: update to 1.9.1

Modified Paths:
--------------
    trunk/dports/python/py-game/Portfile
    trunk/dports/python/py-game/files/patch-config_darwin.py.diff
    trunk/dports/python/py25-game/Portfile
    trunk/dports/python/py25-game/files/patch-config_darwin.py.diff
    trunk/dports/python/py26-game/Portfile
    trunk/dports/python/py26-game/files/patch-config_darwin.py.diff

Modified: trunk/dports/python/py-game/Portfile
===================================================================
--- trunk/dports/python/py-game/Portfile	2009-08-07 05:53:25 UTC (rev 55152)
+++ trunk/dports/python/py-game/Portfile	2009-08-07 05:57:38 UTC (rev 55153)
@@ -5,8 +5,7 @@
 PortGroup python24 1.0
 
 name            py-game
-version         1.8.1
-revision        1
+version         1.9.1
 categories      python devel multimedia graphics
 platforms       darwin
 maintainers     nomaintainer
@@ -21,9 +20,9 @@
 
 master_sites    ${homepage}ftp/
 distname        pygame-${version}release
-checksums       md5 3e72f11d99c1a46ed69eb943c9de20a5 \
-                sha1 62d2ad452a0cc1486f877d5a2ae736b6703548cc \
-                rmd160 dc3374e2185a3fbc36cc74ac3b050e7e57f0a4ce
+checksums       md5 1c4cdc708d17c8250a2d78ef997222fc \
+                sha1 a45aeb0623e36ae7a1707b5f41ee6274f72ca4fa \
+                rmd160 352d74d6cb025e7489e1123a7a25d1695beabafb
 
 patchfiles      patch-config_darwin.py.diff
 
@@ -32,28 +31,12 @@
                 port:libsdl_image \
                 port:libsdl_ttf \
                 port:smpeg \
-                port:py-numeric \
-                port:py-pyobjc
+                port:py-numeric
 
-post-extract {
-    # See #17749
-    system "chmod -R a+r ${worksrcpath}"
-    fs-traverse f ${worksrcpath} {
-        if {[file isdirectory ${f}]} {
-            system "chmod a+rx ${f}"
-        }
-    }
-}
-
 use_configure   yes
 configure.env-append LOCALBASE=${prefix}
 configure.cmd   ${python.bin} config.py
 
-platform darwin 9 {
-    depends_lib-delete port:py-pyobjc
-    depends_lib-append port:py-pyobjc2 port:py-pyobjc2-cocoa
-}
-
 post-destroot   {
     delete ${destroot}${prefix}/share/doc/${name}/examples
     eval copy [glob ${worksrcpath}/docs/*] ${destroot}${prefix}/share/doc/${name}

Modified: trunk/dports/python/py-game/files/patch-config_darwin.py.diff
===================================================================
--- trunk/dports/python/py-game/files/patch-config_darwin.py.diff	2009-08-07 05:53:25 UTC (rev 55152)
+++ trunk/dports/python/py-game/files/patch-config_darwin.py.diff	2009-08-07 05:57:38 UTC (rev 55153)
@@ -10,7 +10,7 @@
      libext = '.a'
      def __init__(self, name, checkhead, checklib, libs):
 @@ -86,11 +88,11 @@
-             print self.name + '        '[len(self.name):] + ': not found'
+             print (self.name + '        '[len(self.name):] + ': not found')
  
  DEPS = [
 -    FrameworkDependency('SDL', 'SDL.h', 'libSDL', 'SDL'),
@@ -25,11 +25,11 @@
 +    Dependency('SMPEG', 'smpeg.h', 'libsmpeg', ['smpeg']),
      Dependency('PNG', 'png.h', 'libpng', ['png']),
      Dependency('JPEG', 'jpeglib.h', 'libjpeg', ['jpeg']),
-     Dependency('SCRAP', '','',[])
-@@ -101,8 +103,8 @@
+     Dependency('SCRAP', '','',[]),
+@@ -103,8 +105,8 @@
      global DEPS
  
-     print 'Hunting dependencies...'
+     print ('Hunting dependencies...')
 -    incdirs = ['/usr/local/include','/opt/local/include']
 -    libdirs = ['/usr/local/lib','/opt/local/lib']
 +    incdirs = [localbase+'/include', localbase+'/include/SDL', localbase+'/include/smpeg']

Modified: trunk/dports/python/py25-game/Portfile
===================================================================
--- trunk/dports/python/py25-game/Portfile	2009-08-07 05:53:25 UTC (rev 55152)
+++ trunk/dports/python/py25-game/Portfile	2009-08-07 05:57:38 UTC (rev 55153)
@@ -5,8 +5,7 @@
 PortGroup python25 1.0
 
 name            py25-game
-version         1.8.1
-revision        1
+version         1.9.1
 categories      python devel multimedia graphics
 platforms       darwin
 maintainers     jmr openmaintainer
@@ -21,9 +20,9 @@
 
 master_sites    ${homepage}ftp/
 distname        pygame-${version}release
-checksums       md5 3e72f11d99c1a46ed69eb943c9de20a5 \
-                sha1 62d2ad452a0cc1486f877d5a2ae736b6703548cc \
-                rmd160 dc3374e2185a3fbc36cc74ac3b050e7e57f0a4ce
+checksums       md5 1c4cdc708d17c8250a2d78ef997222fc \
+                sha1 a45aeb0623e36ae7a1707b5f41ee6274f72ca4fa \
+                rmd160 352d74d6cb025e7489e1123a7a25d1695beabafb
 
 patchfiles      patch-config_darwin.py.diff
 
@@ -32,28 +31,12 @@
                 port:libsdl_image \
                 port:libsdl_ttf \
                 port:smpeg \
-                port:py25-numeric \
-                port:py25-pyobjc
+                port:py25-numeric
 
-post-extract {
-    # See #17749
-    system "chmod -R a+r ${worksrcpath}"
-    fs-traverse f ${worksrcpath} {
-        if {[file isdirectory ${f}]} {
-            system "chmod a+rx ${f}"
-        }
-    }
-}
-
 use_configure   yes
 configure.env-append LOCALBASE=${prefix}
 configure.cmd   ${python.bin} config.py
 
-platform darwin 9 {
-    depends_lib-delete port:py25-pyobjc
-    depends_lib-append port:py25-pyobjc2 port:py25-pyobjc2-cocoa
-}
-
 post-destroot   {
     delete ${destroot}${prefix}/share/doc/${name}/examples
     eval copy [glob ${worksrcpath}/docs/*] ${destroot}${prefix}/share/doc/${name}

Modified: trunk/dports/python/py25-game/files/patch-config_darwin.py.diff
===================================================================
--- trunk/dports/python/py25-game/files/patch-config_darwin.py.diff	2009-08-07 05:53:25 UTC (rev 55152)
+++ trunk/dports/python/py25-game/files/patch-config_darwin.py.diff	2009-08-07 05:57:38 UTC (rev 55153)
@@ -10,7 +10,7 @@
      libext = '.a'
      def __init__(self, name, checkhead, checklib, libs):
 @@ -86,11 +88,11 @@
-             print self.name + '        '[len(self.name):] + ': not found'
+             print (self.name + '        '[len(self.name):] + ': not found')
  
  DEPS = [
 -    FrameworkDependency('SDL', 'SDL.h', 'libSDL', 'SDL'),
@@ -25,11 +25,11 @@
 +    Dependency('SMPEG', 'smpeg.h', 'libsmpeg', ['smpeg']),
      Dependency('PNG', 'png.h', 'libpng', ['png']),
      Dependency('JPEG', 'jpeglib.h', 'libjpeg', ['jpeg']),
-     Dependency('SCRAP', '','',[])
-@@ -101,8 +103,8 @@
+     Dependency('SCRAP', '','',[]),
+@@ -103,8 +105,8 @@
      global DEPS
  
-     print 'Hunting dependencies...'
+     print ('Hunting dependencies...')
 -    incdirs = ['/usr/local/include','/opt/local/include']
 -    libdirs = ['/usr/local/lib','/opt/local/lib']
 +    incdirs = [localbase+'/include', localbase+'/include/SDL', localbase+'/include/smpeg']

Modified: trunk/dports/python/py26-game/Portfile
===================================================================
--- trunk/dports/python/py26-game/Portfile	2009-08-07 05:53:25 UTC (rev 55152)
+++ trunk/dports/python/py26-game/Portfile	2009-08-07 05:57:38 UTC (rev 55153)
@@ -5,8 +5,7 @@
 PortGroup python26 1.0
 
 name            py26-game
-version         1.8.1
-revision        1
+version         1.9.1
 categories      python devel multimedia graphics
 platforms       darwin
 maintainers     jmr openmaintainer
@@ -21,9 +20,9 @@
 
 master_sites    ${homepage}ftp/
 distname        pygame-${version}release
-checksums       md5 3e72f11d99c1a46ed69eb943c9de20a5 \
-                sha1 62d2ad452a0cc1486f877d5a2ae736b6703548cc \
-                rmd160 dc3374e2185a3fbc36cc74ac3b050e7e57f0a4ce
+checksums       md5 1c4cdc708d17c8250a2d78ef997222fc \
+                sha1 a45aeb0623e36ae7a1707b5f41ee6274f72ca4fa \
+                rmd160 352d74d6cb025e7489e1123a7a25d1695beabafb
 
 patchfiles      patch-config_darwin.py.diff
 
@@ -32,29 +31,13 @@
                 port:libsdl_image \
                 port:libsdl_ttf \
                 port:smpeg \
-                port:py26-numeric \
-                port:py26-pyobjc
+                port:py26-numeric
 
-post-extract {
-    # See #17749
-    system "chmod -R a+r ${worksrcpath}"
-    fs-traverse f ${worksrcpath} {
-        if {[file isdirectory ${f}]} {
-            system "chmod a+rx ${f}"
-        }
-    }
-}
-
 use_configure   yes
 
 configure.env-append LOCALBASE=${prefix}
 configure.cmd   ${python.bin} config.py
 
-platform darwin 9 {
-    depends_lib-delete port:py26-pyobjc
-    depends_lib-append port:py26-pyobjc2 port:py26-pyobjc2-cocoa
-}
-
 post-destroot   {
     delete ${destroot}${prefix}/share/doc/${name}/examples
     eval copy [glob ${worksrcpath}/docs/*] ${destroot}${prefix}/share/doc/${name}

Modified: trunk/dports/python/py26-game/files/patch-config_darwin.py.diff
===================================================================
--- trunk/dports/python/py26-game/files/patch-config_darwin.py.diff	2009-08-07 05:53:25 UTC (rev 55152)
+++ trunk/dports/python/py26-game/files/patch-config_darwin.py.diff	2009-08-07 05:57:38 UTC (rev 55153)
@@ -10,7 +10,7 @@
      libext = '.a'
      def __init__(self, name, checkhead, checklib, libs):
 @@ -86,11 +88,11 @@
-             print self.name + '        '[len(self.name):] + ': not found'
+             print (self.name + '        '[len(self.name):] + ': not found')
  
  DEPS = [
 -    FrameworkDependency('SDL', 'SDL.h', 'libSDL', 'SDL'),
@@ -25,11 +25,11 @@
 +    Dependency('SMPEG', 'smpeg.h', 'libsmpeg', ['smpeg']),
      Dependency('PNG', 'png.h', 'libpng', ['png']),
      Dependency('JPEG', 'jpeglib.h', 'libjpeg', ['jpeg']),
-     Dependency('SCRAP', '','',[])
-@@ -101,8 +103,8 @@
+     Dependency('SCRAP', '','',[]),
+@@ -103,8 +105,8 @@
      global DEPS
  
-     print 'Hunting dependencies...'
+     print ('Hunting dependencies...')
 -    incdirs = ['/usr/local/include','/opt/local/include']
 -    libdirs = ['/usr/local/lib','/opt/local/lib']
 +    incdirs = [localbase+'/include', localbase+'/include/SDL', localbase+'/include/smpeg']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090806/a875433d/attachment-0001.html>


More information about the macports-changes mailing list