# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-xattr
version             1.3.0
revision            0

license             {MIT PSF}
platforms           darwin linux
maintainers         {danchr @danchr} 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            https://github.com/xattr/xattr

checksums           rmd160  fc2196fa9d92c5052c319e2740bd688ecdcfed92 \
                    sha256  30439fabd7de0787b27e9a6e1d569c5959854cb322f64ce7380fedbfa5035036 \
                    size    17148

python.versions     39 310 311 312 313 314

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-cffi

    test.run            yes
}
