# -*- 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.11.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  15d25657944383fbba001fff03d6e02b467ad204 \
                    sha256  67f1032e3a61b4e5dcdd4e390527b0000db521ac9872b64517c83c5f71ef8450 \
                    size    2031555

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
}
