void-packages/srcpkgs/python-parsing/template
2019-12-23 14:53:05 +01:00

32 lines
897 B
Bash

# Template file for 'python-parsing'
pkgname=python-parsing
version=2.4.2
revision=2
archs=noarch
wrksrc="pyparsing-pyparsing_${version}"
build_style=python-module
pycompile_module="pyparsing.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python parsing module (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT"
homepage="https://github.com/pyparsing/pyparsing"
changelog="https://github.com/pyparsing/pyparsing/raw/master/CHANGES"
distfiles="https://github.com/pyparsing/pyparsing/archive/pyparsing_${version}.tar.gz"
checksum=fc079f975968ae21f82223ae2340a39e7182ea993631812ddb5978619ed5c456
post_install() {
vlicense LICENSE
}
python3-parsing_package() {
archs=noarch
depends="python3"
pycompile_module="pyparsing.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}