Package python3-module-celery: 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 | %define _unpackaged_files_terminate_build 1 %define oname celery %add_python3_req_skip celery.utils.nodenames %add_python3_req_skip celery.utils.time %def_without s3 # wait for new botocore, pytest %def_disable check # AttributeError: module 'sphinx.ext.autodoc' has no attribute 'AutoDirective' %def_without doc Name: python3-module-%oname Version: 5.1.2 Release: alt1 Summary: Celery is an open source asynchronous task queue/job queue based on distributed message passing Group: Development/Python3 License: BSD License URL: https://github.com/celery/celery # https://github.com/celery/celery.git # Source-url: https://pypi.io/packages/source/c/%oname/%oname-%version.tar.gz Source: %name-%version.tar #Patch1: %oname-%version-alt-tests.patch # Patches from Debian Patch10: 0005-Disable-pytest-3.3-log-capturing-to-avoid-changing-l.patch Patch11: 0007-Set-shell-in-su-invocation.patch Patch12: privacy.patch BuildRequires(pre): rpm-build-intro BuildRequires(pre): rpm-build-python3 BuildRequires: dvipng BuildRequires: python3-module-setuptools BuildRequires: python3-module-html5lib python3-module-nose BuildRequires: python3(Crypto) BuildRequires: python3-module-django python3-module-ecdsa python3-module-pytz python3(requests) BuildRequires: python3(case) python3(eventlet) BuildRequires: python3(redis) %if_with doc BuildRequires(pre): rpm-macros-sphinx3 BuildRequires: python3(sphinx_celery) BuildRequires: python3-module-sphinx %endif %py3_use kombu >= 4.6.10 %py3_use billiard >= 3.6.3 %py3_use vine >= 1.3.0 %if_enabled check # /proc is required for some tests BuildRequires: /proc BuildRequires: python3-module-botocore >= 1.10.29 BuildRequires: python3-module-botocore < 1.11.0 BuildRequires: python3-module-mock BuildRequires: python3-module-pytest >= 4.3.1 BuildRequires: python3-module-pytest < 4.4.0 BuildRequires: python3-module-unittest2 %endif %if_with s3 BuildRequires: python3-module-moto >= 1.3.7 %endif Conflicts: python-module-celery # due /usr/bin/celery Obsoletes: python-module-celery %description Celery is an open source asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well. The execution units, called tasks, are executed concurrently on one or more worker nodes using multiprocessing, `Eventlet`_ or `gevent`_. Tasks can execute asynchronously (in the background) or synchronously (wait until ready). Celery is used in production systems to process millions of tasks a day. %package docs Summary: Documentation for %oname Group: Development/Documentation BuildArch: noarch %description docs Celery is an open source asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well. The execution units, called tasks, are executed concurrently on one or more worker nodes using multiprocessing, `Eventlet`_ or `gevent`_. Tasks can execute asynchronously (in the background) or synchronously (wait until ready). Celery is used in production systems to process millions of tasks a day. This package contains documentation for %oname. %package sphinx Summary: Sphinx documentation plugin used to document tasks Group: Development/Python3 Requires: %name = %EVR %description sphinx Sphinx documentation plugin used to document tasks. %prep %setup #patch1 -p1 #patch10 -p1 %patch11 -p1 #patch12 -p1 # disable moto using (needed for S3 tests) subst "s|moto==.*||" requirements/test.txt %build # skip using moto rm -fv celery/t/unit/backends/test_s3.py %python3_build_debug %install %python3_install # FIXME: hack %if "%_target_libdir_noarch" != "%_libdir" mv %buildroot%_target_libdir_noarch %buildroot%_libdir %endif %if_with doc %make -C docs html SPHINXBUILD=sphinx-build-3 %endif %check rm -f t/unit/contrib/test_sphinx.py %python3_test %files %doc *.txt *.rst TODO %_bindir/* %python3_sitelibdir/celery* %exclude %python3_sitelibdir/celery/contrib/sphinx.py %files sphinx %python3_sitelibdir/celery/contrib/sphinx.py %if_with doc %files docs %doc docs/_build/html/* %endif %changelog * Tue Jul 06 2021 Vitaly Lipatov <lav@altlinux.ru> 5.1.2-alt1 - new version 5.1.2 (with rpmrb script) * Tue Apr 27 2021 Vitaly Lipatov <lav@altlinux.ru> 4.4.7-alt2 - separate sphinx plugin * Wed Nov 04 2020 Vitaly Lipatov <lav@altlinux.ru> 4.4.7-alt1 - new version (4.4.7) with rpmgs script * Wed Oct 28 2020 Vitaly Lipatov <lav@altlinux.ru> 4.3.0-alt5 - add Obsoletes: python-module-celery (due /usr/bin/celery command) * Wed Oct 07 2020 Vitaly Lipatov <lav@altlinux.ru> 4.3.0-alt4 - add Conflicts: python-module-celery * Thu Sep 10 2020 Vitaly Lipatov <lav@altlinux.ru> 4.3.0-alt3 - build standalone python3 module - temp. disable doc () * Mon Jun 03 2019 Vitaly Lipatov <lav@altlinux.ru> 4.3.0-alt2 - update requires * Mon Jun 03 2019 Vitaly Lipatov <lav@altlinux.ru> 4.3.0-alt1 - new version 4.3.0 (with rpmrb script) - switch to build from tarball - temp. disable check due obsoleted moto module * Thu Sep 13 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 4.2.1-alt1 - Updated to upstream version 4.2.1. * Fri Feb 02 2018 Stanislav Levin <slev@altlinux.org> 4.1.0-alt1.1 - (NMU) Fix Requires and BuildRequires to python-setuptools * Wed Nov 08 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 4.1.0-alt1 - Updated to upstream version 4.1.0. - Enabled tests. * Thu Jun 01 2017 Lenar Shakirov <snejok@altlinux.ru> 3.1.24-alt1 - Version 3.1.24 - Revert real@ patches * Tue Jun 07 2016 Ivan Zakharyaschev <imz@altlinux.org> 3.1.18-alt1.git20150422.1.1.1 - (AUTO) subst_x86_64. * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 3.1.18-alt1.git20150422.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> 3.1.18-alt1.git20150422.1 - NMU: Use buildreq for BR. * Fri Jul 31 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.1.18-alt1.git20150422 - Version 3.1.18 - Extracted tests into separate package * Thu Nov 20 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.1.17-alt1.git20141119 - Version 3.1.17 * Fri Oct 17 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.1.16-alt1.git20141003 - Version 3.1.16 * Tue Sep 02 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.1.13-alt1.git20140710 - Version 3.1.13 - Added module for Python 3 * Tue Sep 02 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.5.3-alt2 - Added module for Python 3 * Thu Nov 28 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.5.3-alt1.1 - Fixed build * Thu May 03 2012 Slava Dubrovskiy <dubrsl@altlinux.org> 2.5.3-alt1 - build for ALT |