# -*- 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-demjson version 2.2.4 revision 0 license LGPL-3+ platforms {darwin any} supported_archs noarch maintainers nomaintainer python.versions 27 38 description encoder, decoder, and lint/validator for JSON compliant with RFC 4627 long_description encoder, decoder, and lint/validator for JSON (JavaScript \ Object Notation) compliant with RFC 4627. This module \ provides classes and functions for encoding or decoding data \ represented in the language-neutral JSON format. This \ implementation tries to be as compliant to the JSON \ specification (RFC 4627) as possible, while still providing \ many optional extensions to allow less restrictive \ JavaScript syntax. It includes complete Unicode support, \ including UTF-32, BOM, and surrogate pair processing. It can \ also support JavaScript's NaN and Infinity numeric types as \ well as its 'undefined' type. It also includes a lint-like \ JSON syntax validator which tests JSON text for strict \ compliance to the standard. homepage http://deron.meranda.us/python/demjson/ checksums rmd160 2d5f60a791671465dc91ab370a8ad7480ed81a26 \ sha256 31de2038a0fdd9c4c11f8bf3b13fe77bc2a128307f965c8d5fb4dc6d6f6beb79 \ size 131457 if {${name} ne ${subport}} { if {${python.version} >= 36} { patchfiles-append no_2to3.diff post-patch { system -W ${worksrcpath} "${prefix}/bin/2to3-${python.branch} --write --nobackups test demjson.py" } } depends_build-append \ port:py${python.version}-setuptools post-destroot { xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${subport} xinstall -m 0644 -W ${worksrcpath} README.txt LICENSE.txt \ ${destroot}${prefix}/share/doc/${subport} } }