diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-12-16 11:53:04 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-12-16 11:53:04 +0100 |
commit | 0f2b7f545c360f6ffc87ae81c6ce57f11f9392a6 (patch) | |
tree | 45f0e56f3c50d8cc8f1ad8809372b665ce2c0027 /sci-misc | |
parent | sci-mathematics/netgen: fix inherits (diff) | |
download | sci-0f2b7f545c360f6ffc87ae81c6ce57f11f9392a6.tar.gz sci-0f2b7f545c360f6ffc87ae81c6ce57f11f9392a6.tar.bz2 sci-0f2b7f545c360f6ffc87ae81c6ce57f11f9392a6.zip |
sci-misc/elmer-fem: drop old
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-misc')
-rw-r--r-- | sci-misc/elmer-fem/elmer-fem-9.0.ebuild | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/sci-misc/elmer-fem/elmer-fem-9.0.ebuild b/sci-misc/elmer-fem/elmer-fem-9.0.ebuild deleted file mode 100644 index b576bbdb6..000000000 --- a/sci-misc/elmer-fem/elmer-fem-9.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -FORTRAN_STANDARD=90 - -inherit fortran-2 flag-o-matic cmake multilib - -ELMER_ROOT="elmerfem" -MY_PN=${PN/elmer-/} - -DESCRIPTION="Finite element programs, libraries, and visualization tools" -HOMEPAGE="https://www.csc.fi/web/elmer http://www.elmerfem.org/blog/" -SRC_URI="https://github.com/ElmerCSC/elmerfem/archive/release-${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="ice gui matc mpi post test" -RESTRICT="!test? ( test )" - -RDEPEND=" - virtual/blas - virtual/lapack - !sci-libs/arpack - mpi? ( sys-cluster/openmpi ) - post? ( - dev-lang/tcl:0= - dev-lang/tk:0= - ) - gui? ( x11-libs/qwt:6 ) -" -DEPEND="${RDEPEND}" -# Note this seems to only configure correctly with the elmer version of umfpack -# But this doesn't stop it from compiling / working without it - -PATCHES=( - "${FILESDIR}/${PN}-ElmerIce-compile.patch" -) - -S="${WORKDIR}/elmerfem-release-${PV}" - -src_prepare() { - cmake_src_prepare - sed -i '/#include <QPainter>/a #include <QPainterPath>' ElmerGUI/Application/twod/renderarea.cpp || die - test-flag-FC -fallow-argument-mismatch && append-fflags -fallow-argument-mismatch - test-flag-FC -fallow-invalid-boz && append-fflags -fallow-invalid-boz - # TODO: fix the tests, fails in compile phase: multiple rules to make target - rm -r fem/tests/* || die - touch fem/tests/CMakeLists.txt || die -} - -src_configure() { - local mycmakeargs=( - -DMPI_Fortran_COMPILE_FLAGS="$FCFLAGS" - -DCMAKE_Fortran_FLAGS="$FCFLAGS" - -DELMER_INSTALL_LIB_DIR="/usr/$(get_libdir)" - -DWITH_MPI="$(usex mpi)" - -DWITH_OpenMP="$(usex mpi)" - -DWITH_MATC="$(usex matc)" - -DWITH_ElmerIce="$(usex ice)" - -DWITH_ELMERPOST="$(usex post)" - -DWITH_ELMERGUI="$(usex gui)" - -DWITH_QT5="$(usex gui)" - -DWITH_QWT="$(usex gui)" - -DQWT_INCLUDE_DIR="/usr/include/qwt6" - -DQWT_LIBRARY="/usr/$(get_libdir)/libqwt6-qt5.so" - -DBUILD_TESTING="$(usex test)" - ) - cmake_src_configure -} |