# -*- 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 # Note: update py-types-ujson to match name py-ujson version 5.10.0 revision 0 categories-append devel license BSD maintainers {reneeotten @reneeotten} openmaintainer description Ultra fast JSON encoder and decoder for Python long_description {*}${description} homepage https://github.com/ultrajson/ultrajson checksums rmd160 d412c2e88e4ffe127251e46617d739850ef78512 \ sha256 b3cd8f3c5d8c7738257f1018880444f7b7d9b66232c64649f562d7ba86ad4bc1 \ size 7154885 python.versions 38 39 310 311 312 if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-setuptools_scm \ port:py${python.version}-toml if {[string match *clang* ${configure.compiler}] && ${configure.cxx_stdlib} ne ""} { configure.cxx ${configure.cxx} -stdlib=${configure.cxx_stdlib} } test.run yes post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 {*}[glob ${worksrcpath}/README.*] \ ${destroot}${docdir} } }