python-CherryPy: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
79c6141c70
commit
b8b6fe3877
2 changed files with 17 additions and 11 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-CherryPy'
|
# Template file for 'python-CherryPy'
|
||||||
pkgname=python-CherryPy
|
pkgname=python-CherryPy
|
||||||
version=8.1.2
|
version=8.1.2
|
||||||
revision=2
|
revision=3
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="CherryPy-${version}"
|
wrksrc="CherryPy-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
||||||
depends="python-six"
|
depends="python-six"
|
||||||
pycompile_module="cherrypy"
|
pycompile_module="cherrypy"
|
||||||
short_desc="Object-oriented HTTP framework (Python2)"
|
short_desc="Object-oriented HTTP framework (Python2)"
|
||||||
|
@ -15,22 +14,28 @@ license="3-clause-BSD"
|
||||||
homepage="http://www.cherrypy.org"
|
homepage="http://www.cherrypy.org"
|
||||||
distfiles="${PYPI_SITE}/C/CherryPy/CherryPy-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/C/CherryPy/CherryPy-${version}.tar.gz"
|
||||||
checksum=45a92fdd18baa19d055e5f53bb3c4293821a30e83bf3c5244b867685397f5380
|
checksum=45a92fdd18baa19d055e5f53bb3c4293821a30e83bf3c5244b867685397f5380
|
||||||
alternatives="cherrypy:cherryd:/usr/bin/cherryd2.7"
|
alternatives="cherrypy:cherryd:/usr/bin/cherryd2"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense cherrypy/LICENSE.txt
|
vlicense cherrypy/LICENSE.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-CherryPy_package() {
|
python3-CherryPy_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4-six"
|
depends="python3-six"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="cherrypy"
|
pycompile_module="cherrypy"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-CherryPy>=0"
|
||||||
alternatives="cherrypy:cherryd:/usr/bin/cherryd3.4"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
alternatives="cherrypy:cherryd:/usr/bin/cherryd3"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/cherryd3.4
|
vmove usr/bin/cherryd3
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
vlicense cherrypy/LICENSE.txt
|
vlicense cherrypy/LICENSE.txt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-CherryPy_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-CherryPy>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-CherryPy
Symbolic link
1
srcpkgs/python3-CherryPy
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-CherryPy
|
Loading…
Add table
Add a link
Reference in a new issue