Skip to content

Commit

Permalink
chore(debian): remove python2 support + add dependency to python3-req…
Browse files Browse the repository at this point in the history
…uests

Signed-off-by: Romain Beuque <[email protected]>
  • Loading branch information
rbeuque74 committed Mar 15, 2022
1 parent aa780b7 commit 06205e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
14 changes: 2 additions & 12 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,13 @@ Source: python-ovh
Section: python
Priority: optional
Maintainer: Romain Beuque <[email protected]>
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.
Expand Down
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ export PYBUILD_NAME = ovh
export DEB_BUILD_OPTIONS=nocheck

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

0 comments on commit 06205e5

Please sign in to comment.