void-packages/srcpkgs/python-parsing/template
2020-03-10 13:20:57 +00:00

30 lines
832 B
Bash

# Template file for 'python-parsing'
pkgname=python-parsing
version=2.4.6
revision=1
archs=noarch
wrksrc="pyparsing-pyparsing_${version}"
build_style=python-module
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=1cfe911bf73d6a03d38c1c7808096ef848d03f4c5df6e4aee69fc7348c89e4f0
post_install() {
vlicense LICENSE
}
python3-parsing_package() {
archs=noarch
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}