summaryrefslogtreecommitdiffstats
path: root/ubuntu
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-01-20 23:03:47 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-01-20 23:03:47 +0100
commita2cdfec1ee92bda8fcf36ea95aca1440e8bb523e (patch)
treea0ab9e9a5e55be1476f86fa020bb28f09c729aab /ubuntu
parent7431491935996dd7f7a420d665df50a54f302da3 (diff)
downloadtde-packaging-a2cdfec1ee92bda8fcf36ea95aca1440e8bb523e.tar.gz
tde-packaging-a2cdfec1ee92bda8fcf36ea95aca1440e8bb523e.zip
DEB tellico: Drop python2 support.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu')
-rw-r--r--ubuntu/_base/applications/office/tellico/debian/control9
-rwxr-xr-xubuntu/_base/applications/office/tellico/debian/rules4
2 files changed, 9 insertions, 4 deletions
diff --git a/ubuntu/_base/applications/office/tellico/debian/control b/ubuntu/_base/applications/office/tellico/debian/control
index e85c16091..5265062c0 100644
--- a/ubuntu/_base/applications/office/tellico/debian/control
+++ b/ubuntu/_base/applications/office/tellico/debian/control
@@ -6,7 +6,7 @@ XSBC-Original-Maintainer: Regis Boudin <regis@debian.org>
Build-Depends: cdbs, debhelper (>= 9~), quilt, tde-cmake, ninja-build,
tdelibs14-trinity-dev, tdemultimedia-trinity-dev, libtdepim1-trinity-dev,
libxml2-dev, libxslt1-dev, libtag1-dev, libyaz-dev,
- libpoppler-tqt-dev, libexempi-dev, libbtparse-dev, libv4l-dev
+ libpoppler-tqt-dev, libexempi-dev, libbtparse-dev, libv4l-dev, dh-python
Standards-Version: 3.8.4
Homepage: http://periapsis.org/tellico/
@@ -31,11 +31,11 @@ Description: collection manager for books, videos, music [Trinity]
Package: tellico-data-trinity
Architecture: all
-Depends: tdelibs-data-trinity
+Depends: tdelibs-data-trinity, ${python3:Depends}
Replaces: tellico-data-kde3 (<< 4:14.0.0~), tellico-data-trinity (<< 4:14.0.0~)
Breaks: tellico-data-kde3 (<< 4:14.0.0~), tellico-data-trinity (<< 4:14.0.0~)
Recommends: tellico-trinity
-Suggests: python-all
+Suggests: python3-all
Description: collection manager for books, videos, music [data] [Trinity]
Tellico is a collection manager for TDE. It includes default collections for
books, bibliographies, comic books, videos, music, coins, stamps, trading
@@ -55,10 +55,11 @@ Description: collection manager for books, videos, music [data] [Trinity]
Package: tellico-scripts-trinity
Architecture: all
+Depends: ${python3:Depends}
Recommends: tellico-trinity
Replaces: tellico-scripts-kde3 (<< 4:14.0.0~), tellico-scripts-trinity (<< 4:14.0.0~)
Breaks: tellico-scripts-kde3 (<< 4:14.0.0~), tellico-scripts-trinity (<< 4:14.0.0~)
-Suggests: python-all, ruby
+Suggests: python3-all, ruby
Description: collection manager for books, videos, music [scripts] [Trinity]
Tellico is a collection manager for TDE. It includes default collections for
books, bibliographies, comic books, videos, music, coins, stamps, trading
diff --git a/ubuntu/_base/applications/office/tellico/debian/rules b/ubuntu/_base/applications/office/tellico/debian/rules
index e0960f0b5..ed4736e50 100755
--- a/ubuntu/_base/applications/office/tellico/debian/rules
+++ b/ubuntu/_base/applications/office/tellico/debian/rules
@@ -26,3 +26,7 @@ binary-install/tellico-data-trinity::
[ ! -d debian/tmp/opt/trinity/share/mime ] || \
mv debian/tmp/opt/trinity/share/mime debian/$(cdbs_curpkg)/usr/share/
mv debian/$(cdbs_curpkg)/usr/share/mime/packages/tellico.xml debian/$(cdbs_curpkg)/usr/share/mime/packages/tellico-trinity.xml
+ dh_python3 -p $(cdbs_curpkg) --shebang=/usr/bin/python3 /opt/trinity/share/apps/tellico
+
+binary-install/tellico-scripts-trinity::
+ dh_python3 -p $(cdbs_curpkg) --shebang=/usr/bin/python3 /opt/trinity/share/apps/tellico/data-sources