diff options
author | Michele Calgaro <[email protected]> | 2023-01-14 16:37:07 +0900 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2023-01-16 01:50:08 +0100 |
commit | 34de7371f00209152fbd0934c256528eee992a96 (patch) | |
tree | aacce98d2a49046245964e38410494220cf2e176 /dilos/core/tdeaddons | |
parent | 5043679baaff8cb129115058779d4889faa69c21 (diff) | |
download | tde-packaging-34de7371f00209152fbd0934c256528eee992a96.tar.gz tde-packaging-34de7371f00209152fbd0934c256528eee992a96.zip |
DEB tdeaddons: drop python2 support.
Use dh_python3 to ensure Python dependencies
and rewrite shebang in installed scripts.
Signed-off-by: Michele Calgaro <[email protected]>
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'dilos/core/tdeaddons')
-rw-r--r-- | dilos/core/tdeaddons/debian/control | 6 | ||||
-rwxr-xr-x | dilos/core/tdeaddons/debian/rules | 12 |
2 files changed, 11 insertions, 7 deletions
diff --git a/dilos/core/tdeaddons/debian/control b/dilos/core/tdeaddons/debian/control index abdcef832..fefbc405f 100644 --- a/dilos/core/tdeaddons/debian/control +++ b/dilos/core/tdeaddons/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: TDE Debian Team <[email protected]> XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <[email protected]> Uploaders: Ana Beatriz Guerrero Lopez <[email protected]>, Christopher Martin <[email protected]> -Build-Depends: cdbs, debhelper (>= 9~), quilt, tde-cmake, ninja-build, tdelibs14-trinity-dev, atlantik-trinity-dev, tdebase-trinity-dev, tdemultimedia-trinity-dev, libtdegames-trinity-dev, libkonq4-trinity-dev, tdepim-trinity-dev, libsdl1.2-dev (>= 1.2.2-3.3), libssl-dev (>= 0.9.6), libdb4.8++-dev | libdb++-dev, libogg-dev, libiconv-dev [solaris-any] +Build-Depends: cdbs, debhelper (>= 9~), quilt, tde-cmake, ninja-build, tdelibs14-trinity-dev, atlantik-trinity-dev, tdebase-trinity-dev, tdemultimedia-trinity-dev, libtdegames-trinity-dev, libkonq4-trinity-dev, tdepim-trinity-dev, libsdl1.2-dev (>= 1.2.2-3.3), libssl-dev (>= 0.9.6), libdb4.8++-dev | libdb++-dev, libogg-dev, dh-python, libiconv-dev [solaris-any] Standards-Version: 3.8.4 Package: tdeaddons-trinity @@ -152,7 +152,7 @@ Architecture: all Section: tde Replaces: knewsticker-scripts-trinity (<< 4:14.0.0~) Breaks: knewsticker-scripts-trinity (<< 4:14.0.0~) -Depends: ${perl:Depends}, python-all, libfinance-quote-perl, libmime-tools-perl, libnews-nntpclient-perl, libwww-perl +Depends: ${perl:Depends}, ${python3:Depends}, libfinance-quote-perl, libmime-tools-perl, libnews-nntpclient-perl, libwww-perl Recommends: knewsticker-trinity Enhances: knewsticker-trinity Description: scripts for KNewsTicker, the Trinity news ticker @@ -171,7 +171,7 @@ Architecture: any Section: tde Replaces: konq-plugins-trinity (<< 4:14.0.0~) Breaks: konq-plugins-trinity (<< 4:14.0.0~) -Depends: ${shlibs:Depends}, libjpeg-turbo-progs | libjpeg-progs, python-all, rsync, unison +Depends: ${shlibs:Depends}, ${python3:Depends}, libjpeg-turbo-progs | libjpeg-progs, rsync, unison Recommends: akregator-trinity, ark-trinity, imagemagick Suggests: khelpcenter-trinity, tdeaddons-trinity-doc-html Enhances: konqueror-trinity, akregator-trinity diff --git a/dilos/core/tdeaddons/debian/rules b/dilos/core/tdeaddons/debian/rules index 4417239b1..7d022babb 100755 --- a/dilos/core/tdeaddons/debian/rules +++ b/dilos/core/tdeaddons/debian/rules @@ -33,11 +33,15 @@ DOC_HTML_PRUNE := konq-plugins-trinity/smbmounter binary-install/tdeaddons-tdefile-plugins-trinity:: install -p -D -m644 renamedlgplugins/README \ - debian/tdeaddons-tdefile-plugins-trinity/usr/share/doc/tdeaddons-tdefile-plugins/README.renamedlgplugins + debian/$(cdbs_curpkg)/usr/share/doc/tdeaddons-tdefile-plugins/README.renamedlgplugins binary-install/knewsticker-scripts-trinity:: - chmod 755 debian/knewsticker-scripts-trinity/usr/share/apps/knewsticker/scripts/*.pl - chmod 755 debian/knewsticker-scripts-trinity/usr/share/apps/knewsticker/scripts/*.py + chmod 755 debian/$(cdbs_curpkg)/usr/share/apps/knewsticker/scripts/*.pl + chmod 755 debian/$(cdbs_curpkg)/usr/share/apps/knewsticker/scripts/*.py + dh_python3 -p $(cdbs_curpkg) --shebang=/usr/bin/python3 /usr/share/apps/knewsticker/scripts binary-install/kate-plugins-trinity:: - chmod 755 debian/kate-plugins-trinity/usr/share/apps/kate/scripts/html-tidy.sh + chmod 755 debian/$(cdbs_curpkg)/usr/share/apps/kate/scripts/html-tidy.sh + +binary-install/konq-plugins-trinity:: + dh_python3 -p $(cdbs_curpkg) --shebang=/usr/bin/python3 /usr/share/apps/imagerotation |