> On Mon, 07 Jan 2019, Georgy Yakovlev wrote:
> cargo_src_compile() {
> debug-print-function ${FUNCNAME} "$@"
>
> export CARGO_HOME="${ECARGO_HOME}"
>
> - cargo build -j $(makeopts_jobs) $(usex debug "" --release) \
> + cargo build -j $(makeopts_jobs) $(usex debug ""
On Thursday, January 3, 2019 1:37:20 AM PST Sergei Trofimovich wrote:
> On Wed, 2 Jan 2019 13:58:26 -0800
>
> Georgy Yakovlev wrote:
> > +# @CODE
> > +# ECARGO_BUILD_FLAGS="$(usex pcre "--features pcre2" "")"
> > +# @CODE
>
> You may also want to provide user's hooks as well.
>
I have
But not set IUSE=test by default
Signed-off-by: Georgy Yakovlev
This is pretty straightforward change, just adds standard src_test for
cargo
---
eclass/cargo.eclass | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index
for example:
src_compile() {
cargo_src_compile $(usex pcre "--features pcre2" "")"
}
Signed-off-by: Georgy Yakovlev
---
Some packages just copy cargo_src_install and add custom arguments.
This change will allow just passing arguments to cargo_src_* instead.
eclass/cargo.eclass | 6
-util/bingrep 20190106-09:37 gyakovlevc8deb35e7d0
dev-util/packer 20190105-12:01 gyakovlev70311e8fba3
media-libs/libldac20190104-12:14 zx2c4830bdae60e3
media-sound/pulseaudio-modules-bt 20190104-13:01 zx2c4b25bccc8453
sys-apps
On Fri, 04 Jan 2019 07:02:40 +0100
Michał Górny wrote:
> On Thu, 2019-01-03 at 21:39 +, James Le Cuirot wrote:
> > The previous approach would erroneously match foopython. The new
> > approach requires the match to start the string or be preceeded by a
> > slash, the only two cases we
On Sat, 05 Jan 2019 22:42:27 +0100
Michał Górny wrote:
> On Sat, 2019-01-05 at 21:38 +, James Le Cuirot wrote:
> > On Fri, 04 Jan 2019 19:26:34 +0100
> > Michał Górny wrote:
> >
> > > On Fri, 2019-01-04 at 13:10 -0500, Mike Gilbert wrote:
> > > > On Fri, Jan 4, 2019 at 10:55 AM Michał