summaryrefslogtreecommitdiff
path: root/dev-vcs/mergiraf/mergiraf-0.19.1.ebuild
blob: 80007a8ca27b8c83fd29e0ff8574f36b9050ca09 (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
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

CRATES=" "

RUST_MIN_VER="1.92"
inherit cargo

DESCRIPTION="Syntax-aware git merge driver"
HOMEPAGE="https://mergiraf.org/"
SRC_URI="https://codeberg.org/mergiraf/mergiraf/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/gentoo-crate-dist/mergiraf/releases/download/v${PV}/${P}-crates.tar.xz"
S=${WORKDIR}/${PN}

LICENSE="GPL-3"
# Dependent crate licenses
LICENSE+=" Apache-2.0 MIT Unicode-3.0 ZLIB"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"

BDEPEND="
	test? (
		dev-vcs/git
		dev-vcs/jj
	)
"

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

src_install() {
	default
	cargo_src_install
}