aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGraham Inggs <ginggs@debian.org>2019-07-22 00:52:00 +0200
committerGraham Inggs <ginggs@debian.org>2019-07-22 00:52:00 +0200
commit1c136857843cd3af1ac941f133ceb0a2e9d7ff18 (patch)
treec7373ca4a5ff4bad5126f4b088b7cd78c5f3627c
parent6cbc7cf9c01236ddfe0175368fdaa654ea090367 (diff)
downloaddebian_htop-1c136857843cd3af1ac941f133ceb0a2e9d7ff18.tar.gz
debian_htop-1c136857843cd3af1ac941f133ceb0a2e9d7ff18.tar.bz2
debian_htop-1c136857843cd3af1ac941f133ceb0a2e9d7ff18.zip
Run MakeHeader.py in Python 3
-rw-r--r--debian/changelog1
-rw-r--r--debian/control2
-rw-r--r--debian/patches/python3.patch13
-rw-r--r--debian/patches/series1
4 files changed, 16 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index a77c258..e838093 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ htop (2.2.0-2) UNRELEASED; urgency=medium
* Switch to debhelper 12
* Set Rules-Requires-Root: no
+ * Run MakeHeader.py in Python 3
-- Graham Inggs <ginggs@debian.org> Sun, 21 Jul 2019 22:38:38 +0000
diff --git a/debian/control b/debian/control
index c003fda..0a5960f 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Build-Depends: debhelper-compat (= 12),
libncurses5-dev,
libncursesw5-dev,
pkg-config,
- python-minimal:native
+ python3-minimal:native
Standards-Version: 4.1.4
Rules-Requires-Root: no
Homepage: https://hisham.hm/htop/
diff --git a/debian/patches/python3.patch b/debian/patches/python3.patch
new file mode 100644
index 0000000..6a65355
--- /dev/null
+++ b/debian/patches/python3.patch
@@ -0,0 +1,13 @@
+Description: Run MakeHeader.py in Python 3
+Forwarded: not-needed
+Author: Graham Inggs <ginggs@debian.org>
+Last-Update: 2019-07-22
+
+--- a/scripts/MakeHeader.py
++++ b/scripts/MakeHeader.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ import os, sys, string, io
+ try:
+ from StringIO import StringIO
diff --git a/debian/patches/series b/debian/patches/series
index 0f31862..0e63084 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
780-fix-option-string.patch
fix-linux-process.patch
+python3.patch

© 2014-2024 Faster IT GmbH | imprint | privacy policy