[Pkg-javascript-devel] Time to switch to "Build-Depends-Indep" ?

Jonas Smedegaard jonas at jones.dk
Sat Mar 21 17:36:55 GMT 2020


Quoting Xavier (2020-03-21 18:22:37)
> currently we use Build-Depends to push all our dependencies. This 
> makes Multi-Arch reports a lot of problems while most of our packages 
> are scripts only.
> 
> As other languages, I think we should use Build-Depends-Indep for all 
> Javascript dependencies. Example:
> 
>   Build-Depends: debhelper-compat (= 12)
>   Build-Depends-Indep: pkg-js-tools (>= 0.9.20~)
>    , node-tap <!nocheck>
>    , ...
> 
> But perhaps am I wrong here ?
> Experimented DD advises are welcome ;-)

(I think you mean _experienced_ in last sentence above ;-) )

As I understand it, B-D-Indep should be used _only_ when a source 
package builds _both_ architecture-dependent and 
architecture-independent binary packages, and is then used to indicate 
which build-deoendencies can be skipped when only building the 
arch-independent parts.

In other words, not "for all Javascript dependencies" (if I understand 
it correctly).


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20200321/cc92fbb6/attachment.sig>


More information about the Pkg-javascript-devel mailing list