summaryrefslogtreecommitdiff
path: root/sys-process/rust-parallel/rust-parallel-1.23.0.ebuild
blob: e9fd65bf1608788fdeee665bc15b3e57eaedbf41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Autogenerated by pycargoebuild 0.15.1

EAPI=8

RUST_MIN_VER="1.85.0"

CRATES="
"

inherit cargo

DESCRIPTION="Fast command line app to run commands in parallel"
HOMEPAGE="https://github.com/aaronriekenberg/rust-parallel"

SRC_URI="
	https://github.com/aaronriekenberg/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/gentoo-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz
"

LICENSE="MIT"
# Dependent crate licenses
LICENSE+=" Apache-2.0 BSD MIT Unicode-DFS-2016"
SLOT="0"
KEYWORDS="~amd64"
IUSE="symlink"

RDEPEND="symlink? ( !sys-process/parallel )"

QA_FLAGS_IGNORED="usr/bin/${PN}"

src_install() {
	dobin $(cargo_target_dir)/rust-parallel

	if use symlink ; then
		dosym rust-parallel /usr/bin/parallel
	fi
}