[arch-commits] Commit in python-nltk/trunk (PKGBUILD)

2020-07-14 Thread Morten Linderud via arch-commits
Date: Tuesday, July 14, 2020 @ 13:02:19
  Author: foxboron
Revision: 663753

upgpkg: python-nltk 3.5-2 - reproducible builds

Modified:
  python-nltk/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-14 12:57:56 UTC (rev 663752)
+++ PKGBUILD2020-07-14 13:02:19 UTC (rev 663753)
@@ -5,7 +5,7 @@
 
 pkgname=python-nltk
 pkgver=3.5
-pkgrel=1
+pkgrel=2
 pkgdesc='Natural language processing in Python'
 arch=('any')
 url='https://www.nltk.org/'
@@ -14,13 +14,14 @@
 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')
+   '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=('d1afd82871b1185a58d69eeb90e03ada713e05fe8fe5463eadf3fbe2b823980f')
 
 build() {
   cd nltk-$pkgver
+  export PYTHONHASHSEED=0
   python setup.py build
 }
 


[arch-commits] Commit in python-nltk/trunk (PKGBUILD)

2020-04-16 Thread Morten Linderud via arch-commits
Date: Thursday, April 16, 2020 @ 21:06:17
  Author: foxboron
Revision: 615368

upgpkg: python-nltk 3.5-1

Modified:
  python-nltk/trunk/PKGBUILD

--+
 PKGBUILD |   18 ++
 1 file changed, 10 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-16 20:42:43 UTC (rev 615367)
+++ PKGBUILD2020-04-16 21:06:17 UTC (rev 615368)
@@ -1,10 +1,11 @@
 # Maintainer: Alexander F Rødseth 
+# Maintainer: Morten Linderud 
 # Contributor: Thomas Dziedzic 
 # Contributor: Chris Baker 
 
 pkgname=python-nltk
-pkgver=3.4.5
-pkgrel=2
+pkgver=3.5
+pkgrel=1
 pkgdesc='Natural language processing in Python'
 arch=('any')
 url='https://www.nltk.org/'
@@ -11,12 +12,12 @@
 license=('APACHE')
 depends=('python-yaml')
 makedepends=('python-setuptools')
-checkdepends=('python-nose' 'nltk-data' 'python-requests')
+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=('fd26dcebe3a6fd24ea317d83729fc676f263751ced41b78f680f9b19d8c24cb4')
+sha256sums=('d1afd82871b1185a58d69eeb90e03ada713e05fe8fe5463eadf3fbe2b823980f')
 
 build() {
   cd nltk-$pkgver
@@ -23,10 +24,11 @@
   python setup.py build
 }
 
