Revision
89724
Author
stromnov@macports.org
Date
2012-02-08 01:56:48 -0800 (Wed, 08 Feb 2012)

Log Message

py-macfsevents: unify

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/dports/python/py-macfsevents/Portfile (89719 => 89724)


--- trunk/dports/python/py26-macfsevents/Portfile	2012-02-08 00:06:40 UTC (rev 89719)
+++ trunk/dports/python/py-macfsevents/Portfile	2012-02-08 09:56:48 UTC (rev 89724)
@@ -2,10 +2,14 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-macfsevents
+name                py-macfsevents
 version             0.2.4
+revision            0
+license             ?
+platforms           darwin
+
 maintainers         stromnov openmaintainer
 
 description         Thread-based interface to file system observation primitives.
@@ -14,21 +18,24 @@
                     directory observation primitives using callbacks. It wraps \
                     the Mac OS X FSEvents API in a C-extension.
 
-platforms           darwin
-
 homepage            http://pypi.python.org/pypi/MacFSEvents/
 master_sites        http://pypi.python.org/packages/source/M/MacFSEvents/
+
 distname            MacFSEvents-${version}
 
-checksums           md5     950033eb0a138a131c8c9c0f933ce6d8 \
-                    sha1    7f8201cc16ff036251783804df07a756ad434cea \
-                    rmd160  fe07213a11bf8c21baddbf44f5f4f60f33d97263
+checksums           rmd160  fe07213a11bf8c21baddbf44f5f4f60f33d97263 \
+                    sha256  53cd27e5e11b1030e2bd3ca183c06ef3cb94e254b1fd37c4750f08ed72fa7d7d
 
-depends_build       port:py26-distribute
+python.default_version  27
+python.versions     26 27
 
-post-destroot {
-        xinstall -m 644 -W ${worksrcpath} README.rst CHANGES.rst \
-                ${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+    depends_build-append    port:py${python.version}-distribute
+
+    post-destroot {
+            xinstall -m 644 -W ${worksrcpath} README.rst CHANGES.rst \
+                    ${destroot}${prefix}/share/doc/${name}
+    }
 }
 
 livecheck.type      regex