# Description: Design and implementation for a planned importlib.resources
# URL: https://github.com/python/importlib_resources
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-build python3-installer python3-toml python3-zipp

name=python3-importlib_resources
version=5.12.0
release=1
source=(https://files.pythonhosted.org/packages/source/i/importlib_resources/importlib_resources-$version.tar.gz)

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