Source: boost1.67,boost1.71
Version: 1.67.0-13
Severity: important
Tags: patch

Hi,

as a followup to #911625, which was implemented in 1.67.0-12:
  * Expose supported Python version as virtual packages, so that reverse
    dependencies can depend on the right package (closes: #911625).
we need to adjust the shlibs files s.t. they automatically add
dependencies on these virtual packages.

The attached patch was tested against 1.67.0-13 (buster, testing), but
should work for sid and 1.71, too.

This will make it possible to remove supported python versions (and the
corrresponding shared libraries) without silently breaking rdepends.


Andreas
diff -Nru boost1.67-1.67.0/debian/rules boost1.67-1.67.0/debian/rules
--- boost1.67-1.67.0/debian/rules       2019-02-04 15:24:57.000000000 +0100
+++ boost1.67-1.67.0/debian/rules       2020-01-06 02:28:46.000000000 +0100
@@ -407,6 +407,9 @@
 override_dh_makeshlibs:
        dh_makeshlibs -plibboost-regex1.67.0 -V 'libboost-regex1.67.0 (>= 
1.67.0-10)'
        dh_makeshlibs --remaining-packages
+       sed -i -r 's/^(libboost_python([0-9]{2}) \S+ (\S+).*)$$/\1, \3-py\2/' 
debian/libboost-python$(SOVERSION)/DEBIAN/shlibs
+       sed -i -r 's/^(libboost_mpi_python([0-9]{2}) \S+ (\S+).*)$$/\1, 
\3-py\2/' debian/libboost-mpi-python$(SOVERSION)/DEBIAN/shlibs
+       sed -i -r 's/^(libboost_numpy([0-9]{2}) \S+ (\S+).*)$$/\1, \3-py\2/' 
debian/libboost-numpy$(SOVERSION)/DEBIAN/shlibs
 
 $(bjam):
        ./bootstrap.sh --with-icu=/usr --prefix=$(CURDIR)/debian/tmp/usr \

Reply via email to