Пакет python3-module-babel: 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 | %define oname Babel %def_without import_cldr %def_with doc %def_with check Name: python3-module-babel Version: 2.14.0 Release: alt1.1 Epoch: 1 Summary: a collection of tools for internationalizing Python applications License: BSD Group: Development/Python3 Url: http://babel.pocoo.org/ Source: Babel-%version.tar.gz # LC_ALL=ru_RU.UTF-8 python3 -m pytest tests |& sed -En '/^FAILED tests/s/.*::([^[ ]*).*/\1/p' | sort -u | tr '\n' ' ' > Babel-failed_tests BuildArch: noarch BuildRequires(pre): rpm-build-intro >= 2.2.5 BuildRequires(pre): rpm-build-python3 BuildRequires(pre): rpm-macros-sphinx3 # Automatically added by buildreq on Fri Mar 24 2023 # optimized out: libgpg-error python-sphinx-objects.inv python3 python3-base python3-dev python3-module-Pygments python3-module-cffi python3-module-charset-normalizer python3-module-pkg_resources python3-module-pytz python3-module-setuptools python3-module-sphinx sh4 BuildRequires: python3-module-pyproject-installer python3-module-wheel python3-module-sphinx unzip BuildRequires: python3-module-setuptools %if_with import_cldr BuildRequires: cldr %endif %if_with check BuildRequires: python3-module-pytest python3-module-freezegun python3-module-pytz %endif %description Babel is an integrated collection of utilities that assist in internationalizing and localizing Python applications, with an emphasis on web-based applications. The functionality Babel provides for internationalization (I18n) and localization (L10N) can be separated into two different aspects: * tools to build and work with gettext message catalogs, and * a Python interface to the CLDR (Common Locale Data Repository), providing access to various locale display names, localized number and date formatting, etc. %prep %if_with import_cldr %setup -T -n %oname-%version/cldr -c -a1 %endif %setup -D -n %oname-%version %if_with doc %prepare_sphinx3 . %endif %build %if_with import_cldr python3 scripts/import_cldr.py /usr/share/unicode/cldr/common %endif %pyproject_build %install %pyproject_install %python3_prune %if_with doc %make -C docs html SPHINXBUILD=sphinx-build-3 %endif %if_with check %check LC_ALL=ru_RU.UTF-8 python3 -m pytest tests # -k "not `sed -E 's/ (.)/ and not \1/g' #SOURCE100`" %endif %files %doc AUTHORS* CHANGES* README* %if_with doc %doc docs/_build/html %endif %_bindir/pybabel %python3_sitelibdir/* %changelog * Tue Mar 19 2024 Stanislav Levin <slev@altlinux.org> 1:2.14.0-alt1.1 - NMU: added missing build dependency on setuptools. * Thu Jan 11 2024 Fr. Br. George <george@altlinux.org> 1:2.14.0-alt1 - Autobuild version bump to 2.14.0 - Drop CLDR dependency (turns out to be already incorporeted) * Thu Dec 07 2023 Fr. Br. George <george@altlinux.org> 1:2.13.1-alt1 - Autobuild version bump to 2.13.1 * Fri Mar 24 2023 Fr. Br. George <george@altlinux.org> 1:2.12.1-alt1 - Autobuild version bump to 2.12.1 - Enable most of tests * Sun Aug 15 2021 Vitaly Lipatov <lav@altlinux.ru> 1:2.9.1-alt1 - new version 2.9.1 (with rpmrb script) * Thu Jan 21 2021 Vitaly Lipatov <lav@altlinux.ru> 1:2.9.0-alt1 - new version 2.9.0 (with rpmrb script) - require CLDR = 37 * Thu Nov 05 2020 Vitaly Lipatov <lav@altlinux.ru> 1:2.8.0-alt1 - new version 2.8.0 (with rpmrb script) - require CLDR = 36 * Thu Nov 05 2020 Vitaly Lipatov <lav@altlinux.ru> 1:2.6.0-alt2 - build python3 package separately * Thu Oct 22 2020 Vitaly Lipatov <lav@altlinux.ru> 1:2.6.0-alt1.1 - NMU: disable python2 check (due missed python-module-pytest-cov) * Fri Feb 08 2019 Alexey Shabalin <shaba@altlinux.org> 1:2.6.0-alt1 - 2.6.0 * Fri Feb 02 2018 Stanislav Levin <slev@altlinux.org> 1:2.4.0-alt1.1 - (NMU) Fix Requires and BuildRequires to python-setuptools * Tue Jul 18 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 1:2.4.0-alt1 - Updated to upstream version 2.4.0 * Sat Jan 14 2017 Michael Shigorin <mike@altlinux.org> 1:2.3.4-alt1.1 - BOOTSTRAP: + avoid even more extra BRs when requested to + make doc knob more effective (and rename from docs) * Mon Oct 17 2016 Alexey Shabalin <shaba@altlinux.ru> 1:2.3.4-alt1 - 2.3.4 * Mon Apr 11 2016 Ivan Zakharyaschev <imz@altlinux.org> 1:2.1.1-alt1.1.1.1 - (NMU) rebuild with rpm-build-python3-0.1.10 (for new-style python3(*) reqs) and with python3-3.5 (for byte-compilation). * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 1:2.1.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) * Thu Jan 28 2016 Mikhail Efremov <sem@altlinux.org> 1:2.1.1-alt1.1 - NMU: Use buildreq for BR. * Tue Oct 06 2015 Andrey Cherepanov <cas@altlinux.org> 1:2.1.1-alt1 - Return to stable release 2.1.1 - Set Epoch to 1 * Mon Oct 05 2015 Andrey Cherepanov <cas@altlinux.org> 3.0-alt4.dev.git20150928 - New version - Fix project homepage * Mon Aug 31 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.0-alt3.dev.git20150805 - Enabled tests and docs * Mon Aug 31 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.0-alt2.dev.git20150805 - Added missing files * Mon Aug 31 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.0-alt1.dev.git20150805 - Version 3.0-dev * Tue Oct 21 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0-alt1.dev.git20140407 - Version 2.0-dev * Tue Oct 21 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.0-alt1.svn20121012 - Version 1.0 * Mon Apr 15 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.6-alt1.1 - Use 'find... -exec...' instead of 'for ... $(find...' * Thu Feb 21 2013 Aleksey Avdeev <solo@altlinux.ru> 0.9.6-alt1 - 0.9.6 * Thu May 10 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.5-alt1.2 - Added module for Python 3 * Mon Oct 24 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.9.5-alt1.1 - Rebuild with Python-2.7 * Sat Aug 28 2010 Andrey Rahmatullin <wrar@altlinux.org> 0.9.5-alt1 - 0.9.5 - build from SVN - run tests - add pytz to Requires according to the upstream recommendation * Thu Nov 19 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.4-alt1.1 - Rebuilt with python 2.6 * Sun Oct 18 2009 Vladimir Lettiev <crux@altlinux.ru> 0.9.4-alt1 - initial build |