dev-util/riffdiff - 3.6.1 (guru)

Search

Install

Install this version:

emerge -a =dev-util/riffdiff-3.6.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/riffdiff-3.6.1

Or alternatively:

emerge --autounmask-write -a =dev-util/riffdiff-3.6.1

Package Information

Description:
Diff filter highlighting changed line parts
Homepage:
https://github.com/walles/riff/
License:
MIT Apache-2.0 BSD-2 BSD MIT Unicode-3.0 Unicode-DFS-2016

Ebuild Details

Version EAPI Keywords Slot
3.6.1 8 ~amd64 0
View Raw Ebuild
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

CRATES="
"

RUST_MIN_VER="1.82.0"

inherit cargo optfeature

# last update of Cargo.lock
CRATES_PV="3.4.0"
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 BSD MIT Unicode-3.0 Unicode-DFS-2016"
SLOT="0"
KEYWORDS="~amd64"

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
}

Inherited Eclasses

Manifest for 3.6.1

Type File Size Source URLs
DIST riffdiff-3.4.0-crates.tar.xz 14391992 bytes https://raw.githubusercontent.com/PPN-SD/vendor/refs/tags/riffdiff-3.4.0/riffdiff-3.4.0-crates.tar.xz
DIST riffdiff-3.6.1.tar.gz 2200291 bytes https://github.com/walles/riff/archive/refs/tags/3.6.1.tar.gz