DEB desktop-effects-tde: Drop python2 support.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/195/head
Slávek Banko 1 year ago
parent 93c4b3fb9d
commit 6506865425
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -3,16 +3,15 @@ Section: tde
Priority: optional
Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
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.

@ -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

@ -3,16 +3,15 @@ Section: tde
Priority: optional
Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
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-kde3 (<< 4:14.0.0~), desktop-effects-kde-trinity (<< 4:14.0.0~)
Breaks: desktop-effects-kde-kde3 (<< 4:14.0.0~), 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.

@ -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

Loading…
Cancel
Save