# -*- 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.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  89ee0d3bc3ada2b0c7df1392360a84399a8f7fd1 \
                    sha256  4af4bd7b262ba0f41bc2d441219ddb455036c0e8890b279b4aa889390baedad7 \
                    size    126966

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