Files
ports/main/python3-orjson/spkgbuild
2023-10-27 12:57:42 +00:00

15 lines
403 B
Plaintext
Executable File

# description : Fast correct Python JSON library supporting dataclasses and datetimes
# homepage : https://github.com/ijl/orjson
# depends : maturin
name=python3-orjson
version=3.9.10
release=1
source="https://github.com/ijl/orjson/archive/$version/orjson-$version.tar.gz"
build() {
cd orjson-$version
maturin build --release --strip
python3 -m installer --destdir=$PKG target/wheels/*.whl
}