blob: b0036ac6ef45ab3e77e8e5ea5613fcfce3e4c77e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
_pkgname=python-pynlpl
pkgname=${_pkgname}-git
pkgver=1324
pkgrel=3
pkgdesc='Python Natural Language Processing Library (pronounce as: pineapple). Contains various modules useful for common, and less common, NLP tasks. Includes full FoLiA library.'
arch=('i686' 'x86_64')
url="https://github.com/proycon/pynlpl"
license=('GPL')
depends=('python' 'python-setuptools' 'python-lxml' 'python-httplib2' 'python-numpy')
makedepends=('git')
provides=("${_pkgname}")
conflicts=("python-pynlpl")
source=("git+https://github.com/proycon/pynlpl.git")
_gitname=("pynlpl")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_gitname"
git rev-list --count HEAD
}
build() {
cd "$srcdir/$_gitname"
python setup.py build
}
package() {
cd "$srcdir/$_gitname"
python setup.py install --prefix=usr/ --root="${pkgdir}"
}
|