fix: python package renaming

This commit is contained in:
ngn
2024-08-19 14:24:01 +03:00
parent 5254876ac8
commit 6b826d41c6
104 changed files with 465 additions and 404 deletions

3
src/pypi-hatchling/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

View File

@ -0,0 +1,2 @@
# 1.12.2
First version

21
src/pypi-hatchling/pkg.sh Normal file
View File

@ -0,0 +1,21 @@
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
PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r "hatchling-${VERSION}"
}