Package python3-module-eventlet: 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 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 | %define oname eventlet %def_with check %def_with docs Name: python3-module-%oname Version: 0.33.3 Release: alt3 Summary: Highly concurrent networking library License: MIT Group: Development/Python3 Url: https://pypi.org/project/eventlet/ # Source-url: %__pypi_url %oname Source: %name-%version.tar Patch: remove-nose.patch Patch1: eventlet-0.33.3-alt-drop-distutils.patch BuildArch: noarch BuildRequires(pre): rpm-build-intro >= 2.2.5 BuildRequires(pre): rpm-build-python3 BuildRequires(pre): rpm-macros-sphinx3 BuildRequires: python3-module-sphinx BuildRequires: python3-module-urllib3 # generated by epm --restore --dry-run from eventlet/setup.py install_requires %py3_use dns >= 1.15.0 %py3_use greenlet >= 0.3 %py3_use six >= 1.10.0 %if_with check BuildRequires: python3(zmq) BuildRequires: pytest3 %endif %add_python3_req_skip stackless # required by strange pylib.py: %add_python3_req_skip py.magic %description Eventlet is a concurrent networking library for Python that allows you to change how you run your code, not how you write it. It uses epoll or libevent for highly scalable non-blocking I/O. Coroutines ensure that the developer uses a blocking style of programming that is similar to threading, but provide the benefits of non-blocking I/O. The event dispatch is implicit, which means you can easily use Eventlet from the Python interpreter, or as a small part of a larger application. %if_with docs %package pickles Summary: Pickles for Eventlet Group: Development/Python %description pickles Eventlet is a concurrent networking library for Python that allows you to change how you run your code, not how you write it. It uses epoll or libevent for highly scalable non-blocking I/O. Coroutines ensure that the developer uses a blocking style of programming that is similar to threading, but provide the benefits of non-blocking I/O. The event dispatch is implicit, which means you can easily use Eventlet from the Python interpreter, or as a small part of a larger application. This package contains pickles for Eventlet. %package docs Summary: Documentation for Eventlet Group: Development/Documentation BuildArch: noarch %description docs Eventlet is a concurrent networking library for Python that allows you to change how you run your code, not how you write it. It uses epoll or libevent for highly scalable non-blocking I/O. Coroutines ensure that the developer uses a blocking style of programming that is similar to threading, but provide the benefits of non-blocking I/O. The event dispatch is implicit, which means you can easily use Eventlet from the Python interpreter, or as a small part of a larger application. This package contains documentation for Eventlet. %endif %prep %setup %patch -p1 %patch1 -p1 # requires thrift, python 2.7 only rm -rv eventlet/zipkin # remove obsoleted tsafe (ALT bug 45443) rm -v eventlet/green/OpenSSL/tsafe.py %if_with docs %prepare_sphinx3 . ln -s ../objects.inv doc/ %endif %build %python3_build export PYTHONPATH=$(pwd)/build/lib %if_with docs %make -C doc html SPHINXBUILD=sphinx-build-3 %endif %install %python3_install %python3_prune %check # raise timeouts #grep -qsrF 'TEST_TIMEOUT =' || exit 1 #grep -srlF 'TEST_TIMEOUT =' | xargs \ #sed -i 's/TEST_TIMEOUT[[:space:]]*=[[:space:]]*[0-9]\+$/TEST_TIMEOUT = 20/g' py.test3 -v -o norecursedirs="tests/*" -k " not BackdoorTest and \ not test_server and \ not test_dns_methods_are_green and \ not test_noraise_dns_tcp and \ not test_fork_after_monkey_patch and \ not test_send_1k_req_rep and \ not test_cpu_usage_after_bind and \ not test_leakage_from_tracebacks and \ not test_connect_ssl and \ not test_ssl_sending_messages and \ not test_wrap_ssl and \ not ssl_test and \ not wsgi_test and \ not test_patcher_existing_locks_locked and \ not test_017_ssl_zeroreturnerror and \ not TestProxyResolver and \ not TinyDNSTests" %files %doc AUTHORS NEWS README.rst %python3_sitelibdir/eventlet-%version-py%_python3_version.egg-info/ %python3_sitelibdir/eventlet/ %if_with doc %files docs %doc examples doc/_build/html %endif %changelog * Fri Oct 13 2023 Anton Vyatkin <toni@altlinux.org> 0.33.3-alt3 - Dropped dependency on distutils. * Wed Apr 12 2023 Anton Vyatkin <toni@altlinux.org> 0.33.3-alt2 - Fix BuildRequires * Fri Mar 17 2023 Vitaly Lipatov <lav@altlinux.ru> 0.33.3-alt1 - new version 0.33.3 (with rpmrb script) - remove obsoleted OpenSSL.tsafe using (ALT bug 45443) * Sun Sep 11 2022 Vitaly Lipatov <lav@altlinux.ru> 0.33.1-alt1 - new version 0.33.1 (with rpmrb script) * Sat Feb 12 2022 Anton Midyukov <antohami@altlinux.org> 0.33.0-alt1 - new version (0.33.0) with rpmgs script - enable check * Fri Nov 13 2020 Vitaly Lipatov <lav@altlinux.ru> 0.29.1-alt2 - make docs (tests still be disabled due python2 reqs) * Sun Nov 08 2020 Vitaly Lipatov <lav@altlinux.ru> 0.29.1-alt1 - new version 0.29.1 (with rpmrb script) - update buildrequires * Sun Nov 08 2020 Vitaly Lipatov <lav@altlinux.ru> 0.25.1-alt3 - build python3 package separately, cleanup spec * Fri Oct 09 2020 Igor Vlasenko <viy@altlinux.ru> 0.25.1-alt2 - NMU: removed deprecated python2 zipkin due to thrift dependency * Tue Jun 09 2020 Grigory Ustinov <grenka@altlinux.org> 0.25.1-alt1 - Automatically updated to 0.25.1. - Build without check (for openstack update). * Fri Apr 26 2019 Stanislav Levin <slev@altlinux.org> 0.24.1-alt1 - 0.18.4 -> 0.24.1. - Enabled testing. * Fri Feb 02 2018 Stanislav Levin <slev@altlinux.org> 0.18.4-alt1.1 - (NMU) Fix Requires and BuildRequires to python-setuptools * Mon Apr 11 2016 Alexey Shabalin <shaba@altlinux.ru> 0.18.4-alt1 - 0.18.4 * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.17.4-alt1.git20150722.1.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Thu Jan 28 2016 Mikhail Efremov <sem@altlinux.org> 0.17.4-alt1.git20150722.1 - NMU: Use buildreq for BR. * Sat Jul 25 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.17.4-alt1.git20150722 - Version 0.17.4 * Wed Feb 25 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.17.1-alt1.git20150225 - Version 0.17.1 * Wed Jan 14 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.16.1-alt1.git20150114 - Version 0.16.1 * Tue Dec 30 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.16.0-alt1.git20141230 - Version 0.16.0 - Added module for Python 3 * Mon Nov 10 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.16.0-alt1.dev.git20141106 - Version 0.16.0.dev * Wed Jul 30 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.15.0-alt2 - Added module for Python 3 * Fri Jul 11 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.15.0-alt1 - Version 0.15.0 * Tue Sep 17 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.14.0-alt1 - Version 0.14.0 * Wed Feb 13 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.12.1-alt1 - Version 0.12.1 * Tue Jun 05 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.16-alt1 - Initial build for Sisyphus |