On Fri, May 06, 2011 at 05:32:23PM +0200, Jakub Wilk wrote:
> Source: quodlibet
> Version: 2.2.99-1
> Severity: serious
> Justification: Policy 3.5
> Tags: patch
> 
> quodlibet-ext contains Python extensions module, so it should have
> versioned dependency on python (it currently has none). There *is* a
> quodlibet-ext -> quodlibet -> exfalso -> python dependency chain.
> However, quotlibet-ext is arch:any and exfalso is arch:all, so
> there's actually no guarantee that both of the packages were built
> having the same set of supported Python versions. E.g., after the
> recent binNMU, it looks like this:

I've just recently been preparing an update of quodlibet to 2.3. That
attempt on packaging for 2.3 has gotten rid of the quodlibet-ext package
(the extension module) completely, so I guess part of the patch is no
longer necessary.  I'm not sure about the second patch, that part of the
makefile *might* be ripe for removal too, I'll have to experiment and
check with Christine.

BTW: to add up to my reading material, what is meant by "policy 3.5" in
the "justification"? Is that debian policy v3.5, debian policy section
3.5 or python policy version/section?

Thanks for spotting the issue! Will do what I can to resolve it,
Ondra

> 
> The attached patch should fix this bug.

> diff -Nru quodlibet-2.2.99/debian/control quodlibet-2.2.99/debian/control
> --- quodlibet-2.2.99/debian/control   2011-03-17 20:16:20.000000000 +0100
> +++ quodlibet-2.2.99/debian/control   2011-05-06 13:20:55.000000000 +0200
> @@ -50,7 +50,7 @@
>  Package: quodlibet-ext
>  Architecture: any
>  Priority: extra
> -Depends: ${shlibs:Depends}, ${misc:Depends}, quodlibet (= ${source:Version}),
> +Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, quodlibet (= 
> ${source:Version}),
>      quodlibet-plugins (>= 20090127-2)
>  Description: extensions for the Quod Libet audio player
>   This package contains architecture-dependent extensions to Quod
> diff -Nru quodlibet-2.2.99/debian/rules quodlibet-2.2.99/debian/rules
> --- quodlibet-2.2.99/debian/rules     2011-03-17 20:16:20.000000000 +0100
> +++ quodlibet-2.2.99/debian/rules     2011-05-06 14:19:04.000000000 +0200
> @@ -3,7 +3,5 @@
>       dh $@
>  
>  override_dh_pysupport:
> +     cd debian/exfalso/ && rm $(shell cat debian/quodlibet-ext.install)
>       dh_pysupport
> -     # kill all the architecture-dependent files in the exfalso package,
> -     # what's left after pysupport has moved arch-indep files elsewhere
> -     rm -rf debian/exfalso/usr/lib

Attachment: signature.asc
Description: Digital signature

Reply via email to