[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packaging of python-fitbit



Hi Iain,

On Mon, Feb 03, 2014 at 09:44:10PM +0000, Iain R. Learmonth wrote:
> I've built a second package, this time a Python library that uses the
> FitBit REST API. This gives lower resolution data, but it gives you a
> wider range of data, not just steps and sleep. It complements the
> python3-fitbitscraper package I built.

Cool.  Thanks for your work on this.

> The only problem I've had is that the upstream author hasn't tagged any
> releases, but does have releases. I have spoken with the upstream author
> (who responded quickly) and I have been told that from the next release
> they will start to tag releases.

OK.  Thanks for contacting + teaching upstream.

> From the next release, which I'll watch for closely, I'll add the watch
> file.
> 
> Could you take a look please? I've pushed to git on alioth.
> 
> http://anonscm.debian.org/gitweb/?p=debian-med/python-fitbit.git

When building using git-buildpackage with cowbuilder I get:

...running build_py
creating /tmp/buildd/python-fitbit-0.0.2/.pybuild/pythonX.Y_2.7/build/fitbit
copying fitbit/api.py -> /tmp/buildd/python-fitbit-0.0.2/.pybuild/pythonX.Y_2.7/build/fitbit
copying fitbit/__init__.py -> /tmp/buildd/python-fitbit-0.0.2/.pybuild/pythonX.Y_2.7/build/fitbit
copying fitbit/exceptions.py -> /tmp/buildd/python-fitbit-0.0.2/.pybuild/pythonX.Y_2.7/build/fitbit
copying fitbit/utils.py -> /tmp/buildd/python-fitbit-0.0.2/.pybuild/pythonX.Y_2.7/build/fitbit
copying fitbit/gather_keys_cli.py -> /tmp/buildd/python-fitbit-0.0.2/.pybuild/pythonX.Y_2.7/build/fitbit
running egg_info
creating fitbit.egg-info
writing requirements to fitbit.egg-info/requires.txt
writing fitbit.egg-info/PKG-INFO
writing top-level names to fitbit.egg-info/top_level.txt
writing dependency_links to fitbit.egg-info/dependency_links.txt
writing manifest file 'fitbit.egg-info/SOURCES.txt'
reading manifest file 'fitbit.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'fitbit.egg-info/SOURCES.txt'
PYTHONPATH=. http_proxy='localhost' sphinx-build -N -bhtml docs/ build/html  # HTML generator
/bin/sh: 1: sphinx-build: not found
make[1]: *** [override_dh_auto_build] Error 127
make[1]: Leaving directory `/tmp/buildd/python-fitbit-0.0.2'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


Seems the build process is trying to access the internet somhow or it is
a missing Build-Depends.

Kind regards

      Andreas.

-- 
http://fam-tille.de


Reply to: