1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 thisapp = tornado-%{version}
12 maintainer = Michael Tremer <michael.tremer@ipfire.org>
13 groups = Development/Libraries
14 url = http://www.tornadoweb.org/
16 summary = A python based non-blocking web server.
19 The framework is distinct from most mainstream web server frameworks
20 (and certainly most Python frameworks) because it is non-blocking
24 source_dl = https://pypi.python.org/packages/source/t/tornado/
25 source_dl += http://github.com/downloads/facebook/tornado/
29 pakfire-builder >= 0.9.23-2
34 DIR_APP3 = %{DIR_APP}-python3
37 find tornado -name "*py" | xargs sed -e '/^#!\//, 1d' -i
39 cp -a %{DIR_APP} %{DIR_APP3}
44 %{python3} setup.py build
47 %{python} setup.py build
52 %{python3} setup.py install --skip-build --root=%{BUILDROOT}
55 %{python} setup.py install --skip-build --root=%{BUILDROOT}
66 package python3-tornado