From 06205e54d037d421454a9865c049a23c07ee62b1 Mon Sep 17 00:00:00 2001 From: Romain Beuque <556072+rbeuque74@users.noreply.github.com> Date: Tue, 15 Mar 2022 11:42:00 +0000 Subject: [PATCH] chore(debian): remove python2 support + add dependency to python3-requests Signed-off-by: Romain Beuque <556072+rbeuque74@users.noreply.github.com> --- debian/control | 14 ++------------ debian/rules | 2 +- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/debian/control b/debian/control index c50a06f..f225a3b 100644 --- a/debian/control +++ b/debian/control @@ -2,23 +2,13 @@ Source: python-ovh Section: python Priority: optional Maintainer: Romain Beuque -Build-Depends: debhelper (>= 9), python-all, dh-python, python-setuptools, python3-setuptools, python3-all +Build-Depends: debhelper (>= 9), dh-python, python3-setuptools, python3-all Standards-Version: 3.9.5 -X-Python-Version: >= 2.7 X-Python3-Version: >= 3.4 -Package: python-ovh -Architecture: all -Depends: ${misc:Depends}, ${python:Depends}, python -Description: Wrapper around OVH's APIs (Python 2) - Lightweight wrapper around OVH's APIs. Handles all the hard work - including credential creation and requests signing. - . - This package provides Python 2 module bindings only. - Package: python3-ovh Architecture: all -Depends: ${misc:Depends}, ${python3:Depends}, python3 +Depends: ${misc:Depends}, ${python3:Depends}, python3, python3-requests Description: Wrapper around OVH's APIs (Python 3) Lightweight wrapper around OVH's APIs. Handles all the hard work including credential creation and requests signing. diff --git a/debian/rules b/debian/rules index 63a56a1..3bf9e91 100755 --- a/debian/rules +++ b/debian/rules @@ -7,4 +7,4 @@ export PYBUILD_NAME = ovh export DEB_BUILD_OPTIONS=nocheck %: - dh $@ --with python2,python3 --buildsystem=pybuild + dh $@ --with python3 --buildsystem=pybuild