[pkg-boost-devel] Boost.Python: providing libs for both Python 2.4 and 2.5.

Steve M. Robbins steve at sumost.ca
Sat Mar 22 16:44:17 UTC 2008

On Fri, Mar 21, 2008 at 03:59:30PM -0400, Aaron M. Ucko wrote:

> I do, however, see a couple of concrete issues with your script:
> > if [ "$1" = "-d" ]; then
> >     debug=-d
> >     shift
> > fi
> Shouldn't you fix that at build time à la $version?

You noticed a complication I was avoiding.  There are actually two
packages that need an rtupdate script: libboost-python-dev, and
libboost-dbg.  The latter holds all the "debug" versions of the
libraries, including the Boost.Python libraries.  The only difference
in names is that the debug libraries have "-d" in them.  So I was
avoiding two scripts by this parameterization.

[I have subsequently done the parameterization slightly differently;
consult the boost svn repo for details or wait for the upload in a few

> >     rtupdate)      rtupdate $1 ;;
> More critically, AFAICT you want to pass $2, not $1.

Indeed.  I had sent out the note before fully testing
the script.  How embarrassing.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-boost-devel/attachments/20080322/03e2886f/attachment.pgp 

More information about the pkg-boost-devel mailing list