# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $

PortSystem 1.0
PortGroup python 1.0

name			   py-xattr
version			   0.6.1
license			   {MIT PSF}
platforms		   darwin linux
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/
distname           xattr-${version}
checksums          md5 abcc67c93b28edbefcf10d3e6e324f89 \
                   sha256 7c025768496f3162f79059456c870ab5ef7094c39bb1f138446df44981e18069

python.versions	   24 25 26 27

if {${name} ne ${subport}} {
    depends_build  port:py${python.version}-setuptools
    livecheck.type      none
} else {
    livecheck.type      regex
    livecheck.url       http://pypi.python.org/pypi/xattr/
    livecheck.regex     xattr-(\[0-9.\]+)
}
