aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-rply/APKBUILD
blob: b56eff56ece644733ba66bd4eb0d7ea28739dbfa (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=py3-rply
pkgver=0.7.7
pkgrel=1
pkgdesc="Python parser generator, that also works with RPython"
url="https://github.com/alex/rply"
arch="noarch"
license="BSD-3-Clause-Clear"
depends="py3-appdirs"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-runner"
source="$pkgname-$pkgver.tar.gz::https://github.com/alex/rply/archive/v$pkgver.tar.gz"
builddir="$srcdir/rply-$pkgver"

build() {
	python3 setup.py build
}

check() {
	py.test-3
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="c01166b7df067a6a55d1b43caa7b5a349045e838899daf82e2ba70a2c2525fd68e95f11e5319a1fe36936e696352a37bdc13f132f739cd52759a9a9c91e317ba  py3-rply-0.7.7.tar.gz"