# -*- 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-simplejson
version             3.19.3
revision            0
categories-append   www
license             MIT

python.versions     27 39 310 311 312 313

maintainers         {stromnov @stromnov} openmaintainer

description         Simple, fast, extensible JSON encoder/decoder for Python

long_description    simplejson is a simple, fast, complete, correct and \
                    extensible JSON encoder and decoder for Python 2.4+. \
                    It is pure Python code with no dependencies, but \
                    includes an optional C extension for a serious speed \
                    boost.

homepage            https://simplejson.readthedocs.org/

checksums           rmd160  ed30718e54d554cb05ad2a66bc9087398f77d21a \
                    sha256  8e086896c36210ab6050f2f9f095a5f1e03c83fa0e7f296d6cba425411364680 \
                    size    85237

if {${name} ne ${subport}} {
    post-destroot {
        set docdir ${destroot}${prefix}/share/doc/${subport}
        xinstall -d ${docdir}
        xinstall -m 0644 -W ${worksrcpath} \
            CHANGES.txt README.rst index.rst \
            ${docdir}
    }

    test.run        yes
}
