Skip to content

Commit 06205e5

Browse files
committed
chore(debian): remove python2 support + add dependency to python3-requests
Signed-off-by: Romain Beuque <556072+rbeuque74@users.noreply.github.com>
1 parent aa780b7 commit 06205e5

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

debian/control

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,13 @@ Source: python-ovh
22
Section: python
33
Priority: optional
44
Maintainer: Romain Beuque <api@ml.ovh.net>
5-
Build-Depends: debhelper (>= 9), python-all, dh-python, python-setuptools, python3-setuptools, python3-all
5+
Build-Depends: debhelper (>= 9), dh-python, python3-setuptools, python3-all
66
Standards-Version: 3.9.5
7-
X-Python-Version: >= 2.7
87
X-Python3-Version: >= 3.4
98

10-
Package: python-ovh
11-
Architecture: all
12-
Depends: ${misc:Depends}, ${python:Depends}, python
13-
Description: Wrapper around OVH's APIs (Python 2)
14-
Lightweight wrapper around OVH's APIs. Handles all the hard work
15-
including credential creation and requests signing.
16-
.
17-
This package provides Python 2 module bindings only.
18-
199
Package: python3-ovh
2010
Architecture: all
21-
Depends: ${misc:Depends}, ${python3:Depends}, python3
11+
Depends: ${misc:Depends}, ${python3:Depends}, python3, python3-requests
2212
Description: Wrapper around OVH's APIs (Python 3)
2313
Lightweight wrapper around OVH's APIs. Handles all the hard work
2414
including credential creation and requests signing.

debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ export PYBUILD_NAME = ovh
77
export DEB_BUILD_OPTIONS=nocheck
88

99
%:
10-
dh $@ --with python2,python3 --buildsystem=pybuild
10+
dh $@ --with python3 --buildsystem=pybuild

0 commit comments

Comments
 (0)