blob: 91145e4f22210f1e20d6f9b2d8045ea79e8f863c (
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
33
|
# Contributor: Drew DeVault <sir@cmpwn.com>
# Contributor: Orson Teodoro <orsonteodoro@hotmail.com>
# Maintainer: Orson Teodoro <orsonteodoro@hotmail.com>
pkgname=py3-pypeg2
_pkgname=pypeg
pkgver=2.15.2
pkgrel=5
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="$pkgname-$pkgver.tar.gz::https://bitbucket.org/fdik/$_pkgname/get/$pkgver.tar.gz"
builddir="$srcdir"/fdik-$_pkgname-$_gitrev
replaces="py-pypeg2" # Backwards compatibility
provides="py-pypeg2=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
make test PYTHON=/usr/bin/python3
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="425e9f56c2353687ab0a77789c209359fd0cf50a949f39fea88c2e153737fbd4e7b0c9716895606a912fa4b98ced3380361739ebddeb13f60c6aad9e41a018d7 py3-pypeg2-2.15.2.tar.gz"
|