public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-physics/camfr: ChangeLog camfr-20070717-r2.ebuild
@ 2010-06-25 13:25 Justin Lecher (jlec)
  0 siblings, 0 replies; 4+ messages in thread
From: Justin Lecher (jlec) @ 2010-06-25 13:25 UTC (permalink / raw
  To: gentoo-commits

jlec        10/06/25 13:25:00

  Modified:             ChangeLog
  Added:                camfr-20070717-r2.ebuild
  Log:
  Fixes for PYTHON ABIs, #316245
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.17                 sci-physics/camfr/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/ChangeLog?rev=1.17&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/ChangeLog?rev=1.17&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/ChangeLog?r1=1.16&r2=1.17

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ChangeLog	4 Jun 2010 16:34:26 -0000	1.16
+++ ChangeLog	25 Jun 2010 13:25:00 -0000	1.17
@@ -1,6 +1,12 @@
 # ChangeLog for sci-physics/camfr
 # 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 $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.17 2010/06/25 13:25:00 jlec Exp $
+
+*camfr-20070717-r2 (25 Jun 2010)
+
+  25 Jun 2010; Justin Lecher <jlec@gentoo.org> +camfr-20070717-r2.ebuild,
+  +files/camfr-20070717-python.patch:
+  Fixes for PYTHON ABIs, #316245
 
   04 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
   camfr-20070717-r1.ebuild:



1.1                  sci-physics/camfr/camfr-20070717-r2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild?rev=1.1&content-type=text/plain

Index: camfr-20070717-r2.ebuild
===================================================================
# 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-r2.ebuild,v 1.1 2010/06/25 13:25:00 jlec Exp $

EAPI=2

PYTHON_DEPEND="2"
PYTHON_USE_WITH="tk"
SUPPORT_PYTHON_ABIS="1"

inherit eutils distutils toolchain-funcs

DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="true"

DESCRIPTION="Full vectorial Maxwell solver based on eigenmode expansion"
HOMEPAGE="http://camfr.sourceforge.net/"
SRC_URI="mirror://sourceforge/camfr/${P}.tgz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="
	dev-libs/blitz
	dev-libs/boost[python]
	dev-python/imaging[tk]
	dev-python/matplotlib
	sci-libs/scipy
	virtual/lapack"
DEPEND="${RDEPEND}
	dev-util/pkgconfig
	>=dev-util/scons-0.98"

RESTRICT_PYTHON_ABIS="3.*"

S="${WORKDIR}/${P/-/_}"

src_prepare() {
	epatch "${FILESDIR}"/${P}-gcc43.patch
	epatch "${FILESDIR}"/${P}-python.patch
	cp "${FILESDIR}"/machine_cfg.py.gentoo machine_cfg.py || die
	python_copy_sources

	preparation() {
		local libfort
		local lapack_libs=
		local lapack_libdirs=
		# Configure to compile against selected python version
		cat <<-EOF >> machine_cfg.py
			include_dirs = []
			include_dirs.append("$(python_get_includedir)")
			include_dirs.append("$(python_get_sitedir)")
		EOF

		for x in $(pkg-config --libs-only-l lapack); do
			lapack_libs="${lapack_libs}, \"${x#-l}\""
		done
		for x in $(pkg-config --libs-only-L lapack); do
			lapack_libdirs="${lapack_libdirs}, \"${x#-L}\""
		done
		case "$(tc-getF77)" in
			*gfortran) libfort=gfortran ;;
			*g77) libfort=g2c ;;
		esac
		cat <<-EOF >> machine_cfg.py
			library_dirs = [${lapack_libdirs#,}]
			libs = ["boost_python", "${libfort}", "blitz"${lapack_libs}]
		EOF
	}
	python_execute_function -s preparation
	export F77=$(tc-getF77)
}

src_test() {
	# trick to avoid X in testing (bug #229753)
	echo "backend : Agg" > matplotlibrc
	PYTHONPATH=".:visualisation" "$(PYTHON)" testsuite/camfr_test.py \
		|| die "tests failed"
	rm -f matplotlibrc
}

src_install() {
	distutils_src_install
	dodoc docs/camfr.pdf || die "doc install failed"
}






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

* [gentoo-commits] gentoo-x86 commit in sci-physics/camfr: ChangeLog camfr-20070717-r2.ebuild
@ 2010-06-25 22:37 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; 4+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2010-06-25 22:37 UTC (permalink / raw
  To: gentoo-commits

arfrever    10/06/25 22:37:22

  Modified:             ChangeLog camfr-20070717-r2.ebuild
  Log:
  Fix src_test() (bug #316245).
  (Portage version: HEAD/cvs/Linux x86_64)

Revision  Changes    Path
1.18                 sci-physics/camfr/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/ChangeLog?rev=1.18&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/ChangeLog?rev=1.18&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/ChangeLog?r1=1.17&r2=1.18

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ChangeLog	25 Jun 2010 13:25:00 -0000	1.17
+++ ChangeLog	25 Jun 2010 22:37:22 -0000	1.18
@@ -1,6 +1,10 @@
 # ChangeLog for sci-physics/camfr
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.17 2010/06/25 13:25:00 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.18 2010/06/25 22:37:22 arfrever Exp $
+
+  25 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  camfr-20070717-r2.ebuild:
+  Fix src_test() (bug #316245).
 
 *camfr-20070717-r2 (25 Jun 2010)
 



1.2                  sci-physics/camfr/camfr-20070717-r2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild?r1=1.1&r2=1.2

Index: camfr-20070717-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- camfr-20070717-r2.ebuild	25 Jun 2010 13:25:00 -0000	1.1
+++ camfr-20070717-r2.ebuild	25 Jun 2010 22:37:22 -0000	1.2
@@ -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/sci-physics/camfr/camfr-20070717-r2.ebuild,v 1.1 2010/06/25 13:25:00 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild,v 1.2 2010/06/25 22:37:22 arfrever Exp $
 
 EAPI=2
 
@@ -73,11 +73,13 @@
 }
 
 src_test() {
-	# trick to avoid X in testing (bug #229753)
-	echo "backend : Agg" > matplotlibrc
-	PYTHONPATH=".:visualisation" "$(PYTHON)" testsuite/camfr_test.py \
-		|| die "tests failed"
-	rm -f matplotlibrc
+	testing() {
+		# trick to avoid X in testing (bug #229753)
+		echo "backend : Agg" > matplotlibrc
+		PYTHONPATH=".:visualisation" "$(PYTHON)" testsuite/camfr_test.py
+		rm -f matplotlibrc
+	}
+	python_execute_function -s testing
 }
 
 src_install() {






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

* [gentoo-commits] gentoo-x86 commit in sci-physics/camfr: ChangeLog camfr-20070717-r2.ebuild
@ 2011-06-21  9:59 Justin Lecher (jlec)
  0 siblings, 0 replies; 4+ messages in thread
From: Justin Lecher (jlec) @ 2011-06-21  9:59 UTC (permalink / raw
  To: gentoo-commits

jlec        11/06/21 09:59:44

  Modified:             ChangeLog camfr-20070717-r2.ebuild
  Log:
  Added fortran-2.eclass support
  
  (Portage version: 2.2.0_alpha41/cvs/Linux x86_64)

Revision  Changes    Path
1.20                 sci-physics/camfr/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/ChangeLog?rev=1.20&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/ChangeLog?rev=1.20&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/ChangeLog?r1=1.19&r2=1.20

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- ChangeLog	15 Nov 2010 15:57:03 -0000	1.19
+++ ChangeLog	21 Jun 2011 09:59:44 -0000	1.20
@@ -1,6 +1,9 @@
 # ChangeLog for sci-physics/camfr
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.19 2010/11/15 15:57:03 arfrever Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.20 2011/06/21 09:59:44 jlec Exp $
+
+  21 Jun 2011; Justin Lecher <jlec@gentoo.org> camfr-20070717-r2.ebuild:
+  Added fortran-2.eclass support
 
   15 Nov 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
   -camfr-20070717-r1.ebuild:



1.3                  sci-physics/camfr/camfr-20070717-r2.ebuild

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

Index: camfr-20070717-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- camfr-20070717-r2.ebuild	25 Jun 2010 22:37:22 -0000	1.2
+++ camfr-20070717-r2.ebuild	21 Jun 2011 09:59:44 -0000	1.3
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild,v 1.2 2010/06/25 22:37:22 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild,v 1.3 2011/06/21 09:59:44 jlec Exp $
 
 EAPI=2
 
@@ -8,7 +8,7 @@
 PYTHON_USE_WITH="tk"
 SUPPORT_PYTHON_ABIS="1"
 
-inherit eutils distutils toolchain-funcs
+inherit eutils fortran-2 distutils toolchain-funcs
 
 DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="true"
 






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

* [gentoo-commits] gentoo-x86 commit in sci-physics/camfr: ChangeLog camfr-20070717-r2.ebuild
@ 2011-06-21 14:41 Justin Lecher (jlec)
  0 siblings, 0 replies; 4+ messages in thread
From: Justin Lecher (jlec) @ 2011-06-21 14:41 UTC (permalink / raw
  To: gentoo-commits

jlec        11/06/21 14:41:10

  Modified:             ChangeLog camfr-20070717-r2.ebuild
  Log:
  Add dependency on virtual/fortran
  
  (Portage version: 2.2.0_alpha41/cvs/Linux x86_64)

Revision  Changes    Path
1.21                 sci-physics/camfr/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/ChangeLog?rev=1.21&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/ChangeLog?rev=1.21&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/ChangeLog?r1=1.20&r2=1.21

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ChangeLog	21 Jun 2011 09:59:44 -0000	1.20
+++ ChangeLog	21 Jun 2011 14:41:10 -0000	1.21
@@ -1,6 +1,9 @@
 # ChangeLog for sci-physics/camfr
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.20 2011/06/21 09:59:44 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.21 2011/06/21 14:41:10 jlec Exp $
+
+  21 Jun 2011; Justin Lecher <jlec@gentoo.org> camfr-20070717-r2.ebuild:
+  Add dependency on virtual/fortran
 
   21 Jun 2011; Justin Lecher <jlec@gentoo.org> camfr-20070717-r2.ebuild:
   Added fortran-2.eclass support



1.4                  sci-physics/camfr/camfr-20070717-r2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild?r1=1.3&r2=1.4

Index: camfr-20070717-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- camfr-20070717-r2.ebuild	21 Jun 2011 09:59:44 -0000	1.3
+++ camfr-20070717-r2.ebuild	21 Jun 2011 14:41:10 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild,v 1.3 2011/06/21 09:59:44 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild,v 1.4 2011/06/21 14:41:10 jlec Exp $
 
 EAPI=2
 
@@ -22,6 +22,8 @@
 IUSE=""
 
 RDEPEND="
+	virtual/fortran
+
 	dev-libs/blitz
 	dev-libs/boost[python]
 	dev-python/imaging[tk]






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

end of thread, other threads:[~2011-06-21 14:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-21  9:59 [gentoo-commits] gentoo-x86 commit in sci-physics/camfr: ChangeLog camfr-20070717-r2.ebuild Justin Lecher (jlec)
  -- strict thread matches above, loose matches on Subject: below --
2011-06-21 14:41 Justin Lecher (jlec)
2010-06-25 22:37 Arfrever Frehtes Taifersar Arahesis (arfrever)
2010-06-25 13:25 Justin Lecher (jlec)

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