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

Re: Naming standalone module/program



On Thu, Nov 01, 2001 at 11:38:57AM +1100, Donovan Baarda wrote:
> Note that additionaly all packages that depend on plucker _and_ python must 
> use "Depends: plucker, python2.1" and _not_ "Depends: plucker, python (>= 2.1), 
> python (<<2.2)". 

Uh, no, they should *not* do that. Consider what happens when we move
to python2.2 (or 2.3 or whatever) and plucker starts only working with
python2.3 (apt will dist-upgrade to the new plucker, old scripts will keep
referring to python2.1 and plucker, and since plucker only works on 2.2,
they'll all break).

Either Depend: on "python, plucker" (with versions as appropriate) and
use #!/usr/bin/python (or /usr/bin/env python) or Depend: on "pythonX.Y,
pluckerX.Y" and use #!/usr/bin/pythonX.Y. The latter is probably not a
useful thing to do in general.

Cheers,
aj

-- 
Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG signed mail preferred.

 "Security here. Yes, maam. Yes. Groucho glasses. Yes, we're on it.
   C'mon, guys. Somebody gave an aardvark a nose-cut: somebody who
    can't deal with deconstructionist humor. Code Blue."
		-- Mike Hoye,
		      see http://azure.humbug.org.au/~aj/armadillos.txt

Attachment: pgpGCdJ3bvj61.pgp
Description: PGP signature


Reply to: