added working ebuild

master
Avril 4 years ago
parent 83211ae59c
commit 12976b9b15
Signed by: flanchan
GPG Key ID: 966FE03CC0E0B199

@ -0,0 +1,92 @@
# 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="homepage field in Cargo.toml inaccessible to cargo metadata"
SRC_URI="$(cargo_crate_uris ${CRATES} leanify-many-1.0.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"
DEPEND=""
RDEPEND=""
src_compile() {
cargo_src_compile --no-default-features $(usex splash "--features splash" "") $(usex progress "--features progress" "") $(usex colour "--features colour" "") $(usex threads "--features threads" "") $(usex checked_pass "--features checked_pass" "")
}

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>flanchan@cumallover.me</email>
<name>Avril</name>
</maintainer>
<use>
<flag name="splash">Show splash-screen</flag>
<flag name="colour">Enable coloured output</flag>
<flag name="progress">Enable progress bar</flag>
<flag name="threads">Enable threaded scheduler (this is not ususally desireable)</flag>
<flag name="checked_pass">Check the arguments passed with `--passthrough` to leanify. By default they are passed as is</flag>
</use>
</pkgmetadata>
Loading…
Cancel
Save