[neon/extras/kdevelop-python/Neon/unstable] debian: use dh 13 replacement vars

Pino Toscano null at kde.org
Wed Aug 17 12:20:24 BST 2022


Git commit b1c6b23d83a5751e6b732b25a6815d337c8ba79e by Pino Toscano.
Committed on 19/09/2021 at 08:31.
Pushed by jriddell into branch 'Neon/unstable'.

use dh 13 replacement vars

M  +5    -0    debian/changelog
M  +0    -1    debian/control
M  +2    -3    debian/kdevelop-python.install
D  +0    -2    debian/source/lintian-overrides

https://invent.kde.org/neon/extras/kdevelop-python/commit/b1c6b23d83a5751e6b732b25a6815d337c8ba79e

diff --git a/debian/changelog b/debian/changelog
index 592de51..4e900ec 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,10 @@
 kdevelop-python (5.6.2-2) UNRELEASED; urgency=medium
 
+  [ Pino Toscano ]
+  * Use the debhelper 13 replacement features in install files:
+    - switch from ${KDEV_PLUGIN_VERSION} to ${env:KDEV_PLUGIN_VERSION}
+    - remove the dh-exec build dependency, no more needed
+    - remove the lintian override for the old method
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sun, 19 Sep 2021 10:27:48 +0200
 
diff --git a/debian/control b/debian/control
index bc0e814..ad0c21a 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,6 @@ Uploaders: Pino Toscano <pino at debian.org>,
            Andreas Cord-Landwehr <cola at uni-paderborn.de>
 Build-Depends: cmake (>= 3.0),
                debhelper-compat (= 13),
-               dh-exec,
                extra-cmake-modules (>= 5.59~),
                gettext,
                qtbase5-dev (>= 5.7.0),
diff --git a/debian/kdevelop-python.install b/debian/kdevelop-python.install
old mode 100755
new mode 100644
index 7998050..1ac487c
--- a/debian/kdevelop-python.install
+++ b/debian/kdevelop-python.install
@@ -1,7 +1,6 @@
-#!/usr/bin/dh-exec
 usr/lib/*/libkdevpythoncompletion.so
 usr/lib/*/libkdevpythonduchain.so
 usr/lib/*/libkdevpythonparser.so
-usr/lib/*/qt5/plugins/kdevplatform/${KDEV_PLUGIN_VERSION}/kdevpdb.so
-usr/lib/*/qt5/plugins/kdevplatform/${KDEV_PLUGIN_VERSION}/kdevpythonlanguagesupport.so
+usr/lib/*/qt5/plugins/kdevplatform/${env:KDEV_PLUGIN_VERSION}/kdevpdb.so
+usr/lib/*/qt5/plugins/kdevplatform/${env:KDEV_PLUGIN_VERSION}/kdevpythonlanguagesupport.so
 usr/share/metainfo/org.kde.kdev-python.metainfo.xml
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
deleted file mode 100644
index eecc67b..0000000
--- a/debian/source/lintian-overrides
+++ /dev/null
@@ -1,2 +0,0 @@
-# $KDEV_PLUGIN_VERSION is exported in rules to avoid changing kdevelop-python.install
-kdevelop-python source: dh-exec-subst-unknown-variable debian/kdevelop-python.install KDEV_PLUGIN_VERSION



More information about the Neon-commits mailing list