# -*- 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.3.1
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  081330ddfac6ade2bb8a8b0a3881331bbe006ea5 \
                    sha256  cf7b85fc59079b5da794c7ecaafc6a6e9140f73305af03836c3d52cf978b6645 \
                    size    126935

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