-# check(){
-#   cd nltk-$pkgver
-#   python ./nltk/test/runtests.py
-# }
+# Need to fix the nltk-data split
+#check(){
+#  cd nltk-$pkgver
+#  python ./nltk/test/runtests.py
+#}
 
 package() {
   cd nltk-$pkgver


[arch-commits] Commit in python-nltk/trunk (PKGBUILD)

2019-11-04 Thread Evangelos Foutras via arch-commits
Date: Monday, November 4, 2019 @ 08:26:29
  Author: foutrelis
Revision: 523735

Python 3.8 rebuild

Modified:
  python-nltk/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-04 08:26:07 UTC (rev 523734)
+++ PKGBUILD2019-11-04 08:26:29 UTC (rev 523735)
@@ -4,7 +4,7 @@
 
 pkgname=python-nltk
 pkgver=3.4.5
-pkgrel=1
+pkgrel=2
 pkgdesc='Natural language processing in Python'
 arch=('any')
 url='https://www.nltk.org/'


[arch-commits] Commit in python-nltk/trunk (PKGBUILD)

2019-09-28 Thread Morten Linderud via arch-commits
Date: Saturday, September 28, 2019 @ 15:05:05
  Author: foxboron
Revision: 512006

upgpkg: python-nltk 3.4.5-1

Modified:
  python-nltk/trunk/PKGBUILD

--+
 PKGBUILD |   49 +++--
 1 file changed, 19 insertions(+), 30 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-28 14:56:43 UTC (rev 512005)
+++ PKGBUILD2019-09-28 15:05:05 UTC (rev 512006)
@@ -2,44 +2,33 @@
 # Contributor: Thomas Dziedzic 
 # Contributor: Chris Baker 
 
-pkgbase=python-nltk
-pkgname=('python2-nltk' 'python-nltk')
-pkgver=3.4
+pkgname=python-nltk
+pkgver=3.4.5
 pkgrel=1
 pkgdesc='Natural language processing in Python'
 arch=('any')
 url='https://www.nltk.org/'
 license=('APACHE')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=($pkgbase-$pkgver.tar.gz::"https://github.com/nltk/nltk/archive/$pkgver.tar.gz;)
-md5sums=('a8e1f6dcb14463eaa6b50f30a3b88c5e')
+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')
 
-prepare() {
-  cp -r nltk-$pkgver nltk-py2-$pkgver
-  # python 2 fix
-  cd nltk-py2-$pkgver
-  find . -type f -exec sed -i 's:^#.*env python:#!/usr/bin/env python2:' {} +
-}
-
 build() {
-  (cd nltk-$pkgver; python setup.py build)
-  (cd nltk-py2-$pkgver; python2 setup.py build)
+  cd nltk-$pkgver
+  python setup.py build
 }
 
-package_python-nltk() {
-  optdepends=('nltk-data: test data'
-  'python-numpy: used for calculations'
-  'python-matplotlib: used for plotting')
-  depends=('python-yaml')
+# check(){
+#   cd nltk-$pkgver
+#   python ./nltk/test/runtests.py
+# }
 
-  (cd nltk-$pkgver; python setup.py install --root="$pkgdir" --optimize=1)
+package() {
+  cd nltk-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
 }
-
-package_python2-nltk() {
-  optdepends=('nltk-data: test data'
-  'python2-numpy: used for calculations'
-  'python2-matplotlib: used for plotting')
-  depends=('python2-yaml')
-
-  (cd nltk-py2-$pkgver; python2 setup.py install --root="$pkgdir" --optimize=1)
-}


[arch-commits] Commit in python-nltk/trunk (PKGBUILD)

2019-06-18 Thread Antonio Rojas via arch-commits
Date: Tuesday, June 18, 2019 @ 20:28:30
  Author: arojas
Revision: 482207

https

Modified:
  python-nltk/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-18 20:28:04 UTC (rev 482206)
+++ PKGBUILD2019-06-18 20:28:30 UTC (rev 482207)
@@ -8,7 +8,7 @@
 pkgrel=1
 pkgdesc='Natural language processing in Python'
 arch=('any')
-url='http://www.nltk.org/'
+url='https://www.nltk.org/'
 license=('APACHE')
 makedepends=('python-setuptools' 'python2-setuptools')
 
source=($pkgbase-$pkgver.tar.gz::"https://github.com/nltk/nltk/archive/$pkgver.tar.gz;)


[arch-commits] Commit in python-nltk/trunk (PKGBUILD)

2018-11-27 Thread Antonio Rojas via arch-commits
Date: Tuesday, November 27, 2018 @ 20:44:36
  Author: arojas
Revision: 410080

Update to 3.4

Modified:
  python-nltk/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-27 20:44:34 UTC (rev 410079)
+++ PKGBUILD2018-11-27 20:44:36 UTC (rev 410080)
@@ -4,8 +4,8 @@
 
 pkgbase=python-nltk
 pkgname=('python2-nltk' 'python-nltk')
-pkgver=3.3
-pkgrel=2
+pkgver=3.4
+pkgrel=1
 pkgdesc='Natural language processing in Python'
 arch=('any')
 url='http://www.nltk.org/'
@@ -12,7 +12,7 @@
 license=('APACHE')
 makedepends=('python-setuptools' 'python2-setuptools')
 
source=($pkgbase-$pkgver.tar.gz::"https://github.com/nltk/nltk/archive/$pkgver.tar.gz;)
-md5sums=('f7807589f2c3609be41f33549e550888')
+md5sums=('a8e1f6dcb14463eaa6b50f30a3b88c5e')
 
 prepare() {
   cp -r nltk-$pkgver nltk-py2-$pkgver


[arch-commits] Commit in python-nltk/trunk (PKGBUILD)

2018-06-30 Thread Felix Yan via arch-commits
Date: Saturday, June 30, 2018 @ 15:48:26
  Author: felixonmars
Revision: 348317

Python 3.7 rebuild

Modified:
  python-nltk/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-30 15:47:59 UTC (rev 348316)
+++ PKGBUILD2018-06-30 15:48:26 UTC (rev 348317)
@@ -6,7 +6,7 @@
 pkgbase=python-nltk
 pkgname=('python2-nltk' 'python-nltk')
 pkgver=3.3
-pkgrel=1
+pkgrel=2
 pkgdesc='Natural language processing in Python'
 arch=('any')
 url='http://www.nltk.org/'


[arch-commits] Commit in python-nltk/trunk (PKGBUILD)

2018-05-06 Thread Jelle van der Waa via arch-commits
Date: Sunday, May 6, 2018 @ 20:08:11
  Author: jelle
Revision: 319038

upgpkg: python-nltk 3.3-1

Modified:
  python-nltk/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-06 20:01:59 UTC (rev 319037)
+++ PKGBUILD2018-05-06 20:08:11 UTC (rev 319038)
@@ -5,7 +5,7 @@
 
 pkgbase=python-nltk
 pkgname=('python2-nltk' 'python-nltk')
-pkgver=3.2.5
+pkgver=3.3
 pkgrel=1
 pkgdesc='Natural language processing in Python'
 arch=('any')
@@ -13,7 +13,7 @@
 license=('APACHE')
 makedepends=('python-setuptools' 'python2-setuptools')
 
source=($pkgbase-$pkgver.tar.gz::"https://github.com/nltk/nltk/archive/$pkgver.tar.gz;)
-md5sums=('d74e47981ac9c6ca2e5fb2049268faf1')
+md5sums=('f7807589f2c3609be41f33549e550888')
 
 prepare() {
   cp -r nltk-$pkgver nltk-py2-$pkgver


[arch-commits] Commit in python-nltk/trunk (PKGBUILD)

2017-09-29 Thread Jelle van der Waa
Date: Friday, September 29, 2017 @ 18:47:15
  Author: jelle
Revision: 261078

upgpkg: python-nltk 3.2.5-1

Modified:
  python-nltk/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-09-29 16:26:13 UTC (rev 261077)
+++ PKGBUILD2017-09-29 18:47:15 UTC (rev 261078)
@@ -5,7 +5,7 @@
 
 pkgbase=python-nltk
 pkgname=('python2-nltk' 'python-nltk')
-pkgver=3.2.4
+pkgver=3.2.5
 pkgrel=1
 pkgdesc='Natural language processing in Python'
 arch=('any')
@@ -13,7 +13,7 @@
 license=('APACHE')
 makedepends=('python-setuptools' 'python2-setuptools')
 
source=($pkgbase-$pkgver.tar.gz::"https://github.com/nltk/nltk/archive/$pkgver.tar.gz;)
-md5sums=('b1ad9085d19e9dd7568b18f1227d9bdb')
+md5sums=('d74e47981ac9c6ca2e5fb2049268faf1')
 
 prepare() {
   cp -r nltk-$pkgver nltk-py2-$pkgver


[arch-commits] Commit in python-nltk/trunk (PKGBUILD)

2017-05-22 Thread Antonio Rojas
Date: Monday, May 22, 2017 @ 14:18:47
  Author: arojas
Revision: 229112

Update to 3.2.4

Modified:
  python-nltk/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-05-22 14:04:14 UTC (rev 229111)
+++ PKGBUILD2017-05-22 14:18:47 UTC (rev 229112)
@@ -5,7 +5,7 @@
 
 pkgbase=python-nltk
 pkgname=('python2-nltk' 'python-nltk')
-pkgver=3.2.3
+pkgver=3.2.4
 pkgrel=1
 pkgdesc='Natural language processing in Python'
 arch=('any')
@@ -13,7 +13,7 @@
 license=('APACHE')
 makedepends=('python-setuptools' 'python2-setuptools')
 
source=($pkgbase-$pkgver.tar.gz::"https://github.com/nltk/nltk/archive/$pkgver.tar.gz;)
-md5sums=('90502efd00f1652895e646a9ec88de7b')
+md5sums=('b1ad9085d19e9dd7568b18f1227d9bdb')
 
 prepare() {
   cp -r nltk-$pkgver nltk-py2-$pkgver


[arch-commits] Commit in python-nltk/trunk (PKGBUILD)

2017-05-19 Thread Antonio Rojas
Date: Friday, May 19, 2017 @ 21:38:38
  Author: arojas
Revision: 228648

Update to 3.2.3

Modified:
  python-nltk/trunk/PKGBUILD

--+
 PKGBUILD |   23 ++-
 1 file changed, 10 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-05-19 21:33:27 UTC (rev 228647)
+++ PKGBUILD2017-05-19 21:38:38 UTC (rev 228648)
@@ -5,26 +5,26 @@
 
 pkgbase=python-nltk
 pkgname=('python2-nltk' 'python-nltk')
-pkgver=3.2.2
+pkgver=3.2.3
 pkgrel=1
 pkgdesc='Natural language processing in Python'
 arch=('any')
 url='http://www.nltk.org/'
 license=('APACHE')
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-source=("git+https://github.com/nltk/nltk#tag=$pkgver;)
-md5sums=('SKIP')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=($pkgbase-$pkgver.tar.gz::"https://github.com/nltk/nltk/archive/$pkgver.tar.gz;)
+md5sums=('90502efd00f1652895e646a9ec88de7b')
 
 prepare() {
-  cp -r nltk nltk-py2
+  cp -r nltk-$pkgver nltk-py2-$pkgver
   # python 2 fix
-  cd nltk-py2
+  cd nltk-py2-$pkgver
   find . -type f -exec sed -i 's:^#.*env python:#!/usr/bin/env python2:' {} +
 }
 
 build() {
-  (cd nltk; python setup.py build)
-  (cd nltk-py2; python2 setup.py build)
+  (cd nltk-$pkgver; python setup.py build)
+  (cd nltk-py2-$pkgver; python2 setup.py build)
 }
 
 package_python-nltk() {
@@ -33,7 +33,7 @@
   'python-matplotlib: used for plotting')
   depends=('python-yaml')
 
-  (cd nltk; python setup.py install --root="$pkgdir" --optimize=1)
+  (cd nltk-$pkgver; python setup.py install --root="$pkgdir" --optimize=1)
 }
 
 package_python2-nltk() {
@@ -42,8 +42,5 @@
   'python2-matplotlib: used for plotting')
   depends=('python2-yaml')
 
-  (cd nltk-py2; python2 setup.py install --root="$pkgdir" --optimize=1)
+  (cd nltk-py2-$pkgver; python2 setup.py install --root="$pkgdir" --optimize=1)
 }
-
-# getver: pypi.python.org/pypi/nltk
-# vim:set ts=2 sw=2 et:


[arch-commits] Commit in python-nltk/trunk (PKGBUILD)

2017-01-19 Thread Antonio Rojas
Date: Thursday, January 19, 2017 @ 19:26:16
  Author: arojas
Revision: 208054

Update to 3.2.2

Modified:
  python-nltk/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-01-19 19:17:25 UTC (rev 208053)
+++ PKGBUILD2017-01-19 19:26:16 UTC (rev 208054)
@@ -5,8 +5,8 @@
 
 pkgbase=python-nltk
 pkgname=('python2-nltk' 'python-nltk')
-pkgver=3.2.1
-pkgrel=2
+pkgver=3.2.2
+pkgrel=1
 pkgdesc='Natural language processing in Python'
 arch=('any')
 url='http://www.nltk.org/'


[arch-commits] Commit in python-nltk/trunk (PKGBUILD)

2016-12-25 Thread Bartłomiej Piotrowski
Date: Sunday, December 25, 2016 @ 18:14:16
  Author: bpiotrowski
Revision: 202228

Python 3.6 rebuild

Modified:
  python-nltk/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-25 18:12:17 UTC (rev 202227)
+++ PKGBUILD2016-12-25 18:14:16 UTC (rev 202228)
@@ -6,7 +6,7 @@
 pkgbase=python-nltk
 pkgname=('python2-nltk' 'python-nltk')
 pkgver=3.2.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Natural language processing in Python'
 arch=('any')
 url='http://www.nltk.org/'


[arch-commits] Commit in python-nltk/trunk (PKGBUILD)

2016-05-14 Thread Alexander Rødseth
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
===
--- PKGBUILD2016-05-14 14:33:58 UTC (rev 175387)
+++ PKGBUILD2016-05-14 14:50:34 UTC (rev 175388)
@@ -1,11 +1,11 @@
 # $Id$
-# Maintainer: Alexander Rødseth 
-# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Maintainer: Alexander F Rødseth 
+# Contributor: Thomas Dziedzic 
 # Contributor: Chris Baker 
 
 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


[arch-commits] Commit in python-nltk/trunk (PKGBUILD)

2015-10-24 Thread Alexander Rødseth
Date: Saturday, October 24, 2015 @ 18:38:35
  Author: arodseth
Revision: 144920

upgpkg: python-nltk 3.1-1

Modified:
  python-nltk/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-10-24 16:29:02 UTC (rev 144919)
+++ PKGBUILD2015-10-24 16:38:35 UTC (rev 144920)
@@ -5,8 +5,8 @@
 
 pkgbase=python-nltk
 pkgname=('python2-nltk' 'python-nltk')
-pkgver=3.0.4
-pkgrel=2
+pkgver=3.1
+pkgrel=1
 pkgdesc='Natural language processing in Python'
 arch=('any')
 url='http://www.nltk.org/'


[arch-commits] Commit in python-nltk/trunk (PKGBUILD)

2015-09-20 Thread Felix Yan
Date: Sunday, September 20, 2015 @ 11:44:21
  Author: fyan
Revision: 141214

upgpkg: python-nltk 3.0.4-2

rebuild for python 3.5

Modified:
  python-nltk/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-20 08:33:09 UTC (rev 141213)
+++ PKGBUILD2015-09-20 09:44:21 UTC (rev 141214)
@@ -6,7 +6,7 @@
 pkgbase=python-nltk
 pkgname=('python2-nltk' 'python-nltk')
 pkgver=3.0.4
-pkgrel=1
+pkgrel=2
 pkgdesc='Natural language processing in Python'
 arch=('any')
 url='http://www.nltk.org/'


[arch-commits] Commit in python-nltk/trunk (PKGBUILD)

2015-08-02 Thread Alexander Rødseth
Date: Sunday, August 2, 2015 @ 18:21:26
  Author: arodseth
Revision: 137720

upgpkg: python-nltk 3.0.4-1

Modified:
  python-nltk/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-08-02 16:20:48 UTC (rev 137719)
+++ PKGBUILD2015-08-02 16:21:26 UTC (rev 137720)
@@ -5,7 +5,7 @@
 
 pkgbase=python-nltk
 pkgname=('python2-nltk' 'python-nltk')
-pkgver=3.0.2
+pkgver=3.0.4
 pkgrel=1
 pkgdesc='Natural language processing in Python'
 arch=('any')
@@ -49,4 +49,5 @@
   python2 setup.py install --root=$pkgdir --optimize=1
 }
 
+# getver: pypi.python.org/pypi/nltk
 # vim:set ts=2 sw=2 et:


[arch-commits] Commit in python-nltk/trunk (PKGBUILD)

2015-04-22 Thread Alexander Rødseth
Date: Wednesday, April 22, 2015 @ 14:58:26
  Author: arodseth
Revision: 131943

upgpkg: python-nltk 3.0.2-1

Modified:
  python-nltk/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-04-22 12:54:52 UTC (rev 131942)
+++ PKGBUILD2015-04-22 12:58:26 UTC (rev 131943)
@@ -5,13 +5,13 @@
 
 pkgbase=python-nltk
 pkgname=('python2-nltk' 'python-nltk')
-pkgver=3.0.0
+pkgver=3.0.2
 pkgrel=1
 pkgdesc='Natural language processing in Python'
 arch=('any')
 url='http://www.nltk.org/'
 license=('APACHE')
-makedepends=('python-setuptools' 'python2-setuptools')
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
 source=(git+https://github.com/nltk/nltk#tag=$pkgver;)
 md5sums=('SKIP')
 


[arch-commits] Commit in python-nltk/trunk (PKGBUILD)

2014-12-03 Thread Alexander Rødseth
Date: Wednesday, December 3, 2014 @ 11:10:50
  Author: arodseth
Revision: 123378

upgpkg: python-nltk 3.0.0-1

Modified:
  python-nltk/trunk/PKGBUILD

--+
 PKGBUILD |   25 +
 1 file changed, 9 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-12-03 09:50:22 UTC (rev 123377)
+++ PKGBUILD2014-12-03 10:10:50 UTC (rev 123378)
@@ -5,12 +5,7 @@
 
 pkgbase=python-nltk
 pkgname=('python2-nltk' 'python-nltk')
-
-# NOTE: Using an alpha version because it's the first version (apart fomr 
3.0a3)
-# to support both python 2 and 3. It makes it better suited for a split 
package.
-# Rumors has it that 3.0 is going to be released in about a month.
-pkgver=3.0a4
-
+pkgver=3.0.0
 pkgrel=1
 pkgdesc='Natural language processing in Python'
 arch=('any')
@@ -17,22 +12,20 @@
 url='http://www.nltk.org/'
 license=('APACHE')
 makedepends=('python-setuptools' 'python2-setuptools')
-source=(http://www.nltk.org/nltk3-alpha/nltk-$pkgver.tar.gz;)
-sha256sums=('7fe72c386c2d3d050e3f5ffc80741906dbae9767a21558fd85e4208330dfb03e')
+source=(git+https://github.com/nltk/nltk#tag=$pkgver;)
+md5sums=('SKIP')
 
 prepare() {
-  cp -r nltk-$pkgver nltk-py2-$pkgver
-
+  cp -r nltk nltk-py2
   # python 2 fix
-  cd nltk-py2-$pkgver
+  cd nltk-py2
   find . -type f -exec sed -i 's:^#.*env python:#!/usr/bin/env python2:' {} +
 }
 
 build() {
-  cd $srcdir/nltk-$pkgver
+  cd nltk
   python setup.py build
-
-  cd $srcdir/nltk-py2-$pkgver
+  cd $srcdir/nltk-py2
   python2 setup.py build
 }
 
@@ -42,7 +35,7 @@
   'python-matplotlib: used for plotting')
   depends=('python-yaml')
 
-  cd nltk-$pkgver
+  cd nltk
   python setup.py install --root=$pkgdir --optimize=1
 }
 
@@ -52,7 +45,7 @@
   'python2-matplotlib: used for plotting')
   depends=('python2-yaml')
 
-  cd nltk-py2-$pkgver
+  cd nltk-py2
   python2 setup.py install --root=$pkgdir --optimize=1
 }
 


[arch-commits] Commit in python-nltk/trunk (PKGBUILD)

2014-05-29 Thread Alexander Rødseth
Date: Thursday, May 29, 2014 @ 22:08:37
  Author: arodseth
Revision: 112202

upgpkg: python-nltk 3.0a4-1

Modified:
  python-nltk/trunk/PKGBUILD

--+
 PKGBUILD |9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-29 19:11:57 UTC (rev 112201)
+++ PKGBUILD2014-05-29 20:08:37 UTC (rev 112202)
@@ -6,9 +6,10 @@
 pkgbase=python-nltk
 pkgname=('python2-nltk' 'python-nltk')
 
-# NOTE: Using an alpha version because it's the first version to support
-# both python 2 and 3. It makes it better suited for a split package.
-pkgver=3.0a3
+# NOTE: Using an alpha version because it's the first version (apart fomr 
3.0a3)
+# to support both python 2 and 3. It makes it better suited for a split 
package.
+# Rumors has it that 3.0 is going to be released in about a month.
+pkgver=3.0a4
 
 pkgrel=1
 pkgdesc='Natural language processing in Python'
@@ -17,7 +18,7 @@
 license=('APACHE')
 makedepends=('python-setuptools' 'python2-setuptools')
 source=(http://www.nltk.org/nltk3-alpha/nltk-$pkgver.tar.gz;)
-sha256sums=('52621b3bf944dcae8cbd352ef2664edc95edfeaee321f3f021cfa55ce23eb117')
+sha256sums=('7fe72c386c2d3d050e3f5ffc80741906dbae9767a21558fd85e4208330dfb03e')
 
 prepare() {
   cp -r nltk-$pkgver nltk-py2-$pkgver