aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-snowballstemmer
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-10-01 18:40:00 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-10-01 18:40:00 +0200
commit6ccdcfb666569afda6a2bf76766a8eb77da3e996 (patch)
tree5d9b13f2d3200a5fe57c37741839d1db555d3138 /main/py-snowballstemmer
parent3c3ecf7941d6ebf769105adff2cd0c0a4e173863 (diff)
downloadaports-6ccdcfb666569afda6a2bf76766a8eb77da3e996.tar.bz2
aports-6ccdcfb666569afda6a2bf76766a8eb77da3e996.tar.xz
main/py-snowballstemmer: new aport
Diffstat (limited to 'main/py-snowballstemmer')
-rw-r--r--main/py-snowballstemmer/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/py-snowballstemmer/APKBUILD b/main/py-snowballstemmer/APKBUILD
new file mode 100644
index 0000000000..c7bba8a41c
--- /dev/null
+++ b/main/py-snowballstemmer/APKBUILD
@@ -0,0 +1,40 @@
+# 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"