[arch-commits] Commit in nltk-data/repos/community-any (4 files)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Thu Apr 10 23:31:13 UTC 2014
Date: Friday, April 11, 2014 @ 01:31:13
Author: arodseth
Revision: 109157
archrelease: copy trunk to community-any
Added:
nltk-data/repos/community-any/LICENSE
(from rev 109156, nltk-data/trunk/LICENSE)
nltk-data/repos/community-any/PKGBUILD
(from rev 109156, nltk-data/trunk/PKGBUILD)
Deleted:
nltk-data/repos/community-any/LICENSE
nltk-data/repos/community-any/PKGBUILD
----------+
LICENSE | 6 ++---
PKGBUILD | 66 ++++++++++++++++++++++++++++++++-----------------------------
2 files changed, 38 insertions(+), 34 deletions(-)
Deleted: LICENSE
===================================================================
--- LICENSE 2014-04-10 23:31:03 UTC (rev 109156)
+++ LICENSE 2014-04-10 23:31:13 UTC (rev 109157)
@@ -1,3 +0,0 @@
-Parts of NTLK-Data are distributed under various licenses,
-as documented in their respective README files.
-See: /usr/share/nltk/data/corpora/
Copied: nltk-data/repos/community-any/LICENSE (from rev 109156, nltk-data/trunk/LICENSE)
===================================================================
--- LICENSE (rev 0)
+++ LICENSE 2014-04-10 23:31:13 UTC (rev 109157)
@@ -0,0 +1,3 @@
+Parts of NTLK-Data are distributed under various licenses,
+as documented in their respective README files.
+See: /usr/share/nltk/data/corpora/
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-04-10 23:31:03 UTC (rev 109156)
+++ PKGBUILD 2014-04-10 23:31:13 UTC (rev 109157)
@@ -1,31 +0,0 @@
-# Maintainer: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
-# Contributor: Michal Bozon <michal.bozon__at__gmail.com>
-
-pkgname=nltk-data
-pkgver=2.0
-pkgrel=7
-pkgdesc='Corpora, grammars and other linguistic data for NLTK'
-arch=('any')
-url='http://nltk.sourceforge.net/'
-license=('custom')
-makedepends=('unzip' 'python2-nltk')
-source=('LICENSE')
-md5sums=('69998d5f493a60e7a1467b8003ab8e22')
-
-package() {
- install -d ${pkgdir}/usr/share/nltk_data
- python2 -m nltk.downloader -d ${pkgdir}/usr/share/nltk_data all
-
- for _dir in ${pkgdir}/usr/share/nltk_data/*; do
- unzip -u ${_dir}/\*.zip -d ${_dir}
- rm -f ${_dir}/*.zip
- done
-
- find ${pkgdir}/usr/share/nltk_data/ -type f -exec chmod 0644 {} \;
- find ${pkgdir}/usr/share/nltk_data/ -type d -exec chmod 0755 {} \;
-
- install -d ${pkgdir}/usr/share/licenses/nltk-data
- install -m644 ${srcdir}/LICENSE \
- ${pkgdir}/usr/share/licenses/nltk-data
-}
Copied: nltk-data/repos/community-any/PKGBUILD (from rev 109156, nltk-data/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-04-10 23:31:13 UTC (rev 109157)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
+# Contributor: Michal Bozon <michal.bozon__at__gmail.com>
+
+pkgname=nltk-data
+pkgver=3.0a3
+pkgrel=1
+pkgdesc='Corpora, grammars and other linguistic data for NLTK'
+arch=('any')
+url='http://nltk.sourceforge.net/'
+license=('custom')
+makedepends=('unzip' 'python-nltk')
+source=('LICENSE')
+md5sums=('69998d5f493a60e7a1467b8003ab8e22')
+
+package() {
+ install -d "$pkgdir/usr/share/nltk_data"
+ python -m nltk.downloader -d "$pkgdir/usr/share/nltk_data" all
+
+ for _dir in "$pkgdir/usr/share/nltk_data/"*; do
+ unzip -u "$_dir/"\*.zip -d "$_dir"
+ rm -f "$_dir/"*.zip
+ done
+
+ find "$pkgdir/usr/share/nltk_data/" -type f -exec chmod 0644 {} \;
+ find "$pkgdir/usr/share/nltk_data/" -type d -exec chmod 0755 {} \;
+
+ install -d "$pkgdir/usr/share/licenses/nltk-data"
+ install -m644 "$srcdir/LICENSE" \
+ "$pkgdir/usr/share/licenses/nltk-data"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list