Package python-module-taskflow: 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 | %define pypi_name taskflow %def_with python3 Name: python-module-%pypi_name Version: 1.30.0 Release: alt0.M70C.1 Epoch: 1 Summary: Taskflow structured state management library Group: Development/Python License: ASL 2.0 URL: https://launchpad.net/taskflow Source: %name-%version.tar BuildArch: noarch BuildRequires: python-devel BuildRequires: python-module-setuptools BuildRequires: python-module-pbr >= 1.8 BuildRequires: python-module-sphinx BuildRequires: python-module-oslosphinx BuildRequires: python-module-six >= 1.9.0 BuildRequires: python-module-enum34 BuildRequires: python-module-futurist >= 0.11.0 BuildRequires: python-module-fasteners >= 0.7 BuildRequires: python-module-networkx >= 1.10 python-module-networkx-tests BuildRequires: python-module-contextlib2 >= 0.4.0 BuildRequires: python-module-stevedore >= 1.5.0 BuildRequires: python-module-futures >= 3.0 BuildRequires: python-module-monotonic >= 0.6 BuildRequires: python-module-jsonschema >= 2.0.0 BuildRequires: python-module-automaton >= 0.5.0 BuildRequires: python-module-oslo.utils >= 3.5.0 BuildRequires: python-module-oslo.serialization >= 1.10.0 BuildRequires: python-module-retrying >= 1.2.3 BuildRequires: python-module-cachetools >= 1.0.0 BuildRequires: python-module-debtcollector >= 1.2.0 # for build doc and tests BuildRequires: python-module-hacking >= 0.10.0 BuildRequires: python-module-oslotest >= 1.10.0 BuildRequires: python-module-mock >= 1.2 BuildRequires: python-module-testtools >= 1.4.0 BuildRequires: python-module-testscenarios >= 0.4 BuildRequires: python-module-kombu >= 3.0.25 #BuildRequires: python-module-doc8 BuildRequires: python-module-kazoo >= 2.2 BuildRequires: python-module-redis-py >= 2.10.0 BuildRequires: python-module-SQLAlchemy >= 1.0.10 BuildRequires: python-module-alembic >= 0.8.0 BuildRequires: python-module-psycopg2 >= 2.5 BuildRequires: python-module-pymysql >= 0.6.2 BuildRequires: python-module-eventlet >= 0.18.2 Requires: python-module-six Requires: python-module-jsonschema Requires: python-module-networkx-core Requires: python-module-stevedore Requires: python-module-futures Requires: python-module-oslo.serialization Requires: python-module-oslo.utils %if_with python3 BuildRequires(pre): rpm-build-python3 BuildRequires: python3-devel BuildRequires: python3-module-setuptools BuildRequires: python3-module-pbr >= 1.8 BuildRequires: python3-module-six >= 1.9.0 BuildRequires: python3-module-futurist >= 0.1.2 BuildRequires: python3-module-fasteners >= 0.7 BuildRequires: python3-module-networkx >= 1.10 BuildRequires: python3-module-contextlib2 >= 0.4.0 BuildRequires: python3-module-stevedore >= 1.5.0 BuildRequires: python3-module-monotonic >= 0.3 BuildRequires: python3-module-jsonschema >= 2.0.0 BuildRequires: python3-module-automaton >= 0.5.0 BuildRequires: python3-module-oslo.utils >= 2.0.0 BuildRequires: python3-module-oslo.serialization >= 1.4.0 BuildRequires: python3-module-cachetools >= 1.0.0 BuildRequires: python3-module-debtcollector >= 0.3.0 %endif %description A library to do [jobs, tasks, flows] in a HA manner using different backends to be used with OpenStack projects. %package doc Summary: Documentation for Taskflow Group: Development/Documentation %description doc A library to do [jobs, tasks, flows] in a HA manner using different backends to be used with OpenStack projects. This package contains the associated documentation. %if_with python3 %package -n python3-module-%pypi_name Summary: Taskflow structured state management library Group: Development/Python3 %description -n python3-module-%pypi_name A library to do [jobs, tasks, flows] in a HA manner using different backends to be used with OpenStack projects. %endif %prep %setup # Remove bundled egg-info rm -rf %{pypi_name}.egg-info # Remove the requirements file so that pbr hooks don't add it # to distutils requires_dist config rm -rf {test-,}requirements.txt %if_with python3 rm -rf ../python3 cp -a . ../python3 %endif %build %python_build %if_with python3 pushd ../python3 %python3_build popd %endif # disabling git call for last modification date from git repo sed '/^html_last_updated_fmt.*/,/.)/ s/^/#/' -i doc/source/conf.py python setup.py build_sphinx # Fix hidden-file-or-dir warnings rm -fr doc/build/html/.buildinfo %install %python_install %if_with python3 pushd ../python3 %python3_install popd %endif # Delete tests rm -fr %buildroot%python_sitelibdir/*/tests rm -fr %buildroot%python_sitelibdir/*/test* rm -fr %buildroot%python_sitelibdir/*/examples rm -fr %buildroot%python3_sitelibdir/tests rm -fr %buildroot%python3_sitelibdir/*/tests rm -fr %buildroot%python3_sitelibdir/*/examples %files %doc README.rst LICENSE ChangeLog %python_sitelibdir/* %files doc %doc doc/build/html %if_with python3 %files -n python3-module-%pypi_name %python3_sitelibdir/* %endif %changelog * Sat Nov 05 2016 Lenar Shakirov <snejok@altlinux.ru> 1:1.30.0-alt0.M70C.1 - Backport to C7 * Wed Apr 13 2016 Alexey Shabalin <shaba@altlinux.ru> 1:1.30.0-alt1 - 1.30.0 * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 1:1.21.0-alt1.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Thu Oct 29 2015 Alexey Shabalin <shaba@altlinux.ru> 1:1.21.0-alt1 - 1.21.0 - add python3 package * Mon Oct 12 2015 Alexey Shabalin <shaba@altlinux.ru> 1:0.7.1-alt1 - downgrade to 0.7.1 * Tue Mar 31 2015 Alexey Shabalin <shaba@altlinux.ru> 0.8.0-alt1 - 0.8.0 * Thu Jul 31 2014 Lenar Shakirov <snejok@altlinux.ru> 0.1.2-alt1 - First build for ALT (based on Fedora 0.1.2-7.fc21.src) |