Date: Monday, September 20, 2021 @ 20:54:29
  Author: felixonmars
Revision: 1019736

archrelease: copy trunk to community-testing-any

Added:
  python-nltk/repos/community-testing-any/
  python-nltk/repos/community-testing-any/PKGBUILD
    (from rev 1019735, python-nltk/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: python-nltk/repos/community-testing-any/PKGBUILD (from rev 1019735, 
python-nltk/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2021-09-20 20:54:29 UTC (rev 1019736)
@@ -0,0 +1,36 @@
+# Maintainer: Alexander F Rødseth <[email protected]>
+# Maintainer: Morten Linderud <[email protected]>
+# Contributor: Thomas Dziedzic <[email protected]>
+# Contributor: Chris Baker <[email protected]>
+
+pkgname=python-nltk
+pkgver=3.6.3
+pkgrel=1
+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=('9524a4efd0f40c73914de0d5ff402f198ed559cf725f8e09588b0d8237c808c3')
+
+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
+}

Reply via email to