summaryrefslogtreecommitdiffstats
path: root/debian
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 /debian
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 'debian')
-rw-r--r--debian/_base/applications/office/tellico/debian/control9
-rwxr-xr-xdebian/_base/applications/office/tellico/debian/rules4
2 files changed, 9 insertions, 4 deletions
diff --git a/debian/_base/applications/office/tellico/debian/control b/debian/_base/applications/office/tellico/debian/control
index 15805405e..b89f419d8 100644
--- a/debian/_base/applications/office/tellico/debian/control
+++ b/debian/_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-trinity (<< 4:14.0.0~)
Breaks: 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-trinity (<< 4:14.0.0~)
Breaks: 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/debian/_base/applications/office/tellico/debian/rules b/debian/_base/applications/office/tellico/debian/rules
index e0960f0b5..ed4736e50 100755
--- a/debian/_base/applications/office/tellico/debian/rules
+++ b/debian/_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