summaryrefslogtreecommitdiffstats
path: root/debian/_base
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-01-14 23:46:44 +0900
committerMichele Calgaro <[email protected]>2023-01-16 11:09:29 +0900
commit72bea6b38a6a4fdb6ae2ee01f659df8dbca0a5b5 (patch)
treed734569ff17fb1963dbeee9087936bf9e606e506 /debian/_base
parent34de7371f00209152fbd0934c256528eee992a96 (diff)
downloadtde-packaging-72bea6b38a6a4fdb6ae2ee01f659df8dbca0a5b5.tar.gz
tde-packaging-72bea6b38a6a4fdb6ae2ee01f659df8dbca0a5b5.zip
DEB tdesdk: drop python2 support.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'debian/_base')
-rw-r--r--debian/_base/core/tdesdk/debian/control8
-rwxr-xr-xdebian/_base/core/tdesdk/debian/rules31
2 files changed, 23 insertions, 16 deletions
diff --git a/debian/_base/core/tdesdk/debian/control b/debian/_base/core/tdesdk/debian/control
index cf38121ff..567119ca1 100644
--- a/debian/_base/core/tdesdk/debian/control
+++ b/debian/_base/core/tdesdk/debian/control
@@ -8,7 +8,7 @@ Build-Depends: cdbs, debhelper (>= 9~), quilt, tde-cmake, ninja-build,
pkg-config, tdelibs14-trinity-dev, binutils-dev, bison, flex, libfl-dev | flex (<< 2.5.39),
tdepim-trinity-dev, libapr1-dev, libtdepim1-trinity-dev,
libktnef1-trinity-dev, libsvn-dev, libdb-dev,
- libiberty-dev | binutils-dev (<< 2.23.91.20131123-1~)
+ libiberty-dev | binutils-dev (<< 2.23.91.20131123-1~), dh_python
Standards-Version: 3.8.4
Package: tdesdk-trinity
@@ -165,7 +165,7 @@ Architecture: all
Section: devel
Replaces: kcachegrind-converters-trinity (<< 4:14.0.0~)
Breaks: kcachegrind-converters-trinity (<< 4:14.0.0~)
-Depends: ${perl:Depends}, php-cli | php5-cli, python-all
+Depends: ${perl:Depends}, ${python3:Depends}, php-cli | php5-cli
Recommends: tdecachegrind-trinity
Description: format converters for TDECachegrind profiling visualisation tool
This is a collection of scripts for converting the output from
@@ -219,7 +219,7 @@ Architecture: all
Section: devel
Replaces: kdesdk-scripts-trinity (<< 4:14.0.0~)
Breaks: kdesdk-scripts-trinity (<< 4:14.0.0~)
-Depends: ${perl:Depends}, python-all
+Depends: ${perl:Depends}, ${python3:Depends}
Recommends: automake1.9 | automaken, cvs, gawk
Suggests: khelpcenter-trinity, tdesdk-trinity-doc-html, dmalloc, gdb, tdelibs14-trinity-doc, tqt3-doc, valgrind, devscripts
Enhances: kate-trinity
@@ -360,7 +360,7 @@ Architecture: any
Section: devel
Replaces: umbrello-trinity (<< 4:14.0.0~)
Breaks: umbrello-trinity (<< 4:14.0.0~)
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${python3:Depends}
Suggests: khelpcenter-trinity, tdesdk-trinity-doc-html
Description: UML modelling tool and code generator
Umbrello UML Modeller is a Unified Modelling Language editor for TDE.
diff --git a/debian/_base/core/tdesdk/debian/rules b/debian/_base/core/tdesdk/debian/rules
index 2a1a0c921..085eefac4 100755
--- a/debian/_base/core/tdesdk/debian/rules
+++ b/debian/_base/core/tdesdk/debian/rules
@@ -32,28 +32,35 @@ DEB_INSTALL_CHANGELOGS_kompare-trinity := kompare/ChangeLog
DEB_INSTALL_CHANGELOGS_umbrello-trinity := umbrello/ChangeLog
binary-install/tdesdk-scripts-trinity::
- mv -f debian/tdesdk-scripts-trinity/opt/trinity/bin/svn-clean \
- debian/tdesdk-scripts-trinity/opt/trinity/bin/svn-clean-kde
- mv -f debian/tdesdk-scripts-trinity/opt/trinity/bin/svnversions \
- debian/tdesdk-scripts-trinity/opt/trinity/bin/svnversion-kde
+ mv -f debian/$(cdbs_curpkg)/opt/trinity/bin/svn-clean \
+ debian/$(cdbs_curpkg)/opt/trinity/bin/svn-clean-kde
+ mv -f debian/$(cdbs_curpkg)/opt/trinity/bin/svnversions \
+ debian/$(cdbs_curpkg)/opt/trinity/bin/svnversion-kde
install -p -D -m644 scripts/kde-buildrc \
- debian/tdesdk-scripts-trinity/opt/trinity/share/doc/tdesdk-scripts-trinity/kde-buildrc.example
+ debian/$(cdbs_curpkg)/opt/trinity/share/doc/tdesdk-scripts-trinity/kde-buildrc.example
+ dh_python3 -p $(cdbs_curpkg) --shebang=/usr/bin/python3 /opt/trinity/bin
binary-install/tdesdk-misc-trinity::
install -p -D -m644 kdeaccounts-plugin/README \
- debian/tdesdk-misc-trinity/opt/trinity/share/doc/tdesdk-misc/README.kdeaccounts-plugin
+ debian/$(cdbs_curpkg)/opt/trinity/share/doc/tdesdk-misc/README.kdeaccounts-plugin
install -p -D -m644 tdeioslave/svn/AUTHORS \
- debian/tdesdk-misc-trinity/opt/trinity/share/doc/tdesdk-misc/AUTHORS.tdeioslave-svn
+ debian/$(cdbs_curpkg)/opt/trinity/share/doc/tdesdk-misc/AUTHORS.tdeioslave-svn
install -p -D -m644 tdeioslave/svn/README \
- debian/tdesdk-misc-trinity/opt/trinity/share/doc/tdesdk-misc/README.tdeioslave-svn
+ debian/$(cdbs_curpkg)/opt/trinity/share/doc/tdesdk-misc/README.tdeioslave-svn
install -p -D -m644 kprofilemethod/README \
- debian/tdesdk-misc-trinity/opt/trinity/share/doc/tdesdk-misc/README.kprofilemethod
+ debian/$(cdbs_curpkg)/opt/trinity/share/doc/tdesdk-misc/README.kprofilemethod
install -p -D -m644 scheck/README \
- debian/tdesdk-misc-trinity/opt/trinity/share/doc/tdesdk-misc/README.scheck
+ debian/$(cdbs_curpkg)/opt/trinity/share/doc/tdesdk-misc/README.scheck
binary-install/kapptemplate-trinity::
- rm -f debian/kapptemplate-trinity/opt/trinity/share/apps/kapptemplate/admin/*.cdbs-orig
+ rm -f debian/$(cdbs_curpkg)/opt/trinity/share/apps/kapptemplate/admin/*.cdbs-orig
for admindirfile in compile config.guess config.sub debianrules depcomp detect-autoconf.pl \
Doxyfile.global install-sh missing mkinstalldirs nmcheck ylwrap; do \
- chmod 755 debian/kapptemplate-trinity/opt/trinity/share/apps/kapptemplate/admin/$$admindirfile; \
+ chmod 755 debian/$(cdbs_curpkg)/opt/trinity/share/apps/kapptemplate/admin/$$admindirfile; \
done
+
+binary-install/tdecachegrind-trinity::
+ dh_python3 -p $(cdbs_curpkg) --shebang=/usr/bin/python3 /opt/trinity/bin
+
+binary-install/umbrello-trinity::
+ dh_python3 -p $(cdbs_curpkg) --shebang=/usr/bin/python3 /opt/trinity/share/apps/umbrello/headings