Package python3-module-icu: 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 | %def_enable snapshot %define _unpackaged_files_terminate_build 1 %define modname icu %define pypi_name PyICU %define icu_ver 7.4 %def_disable check Name: python3-module-%modname # python3 setup.py -V|tail -1 Version: 2.12 Release: alt2 Summary: Python extension wrapping the ICU C++ API Group: Development/Python3 License: MIT Url: https://gitlab.pyicu.org/main/pyicu %if_disabled snapshot Source: https://pypi.python.org/packages/source/P/PyICU/%pypi_name-%version.tar.gz %else Vcs: https://gitlab.pyicu.org/main/pyicu.git Source: %pypi_name-%version.tar %endif BuildRequires(pre): rpm-build-python3 BuildRequires: gcc-c++ libicu-devel >= %icu_ver BuildRequires: python3-devel python3-module-wheel python3-module-setuptools %{?_enable_check:BuildRequires: python3-module-pytest} %description PyICU - Python 3 extension wrapping the ICU C++ API. %prep %setup -n %pypi_name-%version %build %pyproject_build %install %pyproject_install %check %__python3 -m pytest %files %python3_sitelibdir/%modname/ #%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/ %python3_sitelibdir/PyICU-%version.dist-info/ %doc CREDITS README* CHANGES samples/ %changelog * Sat Mar 02 2024 Yuri N. Sedunov <aris@altlinux.org> 2.12-alt2 - updated to v2.12-9-g0cc78e3 * Sat Mar 02 2024 Yuri N. Sedunov <aris@altlinux.org> 2.12-alt1 - 2.12 (new %%Url, %%Vcs) - ported to %%pyproject* macros * Sun Dec 31 2023 Grigory Ustinov <grenka@altlinux.org> 2.7.4-alt1.1 - NMU: fix building with python3.12. * Fri Jun 25 2021 Yuri N. Sedunov <aris@altlinux.org> 2.7.4-alt1 - 2.7.4 * Wed Jun 09 2021 Yuri N. Sedunov <aris@altlinux.org> 2.7.3-alt1 - 2.7.3 * Sat Nov 07 2020 Yuri N. Sedunov <aris@altlinux.org> 2.6-alt1 - 2.6 (Python 3 only) * Sat May 30 2020 Yuri N. Sedunov <aris@altlinux.org> 2.5.0-alt1 - 2.5.0 * Sat Mar 21 2020 Yuri N. Sedunov <aris@altlinux.org> 2.4.3-alt1 - 2.4.3 * Fri Dec 27 2019 Yuri N. Sedunov <aris@altlinux.org> 2.4.2-alt1 - 2.4.2 - made python2 build optional - fixed License tag * Sun Oct 13 2019 Yuri N. Sedunov <aris@altlinux.org> 2.3.1-alt2 - updated to v2.3.1-30-g5fb711a (compatible with icu-65.1) * Sat May 04 2019 Yuri N. Sedunov <aris@altlinux.org> 2.3.1-alt1 - 2.3.1 * Mon Apr 08 2019 Yuri N. Sedunov <aris@altlinux.org> 2.3-alt1 - 2.3 (compatible with icu-64.1) * Tue Sep 25 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 2.0.2-alt2 - Rebuilt with new icu. * Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 2.0.2-alt1.1 - (NMU) Rebuilt with python-3.6.4. * Wed Jan 17 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 2.0.2-alt1 - Updated to upstream version 2.0.2. * Thu Mar 17 2016 Ivan Zakharyaschev <imz@altlinux.org> 1.9.2-alt1.1 - (NMU) rebuild with python3-3.5 & rpm-build-python3-0.1.10 (for ABI dependence and new python3(*) reqs) * Thu Feb 11 2016 Yuri N. Sedunov <aris@altlinux.org> 1.9.2-alt1 - 1.9.2 - switched build from tarballs to upstream git * Sun Aug 31 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.8-alt1 - Version 1.8 - Added module for Python 3 * Mon Dec 10 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.4-alt1 - Version 1.4 * Thu Apr 12 2012 Vitaly Kuznetsov <vitty@altlinux.ru> 1.2-alt1.1.1 - Rebuild to remove redundant libpython2.7 dependency * Thu Oct 20 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 1.2-alt1.1 - Rebuild with Python-2.7 * Thu Sep 15 2011 Kirill Maslinsky <kirill@altlinux.org> 1.2-alt1 - 1.2 * Tue May 31 2011 Kirill Maslinsky <kirill@altlinux.org> 1.1-alt1 - 1.1 * Fri Dec 17 2010 Dmitry V. Levin <ldv@altlinux.org> 1.0.1-alt1 - Updated to post-1.0.1 snapshot r166 to fix build with fresh ICU. * Wed Aug 25 2010 Kirill Maslinsky <kirill@altlinux.org> 1.0-alt1 - Initial build for Sisyphus |