[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#857430: marked as done (unblock: parsedatetime/2.1-3)



Your message dated Sat, 11 Mar 2017 08:08:00 +0000
with message-id <f87a0a01-03b8-cb73-0fd2-5d70a6d57025@thykier.net>
and subject line Re: Bug#857430: unblock: parsedatetime/2.1-3
has caused the Debian Bug report #857430,
regarding unblock: parsedatetime/2.1-3
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
857430: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857430
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package parsedatetime

It fixes an RC FTBFS bug #856625.

diff -Nru parsedatetime-2.1/debian/changelog parsedatetime-2.1/debian/changelog
--- parsedatetime-2.1/debian/changelog	2016-09-28 11:05:44.000000000 +1000
+++ parsedatetime-2.1/debian/changelog	2017-03-11 11:46:48.000000000 +1100
@@ -1,3 +1,9 @@
+parsedatetime (2.1-3) unstable; urgency=medium
+
+  * Add patch to fix FTBFS error after February. Closes: #856625.
+
+ -- Brian May <bam@debian.org>  Sat, 11 Mar 2017 11:46:48 +1100
+
 parsedatetime (2.1-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru parsedatetime-2.1/debian/.git-dpm parsedatetime-2.1/debian/.git-dpm
--- parsedatetime-2.1/debian/.git-dpm	2016-09-28 11:05:44.000000000 +1000
+++ parsedatetime-2.1/debian/.git-dpm	2017-03-11 11:45:17.000000000 +1100
@@ -1,11 +1,11 @@
 # see git-dpm(1) from git-dpm package
-c67e6e02d42c8751f5017f8d18e40b9092476e42
-c67e6e02d42c8751f5017f8d18e40b9092476e42
-c67e6e02d42c8751f5017f8d18e40b9092476e42
-c67e6e02d42c8751f5017f8d18e40b9092476e42
-parsedatetime_1.4.orig.tar.gz
-4b9189d38f819cc8144f30d91779716a696d97f8
-52766
+56980ebc6028b129adfa8b359b03247de82c9a3c
+56980ebc6028b129adfa8b359b03247de82c9a3c
+3ec58edd1e8edf1eb944f3562c66ec3b04b832dc
+3ec58edd1e8edf1eb944f3562c66ec3b04b832dc
+parsedatetime_2.1.orig.tar.gz
+68db89ebcdfa5212aa28a7b709b449e027316d3e
+56288
 debianTag="debian/%e%v"
 patchedTag="patched/%e%v"
 upstreamTag="upstream/%e%u"
diff -Nru parsedatetime-2.1/debian/patches/0001-Fix-delta-test-by-using-a-static-source-time.patch parsedatetime-2.1/debian/patches/0001-Fix-delta-test-by-using-a-static-source-time.patch
--- parsedatetime-2.1/debian/patches/0001-Fix-delta-test-by-using-a-static-source-time.patch	1970-01-01 10:00:00.000000000 +1000
+++ parsedatetime-2.1/debian/patches/0001-Fix-delta-test-by-using-a-static-source-time.patch	2017-03-11 11:45:17.000000000 +1100
@@ -0,0 +1,33 @@
+From 56980ebc6028b129adfa8b359b03247de82c9a3c Mon Sep 17 00:00:00 2001
+From: Brian May <bam@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 -Nru parsedatetime-2.1/debian/patches/series parsedatetime-2.1/debian/patches/series
--- parsedatetime-2.1/debian/patches/series	1970-01-01 10:00:00.000000000 +1000
+++ parsedatetime-2.1/debian/patches/series	2017-03-11 11:45:17.000000000 +1100
@@ -0,0 +1 @@
+0001-Fix-delta-test-by-using-a-static-source-time.patch

unblock parsedatetime/2.1-3

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

--- End Message ---
--- Begin Message ---
Brian May:
> Package: release.debian.org
> Severity: normal
> User: release.debian.org@packages.debian.org
> Usertags: unblock
> 
> Please unblock package parsedatetime
> 
> It fixes an RC FTBFS bug #856625.
> 
> [...]
> 
> unblock parsedatetime/2.1-3
> 
> [...]

Unblocked, thanks.

~Niels

--- End Message ---

Reply to: