# Description: Modern, extensible Python project management
# URL: https://github.com/pypa/hatch
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-editables python3-pathspec python3-pluggy python3-trove-classifiers

name=python3-hatchling
version=1.18.0
release=1
source=(https://github.com/ofek/hatch/archive/hatchling-v$version/hatchling-$version.tar.gz)

build() {
  cd hatch-hatchling-v$version

  /usr/bin/python3 -m build backend
  PIP_CONFIG_FILE=/dev/null /usr/bin/pip3 install --isolated --root=$PKG \
    --ignore-installed --no-deps backend/dist/*.whl
}
