diff options
author | Arto Jantunen <viiru@debian.org> | 2019-07-10 20:18:38 +0300 |
---|---|---|
committer | Arto Jantunen <viiru@debian.org> | 2019-07-11 17:20:17 +0300 |
commit | e7056ad60f0b1d69a33c4b03c7f08e6cf44f6c2f (patch) | |
tree | e79c2d1fd5e110045d3e0687f2ad0a57a5feb67e | |
parent | 9ffa91dff821104b8aa0665c174638fac2a81665 (diff) |
Build for Python 3 instead of Python 2
-rw-r--r-- | debian/control | 4 | ||||
-rwxr-xr-x | 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 <python-apps-team@lists.alioth.debian.org> Uploaders: Noèl Köthe <noel@debian.org>, Arto Jantunen <viiru@debian.org> -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 |