From e3a6355fda41b31ac423ab71fd0972c2da927a3c Mon Sep 17 00:00:00 2001 From: Thomas Goirand <zigo@debian.org> Date: Sat, 14 Sep 2019 21:37:38 +0200 Subject: [PATCH] Removed Python 2 support (Closes: #935372, #936734). --- debian/changelog | 7 +++++++ debian/control | 24 +----------------------- debian/rules | 2 +- 3 files changed, 9 insertions(+), 24 deletions(-) diff --git a/debian/changelog b/debian/changelog index 96a9840..4785bb9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +influxdb-python (5.2.0-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Removed Python 2 support (Closes: #935372, #936734). + + -- Thomas Goirand <zigo@debian.org> Sat, 14 Sep 2019 21:35:49 +0200 + influxdb-python (5.2.0-1) unstable; urgency=medium * New upstream version. (Closes: #899402) diff --git a/debian/control b/debian/control index 92bb55d..e2210d8 100644 --- a/debian/control +++ b/debian/control @@ -4,17 +4,9 @@ Priority: optional Maintainer: Alexandre Viau <aviau@debian.org> Build-Depends: debhelper (>= 9), dh-python, - python-all, - python-setuptools, python3-all, python3-setuptools -Build-Depends-Indep: python-requests (>= 1.0.3), - python-mock, - python-requests-mock (>= 0.5.1), - python-six (>= 0.1.9), - python-nose, - python-pandas, - python3-requests, +Build-Depends-Indep: python3-requests, python3-mock, python3-requests-mock (>= 0.5.1), python3-six (>= 0.1.9), @@ -26,20 +18,6 @@ Vcs-Browser: https://salsa.debian.org/debian/influxdb-python Homepage: https://pypi.python.org/pypi/influxdb Testsuite: autopkgtest-pkg-python -Package: python-influxdb -Architecture: all -Depends: ${misc:Depends}, - ${python:Depends}, - python-requests (>= 1.0.3), - python-six (>= 0.1.9) -Description: Client for InfluxDB - Python 2.7 - API bindings for InfluxDB. Supports both InfluxDB v0.8 and InfluxDB >= 0.9. - InfluxDB is an open source distributed time series database with no external - dependencies. It's useful for recording metrics, events, and performing - analytics. - . - This package contains the Python 2.7 module. - Package: python3-influxdb Architecture: all Depends: ${misc:Depends}, diff --git a/debian/rules b/debian/rules index 12ff202..093a344 100755 --- a/debian/rules +++ b/debian/rules @@ -7,4 +7,4 @@ export PYBUILD_TEST_ARGS={dir} --verbose export INFLUXDB_PYTHON_SKIP_SERVER_TESTS=True %: - dh $@ --with python2,python3 --buildsystem=pybuild + dh $@ --with python3 --buildsystem=pybuild -- GitLab