From e7056ad60f0b1d69a33c4b03c7f08e6cf44f6c2f Mon Sep 17 00:00:00 2001 From: Arto Jantunen Date: Wed, 10 Jul 2019 20:18:38 +0300 Subject: Build for Python 3 instead of Python 2 --- debian/control | 4 ++-- debian/rules | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/debian/control b/debian/control index 7b2118c..df76313 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: Python Applications Packaging Team Uploaders: Noèl Köthe , Arto Jantunen -Build-Depends: debhelper (>= 9~), python, dh-python, python-setuptools, python-dateutil, python-lxml, python-matplotlib, python-migrate, python-psycopg2, python-mysqldb, python-mock, python-gi, gir1.2-gtk-3.0, python-cairo, xvfb, xauth, locales-all +Build-Depends: debhelper (>= 9~), python3, dh-python, python3-setuptools, python3-dateutil, python3-lxml, python3-matplotlib, python3-migrate, python3-psycopg2, python3-mysqldb, python3-mock, python3-gi, gir1.2-gtk-3.0, python3-cairo, xvfb, xauth, locales-all Standards-Version: 3.9.6 Homepage: http://github.com/pytrainer/pytrainer Vcs-Browser: https://salsa.debian.org/python-team/applications/pytrainer @@ -12,7 +12,7 @@ Vcs-Git: https://salsa.debian.org/python-team/applications/pytrainer.git Package: pytrainer Architecture: all -Depends: ${misc:Depends}, ${python:Depends}, python-gi, gir1.2-gtk-3.0, python-cairo +Depends: ${misc:Depends}, ${python3:Depends}, python3-gi, gir1.2-gtk-3.0, python3-cairo Recommends: zenity, gpsbabel Description: desktop application for logging sport activities Pytrainer is a desktop application for logging and graphing sporting diff --git a/debian/rules b/debian/rules index 27193aa..8a431d2 100755 --- a/debian/rules +++ b/debian/rules @@ -1,9 +1,8 @@ #!/usr/bin/make -f export PYBUILD_NAME=pytrainer -export PYBUILD_VERSIONS=2.7 %: - dh $@ --with python2 --buildsystem=pybuild + dh $@ --with python3 --buildsystem=pybuild override_dh_auto_test: TZ=Europe/Kaliningrad LC_ALL=en_US.UTF-8 xvfb-run dh_auto_test -- cgit v1.2.3