Bug 266213

Summary: devel/py-orjson: add 3.8.0
Product: Ports & Packages Reporter: Ivan Rozhuk <rozhuk.im>
Component: Individual Port(s)Assignee: Neel Chauhan <nc>
Status: Closed FIXED    
Severity: Affects Some People CC: nc, rozhuk.im
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 266211    
Bug Blocks: 256885    
Attachments:
Description Flags
patch
none
patch none

Description Ivan Rozhuk 2022-09-04 02:44:19 UTC
Created attachment 236349 [details]
patch

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.

WWW: https://github.com/ijl/orjson
WWW: https://pypi.org/project/orjson/
Comment 1 Neel Chauhan freebsd_committer freebsd_triage 2022-09-11 18:04:10 UTC
Your port is giving this issue:

====> Running Q/A tests (stage-qa)                                              
Error: 'lib/python3.9/site-packages/orjson/__pycache__/__init__.cpython-39.pyc' 
is referring to /wrkdirs/usr/ports/devel/py-orjson/work-py39/stage         
*** Error code 1                                                                

Stop.
make: stopped in /usr/ports/devel/py-orjson
Comment 2 Ivan Rozhuk 2022-09-11 22:52:32 UTC
Created attachment 236505 [details]
patch
Comment 3 Neel Chauhan freebsd_committer freebsd_triage 2022-09-12 16:27:25 UTC
Good job! Committed!
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-09-12 16:27:48 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c478823be816b3a4ca019da2abbc320b06149f57

commit c478823be816b3a4ca019da2abbc320b06149f57
Author:     Rozhuk Ivan <rozhuk.im@gmail.com>
AuthorDate: 2022-09-04 02:34:57 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-09-12 16:27:02 +0000

    devel/py-orjson: add 3.8.0

    PR:     266213

 devel/py-orjson/Makefile (new)  | 92 +++++++++++++++++++++++++++++++++++++++++
 devel/py-orjson/distinfo (new)  | 59 ++++++++++++++++++++++++++
 devel/py-orjson/pkg-descr (new) |  7 ++++
 3 files changed, 158 insertions(+)