diff --git a/srcpkgs/python3-Arpeggio/template b/srcpkgs/python3-Arpeggio/template new file mode 100644 index 00000000000..941fe2b4fdf --- /dev/null +++ b/srcpkgs/python3-Arpeggio/template @@ -0,0 +1,25 @@ +# 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 " +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 +}