[69656] trunk/dports/python

jwa at macports.org jwa at macports.org
Mon Jul 12 09:37:09 PDT 2010


Revision: 69656
          http://trac.macports.org/changeset/69656
Author:   jwa at macports.org
Date:     2010-07-12 09:37:05 -0700 (Mon, 12 Jul 2010)
Log Message:
-----------
port to use wxWidgets with Python 2.7

Added Paths:
-----------
    trunk/dports/python/py27-wxpython/
    trunk/dports/python/py27-wxpython/Portfile

Added: trunk/dports/python/py27-wxpython/Portfile
===================================================================
--- trunk/dports/python/py27-wxpython/Portfile	                        (rev 0)
+++ trunk/dports/python/py27-wxpython/Portfile	2010-07-12 16:37:05 UTC (rev 69656)
@@ -0,0 +1,51 @@
+# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign at macports.org $
+
+PortSystem 1.0
+PortGroup	python27 1.0
+
+name		py27-wxpython
+version		2.8.11.0
+
+categories	python graphics
+platforms	darwin
+maintainers	mww jwa
+description	Python interface to the wxWindows cross platform GUI
+long_description	wxPython is a GUI toolkit for the Python programming \
+    language. It allows Python programmers to create \
+    programs with a robust, highly functional graphical \
+    user interface, simply and easily. It is implemented \
+    as a Python extension module (native code) that wraps \
+    the popular wxWindows cross platform GUI library, \
+    which is written in C++.
+
+homepage	http://www.wxpython.org/
+master_sites	sourceforge:wxpython
+distname	wxPython-src-${version}
+use_bzip2	yes
+checksums           md5     63f73aae49e530852db56a31b57529fa \
+                    sha1    18982edc236a1d87e4eef018928358c925aa5b17 \
+                    rmd160  9e93b0acaf85ba1a4be9c324a872037c44a7694a
+
+depends_lib	port:wxWidgets
+
+worksrcdir	${distname}/wxPython
+
+extract.post_args	"| tar -xf - ${worksrcdir} ${distname}/docs"
+
+universal_variant	no
+configure.build_arch	i386
+
+build.env	UNICODE="1" WXPORT="mac" PATH="${prefix}/lib/wx/config:$env(PATH)"
+
+destroot.env	UNICODE="1" WXPORT="mac" PATH="${prefix}/lib/wx/config:$env(PATH)"
+
+post-destroot {
+    xinstall -d -m 755 ${destroot}${prefix}/share/doc/
+    file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
+    file copy ${worksrcpath}/samples \
+	${destroot}${prefix}/share/doc/${name}/examples
+}
+
+livecheck.type	regex
+livecheck.url	${homepage}
+livecheck.regex	wxPython (2\\.\[0-9\]+\\.\[0-9\]+\\.\[0-9\]+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100712/084381d1/attachment.html>


More information about the macports-changes mailing list