mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
app-misc/pastel: update 9999
Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
@@ -1,8 +1,12 @@
|
|||||||
# Copyright 2025 Gentoo Authors
|
# Copyright 2026 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
|
CRATES=" "
|
||||||
|
|
||||||
|
RUST_MIN_VER="1.83.0"
|
||||||
|
|
||||||
inherit cargo shell-completion
|
inherit cargo shell-completion
|
||||||
|
|
||||||
DESCRIPTION="A command-line tool to generate, analyze, convert and manipulate colors"
|
DESCRIPTION="A command-line tool to generate, analyze, convert and manipulate colors"
|
||||||
@@ -10,7 +14,7 @@ HOMEPAGE="https://github.com/sharkdp/pastel"
|
|||||||
|
|
||||||
LICENSE="Apache-2.0 MIT"
|
LICENSE="Apache-2.0 MIT"
|
||||||
# Dependent crate licenses
|
# Dependent crate licenses
|
||||||
LICENSE+=" Apache-2.0 MIT Unicode-DFS-2016"
|
LICENSE+=" Apache-2.0 MIT Unicode-3.0"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
if [[ ${PV} == *9999* ]]; then
|
if [[ ${PV} == *9999* ]]; then
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
@@ -18,8 +22,9 @@ if [[ ${PV} == *9999* ]]; then
|
|||||||
else
|
else
|
||||||
SRC_URI="
|
SRC_URI="
|
||||||
https://github.com/sharkdp/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
https://github.com/sharkdp/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||||
${CARGO_CRATE_URIS}
|
https://codeberg.org/ceres-sees-all/guru-distfiles/releases/download/${P}-deps.tar.xz/${P}-deps.tar.xz
|
||||||
"
|
"
|
||||||
|
ECARGO_VENDOR="${WORKDIR}/vendor"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -27,7 +32,7 @@ src_unpack() {
|
|||||||
if [[ "${PV}" == *9999* ]]; then
|
if [[ "${PV}" == *9999* ]]; then
|
||||||
git-r3_src_unpack
|
git-r3_src_unpack
|
||||||
cargo_live_src_unpack
|
cargo_live_src_unpack
|
||||||
else
|
else
|
||||||
cargo_src_unpack
|
cargo_src_unpack
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user