diff options
author | 2012-08-04 19:11:50 +0000 | |
---|---|---|
committer | 2012-08-04 19:11:50 +0000 | |
commit | 3b23623c53e116921c610a92d564654e716972d0 (patch) | |
tree | 11fd36f66ca13403da51cad6e1d211ea099f0fa4 /sci-libs/mathgl | |
parent | Stable ppc ppc64, bug #418667 (diff) | |
download | gentoo-2-3b23623c53e116921c610a92d564654e716972d0.tar.gz gentoo-2-3b23623c53e116921c610a92d564654e716972d0.tar.bz2 gentoo-2-3b23623c53e116921c610a92d564654e716972d0.zip |
fixed for newer python
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/mathgl')
-rw-r--r-- | sci-libs/mathgl/ChangeLog | 6 | ||||
-rw-r--r-- | sci-libs/mathgl/mathgl-2.0.3.ebuild | 8 | ||||
-rw-r--r-- | sci-libs/mathgl/metadata.xml | 1 |
3 files changed, 10 insertions, 5 deletions
diff --git a/sci-libs/mathgl/ChangeLog b/sci-libs/mathgl/ChangeLog index c63fe54b84a0..c642e6a4b280 100644 --- a/sci-libs/mathgl/ChangeLog +++ b/sci-libs/mathgl/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-libs/mathgl # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/ChangeLog,v 1.29 2012/08/04 18:10:02 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/ChangeLog,v 1.30 2012/08/04 19:11:50 bicatali Exp $ + + 04 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> mathgl-2.0.3.ebuild, + metadata.xml: + fixed for newer python 04 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> +files/mathgl-2.0.3-fix-hardcoded-paths.patch, -mathgl-1.11.1.1.ebuild, diff --git a/sci-libs/mathgl/mathgl-2.0.3.ebuild b/sci-libs/mathgl/mathgl-2.0.3.ebuild index 25f5b4b256d4..f48b678bb619 100644 --- a/sci-libs/mathgl/mathgl-2.0.3.ebuild +++ b/sci-libs/mathgl/mathgl-2.0.3.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/mathgl-2.0.3.ebuild,v 1.2 2012/08/04 18:10:02 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/mathgl-2.0.3.ebuild,v 1.3 2012/08/04 19:11:50 bicatali Exp $ EAPI=4 WX_GTK_VER=2.8 -inherit cmake-utils eutils python wxwidgets multilib +inherit cmake-utils eutils python wxwidgets multilib flag-o-matic DESCRIPTION="Math Graphics Library" HOMEPAGE="http://mathgl.sourceforge.net/" @@ -70,7 +70,7 @@ src_prepare() { # bored of reporting bad libdir upstream sed -i \ -e '/DESTINATION/s:lib$:lib${LIB_SUFFIX}:g' \ - */CMakeLists.txt || die + {src,widgets}/CMakeLists.txt || die echo "" > lang/install.m || die epatch "${FILESDIR}"/${P}-fix-hardcoded-paths.patch } @@ -105,7 +105,7 @@ src_configure() { "${CMAKE_BUILD_DIR}"/lang/cmake_install.cmake || die # fix location of numpy use python && append-cppflags \ - -I$(echo "import numpy; print numpy.get_include()" | "$(PYTHON)" - 2>/dev/null) + -I$(echo "import numpy; print(numpy.get_include())" | "$(PYTHON)" - 2>/dev/null) fi } diff --git a/sci-libs/mathgl/metadata.xml b/sci-libs/mathgl/metadata.xml index a10fb761c3dc..433b634786fe 100644 --- a/sci-libs/mathgl/metadata.xml +++ b/sci-libs/mathgl/metadata.xml @@ -13,6 +13,7 @@ * working in window and console modes and for easy embedding into other programs </longdescription> <use> + <flag name="hdf">Add support for the Hierarchical Data Format v.4 <pkg>sci-libs/hdf</pkg></flag> <flag name="octave">Add bindings for <pkg>sci-mathematics/octave</pkg></flag> <flag name="double-precision">Add double precision calculations</flag> </use> |