vp-build/srcpkgs/python3-Arpeggio/template

26 lines
837 B
Bash

# Template file for 'python3-Arpeggio'
pkgname=python3-Arpeggio
version=2.0.0
revision=1
wrksrc="Arpeggio-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
checkdepends="python3-pytest"
short_desc="Recursive descent parser with memoization based on PEG grammars"
maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
license="MIT"
homepage="https://github.com/textX/Arpeggio"
changelog="https://raw.githubusercontent.com/textX/Arpeggio/master/CHANGELOG.md"
distfiles="https://github.com/textX/Arpeggio/archive/${version}.tar.gz"
checksum=70eb3d33948b9d69320c919d2e1820381220e6960ed46f805fbe6f1a09f03a66
post_patch() {
# Package does not *need* pytest-runner to build, and Void doesn't have it
vsed -e '/pytest-runner/d' -i setup.cfg
}
post_install() {
vlicense LICENSE
}