# Description: Discover and load entry points from installed packages
# URL: https://github.com/takluyver/entrypoints
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-build python3-installer

name=python3-entrypoints
version=0.4
release=1
source=(https://pypi.io/packages/source/e/entrypoints/entrypoints-$version.tar.gz)

build() {
  cd entrypoints-$version

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