Revision
100740
Author
jmr@macports.org
Date
2012-12-21 14:25:54 -0800 (Fri, 21 Dec 2012)

Log Message

py*-xattr: unify

Modified Paths

Removed Paths

Diff

Modified: trunk/dports/python/py-xattr/Portfile (100739 => 100740)


--- trunk/dports/python/py-xattr/Portfile	2012-12-21 22:14:45 UTC (rev 100739)
+++ trunk/dports/python/py-xattr/Portfile	2012-12-21 22:25:54 UTC (rev 100740)
@@ -1,21 +1,22 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			   py-xattr
 version			   0.6.1
-categories		   python
 license			   {MIT PSF}
 platforms		   darwin linux
-maintainers		   optusnet.com.au:arsptr
-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 \
-                   system objects (files, directories, symlinks, etc). \
-                   \
-                   Extended attributes are currently only available on Darwin 8.0 and later. \
-                   This corresponds to Mac OS X 10.4 (Tiger).
+maintainers		   perry optusnet.com.au:arsptr openmaintainer
+description		   Python wrapper for extended filesystem attributes
+long_description   xattr is a Python wrapper for Darwin, Linux, and FreeBSD \
+                   extended filesystem attributes. Extended attributes \
+                   extend the basic attributes of files and directories in \
+                   the file system. They are stored as name:data pairs \
+                   associated with file system objects (files, directories, \
+                   symlinks, etc). Extended attributes are available on \
+                   Darwin 8.0 and later. This corresponds to Mac OS X 10.4 \
+                   (Tiger) and later.
 
 homepage		   http://undefined.org/python/#xattr
 master_sites	   http://pypi.python.org/packages/source/x/xattr/
@@ -23,8 +24,13 @@
 checksums          md5 abcc67c93b28edbefcf10d3e6e324f89 \
                    sha256 7c025768496f3162f79059456c870ab5ef7094c39bb1f138446df44981e18069
 
-depends_lib-append  port:py24-distribute
+python.versions	   24 25 26 27
 
-livecheck.type      regex
-livecheck.url       http://svn.red-bean.com/bob/xattr/releases/
-livecheck.regex     xattr-(\[0-9.\]+)
+if {$subport != $name} {
+    depends_build  port:py${python.version}-distribute
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       http://pypi.python.org/pypi/xattr/
+    livecheck.regex     xattr-(\[0-9.\]+)
+}