summaryrefslogtreecommitdiff
path: root/user/py3-snowballstemmer/APKBUILD
blob: e85a50f1c96e56e59857750903a2316b63aa1368 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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"