Пакет python3-module-pbr: 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 | %define pypi_name pbr %def_without doc %define descr \ PBR is a library that injects some useful and sensible default behaviors \ into your setuptools run. It started off life as the chunks of code that \ were copied between all of the OpenStack projects. Around the time that \ OpenStack hit 18 different projects each with at least 3 active \ branches, it seems like a good time to make that code into a proper \ re-usable library. Name: python3-module-%pypi_name Version: 6.0.0 Release: alt1 Summary: Python Build Reasonableness Group: Development/Python3 License: Apache-2.0 URL: http://pypi.python.org/pypi/pbr # Source-url: %__pypi_url %pypi_name Source: %name-%version.tar BuildRequires(pre): rpm-build-intro >= 2.2.4 BuildRequires(pre): rpm-build-python3 %if_with doc BuildRequires: python3-module-sphinx python3-module-sphinxcontrib-apidoc %endif BuildArch: noarch Conflicts: python-module-pbr < 5.5.0-alt4 # for python w/o distutils %filter_from_requires /python3(distutils.*)/d Requires: python3(setuptools._distutils) %description %descr %prep %setup # Remove the requirements file so that pbr hooks don't add it # to distutils requiers_dist config rm -rf {test-,}requirements.txt # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build export PBR_VERSION="%version" export SKIP_PIP_INSTALL=1 %python3_build %if_with doc # generate html docs sphinx-build-3 doc/source html # remove the sphinx-build leftovers rm -rf html/.{doctrees,buildinfo} %endif %install export PBR_VERSION="%version" %python3_install %python3_prune # no idea who use it rm -fv %buildroot%python3_sitelibdir/%pypi_name/sphinxext.py %files %doc README.rst LICENSE %if_with doc %doc html %endif %_bindir/* %python3_sitelibdir/%pypi_name-%version-py*.egg-info %python3_sitelibdir/%pypi_name %changelog * Mon Dec 18 2023 Grigory Ustinov <grenka@altlinux.org> 6.0.0-alt1 - Automatically updated to 6.0.0. - Build without docs for python3.12. - Build without distutils. * Thu Jan 12 2023 Grigory Ustinov <grenka@altlinux.org> 5.11.1-alt1 - Automatically updated to 5.11.1. * Thu Oct 20 2022 Grigory Ustinov <grenka@altlinux.org> 5.11.0-alt1 - Automatically updated to 5.11.0. * Fri Aug 12 2022 Grigory Ustinov <grenka@altlinux.org> 5.10.0-alt1 - Automatically updated to 5.10.0. * Wed Aug 03 2022 Grigory Ustinov <grenka@altlinux.org> 5.9.0-alt1 - Build new version. * Mon May 30 2022 Grigory Ustinov <grenka@altlinux.org> 5.8.1-alt2 - Fixed BuildRequires. * Mon Apr 04 2022 Vitaly Lipatov <lav@altlinux.ru> 5.8.1-alt1 - new version 5.8.1 (with rpmrb script) * Tue Nov 23 2021 Grigory Ustinov <grenka@altlinux.org> 5.8.0-alt1 - Build new version. * Sat Jul 24 2021 Grigory Ustinov <grenka@altlinux.org> 5.6.0-alt1 - Build new version. * Tue Apr 27 2021 Vitaly Lipatov <lav@altlinux.ru> 5.5.1-alt3 - drop pbr.sphinxext * Mon Apr 26 2021 Vitaly Lipatov <lav@altlinux.ru> 5.5.1-alt2 - conflicts only with old python-module-pbr * Sun Apr 25 2021 Vitaly Lipatov <lav@altlinux.ru> 5.5.1-alt1 - new version 5.5.1 (with rpmrb script) * Sun Apr 25 2021 Vitaly Lipatov <lav@altlinux.ru> 5.5.0-alt3 - build python3 module separately - cleanup spec, drop pip require * Tue Oct 27 2020 Stanislav Levin <slev@altlinux.org> 5.5.0-alt2 - Stopped packaging of tests. * Thu Sep 03 2020 Grigory Ustinov <grenka@altlinux.org> 5.5.0-alt1 - Automatically updated to 5.5.0. * Wed May 20 2020 Grigory Ustinov <grenka@altlinux.org> 5.4.5-alt1 - Build new version 5.4.5. - Build docs with python3. - Clean up BR's. * Wed Dec 11 2019 Grigory Ustinov <grenka@altlinux.org> 5.4.4-alt1 - Build new version 5.4.4. * Fri Sep 13 2019 Grigory Ustinov <grenka@altlinux.org> 5.4.3-alt1 - Build new version. * Thu Aug 29 2019 Anton Farygin <rider@altlinux.ru> 5.4.2-alt2 - removed buildrequires on himself * Tue Aug 06 2019 Grigory Ustinov <grenka@altlinux.org> 5.4.2-alt1 - Build new version. * Fri Jul 19 2019 Grigory Ustinov <grenka@altlinux.org> 5.4.1-alt1 - Build new version. * Thu Jul 11 2019 Grigory Ustinov <grenka@altlinux.org> 5.4.0-alt1 - Build new version. * Fri Jun 21 2019 Grigory Ustinov <grenka@altlinux.org> 5.3.1-alt1 - Build new version. * Mon Jun 17 2019 Grigory Ustinov <grenka@altlinux.org> 5.3.0-alt1 - Build new version. * Mon Jun 03 2019 Grigory Ustinov <grenka@altlinux.org> 5.2.1-alt1 - Build new version. * Mon Apr 29 2019 Grigory Ustinov <grenka@altlinux.org> 5.2.0-alt1 - Build new version. * Mon Mar 04 2019 Grigory Ustinov <grenka@altlinux.org> 5.1.3-alt1 - Build new version. * Fri Feb 01 2019 Grigory Ustinov <grenka@altlinux.org> 5.1.2-alt1 - Build new version. * Thu Nov 08 2018 Grigory Ustinov <grenka@altlinux.org> 5.1.1-alt1 - Build new version. * Wed Oct 24 2018 Grigory Ustinov <grenka@altlinux.org> 5.1.0-alt1 - Build new version. * Mon Oct 08 2018 Grigory Ustinov <grenka@altlinux.org> 4.3.0-alt1 - Build new version. * Thu Aug 09 2018 Grigory Ustinov <grenka@altlinux.org> 4.2.0-alt1 - Build new version. * Fri Feb 02 2018 Stanislav Levin <slev@altlinux.org> 3.1.1-alt1.1 - (NMU) Fix Requires and BuildRequires to python-setuptools * Wed Oct 25 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 3.1.1-alt1 - Updated to upstream version 3.1.1. * Tue May 23 2017 Lenar Shakirov <snejok@altlinux.ru> 2.0.0-alt1 - Version 2.0.0 * Sat Jan 14 2017 Michael Shigorin <mike@altlinux.org> 1.8.1-alt1.1.1.1 - BOOTSTRAP: introduce doc knob (avoid sphinx) * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 1.8.1-alt1.1.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Wed Jan 27 2016 Mikhail Efremov <sem@altlinux.org> 1.8.1-alt1.1 - NMU: Use buildreq for BR. * Tue Oct 27 2015 Alexey Shabalin <shaba@altlinux.ru> 1.8.1-alt1 - 1.8.1 - add tests subpackage * Sat Jul 25 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.3.0-alt1 - Version 1.3.0 * Mon Jan 19 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.10.7-alt1 - Version 0.10.7 * Wed Aug 20 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.10.0-alt1 - Version 0.10.0 (ALT #30192) * Tue Aug 19 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.23-alt1.1 - Added module for Python 3 * Mon Dec 16 2013 Pavel Shilovsky <piastry@altlinux.org> 0.5.23-alt1 - Initial release for Sisyphus (based on Fedora) |