summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-10-04 13:21:13 +0200
committerMichał Górny <mgorny@gentoo.org>2019-10-04 13:21:13 +0200
commit83904043241454669bd7b93150e98b3f9ed74854 (patch)
tree6959f6fd510665a2b8b7e0b1f23f8393536ad151 /sci-libs
parentapp-admin/consolehm: Remove last-rited pkg (diff)
downloadgentoo-83904043241454669bd7b93150e98b3f9ed74854.tar.gz
gentoo-83904043241454669bd7b93150e98b3f9ed74854.tar.bz2
gentoo-83904043241454669bd7b93150e98b3f9ed74854.zip
sci-libs/openfoam-bin: Remove last-rited pkg
Closes: https://bugs.gentoo.org/688504 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/openfoam-bin/Manifest4
-rw-r--r--sci-libs/openfoam-bin/metadata.xml11
-rw-r--r--sci-libs/openfoam-bin/openfoam-bin-1.6.ebuild107
3 files changed, 0 insertions, 122 deletions
diff --git a/sci-libs/openfoam-bin/Manifest b/sci-libs/openfoam-bin/Manifest
deleted file mode 100644
index 1dfcbc0eb620..000000000000
--- a/sci-libs/openfoam-bin/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST OpenFOAM-1.6-compile.patch.bz2 5835 BLAKE2B 2fe8f45180cf8bac09047f0e59e758782442adc482144d2cb5cd9c860e985e2c196e58ac45c4066f6efb0896e7e3539f388d876c9088b85a4772605a1554b48d SHA512 625d6b30444bb5cfabd81b94ffcdad082dabafc7ee59eb70ab2f6cf816ee395bc7b9b5697308ed95a83c75cf2778ebd03eaa284fbcc3c17c226ac7443f5e76df
-DIST OpenFOAM-1.6.General.tgz 241760751 BLAKE2B 34670d7b3ffc47cc78729a9f84c036d5f2de11d4c478e437ed3fef5c5d19a77b35da682ddb28e63a4d7148e4c6b4edcf19c86d7c005eebb7fd01ab1622d18a06 SHA512 88988426c5cbb980e0df82c0a8b6396490c8ac6f6a3633da9d3629f5a017849b4d8637cc0f5003e33f0dd5825003b9405ede6f868b5f747be5afb6f31c96d128
-DIST OpenFOAM-1.6.linux64GccDPOpt.tgz 44957838 BLAKE2B 058b2befa8beb438aedc5ade8d31067ec8938875f861bec9b9967cb4803f0994af205e84d79438cf3dbf9a890a76effaf24368843e7b6469651c7ba7591d51b3 SHA512 bc9f428d729b918597db5b507cb2d558ce52d3faeb1eabcb9b2382a4d4b937906073d336e98e1b5bc1c5a62d0658603348abd7870695001215e467033a8d8f02
-DIST OpenFOAM-1.6.linuxGccDPOpt.tgz 41587474 BLAKE2B c8f585b7e3fd20514ffc57d10aa2dd7e93c4aaa78ffa090f31a1f5d45854b457e1887adaf6504e0a92422674c2b0babce9eb3d725547e53e3430bd065cceeb7e SHA512 54c764780d563555766c4c4507b6fdd3f138a1cf7ec29e557a8ebc7040aee8626ce80672cf258196fbbabfedea21916ba5dc9dcab94a54d45fbae90ff0edee4b
diff --git a/sci-libs/openfoam-bin/metadata.xml b/sci-libs/openfoam-bin/metadata.xml
deleted file mode 100644
index 33f20063ea80..000000000000
--- a/sci-libs/openfoam-bin/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>patrick@gentoo.org</email>
- <name>Patrick Lauer</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">foam</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sci-libs/openfoam-bin/openfoam-bin-1.6.ebuild b/sci-libs/openfoam-bin/openfoam-bin-1.6.ebuild
deleted file mode 100644
index bef10456aa1b..000000000000
--- a/sci-libs/openfoam-bin/openfoam-bin-1.6.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="2"
-
-inherit eutils versionator multilib toolchain-funcs
-
-MY_PN="OpenFOAM"
-MY_PV=$(get_version_component_range 1-2)
-MY_P="${MY_PN}-${MY_PV}"
-
-DESCRIPTION="Open Field Operation and Manipulation - CFD Simulation Toolbox"
-HOMEPAGE="http://www.opencfd.co.uk/openfoam/"
-SRC_URI="mirror://sourceforge/foam/${MY_P}.General.gtgz -> ${MY_P}.General.tgz
- x86? ( mirror://sourceforge/foam/${MY_P}.linuxGccDPOpt.gtgz -> ${MY_P}.linuxGccDPOpt.tgz )
- amd64? ( mirror://sourceforge/foam/${MY_P}.linux64GccDPOpt.gtgz -> ${MY_P}.linux64GccDPOpt.tgz )
- mirror://gentoo/${MY_P}-compile.patch.bz2"
-
-LICENSE="GPL-2"
-SLOT="1.6"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="examples doc"
-
-DEPEND="!=sci-libs/openfoam-${MY_PV}*
- !=sci-libs/openfoam-kernel-${MY_PV}*
- !=sci-libs/openfoam-meta-${MY_PV}*
- !=sci-libs/openfoam-solvers-${MY_PV}*
- !=sci-libs/openfoam-utilities-${MY_PV}*
- !=sci-libs/openfoam-wmake-${MY_PV}*
- sci-visualization/opendx
- virtual/mpi"
-RDEPEND="${DEPEND}
- =sys-libs/ncurses-5*"
-
-S=${WORKDIR}/${MY_P}
-INSDIR="/usr/$(get_libdir)/${MY_PN}/${MY_P}"
-
-pkg_setup() {
- ## binaries are compiled with gcc-4.3.3
- if ! version_is_at_least 4.3 $(gcc-version) ; then
- die "${PN} requires >=sys-devel/gcc-4.3 in order to run."
- fi
-
- elog
- elog "In order to use ${MY_PN} you should add the following line to ~/.bashrc :"
- elog
- elog "alias startOF$(delete_all_version_separators ${MY_PV})='source ${INSDIR}/etc/bashrc'"
- elog
- elog "And everytime you want to use OpenFOAM you have to execute startOF$(delete_all_version_separators ${MY_PV})"
- ewarn
- ewarn "FoamX is deprecated since ${MY_PN}-1.5! "
- ewarn
-}
-
-src_prepare() {
- epatch "${WORKDIR}"/${MY_P}-compile.patch
-}
-
-src_configure() {
- if has_version sys-cluster/mpich2 ; then
- export WM_MPLIB=MPICH
- export MPI_VERSION=mpich
- elif has_version sys-cluster/openmpi ; then
- export WM_MPLIB=OPENMPI
- export MPI_VERSION=openmpi
- else
- die "You need one of the following mpi implementations: openmpi, mpich2"
- fi
-
- sed -i -e "s|WM_MPLIB:=OPENMPI|WM_MPLIB:="${WM_MPLIB}"|" etc/bashrc
- sed -i -e "s|setenv WM_MPLIB OPENMPI|setenv WM_MPLIB "${WM_MPLIB}"|" etc/cshrc
-
- use x86 && WM_OPTIONS="linuxGccDPOpt"
- use amd64 && WM_OPTIONS="linux64GccDPOpt"
-
- mv lib/${WM_OPTIONS}/$MPI_VERSION* lib/${WM_OPTIONS}/$MPI_VERSION
-}
-
-src_test() {
- cd bin
- ./foamInstallationTest
-}
-
-src_install() {
- insinto ${INSDIR}
- doins -r etc
-
- use examples && doins -r tutorials
-
- insopts -m0755
- doins -r bin
-
- insinto ${INSDIR}/applications/bin
- doins -r applications/bin/${WM_OPTIONS}/*
-
- insinto ${INSDIR}/lib
- doins -r lib/${WM_OPTIONS}/*
-
- insinto ${INSDIR}/wmake
- doins -r wmake/*
-
- dodoc {doc/Guides-a4/*.pdf,README}
-
- if use doc ; then
- dohtml -r doc/Doxygen
- fi
-}