Created
May 23, 2012 18:46
-
-
Save springmeyer/2777019 to your computer and use it in GitHub Desktop.
patch boost 1.49 quantal debian scripts to work on lucid (dh_python2 -> pysupport)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/debian/control b/debian/control | |
index 566426c..9bc8571 100644 | |
--- a/debian/control | |
+++ b/debian/control | |
@@ -8,9 +8,11 @@ Uploaders: Steve M. Robbins <smr@debian.org>, Domenico Andreoli <cavok@debian.or | |
Build-Depends: debhelper (>= 8), | |
zlib1g-dev, libbz2-dev, libicu-dev, | |
bison, flex, docbook-to-man, help2man, xsltproc, doxygen, | |
- python, python-all-dev, | |
+ python-support (>= 0.6), python, python-all-dev, | |
python3, python3-all-dev (>= 3.1) | |
Build-Conflicts: libopenmpi-dev (= 1.3.2-2) | |
+X-Python-Version: >= 2.4 | |
+X-Python3-Version: >= 3.0 | |
Vcs-Browser: http://svn.debian.org/wsvn/pkg-boost/boost/trunk/ | |
Vcs-Svn: svn://svn.debian.org/svn/pkg-boost/boost/trunk | |
Standards-Version: 3.9.2 | |
@@ -433,9 +435,10 @@ Package: libboost-python1.49.0 | |
Homepage: http://www.boost.org/libs/python/ | |
Architecture: any | |
Section: python | |
-Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends} | |
-Suggests: python, python3 | |
-Breaks: ${python:Breaks} | |
+Depends: ${misc:Depends}, ${shlibs:Depends} | |
+#,${python:Depends} | |
+#Suggests: python, python3 | |
+#Breaks: ${python:Breaks} | |
Description: Boost.Python Library | |
This package forms part of the Boost C++ Libraries collection. | |
. | |
diff --git a/debian/patches/series b/debian/patches/series | |
index 641d112..80240f0 100644 | |
--- a/debian/patches/series | |
+++ b/debian/patches/series | |
@@ -3,3 +3,4 @@ endian.patch | |
boost-1.44-py3.1.patch | |
pythonid.patch | |
mpi-allocator-c++0x.patch | |
+debian-changes-1.49.0-2ubuntu2~lucid1 | |
diff --git a/debian/rules b/debian/rules | |
index 3b2d79e..bec6c30 100755 | |
--- a/debian/rules | |
+++ b/debian/rules | |
@@ -290,7 +290,7 @@ install: build clean-debhelper $(filtered_files) debian/bjam.1 | |
dh_install -plibboost-python$(PKGVERSION)-dev --autodest \ | |
debian/tmp/usr/share/python/runtime.d/libboost-python$(PKGVERSION)-dev.rtupdate | |
- cd libs/python/pyste/install && python setup.py install --no-compile --prefix=$(pyste_prefix) --install-lib=$(pyste_prefix)/share/pyshared | |
+ 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 | |
dh_installman -plibboost-python$(PKGVERSION)-dev debian/pyste.1 | |
@@ -311,8 +311,9 @@ binary-common: | |
dh_strip --dbg-package=libboost$(PKGVERSION)-dbg -X"-d-" | |
dh_link | |
dh_compress -Xlibboost$(PKGVERSION)-doc/HTML | |
- dh_python2 | |
- dh_python3 | |
+ #dh_python2 | |
+ #dh_python3 | |
+ dh_pysupport | |
dh_fixperms | |
@if [ "$(DH_OPTIONS)" = "-a" ]; then \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment