28 lines
899 B
Bash
28 lines
899 B
Bash
# Template file for 'python-tornado'
|
|
pkgname=python-tornado
|
|
version=4.3
|
|
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"
|
|
depends="ca-certificates python-singledispatch python-backports_abc"
|
|
short_desc="Python2 web framework and asynchronous networking library"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="http://www.tornadoweb.org/"
|
|
license="Apache-2.0"
|
|
distfiles="${PYPI_SITE}/t/tornado/tornado-${version}.tar.gz"
|
|
checksum=c9c2d32593d16eedf2cec1b6a41893626a2649b40b21ca9c4cac4243bde2efbf
|
|
|
|
python3.4-tornado_package() {
|
|
pycompile_version="3.4"
|
|
pycompile_module="tornado"
|
|
depends="ca-certificates python3.4-backports_abc"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3.4
|
|
}
|
|
}
|