24 lines
689 B
Bash
24 lines
689 B
Bash
# Template file for 'python3-ultrajson'
|
|
pkgname=python3-ultrajson
|
|
version=4.0.2
|
|
revision=1
|
|
wrksrc="ujson-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools_scm"
|
|
makedepends="python3-devel"
|
|
depends="python3"
|
|
checkdepends="python3-pytest"
|
|
short_desc="Ultra fast JSON encoder and decoder for Python"
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/ultrajson/ultrajson"
|
|
distfiles="${PYPI_SITE}/u/ujson/ujson-${version}.tar.gz"
|
|
checksum=c615a9e9e378a7383b756b7e7a73c38b22aeb8967a8bfbffd4741f7ffd043c4d
|
|
|
|
do_check() {
|
|
PYTHONPATH="$(cd build/lib* && pwd)" python3 -m pytest
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|