Bug#675207: [Dolfin] Please binNMU python-ufc against latest swig

Johannes Ring johannr at simula.no
Thu Jun 21 12:55:49 UTC 2012


On Sat, Jun 16, 2012 at 10:40 AM, Julien Cristau <jcristau at debian.org> wrote:
> On Fri, Jun 15, 2012 at 10:32:56 +0200, Johannes Ring wrote:
>> On Thu, Jun 14, 2012 at 4:46 PM, Julien Cristau
>> <julien.cristau at logilab.fr> wrote:
>> > If dolfin only works with the version of swig it was built against, that
>> > needs to be reflected in the package dependencies.
>>
>> Okay, but I'm unsure how to do that. Currently I have "Build-Depends:
>> swig2.0" in the source package and "Depends: swig2.0" in the binary
>> package python-dolfin. What should I put there instead? Are you
>> suggesting that I should add something like "{Build-}Depends: swig2.0
>> (>= 2.0.7), swig2.0 (<< 2.0.8)"? Wouldn't that require me to do a new
>> upload when swig 2.0.8 is added in the future? If so, is that any
>> better than doing binNMU's?
>>
> I'm suggesting you should leave your build-depends alone, check at
> build-time what the swig version is, and generate a Depends on that
> (upstream) version.  binNMUs would still work, and you wouldn't get an
> installable but broken package.

Thanks Julien and sorry about the late reply. I'm not sure how I end
up doing things but I'll keep your suggestion in mind.

Johannes





More information about the debian-science-maintainers mailing list