From: Don Armstrong Date: Fri, 30 Aug 2019 07:33:10 +0000 (-0700) Subject: Switch to using python3 (Closes: #936170) X-Git-Tag: debian/1.8.1-2~2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5acc6294399106ead7dd44e1be654607e51474c6;p=deb_pkgs%2Fautorandr.git Switch to using python3 (Closes: #936170) --- diff --git a/debian/changelog b/debian/changelog index 3e03efc..2ab0479 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +autorandr (1.8.1-2) unstable; urgency=medium + + * Switch to using python3 by changing the #! line and dependencies; no + other changes were required (Closes: #936170) + + -- Don Armstrong Fri, 30 Aug 2019 00:30:36 -0700 + autorandr (1.8.1-1) unstable; urgency=medium * New upstream release diff --git a/debian/control b/debian/control index d270d39..b8f1c71 100644 --- a/debian/control +++ b/debian/control @@ -11,7 +11,7 @@ Vcs-Browser: https://git.donarmstrong.com/deb_pkgs/autorandr.git Package: autorandr Architecture: all -Depends: x11-xserver-utils, python, ${misc:Depends} +Depends: x11-xserver-utils, python3, ${misc:Depends} Description: Automatically select a display configuration for connected devices Autorandr is a script for managing xrandr configurations based on the connected devices. It can be set up to automatically switch to a diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..ee77c53 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +use_python3 diff --git a/debian/patches/use_python3 b/debian/patches/use_python3 new file mode 100644 index 0000000..c5c93ab --- /dev/null +++ b/debian/patches/use_python3 @@ -0,0 +1,12 @@ +Description: Debian specific patch to switch from python to python3 +Bug-Debian: https://bugs.debian.org/936170 +Author: Don Armstrong +Forwarded: not-needed +--- a/autorandr.py ++++ b/autorandr.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # encoding: utf-8 + # + # autorandr.py