blob: f04bf93e57077d9e54813774e621b5f689e94dd9 (
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
32
|
# Contributor: Drew DeVault <sir@cmpwn.com>
# Contributor: Orson Teodoro <orsonteodoro@hotmail.com>
# Maintainer: Orson Teodoro <orsonteodoro@hotmail.com>
pkgname=py3-pypeg2
pkgver=2.15.2
pkgrel=8
pkgdesc="An intrinsic PEG Parser-Interpreter for Python"
url="https://fdik.org/pyPEG2/"
arch="noarch"
license="GPL-2.0-only"
_gitrev="43b84d987ec1"
depends="python3 py3-lxml"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/p/pyPEG2/pyPEG2-$pkgver.tar.gz"
builddir="$srcdir/pyPEG2-$pkgver"
replaces="py-pypeg2" # Backwards compatibility
provides="py-pypeg2=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
python3 -m unittest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="f78e3b1294169167809c5fe05f2a69af2bd6c7c4c1bcbebafb4aa6b8ae6ead181a46b051e41193bc31f49c4b4fa7b1ef231d172217c11d301d0ee21d8e411b6f pyPEG2-2.15.2.tar.gz"
|