[107064] trunk/dports/python
and.damore at macports.org
and.damore at macports.org
Mon Jun 17 02:07:59 PDT 2013
Revision: 107064
https://trac.macports.org/changeset/107064
Author: and.damore at macports.org
Date: 2013-06-17 02:07:59 -0700 (Mon, 17 Jun 2013)
Log Message:
-----------
new port py-pyobj-fsevents: FSEvents API wrapped for PyObjc, fixes detections of source code changes in AppEngine
Added Paths:
-----------
trunk/dports/python/py-pyobjc-fsevents/
trunk/dports/python/py-pyobjc-fsevents/Portfile
Added: trunk/dports/python/py-pyobjc-fsevents/Portfile
===================================================================
--- trunk/dports/python/py-pyobjc-fsevents/Portfile (rev 0)
+++ trunk/dports/python/py-pyobjc-fsevents/Portfile 2013-06-17 09:07:59 UTC (rev 107064)
@@ -0,0 +1,66 @@
+# -*- 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 python 1.0
+
+name py-pyobjc-fsevents
+version 2.4
+categories-append devel
+license MIT
+maintainers and.damore openmaintainer
+platforms darwin
+description FSEvents wrapper for PyObjC
+long_description This port provides the FSEvents wrapper for use with PyObjC
+homepage http://pyobjc.sourceforge.net/
+master_sites http://pypi.python.org/packages/source/p/pyobjc-framework-FSEvents
+distname pyobjc-framework-FSEvents-${version}
+checksums sha1 ee9bd70f579fe850c43ef0cb8194a813fcef2628 \
+ rmd160 7665b7442d66a446cc79550f0cbd4ad61bf67a9c
+
+python.versions 26 27 31 32 33
+python.default_version 27
+
+# since there is replication of code all these pyObjc related framework should probably all be merged
+# as subports of py-pyobj
+
+if {$subport != $name} {
+ depends_lib port:py${python.version}-pyobjc
+
+ # this is from py-pyobj-cocoa port, I'm just pushing current version of the library for now
+ # anyone willing to exted support to python 2.4 and 2.5 should check if the older version works
+# if {${python.version} == 24} {
+# version 2.0
+# fetch.type svn
+# svn.url http://svn.red-bean.com/pyobjc/tags/r200-leopard/pyobjc-framework-Cocoa/
+# worksrcdir pyobjc-framework-Cocoa
+# } elseif {${python.version} == 25} {
+# version 2.2
+# distname pyobjc-framework-Cocoa-${version}
+# checksums md5 324185e6699b59d1ce85b5020e8f83e5 \
+# sha1 b6c224065096cb2389660e19f0a757d0289031a8 \
+# rmd160 c8ebb071a0d04188106c9698f117d655325367f9
+# }
+#
+ platform darwin 8 {
+ depends_fetch
+ depends_lib
+ pre-fetch {
+ return -code error "PyObjC 2 requires Mac OS X 10.5 or later"
+ }
+ }
+
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath} LICENSE.txt ${destroot}${prefix}/share/doc/${subport}
+ copy ${worksrcpath}/Examples ${destroot}${prefix}/share/doc/${subport}/examples
+ if {${python.version} >= 25} {
+ copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${subport}
+ }
+ }
+
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url http://pypi.python.org/pypi/pyobjc-framework-FSEvents
+ livecheck.regex {pyobjc-framework-FSEvents ([0-9.]+)}
+}
Property changes on: trunk/dports/python/py-pyobjc-fsevents/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130617/072980f0/attachment.html>
More information about the macports-changes
mailing list