Tim Biermann bcb60e2db1
Revert "python3-snowballstemmer: dropped unmaintained port"
This reverts commit 42ff73a742079d0e6a7caa3cf41603ea1640973b.
2024-02-25 17:12:24 +01:00

17 lines
462 B
Plaintext

# Description: Snowball stemming library collection for Python.
# URL: https://github.com/shibukawa/snowball_py/
# Maintainer: unmaintained
# Depends on: python3-setuptools
name=python3-snowballstemmer
version=2.2.0
release=1
source=(https://pypi.org/packages/source/S/Snowballstemmer/${name#*-}-$version.tar.gz)
build() {
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
}