summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDror Levin <spatz@gentoo.org>2010-03-19 13:55:30 +0000
committerDror Levin <spatz@gentoo.org>2010-03-19 13:55:30 +0000
commitff36de946977d74120fffc42d667ce8be5befa0d (patch)
tree1eff599fd3aeb2bea11d68988763057a4210f31e /app-admin/pydf
parentVersion bump, remove old versions, fix the curl dependencies (bug #310141). (diff)
downloadgentoo-2-ff36de946977d74120fffc42d667ce8be5befa0d.tar.gz
gentoo-2-ff36de946977d74120fffc42d667ce8be5befa0d.tar.bz2
gentoo-2-ff36de946977d74120fffc42d667ce8be5befa0d.zip
Dep on <python3 and change sheband to strictly use python2 as package doesn't support python 3 yet, bug 308273.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/pydf')
-rw-r--r--app-admin/pydf/ChangeLog6
-rw-r--r--app-admin/pydf/pydf-8.ebuild12
2 files changed, 11 insertions, 7 deletions
diff --git a/app-admin/pydf/ChangeLog b/app-admin/pydf/ChangeLog
index 59e25bec9f09..4bf020eec657 100644
--- a/app-admin/pydf/ChangeLog
+++ b/app-admin/pydf/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/pydf
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/pydf/ChangeLog,v 1.26 2010/02/26 12:05:55 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/pydf/ChangeLog,v 1.27 2010/03/19 13:55:30 spatz Exp $
+
+ 19 Mar 2010; Dror Levin <spatz@gentoo.org> pydf-8.ebuild:
+ Dep on <python3 and change sheband to strictly use python2 as package doesn't
+ support python 3 yet, bug 308273.
26 Feb 2010; Christian Faulhammer <fauli@gentoo.org> pydf-7.ebuild:
stable x86, bug 305705
diff --git a/app-admin/pydf/pydf-8.ebuild b/app-admin/pydf/pydf-8.ebuild
index 5c2d2f6fe7de..38c597a73195 100644
--- a/app-admin/pydf/pydf-8.ebuild
+++ b/app-admin/pydf/pydf-8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/pydf/pydf-8.ebuild,v 1.1 2010/02/18 15:41:43 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/pydf/pydf-8.ebuild,v 1.2 2010/03/19 13:55:30 spatz Exp $
EAPI=2
inherit eutils
@@ -16,18 +16,18 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""
DEPEND=""
-RDEPEND="dev-lang/python"
+RDEPEND="<dev-lang/python-3"
src_prepare() {
epatch "$FILESDIR"/pydf-bw.patch
-}
-src_compile() { :; }
+ sed -i '1c #!/usr/bin/python2' pydf || die
+}
src_install() {
dobin pydf || die "dobin failed"
insinto /etc
doins pydfrc || die "doins failed"
- doman pydf.1
- dodoc README
+ doman pydf.1 || die
+ dodoc README || die
}