# -*- 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           cargo_fetch 1.0
PortGroup           python 1.0
PortGroup           legacysupport 1.1

name                py-orjson
version             3.11.0
revision            0
categories-append   devel
license             MIT
platforms           darwin
supported_archs     arm64 x86_64

python.versions     39 310 311 312 313

maintainers         {toby @tobypeterson} openmaintainer

description         orjson is a fast, correct JSON library
long_description    {*}${description}. It benchmarks as the fastest \
                    Python library for JSON and is more correct than \
                    the standard json library or other third-party \
                    libraries. It serializes dataclass, datetime, \
                    numpy, and UUID instances natively.

homepage            https://github.com/ijl/orjson

checksums           ${distname}${extract.suffix} \
                    rmd160  980b5acbbafc7c7b3ddb5b51b97635db9e74a7c9 \
                    sha256  2e4c129da624f291bcc607016a99e7f04a353f6874f3bd8d9b47b88597d5f700 \
                    size    5318246

python.pep517           yes
python.pep517_backend   maturin
