# -*- 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-photoscript
version                 0.5.3
revision                0

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

description             Python wrapper around Apple Photos applescript interface
long_description        {*}${description}

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

checksums               rmd160  acbd4f2369b68f42c717bd9652c2ae1799b8544a \
                        sha256  4d54bb99866f2450903be9f4996f311097d816e26dfae55c541f2ef58fc745dd \
                        size    29580

python.versions         310 311 312 313 314

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

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