From eb002718b1a7b1c0ee0b271ad5e69bfb69614700 Mon Sep 17 00:00:00 2001 From: Ross Gammon Date: Sun, 15 Aug 2021 19:33:47 +0200 Subject: [PATCH] Update Debian folder for Gramps 5.1.4 release --- debian/changelog | 9 ++++++++ debian/copyright | 4 +++- debian/patches/fix-probably_alive_test.patch | 22 ++++++++++++++++++++ debian/patches/series | 1 + debian/watch | 8 +++---- 5 files changed, 38 insertions(+), 6 deletions(-) create mode 100644 debian/patches/fix-probably_alive_test.patch create mode 100644 debian/patches/series diff --git a/debian/changelog b/debian/changelog index 5f6ce3958..951372468 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +gramps (5.1.4-1) unstable; urgency=medium + + * New release + * Add new copyrights + * Update watch file + * Patch probably alive test to fix FTBFS + + -- Ross Gammon Sun, 15 Aug 2021 18:31:56 +0200 + gramps (5.1.3-1) focal; urgency=medium * New release diff --git a/debian/copyright b/debian/copyright index 535f08706..10ff8b324 100644 --- a/debian/copyright +++ b/debian/copyright @@ -3,7 +3,7 @@ Upstream-Name: Gramps Source: https://gramps-project.org Files: * -Copyright: 2000-2007, 2020 Alex Roitman +Copyright: 2000-2007, Alex Roitman 2000-2002, Bruce J. DeGrasse 2000-2008, Donald N. Allingham 2000-2007, Martin Hawlisch @@ -92,6 +92,8 @@ Copyright: 2000-2007, 2020 Alex Roitman 2018, Robin van der Vliet 2018, Theo van Rijn 2019, Matthias Kemmer + 2020, Jan Sparreboom + 2021, Mirko Leonhaeuser License: GPL-2+ Files: debian/* diff --git a/debian/patches/fix-probably_alive_test.patch b/debian/patches/fix-probably_alive_test.patch new file mode 100644 index 000000000..9c3dc5405 --- /dev/null +++ b/debian/patches/fix-probably_alive_test.patch @@ -0,0 +1,22 @@ +Description: Fix probably alive test + The probably alive funtion was fixed just prior to the Gramps 5.1.4 + release. It appears the relevant unit test was not updated to match. + The relevant commit: + https://github.com/gramps-project/gramps/commit/a685b96f700dcfc6b953413cb3adc8be61d87438 +Author: Ross Gammon +Forwarded: no +Applied-Upstream: no +Last-Update: 2021-08-09 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/gramps/gen/filters/rules/test/person_rules_test.py ++++ b/gramps/gen/filters/rules/test/person_rules_test.py +@@ -347,7 +347,7 @@ + """ + rule = ProbablyAlive(['1900']) + res = self.filter_with_rule(rule) +- self.assertEqual(len(res), 766) ++ self.assertEqual(len(res), 733) + + def test_RegExpName(self): + """ diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 000000000..1ee1833c6 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +fix-probably_alive_test.patch diff --git a/debian/watch b/debian/watch index 37a5375ec..95985b298 100644 --- a/debian/watch +++ b/debian/watch @@ -1,8 +1,6 @@ -version=3 - +version=4 opts=\ -dversionmangle=s/(\~|\+)(debian|dfsg|ds|deb)(\.\d+)?$//,\ -filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/$1\.tar\.gz/,\ +filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/gramps-project-$1\.tar\.gz/,\ repacksuffix=~dfsg \ https://github.com/gramps-project/gramps/tags \ -.*/archive/v?([\d\.]+).tar.gz +.*/v?(\d\S+)\.tar\.gz