22 lines
594 B
Bash
22 lines
594 B
Bash
NAME="pypi-hatchling"
|
|
DESC="Extensible, standards compliant build backend for python modules"
|
|
VERSION="1.12.2"
|
|
|
|
FILES=("https://files.pythonhosted.org/packages/source/h/hatchling/hatchling-${VERSION}.tar.gz")
|
|
HASHES=("5a6e2fd0c877feea7e71b9d72bbdbed9")
|
|
|
|
DEPENDS=(
|
|
"pypi-editables" "pypa-packaging" "pypi-pathspec"
|
|
"pypi-pluggy" "python3"
|
|
)
|
|
|
|
PACKAGE() {
|
|
tar xf "hatchling-${VERSION}.tar.gz"
|
|
cd "hatchling-${VERSION}"
|
|
|
|
python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
|
|
|
|
cd .. && rm -r "hatchling-${VERSION}"
|
|
}
|