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

name                py-jq
version             1.13.0
revision            0

license             BSD
maintainers         {mps @Schamschula} openmaintainer
description         This project contains Python bindings for jq.
long_description    {*}${description}
homepage            https://github.com/mwilliamson/jq.py

checksums           rmd160  37a8441fedc1687f4696a41170c7e05b534f6191 \
                    sha256  e62bdddeab3b8a0a404581a7bb6f1e8c4cc6082280870031f746074f4cac52c0 \
                    size    1966083

python.versions     310 311 312 313 314 315

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

    depends_lib-append  \
                    port:jq

    patchfiles      patch-pyproject.toml.diff
}
