python3-ultrajson: update to 4.0.2.

This commit is contained in:
Andrew J. Hesford 2021-01-25 09:54:17 -05:00
parent 735562c272
commit 1345c1957d

View file

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