[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dependency question



On Fri, May 12, 2000 at 01:40:26PM +0200, Tom Cato Amundsen wrote:
> I am programming and packaging solfege,a python program for GNOME (in
> incoming rsn).
> 
> Currently is depends on python-gnome (>=1.0.50) and python-gtk (0.6.6),
> since this versions worked just fine some weeks (months???) ago.
> 
> Should I keep the Depends: line as short as possible, and only depend
> on python-gnome, since is it depends on python-gtk? This seems ok to
> me so I'll to it if nobody objects.

Don't worry about keeping the Depends: line short.  You should Depend:
upon everything you *explicitly* use and nothing you *implicitly*
use.  So if your dependency on python-gtk is because you use
python-gtk in your package, keep it in, but if it's because you use
python-gnome and that happens to depend upon python-gtk, then leave it
out.  It makes it clearer what you are doing.

(Why is this?  Let's say python-gtk gets replaced by python-gtk2 or
something like that.  If your package explicitly uses python-gtk,
you'll really need to be aware of such changes.  If not, you don't
really care, as long as python-gnome has the correct dependencies.)

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
        Debian GNU/Linux Developer,  see http://www.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/



Reply to: