# -*- 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.2.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  2a482dd43e37227e2dd8060849592876623014aa \
                    sha256  fa1a193fb2ccbe977681b15cc59094b2ee5ff4e22119fd723f8a35951003cf76 \
                    size    124575

python.versions     310 311 312 313 314

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}
}
