public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-libs/mathgl: mathgl-2.0.3.ebuild metadata.xml ChangeLog
@ 2012-08-04  2:05 Sebastien Fabbro (bicatali)
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastien Fabbro (bicatali) @ 2012-08-04  2:05 UTC (permalink / raw
  To: gentoo-commits

bicatali    12/08/04 02:05:04

  Modified:             metadata.xml ChangeLog
  Added:                mathgl-2.0.3.ebuild
  Log:
  Version bump. Switched to cmake, so had to rewrite from scratch
  
  (Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)

Revision  Changes    Path
1.7                  sci-libs/mathgl/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mathgl/metadata.xml?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mathgl/metadata.xml?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mathgl/metadata.xml?r1=1.6&r2=1.7

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/mathgl/metadata.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- metadata.xml	1 Mar 2012 07:41:06 -0000	1.6
+++ metadata.xml	4 Aug 2012 02:05:04 -0000	1.7
@@ -1,13 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<herd>sci</herd>
-	<maintainer>
-		<email>grozin@gentoo.org</email>
-		<name>Andrey Grozin</name>
-	</maintainer>
-	<longdescription>Math Graphics Library</longdescription>
-	<use>
-		<flag name="octave">Add bindings for <pkg>sci-mathematics/octave</pkg></flag>
-	</use>
+<herd>sci</herd>
+<maintainer>
+  <email>grozin@gentoo.org</email>
+  <name>Andrey Grozin</name>
+</maintainer>
+<longdescription>
+  MathGL is a library for:
+  * making high-quality scientific graphics
+  * the fast data plotting and data processing of large data arrays
+  * working in window and console modes and for easy embedding into other programs
+</longdescription>
+<use>
+  <flag name="octave">Add bindings for <pkg>sci-mathematics/octave</pkg></flag>
+</use>
 </pkgmetadata>



1.28                 sci-libs/mathgl/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mathgl/ChangeLog?rev=1.28&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mathgl/ChangeLog?rev=1.28&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mathgl/ChangeLog?r1=1.27&r2=1.28

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/mathgl/ChangeLog,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- ChangeLog	1 Mar 2012 07:41:06 -0000	1.27
+++ ChangeLog	4 Aug 2012 02:05:04 -0000	1.28
@@ -1,6 +1,12 @@
 # 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.27 2012/03/01 07:41:06 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/ChangeLog,v 1.28 2012/08/04 02:05:04 bicatali Exp $
+
+*mathgl-2.0.3 (04 Aug 2012)
+
+  04 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> +mathgl-2.0.3.ebuild,
+  metadata.xml:
+  Version bump. Switched to cmake, so had to rewrite from scratch
 
   01 Mar 2012; Justin Lecher <jlec@gentoo.org> mathgl-1.11.2.ebuild,
   +files/mathgl-1.11.2-cast.patch, metadata.xml:
@@ -146,4 +152,3 @@
   02 Dec 2008; Andrey Grozin <grozin@gentoo.org> +metadata.xml,
   +mathgl-1.8.ebuild:
   Initial import, based on ebuild in the science overlay
-



1.1                  sci-libs/mathgl/mathgl-2.0.3.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mathgl/mathgl-2.0.3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mathgl/mathgl-2.0.3.ebuild?rev=1.1&content-type=text/plain

Index: mathgl-2.0.3.ebuild
===================================================================
# 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.1 2012/08/04 02:05:04 bicatali Exp $

EAPI=4

WX_GTK_VER=2.8

inherit cmake-utils eutils python wxwidgets multilib

DESCRIPTION="Math Graphics Library"
HOMEPAGE="http://mathgl.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz mirror://sourceforge/${PN}/STIX_font.tgz"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc fltk gif glut gsl hdf hdf5 jpeg mpi octave opengl pdf png python
	qt4 static-libs threads wxwidgets zlib"

RDEPEND="
	virtual/opengl
	fltk? ( x11-libs/fltk:1 )
	gif? ( media-libs/giflib )
	glut? ( media-libs/freeglut )
	gsl? ( sci-libs/gsl )
	hdf? ( sci-libs/hdf )
	hdf5? ( >=sci-libs/hdf5-1.8[mpi=] )
	jpeg? ( virtual/jpeg )
	octave? ( >=sci-mathematics/octave-3.4.0 )
	pdf? ( media-libs/libharu )
	png? ( media-libs/libpng )
	python? ( dev-python/numpy )
	qt4? ( x11-libs/qt-gui:4 )
	wxwidgets? ( x11-libs/wxGTK:2.8 )
	zlib? ( sys-libs/zlib )"

DEPEND="${RDEPEND}
	doc? ( app-text/texi2html virtual/texi2dvi )
	octave? ( dev-lang/swig )
	python? ( dev-lang/swig )"

REQUIRED_USE="mpi? ( hdf5 ) png? ( zlib )"

pkg_setup() {
	if use mpi; then
		export CC=mpicc
		export CXX=mpicxx
	fi
	use python && python_pkg_setup
	use wxwidgets && wxwidgets_pkg_setup
}

src_unpack() {
	unpack ${A}
	[[ -d "${S}"/fonts ]] || mkdir "${S}"/fonts
	cd "${S}"/fonts
	unpack STIX_font.tgz
}

src_prepare() {
	# fix for location of hdf headers
	sed -i -e 's:hdf/::g' src/data_io.cpp || die
	# bored of reporting bad libdir upstream
	sed -i \
		-e '/DESTINATION/s:lib$:lib${LIB_SUFFIX}:g' \
		*/CMakeLists.txt || diex
}

src_configure() {
	local mycmakeargs=(
		-DHDF4_INCLUDE_DIR="${EPREFIX}/usr/include"
		$(cmake-utils_use doc enable-doc)
		$(cmake-utils_use fltk enable-fltk)
		$(cmake-utils_use gif enable-gif)
		$(cmake-utils_use glut enable-glut)
		$(cmake-utils_use gsl enable-gsl)
		$(cmake-utils_use hdf enable-hdf4)
		$(cmake-utils_use hdf5 enable-hdf5_18)
		$(cmake-utils_use jpeg enable-jpeg)
		$(cmake-utils_use mpi enable-mpi)
		$(cmake-utils_use octave enable-octave)
		$(cmake-utils_use opengl enable-opengl)
		$(cmake-utils_use pdf enable-pdf)
		$(cmake-utils_use png enable-png)
		$(cmake-utils_use threads enable-pthread)
		$(cmake-utils_use python enable-python)
		$(cmake-utils_use wxwidgets enable-wx)
		$(cmake-utils_use zlib enable-zlib)
	)
	cmake-utils_src_configure
	sed -i -e "s:--prefix=\(.*\) :--prefix=\$ENV{DESTDIR}\1 :" \
		${CMAKE_BUILD_DIR}/lang/cmake_install.cmake || die
}

src_install() {
	cmake-utils_src_install
	dodoc README* *.txt AUTHORS
	use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a
}

pkg_postinst() {
	if use octave; then
		octave <<-EOF
		pkg install ${EROOT}/usr/share/${PN}/octave/${PN}.tar.gz
		EOF
	fi
	use python && python_mod_optimize ${PN}.py
}

pkg_prerm() {
	if use octave; then
		octave <<-EOF
		pkg uninstall ${PN}
		EOF
	fi
}

pkg_postrm() {
	use python && python_mod_cleanup ${PN}.py
}





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-libs/mathgl: mathgl-2.0.3.ebuild metadata.xml ChangeLog
@ 2012-08-04 19:11 Sebastien Fabbro (bicatali)
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastien Fabbro (bicatali) @ 2012-08-04 19:11 UTC (permalink / raw
  To: gentoo-commits

bicatali    12/08/04 19:11:50

  Modified:             mathgl-2.0.3.ebuild metadata.xml ChangeLog
  Log:
  fixed for newer python
  
  (Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  sci-libs/mathgl/mathgl-2.0.3.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mathgl/mathgl-2.0.3.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mathgl/mathgl-2.0.3.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mathgl/mathgl-2.0.3.ebuild?r1=1.2&r2=1.3

Index: mathgl-2.0.3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/mathgl/mathgl-2.0.3.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mathgl-2.0.3.ebuild	4 Aug 2012 18:10:02 -0000	1.2
+++ mathgl-2.0.3.ebuild	4 Aug 2012 19:11:50 -0000	1.3
@@ -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 @@
 	# 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 @@
 			"${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
 
 }



1.9                  sci-libs/mathgl/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mathgl/metadata.xml?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mathgl/metadata.xml?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mathgl/metadata.xml?r1=1.8&r2=1.9

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/mathgl/metadata.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- metadata.xml	4 Aug 2012 18:10:02 -0000	1.8
+++ metadata.xml	4 Aug 2012 19:11:50 -0000	1.9
@@ -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>



1.30                 sci-libs/mathgl/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mathgl/ChangeLog?rev=1.30&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mathgl/ChangeLog?rev=1.30&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mathgl/ChangeLog?r1=1.29&r2=1.30

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/mathgl/ChangeLog,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- ChangeLog	4 Aug 2012 18:10:02 -0000	1.29
+++ ChangeLog	4 Aug 2012 19:11:50 -0000	1.30
@@ -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,





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-04 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-04  2:05 [gentoo-commits] gentoo-x86 commit in sci-libs/mathgl: mathgl-2.0.3.ebuild metadata.xml ChangeLog Sebastien Fabbro (bicatali)
  -- strict thread matches above, loose matches on Subject: below --
2012-08-04 19:11 Sebastien Fabbro (bicatali)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox