Skip to content
Commits on Source (5)
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@debian.org> Wed, 04 Sep 2019 13:25:02 +0200
python-fitbit (0.3.1-1) unstable; urgency=medium
* New upstream release.
......
......@@ -4,19 +4,8 @@ Uploaders: Dylan Aïssi <daissi@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},
......
......@@ -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
......@@ -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