[linux] 05/05: linux-support: Build with dh_python3 and set dependencies accordingly
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Mon Aug 31 01:32:28 UTC 2015
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch master
in repository linux.
commit 10d489d31f14d395c11bdaad43c17f23d5078091
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Mon Aug 31 01:59:51 2015 +0100
linux-support: Build with dh_python3 and set dependencies accordingly
---
debian/changelog | 3 ++-
debian/rules.real | 2 +-
debian/templates/control.main.in | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index c0a1a9f..392288f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,7 +17,8 @@ linux (4.2-1~exp1) UNRELEASED; urgency=medium
are redundant with sparc64 and neither is an official port
* Fix last issue that prevents a reproducible build (Closes: #769844):
- DocBook: Use a fixed encoding for output
- * debian/bin,debian/control,debian/lib/python,debian/rules.real: Use Python 3
+ * debian/bin,debian/control,debian/lib/python,debian/rules.real,
+ linux-support: Use Python 3
* debian/bin/genorig.py: Make orig tarballs reproducible
-- Ben Hutchings <ben at decadent.org.uk> Tue, 25 Aug 2015 18:50:57 +0100
diff --git a/debian/rules.real b/debian/rules.real
index de4b077..96bb5d3 100644
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -334,7 +334,7 @@ install-support:
dh_installdirs $(PACKAGE_ROOT)/lib/python/debian_linux $(PACKAGE_ROOT)/modules
cp debian/config.defines.dump $(PACKAGE_DIR)$(PACKAGE_ROOT)
cp debian/lib/python/debian_linux/*.py $(PACKAGE_DIR)$(PACKAGE_ROOT)/lib/python/debian_linux
- dh_python2
+ dh_python3
dh_link $(PACKAGE_ROOT) /usr/src/$(PACKAGE_NAME)
+$(MAKE_SELF) install-base
diff --git a/debian/templates/control.main.in b/debian/templates/control.main.in
index 1663b5a..545617d 100644
--- a/debian/templates/control.main.in
+++ b/debian/templates/control.main.in
@@ -46,7 +46,7 @@ Description: Linux kernel API manual pages for version @version@
Package: linux-support- at abiname@
Architecture: all
Section: devel
-Depends: ${python:Depends}, ${misc:Depends}, python-six
+Depends: ${python3:Depends}, ${misc:Depends}
Multi-Arch: foreign
Description: Support files for Linux @upstreamversion@
This package provides support files for the Linux kernel build,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git
More information about the Kernel-svn-changes
mailing list