Пакет python-module-billiard: 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 | %define oname billiard %def_with python3 Name: python-module-%oname Version: 3.5.0.3 Release: alt2 Summary: billiard is a fork of the Python 2.7 multiprocessing package License: GPL Group: Development/Python Requires: python Url: https://github.com/celery/billiard/ # https://github.com/celery/billiard.git Source: %name-%version.tar BuildRequires: python-devel python-module-setuptools gcc-c++ python-module-sphinx BuildRequires: python2.7(case) BuildRequires: python2.7(unittest2) python2.7(mock) python2.7(pytest) %if_with python3 BuildRequires(pre): rpm-build-python3 BuildRequires: python3-devel python3-module-setuptools BuildRequires: python3(case) BuildRequires: python3(unittest2) python3(mock) python3(pytest) %endif %add_findreq_skiplist %python_sitelibdir/%oname/popen_spawn_win32.py %add_findreq_skiplist %python3_sitelibdir/%oname/popen_spawn_win32.py %description billiard is a fork of the Python 2.7 multiprocessing package. The multiprocessing package itself is a renamed and updated version of R Oudkerk's pyprocessing package. This standalone variant is intended to be compatible with Python 2.4 and 2.5, and will draw it's fixes/improvements from python-trunk. %if_with python3 %package -n python3-module-%oname Summary: billiard is a fork of the Python 2.7 multiprocessing package Group: Development/Python3 %description -n python3-module-%oname billiard is a fork of the Python 2.7 multiprocessing package. The multiprocessing package itself is a renamed and updated version of R Oudkerk's pyprocessing package. This standalone variant is intended to be compatible with Python 2.4 and 2.5, and will draw it's fixes/improvements from python-trunk. %endif %prep %setup %if_with python3 cp -a . ../python3 %endif %build %python_build_debug %if_with python3 pushd ../python3 %python3_build_debug popd %endif python setup.py build_sphinx --builder="html" --source-dir=Doc %install %if_with python3 pushd ../python3 %python3_install popd %if "%_libexecdir" != "%_libdir" install -d %buildroot%_libdir mv %buildroot%_libexecdir/* %buildroot%_libdir/ %endif %endif %python_install %check python setup.py test %if_with python3 pushd ../python3 python3 setup.py test popd %endif %files %doc build/sphinx/html LICENSE.txt CHANGES.txt README.rst %python_sitelibdir/* %if_with python3 %files -n python3-module-%oname %doc LICENSE.txt CHANGES.txt README.rst %python3_sitelibdir/* %endif %changelog * Fri Mar 02 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 3.5.0.3-alt2 - Updated build dependencies. * Wed Nov 08 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 3.5.0.3-alt1 - Updated to upstream version 3.5.0.3. - Enabled tests. - Merged in python3 build from python3-module-billiard. * Wed May 31 2017 Lenar Shakirov <snejok@altlinux.ru> 3.3.0.23-alt1 - Version 3.3.0.23 * Fri Jul 31 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.3.0.20-alt1 - Version 3.3.0.20 * Sat Oct 18 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.3.0.18-alt1 - Version 3.3.0.18 (ALT #30404) * Thu Apr 11 2013 Dmitry Derjavin <dd@altlinux.org> 2.7.3.26-alt2 - test_multiprocessing.py removed because of the wrong python2.7(test) dependency. * Thu Apr 11 2013 Dmitry Derjavin <dd@altlinux.org> 2.7.3.26-alt1 - Initial ALTLinux build. |