[100811] trunk/dports/python
vince at macports.org
vince at macports.org
Wed Dec 26 12:23:03 PST 2012
Revision: 100811
https://trac.macports.org/changeset/100811
Author: vince at macports.org
Date: 2012-12-26 12:23:03 -0800 (Wed, 26 Dec 2012)
Log Message:
-----------
This time, commit in the right directories. Cf. r100800
Revision Links:
--------------
https://trac.macports.org/changeset/100800
Added Paths:
-----------
trunk/dports/python/py32-pyobjc/
trunk/dports/python/py32-pyobjc/Portfile
trunk/dports/python/py32-pyobjc-cocoa/
trunk/dports/python/py32-pyobjc-cocoa/Portfile
Added: trunk/dports/python/py32-pyobjc/Portfile
===================================================================
--- trunk/dports/python/py32-pyobjc/Portfile (rev 0)
+++ trunk/dports/python/py32-pyobjc/Portfile 2012-12-26 20:23:03 UTC (rev 100811)
@@ -0,0 +1,59 @@
+# -*- 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: Portfile 100801 2012-12-26 13:26:42Z vince at macports.org $
+
+PortSystem 1.0
+PortGroup python32 1.0
+
+name py32-pyobjc
+version 2.4
+categories python devel
+license MIT
+maintainers nomaintainer
+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/
+master_sites http://pypi.python.org/packages/source/p/pyobjc-core/
+distname pyobjc-core-${version}
+
+checksums sha1 05dcb83dea0d50cda0a81e3cf07711bd7003c57d \
+ rmd160 9ec46a504e272128aeadff93c9dce8c1b26f73df
+
+depends_lib port:py32-distribute \
+ path:${python.pkgd}/py2app/__init__.py:py32-py2app \
+ port:libxml2
+
+#patchfiles setup.py.diff
+
+platform darwin 12 {
+# patchfiles-append patch-Modules.diff
+}
+
+post-destroot {
+ xinstall -m 644 -W ${worksrcpath} HISTORIC.txt Install.txt \
+ License.txt NEWS.txt README.txt \
+ ${destroot}${prefix}/share/doc/${name}
+ copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}/html
+ delete ${destroot}${prefix}/share/doc/${name}/examples
+ copy ${worksrcpath}/Examples \
+ ${destroot}${prefix}/share/doc/${name}/examples
+}
+
+if {${os.platform} == "darwin" && ${os.major} <= 8} {
+ depends_lib
+ pre-fetch {
+ ui_error "${name} ${version} requires OS X 10.5 or greater."
+ return -code error "incompatible OS X version"
+ }
+}
+
+livecheck.type regex
+livecheck.url http://pypi.python.org/pypi/pyobjc-core/
+livecheck.regex {pyobjc-core ([0-9.]+)}
Added: trunk/dports/python/py32-pyobjc-cocoa/Portfile
===================================================================
--- trunk/dports/python/py32-pyobjc-cocoa/Portfile (rev 0)
+++ trunk/dports/python/py32-pyobjc-cocoa/Portfile 2012-12-26 20:23:03 UTC (rev 100811)
@@ -0,0 +1,37 @@
+# -*- 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: Portfile 100801 2012-12-26 13:26:42Z vince at macports.org $
+
+PortSystem 1.0
+PortGroup python32 1.0
+
+name py32-pyobjc-cocoa
+version 2.4
+categories python devel
+license MIT
+maintainers nomaintainer
+platforms darwin
+description cocoa wrappers for py32-pyobjc
+long_description This port provides the CoreFoundation, Foundation and \
+ AppKit wrappers for use with py32-pyobjc.
+
+homepage http://pyobjc.sourceforge.net/
+master_sites http://pypi.python.org/packages/source/p/pyobjc-framework-Cocoa/
+distname pyobjc-framework-Cocoa-${version}
+
+checksums sha1 89c9662cd2df6f115c2e6fa48ef44bd123b7ab3e \
+ rmd160 e23f68b0e84c5bd3ec653d95ccd8915065aef8a4
+
+depends_lib port:py32-pyobjc
+
+post-destroot {
+ xinstall -m 644 -W ${worksrcpath} \
+ LICENSE.txt README.txt \
+ ${destroot}${prefix}/share/doc/${name}
+ copy ${worksrcpath}/Examples \
+ ${destroot}${prefix}/share/doc/${name}/examples
+ copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}
+}
+
+livecheck.type regex
+livecheck.url http://pypi.python.org/pypi/pyobjc-framework-Cocoa/
+livecheck.regex {pyobjc-framework-Cocoa ([0-9.]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121226/5b84e91a/attachment.html>
More information about the macports-changes
mailing list