[Pkg-javascript-devel] Bug#994544: Bug#994544: Bug#994544: Bug#994544: npm2deb: nodejs:any for arch:all package

Jonas Smedegaard jonas at jones.dk
Sat Sep 18 00:15:37 BST 2021


Quoting Bastien ROUCARIES (2021-09-17 21:30:16)
> Le ven. 17 sept. 2021 à 16:06, Yadd <yadd at debian.org> a écrit :
> >
> > Le 17/09/2021 à 16:36, Bastien Roucariès a écrit :
> > > In order to help cross build nodejs depends should be nodejs:any 
> > > for purejs module in depends field.
> > >
> > > In build-depends field we should use nodejs:native in order to 
> > > help crossbuilt
> > you should clone this and reassign to pkg-js-tools (build depends on 
> > nodejs).
> > npm2deb should not set a run dependency to nodejs except if there is 
> > a /usr/bin file
> Not sure perl set perl:any on every package.
> 
> It is sensible to do so

It is *not* sensible for Node.js packages to depend on nodejs, 
regardless of what is done in perl packages:

Package relations are directional, and libraries do not depend on their 
interpreter, it is the other way around: Scripts or other libraries 
loading a library (through their interpreter) depend on that library.


 - 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/20210918/3d04db24/attachment.sig>


More information about the Pkg-javascript-devel mailing list