2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-01-19 00:09:37 +03:00
Files
gentoo/dev-util/imediff/imediff-3.4.1.ebuild
Nicolas PARLANT f493ede76f dev-util/imediff: add 3.4.1
fix the license to GPL2-+ (seems old)

update python_compat 10..13 -> 11..14
remove implicit deps w/ distutils-r1

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44270
Closes: https://github.com/gentoo/gentoo/pull/44270
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-21 16:18:51 +01:00

31 lines
785 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
}