[arch-commits] Commit in python-nltk/repos/community-any (PKGBUILD PKGBUILD)
Eric Bélanger
eric at nymeria.archlinux.org
Fri Apr 25 15:00:30 UTC 2014
Date: Friday, April 25, 2014 @ 17:00:30
Author: eric
Revision: 110163
archrelease: copy trunk to community-any
Added:
python-nltk/repos/community-any/PKGBUILD
(from rev 110162, python-nltk/trunk/PKGBUILD)
Deleted:
python-nltk/repos/community-any/PKGBUILD
----------+
PKGBUILD | 116 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 58 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-04-25 13:27:08 UTC (rev 110162)
+++ PKGBUILD 2014-04-25 15:00:30 UTC (rev 110163)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Chris Baker <baker.chris.3 at gmail.com>
-
-pkgbase=python2-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
-
-pkgrel=1
-pkgdesc='Natural language processing in Python'
-arch=('any')
-url='http://www.nltk.org/'
-license=('APACHE')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("http://www.nltk.org/nltk3-alpha/nltk-$pkgver.tar.gz")
-sha256sums=('52621b3bf944dcae8cbd352ef2664edc95edfeaee321f3f021cfa55ce23eb117')
-
-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 "$srcdir/nltk-$pkgver"
- python setup.py build
-
- cd "$srcdir/nltk-py2-$pkgver"
- python2 setup.py build
-}
-
-package_python-nltk() {
- optdepends=('nltk-data: test data'
- 'python-numpy: used for calculations'
- 'python-matplotlib: used for plotting')
- depends=('python-yaml')
-
- cd "nltk-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-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
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-nltk/repos/community-any/PKGBUILD (from rev 110162, python-nltk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-04-25 15:00:30 UTC (rev 110163)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Chris Baker <baker.chris.3 at gmail.com>
+
+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
+
+pkgrel=1
+pkgdesc='Natural language processing in Python'
+arch=('any')
+url='http://www.nltk.org/'
+license=('APACHE')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("http://www.nltk.org/nltk3-alpha/nltk-$pkgver.tar.gz")
+sha256sums=('52621b3bf944dcae8cbd352ef2664edc95edfeaee321f3f021cfa55ce23eb117')
+
+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 "$srcdir/nltk-$pkgver"
+ python setup.py build
+
+ cd "$srcdir/nltk-py2-$pkgver"
+ python2 setup.py build
+}
+
+package_python-nltk() {
+ optdepends=('nltk-data: test data'
+ 'python-numpy: used for calculations'
+ 'python-matplotlib: used for plotting')
+ depends=('python-yaml')
+
+ cd "nltk-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+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
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list