Bug 266213 - devel/py-orjson: add 3.8.0
Summary: devel/py-orjson: add 3.8.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Neel Chauhan
URL:
Keywords:
Depends on: 266211
Blocks: 256885
  Show dependency treegraph
 
Reported: 2022-09-04 02:44 UTC by Ivan Rozhuk
Modified: 2022-09-12 16:27 UTC (History)
2 users (show)

See Also:


Attachments
patch (8.46 KB, patch)
2022-09-04 02:44 UTC, Ivan Rozhuk
no flags Details | Diff
patch (8.47 KB, patch)
2022-09-11 22:52 UTC, Ivan Rozhuk
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(+)