# -*- 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 PortGroup deprecated 1.0 name py-demjson version 2.2.4 revision 0 license LGPL-3+ platforms {darwin any} supported_archs noarch maintainers nomaintainer # does not work on newer version due to deprecations in the Python standard library python.versions 39 deprecated.upstream_support no 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 https://github.com/dmeranda/demjson checksums rmd160 2d5f60a791671465dc91ab370a8ad7480ed81a26 \ sha256 31de2038a0fdd9c4c11f8bf3b13fe77bc2a128307f965c8d5fb4dc6d6f6beb79 \ size 131457 if {${name} ne ${subport}} { patchfiles-append no_2to3.diff post-patch { system -W ${worksrcpath} "${prefix}/bin/2to3-${python.branch} --write --nobackups test demjson.py" } 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} } test.run yes }