[users at bb.net] debian packages?

Robin Jarry robin at jarry.cc
Tue Feb 27 09:32:25 UTC 2018


Hi Dan,

On Tue, Feb 27, 2018 at 6:39 AM Dan Kegel <dank at kegel.com> wrote:
> Hey all,
> happy to see https://github.com/rjarry/debian-buildbot/ is at 0.9.14.
> I tried building it on Ubuntu 17.10 to see how close it is to working.
> I've never touched kosher python debian packaging before, but that
> repo looks fine to me.  debuild generated a mostly empty package,
> though, until I added the two files
>
> debian/python3-buildbot.install:
>   usr/lib/python3*/dist-packages/buildbot
>
> debian/python3-buildbot-worker.install:
>   usr/lib/python3*/dist-packages/buildbot_worker
>   usr/bin/buildbot-worker
>
> Haven't tried the resulting .deb to see if it works yet, has anyone else
> yet?

This repo is still "en chantier" as we say in french. I did not manage
to make viable packages yet.

The problem is that pybuild (a tool that is part of dh-python to
generate python*.deb packages from setup.py scripts), does not support
multiple calls in the same debian/rules target.

I am currently working on this with the guys at #debian-python on OFTC.

See https://bugs.debian.org/883529 for more details.

> Speaking strictly as a newbie at packaging python,
> the breakneck pace of the scheduled dependency updates
> in the git tree looks rather intimidating; HEAD from buildbot.net uses
> versions
> newer than those in ubuntu 17.10.  I'm moving to 18.04,
> and hope its curated suite of python packages is new enough,
> but those breakneck updates feel like a problem unless
> they can be throttled back somehow to match the curated linux distro
> of interest.

You should not worry too much about this. Debian packaging is not
strictly coupled with setup.py dependencies (modified by scheduled
dependency updates). I had some issues with specific dependencies that
are not currently in Debian, but I have worked around them.

Whatever happens, the dependencies that will end up in the
debian/control file will be the ones readily available in Debian when I
finally make all this work.

-- 
Robin


More information about the users mailing list