# -*- 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-jsonpickle
version             4.1.1
revision            0

categories-append   textproc
supported_archs     noarch
platforms           {darwin any}
license             BSD
maintainers         nomaintainer

description         Python library for serializing any arbitrary \
                    object graph into JSON.
long_description    {*}${description} It can take almost any Python \
                    object and turn the object into JSON. Additionally, \
                    it can reconstitute the object back into Python.

homepage            https://jsonpickle.github.io

checksums           rmd160  89fb00bae6017529b4f69483c51e5cd78bc90464 \
                    sha256  f86e18f13e2b96c1c1eede0b7b90095bbb61d99fedc14813c44dc2f361dbbae1 \
                    size    316885

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools_scm

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