Install this version:
emerge -a =dev-util/riffdiff-3.6.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-util/riffdiff-3.6.2
Or alternatively:
emerge --autounmask-write -a =dev-util/riffdiff-3.6.2
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.6.2 | 8 | ~amd64 | 0 |
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
"
RUST_MIN_VER="1.87.0"
inherit cargo optfeature
# last update of Cargo.lock
CRATES_PV="3.6.2"
DESCRIPTION="Diff filter highlighting changed line parts"
HOMEPAGE="https://github.com/walles/riff/"
SRC_URI="https://github.com/walles/riff/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://raw.githubusercontent.com/PPN-SD/vendor/refs/tags/${PN}-${CRATES_PV}/${PN}-${CRATES_PV}-crates.tar.xz"
S="${WORKDIR}/${P/diff/}"
LICENSE="MIT"
# Autogenerated by pycargoebuild
# Dependent crate licenses
LICENSE+=" Apache-2.0 BSD-2 MIT Unicode-3.0 Unicode-DFS-2016"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="sys-apps/diffutils"
QA_FLAGS_IGNORED="usr/bin/riff"
src_prepare() {
default
sed -i -e '/^lto =/d' Cargo.toml || die
}
src_install() {
cargo_src_install
dodoc README.md
}
pkg_postinst() {
optfeature "a nice pager with extra rendering" sys-apps/moor
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | riffdiff-3.6.2-crates.tar.xz | 13323176 bytes | https://raw.githubusercontent.com/PPN-SD/vendor/refs/tags/riffdiff-3.6.2/riffdiff-3.6.2-crates.tar.xz |
| DIST | riffdiff-3.6.2.tar.gz | 2201000 bytes | https://github.com/walles/riff/archive/refs/tags/3.6.2.tar.gz |