Compare commits
26 Commits
Author | SHA1 | Date |
---|---|---|
František Zatloukal | 1dc778d8d0 | |
Gwyn Ciesla | d7d5d51ec1 | |
Gwyn Ciesla | 3ea40c77da | |
Fedora Release Engineering | 9b29e0bd96 | |
Python Maint | 009b3f6ec6 | |
Gwyn Ciesla | 8df2ca9c89 | |
Python Maint | 00406bdbe7 | |
Fedora Release Engineering | cac1ac9ba6 | |
Fedora Release Engineering | dafdb9e2c9 | |
Python Maint | 24a9adaca0 | |
Pete Walter | 61129e4340 | |
Pete Walter | 08208e8381 | |
Pete Walter | d56d992826 | |
Pete Walter | 4529af71b7 | |
Fedora Release Engineering | d0e50c964a | |
Fedora Release Engineering | 4fd46306aa | |
Pete Walter | bd00aab065 | |
Pete Walter | ad7d1a7f04 | |
Miro Hrončok | fcb7995797 | |
Pete Walter | 6f7e27e63d | |
Pete Walter | 211f265f60 | |
Fedora Release Engineering | afb0063f3b | |
Pete Walter | 840cf643a7 | |
Pete Walter | 1da1529945 | |
Miro Hrončok | 348dcd154c | |
Miro Hrončok | 3c5cea1843 |
|
@ -3,3 +3,9 @@
|
|||
/PyICU-2.0.2.tar.gz
|
||||
/PyICU-2.0.3.tar.gz
|
||||
/PyICU-2.2.tar.gz
|
||||
/PyICU-2.3.1.tar.gz
|
||||
/PyICU-2.4.2.tar.gz
|
||||
/PyICU-2.4.3.tar.gz
|
||||
/PyICU-2.5.tar.gz
|
||||
/PyICU-2.7.3.tar.gz
|
||||
/PyICU-2.9.tar.gz
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
From 777dcdf87976160e9a6639b0b1cc506192bc911b Mon Sep 17 00:00:00 2001
|
||||
From: Pete Walter <pwalter@fedoraproject.org>
|
||||
Date: Thu, 30 Nov 2017 22:35:32 +0000
|
||||
Subject: [PATCH] disable failing test
|
||||
|
||||
---
|
||||
test/test_Script.py | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/test/test_Script.py b/test/test_Script.py
|
||||
index 90a1c81..054058c 100644
|
||||
--- a/test/test_Script.py
|
||||
+++ b/test/test_Script.py
|
||||
@@ -34,6 +34,8 @@ def is_unicode_32bit():
|
||||
class TestScript(TestCase):
|
||||
|
||||
def testSurrogatePairs(self):
|
||||
+ return
|
||||
+
|
||||
pairs = u'a\u0950\u4e2d\U00029efa'
|
||||
unicode_32bit = is_unicode_32bit()
|
||||
names = [Script.getScript(cp).getShortName() for cp in pairs]
|
||||
--
|
||||
2.14.3
|
||||
|
92
pyicu.spec
92
pyicu.spec
|
@ -1,42 +1,36 @@
|
|||
%define realname PyICU
|
||||
Name: pyicu
|
||||
Version: 2.2
|
||||
Version: 2.9
|
||||
Release: 4%{?dist}
|
||||
Summary: Python extension wrapping IBM's ICU C++ libraries
|
||||
Summary: Python extension wrapping the ICU C++ libraries
|
||||
|
||||
License: MIT
|
||||
URL: http://pyicu.osafoundation.org/
|
||||
URL: https://pypi.org/project/PyICU/
|
||||
Source0: https://files.pythonhosted.org/packages/source/P/%{realname}/%{realname}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: python3-devel
|
||||
%if 0%{?fedora}
|
||||
BuildRequires: python3-pytest
|
||||
%endif
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-six
|
||||
|
||||
Patch1: 0001-disable-failing-test.patch
|
||||
|
||||
%global _description\
|
||||
PyICU is Python extension wrapping IBM's International Components\
|
||||
for Unicode C++ library (ICU). ICU is a mature, widely used set of\
|
||||
C/C++ and Java libraries providing Unicode and Globalization support\
|
||||
for software applications. ICU is widely portable and gives applications\
|
||||
the same results on all platforms and between C/C++ and Javasoftware.
|
||||
PyICU is a python extension implemented in C++ that wraps the C/C++ ICU\
|
||||
library.
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python3-pyicu
|
||||
Summary: Python 3 extension wrapping IBM's ICU C++ libraries
|
||||
Summary: Python 3 extension wrapping the ICU C++ libraries
|
||||
|
||||
%description -n python3-pyicu %_description
|
||||
|
||||
%prep
|
||||
%setup -q -n %{realname}-%{version}
|
||||
|
||||
%patch1 -p1
|
||||
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
|
@ -52,17 +46,83 @@ Summary: Python 3 extension wrapping IBM's ICU C++ libraries
|
|||
# Remove tests
|
||||
rm -rf %{buildroot}%{python3_sitearch}/tests
|
||||
|
||||
%if 0%{?fedora}
|
||||
%check
|
||||
%{__python3} setup.py test
|
||||
%endif
|
||||
|
||||
%files -n python3-pyicu
|
||||
%doc LICENSE
|
||||
%{python3_sitearch}/PyICU*
|
||||
%{python3_sitearch}/__pycache__/PyICU*
|
||||
#%{python3_sitearch}/__pycache__/PyICU*
|
||||
%{python3_sitearch}/icu/
|
||||
%{python3_sitearch}/_icu*
|
||||
#%{python3_sitearch}/_icu*
|
||||
|
||||
%changelog
|
||||
* Mon Aug 01 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 2.9-4
|
||||
- Rebuilt for ICU 71.1
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Jun 17 2022 Python Maint <python-maint@redhat.com> - 2.9-2
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Thu Jun 16 2022 Gwyn Ciesla <gwync@protonmail.com> - 2.9-1
|
||||
- 2.9
|
||||
|
||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.7.3-6
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.3-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.7.3-3
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Thu May 20 2021 Pete Walter <pwalter@fedoraproject.org> - 2.7.3-2
|
||||
- Rebuild for ICU 69
|
||||
|
||||
* Wed May 19 2021 Pete Walter <pwalter@fedoraproject.org> - 2.7.3-1
|
||||
- Update to 2.7.3
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jun 08 2020 Pete Walter <pwalter@fedoraproject.org> - 2.5-1
|
||||
- Update to 2.5
|
||||
- Update URL
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.4.3-3
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Fri May 15 2020 Pete Walter <pwalter@fedoraproject.org> - 2.4.3-2
|
||||
- Rebuild for ICU 67
|
||||
|
||||
* Fri May 15 2020 Pete Walter <pwalter@fedoraproject.org> - 2.4.3-1
|
||||
- Update to 2.4.3
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Mon Jan 13 2020 Pete Walter <pwalter@fedoraproject.org> - 2.4.2-1
|
||||
- Update to 2.4.2
|
||||
|
||||
* Fri Nov 01 2019 Pete Walter <pwalter@fedoraproject.org> - 2.3.1-1
|
||||
- Update to 2.3.1
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.2-6
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.2-5
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (PyICU-2.2.tar.gz) = 30cce676fa502040e20fd4303baeebf0d83730abfedf79fdf3b69c1a3b52032a3337168b6e8902286dd4b46dda5bf894795995c6f1ef2a237fdabc374bb5ffcf
|
||||
SHA512 (PyICU-2.9.tar.gz) = 49b0961ed855517f039ac8a863b1af1a58c6716751eb1f5cebb987a16faabc5585ed6ed3ed3d80d4cf45e9091d855cafe4b6683f4d274e5c4d41c9dab9164799
|
||||
|
|
Loading…
Reference in New Issue