[58160] trunk/dports/python

blb at macports.org blb at macports.org
Tue Sep 22 23:08:54 PDT 2009


Revision: 58160
          http://trac.macports.org/changeset/58160
Author:   blb at macports.org
Date:     2009-09-22 23:08:49 -0700 (Tue, 22 Sep 2009)
Log Message:
-----------
New port - python/py26-xattr, python wrapper for extended filesystem attributes

Modified Paths:
--------------
    trunk/dports/python/py26-xattr/Portfile

Added Paths:
-----------
    trunk/dports/python/py26-xattr/

Modified: trunk/dports/python/py26-xattr/Portfile
===================================================================
--- trunk/dports/python/py25-xattr/Portfile	2009-09-22 22:53:52 UTC (rev 58142)
+++ trunk/dports/python/py26-xattr/Portfile	2009-09-23 06:08:49 UTC (rev 58160)
@@ -1,12 +1,11 @@
 # $Id$
 
-PortSystem 1.0
-PortGroup python25 1.0
-
-name                py25-xattr
+PortSystem          1.0
+PortGroup           python26 1.0
+name                py26-xattr
 version             0.5
 categories          python
-maintainers         mmoll
+maintainers         nomaintainer
 description         xattr is a Python wrapper for Darwin's extended filesystem attributes
 long_description    Extended attributes extend the basic attributes of files and directories \
                     in the file system. They are stored as name:data pairs associated with file \
@@ -20,15 +19,18 @@
 svn.url             http://svn.red-bean.com/bob/xattr/releases/xattr-${version}/
 worksrcdir          xattr-${version}
 
-depends_lib-append  port:py25-setuptools
+conflicts           py25-xattr
 
-platform darwin 7 {
-	pre-fetch {
-		ui_msg "This port needs filesystem Extended Attributes (EA) that are only available on Darwin 8 and later!"
-    	throw ERROR "Not supported on systems older than Darwin 8"
-  }
+depends_lib-append  port:py26-setuptools
+
+post-destroot {
+   foreach binfile [glob -tails -directory ${destroot}${python.prefix}/bin *] {
+      ln -s ${python.prefix}/bin/${binfile} \
+         ${destroot}${prefix}/bin/${binfile}
+   }
 }
 
 livecheck.type      regex
 livecheck.url       http://svn.red-bean.com/bob/xattr/releases/
 livecheck.regex     xattr-(\[0-9.\]+)
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090922/950c04d1/attachment.html>


More information about the macports-changes mailing list