summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-10 21:39:35 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-10 21:39:35 +0000
commit5da40738af6272ac031bc7584d44204f7e54eb88 (patch)
tree91fb2eedb3495b6a62aa0b8f1a1b3c1dc902273d /media-radio
parentSet SUPPORT_PYTHON_ABIS (bug #326129). (diff)
downloadgentoo-2-5da40738af6272ac031bc7584d44204f7e54eb88.tar.gz
gentoo-2-5da40738af6272ac031bc7584d44204f7e54eb88.tar.bz2
gentoo-2-5da40738af6272ac031bc7584d44204f7e54eb88.zip
Use Python 2 (bug #362339).
(Portage version: 2.2.0_alpha29_p10/cvs/Linux x86_64)
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/wspr/ChangeLog6
-rw-r--r--media-radio/wspr/wspr-2.00.ebuild17
2 files changed, 16 insertions, 7 deletions
diff --git a/media-radio/wspr/ChangeLog b/media-radio/wspr/ChangeLog
index dc4e681398ca..1e8e60edca1b 100644
--- a/media-radio/wspr/ChangeLog
+++ b/media-radio/wspr/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-radio/wspr
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-radio/wspr/ChangeLog,v 1.1 2011/04/03 06:50:56 tomjbe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-radio/wspr/ChangeLog,v 1.2 2011/04/10 21:39:35 arfrever Exp $
+
+ 10 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ wspr-2.00.ebuild:
+ Use Python 2 (bug #362339).
*wspr-2.00 (03 Apr 2011)
diff --git a/media-radio/wspr/wspr-2.00.ebuild b/media-radio/wspr/wspr-2.00.ebuild
index 073bebf09eba..ea16b10d6b5c 100644
--- a/media-radio/wspr/wspr-2.00.ebuild
+++ b/media-radio/wspr/wspr-2.00.ebuild
@@ -1,11 +1,12 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-radio/wspr/wspr-2.00.ebuild,v 1.1 2011/04/03 06:50:56 tomjbe Exp $
-
-EAPI="2"
+# $Header: /var/cvsroot/gentoo-x86/media-radio/wspr/wspr-2.00.ebuild,v 1.2 2011/04/10 21:39:35 arfrever Exp $
+EAPI="3"
PYTHON_DEPEND="2"
-inherit autotools distutils flag-o-matic multilib python toolchain-funcs
+PYTHON_USE_WITH="tk"
+
+inherit autotools distutils flag-o-matic multilib toolchain-funcs
MY_P=${P}.r1714
@@ -18,9 +19,8 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND="dev-lang/python[tk]
+RDEPEND="dev-python/imaging[tk]
dev-python/numpy
- dev-python/imaging[tk]
dev-python/pmw
sci-libs/fftw:3.0
media-libs/hamlib
@@ -39,6 +39,11 @@ get_fcomp() {
esac
}
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
src_prepare() {
tc-export FC
get_fcomp