summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d64fedf48929963b12d5904ecba49d9fc898e34c (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
# Maintainer: Zhang.j.k <zhangjk67 at gmail dian com>

pkgbase='python-conllu'
pkgname=('python-conllu')
_module='conllu'
pkgver='4.3'
pkgrel=1
pkgdesc="CoNLL-U Parser parses a CoNLL-U formatted string into a nested python dictionary"
url="https://github.com/EmilStenstrom/conllu/"
depends=('python')
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
sha256sums=('35b5b76280507977e9e86f18369a1a4e5d4075a3680f1e9b2fac7ed5d0aaf427')

build() {
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py build
}

package() {
    depends+=()
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}