summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2023-01-17 01:54:17 +0100
committerSlávek Banko <[email protected]>2023-01-17 03:15:16 +0100
commit650686542574e609fcf1e7ff16beb13c8e53cc16 (patch)
tree23f273d44a2898097d137ae0fa3c1104ae8b80ea /debian
parent93c4b3fb9dac52c8939ea6889cafa700bb9a5064 (diff)
downloadtde-packaging-650686542574e609fcf1e7ff16beb13c8e53cc16.tar.gz
tde-packaging-650686542574e609fcf1e7ff16beb13c8e53cc16.zip
DEB desktop-effects-tde: Drop python2 support.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'debian')
-rw-r--r--debian/_base/applications/misc/desktop-effects-tde/debian/control7
-rwxr-xr-xdebian/_base/applications/misc/desktop-effects-tde/debian/rules10
2 files changed, 4 insertions, 13 deletions
diff --git a/debian/_base/applications/misc/desktop-effects-tde/debian/control b/debian/_base/applications/misc/desktop-effects-tde/debian/control
index 17c5b285b..bdd07df92 100644
--- a/debian/_base/applications/misc/desktop-effects-tde/debian/control
+++ b/debian/_base/applications/misc/desktop-effects-tde/debian/control
@@ -3,16 +3,15 @@ Section: tde
Priority: optional
Maintainer: TDE Debian Team <[email protected]>
Build-Depends-Indep: cdbs, debhelper (>= 9~), quilt, tde-cmake, ninja-build, tdelibs-trinity-dev,
- python-support (>= 0.6) | dh-python, python-all-dev, pytde-dev
+ dh-python, python3-all-dev, pytde-dev
Standards-Version: 3.8.4
-XS-Python-Version: all
+X-Python3-Version: all
Package: desktop-effects-tde-trinity
Architecture: all
-Depends: ${python:Depends}, python-pytqt, python-pytde
+Depends: ${python3:Depends}, python3-apt, python3-pytqt, python3-pytde
Replaces: desktop-effects-kde-trinity (<< 4:14.0.0~)
Breaks: desktop-effects-kde-trinity (<< 4:14.0.0~)
-XB-Python-Version: ${python:Versions}
Description: compiz setup tool for Trinity
A simple Compiz configuration tool for Trinity. Installs and sets Compiz
as the window manager.
diff --git a/debian/_base/applications/misc/desktop-effects-tde/debian/rules b/debian/_base/applications/misc/desktop-effects-tde/debian/rules
index 5853ba38f..bcea12716 100755
--- a/debian/_base/applications/misc/desktop-effects-tde/debian/rules
+++ b/debian/_base/applications/misc/desktop-effects-tde/debian/rules
@@ -16,13 +16,5 @@ DEB_CMAKE_EXTRA_FLAGS := \
-DBUILD_ALL="ON" \
-DWITH_ALL_OPTIONS="ON"
-DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
-
-post-patches::
- # make sure that python binary exists
- # since the existing code is still dependent on python2
- # and cdbs uses python as the default binary name
- test -x /usr/bin/python || ln -s python2 /usr/bin/python
-
binary-install/desktop-effects-tde-trinity::
- ${DH_PYTHON2} -pdesktop-effects-tde-trinity
+ dh_python3 -p $(cdbs_curpkg) --shebang=/usr/bin/python3 /opt/trinity/bin