[Python-apps-commits] r13916 - in packages/khal/trunk/debian (9 files)

fpytloun-guest at users.alioth.debian.org fpytloun-guest at users.alioth.debian.org
Tue Mar 7 08:29:04 UTC 2017


    Date: Tuesday, March 7, 2017 @ 08:29:02
  Author: fpytloun-guest
Revision: 13916

[svn-inject] Applying Debian modifications (0.9.3-1) to trunk

Added:
  packages/khal/trunk/debian/lintian-overrides
Modified:
  packages/khal/trunk/debian/changelog
  packages/khal/trunk/debian/patches/0001-No-RSS-news-in-docs.patch
  packages/khal/trunk/debian/patches/0002-Reference-license-from-copyright-file.patch
  packages/khal/trunk/debian/patches/0003-Fix-intersphinx-mapping.patch
  packages/khal/trunk/debian/patches/0004-Fix-tests-failing-due-to-timezone.patch
  packages/khal/trunk/debian/patches/0005-Avoid-privacy-breach-in-sphinx-doc.patch
  packages/khal/trunk/debian/patches/series
Deleted:
  packages/khal/trunk/debian/patches/0006-Tolerate-occassionally-failing-update_db-related-tes.patch

Modified: packages/khal/trunk/debian/changelog
===================================================================
--- packages/khal/trunk/debian/changelog	2017-02-23 16:56:05 UTC (rev 13915)
+++ packages/khal/trunk/debian/changelog	2017-03-07 08:29:02 UTC (rev 13916)
@@ -1,3 +1,15 @@
+khal (0.9.3-1) unstable; urgency=medium
+
+  * New upstream release
+  * Fix crash during configure if no vdir configured (Closes: #855631)
+  * d/lintian-overrides: override manpage-has-errors-from-man because of
+    cannot adjust line error that cannot be solved easily during generation
+    from Sphinx docs (upstream issue: pimutils/khal#598)
+  * d/patches: Rebased for new release
+  * d/patches: Drop test workarounds that are no longer needed
+
+ -- Filip Pytloun <filip at pytloun.cz>  Tue, 07 Mar 2017 09:11:06 +0100
+
 khal (0.8.4-3) unstable; urgency=medium
 
   * d/patches: tolerate more occasionally failing tests where

Added: packages/khal/trunk/debian/lintian-overrides
===================================================================
--- packages/khal/trunk/debian/lintian-overrides	                        (rev 0)
+++ packages/khal/trunk/debian/lintian-overrides	2017-03-07 08:29:02 UTC (rev 13916)
@@ -0,0 +1 @@
+khal: manpage-has-errors-from-man

Modified: packages/khal/trunk/debian/patches/0001-No-RSS-news-in-docs.patch
===================================================================
--- packages/khal/trunk/debian/patches/0001-No-RSS-news-in-docs.patch	2017-02-23 16:56:05 UTC (rev 13915)
+++ packages/khal/trunk/debian/patches/0001-No-RSS-news-in-docs.patch	2017-03-07 08:29:02 UTC (rev 13916)
@@ -1,4 +1,4 @@
-From 5c5968c6b2d4d9ec8bbd9218e1bfddfa45d0bab9 Mon Sep 17 00:00:00 2001
+From 387de660792c318923930377cb3bd10818b9a30a Mon Sep 17 00:00:00 2001
 From: Filip Pytloun <filip at pytloun.cz>
 Date: Wed, 17 Aug 2016 11:07:28 +0200
 Subject: [PATCH 1/5] No RSS news in docs
@@ -9,10 +9,10 @@
  2 files changed, 1 insertion(+), 3 deletions(-)
 
 diff --git a/doc/source/conf.py b/doc/source/conf.py
-index 8401275..35a5779 100644
+index d544c1e..858faf0 100644
 --- a/doc/source/conf.py
 +++ b/doc/source/conf.py
-@@ -30,8 +30,7 @@ import khal
+@@ -102,8 +102,7 @@ with open('configspec.rst', 'w') as f:
  extensions = [
      'sphinx.ext.autodoc',
      'sphinx.ext.intersphinx',
@@ -23,7 +23,7 @@
  
  # Add any paths that contain templates here, relative to this directory.
 diff --git a/doc/source/index.rst b/doc/source/index.rst
-index 2fd8724..e4418c1 100644
+index 8118c65..5b90dee 100644
 --- a/doc/source/index.rst
 +++ b/doc/source/index.rst
 @@ -45,4 +45,3 @@ Table of Contents
@@ -32,5 +32,5 @@
     license
 -   news
 -- 
-2.1.4
+2.11.0
 

Modified: packages/khal/trunk/debian/patches/0002-Reference-license-from-copyright-file.patch
===================================================================
--- packages/khal/trunk/debian/patches/0002-Reference-license-from-copyright-file.patch	2017-02-23 16:56:05 UTC (rev 13915)
+++ packages/khal/trunk/debian/patches/0002-Reference-license-from-copyright-file.patch	2017-03-07 08:29:02 UTC (rev 13916)
@@ -1,24 +1,24 @@
-From e4806bd046fb3e09158375ace5b5639776de6e00 Mon Sep 17 00:00:00 2001
+From f92aa21c904a35d5be0ba570916bc1844b292a2c Mon Sep 17 00:00:00 2001
 From: Filip Pytloun <filip at pytloun.cz>
 Date: Fri, 12 Aug 2016 20:09:20 +0200
 Subject: [PATCH 2/5] Reference license from copyright file
 
 ---
- doc/source/license.rst | 21 ++-------------------
- 1 file changed, 2 insertions(+), 19 deletions(-)
+ doc/source/license.rst | 20 ++------------------
+ 1 file changed, 2 insertions(+), 18 deletions(-)
 
 diff --git a/doc/source/license.rst b/doc/source/license.rst
-index 1d3bcf3..90b3e5c 100644
+index 0c6cf9f..1f52202 100644
 --- a/doc/source/license.rst
 +++ b/doc/source/license.rst
-@@ -1,22 +1,5 @@
+@@ -1,22 +1,6 @@
  License
  -------
 -khal is released under the Expat/MIT License::
-+khal is released under the Expat/MIT License:
  
--    Copyright (c) 2013-2015 Christian Geier et al.
--
+-    Copyright (c) 2013-2017 Christian Geier et al.
++khal is released under the Expat/MIT License.
+ 
 -    Permission is hereby granted, free of charge, to any person obtaining a copy of
 -    this software and associated documentation files (the "Software"), to deal in
 -    the Software without restriction, including without limitation the rights to
@@ -35,7 +35,7 @@
 -    COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
 -    IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 -    CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-+For full test of this license see ``/usr/share/doc/khal-doc/copyright``
++For full text of this license see ``/usr/share/doc/khal-doc/copyright``
 -- 
-2.1.4
+2.11.0
 

Modified: packages/khal/trunk/debian/patches/0003-Fix-intersphinx-mapping.patch
===================================================================
--- packages/khal/trunk/debian/patches/0003-Fix-intersphinx-mapping.patch	2017-02-23 16:56:05 UTC (rev 13915)
+++ packages/khal/trunk/debian/patches/0003-Fix-intersphinx-mapping.patch	2017-03-07 08:29:02 UTC (rev 13916)
@@ -1,4 +1,4 @@
-From 7a7b83709ca3ee5ff45094af28a0df9e3809f2e0 Mon Sep 17 00:00:00 2001
+From 7895c535783d890e73f32aa80b658407c30892d9 Mon Sep 17 00:00:00 2001
 From: Filip Pytloun <filip at pytloun.cz>
 Date: Fri, 12 Aug 2016 20:38:33 +0200
 Subject: [PATCH 3/5] Fix intersphinx mapping
@@ -8,15 +8,15 @@
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/doc/source/conf.py b/doc/source/conf.py
-index 35a5779..54b4002 100644
+index 858faf0..8e37071 100644
 --- a/doc/source/conf.py
 +++ b/doc/source/conf.py
-@@ -276,4 +276,4 @@ texinfo_documents = [
+@@ -348,4 +348,4 @@ texinfo_documents = [
  
  
  # Example configuration for intersphinx: refer to the Python standard library.
 -intersphinx_mapping = {'http://docs.python.org/': None}
 +intersphinx_mapping = {'python': ('/usr/share/doc/python3-doc/html', None)}
 -- 
-2.1.4
+2.11.0
 

Modified: packages/khal/trunk/debian/patches/0004-Fix-tests-failing-due-to-timezone.patch
===================================================================
--- packages/khal/trunk/debian/patches/0004-Fix-tests-failing-due-to-timezone.patch	2017-02-23 16:56:05 UTC (rev 13915)
+++ packages/khal/trunk/debian/patches/0004-Fix-tests-failing-due-to-timezone.patch	2017-03-07 08:29:02 UTC (rev 13916)
@@ -1,37 +1,17 @@
-From 11e341e1368dd9b36f0858a2b73b08479bae86e6 Mon Sep 17 00:00:00 2001
+From 0902068464829e83cd4ee576d70358f34b40af1a Mon Sep 17 00:00:00 2001
 From: Filip Pytloun <filip at pytloun.cz>
 Date: Fri, 12 Aug 2016 21:06:36 +0200
 Subject: [PATCH 4/5] Fix tests failing due to timezone
 
 ---
- tests/aux_test.py               | 2 ++
  tests/cal_display_test.py       | 1 +
- tests/khalendar_aux_test.py     | 4 ++++
+ tests/khalendar_utils_test.py   | 4 ++++
  tests/ui/test_calendarwidget.py | 2 ++
+ tests/utils_test.py             | 2 ++
  4 files changed, 9 insertions(+)
 
-diff --git a/tests/aux_test.py b/tests/aux_test.py
-index 2f86652..6962cf3 100644
---- a/tests/aux_test.py
-+++ b/tests/aux_test.py
-@@ -376,6 +376,7 @@ def test_description_and_location():
-             assert _replace_uid(event).to_ical() == vevent
- 
- 
-+ at pytest.mark.skip
- def test_split_ics():
-     cal = _get_text('cal_lots_of_timezones')
-     vevents = aux.split_ics(cal)
-@@ -393,6 +394,7 @@ def test_split_ics():
-     assert sorted(vevents1) == sorted(part1)
- 
- 
-+ at pytest.mark.skip
- def test_split_ics_random_uid():
-     random.seed(123)
-     cal = _get_text('cal_lots_of_timezones')
 diff --git a/tests/cal_display_test.py b/tests/cal_display_test.py
-index 7950d90..6b4a51b 100644
+index c309317..94c4c08 100644
 --- a/tests/cal_display_test.py
 +++ b/tests/cal_display_test.py
 @@ -172,6 +172,7 @@ example_de_netbsd = [
@@ -40,44 +20,44 @@
  
 + at pytest.mark.skip
  def test_vertical_month():
-     locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
-     vert_str = vertical_month(month=12, year=2011,
-diff --git a/tests/khalendar_aux_test.py b/tests/khalendar_aux_test.py
-index 363c4c5..1a7c21e 100644
---- a/tests/khalendar_aux_test.py
-+++ b/tests/khalendar_aux_test.py
+     try:
+         locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
+diff --git a/tests/khalendar_utils_test.py b/tests/khalendar_utils_test.py
+index ad653f1..9d6d859 100644
+--- a/tests/khalendar_utils_test.py
++++ b/tests/khalendar_utils_test.py
 @@ -1,6 +1,7 @@
  from datetime import date, datetime, timedelta
  import icalendar
  import pytz
 +import pytest
  
- from khal.khalendar import aux
+ from khal.khalendar import utils
  
-@@ -314,6 +315,7 @@ class TestExpand(object):
+@@ -317,6 +318,7 @@ class TestExpand(object):
                  for start, _ in dtstart] == self.offset_berlin
          assert [end.utcoffset() for _, end in dtstart] == self.offset_berlin
  
 +    @pytest.mark.skip
      def test_expand_dtb(self):
          vevent = _get_vevent(event_dtb)
-         dtstart = aux.expand(vevent, berlin)
-@@ -385,6 +387,7 @@ class TestExpandNoRR(object):
+         dtstart = utils.expand(vevent, berlin)
+@@ -403,6 +405,7 @@ class TestExpandNoRR(object):
                  for start, _ in dtstart] == self.offset_berlin
          assert [end.utcoffset() for _, end in dtstart] == self.offset_berlin
  
 +    @pytest.mark.skip
      def test_expand_dtb(self):
          vevent = _get_vevent(event_dtb_norr)
-         dtstart = aux.expand(vevent, berlin)
-@@ -591,6 +594,7 @@ class TestSpecial(object):
+         dtstart = utils.expand(vevent, berlin)
+@@ -610,6 +613,7 @@ class TestSpecial(object):
          assert dtstart[0][0] == date(2009, 10, 31)
          assert dtstart[-1][0] == date(2037, 10, 31)
  
 +    @pytest.mark.skip
      def test_another_problem(self):
          vevent = _get_vevent(another_problem)
-         dtstart = aux.expand(vevent, berlin)
+         dtstart = utils.expand(vevent, berlin)
 diff --git a/tests/ui/test_calendarwidget.py b/tests/ui/test_calendarwidget.py
 index 25cc58a..123b2f9 100644
 --- a/tests/ui/test_calendarwidget.py
@@ -98,6 +78,26 @@
  def test_set_focus_date_weekstart_6():
  
      with freeze_time('2016-04-10'):
+diff --git a/tests/utils_test.py b/tests/utils_test.py
+index 296253e..a6b9150 100644
+--- a/tests/utils_test.py
++++ b/tests/utils_test.py
+@@ -560,6 +560,7 @@ def test_description_and_location_and_categories():
+             assert _replace_uid(event).to_ical() == vevent
+ 
+ 
++ at pytest.mark.skip
+ def test_split_ics():
+     cal = _get_text('cal_lots_of_timezones')
+     vevents = utils.split_ics(cal)
+@@ -577,6 +578,7 @@ def test_split_ics():
+     assert sorted(vevents1) == sorted(part1)
+ 
+ 
++ at pytest.mark.skip
+ def test_split_ics_random_uid():
+     random.seed(123)
+     cal = _get_text('cal_lots_of_timezones')
 -- 
-2.1.4
+2.11.0
 

Modified: packages/khal/trunk/debian/patches/0005-Avoid-privacy-breach-in-sphinx-doc.patch
===================================================================
--- packages/khal/trunk/debian/patches/0005-Avoid-privacy-breach-in-sphinx-doc.patch	2017-02-23 16:56:05 UTC (rev 13915)
+++ packages/khal/trunk/debian/patches/0005-Avoid-privacy-breach-in-sphinx-doc.patch	2017-03-07 08:29:02 UTC (rev 13916)
@@ -1,4 +1,4 @@
-From 1288b417a1925a57a7238d85ae7032e15c196440 Mon Sep 17 00:00:00 2001
+From 5a0d55d663258236c448000383d41f26ec72be69 Mon Sep 17 00:00:00 2001
 From: Filip Pytloun <filip at pytloun.cz>
 Date: Fri, 12 Aug 2016 21:18:33 +0200
 Subject: [PATCH 5/5] Avoid privacy breach in sphinx doc
@@ -9,10 +9,10 @@
  2 files changed, 5 insertions(+), 7 deletions(-)
 
 diff --git a/doc/source/conf.py b/doc/source/conf.py
-index 54b4002..82062ca 100644
+index 8e37071..0f94c3f 100644
 --- a/doc/source/conf.py
 +++ b/doc/source/conf.py
-@@ -108,11 +108,11 @@ html_theme = 'alabaster'
+@@ -180,11 +180,11 @@ html_theme = 'alabaster'
  # Theme options are theme-specific and customize the look and feel of a theme
  # further.  For a list of options available for each theme, see the
  # documentation.
@@ -30,7 +30,7 @@
  # Add any paths that contain custom themes here, relative to this directory.
  #html_theme_path = []
 diff --git a/doc/source/index.rst b/doc/source/index.rst
-index e4418c1..38d0bd7 100644
+index 5b90dee..8e684e0 100644
 --- a/doc/source/index.rst
 +++ b/doc/source/index.rst
 @@ -4,8 +4,6 @@ khal
@@ -43,5 +43,5 @@
  --------
  (or rather: limitations)
 -- 
-2.1.4
+2.11.0
 

Deleted: packages/khal/trunk/debian/patches/0006-Tolerate-occassionally-failing-update_db-related-tes.patch
===================================================================
--- packages/khal/trunk/debian/patches/0006-Tolerate-occassionally-failing-update_db-related-tes.patch	2017-02-23 16:56:05 UTC (rev 13915)
+++ packages/khal/trunk/debian/patches/0006-Tolerate-occassionally-failing-update_db-related-tes.patch	2017-03-07 08:29:02 UTC (rev 13916)
@@ -1,50 +0,0 @@
-From a78b125eb4a449aa5c829f9344f00afc37b39a1e Mon Sep 17 00:00:00 2001
-From: Christian Geier <geier at lostpackets.de>
-Date: Sun, 18 Dec 2016 20:27:14 +0100
-Subject: [PATCH] Tolerate occassionally failing update_db-related tests
-
-It's not possible to backport fix forcing fsync from newer major release as it
-refactors most of code.
----
- tests/khalendar_test.py | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/tests/khalendar_test.py b/tests/khalendar_test.py
-index fd8dcc6..761bed5 100644
---- a/tests/khalendar_test.py
-+++ b/tests/khalendar_test.py
-@@ -65,6 +65,7 @@ class TestCalendar(object):
-                 else:
-                     mtimes[cal] = mtime
- 
-+    @pytest.mark.xfail
-     def test_db_needs_update(self, coll_vdirs):
-         coll, vdirs = coll_vdirs
- 
-@@ -221,6 +222,7 @@ class TestCollection(object):
-         assert len(events) == 1
-         assert events[0].calendar == cal2
- 
-+    @pytest.mark.xfail
-     def test_update_event(self, coll_vdirs):
-         """updating one event"""
-         coll, vdirs = coll_vdirs
-@@ -321,6 +323,7 @@ class TestDbCreation(object):
-             CalendarCollection(calendars, dbpath=dbpath, locale=aux.locale)
- 
- 
-+ at pytest.mark.xfail
- def test_default_calendar(coll_vdirs):
-     """test if an update to the vdir is detected by the CalendarCollection"""
-     coll, vdirs = coll_vdirs
-@@ -341,6 +344,7 @@ def test_default_calendar(coll_vdirs):
-     assert len(list(coll.get_events_on(today))) == 0
- 
- 
-+ at pytest.mark.xfail
- def test_only_update_old_event(coll_vdirs, monkeypatch):
-     coll, vdirs = coll_vdirs
- 
--- 
-2.11.0
-

Modified: packages/khal/trunk/debian/patches/series
===================================================================
--- packages/khal/trunk/debian/patches/series	2017-02-23 16:56:05 UTC (rev 13915)
+++ packages/khal/trunk/debian/patches/series	2017-03-07 08:29:02 UTC (rev 13916)
@@ -3,4 +3,3 @@
 0003-Fix-intersphinx-mapping.patch
 0004-Fix-tests-failing-due-to-timezone.patch
 0005-Avoid-privacy-breach-in-sphinx-doc.patch
-0006-Tolerate-occassionally-failing-update_db-related-tes.patch




More information about the Python-apps-commits mailing list