[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-tech-pkg
Subject: Re: rust crates in packages
From: Benny Siegert <bsiegert () gmail ! com>
Date: 2020-04-28 13:41:10
Message-ID: CAN+FjHM2XyPKAtU0_7t1qMi+17FuV6esviJwaEe1OEETTYNqcA () mail ! gmail ! com
[Download RAW message or body]
Yes please! Not having a project-specific DIST_SUBDIR is desirable. I
spent some time on this for Go modules.
On Tue, Apr 28, 2020 at 3:32 PM Nikita Gillmann <nikita@n0.is> wrote:
>
> Tobias Nygren transcribed 0.8K bytes:
> > On Tue, 28 Apr 2020 14:13:35 +0200
> > Nikita Gillmann <nikita@n0.is> wrote:
> >
> > > Hi,
> > >
> > > I am looking at some Rust packages I want to move from wip to pkgsrc
> > > soon, and it seems the way I do it sometimes (all the time?) is not
> > > really disk space friendly. The dependency crates could as well be
> > > thrown into the distfiles dir and not using project subdirs, as they all
> > > come from the same place.
> > >
> > > Any objections to this? (and maybe I should start documenting packaging
> > > rust packages eventually, some mk snippets left to be tested)
> >
> > Yes, we should do that. Although since packages tend to depend on
> > different versions of the crates the disk space savings may be less
> > than expected.
> > I think it would be nice to have them in a subdirectory rather
> > than directly in distfiles. Maybe ${DISTDIR}/crates.io/.
>
> ${DISTDIR}/crates/ would be good because (I might be wrong, haven't
> looked at Rust in some time) they could also come from other places even
> though right now we use crates.io?
>
> > -Tobias
--
Benny
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic