blob: 3451188abafcf3e119c68e677047252fe885719c (
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
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/imediff2/imediff2-1.1.2-r2.ebuild,v 1.2 2012/06/06 15:05:05 mr_bones_ Exp $
EAPI="4"
PYTHON_DEPEND="2"
PYTHON_USE_WITH="ncurses"
inherit python versionator
MY_P=${PN}_$(replace_version_separator 3 -)
DESCRIPTION="An interactive, user friendly 2-way merge tool in text mode."
HOMEPAGE="http://elonen.iki.fi/code/imediff/"
SRC_URI="mirror://debian/pool/main/i/${PN}/${MY_P}.orig.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-lang/python[ncurses]"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
python_convert_shebangs 2 imediff2
}
src_compile() {
# Otherwise the docs get regenerated :)
:
}
src_install() {
dobin imediff2
dodoc AUTHORS README
doman imediff2.1
}
|