From d77bd36506647201f08f3aca5ba3cc260a25493e Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Wed, 10 Jul 2019 14:41:00 +0200 Subject: Removed now obsolete and useless Python 2 support (Closes: #931789). --- debian/changelog | 7 +++++++ debian/compat | 2 +- debian/control | 35 ++++++----------------------------- debian/rules | 2 +- 4 files changed, 15 insertions(+), 31 deletions(-) diff --git a/debian/changelog b/debian/changelog index 1478b55..651b3bc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +python-signedjson (1.0.0+git20151019-2) UNRELEASED; urgency=medium + + [ Thomas Goirand ] + * Removed now obsolete and useless Python 2 support (Closes: #931789). + + -- Thomas Goirand Wed, 10 Jul 2019 14:39:50 +0200 + python-signedjson (1.0.0+git20151019-2) unstable; urgency=medium * Bump Standards-Version. diff --git a/debian/compat b/debian/compat index ec63514..b4de394 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -9 +11 diff --git a/debian/control b/debian/control index 1e6c682..5f1e01d 100644 --- a/debian/control +++ b/debian/control @@ -4,41 +4,18 @@ Uploaders: Andrej Shadura Section: python Priority: optional Build-Depends: - debhelper (>= 9), + debhelper (>= 11), dh-python, - python-all (>= 2.6.6-3), - python-setuptools (>= 0.6.24), python3-all, - python3-setuptools (>= 0.6.24), - python-canonicaljson (>= 1.0.0), - python-nacl (>= 0.3.0), - python-unpaddedbase64 (>= 1.0.1), - python3-canonicaljson (>= 1.0.0), - python3-nacl (>= 0.3.0), - python3-unpaddedbase64 (>= 1.0.1) -Standards-Version: 4.3.0 + python3-setuptools, + python3-canonicaljson, + python3-nacl, + python3-unpaddedbase64, +Standards-Version: 4.4.0 Testsuite: autopkgtest-pkg-python -X-Python-Version: >= 2.7 Homepage: https://github.com/matrix-org/python-signedjson Vcs-Git: https://salsa.debian.org/matrix-team/python-signedjson -Package: python-signedjson -Architecture: all -Depends: - ${misc:Depends}, - ${python:Depends} -Provides: ${python:Provides} -Description: sign JSON with Ed25519 signatures in Python - A module to sign JSON objects with ED25519 signatures. - . - * More than one entity can sign the same object. - * Each entity can sign the object with more than one key making it easier to - rotate keys - * ED25519 can be replaced with a different algorithm. - * Unprotected data can be added to the object under the "unsigned" key. - . - This package is for Python 2. - Package: python3-signedjson Architecture: all Depends: diff --git a/debian/rules b/debian/rules index b1a2aba..36d4972 100755 --- a/debian/rules +++ b/debian/rules @@ -3,4 +3,4 @@ export PYBUILD_NAME=signedjson %: - dh $@ --with python2,python3 --buildsystem=pybuild + dh $@ --with python3 --buildsystem=pybuild -- cgit v1.2.3 From d4907f75778276736fd6977a212ac698bc2ddb19 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Wed, 10 Jul 2019 14:44:02 +0200 Subject: Also remove debian/python-signedjson.docs --- debian/python-signedjson.docs | 1 - 1 file changed, 1 deletion(-) delete mode 100644 debian/python-signedjson.docs diff --git a/debian/python-signedjson.docs b/debian/python-signedjson.docs deleted file mode 100644 index a1320b1..0000000 --- a/debian/python-signedjson.docs +++ /dev/null @@ -1 +0,0 @@ -README.rst -- cgit v1.2.3 From 561bf9f13c4012ee83f93ea7ac35460d5198f1e1 Mon Sep 17 00:00:00 2001 From: Andrej Shadura Date: Sat, 13 Jul 2019 01:36:26 +0200 Subject: Use debhelper-compat --- debian/compat | 1 - debian/control | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 debian/compat diff --git a/debian/compat b/debian/compat deleted file mode 100644 index b4de394..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -11 diff --git a/debian/control b/debian/control index 5f1e01d..4c1f39e 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Uploaders: Andrej Shadura Section: python Priority: optional Build-Depends: - debhelper (>= 11), + debhelper-compat (= 12), dh-python, python3-all, python3-setuptools, -- cgit v1.2.3 From 363538bdaac5c79d5b8290fab9c21bc5f13190d9 Mon Sep 17 00:00:00 2001 From: Andrej Shadura Date: Sat, 13 Jul 2019 01:36:35 +0200 Subject: Mention it's Python 3 only --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 4c1f39e..89cf8fc 100644 --- a/debian/control +++ b/debian/control @@ -30,4 +30,4 @@ Description: sign JSON with Ed25519 signatures in Python 3 * ED25519 can be replaced with a different algorithm. * Unprotected data can be added to the object under the "unsigned" key. . - This package is for Python 3. + This package is for Python 3 only. -- cgit v1.2.3 From bb3cd815603d21a8fc210a01e83636d63d002803 Mon Sep 17 00:00:00 2001 From: Andrej Shadura Date: Sat, 13 Jul 2019 01:37:18 +0200 Subject: Update the changelog --- debian/changelog | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 651b3bc..601af73 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,13 @@ -python-signedjson (1.0.0+git20151019-2) UNRELEASED; urgency=medium +python-signedjson (1.0.0+git20151019-3) unstable; urgency=medium [ Thomas Goirand ] * Removed now obsolete and useless Python 2 support (Closes: #931789). + * Remove debian/python-signedjson.docs. - -- Thomas Goirand Wed, 10 Jul 2019 14:39:50 +0200 + [ Andrej Shadura ] + * Use debhelper-compat 12. + + -- Andrej Shadura Sat, 13 Jul 2019 01:36:59 +0200 python-signedjson (1.0.0+git20151019-2) unstable; urgency=medium -- cgit v1.2.3