aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-snowballstemmer/APKBUILD
blob: 4e443589ad0044dba3ad1594a3029d63e55061c1 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-snowballstemmer
_pkgname=snowballstemmer
pkgver=2.0.0
pkgrel=1
pkgdesc="Snowball stemming library collection for Python3"
url="https://github.com/shibukawa/snowball_py"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-snowballstemmer" # Backwards compatibility
provides="py-snowballstemmer=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="d673205cacc7f6e81eaee23e6c50064af77c3c4464dbdf5dc1c3f5682dec2688fe6e7069b7ed2e59259312ba926d3be84bd846a132b6138e30b4ff2b9a9353e8  snowballstemmer-2.0.0.tar.gz"