# Description: Namespace control and lazy-import mechanism
# URL: https://github.com/pytest-dev/apipkg
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-hatch-vcs

name=python3-apipkg
version=3.0.2
release=2
source=(https://files.pythonhosted.org/packages/source/a/apipkg/apipkg-$version.tar.gz)

build() {
  cd apipkg-$version

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