Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I would like to know the difference, and which one I should use.

The difference is that build_depend et al. are legal values, while build is not a legal value for an element in a package manifest.

Perhaps the author of the "different tutorials" you mention (please always link to what you mention, we cannot guess) intended to actually write depend, as that would be a legal value.

See REP-149: Package Manifest Format Three Specification - Dependency tags for allowed elements and what their purpose is.