control: tag +patch

Here's a patch,

Nothing fancy.

Greetings,


diff --git a/debian/control b/debian/control
index b53d488..7f6ab28 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends: debhelper-compat (= 12),
               python3-click,
               python3-setuptools,
               python3-sure <!nocheck>,
-               python3-nose <!nocheck>
+               python3-pytest <!nocheck>
Standards-Version: 4.5.1
Vcs-Browser: https://salsa.debian.org/rpavlik/click-man
Vcs-Git: https://salsa.debian.org/rpavlik/click-man.git
diff --git a/debian/rules b/debian/rules
index e849d09..d5662a6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,6 @@ export LC_ALL=C.UTF-8
export LANG=C.UTF-8

export PYBUILD_NAME=click-man
-export PYBUILD_TEST_NOSE=1

%:
       dh $@ --with python3 --buildsystem=pybuild
diff --git a/debian/tests/control b/debian/tests/control
index 05a4376..832ad6a 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,3 @@
Tests: py3
-Depends: @, python3-all, python3-nose, python3-sure
+Depends: @, python3-all, python3-pytest, python3-sure
Restrictions: allow-stderr
diff --git a/debian/tests/py3 b/debian/tests/py3
index 128a960..50fc54a 100644
--- a/debian/tests/py3
+++ b/debian/tests/py3
@@ -2,5 +2,5 @@

cd tests
for py in $(py3versions -s); do
-  $py -m nose -v
+  $py -m pytest -v
done

Reply via email to