From 7a1c1d3e81a2b05cbc258edc0087cc9e1373c453 Mon Sep 17 00:00:00 2001 From: Flan's server Date: Wed, 12 Aug 2020 17:39:13 +0000 Subject: [PATCH] update ebuild --- other/leanify-many/leanify-many-1.1.0.ebuild | 100 +++++++++++++++++++ other/leanify-many/metadata.xml | 1 + 2 files changed, 101 insertions(+) create mode 100644 other/leanify-many/leanify-many-1.1.0.ebuild diff --git a/other/leanify-many/leanify-many-1.1.0.ebuild b/other/leanify-many/leanify-many-1.1.0.ebuild new file mode 100644 index 0000000..9d5d931 --- /dev/null +++ b/other/leanify-many/leanify-many-1.1.0.ebuild @@ -0,0 +1,100 @@ +# Copyright 2017-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Auto-Generated by cargo-ebuild 0.3.1 + +EAPI=7 + +CRATES=" +arc-swap-0.4.7 +atty-0.2.14 +bitflags-1.2.1 +bytes-0.5.6 +cfg-if-0.1.10 +fnv-1.0.7 +fuchsia-zircon-0.3.3 +fuchsia-zircon-sys-0.3.3 +futures-0.3.5 +futures-channel-0.3.5 +futures-core-0.3.5 +futures-executor-0.3.5 +futures-io-0.3.5 +futures-macro-0.3.5 +futures-sink-0.3.5 +futures-task-0.3.5 +futures-util-0.3.5 +hermit-abi-0.1.15 +iovec-0.1.4 +kernel32-sys-0.2.2 +lazy_static-1.4.0 +libc-0.2.74 +log-0.4.11 +memchr-2.3.3 +mio-0.6.22 +mio-named-pipes-0.1.7 +mio-uds-0.6.8 +miow-0.2.1 +miow-0.3.5 +net2-0.2.34 +num_cpus-1.13.0 +once_cell-1.4.0 +pin-project-0.4.23 +pin-project-internal-0.4.23 +pin-project-lite-0.1.7 +pin-utils-0.1.0 +proc-macro-hack-0.5.18 +proc-macro-nested-0.1.6 +proc-macro2-1.0.19 +quote-1.0.7 +recolored-1.9.3 +redox_syscall-0.1.57 +rustc_version-0.2.3 +semver-0.9.0 +semver-parser-0.7.0 +signal-hook-registry-1.2.1 +slab-0.4.2 +socket2-0.3.12 +syn-1.0.38 +terminal_size-0.1.13 +termprogress-0.3.4 +tokio-0.2.22 +tokio-macros-0.2.5 +unicode-xid-0.2.1 +winapi-0.2.8 +winapi-0.3.9 +winapi-build-0.1.1 +winapi-i686-pc-windows-gnu-0.4.0 +winapi-x86_64-pc-windows-gnu-0.4.0 +ws2_32-sys-0.2.1 +" + +inherit cargo + +DESCRIPTION="spawn leanify subprocesses" +# Double check the homepage as the cargo_metadata crate +# does not provide this value so instead repository is used +HOMEPAGE="https://git.flanchan.moe/flanchan/leanify-many" +SRC_URI="$(cargo_crate_uris ${CRATES} leanify-many-1.1.0)" +RESTRICT="mirror" +# License set may be more restrictive as OR is not respected +# use cargo-license for a more accurate license picture +LICENSE="GPL3+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+splash +progress +colour threads checked_pass +collect_err" + +DEPEND="" +RDEPEND="" + +src_compile() { + features="--no-default-features" + + use splash && features+="--features splash " + use progress && features+="--features progress " + use colour && features+="--features colour " + use threads && features+="--features threads " + use checked_pass && features+="--features checked_pass " + use collect_err && features+="--features collect_err " + + cargo_src_compile $(features) +} diff --git a/other/leanify-many/metadata.xml b/other/leanify-many/metadata.xml index 42ad9d0..b7b1ab0 100644 --- a/other/leanify-many/metadata.xml +++ b/other/leanify-many/metadata.xml @@ -11,5 +11,6 @@ Enable progress bar Enable threaded scheduler (this is not ususally desireable) Check the arguments passed with `--passthrough` to leanify. By default they are passed as is + Collect the output of children's stderr instead of printing immediately (turning this off can cause weird bugs)