# -*- 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.20.2
revision            0
categories-append   www
license             MIT

python.versions     27 39 310 311 312 313 314

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  412465f4880905ece39e80ea31abd86ef71ce56a \
                    sha256  5fe7a6ce14d1c300d80d08695b7f7e633de6cd72c80644021874d985b3393649 \
                    size    85784

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
}
