!1 remove unnecessary patches
Merge pull request !1 from Anonymous_Z/anonymous_z
This commit is contained in:
commit
d676da7638
1114
pytz-zoneinfo.patch
1114
pytz-zoneinfo.patch
File diff suppressed because it is too large
Load Diff
@ -1,14 +1,11 @@
|
|||||||
Name: pytz
|
Name: pytz
|
||||||
Version: 2019.2
|
Version: 2019.2
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: World Timezone Definitions for Python
|
Summary: World Timezone Definitions for Python
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://pytz.sourceforge.net/
|
URL: http://pytz.sourceforge.net/
|
||||||
Source0: https://github.com/stub42/pytz/archive/pytz-2019.2.tar.gz
|
Source0: https://github.com/stub42/pytz/archive/pytz-2019.2.tar.gz
|
||||||
|
|
||||||
Patch0: pytz-zoneinfo.patch
|
|
||||||
Patch1: remove_tzinfo_test.patch
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -71,5 +68,8 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v
|
|||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 11 2020 zhangrui <zhangrui182@huawei.com> - 2019.2-2
|
||||||
|
- remove unnecessary patches
|
||||||
|
|
||||||
* Thu Sep 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 2019.2-1
|
* Thu Sep 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 2019.2-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
@ -1,12 +0,0 @@
|
|||||||
diff --git a/pytz/tests/test_tzinfo.py b/pytz/tests/test_tzinfo.py
|
|
||||||
index b2640a8..4f5322b 100644
|
|
||||||
--- a/pytz/tests/test_tzinfo.py
|
|
||||||
+++ b/pytz/tests/test_tzinfo.py
|
|
||||||
@@ -155,6 +155,7 @@ class PicklingTest(unittest.TestCase):
|
|
||||||
self._roundtrip_tzinfo(localized_tz)
|
|
||||||
self._roundtrip_datetime(dt.replace(tzinfo=localized_tz))
|
|
||||||
|
|
||||||
+ @unittest.skip('Fails with system-wide timezone database')
|
|
||||||
def testRoundtrip(self):
|
|
||||||
for zone in pytz.all_timezones:
|
|
||||||
tz = pytz.timezone(zone)
|
|
||||||
Loading…
x
Reference in New Issue
Block a user