# Description: replaces the standard librarys logging module
# URL: https://github.com/mitsuhiko/logbook/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-cython python3-six

name=python3-logbook
version=1.6.0
release=1
source=(https://github.com/mitsuhiko/logbook/archive/$version/$name-$version.tar.gz)

build() {
  cd logbook-$version

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