# -*- 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
PortGroup select 1.0

name                py-hy
version             1.1.0
categories-append   lang
license             MIT
platforms           {darwin any}
supported_archs     noarch
maintainers         {toby @tobypeterson} openmaintainer
description         Lisp dialect embedded in Python
long_description    Hy is a Lisp dialect that's embedded in Python. Since Hy \
                    transforms its Lisp code into Python abstract syntax tree (AST) \
                    objects, you have the whole beautiful world of Python at your \
                    fingertips, in Lisp form.

homepage            https://hylang.org/

checksums           rmd160  c2a45714885ced78f1708f93f4260d7f52b57adc \
                    sha256  c8943ce306341b4b3edab4142f2c7ca55b43415b0ebf6c0e7969290a6eed2948 \
                    size    120402

python.versions     39 310 311 312 313

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

    depends_run-append      port:hy_select

    select.group            hy
    select.file             ${filespath}/hy${python.version}
}
