# 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-wheel

name=python3-canonicaljson
version=2.0.0
release=2
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 --destdir=$PKG dist/*.whl
}
