[Python-modules-commits] [parsedatetime] 02/06: Remove patches applied upstream.

Harlan Lieberman-Berg hlieberman at moszumanska.debian.org
Sat Mar 11 03:42:00 UTC 2017


This is an automated email from the git hooks/post-receive script.

hlieberman pushed a commit to branch master
in repository parsedatetime.

commit 7b71a003bf8b0f28ca391730447b575c3b200f85
Author: Harlan Lieberman-Berg <hlieberman at setec.io>
Date:   Fri Mar 10 22:26:10 2017 -0500

    Remove patches applied upstream.
---
 ...-delta-test-by-using-a-static-source-time.patch | 33 ----------------------
 debian/patches/series                              |  1 -
 2 files changed, 34 deletions(-)

diff --git a/debian/patches/0001-Fix-delta-test-by-using-a-static-source-time.patch b/debian/patches/0001-Fix-delta-test-by-using-a-static-source-time.patch
deleted file mode 100644
index a407166..0000000
--- a/debian/patches/0001-Fix-delta-test-by-using-a-static-source-time.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 56980ebc6028b129adfa8b359b03247de82c9a3c Mon Sep 17 00:00:00 2001
-From: Brian May <bam at debian.org>
-Date: Sat, 11 Mar 2017 11:44:54 +1100
-Subject: Fix delta test by using a static source time
-
-Apply patch from upstream:
-https://github.com/bear/parsedatetime/commit/76a97697e3611356b848f0aa7c759ff80fd7bd4c
-
-Without this patch, the tests would fail immediately after February, as
-February only has 28 days, and the tests currently assume months have 30
-days.
-
-https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856625
-https://github.com/bear/parsedatetime/issues/215
----
- tests/TestDelta.py | 4 +---
- 1 file changed, 1 insertion(+), 3 deletions(-)
-
-diff --git a/tests/TestDelta.py b/tests/TestDelta.py
-index c628d5e..a54aee1 100644
---- a/tests/TestDelta.py
-+++ b/tests/TestDelta.py
-@@ -13,9 +13,7 @@ class test(unittest.TestCase):
- 
-     def setUp(self):
-         self.cal = pdt.Calendar(version=pdt.VERSION_CONTEXT_STYLE)
--        self.source = (self.yr, self.mth, self.dy,
--                       self.hr, self.mn, self.sec,
--                       self.wd, self.yd, self.isdst) = time.localtime()
-+        self.source = (2017, 1, 1, 7, 1, 2, 6, 1, 1)
- 
-     def assertDelta(self, ts, years=None, months=None, **deltakw):
-         ts = ts[0]
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 4d50e46..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-0001-Fix-delta-test-by-using-a-static-source-time.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/parsedatetime.git



More information about the Python-modules-commits mailing list