21 lines
615 B
Bash
21 lines
615 B
Bash
|
# Template file for 'python3-ultrajson'
|
||
|
pkgname=python3-ultrajson
|
||
|
version=1.35
|
||
|
revision=1
|
||
|
wrksrc="ujson-${version}"
|
||
|
build_style=python3-module
|
||
|
hostmakedepends="python3-setuptools"
|
||
|
makedepends="python3-devel"
|
||
|
short_desc="Ultra fast JSON encoder and decoder for Python"
|
||
|
maintainer="k4leg <d0xi@inbox.ru>"
|
||
|
license="BSD-3-Clause"
|
||
|
homepage="https://github.com/esnme/ultrajson"
|
||
|
distfiles="${PYPI_SITE}/u/ujson/ujson-${version}.tar.gz"
|
||
|
checksum=f66073e5506e91d204ab0c614a148d5aa938bdbf104751be66f8ad7a222f5f86
|
||
|
patch_args="-Np1"
|
||
|
|
||
|
post_install() {
|
||
|
sed -n '/Developed/,/terms/p' python/ujson.c > LICENSE
|
||
|
vlicense LICENSE
|
||
|
}
|