| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-portage/pqlop/pqlop-0.02.ebuild,v 1.1 2011/12/11 20:07:59 maksbotan Exp $ |
| 4 |
|
| 5 |
EAPI=3 |
| 6 |
|
| 7 |
PYTHON_DEPEND="*:2.5" |
| 8 |
SUPPORT_PYTHON_ABIS="1" |
| 9 |
|
| 10 |
inherit python |
| 11 |
|
| 12 |
DESCRIPTION="emerge.log parser written in python" |
| 13 |
HOMEPAGE="https://bitbucket.org/LK4D4/pqlop" |
| 14 |
SRC_URI="https://bitbucket.org/LK4D4/pqlop/raw/${PV}/pqlop.py -> ${P}.py" |
| 15 |
|
| 16 |
LICENSE="GPL-2" |
| 17 |
SLOT="0" |
| 18 |
KEYWORDS="~amd64 ~x86" |
| 19 |
IUSE="" |
| 20 |
|
| 21 |
RDEPEND="virtual/python-argparse" |
| 22 |
|
| 23 |
src_unpack() { |
| 24 |
: |
| 25 |
} |
| 26 |
|
| 27 |
src_install() { |
| 28 |
installation() { |
| 29 |
newbin "${DISTDIR}/${P}.py" ${PN}-${PYTHON_ABI} || die "newbin failed" |
| 30 |
python_convert_shebangs ${PYTHON_ABI} "${ED}"usr/bin/${PN}-${PYTHON_ABI} |
| 31 |
} |
| 32 |
python_execute_function installation |
| 33 |
python_generate_wrapper_scripts "${ED}"usr/bin/${PN} |
| 34 |
} |