[Pkg-libvirt-maintainers] Bug#628827: Bug#628827: gtk-vnc: FTBFS with Python 2.7: extension for python2.6 is missing

Guido Günther agx at sigxcpu.org
Tue Jun 28 09:04:33 UTC 2011


On Mon, Jun 27, 2011 at 09:12:55PM +0200, Stefano Rivera wrote:
> tag 628827 + patch
> thanks
> 
> > | E: dh_python2:151: extension for python2.6 is missing. Build extensions for all supported Python versions (`pyversions -vr`) or adjust X-Python-Version field or pass --no-guessing-versions to dh_python2
> 
> Here's a patch to do that, and while we are at it:
> * remove the unecessary build-dep on python-support
> * not hardcode a python version in X-P-V (revert back to >= 2.6)
> * remove the deprecated python:Breaks
> * remove the unnecessary python:Provides

Applied and pushed. Thanks a lot!
 -- Guido

> 
> SR
> 
> -- 
> Stefano Rivera
>   http://tumbleweed.org.za/
>   H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127

> diff -Nru gtk-vnc-0.4.3/debian/control gtk-vnc-0.4.3/debian/control
> --- gtk-vnc-0.4.3/debian/control	2011-06-27 20:20:15.000000000 +0200
> +++ gtk-vnc-0.4.3/debian/control	2011-06-27 20:57:46.000000000 +0200
> @@ -7,7 +7,6 @@
>  Standards-Version: 3.9.2
>  Build-Depends:
>   debhelper (>= 7.0.50~),
> - python-support,
>   python-dev,
>   libgnutls-dev (>= 1.4.0),
>   libcairo2-dev,
> @@ -23,7 +22,7 @@
>  # GTK3 build
>   libgtk-3-dev,
>  Build-Conflicts: libffi4-dev
> -X-Python-Version: 2.6
> +X-Python-Version: >= 2.5
>  Vcs-Git: git://git.debian.org/git/pkg-libvirt/gtk-vnc.git
>  Vcs-Browser: http://git.debian.org/?p=pkg-libvirt/gtk-vnc.git
>  
> @@ -190,8 +189,6 @@
>  Section: python
>  Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
>   python-gtk2 (>= 2.0)
> -Provides: ${python:Provides}
> -Breaks: ${python:Breaks}
>  Description: VNC viewer widget for GTK+2 (Python binding)
>   It is built using coroutines, allowing it to be completely asynchronous while
>   remaining single threaded. It supports RFB protocols 3.3 through 3.8 and the
> diff -Nru gtk-vnc-0.4.3/debian/rules gtk-vnc-0.4.3/debian/rules
> --- gtk-vnc-0.4.3/debian/rules	2011-06-27 20:20:15.000000000 +0200
> +++ gtk-vnc-0.4.3/debian/rules	2011-06-27 21:02:26.000000000 +0200
> @@ -38,6 +38,9 @@
>  	dh_strip -plibgtk-vnc-2.0-0 --dbg-package=libgtk-vnc-2.0-0-dbg
>  	dh_strip -pgvncviewer -ppython-gtk-vnc
>  
> +override_dh_python2:
> +	dh_python2 --no-guessing-versions
> +
>  dh_makeshlibs:
>  	dh_makeshlibs -plibgtk-vnc-1.0-0 -V 'libgtk-vnc-1.0-0 (>= 0.3.9)'
>  	dh_makeshlibs -pmozila-gtk-vnc --noscripts -X /plugins/

> _______________________________________________
> Pkg-libvirt-maintainers mailing list
> Pkg-libvirt-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-libvirt-maintainers






More information about the Pkg-libvirt-maintainers mailing list