You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

95 lines
2.0 KiB

# Copyright 2017-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Auto-Generated by cargo-ebuild 0.3.1
EAPI=7
CRATES="
addr2line-0.17.0
adler-1.0.2
ansi_term-0.12.1
atty-0.2.14
autocfg-1.1.0
backtrace-0.3.64
bitflags-1.3.2
bytes-1.1.0
cc-1.0.73
cfg-if-1.0.0
color-eyre-0.6.1
color-spantrace-0.2.0
eyre-0.6.8
fs_extra-1.2.0
gimli-0.26.1
hermit-abi-0.1.19
indenter-0.3.3
jemalloc-sys-0.3.2
jemallocator-0.3.2
lazy_format-1.10.0
lazy_static-1.4.0
libc-0.2.122
log-0.4.16
matchers-0.1.0
memchr-2.4.1
miniz_oxide-0.4.4
object-0.27.1
once_cell-1.10.0
owo-colors-3.3.0
pin-project-lite-0.2.8
proc-macro2-1.0.37
quote-1.0.17
recolored-1.9.3
regex-1.5.5
regex-automata-0.1.10
regex-syntax-0.6.25
rustc-demangle-0.1.21
sharded-slab-0.1.4
smallvec-1.8.0
syn-1.0.91
thread_local-1.1.4
tracing-0.1.33
tracing-attributes-0.1.20
tracing-core-0.1.24
tracing-error-0.2.0
tracing-log-0.1.2
tracing-subscriber-0.3.11
unicode-xid-0.2.2
valuable-0.1.0
winapi-0.3.9
winapi-i686-pc-windows-gnu-0.4.0
winapi-x86_64-pc-windows-gnu-0.4.0
"
inherit cargo
DESCRIPTION="collect all of stdin until it is closed, then output it all to stdout"
# Double check the homepage as the cargo_metadata crate
# does not provide this value so instead repository is used
HOMEPAGE="https://github.com/notflan/collect"
SRC_URI="$(cargo_crate_uris ${CRATES}) https://github.com/notflan/${PN}/releases/download/v${PV}/${P}.crate"
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="+mode_memfile mode_buffered memfile memfile_preallocate jemalloc disable-logging logging bytes"
DEPEND=""
RDEPEND=""
src_configure() {
local myfeatures=(
$(usex mode_memfile mode-memfile "")
$(usex mode_buffered mode-buffered "")
$(usev memfile)
$(usex memfile_preallocate memfile-preallocate "")
$(usev jemalloc)
$(usev bytes)
$(usev disable-logging)
$(usev logging)
)
cargo_src_configure --no-default-features
}