Re: [gentoo-dev] [PATCH 1/2] cargo.eclass: allow passing additional arguments to cargo

2019-01-06 Thread Ulrich Mueller
> 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 ""

Re: [gentoo-dev] [PATCH] cargo.eclass: allow passing additional arguments to cargo

2019-01-06 Thread Georgy Yakovlev
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

[gentoo-dev] [PATCH 2/2] cargo.eclass: add standard src_test

2019-01-06 Thread Georgy Yakovlev
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

[gentoo-dev] [PATCH 1/2] cargo.eclass: allow passing additional arguments to cargo

2019-01-06 Thread Georgy Yakovlev
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

[gentoo-dev] Automated Package Removal and Addition Tracker, for the week ending 2019-01-06 23:59 UTC

2019-01-06 Thread Robin H. Johnson
-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

Re: [gentoo-dev] [PATCH 02/12] python-utils-r1.eclass: New python_fix_shebang approach

2019-01-06 Thread James Le Cuirot
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

Re: [gentoo-dev] [PATCH 06/12] python-utils-r1.eclass: Don't die in python_fix_shebang if all fixed

2019-01-06 Thread James Le Cuirot
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ł