# -*- 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.2.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  d3471e343eaae30441355c0fa6b82b4599745920 \
                    sha256  a64c8e21eff1be143accf80fd3b8fde3e28a478c37da298742af647ac3e5e0a7 \
                    size    17293

python.versions     39 310 311 312 313

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

    test.run            yes
}
