BSD Ports

devel/py-orjson 3.8.0_10 MidnightBSD

Fast, correct JSON library for Python

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
22173208f1
License
Apache-2.0, mit
Categories
devel, python

Description

orjson is a fast, correct JSON library for Python. 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.

In the other systems

SystemPortVersion
MidnightBSDdevel/py-orjson3.8.0_10
FreeBSDdevel/py-orjson3.11.9_3
DragonFlydevel/py-orjson3.10.15_1
HardenedBSDdevel/py-orjson3.11.9_2
GhostBSDdevel/py-orjson3.11.9_2

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}orjson

From mports:

cd /usr/mports/devel/py-orjson && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}orjson>0:devel/py-orjson

Dependencies

As this port's Makefile names them.

Build 2

Build dependencies 2

Configuration

No options to configure.

USES
cargo python cpe
Service scripts
none

Files

distinfo 29
FileSizeSHA256
rust/crates/ahash-0.8.0.crate3977657e6e951cfbb2db8de1828d49073a113a29fd7117b1596caa781a258c7e38d72
rust/crates/arrayvec-0.7.2.crate293418da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6
rust/crates/associative-cache-1.0.1.crate1404846016233fc1bb55c23b856fe556b7db6ccd05119a0a392e04f0b3b7c79058f16
rust/crates/autocfg-1.1.0.crate13272d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa
rust/crates/beef-0.5.2.crate152753a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1
rust/crates/bytecount-0.6.3.crate124162c676a478f63e9fa2dd5368a42f28bba0d6c560b775f38583c8bbaa7fcd67c9c
rust/crates/castaway-0.2.2.crate110918a17ed5635fc8536268e5d4de1e22e81ac34419e5f052d4d51f4e01dcc263fcc
rust/crates/cc-1.0.73.crate578802fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11
rust/crates/cfg-if-1.0.0.crate7934baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd
rust/crates/chrono-0.4.19.crate155663670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73
rust/crates/compact_str-0.6.1.crate545555138945395949e7dfba09646dc9e766b548ff48e23deb5246890e6b64ae9e1b9
rust/crates/encoding_rs-0.8.31.crate1.370113e+069852635589dc9f9ea1b6fe9f05b50ef208c85c834a562f0c6abb1c475736ec2b
rust/crates/itoa-1.0.3.crate104816c8af84674fe1f223a982c933a0ee1086ac4d4052aa0fb8060c12c6ad838e754
rust/crates/libc-0.2.132.crate5953178371e4e5341c3a96db127eb2465ac681ced4c433e01dd0e938adbef26ba93ba5
rust/crates/libm-0.1.4.crate1105937fc7aa29613bd6a620df431842069224d8bc9011086b1db4c0e0cd47fa03ec9a
rust/crates/num-integer-0.1.45.crate22529225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9
rust/crates/num-traits-0.2.15.crate49262578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd
rust/crates/once_cell-1.13.1.crate31335074864da206b4973b84eb91683020dbefd6a8c3f0f38e054d93954e891935e4e
rust/crates/packed_simd_2-0.3.8.crate97388a1914cd452d8fccd6f9db48147b29fd4ae05bea9dc5d9ad578509f72415de282
rust/crates/pyo3-build-config-0.17.0.crate292310a35ea0dde58f923bcd30f0f9a64e79033cd51e176c32bd50efccbbe7f289b25

Commit history 1

DateCommitCreditsLog message
22173208f1 Lucas Holt */*: add CPE identifiers from the matching FreeBSD ports
mport audit matches installed packages against sec.midnightbsd.org by CPE, so a port without one is invisible to it regardless of how vulnerable it is. These 126 ports had no CPE while the corresponding FreeBSD port did, so the vendor and product were copied from there rather than guessed. Sampled against the audit API to confirm the identifiers resolve, e.g. cad/gtkwave tonybybell:gtkwave 82 CVEs archivers/libunrar rarlab:unrar 12 audio/espeak-ng espeak-ng:espeak-ng 5 archivers/minizip-ng zlib-ng:minizip-ng 3 audio/faust grame:faust 3 cad/admesh admesh_project:admesh 3 Three ports were deliberately skipped: archivers/p5-Archive-Tar, …