74e69288e8
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
38 lines
1,005 B
Bash
38 lines
1,005 B
Bash
# Template file for 'python-parsing'
|
|
pkgname=python-parsing
|
|
version=2.1.10
|
|
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=811c3e7b0031021137fc83e051795025fcb98674d07eb8fe922ba4de53d39188
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-parsing_package() {
|
|
noarch=yes
|
|
depends="python3"
|
|
pycompile_module="pyparsing.py"
|
|
replaces="python3.4-parsing>=0"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|
|
python3.4-parsing_package() {
|
|
noarch=yes
|
|
build_style=meta
|
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
|
depends="python3-parsing>=${version}_${revision}"
|
|
}
|