void-packages/srcpkgs/python3-orjson/template

21 lines
701 B
Bash

# Template file for 'python3-orjson'
pkgname=python3-orjson
version=3.10.7
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 <void@placeviolette.net>"
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=82794bd7a67caf8ba45f6c157249bab32a1651ae188f2bd8f8af8ced3e16042f
post_install() {
vlicense LICENSE-MIT
}