Bug#1015998: boost1.74: shlibs don't generate *-py310 dependencies with Python 3.10

2022-08-04 Thread Andreas Beckmann

On Mon, 25 Jul 2022 03:15:15 +0300 Adrian Bunk  wrote:

Source: boost1.74
Version: 1.74.0-16.1



sed -i -r 's/^(libboost_python([0-9]{2}) \S+ (\S+).*)$$/\1, \3-py\2/' 
debian/libboost-python$(SOVERSION)/DEBIAN/shlibs

...


These {2} should be {3} to work with Python 3.10.


Or probably just '+' to catch all digit counts.
Can't test this right now due to #1016321.

After this got fixed, the rdepends need to be binNMUed:

antimony: antimony
boost1.74: libboost-mpi-python1.74-dev
   libboost-numpy1.74-dev
   libboost-python1.74-dev
calamares: calamares
casacore: libcasa-python3-6 [amd64 arm64 armel armhf i386 mipsel ppc64el s390x]
  libcasa-python3-7 [amd64 arm64 armel armhf i386 mipsel ppc64el s390x]
cctbx: libcctbx0 [amd64 arm64 armel armhf i386 ppc64el s390x]
   python3-cctbx [amd64 arm64 armel armhf i386 ppc64el s390x]
cegui-mk2: python3-libcegui-mk2-0.8.7
ceph: ceph-mgr
ecflow: python3-ecflow
enki-aseba: python3-enki2 [amd64 arm64 i386 mips64el mipsel ppc64el s390x]
esys-particle: esys-particle
freeorion: freeorion
gfal2-bindings: python3-gfal2
glom: glom
  libglom-1.30-0
imath: python3-imath
kig: kig
ledger: ledger
python3-ledger
librcsb-core-wrapper: python3-corepywrap
libtorrent-rasterbar: python3-libtorrent
libvigraimpex: python3-vigra
linuxcnc: linuxcnc-uspace [amd64 arm64 i386 mips64el mipsel ppc64el s390x]
minieigen: python3-minieigen
openstructure: libost-gui2.3 [amd64]
   python3-ost [amd64]
openvdb: python3-openvdb
promod3: python3-promod3 [amd64]
py3exiv2: python3-py3exiv2
pybdsf: python3-bdsf
pycuda/contrib: python3-pycuda [amd64 arm64 ppc64el]
pygattlib: python3-gattlib
pyobjcryst: python3-pyobjcryst [amd64]
pytango: python3-tango
python-casacore: python3-casacore [amd64 arm64 armel armhf i386 mipsel ppc64el 
s390x]
python-demgengeo: python3-gengeo
python-escript: python3-escript [amd64 arm64 armel armhf i386 mipsel ppc64el 
s390x]
python3-escript-mpi [amd64 arm64 armel armhf i386 mipsel 
ppc64el s390x]
python-freecontact: python3-freecontact [amd64 arm64 armhf i386 mips64el mipsel 
ppc64el s390x]
python-mapnik: python3-mapnik
python-pgmagick: python3-pgmagick
pythonmagick: python3-pythonmagick
rdkit: librdkit1
   python3-rdkit
ros-image-common: python3-camera-calibration-parsers
ros-vision-opencv: python3-cv-bridge
tagpy: python3-tagpy
yade: libyade [amd64 arm64 i386 ppc64el s390x]


Andreas



Bug#1015998: boost1.74: shlibs don't generate *-py310 dependencies with Python 3.10

2022-07-24 Thread Adrian Bunk
Source: boost1.74
Version: 1.74.0-16.1
Severity: serious

override_dh_makeshlibs:
dh_makeshlibs -plibboost-regex$(SOVERSION) -V '$(regexicuabi)'
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
ifeq ($(BUILD_NUMPY), yes)
sed -i -r 's/^(libboost_numpy([0-9]{2}) \S+ (\S+).*)$$/\1, \3-py\2/' 
debian/libboost-numpy$(SOVERSION)/DEBIAN/shlibs
endif


These {2} should be {3} to work with Python 3.10.