Unexpected Depends: both python-central and python-support

View: New views
2 Messages — Rating Filter:   Alert me  

Unexpected Depends: both python-central and python-support

by Ben Finney :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Howdy all,

I recently packaged 'python-minimock', using debhelper 7 and
python-central.

    <URL:http://ftp.de.debian.org/debian/pool/main/p/python-minimock/python-minimock_0.8-2.dsc>

The Depends from the control file are:

    Build-Depends: debhelper (>= 7.0.8),
        python-central (>= 0.6.7),
        python-all-dev (>= 2.3.5-11)

    …
    Depends: ${misc:Depends}, ${python:Depends}

The resulting binary package, though, has pulled in a dependency on
python-support:

    Depends: python, python-central (>= 0.6.7), python-support (>= 0.7.1)

What's causing this, and how can I fix it so it doesn't have this
unexpected extra dependency?

--
 \     "Ours is a world where people don't know what they want and are |
  `\    willing to go through hell to get it."  -- Donald Robert Perry |
_o__)                                                          Marquis |
Ben Finney


--
To UNSUBSCRIBE, email to debian-python-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Unexpected Depends: both python-central and python-support

by Raphael Hertzog-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 16 Jun 2008, Ben Finney wrote:
> What's causing this, and how can I fix it so it doesn't have this
> unexpected extra dependency?

It's because dh (from debhelper 7) will use dh_pysupport by default
if it's available.

Just use what debhelper uses by default or make sure to skip
that script by using appropriate dh --before pysupport
and dh --after pysupport invocation to skip dh_pysupport (until Joey
decides to implement a --skip option in debhelper at least).

Check the output of "dh binary-arch --no-act" to verify it by yourself.

Cheers,
--
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/


--
To UNSUBSCRIBE, email to debian-python-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...

LightInTheBox - Buy quality products at wholesale price