fix: python package renaming
This commit is contained in:
3
src/pypi-hatchling/.gitignore
vendored
Normal file
3
src/pypi-hatchling/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/pypi-hatchling/changes.md
Normal file
2
src/pypi-hatchling/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 1.12.2
|
||||
First version
|
21
src/pypi-hatchling/pkg.sh
Normal file
21
src/pypi-hatchling/pkg.sh
Normal 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}"
|
||||
}
|
Reference in New Issue
Block a user