# Description: Common code for Synapse, Sydent and Sygnal
# URL: https://github.com/matrix-org/matrix-python-common
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-build python3-installer

name=python3-matrix-common
version=1.3.0
release=1
source=(https://pypi.org/packages/source/m/matrix_common/matrix_common-$version.tar.gz)

build() {
  cd matrix_common-$version
  /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
  /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}
