# -*- 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-osxmetadata
version                     1.4.1
revision                    0

supported_archs             noarch
platforms                   {darwin any}
license                     MIT
maintainers                 {@RhetTbull gmail.com:rturnbull} openmaintainer

description                 Read and write meta data, such as tags/keywords, Finder \
                            comments, etc. on MacOS files
long_description            {*}${description}

homepage                    https://github.com/RhetTbull/osxmetadata

checksums                   rmd160  06129b76d421bb0a76a72d53c976622aa05c967f \
                            sha256  1e33935d8777f96808a2742d43064c9d6672148ff0b19f5713629c2de1fab795 \
                            size    2558986

python.versions             310 311 312 313 314

python.pep517_backend       hatch

if {${name} ne ${subport}} {
    depends_build-append    port:py${python.version}-wheel \
                            port:py${python.version}-setuptools

    depends_lib-append      port:py${python.version}-applescript \
                            port:py${python.version}-bitstring \
                            port:py${python.version}-click \
                            port:py${python.version}-pyobjc \
                            port:py${python.version}-xattr
}
