[35876] trunk/dports/python

jmr at macports.org jmr at macports.org
Wed Apr 9 02:15:55 PDT 2008


Revision: 35876
          http://trac.macosforge.org/projects/macports/changeset/35876
Author:   jmr at macports.org
Date:     2008-04-09 02:15:54 -0700 (Wed, 09 Apr 2008)

Log Message:
-----------
New: PyObjC 2.0 for Python 2.5 (requires Leopard)

Added Paths:
-----------
    trunk/dports/python/py25-pyobjc2/
    trunk/dports/python/py25-pyobjc2/Portfile

Added: trunk/dports/python/py25-pyobjc2/Portfile
===================================================================
--- trunk/dports/python/py25-pyobjc2/Portfile	                        (rev 0)
+++ trunk/dports/python/py25-pyobjc2/Portfile	2008-04-09 09:15:54 UTC (rev 35876)
@@ -0,0 +1,44 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup python25 1.0
+
+name			py25-pyobjc2
+version			2.0
+categories		python devel
+maintainers		jmr openmaintainer
+platforms		darwin
+description		bidirectional bridge between python and Objective C
+long_description	The PyObjC project aims to provide a bridge between \
+				the Python and Objective-C programming languages. The \
+				bridge is intended to be fully bidirectional, allowing \
+				the Python programmer to take full advantage of the \
+				power provided by various Objective-C based toolkits \
+				and the Objective-C programmer transparent access to \
+				Python based functionality.
+
+homepage		http://pyobjc.sourceforge.net/
+
+depends_lib     port:py25-setuptools \
+                port:py25-py2app-devel
+
+fetch.type      svn
+svn.url         http://svn.red-bean.com/pyobjc/tags/r200-leopard/pyobjc-core/
+worksrcdir      pyobjc-core
+
+if {${os.major} < 9} {
+    pre-fetch {
+        return -code error "PyObjC 2.0 requires Mac OS X 10.5"
+    }
+}
+
+post-destroot {
+	xinstall -m 644 -W ${worksrcpath} HISTORIC.txt Install.html Install.txt \
+		License.txt NEWS.html NEWS.txt README.txt ReadMe.html \
+		${destroot}${prefix}/share/doc/${name}
+	file copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}/html
+	file delete ${destroot}${prefix}/share/doc/${name}/examples
+	file copy ${worksrcpath}/Examples \
+		${destroot}${prefix}/share/doc/${name}/examples
+}


Property changes on: trunk/dports/python/py25-pyobjc2/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080409/5bf54ee7/attachment.html


More information about the macports-changes mailing list