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