Пакет python3-module-lxml: 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 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 | %def_without bootstrap %def_with check %define oname lxml Name: python3-module-lxml Version: 5.2.1 Release: alt1 Summary: Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API License: BSD-3-Clause AND GPL-2.0-or-later Group: Development/Python3 URL: https://pypi.org/project/lxml # https://github.com/lxml/lxml Source: %name-%version.tar Patch: Skip-failing-test-test_html_prefix_nsmap.patch %if_without bootstrap # Used for tests only, but depends on lxml itself, # which is not yet built in a bootstrap environment. BuildRequires: python3-module-cssselect # needed for: from lxml.cssselect import CSSSelector Requires: python3-module-cssselect %endif BuildRequires(pre): rpm-build-python3 BuildRequires: libxslt-devel zlib-devel # see doc/build.txt BuildRequires: python3-module-Cython >= 0.18 BuildRequires: python3-module-setuptools BuildRequires: python3-module-wheel %if_with check BuildRequires: python3-module-lxml-html-clean %endif %description lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It provides safe and convenient access to these libraries using the ElementTree API. It extends the ElementTree API significantly to offer support for XPath, RelaxNG, XML Schema, XSLT, C14N and much more. %package doc Summary: Documentation for lxml Group: Development/Documentation BuildArch: noarch %description doc lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It provides safe and convenient access to these libraries using the ElementTree API. It extends the ElementTree API significantly to offer support for XPath, RelaxNG, XML Schema, XSLT, C14N and much more. This package contains documentation for lxml. %prep %setup %patch -p1 find -type f -name '*.c' -print -delete >&2 %build export LC_ALL=en_US.UTF-8 # see Makefile sed -i 's|/usr/bin/env python.*|/usr/bin/env python3|' \ update-error-constants.py test.py sed -i 's|/usr/bin/python|/usr/bin/python3|' \ doc/rest2latex.py doc/rest2html.py export WITH_CYTHON=true %pyproject_build %install %pyproject_install %check export LC_ALL=en_US.UTF-8 # The tests assume inplace build, so we copy the built library to source-dir. # If not done that, Python can either import the tests or the extension modules, but not both. cp -l build/lib.linux-*/lxml/*.so src/lxml/ # The options are: verbose, unit, functional python3 test.py -vuf %files %doc *.txt *.rst %python3_sitelibdir/%oname %python3_sitelibdir/%oname-%version.dist-info %files doc %doc doc samples %changelog * Tue Apr 02 2024 Grigory Ustinov <grenka@altlinux.org> 5.2.1-alt1 - Automatically updated to 5.2.1. * Mon Apr 01 2024 Grigory Ustinov <grenka@altlinux.org> 5.2.0-alt1 - Automatically updated to 5.2.0. * Sat Nov 11 2023 Grigory Ustinov <grenka@altlinux.org> 4.9.3.0.112.gitc18f89b8-alt1 - Automatically updated to 4.9.3.0.112.gitc18f89b8. - Bootstrap for python3.12. * Fri Sep 15 2023 Grigory Ustinov <grenka@altlinux.org> 4.9.3-alt1 - Automatically updated to 4.9.3. - Build with check, without bootstrap. * Thu Apr 27 2023 Grigory Ustinov <grenka@altlinux.org> 4.9.2-alt2 - Build without check, because new libxml2 regression ignores namespaces. * Tue Jan 17 2023 Grigory Ustinov <grenka@altlinux.org> 4.9.2-alt1 - Automatically updated to 4.9.2. - Bootstrap for python3.11. * Fri Jul 15 2022 Grigory Ustinov <grenka@altlinux.org> 4.9.1-alt1 - Automatically updated to 4.9.1. * Thu Jun 02 2022 Grigory Ustinov <grenka@altlinux.org> 4.9.0-alt1 - Automatically updated to 4.9.0. * Thu Mar 17 2022 Grigory Ustinov <grenka@altlinux.org> 4.8.0-alt1 - Automatically updated to 4.8.0. * Sat Feb 05 2022 Grigory Ustinov <grenka@altlinux.org> 4.7.1-alt1 - Build new version. - Disable bootstrap. * Mon Dec 06 2021 Grigory Ustinov <grenka@altlinux.org> 4.6.4-alt2 - Bootstrap for python3.10. * Tue Nov 23 2021 Grigory Ustinov <grenka@altlinux.org> 4.6.4-alt1 - Build new version. * Thu Jul 01 2021 Grigory Ustinov <grenka@altlinux.org> 4.6.3.0.16.git5ecb40bc-alt1 - Fixed FTBFS. * Mon Mar 22 2021 Grigory Ustinov <grenka@altlinux.org> 4.6.3-alt1 - Build new version. * Tue Mar 02 2021 Grigory Ustinov <grenka@altlinux.org> 4.6.2-alt1 - Build new version. - Disable bootstrap. * Mon Nov 23 2020 Grigory Ustinov <grenka@altlinux.org> 4.6.1-alt3 - Bootstrap for python3.9. * Thu Nov 12 2020 Vitaly Lipatov <lav@altlinux.ru> 4.6.1-alt2 - restore missed cssselect requires * Sun Nov 08 2020 Vitaly Lipatov <lav@altlinux.ru> 4.6.1-alt1 - new version 4.6.1 (with rpmrb script) * Sun Nov 08 2020 Vitaly Lipatov <lav@altlinux.ru> 4.5.0-alt3 - build python3 package separately, cleanup spec * Wed Apr 29 2020 Stanislav Levin <slev@altlinux.org> 4.5.0-alt2 - Fixed FTBFS. * Tue Mar 17 2020 Grigory Ustinov <grenka@altlinux.org> 4.5.0-alt1 - Build new version - Disable bootstrap knob. * Wed Jan 15 2020 Grigory Ustinov <grenka@altlinux.org> 4.4.2-alt2 - Bootstrap for python3.8. * Mon Dec 09 2019 Grigory Ustinov <grenka@altlinux.org> 4.4.2-alt1 - Build new version - Fix license * Fri Aug 23 2019 Grigory Ustinov <grenka@altlinux.org> 4.4.1-alt1 - Build new version - Disable bootstrap knob. * Wed Apr 03 2019 Grigory Ustinov <grenka@altlinux.org> 4.3.3-alt1.1 - Bootstrap for python3.7. * Wed Mar 27 2019 Grigory Ustinov <grenka@altlinux.org> 4.3.3-alt1 - Build new version * Mon Mar 04 2019 Grigory Ustinov <grenka@altlinux.org> 4.3.2-alt1 - Build new version * Mon Feb 11 2019 Grigory Ustinov <grenka@altlinux.org> 4.3.1-alt1 - Build new version * Sun Jan 06 2019 Grigory Ustinov <grenka@altlinux.org> 4.3.0-alt1 - Build new version * Tue Dec 25 2018 Grigory Ustinov <grenka@altlinux.org> 4.2.5-alt1 - Build new version * Tue Mar 27 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 4.2.1-alt1.1 - (NMU) Rebuilt with python-3.6.4. * Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 4.2.1-alt1 - Updated to upstream version 4.2.1. * Sun Oct 01 2017 Vitaly Lipatov <lav@altlinux.ru> 4.0.0-alt1 - build new version * Sun Oct 01 2017 Vitaly Lipatov <lav@altlinux.ru> 3.8.0-alt1 - build new version * Fri Apr 29 2016 Ivan Zakharyaschev <imz@altlinux.org> 3.5.0-alt2.beta1.git20150727 - (.spec) Described the actually necessary simplification for %%if_with bootstrap (namely: make it skip some tests employing cssselect which depends on lxml itself). * Tue Apr 12 2016 Denis Medvedev <nbr@altlinux.org> 3.5.0-alt1.beta1.git20150727.3 - NMU: added documentation back. * Wed Mar 23 2016 Denis Medvedev <nbr@altlinux.org> 3.5.0-alt1.beta1.git20150727.2 - NMU: temporarily removed documentation for python3.5 cycle removal. * Thu Jan 28 2016 Mikhail Efremov <sem@altlinux.org> 3.5.0-alt1.beta1.git20150727.1 - NMU: Use buildreq for BR. * Wed Aug 12 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.5.0-alt1.beta1.git20150727 - Version 3.5.0.beta1 * Mon Apr 27 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.5-alt1.dev.git20150417 - Version 3.5.dev * Tue Jan 06 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.4.1-alt1.git20141226 - New snapshot * Fri Nov 21 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.4.1-alt1.git20141120 - Version 3.4.1 * Fri Aug 22 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.3.5-alt1.git20140418 - Version 3.3.5 * Sat Mar 30 2013 Aleksey Avdeev <solo@altlinux.ru> 3.1.1-alt1.git20130330 - Version 3.1.1 (d7ea8fd4bb60e8e0799b1cb4a3ef0f79da8f3530) * Thu Mar 28 2013 Aleksey Avdeev <solo@altlinux.ru> 3.1.0-alt1 - Version 3.1.0 * Sun Mar 17 2013 Aleksey Avdeev <solo@altlinux.ru> 2.3.6-alt1 - Version 2.3.6 * Tue Apr 10 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.3.4-alt2 - Added module for Python 3 * Mon Apr 09 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.3.4-alt1 - Version 2.3.4 * Fri Oct 21 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 2.2.8-alt2.1 - Rebuild with Python-2.7 * Sun Mar 27 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.2.8-alt2 - Added zlib-devel into BuildPreReq - Rebuilt for debuginfo * Tue Nov 30 2010 Ivan Fedorov <ns@altlinux.org> 2.2.8-alt1 - Version 2.2.8 * Thu Jul 29 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.2.7-alt1 - Version 2.2.7 - Added docs * Mon Feb 08 2010 Vitaly Lipatov <lav@altlinux.ru> 2.2.4-alt1 - cleanup spec - new version 2.2.4 (with rpmrb script) * Sun Dec 13 2009 Repocop Q. A. Robot <repocop@altlinux.org> 2.1.1-alt1.1.qa1 - NMU (by repocop): the following fixes applied: * vendor-tag for python-module-lxml * postclean-05-filetriggers for spec file * Wed Nov 11 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.1.1-alt1.1 - Rebuilt with python 2.6 * Wed Jul 30 2008 Ivan Fedorov <ns@altlinux.org> 2.1.1-alt1 - 2.1.1 * Wed May 28 2008 Ivan Fedorov <ns@altlinux.org> 2.0.5-alt1 - 2.0.5 * Wed Apr 09 2008 Ivan Fedorov <ns@altlinux.org> 2.0.3-alt1 - 2.0.3 * Mon Jan 28 2008 Grigory Batalov <bga@altlinux.ru> 1.3.6-alt1.1 - Rebuilt with python-2.5. * Wed Jan 02 2008 Vitaly Lipatov <lav@altlinux.ru> 1.3.6-alt1 - initial build for ALT Linux Sisyphus |