[Python-modules-commits] [python-demjson] 08/10: Force use of python3 for jsonlint-py3 in python3-demjson.
Mattia Rizzolo
mattia at debian.org
Mon Dec 18 11:14:14 UTC 2017
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository python-demjson.
commit 54453e3a82cddefa070c838e1937940dfe83acc2
Author: Mattia Rizzolo <mattia at debian.org>
Date: Mon Dec 18 12:11:21 2017 +0100
Force use of python3 for jsonlint-py3 in python3-demjson.
This avoid having the python3 package depending on python2.
Thanks: Paul Wise for spotting this weirdness
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
debian/changelog | 3 +++
debian/rules | 3 +++
2 files changed, 6 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index bf3452f..ee85b45 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,9 @@ python-demjson (2.2.4-2) UNRELEASED; urgency=medium
* Bump Standards-Version to 4.1.2, no changes needed.
* De-duplicate the package descriptions.
* Add missing build-dependency on dh-python.
+ * Force use of python3 for jsonlint-py3 in python3-demjson.
+ This avoid having the python3 package depending on python2.
+ Thanks to Paul Wise for spotting this weirdness.
-- Ondřej Nový <novy at ondrej.org> Tue, 29 Mar 2016 21:58:33 +0200
diff --git a/debian/rules b/debian/rules
index e2e86be..882668a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,3 +5,6 @@ export PYBUILD_AFTER_INSTALL=rm -f {destdir}/usr/bin/jsonlint
%:
dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_python3:
+ dh_python3 --shebang=/usr/bin/python3
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-demjson.git
More information about the Python-modules-commits
mailing list