OCaml Forge

Detail: [#702] Infer value of the global field BuildDepends

Feature Requests: Browse | Download .csv | Monitor

[#702] Infer value of the global field BuildDepends

Date:
2010-07-27 15:37
Priority:
3
State:
Open
Submitted by:
Dawid Toton (toton)
Assigned to:
Sylvain Le Gall (gildor-admin)
Resolution:
None
Due in version:
None
Product:
OASIS
Component:
OASIS
Operating System:
None
 
Summary:
Infer value of the global field BuildDepends

Detailed description
Since each section has to declare its own BuildDepends, I don't see what is the purpose of the global field BuildDepends.

The answer for the question "what is needed for the whole package to be build" could be computed looking at individual sections.

Followup

Message
Date: 2010-07-27 16:11
Sender: Sylvain Le Gall

OK, I will rephrase the help of the toplevel BuildDepends field.
Date: 2010-07-27 16:04
Sender: Dawid Toton

I see. The documentation doesn't say that the general BuildDepends is anyhow related to the ones for sections.

So the sentence in the documentation:
"are appended to all sections and not used directly in the package"
is not quite correct and started to make sense for me only after you have explained the thing here.

It should be not "appended to sections" but "combined with the corresponding fields in each section", which is really different.
Date: 2010-07-27 15:52
Sender: Sylvain Le Gall

No, you can define a general BuildDepends for the whole package.

In the section, you can either extend the general definition:
BuildDepends+: ounit

or replace it
BuildDepends: ounit

You just have to use '+:' to extend the definition (or ':' to replace it).

Does it answer your question?

Attached Files:

Changes:

Field Old Value Date By
assigned_tonone2010-07-27 15:52gildor-admin