Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unexpected Depends: both python-central and python-support

0 views
Skip to first unread message

Ben Finney

unread,
Jun 15, 2008, 9:40:06 PM6/15/08
to
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-pyt...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Raphael Hertzog

unread,
Jun 16, 2008, 3:00:27 AM6/16/08
to
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/

0 new messages