# -*- 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.12.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  32d3def235ec97c49ea5aedcd41a7783baead726 \
                    sha256  729b2d3418c8ca7dccfaa66b9fb7a98bec28474212650d27c5c04358ce26f55c \
                    size    1965902

python.versions     310 311 312 313 314

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

    depends_lib-append  \
                    port:jq

    patchfiles      patch-pyproject.toml.diff
}
