--- /usr/portage/net-mail/queue-repair/queue-repair-0.9.0.ebuild 2011-07-11 11:15:31.000000000 -0400 +++ queue-repair-0.9.0-r1.ebuild 2014-02-12 16:27:34.140929065 -0500 @@ -1,8 +1,11 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/queue-repair/queue-repair-0.9.0.ebuild,v 1.14 2011/07/11 15:15:31 aballier Exp $ +# $Header: $ -inherit eutils +EAPI="5" + +PYTHON_COMPAT=( python{2_6,2_7} ) +inherit python-single-r1 DESCRIPTION="A toolkit for dealing with the qmail queue directory structure" HOMEPAGE="http://pyropus.ca/software/queue-repair/" @@ -10,16 +13,13 @@ LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" IUSE="" - -src_compile() { - : -} +RDEPEND="${PYTHON_DEPS}" +REQURIED_USE="${PYTHON_REQUIRED_USE}" src_install () { - insinto /usr/bin - newbin queue_repair.py queue-repair.py || die - dosym /usr/bin/queue-repair.py /usr/bin/queue-repair || die - dodoc BLURB TODO CHANGELOG || die + python_newscript queue_repair.py queue-repair.py + dosym /usr/bin/queue-repair.py /usr/bin/queue-repair + dodoc BLURB TODO CHANGELOG }