Date: Sunday, May 6, 2018 @ 20:01:59 Author: jelle Revision: 319037 archrelease: copy trunk to community-any
Added: nltk-data/repos/community-any/LICENSE (from rev 319036, nltk-data/trunk/LICENSE) nltk-data/repos/community-any/PKGBUILD (from rev 319036, nltk-data/trunk/PKGBUILD) Deleted: nltk-data/repos/community-any/LICENSE nltk-data/repos/community-any/PKGBUILD ----------+ LICENSE | 6 ++-- PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 2 files changed, 40 insertions(+), 40 deletions(-) Deleted: LICENSE =================================================================== --- LICENSE 2018-05-06 20:01:37 UTC (rev 319036) +++ LICENSE 2018-05-06 20:01:59 UTC (rev 319037) @@ -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 319036, nltk-data/trunk/LICENSE) =================================================================== --- LICENSE (rev 0) +++ LICENSE 2018-05-06 20:01:59 UTC (rev 319037) @@ -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 2018-05-06 20:01:37 UTC (rev 319036) +++ PKGBUILD 2018-05-06 20:01:59 UTC (rev 319037) @@ -1,37 +0,0 @@ -# $Id$ -# Maintainer: Alexander F Rødseth <xypr...@archlinux.org> -# 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.2.5 -pkgrel=1 -pkgdesc='Corpora, grammars and other linguistic data for NLTK' -arch=('any') -url='http://www.nltk.org/data.html' -license=('custom') -makedepends=("python-nltk=$pkgver" 'python-six' 'unzip') -source=('LICENSE') -md5sums=('69998d5f493a60e7a1467b8003ab8e22') - -package() { - install -d "$pkgdir/usr/share/nltk_data" - - # Downloading the data. - # TODO: Do what the python script does, but in this PKGBUILD - 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: ts=2 sw=2 et: Copied: nltk-data/repos/community-any/PKGBUILD (from rev 319036, nltk-data/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-05-06 20:01:59 UTC (rev 319037) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Alexander F Rødseth <xypr...@archlinux.org> +# 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.3 +pkgrel=1 +pkgdesc='Corpora, grammars and other linguistic data for NLTK' +arch=('any') +url='http://www.nltk.org/data.html' +license=('custom') +makedepends=("python-nltk=$pkgver" 'python-six' 'unzip') +source=('LICENSE') +md5sums=('69998d5f493a60e7a1467b8003ab8e22') + +package() { + install -d "$pkgdir/usr/share/nltk_data" + + # Downloading the data. + # TODO: Do what the python script does, but in this PKGBUILD + 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: ts=2 sw=2 et: