[24708] trunk/dports/python

Juan Manuel Palacios jmpp at macports.org
Mon Apr 30 15:44:09 PDT 2007


	Hello Jann! Just wanted to point out a couple of things about this  
last commit of yours. We have the policy of making one commit per  
logical block of changes, but down here you condensed three blocks in  
a single commit: new port (py-glewpy), dependency rework for a  
different port (py-matplotlib) and version update and other changes  
to yet a third port (py-pil). For future reference, each of these  
three should be separate commits, and in case of the third one the  
log should detail what the other changes are about (besides the  
version updates). It's a matter of policy, for improved tracking,  
hope you don't mind!

	Other than that, great work, keep it up! Regards,...


-jmpp


On Apr 30, 2007, at 6:11 PM, source_changes at macosforge.org wrote:

> Revision
> 24708
> Author
> jann at macports.org
> Date
> 2007-04-30 15:11:20 -0700 (Mon, 30 Apr 2007)
> Log Message
>
> New port py-glewpy
> Modified Paths
>
> trunk/dports/python/py-matplotlib/Portfile
> trunk/dports/python/py-pil/Portfile
> Added Paths
>
> trunk/dports/python/py-glewpy/
> trunk/dports/python/py-glewpy/Portfile
> trunk/dports/python/py-glewpy/files/
> trunk/dports/python/py-glewpy/files/patch-setup-osx.py
> trunk/dports/python/py-glewpy/files/patch-setup.py
> Diff
>
> Added: trunk/dports/python/py-glewpy/Portfile (0 => 24708)
>
> --- trunk/dports/python/py-glewpy/Portfile	                         
> (rev 0)
> +++ trunk/dports/python/py-glewpy/Portfile	2007-04-30 22:11:20 UTC  
> (rev 24708)
> @@ -0,0 +1,29 @@
> +# $Id$
> +
> +PortSystem              1.0
> +PortGroup               python24 1.0
> +
> +name                    py-glewpy
> +version                 0.7.4
> +revision                2
> +maintainers             nomaintainer at macports.org
> +description             Python bindings for GLEW (OpenGL Extension  
> Wrangler)
> +long_description        GLEWpy aims to bring advanced OpenGL  
> extensions to Python. \
> +                        This will allow the Python OpenGL  
> developer to use features such as \
> +                        fragment and vertex shaders and image  
> processing on the GPU. \
> +                        It serves as a compliment to PyOpenGL and  
> toolkits such as \
> +                        GLUT and SDL (pygame).
> +categories-append       graphics
> +platforms               darwin freebsd
> +homepage                http://glewpy.sourceforge.net/
> +master_sites    	http://ovh.dl.sourceforge.net/sourceforge/glewpy/
> +distname                glewpy-${version}
> +checksums               md5 3d2aae86aae328ab60897915bf9530fc
> +patchfiles              patch-setup.py
> +
> +depends_lib-append      port:glew \
> +                        port:py-pyrex
> +
> +post-destroot {
> +        xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
> +}
> Property changes on: trunk/dports/python/py-glewpy/Portfile
> ___________________________________________________________________
> Name: svn:keywords
>    + Id
> Name: svn:eol-style
>    + native
> Added: trunk/dports/python/py-glewpy/files/patch-setup-osx.py (0 =>  
> 24708)
>
> --- trunk/dports/python/py-glewpy/files/patch-setup- 
> osx.py	                        (rev 0)
> +++ trunk/dports/python/py-glewpy/files/patch-setup-osx.py	 
> 2007-04-30 22:11:20 UTC (rev 24708)
> @@ -0,0 +1,69 @@
> +--- setup-osx.py	2006-04-25 00:34:28.000000000 +0200
> ++++ setup-osx.py.new	2007-04-15 21:49:20.000000000 +0200
> +@@ -1,6 +1,9 @@
> + from distutils.core import setup
> + from distutils.extension import Extension
> + from Pyrex.Distutils import build_ext
> ++
> ++glew_include_dirs=['/opt/local/include']
> ++
> + setup(
> +   name = "glewpy",
> +   version = '0.7.4',
> +@@ -16,31 +19,31 @@
> +                             'examples/oneshot.py',
> +                             'examples/logo2.jpg']},
> +   ext_modules=[
> +-    Extension('glew', ['src/glew.pyx'], extra_link_args = ['- 
> framework', 'OpenGL']),
> +-    Extension('gl.threedfx', ['src/gl/threedfx.pyx'],  
> extra_link_args = ['-framework', 'OpenGL']),
> +-    Extension('gl.apple', ['src/gl/apple.pyx'], extra_link_args =  
> ['-framework', 'OpenGL']),
> +-    Extension('gl.arb', ['src/gl/arb.pyx'], extra_link_args = ['- 
> framework', 'OpenGL']),
> +-    Extension('gl.ati', ['src/gl/ati.pyx'], extra_link_args = ['- 
> framework', 'OpenGL']),
> +-    Extension('gl.atix', ['src/gl/atix.pyx'], extra_link_args =  
> ['-framework', 'OpenGL']),
> +-    Extension('gl.ext', ['src/gl/ext.pyx'], extra_link_args = ['- 
> framework', 'OpenGL']),
> +-    Extension('gl.gl', ['src/gl/gl.pyx'], extra_link_args = ['- 
> framework', 'OpenGL']),
> +-    Extension('gl.hp', ['src/gl/hp.pyx'], extra_link_args = ['- 
> framework', 'OpenGL']),
> +-    Extension('gl.ibm', ['src/gl/ibm.pyx'], extra_link_args = ['- 
> framework', 'OpenGL']),
> +-    Extension('gl.ingr', ['src/gl/ingr.pyx'], extra_link_args =  
> ['-framework', 'OpenGL']),
> +-    Extension('gl.intel', ['src/gl/intel.pyx'], extra_link_args =  
> ['-framework', 'OpenGL']),
> +-    Extension('gl.ktx', ['src/gl/ktx.pyx'], extra_link_args = ['- 
> framework', 'OpenGL']),
> +-    Extension('gl.mesa', ['src/gl/mesa.pyx'], extra_link_args =  
> ['-framework', 'OpenGL']),
> +-    Extension('gl.nv', ['src/gl/nv.pyx'], extra_link_args = ['- 
> framework', 'OpenGL']),
> +-    Extension('gl.oml', ['src/gl/oml.pyx'], extra_link_args = ['- 
> framework', 'OpenGL']),
> +-    Extension('gl.pgi', ['src/gl/pgi.pyx'], extra_link_args = ['- 
> framework', 'OpenGL']),
> +-    Extension('gl.rend', ['src/gl/rend.pyx'], extra_link_args =  
> ['-framework', 'OpenGL']),
> +-    Extension('gl.s3', ['src/gl/s3.pyx'], extra_link_args = ['- 
> framework', 'OpenGL']),
> +-    Extension('gl.sgis', ['src/gl/sgis.pyx'], extra_link_args =  
> ['-framework', 'OpenGL']),
> +-    Extension('gl.sgix', ['src/gl/sgix.pyx'], extra_link_args =  
> ['-framework', 'OpenGL']),
> +-    Extension('gl.sgi', ['src/gl/sgi.pyx'], extra_link_args = ['- 
> framework', 'OpenGL']),
> +-    Extension('gl.sunx', ['src/gl/sunx.pyx'], extra_link_args =  
> ['-framework', 'OpenGL']),
> +-    Extension('gl.sun', ['src/gl/sun.pyx'], extra_link_args = ['- 
> framework', 'OpenGL']),
> +-    Extension('gl.win', ['src/gl/win.pyx'], extra_link_args = ['- 
> framework', 'OpenGL'])
> ++    Extension('glew', ['src/glew.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.threedfx', ['src/gl/threedfx.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.apple', ['src/gl/apple.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.arb', ['src/gl/arb.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.ati', ['src/gl/ati.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.atix', ['src/gl/atix.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.ext', ['src/gl/ext.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.gl', ['src/gl/gl.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.hp', ['src/gl/hp.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.ibm', ['src/gl/ibm.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.ingr', ['src/gl/ingr.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.intel', ['src/gl/intel.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.ktx', ['src/gl/ktx.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.mesa', ['src/gl/mesa.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.nv', ['src/gl/nv.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.oml', ['src/gl/oml.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.pgi', ['src/gl/pgi.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.rend', ['src/gl/rend.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.s3', ['src/gl/s3.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.sgis', ['src/gl/sgis.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.sgix', ['src/gl/sgix.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.sgi', ['src/gl/sgi.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.sunx', ['src/gl/sunx.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.sun', ['src/gl/sun.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL']),
> ++    Extension('gl.win', ['src/gl/win.pyx'],  
> include_dirs=glew_include_dirs, extra_link_args = ['-framework',  
> 'OpenGL'])
> +     ],
> +   cmdclass = {'build_ext': build_ext}
> + )
> Property changes on: trunk/dports/python/py-glewpy/files/patch- 
> setup-osx.py
> ___________________________________________________________________
> Name: svn:keywords
>    + Author Date ID Revision
> Name: svn:eol-style
>    + native
> Added: trunk/dports/python/py-glewpy/files/patch-setup.py (0 => 24708)
>
> --- trunk/dports/python/py-glewpy/files/patch- 
> setup.py	                        (rev 0)
> +++ trunk/dports/python/py-glewpy/files/patch-setup.py	2007-04-30  
> 22:11:20 UTC (rev 24708)
> @@ -0,0 +1,16 @@
> +--- setup.py	2006-04-25 00:34:28.000000000 +0200
> ++++ setup.py.new	2007-04-15 23:21:45.000000000 +0200
> +@@ -13,9 +13,12 @@
> +               'pgi', 'rend', 's3', 'sgis', 'sgix', 'sgi', 'sunx',
> +               'sun', 'win']
> +
> +-glew_extensions = [Extension('glew', ['src/glew.pyx'],  
> libraries=libs)]
> ++glew_extensions = [Extension('glew', ['src/glew.pyx'],
> ++                             include_dirs=['/opt/local/include'],
> ++                             libraries=libs)]
> + gl_extensions = [Extension('gl.%s' % g,
> +                            ['src/gl/%s.pyx' % g],
> ++                           include_dirs=['/opt/local/include'],
> +                            libraries=libs) for g in gl_modules]
> +
> + all_extensions = []
> Property changes on: trunk/dports/python/py-glewpy/files/patch- 
> setup.py
> ___________________________________________________________________
> Name: svn:keywords
>    + Author Date ID Revision
> Name: svn:eol-style
>    + native
> Modified: trunk/dports/python/py-matplotlib/Portfile (24707 => 24708)
>
> --- trunk/dports/python/py-matplotlib/Portfile	2007-04-30 19:33:12  
> UTC (rev 24707)
> +++ trunk/dports/python/py-matplotlib/Portfile	2007-04-30 22:11:20  
> UTC (rev 24708)
> @@ -25,7 +25,7 @@
>
>  depends_lib-append       port:freetype port:libpng \
>                           port:antigraingeometry port:py-numarray \
> -                         port:py-numeric port:py-dateutil port:py-tz
> +                         port:py-numeric port:py-dateutil
>
>  patchfiles              patch-setupext.py.diff
>
> Modified: trunk/dports/python/py-pil/Portfile (24707 => 24708)
>
> --- trunk/dports/python/py-pil/Portfile	2007-04-30 19:33:12 UTC  
> (rev 24707)
> +++ trunk/dports/python/py-pil/Portfile	2007-04-30 22:11:20 UTC  
> (rev 24708)
> @@ -4,8 +4,7 @@
>  PortGroup		python24 1.0
>
>  name			py-pil
> -version			1.1.5
> -revision		1
> +version			1.1.6
>  maintainers		nomaintainer at macports.org
>  description		Python Imaging Library
>  long_description	The Python Imaging Library (PIL) adds image \
> @@ -18,7 +17,7 @@
>  homepage		http://www.pythonware.com/
>  master_sites	http://effbot.org/downloads/
>  distname		Imaging-${version}
> -checksums		md5 a64512e39469213ced0d091b9eba76c0
> +checksums		md5 3a9b5c20ca52f0a9900512d2c7347622
>  patchfiles		patch-setup.py
>
>  depends_lib-append	port:jpeg \
> @@ -31,12 +30,6 @@
>
>  post-destroot {
>  	xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
> -	xinstall -m 0644 -W ${worksrcpath} BUILDME CHANGES-115 CONTENTS  
> README \
> +	xinstall -m 0644 -W ${worksrcpath} BUILDME CHANGES CONTENTS README \
>  		${destroot}${prefix}/share/doc/${name}
>  }
> -
> -# broke this variant during update to 1.1.5!
> -#variant tk {
> -#	build.env			WITH_TK=yes ${configure.env}
> -#	depends_lib-append	port:tk port:py-tkinter
> -#}
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-changes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-dev/attachments/20070430/0be627cc/attachment.html


More information about the macports-dev mailing list