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

Re: CDBS class for OCaml related packages



On Thu, Sep 14, 2006 at 03:45:24PM +0200, Sven Luther wrote:
> > Have you any concrete usage scenario in which it can be useful?
> It should be used to automatically set the set of Architectures of native
> arches in the control file, as well as used in addition or instead of the
> actual .opt detection we do now, altough this second feature is maybe not all
> that important.

Got it, an example we already have is the ocaml package itself. Another
more hypothetical example is a package that has a relationship with
another package which is available only on native architectures (using
[] dependencies).

So the idea is to have a @OCamlNativeArchs@ in debian/control.in,
automatically filled by CDBS when DEB_AUTO_UPDATE_DEBIAN_CONTROL is set
(that variable is already provided by CDBS and used for other
substitutions).

I like it, but implementing it is not easy due to the non-extensible way
of filling debian/control.in actually implemented in CDBS.

I followed up to #387299 asking CDBS maintainers what they think of an
extensible way to fill debian/control.in ...

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-

Attachment: signature.asc
Description: Digital signature


Reply to: