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 +}