#!/bin/sh

MAKEDEPS="python python-editables python-pathspec"

PKG_VER=1.11.1
SOURCE=https://files.pythonhosted.org/packages/source/h/hatchling/hatchling-$PKG_VER.tar.gz

MAKEDEPS="python"
DESC="Modern, extensible Python build backend"

build() {
    python -m build --no-isolation --wheel
}

package () {
    python -m installer -d "$PKG_DEST" dist/hatchling-$PKG_VER-py3-none-any.whl
}
