File: official_dateutil.diff

package info (click to toggle)
taskcoach 1.4.1-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 32,496 kB
  • ctags: 17,810
  • sloc: python: 72,170; makefile: 254; ansic: 120; xml: 29; sh: 16
file content (26 lines) | stat: -rw-r--r-- 1,205 bytes parent folder | 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
Description: Import installed dateutil instead of thirdparty/.
 See debian/copyright.
Author: Nicolas Boulenguez <nicolas@debian.org>
Forwarded: not-needed

--- a/taskcoachlib/persistence/csv/reader.py
+++ b/taskcoachlib/persistence/csv/reader.py
@@ -20,7 +20,7 @@
 from taskcoachlib.domain.date import DateTime, TimeDelta
 from taskcoachlib.domain.task import Task
 from taskcoachlib.i18n import _
-from taskcoachlib.thirdparty.dateutil import parser as dparser
+from dateutil import parser as dparser
 import csv
 import tempfile
 import StringIO
--- a/Makefile
+++ b/Makefile
@@ -179,7 +179,6 @@
 
 thirdpartymodules:
 	cd thirdparty; tar xzf chardet-2.1.1.tar.gz --strip-components=1 -C ../taskcoachlib/thirdparty chardet-2.1.1/chardet
-	cd thirdparty; tar xzf python-dateutil-1.5.tar.gz --strip-components=1 -C ../taskcoachlib/thirdparty python-dateutil-1.5/dateutil
 	cd thirdparty; tar xzf desktop-0.4.2.tar.gz --strip-components=1 -C ../taskcoachlib/thirdparty desktop-0.4.2/desktop
 	cp /usr/share/pyshared/lockfile.py taskcoachlib/thirdparty
 	cd thirdparty; tar xzf python-ntlm-40080cff37ab32570f9bb50bad0a46b957409c18.tar.gz --strip-components=1 -C ../taskcoachlib/thirdparty python-ntlm/ntlm