From a2c7b607fa2a3846748b9adf0036a0ab3cd6fce8 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Thu, 18 Jul 2024 03:52:17 -0400 Subject: [PATCH] New package: python3-orjson-3.10.6 --- srcpkgs/python3-orjson/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-orjson/template diff --git a/srcpkgs/python3-orjson/template b/srcpkgs/python3-orjson/template new file mode 100644 index 00000000000..37c94acff24 --- /dev/null +++ b/srcpkgs/python3-orjson/template @@ -0,0 +1,20 @@ +# Template file for 'python3-orjson' +pkgname=python3-orjson +version=3.10.6 +revision=1 +build_style=python3-pep517 +build_helper="rust" +hostmakedepends="maturin cargo" +makedepends="rust-std python3" +checkdepends="python3-pytest-xdist" +short_desc="Python JSON library supporting dataclasses, datetimes, and numpy" +maintainer="classabbyamp " +license="Apache-2.0 OR MIT" +homepage="https://github.com/ijl/orjson" +changelog="https://raw.githubusercontent.com/ijl/orjson/master/CHANGELOG.md" +distfiles="https://github.com/ijl/orjson/archive/refs/tags/${version}.tar.gz" +checksum=9891b984bcdbe77f5ee05cda7f3628c7fdd188317a02f3482ace4f63a64bd7c6 + +post_install() { + vlicense LICENSE-MIT +}