You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-admin/checkrestart/checkrestart-0.47-r3.ebuild

39 lines
726 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id: f23c26852cdc9c8850296e3a331d4a14b04b0c26 $
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit eutils python-single-r1
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 ~arm ~hppa ~x86"
IUSE=""
RDEPEND="
${PYTHON_DEPS}
sys-apps/lsb-release
app-portage/portage-utils
sys-process/lsof
"
REQUIRED_USE=${PYTHON_REQUIRED_USE}
S=${WORKDIR}
src_prepare() {
epatch "${FILESDIR}"/${P}-list-comprehension-fix.patch
python_fix_shebang ${PN}
}
src_install() {
dosbin ${PN}
}