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

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

View File

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

View File

@ -0,0 +1,19 @@
NAME="pypi-snowballstemmer"
DESC="Small string processing language for creating stemming algorithms for use in Information Retrieval"
VERSION="2.2.0"
FILES=("https://files.pythonhosted.org/packages/source/s/snowballstemmer/snowballstemmer-${VERSION}.tar.gz")
HASHES=("4332ddc7bbee0f344a03915b2ad59a54")
DEPENDS=("python3")
BUILD=()
PACKAGE() {
tar xf "snowballstemmer-${VERSION}.tar.gz"
cd "snowballstemmer-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r "snowballstemmer-${VERSION}"
}