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

python.rootname     py-applescript
name                py-applescript
version             1.0.3
revision            0

supported_archs     noarch
platforms           {darwin any}
# license CC0-1.0
license             public-domain
maintainers         nomaintainer

description         An easy-to-use Python wrapper for NSAppleScript, allowing \
                    Python scripts to communicate with AppleScripts and \
                    AppleScriptable applications.
long_description    {*}${description}

homepage            https://github.com/rdhyee/py-applescript

checksums           rmd160  4f9726f7182ca9df22ebea13a1126599164394a9 \
                    sha256  fa22c955fc25b3d24e03e66825b36a721897ec0d9b6ce185a4d177e2d1ecfa6b \
                    size    24925

python.versions     39 310 311 312 313

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