[arch-commits] Commit in python-nltk/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 4 08:26:34 UTC 2019
Date: Monday, November 4, 2019 @ 08:26:33
Author: foutrelis
Revision: 523736
archrelease: copy trunk to community-staging-any
Added:
python-nltk/repos/community-staging-any/
python-nltk/repos/community-staging-any/PKGBUILD
(from rev 523735, python-nltk/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-nltk/repos/community-staging-any/PKGBUILD (from rev 523735, python-nltk/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 08:26:33 UTC (rev 523736)
@@ -0,0 +1,34 @@
+# 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>
+
+pkgname=python-nltk
+pkgver=3.4.5
+pkgrel=2
+pkgdesc='Natural language processing in Python'
+arch=('any')
+url='https://www.nltk.org/'
+license=('APACHE')
+depends=('python-yaml')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'nltk-data' 'python-requests')
+optdepends=('nltk-data: test data'
+ 'python-numpy: used for calculations'
+ 'python-matplotlib: used for plotting')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/nltk/nltk/archive/$pkgver.tar.gz")
+sha256sums=('fd26dcebe3a6fd24ea317d83729fc676f263751ced41b78f680f9b19d8c24cb4')
+
+build() {
+ cd nltk-$pkgver
+ python setup.py build
+}
+
+# check(){
+# cd nltk-$pkgver
+# python ./nltk/test/runtests.py
+# }
+
+package() {
+ cd nltk-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list