Package: python-dateutil / 2.2-2

Remove_Zoneinfo_Tarball.patch Patch series | download
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
From: =?utf-8?q?Guido_G=C3=BCnther?= <agx@sigxcpu.org>
Date: Sat, 27 Sep 2014 20:52:15 +0200
Subject: Remove_Zoneinfo_Tarball

---
 MANIFEST.in                          | 2 +-
 python_dateutil.egg-info/SOURCES.txt | 3 +--
 setup.py                             | 2 --
 test.py                              | 4 ++--
 4 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/MANIFEST.in b/MANIFEST.in
index 453742b..b0d1e8f 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,4 +1,4 @@
-recursive-include dateutil *.py *.tar.*
+recursive-include dateutil *.py
 recursive-include sandbox *.py
 include setup.py setup.cfg MANIFEST.in README LICENSE NEWS Makefile
 include test.py example.py
diff --git a/python_dateutil.egg-info/SOURCES.txt b/python_dateutil.egg-info/SOURCES.txt
index 3779dc7..cf4ba1e 100644
--- a/python_dateutil.egg-info/SOURCES.txt
+++ b/python_dateutil.egg-info/SOURCES.txt
@@ -15,7 +15,6 @@ dateutil/rrule.py
 dateutil/tz.py
 dateutil/tzwin.py
 dateutil/zoneinfo/__init__.py
-dateutil/zoneinfo/zoneinfo--latest.tar.gz
 python_dateutil.egg-info/PKG-INFO
 python_dateutil.egg-info/SOURCES.txt
 python_dateutil.egg-info/dependency_links.txt
@@ -23,4 +22,4 @@ python_dateutil.egg-info/not-zip-safe
 python_dateutil.egg-info/requires.txt
 python_dateutil.egg-info/top_level.txt
 sandbox/rrulewrapper.py
-sandbox/scheduler.py
\ No newline at end of file
+sandbox/scheduler.py
diff --git a/setup.py b/setup.py
index b6d8cdf..dc7be9d 100755
--- a/setup.py
+++ b/setup.py
@@ -30,8 +30,6 @@ The dateutil module provides powerful extensions to the
 datetime module available in the Python standard library.
 """,
       packages = ["dateutil", "dateutil.zoneinfo"],
-      package_data = {"": ["*.tar.gz"]},
-      include_package_data = True,
       zip_safe = False,
       requires = ["six"],
       install_requires = ["six"], # XXX fix when packaging is sane again
diff --git a/test.py b/test.py
index 0388fbc..648ecf5 100755
--- a/test.py
+++ b/test.py
@@ -3946,7 +3946,7 @@ END:VTIMEZONE
         self.assertEqual(datetime(2003, 10, 26, 0, 59, tzinfo=tz).tzname(), "EDT")
         self.assertEqual(datetime(2003, 10, 26, 1, 00, tzinfo=tz).tzname(), "EST")
 
-    def testZoneInfoFileStart1(self):
+    """def testZoneInfoFileStart1(self):
         tz = zoneinfo.gettz("EST5EDT")
         self.assertEqual(datetime(2003, 4, 6, 1, 59, tzinfo=tz).tzname(), "EST")
         self.assertEqual(datetime(2003, 4, 6, 2, 00, tzinfo=tz).tzname(), "EDT")
@@ -3965,7 +3965,7 @@ END:VTIMEZONE
         t1 = t0.astimezone(utc)
         t2 = t1.astimezone(nyc)
         self.assertEqual(t0, t2)
-        self.assertEqual(nyc.dst(t0), timedelta(hours=1))
+        self.assertEqual(nyc.dst(t0), timedelta(hours=1))"""
 
     def testICalStart1(self):
         tz = tzical(StringIO(self.TZICAL_EST5EDT)).get()