# Contributor: Brandon Bergren <git@bdragon.rtk0.net> # Maintainer: Brandon Bergren <git@bdragon.rtk0.net> pkgname=py3-snowballstemmer _pkgname=snowballstemmer _p="${_pkgname#?}" _p="${_pkgname%"$_p"}" pkgver=1.9.0 pkgrel=0 pkgdesc="This package provides 16 stemmer algorithms (15 + Poerter English stemmer) generated from Snowball algorithms." url="https://pypi.python.org/pypi/snowballstemmer" arch="noarch" options="!check" # Test script nowhere to be found license="BSD-2-Clause" depends="python3" makedepends="python3-dev" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="7af4963ffb88477f64bd477bf4ea958cf9b7613393f01ea873f4a8e1891d1f331c288e59632b271dd5b53b604c8291780990600ccf22aed1d2151809cd8608df py3-snowballstemmer-1.9.0.tar.gz"