summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Bräunlich <wippbox@gmx.net>2016-10-30 13:22:36 +0100
committerDavid Seifert <soap@gentoo.org>2016-10-31 09:04:02 +0100
commitb8a1d8bb027d111d70808d6456df5662fa1ff4a6 (patch)
treee94aef720b4a501bd2b5cafde9c0e2dda207be28 /sci-physics/meep
parentdev-python/nbconvert: Fix test call and dependencies (diff)
downloadgentoo-b8a1d8bb027d111d70808d6456df5662fa1ff4a6.tar.gz
gentoo-b8a1d8bb027d111d70808d6456df5662fa1ff4a6.tar.bz2
gentoo-b8a1d8bb027d111d70808d6456df5662fa1ff4a6.zip
sci-physics/meep: Version bump to 1.3, EAPI bump 4 -> 6
Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/2699 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-physics/meep')
-rw-r--r--sci-physics/meep/Manifest1
-rw-r--r--sci-physics/meep/meep-1.3.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/sci-physics/meep/Manifest b/sci-physics/meep/Manifest
index c31932049131..45eac3277724 100644
--- a/sci-physics/meep/Manifest
+++ b/sci-physics/meep/Manifest
@@ -1,2 +1,3 @@
DIST meep-1.1.1.tar.gz 751244 SHA256 7a97b5555da1f9ea2ec6eed5c45bd97bcd6ddbd54bdfc181f46c696dffc169f2 SHA512 cc081b7c63dc4ecda600dd5f55b3833f25fcfd1c1fded0af3a9bbd0471e36f0e54045a78ea52c99ca8aa3beccbe8e6e8afccbbadf869cd5b926a765b0c32618a WHIRLPOOL 2a894c63cb5bf4e907cc3da90ac3c5ff53f181b1e2d9695876806b3b67cb0da5fbc239033ffc33f84d1510bb5851910b33ead9b49dc769ce39e6fd420d990f78
DIST meep-1.2.tar.gz 807522 SHA256 2734737b8053a45942bc1a50933d63b6fd18c7dc3cf33e92e0815ece93138942 SHA512 f7b25183491881d59653ba5bc727a2b4f5deb126d515ff7ed5df7a1f9d31a5161b720348e65f45b9c76004be44714c606c4b8063f855b5cc97ff7757bd5a5656 WHIRLPOOL 54940326d8f304a57c2dd69c411ef394f44cd2c57367f16a4a0dd6d3fa6df0ee01e0b0081048b4ec3fd8eff404e76507d6dea5db1b9b975096a40d34d1595080
+DIST meep-1.3.tar.gz 740890 SHA256 564c1ff1b413a3487cf81048a45deabfdac4243a1a37ce743f4fcf0c055fd438 SHA512 4ad8d68f27d9971fe6dd4b8440f78d5b141fe747a80c50da55ecbc56a5beb0c2d31441fb46b54cac3c62d4cb34cb1ce6819c06bd2c54bc35f129ba683dc84aea WHIRLPOOL cc7a5ae88a7c3ccaabd47472ce706465b38d35598288c7d35c237d34ce691d021a5f1ab3c6fe754a0f039ed9cb0ea04cfe883555c2377f7ee2e34f2ab8424944
diff --git a/sci-physics/meep/meep-1.3.ebuild b/sci-physics/meep/meep-1.3.ebuild
new file mode 100644
index 000000000000..8d0317c11dd1
--- /dev/null
+++ b/sci-physics/meep/meep-1.3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Simulation software to model electromagnetic systems"
+HOMEPAGE="http://ab-initio.mit.edu/meep/"
+SRC_URI="http://ab-initio.mit.edu/meep/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples hdf5 guile mpi"
+
+RDEPEND="
+ sci-libs/fftw:3.0=
+ sci-libs/gsl:=
+ sci-physics/harminv
+ guile? ( >=sci-libs/libctl-3.2 )
+ hdf5? ( sci-libs/hdf5:= )
+ mpi? ( virtual/mpi )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.2-pc-no-ldflags.patch
+ "${FILESDIR}"/${PN}-1.2-no-auto-mpb.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_with mpi) \
+ $(use_with hdf5) \
+ $(use_with guile libctl)
+}
+
+src_test() {
+ # pml test buggy with optimization on
+ # http://thread.gmane.org/gmane.comp.science.electromagnetism.meep.general/4579
+ emake -C tests pml CXXFLAGS="-O0"
+ emake check
+}
+
+src_install() {
+ default
+
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}