[arch-commits] Commit in python-nltk/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Dec 1 14:49:35 UTC 2021
Date: Wednesday, December 1, 2021 @ 14:49:35
Author: foutrelis
Revision: 1059366
archrelease: copy trunk to community-staging-any
Added:
python-nltk/repos/community-staging-any/
python-nltk/repos/community-staging-any/PKGBUILD
(from rev 1059364, python-nltk/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: python-nltk/repos/community-staging-any/PKGBUILD (from rev 1059364, python-nltk/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-01 14:49:35 UTC (rev 1059366)
@@ -0,0 +1,36 @@
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Thomas Dziedzic <gostrc at gmail.com>
+# Contributor: Chris Baker <baker.chris.3 at gmail.com>
+
+pkgname=python-nltk
+pkgver=3.6.5
+pkgrel=2
+pkgdesc='Natural language processing in Python'
+arch=('any')
+url='https://www.nltk.org/'
+license=('APACHE')
+depends=('python-yaml' 'python-click' 'python-regex')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'nltk-data' 'python-requests' 'python-regex')
+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=('fb7d2e92e0233e1bb72bc8428f288f77effb804514d0a93928e5abab44a66622')
+
+build() {
+ cd nltk-$pkgver
+ python setup.py build
+}
+
+# Need to fix the nltk-data split
+#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