dev-vcs/stgit - 2.6.0 (gentoo)

Search

Install

Install this version:

emerge -a =dev-vcs/stgit-2.6.0

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

autounmask =dev-vcs/stgit-2.6.0

Or alternatively:

emerge --autounmask-write -a =dev-vcs/stgit-2.6.0

Package Information

Description:
Stack-based patch management for Git
Homepage:
https://stacked-git.github.io/
License:
GPL-2 Apache-2.0 BSD MIT Unicode-3.0 ZLIB

Ebuild Details

Version EAPI Keywords Slot
2.6.0 8 ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 0/2
View Raw Ebuild
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Autogenerated by pycargoebuild 0.15.0

EAPI=8

RUST_MIN_VER="1.85"

inherit cargo flag-o-matic

DESCRIPTION="Stack-based patch management for Git"
HOMEPAGE="https://stacked-git.github.io/"
SRC_URI=" https://github.com/stacked-git/stgit/releases/download/v${PV}/${P}.tar.gz"
SRC_URI+=" https://github.com/gentoo-crate-dist/stgit/releases/download/v${PV}/${P}-crates.tar.xz"

LICENSE="GPL-2"
# Dependent crate licenses
LICENSE+=" Apache-2.0 BSD MIT Unicode-3.0 ZLIB"
SLOT="0/2"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
IUSE="doc"

DEPEND="doc? ( app-text/asciidoc )"

# rust does not use *FLAGS from make.conf, silence portage warning
# update with proper path to binaries this crate installs, omit leading /
QA_FLAGS_IGNORED="usr/bin/stg"

src_configure() {
	filter-lto #bug 897692
}

src_compile() {
	cargo_src_compile
	emake completion
	emake contrib
	use doc && emake doc
}

src_install() {
	cargo_src_install
	emake DESTDIR="${D}" prefix="/usr" install-completion
	emake DESTDIR="${D}" prefix="/usr" install-contrib
	if use doc; then
		emake DESTDIR="${D}" prefix="/usr" install-man
		emake DESTDIR="${D}" prefix="/usr" \
			htmldir="/usr/share/doc/${PF}"  \
			install-html
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-vcs/stgit | euse -E <flag> -p dev-vcs/stgit | euse -D <flag> -p dev-vcs/stgit

Global/Standard Flags

doc

Inherited Eclasses

Dependencies

DEPEND

doc? ( app-text/asciidoc )

Manifest for 2.6.0

Type File Size Source URLs
DIST stgit-2.6.0.tar.gz 616954 bytes https://github.com/stacked-git/stgit/releases/download/v2.6.0/stgit-2.6.0.tar.gz