diff -Nru python-tasklib-2.3.0/debian/changelog python-tasklib-2.3.0/debian/changelog --- python-tasklib-2.3.0/debian/changelog 2021-01-04 13:09:40.000000000 +0000 +++ python-tasklib-2.3.0/debian/changelog 2021-01-15 08:27:28.000000000 +0000 @@ -1,3 +1,9 @@ +python-tasklib (2.3.0-3) unstable; urgency=medium + + * Drop wsl dependency + + -- Jochen Sprickerhof Fri, 15 Jan 2021 09:27:28 +0100 + python-tasklib (2.3.0-2) unstable; urgency=medium * update maintainer address diff -Nru python-tasklib-2.3.0/debian/control python-tasklib-2.3.0/debian/control --- python-tasklib-2.3.0/debian/control 2021-01-04 13:04:18.000000000 +0000 +++ python-tasklib-2.3.0/debian/control 2021-01-15 07:52:28.000000000 +0000 @@ -7,7 +7,6 @@ dh-sequence-python3, python3-all, python3-setuptools, - wsl, Build-Depends-Indep: python3-tzlocal, taskwarrior, Standards-Version: 4.5.1 diff -Nru python-tasklib-2.3.0/debian/patches/0001-Fix-unit-tests-on-non-wsl-non-Travis-systems.patch python-tasklib-2.3.0/debian/patches/0001-Fix-unit-tests-on-non-wsl-non-Travis-systems.patch --- python-tasklib-2.3.0/debian/patches/0001-Fix-unit-tests-on-non-wsl-non-Travis-systems.patch 1970-01-01 00:00:00.000000000 +0000 +++ python-tasklib-2.3.0/debian/patches/0001-Fix-unit-tests-on-non-wsl-non-Travis-systems.patch 2021-01-15 08:21:44.000000000 +0000 @@ -0,0 +1,24 @@ +From: Jochen Sprickerhof +Date: Fri, 15 Jan 2021 09:08:05 +0100 +Subject: Fix unit tests on non wsl non Travis systems + +The test_custom_command was introduced in #63 with the TASK_VERSION for +Travis. As TASK_VERSION is not part of a default environment, the test +would still try to run `wsl` on other systems and fail. +--- + tasklib/tests.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tasklib/tests.py b/tasklib/tests.py +index 8b93a86..fcd46de 100644 +--- a/tasklib/tests.py ++++ b/tasklib/tests.py +@@ -72,7 +72,7 @@ class TaskWarriorTest(TasklibTest): + tw = self.get_taskwarrior( + task_command='wsl task', + # prevent `_get_version` from running as `wsl` may not exist +- version_override=os.getenv('TASK_VERSION'), ++ version_override=os.getenv('TASK_VERSION', 'v1.2.3'), + ) + self.assertEqual(tw._get_task_command(), ['wsl', 'task']) + diff -Nru python-tasklib-2.3.0/debian/patches/series python-tasklib-2.3.0/debian/patches/series --- python-tasklib-2.3.0/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ python-tasklib-2.3.0/debian/patches/series 2021-01-15 08:21:44.000000000 +0000 @@ -0,0 +1 @@ +0001-Fix-unit-tests-on-non-wsl-non-Travis-systems.patch