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-portage/pqlop/pqlop-0.02.ebuild

35 lines
851 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/pqlop/pqlop-0.02.ebuild,v 1.2 2012/10/31 08:54:55 mgorny Exp $
EAPI=3
PYTHON_DEPEND="*:2.5"
SUPPORT_PYTHON_ABIS="1"
inherit python
DESCRIPTION="emerge.log parser written in python"
HOMEPAGE="https://bitbucket.org/LK4D4/pqlop"
SRC_URI="https://bitbucket.org/LK4D4/pqlop/raw/${PV}/pqlop.py -> ${P}.py"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="virtual/python-argparse"
src_unpack() {
:
}
src_install() {
installation() {
newbin "${DISTDIR}/${P}.py" ${PN}-${PYTHON_ABI} || die "newbin failed"
python_convert_shebangs ${PYTHON_ABI} "${ED}"usr/bin/${PN}-${PYTHON_ABI}
}
python_execute_function installation
python_generate_wrapper_scripts "${ED}"usr/bin/${PN}
}