summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2012-06-06 08:49:01 +0000
committerTiziano Müller <dev-zero@gentoo.org>2012-06-06 08:49:01 +0000
commit3f8be1a07c629e659639bea444847407fe35c67b (patch)
treea679dabb8def39040d16d2a93750d1354e9f0b08 /dev-util/imediff2/imediff2-1.1.2-r2.ebuild
parentsci-chemistry/cluster: minor cleaning (diff)
downloadgentoo-2-3f8be1a07c629e659639bea444847407fe35c67b.tar.gz
gentoo-2-3f8be1a07c629e659639bea444847407fe35c67b.tar.bz2
gentoo-2-3f8be1a07c629e659639bea444847407fe35c67b.zip
Use EAPI-4, set shebang (bug #326097).
(Portage version: 2.1.10.56/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/imediff2/imediff2-1.1.2-r2.ebuild')
-rw-r--r--dev-util/imediff2/imediff2-1.1.2-r2.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/imediff2/imediff2-1.1.2-r2.ebuild b/dev-util/imediff2/imediff2-1.1.2-r2.ebuild
new file mode 100644
index 000000000000..59966b0abb76
--- /dev/null
+++ b/dev-util/imediff2/imediff2-1.1.2-r2.ebuild
@@ -0,0 +1,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.1 2012/06/06 08:49:01 dev-zero 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
+}