Merge lp:~ubuntu-branches/ubuntu/precise/python-dateutil/precise-201110191810 into lp:ubuntu/precise/python-dateutil

Proposed by Ubuntu Package Importer
Status: Needs review
Proposed branch: lp:~ubuntu-branches/ubuntu/precise/python-dateutil/precise-201110191810
Merge into: lp:ubuntu/precise/python-dateutil
Diff against target: 417 lines (+272/-1) (has conflicts)
13 files modified
NEWS (+58/-0)
PKG-INFO (+4/-0)
dateutil/__init__.py (+8/-0)
dateutil/relativedelta.py (+4/-0)
dateutil/rrule.py (+4/-0)
debian/changelog (+78/-0)
debian/control (+33/-0)
debian/patches/fix_locale.diff (+13/-0)
debian/patches/series (+4/-0)
debian/rules (+16/-0)
python_dateutil.egg-info/PKG-INFO (+15/-0)
python_dateutil.egg-info/SOURCES.txt (+28/-1)
setup.py (+7/-0)
Text conflict in PKG-INFO
Text conflict in dateutil/__init__.py
Text conflict in dateutil/relativedelta.py
Text conflict in dateutil/rrule.py
Text conflict in debian/changelog
Text conflict in debian/control
Text conflict in debian/patches/series
Text conflict in debian/rules
Text conflict in python_dateutil.egg-info/PKG-INFO
Text conflict in python_dateutil.egg-info/SOURCES.txt
Text conflict in setup.py
To merge this branch: bzr merge lp:~ubuntu-branches/ubuntu/precise/python-dateutil/precise-201110191810
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+79870@code.launchpad.net

Description of the change

The package importer has detected a possible inconsistency between the package history in the archive and the history in bzr. As the archive is authoritative the importer has made lp:ubuntu/precise/python-dateutil reflect what is in the archive and the old bzr branch has been pushed to lp:~ubuntu-branches/ubuntu/precise/python-dateutil/precise-201110191810. This merge proposal was created so that an Ubuntu developer can review the situations and perform a merge/upload if necessary. There are three typical cases where this can happen.
  1. Where someone pushes a change to bzr and someone else uploads the package without that change. This is the reason that this check is done by the importer. If this appears to be the case then a merge/upload should be done if the changes that were in bzr are still desirable.
  2. The importer incorrectly detected the above situation when someone made a change in bzr and then uploaded it.
  3. The importer incorrectly detected the above situation when someone just uploaded a package and didn't touch bzr.

If this case doesn't appear to be the first situation then set the status of the merge proposal to "Rejected" and help avoid the problem in future by filing a bug at https://bugs.launchpad.net/udd linking to this merge proposal.

(this is an automatically generated message)

To post a comment you must log in.

Unmerged revisions

11. By Barry Warsaw

