[Bug 370186] Re: Please merge boost1.37-1.37.0-9ubuntu1

Andrew Starr-Bochicchio a.starr.b at gmail.com
Fri May 1 21:23:04 BST 2009


It has to do with the Python transition. Simply passing --install-
layout=deb wasn't working as setting the prefix as /usr was over-ridding
it and still installing pyste to /usr/local

Here's the relevant part of the diff:

-pyste_prefix = $(CURDIR)/debian/libboost-python$(PKGVERSION)-dev/usr
+pyste_root = $(CURDIR)/debian/libboost-python$(PKGVERSION)-dev

[snip]

-	cd libs/python/pyste/install && python setup.py install --no-compile --prefix=$(pyste_prefix) --install-lib=$(pyste_prefix)/share/python-support/pyste
-	mv $(pyste_prefix)/bin/pyste.py $(pyste_prefix)/bin/pyste
+	cd libs/python/pyste/install && python setup.py install --no-compile --root=$(pyste_root) --install-layout=deb --install-lib=$(pyste_root)/usr/share/python-support/pyste
+	mv $(pyste_root)/usr/bin/pyste.py $(pyste_root)/usr/bin/pyste

I suppose I could have just used:

pyste_prefix = $(CURDIR)/debian/libboost-python$(PKGVERSION)-dev/

But renaming it to pyste_root better represents what it now is.

It's only applicable to Debian in so far as it is part of the transition
which they've yet to do. I'll submit a patch to BTS including all the
python transition changes.

-- 
Please merge boost1.37-1.37.0-9ubuntu1
https://bugs.launchpad.net/bugs/370186
You received this bug notification because you are a member of Ubuntu
Sponsors for universe, which is a direct subscriber.



More information about the Ubuntu-universe-sponsors mailing list