void-packages/srcpkgs/python-pyPEG2/template

28 lines
788 B
Bash

# Template file for 'python-pyPEG2'
pkgname=python-pyPEG2
version=2.15.2
revision=5
archs=noarch
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
depends="python-lxml"
pycompile_module="pypeg2"
short_desc="An intrinsic PEG Parser-Interpreter for Python2"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2"
homepage="http://fdik.org/pyPEG/"
distfiles="${PYPI_SITE}/p/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
checksum=2b2d4f80d8e1a9370b2a91f4a25f4abf7f69b85c8da84cd23ec36451958a1f6d
python3-pyPEG2_package() {
archs=noarch
depends="python3-lxml"
pycompile_module="pypeg2"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}