* [1cda493] Switch to dh_python2 (Closes: #633888) (LP: #788514)
* [22c75cc] Bump standard version
* [7acb296] Depend on python-all since we don't ship arch any packages

10. By Barry Warsaw

Switch to dh_python2. (LP: #788514)

9. By Guido Günther

* [95a66ef] depend on tzdata and update description
* [93fe8b9] don't depend on pysupport internals (Closes: #516907) -
  thanks to Josselin Mouette for pointing this out and providing a fix

8. By Guido Günther

* [a5de481] don't ship timezone information (Closes: #416204)
* [4f4aa5d] add README.source
* [174ea3e] bump standards version

7. By Martin Pitt

* Drop system_tzdata.diff again, it is not necessary. It didn't patch the
  official API to get tz information, but the subclass whose only purpose is
  to look up the files in the shipped tarball. Just keep not shipping the
  tarball in the built package.
* Add dependency to tzdata.

6. By Martin Pitt

* debian/patches/system_tzdata.diff: Use system tzdata instead of builtin
  obsolete copy of the Olson timezone database. (LP #271680, Debian #416204)
* debian/rules: Do not ship the obsolete tzdata tarball.
* debian/rules: Run the test suite during build, have it fail the build if
  it fails.

5. By Guido Günther

* new upstream version
* add watch file from dehs.debian.org
* build-depend on python-setuptools

4. By Guido Günther

New Upstream Version

3. By Guido Günther

New Upstream Version

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'NEWS'
2--- NEWS 2011-08-30 22:20:22 +0000
3+++ NEWS 2011-10-19 18:15:28 +0000
4@@ -1,3 +1,61 @@
5+Version 1.4.1
6+-------------
7+
8+- Updated timezone information.
9+
10+
11+Version 1.4
12+-----------
13+
14+- Fixed another parser precision problem on conversion of decimal seconds
15+ to microseconds, as reported by Erik Brown. Now these issues are gone
16+ for real since it's not using floating point arithmetic anymore.
17+
18+- Fixed case where tzrange.utcoffset and tzrange.dst() might fail due
19+ to a date being used where a datetime was expected (reported and fixed
20+ by Lennart Regebro).
21+
22+- Prevent tzstr from introducing daylight timings in strings that didn't
23+ specify them (reported by Lennart Regebro).
24+
25+- Calls like gettz("GMT+3") and gettz("UTC-2") will now return the
26+ expected values, instead of the TZ variable behavior.
27+
28+- Fixed DST signal handling in zoneinfo files. Reported by
29+ Nicholas F. Fabry and John-Mark Gurney.
30+
31+
32+Version 1.3
33+-----------
34+
35+- Fixed precision problem on conversion of decimal seconds to
36+ microseconds, as reported by Skip Montanaro.
37+
38+- Fixed bug in constructor of parser, and converted parser classes to
39+ new-style classes. Original report and patch by Michael Elsdörfer.
40+
41+- Initialize tzid and comps in tz.py, to prevent the code from ever
42+ raising a NameError (even with broken files). Johan Dahlin suggested
43+ the fix after a pyflakes run.
44+
45+- Version is now published in dateutil.__version__, as requested
46+ by Darren Dale.
47+
48+- All code is compatible with new-style division.
49+
50+
51+Version 1.2
52+-----------
53+
54+- Now tzfile will round timezones to full-minutes if necessary,
55+ since Python's datetime doesn't support sub-minute offsets.
56+ Thanks to Ilpo Nyyssönen for reporting the issue.
57+
58+- Removed bare string exceptions, as reported and fixed by
59+ Wilfredo Sánchez Vega.
60+
61+- Fix bug in leap count parsing (reported and fixed by Eugene Oden).
62+
63
64 Version 1.5
65 -----------
66
67=== modified file 'PKG-INFO'
68--- PKG-INFO 2011-08-30 22:20:22 +0000
69+++ PKG-INFO 2011-10-19 18:15:28 +0000
70@@ -1,6 +1,10 @@
71 Metadata-Version: 1.0
72 Name: python-dateutil
73+<<<<<<< TREE
74 Version: 1.5
75+=======
76+Version: 1.4.1
77+>>>>>>> MERGE-SOURCE
78 Summary: Extensions to the standard python 2.3+ datetime module
79 Home-page: http://labix.org/python-dateutil
80 Author: Gustavo Niemeyer
81
82=== modified file 'dateutil/__init__.py'
83--- dateutil/__init__.py 2011-08-30 22:20:22 +0000
84+++ dateutil/__init__.py 2011-10-19 18:15:28 +0000
85@@ -1,9 +1,17 @@
86 """
87+<<<<<<< TREE
88 Copyright (c) 2003-2010 Gustavo Niemeyer <gustavo@niemeyer.net>
89+=======
90+Copyright (c) 2003-2007 Gustavo Niemeyer <gustavo@niemeyer.net>
91+>>>>>>> MERGE-SOURCE
92
93 This module offers extensions to the standard python 2.3+
94 datetime module.
95 """
96 __author__ = "Gustavo Niemeyer <gustavo@niemeyer.net>"
97 __license__ = "PSF License"
98+<<<<<<< TREE
99 __version__ = "1.5"
100+=======
101+__version__ = "1.4.1"
102+>>>>>>> MERGE-SOURCE
103
104=== modified file 'dateutil/relativedelta.py'
105--- dateutil/relativedelta.py 2011-08-30 22:20:22 +0000
106+++ dateutil/relativedelta.py 2011-10-19 18:15:28 +0000
107@@ -1,5 +1,9 @@
108 """
109+<<<<<<< TREE
110 Copyright (c) 2003-2010 Gustavo Niemeyer <gustavo@niemeyer.net>
111+=======
112+Copyright (c) 2003-2007 Gustavo Niemeyer <gustavo@niemeyer.net>
113+>>>>>>> MERGE-SOURCE
114
115 This module offers extensions to the standard python 2.3+
116 datetime module.
117
118=== modified file 'dateutil/rrule.py'
119--- dateutil/rrule.py 2011-08-30 22:20:22 +0000
120+++ dateutil/rrule.py 2011-10-19 18:15:28 +0000
121@@ -1,5 +1,9 @@
122 """
123+<<<<<<< TREE
124 Copyright (c) 2003-2010 Gustavo Niemeyer <gustavo@niemeyer.net>
125+=======
126+Copyright (c) 2003-2007 Gustavo Niemeyer <gustavo@niemeyer.net>
127+>>>>>>> MERGE-SOURCE
128
129 This module offers extensions to the standard python 2.3+
130 datetime module.
131
132=== added file 'dateutil/zoneinfo/zoneinfo-2008e.tar.gz'
133Binary files dateutil/zoneinfo/zoneinfo-2008e.tar.gz 1970-01-01 00:00:00 +0000 and dateutil/zoneinfo/zoneinfo-2008e.tar.gz 2011-10-19 18:15:28 +0000 differ
134=== modified file 'debian/changelog'
135--- debian/changelog 2011-08-30 22:20:22 +0000
136+++ debian/changelog 2011-10-19 18:15:28 +0000
137@@ -1,3 +1,4 @@
138+<<<<<<< TREE
139 python-dateutil (1.5-1) unstable; urgency=low
140
141 [ Guido Günther ]
142@@ -81,3 +82,80 @@
143
144 -- Guido Guenther <agx@sigxcpu.org> Wed, 6 Sep 2006 10:33:06 +0200
145
146+=======
147+python-dateutil (1.4.1-4) unstable; urgency=low
148+
149+ [ Barry Warsaw ]
150+ * [1cda493] Switch to dh_python2 (Closes: #633888) (LP: #788514)
151+
152+ [ Guido Günther ]
153+ * [22c75cc] Bump standard version
154+ * [7acb296] Depend on python-all since we don't ship arch any packages
155+
156+ -- Guido Günther <agx@sigxcpu.org> Sat, 16 Jul 2011 20:59:10 +0200
157+
158+python-dateutil (1.4.1-3ubuntu1) oneiric; urgency=low
159+
160+ * Switch to dh_python2. (LP: #788514)
161+
162+ -- Barry Warsaw <barry@ubuntu.com> Thu, 14 Jul 2011 14:36:13 -0400
163+
164+python-dateutil (1.4.1-3) unstable; urgency=low
165+
166+ * [95a66ef] depend on tzdata and update description
167+ * [93fe8b9] don't depend on pysupport internals (Closes: #516907) -
168+ thanks to Josselin Mouette for pointing this out and providing a fix
169+
170+ -- Guido Günther <agx@sigxcpu.org> Tue, 24 Feb 2009 22:30:33 +0100
171+
172+python-dateutil (1.4.1-2) unstable; urgency=low
173+
174+ * [a5de481] don't ship timezone information (Closes: #416204)
175+ * [4f4aa5d] add README.source
176+ * [174ea3e] bump standards version
177+
178+ -- Guido Guenther <agx@sigxcpu.org> Tue, 30 Sep 2008 18:49:25 +0200
179+
180+python-dateutil (1.4.1-1) unstable; urgency=low
181+
182+ * [292923b] New Upstream version 1.4.1
183+ * [abd914e] uscan: justs downloading is enough
184+
185+ -- Guido Guenther <agx@sigxcpu.org> Thu, 14 Aug 2008 08:44:02 +0200
186+
187+python-dateutil (1.4-1) unstable; urgency=low
188+
189+ * new upstream version
190+ * add watch file from dehs.debian.org
191+ * build-depend on python-setuptools
192+
193+ -- Guido Guenther <agx@sigxcpu.org> Wed, 12 Mar 2008 10:59:20 +0100
194+
195+python-dateutil (1.3-1) unstable; urgency=low
196+
197+ * New Upstream Version
198+
199+ -- Guido Guenther <agx@sigxcpu.org> Mon, 10 Dec 2007 10:10:42 +0100
200+
201+python-dateutil (1.2-1) unstable; urgency=low
202+
203+ * New Upstream Version
204+
205+ -- Guido Guenther <agx@sigxcpu.org> Sun, 05 Aug 2007 14:35:21 +0200
206+
207+python-dateutil (1.1-1) unstable; urgency=low
208+
209+ * new upstream version
210+ * add pyversions file
211+ * depend on python-all-dev instead of python-dev so we can build for all
212+ currently supported python versions
213+
214+ -- Guido Guenther <agx@sigxcpu.org> Tue, 12 Sep 2006 14:52:14 +0200
215+
216+python-dateutil (1.0-1) unstable; urgency=low
217+
218+ * Initial release (Closes: #386256)
219+
220+ -- Guido Guenther <agx@sigxcpu.org> Wed, 6 Sep 2006 10:33:06 +0200
221+
222+>>>>>>> MERGE-SOURCE
223
224=== modified file 'debian/control'
225--- debian/control 2011-08-30 22:20:22 +0000
226+++ debian/control 2011-10-19 18:15:28 +0000
227@@ -1,3 +1,4 @@
228+<<<<<<< TREE
229 Source: python-dateutil
230 Section: python
231 Priority: optional
232@@ -28,3 +29,35 @@
233 * computing of Easter Sunday dates for any given year, using Western, Orthodox
234 or Julian algorithms
235
236+=======
237+Source: python-dateutil
238+Section: python
239+Priority: optional
240+Maintainer: Guido Günther <agx@sigxcpu.org>
241+Build-Depends: cdbs (>= 0.4.90~), debhelper (>= 5), quilt, python-all (>= 2.6.6-3~), python-setuptools
242+Standards-Version: 3.9.2
243+XS-Vcs-Git: git://git.debian.org/git/calendarserver/python-dateutil.git
244+XS-Vcs-Browser: http://git.debian.org/?p=calendarserver/python-dateutil.git
245+X-Python-Version: >= 2.3
246+
247+Package: python-dateutil
248+Architecture: all
249+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, tzdata
250+Description: powerful extensions to the standard datetime module
251+ It features:
252+ .
253+ * computing of relative deltas (next month, next year, next monday, last week
254+ of month, etc);
255+ * computing of relative deltas between two given date and/or datetime objects
256+ * computing of dates based on very flexible recurrence rules, using a superset
257+ of the iCalendar specification. Parsing of RFC strings is supported as well.
258+ * generic parsing of dates in almost any string format
259+ * timezone (tzinfo) implementations for tzfile(5) format files
260+ (/etc/localtime, /usr/share/zoneinfo, etc), TZ environment string (in all
261+ known formats), iCalendar format files, given ranges (with help from
262+ relative deltas), local machine timezone, fixed offset timezone, UTC
263+ timezone
264+ * computing of Easter Sunday dates for any given year, using Western, Orthodox
265+ or Julian algorithms
266+
267+>>>>>>> MERGE-SOURCE
268
269=== added file 'debian/patches/fix_locale.diff'
270--- debian/patches/fix_locale.diff 1970-01-01 00:00:00 +0000
271+++ debian/patches/fix_locale.diff 2011-10-19 18:15:28 +0000
272@@ -0,0 +1,13 @@
273+Index: python-dateutil/example.py
274+===================================================================
275+--- python-dateutil.orig/example.py 2006-09-06 13:21:44.000000000 +0200
276++++ python-dateutil/example.py 2006-09-06 13:21:56.000000000 +0200
277+@@ -5,7 +5,7 @@
278+ from datetime import *
279+ import commands
280+ import os
281+-now = parse(commands.getoutput("date"))
282++now = parse(commands.getoutput("LC_ALL=C date"))
283+ today = now.date()
284+ year = rrule(YEARLY,bymonth=8,bymonthday=13,byweekday=FR)[0].year
285+ rdelta = relativedelta(easter(year), today)
286
287=== modified file 'debian/patches/series'
288--- debian/patches/series 2011-08-30 22:20:22 +0000
289+++ debian/patches/series 2011-10-19 18:15:28 +0000
290@@ -1,1 +1,5 @@
291+<<<<<<< TREE
292 Use-C-locale-when-calling-date.patch
293+=======
294+fix_locale.diff
295+>>>>>>> MERGE-SOURCE
296
297=== modified file 'debian/rules'
298--- debian/rules 2011-08-30 22:20:22 +0000
299+++ debian/rules 2011-10-19 18:15:28 +0000
300@@ -1,3 +1,4 @@
301+<<<<<<< TREE
302 #!/usr/bin/make -f
303
304 # Uncomment this to turn on verbose mode.
305@@ -12,3 +13,18 @@
306
307 override_dh_auto_test:
308 python test.py
309+=======
310+#!/usr/bin/make -f
311+
312+DEB_TAR_SRCDIR := python-dateutil
313+DEB_AUTO_CLEANUP_RCS := yes
314+
315+DEB_PYTHON_CLEAN_ARGS = --all
316+
317+include /usr/share/cdbs/1/rules/debhelper.mk
318+include /usr/share/cdbs/1/class/python-distutils.mk
319+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
320+
321+install/python-dateutil::
322+ rm -f debian/python-dateutil/usr/lib/`pyversions -d`/site-packages/dateutil/zoneinfo/zoneinfo-*.tar.gz
323+>>>>>>> MERGE-SOURCE
324
325=== modified file 'python_dateutil.egg-info/PKG-INFO'
326--- python_dateutil.egg-info/PKG-INFO 2011-08-30 22:20:22 +0000
327+++ python_dateutil.egg-info/PKG-INFO 2011-10-19 18:15:28 +0000
328@@ -1,3 +1,4 @@
329+<<<<<<< TREE
330 Metadata-Version: 1.0
331 Name: python-dateutil
332 Version: 1.5
333@@ -10,3 +11,17 @@
334 datetime module, available in Python 2.3+.
335
336 Platform: UNKNOWN
337+=======
338+Metadata-Version: 1.0
339+Name: python-dateutil
340+Version: 1.4.1
341+Summary: Extensions to the standard python 2.3+ datetime module
342+Home-page: http://labix.org/python-dateutil
343+Author: Gustavo Niemeyer
344+Author-email: gustavo@niemeyer.net
345+License: PSF License
346+Description: The dateutil module provides powerful extensions to the standard
347+ datetime module, available in Python 2.3+.
348+
349+Platform: UNKNOWN
350+>>>>>>> MERGE-SOURCE
351
352=== modified file 'python_dateutil.egg-info/SOURCES.txt'
353--- python_dateutil.egg-info/SOURCES.txt 2011-08-30 22:20:22 +0000
354+++ python_dateutil.egg-info/SOURCES.txt 2011-10-19 18:15:28 +0000
355@@ -1,3 +1,4 @@
356+<<<<<<< TREE
357 LICENSE
358 MANIFEST.in
359 Makefile
360@@ -23,4 +24,30 @@
361 python_dateutil.egg-info/not-zip-safe
362 python_dateutil.egg-info/top_level.txt
363 sandbox/rrulewrapper.py
364-sandbox/scheduler.py
365\ No newline at end of file
366+sandbox/scheduler.py=======
367+LICENSE
368+MANIFEST.in
369+Makefile
370+NEWS
371+README
372+example.py
373+setup.cfg
374+setup.py
375+test.py
376+updatezinfo.py
377+dateutil/__init__.py
378+dateutil/easter.py
379+dateutil/parser.py
380+dateutil/relativedelta.py
381+dateutil/rrule.py
382+dateutil/tz.py
383+dateutil/tzwin.py
384+dateutil/zoneinfo/__init__.py
385+dateutil/zoneinfo/zoneinfo-2008e.tar.gz
386+python_dateutil.egg-info/PKG-INFO
387+python_dateutil.egg-info/SOURCES.txt
388+python_dateutil.egg-info/dependency_links.txt
389+python_dateutil.egg-info/not-zip-safe
390+python_dateutil.egg-info/top_level.txt
391+sandbox/rrulewrapper.py
392+sandbox/scheduler.py>>>>>>> MERGE-SOURCE
393
394=== modified file 'setup.py'
395--- setup.py 2011-08-30 22:20:22 +0000
396+++ setup.py 2011-10-19 18:15:28 +0000
397@@ -10,11 +10,18 @@
398 if isfile("MANIFEST"):
399 os.unlink("MANIFEST")
400
401+<<<<<<< TREE
402
403 TOPDIR = os.path.dirname(__file__) or "."
404 VERSION = re.search('__version__ = "([^"]+)"',
405 open(TOPDIR + "/dateutil/__init__.py").read()).group(1)
406
407+=======
408+
409+VERSION = re.search('__version__ = "([^"]+)"',
410+ open("dateutil/__init__.py").read()).group(1)
411+
412+>>>>>>> MERGE-SOURCE
413
414 setup(name="python-dateutil",
415 version = VERSION,
416
417=== modified file 'test.py'

Subscribers

People subscribed via source and target branches

to all changes: