contrib/python3-canonicaljson/Pkgfile

16 lines
570 B
Plaintext

# Description: Canonical JSON
# URL: https://pypi.python.org/pypi/canonicaljson/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-frozendict python3-simplejson python3-build python3-installer
name=python3-canonicaljson
version=2.0.0
release=1
source=(https://github.com/matrix-org/python-canonicaljson/archive/v$version/$name-$version.tar.gz)
build() {
cd python-canonicaljson-$version
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}