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

Mattia Rizzolo mattia at debian.org
Tue Mar 24 17:29:54 GMT 2020


On Sat, Mar 21, 2020 at 06:22:37PM +0100, Xavier wrote:
> 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.

I don't think that's any relevance with multi-arch.

> 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~)

(note that I think you'll need pkg-js-tools in B-D too, as that provides
debhelper addons that are needed also during the clean target)

>    , node-tap <!nocheck>
>    , ...
> 
> But perhaps am I wrong here ?

Personally, I think moving most of that stuff to B-D-I indeed makes
sense and you should move in that direction.  It doesn't help with much
with source packages building only arch-indep binaries, but it helps
making things a bit more clear.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
More about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20200324/f7db00c3/attachment.sig>


More information about the Pkg-javascript-devel mailing list