Hi,
On Mon, May 17, 2010 at 02:52:53PM +0200, Sune Vuorela wrote:
> Package: python-avogadro
> Version: 1.0.1-2
> Severity: serious
> Justification: uninstallable
>
> apparantly, python2.5-sip4 isn't provided by anything any longer, and
> this makes python-avogadro uninstallable.
>
> The dependency on python2.5-sip4 is picked up by som trickery in
> debian/rules.
>
> there is python2.5-sip now, provided by python-sip, and tehre is also a
> dh_sip tool to help getting sip dependencies right.
With the attached patch, I get this Depends line:
Depends: python (<< 2.6), python (>= 2.5), python-central (>= 0.6.11),
libavogadro1, libboost-python1.42.0 (>= 1.42.0-1), libc6 (>= 2.2),
libgcc1 (>= 1:4.1.1), libqt4-opengl (>= 4:4.5.3), libqtcore4 (>=
4:4.6.1), libqtgui4 (>= 4:4.5.3), libstdc++6 (>= 4.4.0), python2.5 (>=
2.5), python2.5-numpy, python2.5-qt4, python2.5-sip, sip-api-7.1
Does this sound fine?
Michael
Index: changelog
===================================================================
--- changelog (Revision 2458)
+++ changelog (Arbeitskopie)
@@ -6,6 +6,11 @@
debian/avogadro.1: Dropped in favour of upstream manual pages.
* debian/libavogadro-dev.install: Install .prf file for QMake projects.
+ [ Michael Banck ]
+ * debian/rules (binary-install/python-avogadro): Added dh_sip.
+ * debian/rules (DEB_DH_GENCONTROL_ARGS_python-avogadro): Replace
+ python$(PYVER)-sip4, by python$(PYVER)-sip (Closes: #581972).
+
-- Michael Banck <[email protected]> Fri, 07 May 2010 15:53:55 +0200
avogadro (1.0.1-2) unstable; urgency=low
Index: control
===================================================================
--- control (Revision 2458)
+++ control (Arbeitskopie)
@@ -82,7 +82,7 @@
Architecture: any
Section: python
Priority: extra
-Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}, ${pyavo:Depends}
+Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}, ${pyavo:Depends}, ${sip:Depends}
Replaces: libavogadro0 (<< 0.9.8)
Conflicts: libavogadro0 (<< 0.9.8)
Provides: ${python:Provides}
Index: rules
===================================================================
--- rules (Revision 2458)
+++ rules (Arbeitskopie)
@@ -17,10 +17,11 @@
DEB_CMAKE_EXTRA_FLAGS = -DENABLE_GLSL=ON -DENABLE_RPATH=OFF -DENABLE_UPDATE_CHECKER=OFF -DPYTHON_EXECUTABLE=/usr/bin/python -DPYTHON_LIBRARY=/usr/lib/lib$(shell pyversions -d).so -DPYTHON_INCLUDE_DIR=/usr/include/$(shell pyversions -d)/
PYVER = $(shell pyversions -dv)
-DEB_DH_GENCONTROL_ARGS_python-avogadro = -- -V'pyavo:Depends=python$(PYVER)-numpy, python$(PYVER)-qt4, python$(PYVER)-sip4'
+DEB_DH_GENCONTROL_ARGS_python-avogadro = -- -V'pyavo:Depends=python$(PYVER)-numpy, python$(PYVER)-qt4, python$(PYVER)-sip'
binary-install/python-avogadro::
dh_pycentral -ppython-avogadro
+ dh_sip
common-binary-post-install-arch:: list-missing