[arch-commits] Commit in python-nltk/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Sat May 14 14:50:35 UTC 2016
Date: Saturday, May 14, 2016 @ 16:50:34
Author: arodseth
Revision: 175388
upgpkg: python-nltk 3.2.1-1
Modified:
python-nltk/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-14 14:33:58 UTC (rev 175387)
+++ PKGBUILD 2016-05-14 14:50:34 UTC (rev 175388)
@@ -1,11 +1,11 @@
# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Thomas Dziedzic <gostrc at gmail.com>
# Contributor: Chris Baker <baker.chris.3 at gmail.com>
pkgbase=python-nltk
pkgname=('python2-nltk' 'python-nltk')
-pkgver=3.1
+pkgver=3.2.1
pkgrel=1
pkgdesc='Natural language processing in Python'
arch=('any')
@@ -23,10 +23,8 @@
}
build() {
- cd nltk
- python setup.py build
- cd "$srcdir/nltk-py2"
- python2 setup.py build
+ (cd nltk; python setup.py build)
+ (cd nltk-py2; python2 setup.py build)
}
package_python-nltk() {
@@ -35,8 +33,7 @@
'python-matplotlib: used for plotting')
depends=('python-yaml')
- cd nltk
- python setup.py install --root="$pkgdir" --optimize=1
+ (cd nltk; python setup.py install --root="$pkgdir" --optimize=1)
}
package_python2-nltk() {
@@ -45,8 +42,7 @@
'python2-matplotlib: used for plotting')
depends=('python2-yaml')
- cd nltk-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
+ (cd nltk-py2; python2 setup.py install --root="$pkgdir" --optimize=1)
}
# getver: pypi.python.org/pypi/nltk
More information about the arch-commits
mailing list