summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-12-12 22:54:44 +0000
committerJeroen Roovers <jer@gentoo.org>2011-12-12 22:54:44 +0000
commit8495f4026f9b4c8ccfe797b56f509003ce485daf (patch)
treeecea2717657a780e1d00eb0630f715d7ab5e8c93
parentadd git support (diff)
downloadgentoo-2-8495f4026f9b4c8ccfe797b56f509003ce485daf.tar.gz
gentoo-2-8495f4026f9b4c8ccfe797b56f509003ce485daf.tar.bz2
gentoo-2-8495f4026f9b4c8ccfe797b56f509003ce485daf.zip
Set dependency on dev-lang/python-2, change shebang accordingly (bug #394407).
(Portage version: 2.2.0_alpha80/cvs/Linux x86_64)
-rw-r--r--app-admin/checkrestart/ChangeLog9
-rw-r--r--app-admin/checkrestart/checkrestart-0.47-r2.ebuild (renamed from app-admin/checkrestart/checkrestart-0.47-r1.ebuild)12
-rw-r--r--app-admin/checkrestart/checkrestart-0.47.ebuild22
3 files changed, 16 insertions, 27 deletions
diff --git a/app-admin/checkrestart/ChangeLog b/app-admin/checkrestart/ChangeLog
index ebd2d685a55e..4b1eaedf47e6 100644
--- a/app-admin/checkrestart/ChangeLog
+++ b/app-admin/checkrestart/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-admin/checkrestart
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/checkrestart/ChangeLog,v 1.3 2011/02/12 17:48:33 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/checkrestart/ChangeLog,v 1.4 2011/12/12 22:54:44 jer Exp $
+
+*checkrestart-0.47-r2 (12 Dec 2011)
+
+ 12 Dec 2011; Jeroen Roovers <jer@gentoo.org> -checkrestart-0.47.ebuild,
+ -checkrestart-0.47-r1.ebuild, +checkrestart-0.47-r2.ebuild:
+ Set dependency on dev-lang/python-2, change shebang accordingly (bug
+ #394407).
*checkrestart-0.47-r1 (12 Feb 2011)
diff --git a/app-admin/checkrestart/checkrestart-0.47-r1.ebuild b/app-admin/checkrestart/checkrestart-0.47-r2.ebuild
index e2c398e1fa97..c53fffe91446 100644
--- a/app-admin/checkrestart/checkrestart-0.47-r1.ebuild
+++ b/app-admin/checkrestart/checkrestart-0.47-r2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/checkrestart/checkrestart-0.47-r1.ebuild,v 1.1 2011/02/12 17:48:33 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/checkrestart/checkrestart-0.47-r2.ebuild,v 1.1 2011/12/12 22:54:44 jer Exp $
-EAPI="3"
+EAPI="4"
inherit eutils
@@ -16,15 +16,19 @@ KEYWORDS="~amd64 ~hppa ~x86"
IUSE=""
RDEPEND="
+ =dev-lang/python-2*
sys-apps/lsb-release
app-portage/portage-utils
sys-process/lsof
- "
+"
+
+S=${WORKDIR}
src_prepare() {
epatch "${FILESDIR}"/${P}-list-comprehension-fix.patch
+ sed -i ${PN} -e '1{s|python|&2|g}' || die
}
src_install() {
- dosbin ${PN} || die "dosbin failed"
+ dosbin ${PN}
}
diff --git a/app-admin/checkrestart/checkrestart-0.47.ebuild b/app-admin/checkrestart/checkrestart-0.47.ebuild
deleted file mode 100644
index da020b73f4a1..000000000000
--- a/app-admin/checkrestart/checkrestart-0.47.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/checkrestart/checkrestart-0.47.ebuild,v 1.2 2009/12/03 11:44:14 maekke Exp $
-
-DESCRIPTION="the sysadmin's rolling upgrade tool"
-HOMEPAGE="http://arcdraco.net/checkrestart"
-SRC_URI="http://arcdraco.net/~dragon/${P}-sep.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
-IUSE=""
-
-RDEPEND="
- sys-apps/lsb-release
- app-portage/portage-utils
- sys-process/lsof
- "
-
-src_install() {
- dosbin ${PN} || die "dosbin failed"
-}