summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-04 16:34:26 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-04 16:34:26 +0000
commitc0023783659be2e545d66b9341e78185cce7aeef (patch)
treec2169169a819ea65cf993f3cb24ba20e30e7f254 /sci-physics
parentFix shebangs. (diff)
downloadgentoo-2-c0023783659be2e545d66b9341e78185cce7aeef.tar.gz
gentoo-2-c0023783659be2e545d66b9341e78185cce7aeef.tar.bz2
gentoo-2-c0023783659be2e545d66b9341e78185cce7aeef.zip
Delete call to deprecated python_version().
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/camfr/ChangeLog8
-rw-r--r--sci-physics/camfr/camfr-20070717-r1.ebuild9
2 files changed, 10 insertions, 7 deletions
diff --git a/sci-physics/camfr/ChangeLog b/sci-physics/camfr/ChangeLog
index 965544921963..fbf455b11f4b 100644
--- a/sci-physics/camfr/ChangeLog
+++ b/sci-physics/camfr/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-physics/camfr
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.15 2009/11/12 17:55:06 bicatali Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.16 2010/06/04 16:34:26 arfrever Exp $
+
+ 04 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ camfr-20070717-r1.ebuild:
+ Delete call to deprecated python_version().
12 Nov 2009; Sébastien Fabbro <bicatali@gentoo.org>
camfr-20070717-r1.ebuild:
diff --git a/sci-physics/camfr/camfr-20070717-r1.ebuild b/sci-physics/camfr/camfr-20070717-r1.ebuild
index b6620885e44e..364ddb34e4ce 100644
--- a/sci-physics/camfr/camfr-20070717-r1.ebuild
+++ b/sci-physics/camfr/camfr-20070717-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r1.ebuild,v 1.5 2009/11/12 17:55:06 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r1.ebuild,v 1.6 2010/06/04 16:34:26 arfrever Exp $
EAPI=2
inherit eutils distutils python toolchain-funcs
@@ -33,10 +33,9 @@ src_prepare() {
cp "${FILESDIR}"/machine_cfg.py.gentoo machine_cfg.py || die
# Configure to compile against selected python version
- python_version
cat <<-EOF >> machine_cfg.py
include_dirs = []
- include_dirs.append("/usr/include/python${PYVER}")
+ include_dirs.append("$(python_get_includedir)")
include_dirs.append("$(python_get_sitedir)")
EOF
@@ -63,7 +62,7 @@ src_prepare() {
src_test() {
# trick to avoid X in testing (bug #229753)
echo "backend : Agg" > matplotlibrc
- PYTHONPATH=".:visualisation" "${python}" testsuite/camfr_test.py \
+ PYTHONPATH=".:visualisation" "$(PYTHON)" testsuite/camfr_test.py \
|| die "tests failed"
rm -f matplotlibrc
}