Update to 2.4.2

This commit is contained in:
Pete Walter 2020-01-13 13:26:47 +00:00
parent 1da1529945
commit 840cf643a7
4 changed files with 6 additions and 32 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/PyICU-2.0.3.tar.gz
/PyICU-2.2.tar.gz
/PyICU-2.3.1.tar.gz
/PyICU-2.4.2.tar.gz

View File

@ -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

View File

@ -1,6 +1,6 @@
%define realname PyICU
Name: pyicu
Version: 2.3.1
Version: 2.4.2
Release: 1%{?dist}
Summary: Python extension wrapping IBM's ICU C++ libraries
@ -15,8 +15,6 @@ BuildRequires: python3-pytest
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\
@ -34,9 +32,6 @@ Summary: Python 3 extension wrapping IBM's ICU C++ libraries
%prep
%setup -q -n %{realname}-%{version}
%patch1 -p1
%build
%py3_build
@ -63,6 +58,9 @@ rm -rf %{buildroot}%{python3_sitearch}/tests
%{python3_sitearch}/_icu*
%changelog
* 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

View File

@ -1 +1 @@
SHA512 (PyICU-2.3.1.tar.gz) = edb60320ffe649f257d4d691ad9cc8287a7611de6a970d33a25a6e12a14c1faa591023d99d0b10619b0860bba70d1b67af2eff5cf146381afcaa872f0af1be29
SHA512 (PyICU-2.4.2.tar.gz) = 3cd1f632c2551dce3d721c54190a19c2a46e2554ef54915c9e07b133fa4a499b1a8c49f406abe9777721903799eb23a2d55d3b1aadd758870f8bd591f143a05b