gentoo/dev-util/imediff/imediff-3.4.1.ebuild
Eli Schwartz 2014925573
dev-util/imediff: Stabilize 3.4.1 ALLARCHES, #967296
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2025-12-10 13:18:51 -05:00

31 lines
784 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
PYTHON_REQ_USE="ncurses"
inherit distutils-r1
DESCRIPTION="2-way/3-way merge tool (CLI, Ncurses)"
HOMEPAGE="https://github.com/osamuaoki/imediff"
SRC_URI="https://github.com/osamuaoki/${PN}/archive/upstream/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-upstream-${PV}"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64"
distutils_enable_tests unittest
src_install() {
distutils-r1_src_install
rm "${ED}"/usr/bin/imediff_install || die
python_doscript "${ED}"/usr/bin/imediff
newbin usr/bin/git-ime.in git-ime
doman usr/share/man/man1/imediff.1 usr/share/man/man1/git-ime.1
}