python-tornado: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
b407f9ac21
commit
2fe86f12a0
2 changed files with 14 additions and 9 deletions
|
@ -1,13 +1,12 @@
|
|||
# Template file for 'python-tornado'
|
||||
pkgname=python-tornado
|
||||
version=4.4.2
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="tornado-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
pycompile_module="tornado"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
makedepends="python-devel python3.4-devel"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
makedepends="python-devel python3-devel"
|
||||
depends="ca-certificates python-singledispatch python-backports_abc"
|
||||
short_desc="Python2 web framework and asynchronous networking library"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
|
@ -16,12 +15,17 @@ license="Apache-2.0"
|
|||
distfiles="${PYPI_SITE}/t/tornado/tornado-${version}.tar.gz"
|
||||
checksum=2898f992f898cd41eeb8d53b6df75495f2f423b6672890aadaf196ea1448edcc
|
||||
|
||||
python3.4-tornado_package() {
|
||||
pycompile_version="3.4"
|
||||
python3-tornado_package() {
|
||||
pycompile_module="tornado"
|
||||
depends="ca-certificates python3.4-backports_abc"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
replaces="python3.4-tornado>=0"
|
||||
depends="ca-certificates python3-backports_abc"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vmove usr/lib/python3*
|
||||
}
|
||||
}
|
||||
python3.4-tornado_package() {
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||
depends="python3-tornado>=${version}_${revision}"
|
||||
}
|
||||
|
|
1
srcpkgs/python3-tornado
Symbolic link
1
srcpkgs/python3-tornado
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-tornado
|
Loading…
Reference in a new issue