summaryrefslogtreecommitdiffstats
path: root/dilos/core/tdesdk/debian/rules
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-01-14 23:46:44 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-01-16 11:09:29 +0900
commit72bea6b38a6a4fdb6ae2ee01f659df8dbca0a5b5 (patch)
treed734569ff17fb1963dbeee9087936bf9e606e506 /dilos/core/tdesdk/debian/rules
parent34de7371f00209152fbd0934c256528eee992a96 (diff)
downloadtde-packaging-72bea6b38a6a4fdb6ae2ee01f659df8dbca0a5b5.tar.gz
tde-packaging-72bea6b38a6a4fdb6ae2ee01f659df8dbca0a5b5.zip
DEB tdesdk: drop python2 support.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'dilos/core/tdesdk/debian/rules')
-rwxr-xr-xdilos/core/tdesdk/debian/rules31
1 files changed, 19 insertions, 12 deletions
diff --git a/dilos/core/tdesdk/debian/rules b/dilos/core/tdesdk/debian/rules
index 2321e5f11..ef08fe448 100755
--- a/dilos/core/tdesdk/debian/rules
+++ b/dilos/core/tdesdk/debian/rules
@@ -43,28 +43,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/usr/bin/svn-clean \
-# debian/tdesdk-scripts-trinity/usr/bin/svn-clean-kde
-# mv -f debian/tdesdk-scripts-trinity/usr/bin/svnversions \
-# debian/tdesdk-scripts-trinity/usr/bin/svnversion-kde
+# mv -f debian/$(cdbs_curpkg)/usr/bin/svn-clean \
+# debian/$(cdbs_curpkg)/usr/bin/svn-clean-kde
+# mv -f debian/$(cdbs_curpkg)/usr/bin/svnversions \
+# debian/$(cdbs_curpkg)/usr/bin/svnversion-kde
install -p -D -m644 scripts/kde-buildrc \
- debian/tdesdk-scripts-trinity/usr/share/doc/tdesdk-scripts-trinity/kde-buildrc.example
+ debian/$(cdbs_curpkg)/usr/share/doc/tdesdk-scripts-trinity/kde-buildrc.example
+ dh_python3 -p $(cdbs_curpkg) --shebang=/usr/bin/python3 /usr/bin
binary-install/tdesdk-misc-trinity::
install -p -D -m644 kdeaccounts-plugin/README \
- debian/tdesdk-misc-trinity/usr/share/doc/tdesdk-misc/README.kdeaccounts-plugin
+ debian/$(cdbs_curpkg)/usr/share/doc/tdesdk-misc/README.kdeaccounts-plugin
install -p -D -m644 tdeioslave/svn/AUTHORS \
- debian/tdesdk-misc-trinity/usr/share/doc/tdesdk-misc/AUTHORS.tdeioslave-svn
+ debian/$(cdbs_curpkg)/usr/share/doc/tdesdk-misc/AUTHORS.tdeioslave-svn
install -p -D -m644 tdeioslave/svn/README \
- debian/tdesdk-misc-trinity/usr/share/doc/tdesdk-misc/README.tdeioslave-svn
+ debian/$(cdbs_curpkg)/usr/share/doc/tdesdk-misc/README.tdeioslave-svn
install -p -D -m644 kprofilemethod/README \
- debian/tdesdk-misc-trinity/usr/share/doc/tdesdk-misc/README.kprofilemethod
+ debian/$(cdbs_curpkg)/usr/share/doc/tdesdk-misc/README.kprofilemethod
install -p -D -m644 scheck/README \
- debian/tdesdk-misc-trinity/usr/share/doc/tdesdk-misc/README.scheck
+ debian/$(cdbs_curpkg)/usr/share/doc/tdesdk-misc/README.scheck
binary-install/kapptemplate-trinity::
- rm -f debian/kapptemplate-trinity/usr/share/apps/kapptemplate/admin/*.cdbs-orig
+ rm -f debian/$(cdbs_curpkg)/usr/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/usr/share/apps/kapptemplate/admin/$$admindirfile; \
+ chmod 755 debian/$(cdbs_curpkg)/usr/share/apps/kapptemplate/admin/$$admindirfile; \
done
+
+binary-install/tdecachegrind-trinity::
+ dh_python3 -p $(cdbs_curpkg) --shebang=/usr/bin/python3 /usr/bin
+
+binary-install/umbrello-trinity::
+ dh_python3 -p $(cdbs_curpkg) --shebang=/usr/bin/python3 /usr/share/apps/umbrello/headings