blob: 6ee30b924547a2b846907cffca59e9038e9074ea (
plain) (
blame)
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
|
# Template file for 'python3-grako'
pkgname=python3-grako
version=3.99.9
revision=7
wrksrc="grako-$version"
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel"
depends="python3-setuptools"
short_desc="Grammar compiler, EBNF input, PEG/Packrat parser output (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://bitbucket.org/neogeny/grako"
distfiles="$PYPI_SITE/g/grako/grako-$version.zip"
checksum=fcc37309eab7cd0cbbb26cfd6a54303fbb80a00a58ab295d1e665bc69189c364
conflicts="python-grako>=0"
pre_build() {
sed -i '/setup_requires=/d' setup.py
}
post_install() {
# TODO: Find out why we need to change these permissions manually
chmod -R +r "${DESTDIR}/${py3_sitelib}"
vlicense LICENSE.txt
}
|