# Description: Python library for creating "editable wheels"
# URL: https://github.com/pfmoore/editables
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-build python3-flit-core python3-installer

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

build() {
  cd editables-$version

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