void-packages/srcpkgs/python-ply/template

29 lines
725 B
Bash
Raw Normal View History

2015-01-19 01:00:00 +01:00
# Template file for 'python-ply'
pkgname=python-ply
2015-04-28 15:06:05 +02:00
version=3.6
2015-01-19 01:00:00 +01:00
revision=1
noarch=yes
wrksrc="ply-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python"
pycompile_module="ply"
short_desc="Lex and Yacc for Python2"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://www.dabeaz.com/ply/"
license="BSD"
distfiles="${PYPI_SITE}/p/ply/ply-${version}.tar.gz"
2015-04-28 15:06:05 +02:00
checksum=61367b9eb2f4b819f69ea116750305270f1df8859992c9e356d6a851f25a4b47
2015-01-19 01:00:00 +01:00
python3.4-ply_package() {
noarch=yes
depends="python3.4"
pycompile_version="3.4"
pycompile_module="ply"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}