python-pyPEG2: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
5177672182
commit
cfe0388215
2 changed files with 15 additions and 9 deletions
|
@ -1,14 +1,13 @@
|
|||
# Template file for 'python-pyPEG2'
|
||||
pkgname=python-pyPEG2
|
||||
version=2.15.2
|
||||
revision=2
|
||||
revision=3
|
||||
noarch=yes
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
build_style=python-module
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
makedepends="python-devel python3.4-devel"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
makedepends="python-devel python3-devel"
|
||||
depends="python-lxml"
|
||||
python_versions="2.7 3.4"
|
||||
pycompile_module="pypeg2"
|
||||
short_desc="An intrinsic PEG Parser-Interpreter for Python2"
|
||||
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
||||
|
@ -17,13 +16,19 @@ homepage="http://fdik.org/pyPEG/"
|
|||
distfiles="${PYPI_SITE}/p/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
|
||||
checksum=2b2d4f80d8e1a9370b2a91f4a25f4abf7f69b85c8da84cd23ec36451958a1f6d
|
||||
|
||||
python3.4-pyPEG2_package() {
|
||||
python3-pyPEG2_package() {
|
||||
noarch=yes
|
||||
depends="python3.4-lxml"
|
||||
pycompile_version="3.4"
|
||||
depends="python3-lxml"
|
||||
pycompile_module="pypeg2"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
replaces="python3.4-pyPEG2>=0"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove /usr/lib/python3.4
|
||||
vmove usr/lib/python3*
|
||||
}
|
||||
}
|
||||
python3.4-pyPEG2_package() {
|
||||
noarch=yes
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||
depends="python3-pyPEG2>=${version}_${revision}"
|
||||
}
|
||||
|
|
1
srcpkgs/python3-pyPEG2
Symbolic link
1
srcpkgs/python3-pyPEG2
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-pyPEG2
|
Loading…
Reference in a new issue