Commit 6ccdcfb6 authored by Carlo Landmeter's avatar Carlo Landmeter
Browse files

main/py-snowballstemmer: new aport

parent 3c3ecf79
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py-snowballstemmer
pkgver=1.2.0
pkgrel=0
pkgdesc="Snowball stemming library collection for Python"
url="https://github.com/shibukawa/snowball_py"
arch="noarch"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev python-dev"
install=""
subpackages=""
source="https://pypi.python.org/packages/source/s/snowballstemmer/snowballstemmer-$pkgver.tar.gz"
_builddir="$srcdir"/snowballstemmer-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="51f2ef829db8129dd0f2354f0b209970 snowballstemmer-1.2.0.tar.gz"
sha256sums="6d54f350e7a0e48903a4e3b6b2cabd1b43e23765fbc975065402893692954191 snowballstemmer-1.2.0.tar.gz"
sha512sums="3359657867b9478bb58e6cc67a08212a490d5af07fed7098871b1e6a59def0031bd0c2a846cc9a0d70c94c64ba4d2ccb2f41afedde61d4a7235d26f68374bd02 snowballstemmer-1.2.0.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment