void-packages/srcpkgs/python-parsing/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

32 lines
783 B
Bash

# Template file for 'python-parsing'
pkgname=python-parsing
version=2.2.0
revision=2
noarch=yes
wrksrc="pyparsing-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
pycompile_module="pyparsing.py"
short_desc="Python parsing module (Python2)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://pyparsing.wikispaces.com/"
distfiles="${PYPI_SITE}/p/pyparsing/pyparsing-${version}.tar.gz"
checksum=0832bcf47acd283788593e7a0f542407bd9550a55a8a8435214a1960e04bcb04
post_install() {
vlicense LICENSE
}
python3-parsing_package() {
noarch=yes
depends="python3"
pycompile_module="pyparsing.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}