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-pathspec/.gitignore vendored Normal file
View File

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

View File

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

19
src/pypi-pathspec/pkg.sh Normal file
View File

@ -0,0 +1,19 @@
NAME="pypi-pathspec"
DESC="Utility library for pattern matching of file paths"
VERSION="0.10.3"
FILES=("https://files.pythonhosted.org/packages/source/p/pathspec/pathspec-${VERSION}.tar.gz")
HASHES=("d89408b52aff020ac768a14c0ef1c7de")
DEPENDS=("python3")
BUILD=()
PACKAGE() {
tar xf "pathspec-${VERSION}.tar.gz"
cd "pathspec-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r "pathspec-${VERSION}"
}