| # Copyright 1999-2015 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| EAPI=5 |
| |
| PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
| |
| inherit python-r1 |
| |
| 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=" |
| ${PYTHON_DEPS} |
| " |
| |
| REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
| |
| S="${WORKDIR}" |
| |
| src_unpack() { |
| : |
| } |
| |
| src_install() { |
| newbin "${DISTDIR}"/${P}.py ${PN} || die "newbin failed" |
| python_replicate_script "${ED}"/usr/bin/${PN} || die "python_replicate_script failed" |
| } |