# Description: Low-level components of distutils2/packaging
# URL: https://bitbucket.org/pypa/distlib/src/master/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-build python3-installer python3-wheel

name=python3-distlib
version=0.3.7
release=1
source=(https://pypi.org/packages/source/d/distlib/distlib-$version.tar.gz)

build() {
  cd distlib-$version

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