Package python3-module-tornado: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | %define oname tornado Name: python3-module-%oname Version: 6.3.3 Release: alt1.1 Summary: Scalable, non-blocking web server and tools License: Apache-2.0 Group: Development/Python3 URL: https://pypi.org/project/tornado VCS: https://github.com/tornadoweb/tornado Source: %name-%version.tar Patch: Do-not-turn-DeprecationWarning-into-Exception.patch Patch1: tornado-increase-timeout-for-simplehttpclienttest.patch BuildRequires(pre): rpm-build-python3 Requires: ca-certificates python3-module-certifi %add_python3_req_skip MySQLdb pycurl %description Tornado is an open source version of the scalable, non-blocking web server and tools. The framework is distinct from most mainstream web server frameworks (and certainly most Python frameworks) because it is non-blocking and reasonably fast. Because it is non-blocking and uses epoll, it can handle thousands of simultaneous standing connections, which means it is ideal for real-time web services. %prep %setup %patch -p1 %patch1 -p1 # remove shebang from files sed -i.orig -e '/^#!\//, 1d' *py tornado/*.py tornado/*/*.py %build %python3_build %install %python3_install pushd %buildroot%python3_sitelibdir/%oname rm -rf ca-certificates.crt ln -sf /usr/share/ca-certificates/ca-bundle.crt ca-certificates.crt # do not install tests rm -r %buildroot%python3_sitelibdir/tornado/test %check export ASYNC_TEST_TIMEOUT=120 %__python3 -m tornado.test.runtests --verbose %files %doc LICENSE *.rst %python3_sitelibdir/%oname %python3_sitelibdir/%oname-%version-py%_python3_version.egg-info %changelog * Wed Sep 13 2023 Ivan A. Melnikov <iv@altlinux.org> 6.3.3-alt1.1 - Increase timeout for simple_httpclient_test (fixes build on riscv64 and mipsel). * Mon Sep 11 2023 Grigory Ustinov <grenka@altlinux.org> 6.3.3-alt1 - Automatically updated to 6.3.3. * Tue May 16 2023 Grigory Ustinov <grenka@altlinux.org> 6.3.2-alt1 - Automatically updated to 6.3.2. * Wed Apr 26 2023 Grigory Ustinov <grenka@altlinux.org> 6.3.1-alt1 - Automatically updated to 6.3.1. * Mon Jul 25 2022 Grigory Ustinov <grenka@altlinux.org> 6.2.0-alt1 - Automatically updated to 6.2.0. * Sat Feb 12 2022 Ivan A. Melnikov <iv@altlinux.org> 6.1.0-alt2.1 - Increased test timeout (fixes build on riscv64) * Mon Dec 06 2021 Grigory Ustinov <grenka@altlinux.org> 6.1.0-alt2 - Fixed build with python3.10. * Sun Oct 03 2021 Grigory Ustinov <grenka@altlinux.org> 6.1.0-alt1 - Build new version (Closes: #40697). - Fix license tag. - Enable check. * Mon Aug 02 2021 Grigory Ustinov <grenka@altlinux.org> 5.1.1-alt3 - Drop python2 support. * Wed Jan 30 2019 Stanislav Levin <slev@altlinux.org> 5.1.1-alt2 - Added dependency on python futures. * Thu Jan 24 2019 Grigory Ustinov <grenka@altlinux.org> 5.1.1-alt1 - Build new version. * Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 4.4.2-alt2.1 - (NMU) Rebuilt with python-3.6.4. * Mon Nov 21 2016 Lenar Shakirov <snejok@altlinux.ru> 4.4.2-alt2 - Requires: python-module-certifi added * Tue Oct 18 2016 Vladimir Didenko <cow@altlinux.org> 4.4.2-alt1 - update version - update requires for Python 2 version * Thu Sep 08 2016 Valentin Rosavitskiy <valintinr@altlinux.org> 4.4.1-alt1.1.1 - (NMU) update version * Thu Mar 17 2016 Ivan Zakharyaschev <imz@altlinux.org> 4.2.1-alt1.1.1 - (NMU) rebuild with python3-3.5 & rpm-build-python3-0.1.10 (for ABI dependence and new python3(*) reqs) * Thu Jan 28 2016 Mikhail Efremov <sem@altlinux.org> 4.2.1-alt1.1 - NMU: Use buildreq for BR. * Sat Aug 08 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.2.1-alt1 - Version 4.2.1 * Mon Feb 09 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1.0-alt1 - Version 4.1.0 * Mon Dec 1 2014 Vladimir Didenko (REAL) <cow@altlinux.org> 4.0.2-alt2 - Add dependency to python-module-backports.ssl_match_hostname * Fri Nov 28 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0.2-alt1 - Version 4.0.2 * Mon Sep 09 2013 Alexey Shabalin <shaba@altlinux.ru> 3.1.1-alt1 - 3.1.1 * Sat Mar 02 2013 Aleksey Avdeev <solo@altlinux.ru> 2.4.1-alt1 - 2.4.1 * Fri Jun 01 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.1.1-alt1.1 - Added module for Python 3 * Wed Nov 23 2011 Alexey Shabalin <shaba@altlinux.ru> 2.1.1-alt1 - initial build for ALT Linux Sisyphus |