[arch-commits] Commit in nltk-data/repos/community-any (4 files)
Date: Tuesday, February 26, 2019 @ 10:11:19 Author: arodseth Revision: 436094 archrelease: copy trunk to community-any Added: nltk-data/repos/community-any/LICENSE (from rev 436093, nltk-data/trunk/LICENSE) nltk-data/repos/community-any/PKGBUILD (from rev 436093, 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 2019-02-26 10:11:09 UTC (rev 436093) +++ LICENSE 2019-02-26 10:11:19 UTC (rev 436094) @@ -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 436093, nltk-data/trunk/LICENSE) === --- LICENSE (rev 0) +++ LICENSE 2019-02-26 10:11:19 UTC (rev 436094) @@ -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 === --- PKGBUILD2019-02-26 10:11:09 UTC (rev 436093) +++ PKGBUILD2019-02-26 10:11:19 UTC (rev 436094) @@ -1,37 +0,0 @@ -# $Id$ -# Maintainer: Alexander F Rødseth -# Contributor: Thomas Dziedzic < gostrc at gmail > -# Contributor: Anton Bazhenov -# Contributor: Michal Bozon - -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: Copied: nltk-data/repos/community-any/PKGBUILD (from rev 436093, nltk-data/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-02-26 10:11:19 UTC (rev 436094) @@ -0,0 +1,37 @@ +# Maintainer: Alexander F. Rødseth +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: Anton Bazhenov +# Contributor: Michal Bozon + +pkgname=nltk-data +pkgver=3.4 +pkgrel=1 +pkgdesc='Corpora, grammars and other linguistic data for NLTK' +arch=(any) +url='https://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" + + # Download the data + python -m nltk.downloader -d "$pkgdir/usr/share/nltk_data" all + + # Extract the downloaded files + for _dir in "$pkgdir/usr/share/nltk_data/"*; do +unzip -u "$_dir/"\*.zip -d "$_dir" +rm -f "$_dir/"*.zip + done + + # Correct file permissions + find "$pkgdir/usr/share/nltk_data/" -type f -exec chmod 0644 {} \; + find "$pkgdir/usr/share/nltk_data/" -type d -exec chmod 0755 {} \; + + # Install the license + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/nltk-data/LICENSE" +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in nltk-data/repos/community-any (4 files)
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 === --- PKGBUILD2018-05-06 20:01:37 UTC (rev 319036) +++ PKGBUILD2018-05-06 20:01:59 UTC (rev 319037) @@ -1,37 +0,0 @@ -# $Id$ -# Maintainer: Alexander F Rødseth -# Contributor: Thomas Dziedzic < gostrc at gmail > -# Contributor: Anton Bazhenov -# Contributor: Michal Bozon - -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) +++ PKGBUILD2018-05-06 20:01:59 UTC (rev 319037) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Alexander F Rødseth +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: Anton Bazhenov +# Contributor: Michal Bozon + +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:
[arch-commits] Commit in nltk-data/repos/community-any (4 files)
Date: Friday, January 26, 2018 @ 19:21:08 Author: arodseth Revision: 287260 archrelease: copy trunk to community-any Added: nltk-data/repos/community-any/LICENSE (from rev 287258, nltk-data/trunk/LICENSE) nltk-data/repos/community-any/PKGBUILD (from rev 287258, nltk-data/trunk/PKGBUILD) Deleted: nltk-data/repos/community-any/LICENSE nltk-data/repos/community-any/PKGBUILD --+ LICENSE |6 ++--- PKGBUILD | 72 +++-- 2 files changed, 40 insertions(+), 38 deletions(-) Deleted: LICENSE === --- LICENSE 2018-01-26 19:20:56 UTC (rev 287259) +++ LICENSE 2018-01-26 19:21:08 UTC (rev 287260) @@ -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 287258, nltk-data/trunk/LICENSE) === --- LICENSE (rev 0) +++ LICENSE 2018-01-26 19:21:08 UTC (rev 287260) @@ -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 === --- PKGBUILD2018-01-26 19:20:56 UTC (rev 287259) +++ PKGBUILD2018-01-26 19:21:08 UTC (rev 287260) @@ -1,35 +0,0 @@ -# $Id$ -# Maintainer: Alexander F Rødseth -# Contributor: Thomas Dziedzic < gostrc at gmail > -# Contributor: Anton Bazhenov -# Contributor: Michal Bozon - -pkgname=nltk-data -pkgver=3.2.1 -pkgrel=1 -pkgdesc='Corpora, grammars and other linguistic data for NLTK' -arch=('any') -url='http://www.nltk.org/data.html' -license=('custom') -makedepends=('unzip' "python-nltk=$pkgver") -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: Copied: nltk-data/repos/community-any/PKGBUILD (from rev 287258, nltk-data/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-01-26 19:21:08 UTC (rev 287260) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Alexander F Rødseth +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: Anton Bazhenov +# Contributor: Michal Bozon + +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:
[arch-commits] Commit in nltk-data/repos/community-any (4 files)
Date: Sunday, May 15, 2016 @ 00:08:10 Author: arodseth Revision: 175406 archrelease: copy trunk to community-any Added: nltk-data/repos/community-any/LICENSE (from rev 175405, nltk-data/trunk/LICENSE) nltk-data/repos/community-any/PKGBUILD (from rev 175405, nltk-data/trunk/PKGBUILD) Deleted: nltk-data/repos/community-any/LICENSE nltk-data/repos/community-any/PKGBUILD --+ LICENSE |6 ++--- PKGBUILD | 70 ++--- 2 files changed, 38 insertions(+), 38 deletions(-) Deleted: LICENSE === --- LICENSE 2016-05-14 21:01:19 UTC (rev 175405) +++ LICENSE 2016-05-14 22:08:10 UTC (rev 175406) @@ -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 175405, nltk-data/trunk/LICENSE) === --- LICENSE (rev 0) +++ LICENSE 2016-05-14 22:08:10 UTC (rev 175406) @@ -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 === --- PKGBUILD2016-05-14 21:01:19 UTC (rev 175405) +++ PKGBUILD2016-05-14 22:08:10 UTC (rev 175406) @@ -1,35 +0,0 @@ -# $Id$ -# Maintainer: Alexander Rødseth -# Contributor: Thomas Dziedzic < gostrc at gmail > -# Contributor: Anton Bazhenov -# Contributor: Michal Bozon - -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: Copied: nltk-data/repos/community-any/PKGBUILD (from rev 175405, nltk-data/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-05-14 22:08:10 UTC (rev 175406) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Alexander F Rødseth +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: Anton Bazhenov +# Contributor: Michal Bozon + +pkgname=nltk-data +pkgver=3.2.1 +pkgrel=1 +pkgdesc='Corpora, grammars and other linguistic data for NLTK' +arch=('any') +url='http://www.nltk.org/data.html' +license=('custom') +makedepends=('unzip' "python-nltk=$pkgver") +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:
[arch-commits] Commit in nltk-data/repos/community-any (4 files)
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 === --- PKGBUILD2014-04-10 23:31:03 UTC (rev 109156) +++ PKGBUILD2014-04-10 23:31:13 UTC (rev 109157) @@ -1,31 +0,0 @@ -# Maintainer: Thomas Dziedzic < gostrc at gmail > -# Contributor: Anton Bazhenov -# Contributor: Michal Bozon - -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) +++ PKGBUILD2014-04-10 23:31:13 UTC (rev 109157) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Alexander Rødseth +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: Anton Bazhenov +# Contributor: Michal Bozon + +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: