[med-svn] [Git][med-team/python-fitbit][master] 5 commits: Drop Python2 support

Andreas Tille gitlab at salsa.debian.org
Wed Sep 4 12:31:06 BST 2019



Andreas Tille pushed to branch master at Debian Med / python-fitbit


Commits:
7e4fbda1 by Andreas Tille at 2019-09-04T10:54:12Z
Drop Python2 support

- - - - -
b2ab3360 by Andreas Tille at 2019-09-04T10:54:28Z
debhelper-compat 12

- - - - -
6f4fbc38 by Andreas Tille at 2019-09-04T11:01:37Z
Respect DEB_BUILD_OPTIONS in override_dh_auto_test target

- - - - -
2f21c25b by Andreas Tille at 2019-09-04T11:24:57Z
Fix PATH in docbase

- - - - -
183d8105 by Andreas Tille at 2019-09-04T11:26:28Z
Upload to unstable

- - - - -


5 changed files:

- debian/changelog
- − debian/compat
- debian/control
- debian/python-fitbit-doc.doc-base
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+python-fitbit (0.3.1-2) unstable; urgency=medium
+
+  * Team upload.
+  * Drop Python2 support
+    Closes: #937755
+  * debhelper-compat 12
+  * Respect DEB_BUILD_OPTIONS in override_dh_auto_test target
+
+ -- Andreas Tille <tille at debian.org>  Wed, 04 Sep 2019 13:25:02 +0200
+
 python-fitbit (0.3.1-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
debian/compat deleted
=====================================
@@ -1 +0,0 @@
-11


=====================================
debian/control
=====================================
@@ -4,19 +4,8 @@ Uploaders: Dylan Aïssi <daissi at debian.org>
 Section: python
 Testsuite: autopkgtest-pkg-python
 Priority: optional
-Build-Depends: debhelper (>= 11~),
+Build-Depends: debhelper-compat (= 12),
                dh-python,
-               python,
-               python-setuptools,
-               python-requests-oauthlib (>= 0.7),
-               python-dateutil,
-               python-docutils,
-               python-nose,
-# Tests are disabled
-#               python-mock,
-#               python-coverage,
-#               python-freezegun (>= 0.3.8),
-#               python-requests-mock (>= 1.2.0),
                python3,
                python3-setuptools,
                python3-requests-oauthlib (>= 0.7),
@@ -34,19 +23,6 @@ Vcs-Browser: https://salsa.debian.org/med-team/python-fitbit
 Vcs-Git: https://salsa.debian.org/med-team/python-fitbit.git
 Homepage: https://github.com/orcasgit/python-fitbit/
 
-Package: python-fitbit
-Architecture: all
-Depends: ${python:Depends},
-         ${misc:Depends},
-         python-dateutil,
-         python-requests-oauthlib
-Description: FitBit REST API Client Implementation - Python 2
- A Python module containing an implementation of a client for the FitBit
- REST API. It uses OAuth for authentication, it supports both US and SI
- units.
- .
- This package contains the Python 2 module.
-
 Package: python3-fitbit
 Architecture: all
 Depends: ${python3:Depends},
@@ -73,4 +49,4 @@ Description: FitBit REST API Client Implementation - Documentation
  REST API. It uses OAuth for authentication, it supports both US and SI
  units.
  .
-  This package contains the documentation.
+ This package contains the documentation.


=====================================
debian/python-fitbit-doc.doc-base
=====================================
@@ -5,5 +5,5 @@ Abstract: This manual describes the functions provided by the Python FitBit REST
 Section: Programming
 
 Format: html
-Index: /usr/share/doc/python-fitbit/html/index.html
-Files: /usr/share/doc/python-fitbit/html/*.html
+Index: /usr/share/doc/python-fitbit-doc/html/index.html
+Files: /usr/share/doc/python-fitbit-doc/html/*.html


=====================================
debian/rules
=====================================
@@ -3,11 +3,13 @@
 export PYBUILD_NAME=fitbit
 
 %:
-	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_build:
 	dh_auto_build
 	PYTHONPATH=. http_proxy='localhost' sphinx-build -N -bhtml docs/ build/html # HTML generator
 
 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	echo "Skipping tests: Tests require network access..."
+endif



View it on GitLab: https://salsa.debian.org/med-team/python-fitbit/compare/db5f180cd556bfb475c77a855622e111a0a0e24b...183d81058f73b31604a5a0e0d4f701a46f93df51

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-fitbit/compare/db5f180cd556bfb475c77a855622e111a0a0e24b...183d81058f73b31604a5a0e0d4f701a46f93df51
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190904/f13387a8/attachment-0001.html>


More information about the debian-med-commit mailing list