diff options
author | 2011-12-12 22:54:44 +0000 | |
---|---|---|
committer | 2011-12-12 22:54:44 +0000 | |
commit | d34e3dd4e0f56358e691bc55f49343bdd1343ee4 (patch) | |
tree | c877f384630b87f9f2d061f1ad2c03e706895f3d /app-admin/checkrestart/checkrestart-0.47-r2.ebuild | |
parent | add git support (diff) | |
download | historical-d34e3dd4e0f56358e691bc55f49343bdd1343ee4.tar.gz historical-d34e3dd4e0f56358e691bc55f49343bdd1343ee4.tar.bz2 historical-d34e3dd4e0f56358e691bc55f49343bdd1343ee4.zip |
Set dependency on dev-lang/python-2, change shebang accordingly (bug #394407).
Package-Manager: portage-2.2.0_alpha80/cvs/Linux x86_64
Diffstat (limited to 'app-admin/checkrestart/checkrestart-0.47-r2.ebuild')
-rw-r--r-- | app-admin/checkrestart/checkrestart-0.47-r2.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/app-admin/checkrestart/checkrestart-0.47-r2.ebuild b/app-admin/checkrestart/checkrestart-0.47-r2.ebuild new file mode 100644 index 000000000000..c53fffe91446 --- /dev/null +++ b/app-admin/checkrestart/checkrestart-0.47-r2.ebuild @@ -0,0 +1,34 @@ +# 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-r2.ebuild,v 1.1 2011/12/12 22:54:44 jer Exp $ + +EAPI="4" + +inherit eutils + +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=" + =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} +} |