[Pkg-bazaar-maint] reconciling Ubuntu and debian package versions

Adeodato Simó dato at net.com.org.es
Tue Jul 17 15:16:09 UTC 2007


* Robert Collins [Wed, 11 Jul 2007 17:00:15 +1000]:

Hello Robert. I don't have any objectiong to adjusting the Debian
package so that it builds correctly in Ubuntu. Ideally, it'll build in
all supported Debian and Ubuntu versions.

Only, I'm disinclined to force the package to depend on python2.5:
applications should depend on the default python versions, unless they
can't really work with that. Plus, this may be of interest to you,
dapper does not have python2.5, which will mean more work to whoever has
to prepare that package.

> Currently we build-depend on 
> Build-Depends: debhelper (>= 5.0.38), cdbs (>= 0.4.43), quilt, python
> (>= 2.4), python-central (>= 0.5.6)
> Build-Depends-Indep: python-docutils (>= 0.4-2), python-celementtree (>=
> 1.0.5-7), python-medusa, python-paramiko

> Thats not going to work on Ubuntu properly for several reasons - the
> already discussed dependency on celementree which is in universe, and

Okay, so we solved the celementree in Depends, but Build-Depends is
missing. So let's apply the same fix. Simply:

  Build-Depends: python (>> 2.5) | python-celementree

> the non-deterministic dependency on python2.4

I'm not sure what you refer to. Do you mean, the one that gets added
because some .py files start with '#! /usr/bin/env python2.4'. If so, I
think that'd be better addressed upstream, but in the interim I'm happy
to apply Ubuntu's patch for that (done that for 0.18-1).

>  - We should shrink the build-depends

Since the debian/rules provides a mechanism to run the test suite at
build time, I think they should stay if possible. I've left
python-paramiko, which is in main, and removed python-medusa, which is
in universe.

>  - The runtime Depends need to be fixed as previously discussed -
> python2.5 | python-celementree

  python (>> 2.5), but yes.

> I think the below should do this giving a package that is fine for both
> Debian and Ubuntu. 

I think the 0.18-1 version in Debian is fine as well for Ubuntu, if
you'd be so kind to check. If not, I'm happy to check with you what's
missing, and fix if possible. If it's not possible, then we can move to
python2.5 instead.

HTH,

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
- Why are you whispering?
- Because I just think that no matter where she is, my mom can hear this
  conversation.
                -- Rory and Lane




More information about the Pkg-bazaar-maint mailing list