Control: tags 1136920 + patch
Control: tags 1136920 + pending

Dear maintainer,

I've prepared an NMU for ibus-typing-booster (versioned as 2.30.4-1.1) 
and uploaded it to DELAYED/14. Please feel free to tell me if I should 
cancel it.

cu
Adrian
diffstat for ibus-typing-booster-2.30.4 ibus-typing-booster-2.30.4

 changelog                                                               |    7 ++
 patches/0001-Skip-test-case-test_hunspell_suggest.HunspellSuggest.patch |   29 ++++++++++
 patches/series                                                          |    1 
 patches/skip-some-tests.patch                                           |   10 +++
 4 files changed, 47 insertions(+)

diff -Nru ibus-typing-booster-2.30.4/debian/changelog ibus-typing-booster-2.30.4/debian/changelog
--- ibus-typing-booster-2.30.4/debian/changelog	2026-02-20 17:31:16.000000000 +0200
+++ ibus-typing-booster-2.30.4/debian/changelog	2026-06-15 13:18:38.000000000 +0300
@@ -1,3 +1,10 @@
+ibus-typing-booster (2.30.4-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream FTBFS fix. (Closes: #1136920)
+
+ -- Adrian Bunk <[email protected]>  Mon, 15 Jun 2026 13:18:38 +0300
+
 ibus-typing-booster (2.30.4-1) unstable; urgency=medium
 
   * New upstream version 2.30.4.
diff -Nru ibus-typing-booster-2.30.4/debian/patches/0001-Skip-test-case-test_hunspell_suggest.HunspellSuggest.patch ibus-typing-booster-2.30.4/debian/patches/0001-Skip-test-case-test_hunspell_suggest.HunspellSuggest.patch
--- ibus-typing-booster-2.30.4/debian/patches/0001-Skip-test-case-test_hunspell_suggest.HunspellSuggest.patch	1970-01-01 02:00:00.000000000 +0200
+++ ibus-typing-booster-2.30.4/debian/patches/0001-Skip-test-case-test_hunspell_suggest.HunspellSuggest.patch	2026-06-15 13:18:38.000000000 +0300
@@ -0,0 +1,29 @@
+From 6239b0968c9f9bcab435a7ed3fcdbedf46fdcf2d Mon Sep 17 00:00:00 2001
+From: Mike FABIAN <[email protected]>
+Date: Mon, 1 Jun 2026 17:55:14 +0200
+Subject: Skip test case
+ `test_hunspell_suggest.HunspellSuggestTestCase.test_it_IT` on debian and
+ ubuntu
+
+Italian dictionary is different on Debian Testing.
+---
+ tests/test_hunspell_suggest.py | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/tests/test_hunspell_suggest.py b/tests/test_hunspell_suggest.py
+index 8aed66ac..844e90b6 100755
+--- a/tests/test_hunspell_suggest.py
++++ b/tests/test_hunspell_suggest.py
+@@ -170,6 +170,9 @@ class HunspellSuggestTestCase(unittest.TestCase):
+     @unittest.skipUnless(
+         itb_util.get_hunspell_dictionary_wordlist('it_IT')[0],
+         'Skipping because no Italian hunspell dictionary could be found.')
++    @unittest.skipIf(
++        itb_util_core.distro_id() in ('debian', 'ubuntu'),
++        'Skipping due to different Italian dictionary in Debian/Ubuntu.')
+     def test_it_IT(self) -> None:
+         h = hunspell_suggest.Hunspell(['it_IT'])
+         self.assertEqual(
+-- 
+2.47.3
+
diff -Nru ibus-typing-booster-2.30.4/debian/patches/series ibus-typing-booster-2.30.4/debian/patches/series
--- ibus-typing-booster-2.30.4/debian/patches/series	2026-01-25 22:25:00.000000000 +0200
+++ ibus-typing-booster-2.30.4/debian/patches/series	2026-06-15 13:18:38.000000000 +0300
@@ -1 +1,2 @@
+0001-Skip-test-case-test_hunspell_suggest.HunspellSuggest.patch
 skip-some-tests.patch
diff -Nru ibus-typing-booster-2.30.4/debian/patches/skip-some-tests.patch ibus-typing-booster-2.30.4/debian/patches/skip-some-tests.patch
--- ibus-typing-booster-2.30.4/debian/patches/skip-some-tests.patch	2026-01-25 22:25:00.000000000 +0200
+++ ibus-typing-booster-2.30.4/debian/patches/skip-some-tests.patch	2026-06-15 13:18:38.000000000 +0300
@@ -6,6 +6,7 @@
 * test_de_DE_cs_CZ_enchant
 * test_en_US
 * test_en_US_spellcheck_suggest_enchant
+* test_it_IT
 
 Discussed with upstream here:
 https://github.com/mike-fabian/ibus-typing-booster/issues/157
@@ -32,6 +33,15 @@
          itb_util.distro_id() in ('debian', 'ubuntu'),
          'Skipping due to different Czech dictionary in Debian/Ubuntu.')
      @unittest.skipUnless(
+@@ -170,7 +170,7 @@ class HunspellSuggestTestCase(unittest.T
+     @unittest.skipUnless(
+         itb_util.get_hunspell_dictionary_wordlist('it_IT')[0],
+         'Skipping because no Italian hunspell dictionary could be found.')
+-    @unittest.skipIf(
++    @unittest.skipIf(True or
+         itb_util_core.distro_id() in ('debian', 'ubuntu'),
+         'Skipping due to different Italian dictionary in Debian/Ubuntu.')
+     def test_it_IT(self) -> None:
 @@ -198,7 +198,7 @@ class HunspellSuggestTestCase(unittest.TestCase):
              h.suggest('tenéis')[0],
              ('tene\u0301is', 0))

Reply via email to