1 # Maintainer: Rémy Oudompheng <remy@archlinux.org>
6 pkgdesc="A PEG-based parser interpreter with memoization"
8 url="https://github.com/avakar/pyspeg"
10 depends=('python' 'python-six')
11 makedepends=('python-setuptools')
12 source=(https://pypi.io/packages/source/s/speg/speg-$pkgver.zip
14 sha256sums=('10cbef47e168dfc62f14db575cf1c428037a2b881cee6c3cfceda0439c243e71'
15 '37d897f62a4324d8d2f313d7d1b98cd26f872d2ae598b7eb9a69b1c129bcc135')
17 package_python-speg() {
18 cd "$srcdir"/speg-${pkgver}
19 python setup.py install --root="${pkgdir}"
20 install -D -m644 "$srcdir"/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"