1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Alexander F Rødseth <xyproto@archlinux.org>
3 # Contributor: Chris Brannon <cmbrannon79@gmail.com>
4 # Contributor: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
5 # Contributor: Arvid Ephraim Picciani <aep@exys.org>
6 # Contributor: Michael Krauss <hippodriver@gmx.net>
8 pkgname=python-pyparsing
11 pkgdesc='General parsing module for Python'
13 url='https://github.com/pyparsing/pyparsing/'
16 makedepends=('python-build' 'python-installer' 'python-flit-core')
17 checkdepends=('python-jinja' 'python-railroad-diagrams')
18 optdepends=('python-railroad-diagrams: for generating Railroad Diagrams'
19 'python-jinja: for generating Railroad Diagrams')
20 source=("https://github.com/pyparsing/pyparsing/archive/pyparsing_$pkgver.tar.gz")
21 sha512sums=('1158f27e31f8eced540217b7234b09005eac416fad74faf59678fdae93fe2f76e0e3b5f4adfd3ceb42c8aef19150950293e989c9a5189741175073eb7a03cd6d')
24 cd pyparsing-pyparsing_$pkgver
29 cd pyparsing-pyparsing_$pkgver
34 cd pyparsing-pyparsing_$pkgver
35 python -m installer --destdir="$pkgdir" dist/*.whl
36 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
39 # vim:set ts=2 sw=2 et: