Files
packages/anda/python/orjson/python3-orjson.spec
T
windowsboy111 7d151454f9 Update python3-orjson.spec
Signed-off-by: windowsboy111 <wboy111@outlook.com>
2023-01-09 11:10:31 +08:00

34 lines
878 B
RPMSpec

Name: python3-orjson
Version: 3.8.4
Release: %autorelease
Summary: Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy
License: MIT or APACHE-2.0
URL: https://github.com/ijl/orjson
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
BuildArch: noarch
BuildRequires: maturin rust >= 1.60
Requires: libc
%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.
%prep
%autosetup -n orjson-%{version}
%build
maturin build --release --strip
%install
pip install .
%files
%doc README.md
%license LICENSE-APACHE
%license LICENSE-MIT
%changelog
* Sun Jan 08 2023 windowsboy111 <wboy111@outlook.com> - 3.8.4-1
- Initial package.