summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlawomir Lis <slis@gentoo.org>2017-08-30 09:42:19 +0200
committerSlawomir Lis <slis@gentoo.org>2017-08-30 09:42:48 +0200
commitfa290567dae1d7ab68d85db7425985b56b08ea81 (patch)
treed893778d7faf692e5ac84dc33ae9155f7df8558f /sci-visualization/visit
parentsci-visualization/visit: dropped old versions (diff)
downloadgentoo-fa290567dae1d7ab68d85db7425985b56b08ea81.tar.gz
gentoo-fa290567dae1d7ab68d85db7425985b56b08ea81.tar.bz2
gentoo-fa290567dae1d7ab68d85db7425985b56b08ea81.zip
sci-visualization/visit: drop old
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'sci-visualization/visit')
-rw-r--r--sci-visualization/visit/Manifest2
-rw-r--r--sci-visualization/visit/visit-2.10.3.ebuild107
2 files changed, 1 insertions, 108 deletions
diff --git a/sci-visualization/visit/Manifest b/sci-visualization/visit/Manifest
index 8feaeb11e41a..2b71009fc4ec 100644
--- a/sci-visualization/visit/Manifest
+++ b/sci-visualization/visit/Manifest
@@ -1 +1 @@
-DIST visit2.10.3.tar.gz 89181392 SHA256 05018215c4727eb42d47bb5cc4ff937b2a2ccaca90d141bc7fa426a0843a5dbc SHA512 f7e74191e4ac07da3a1323f1e60581c4a2f8ef439c23a26156e45d8ec2fb4f6decc5593ba4556209ad275ceeb6ffaaccc87d5d623e341771ab97e382cf406c59 WHIRLPOOL 948edb4113f4c5b16e231429c9decc8207d5e9502e0b4ecb47abacc8594187509899cce1e2ee04a4f7ff8e678f8ded047d6ffabe95d92eca493336a943112050
+DIST visit2.12.3.tar.gz 2192737 SHA256 32437b17c50bf001462510f201db2cc7d3e5c8963ae2eb689b20b3f7d60aa35e SHA512 6a3746efb117c55b2403e78e75b5b67afb89e0695717b055b6bcf23c65f453564e09b283b5e6e5c98234196911c2c53898412be6e4c27c21e9fadf8947a9bd26 WHIRLPOOL fa1cf63cea41daf0e1ecce3e7b8c6aa7cc8dd712d35c68bdce730d11b57c5c930b002b8682cf100107cfc0081a2f01bfd3ca91e9d6ff8f3d310f674196c6937c
diff --git a/sci-visualization/visit/visit-2.10.3.ebuild b/sci-visualization/visit/visit-2.10.3.ebuild
deleted file mode 100644
index a606b27ca2ad..000000000000
--- a/sci-visualization/visit/visit-2.10.3.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-utils python-single-r1
-
-DESCRIPTION="A software that delivers parallel interactive visualizations"
-HOMEPAGE="https://wci.llnl.gov/codes/visit/home.html"
-SRC_URI="http://portal.nersc.gov/svn/visit/trunk/releases/${PV}/${PN}${PV}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="cgns debug hdf5 mpi netcdf silo tcmalloc threads xdmf2"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
- ${PYTHON_DEPS}
- tcmalloc? ( dev-util/google-perftools )
- cgns? ( sci-libs/cgnslib )
- hdf5? ( sci-libs/hdf5 )
- netcdf? ( sci-libs/netcdf )
- silo? ( sci-libs/silo )
- >=sci-libs/vtk-6.0.0[imaging,mpi=,python,rendering,qt4,xdmf2?,${PYTHON_USEDEP}]
- sys-libs/zlib"
-DEPEND="${RDEPEND}
- xdmf2? ( sci-libs/xdmf2 )
-"
-
-S="${WORKDIR}/${PN}${PV}/src"
-PATCHES=(
- "${FILESDIR}/${P}-findpython.patch"
- "${FILESDIR}/${P}-findsilo.patch"
- "${FILESDIR}/${P}-findvtk.patch"
- "${FILESDIR}/${P}-vtklibs.patch"
- "${FILESDIR}/${P}-dont_symlink_visit_dir.patch"
- "${FILESDIR}/${P}-cmakelist.patch"
-)
-
-src_prepare() {
- for p in ${PATCHES[@]} ; do
- epatch "${p}"
- done
- if use mpi ; then
- epatch "${FILESDIR}/${P}-vtkmpi.patch"
- fi
-
- sed -i 's/exec python $frontendlauncherpy $0 ${1+"$@"}/exec '${EPYTHON}' $frontendlauncherpy $0 ${1+"$@"}/g' "bin/frontendlauncher"
-}
-
-src_configure() {
- local mycmakeargs=(
- -DCMAKE_INSTALL_PREFIX=/opt/visit
- -DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
- -DPYTHON_DIR="${EPREFIX}/usr"
- -DVISIT_PYTHON_SKIP_INSTALL=true
- -DVISIT_VTK_SKIP_INSTALL=true
- -DQT_BIN="${EPREFIX}/usr/bin"
- -DVISIT_ZLIB_DIR="${EPREFIX}/usr"
- -DVISIT_HEADERS_SKIP_INSTALL=false
- $(cmake-utils_use threads VISIT_THREAD)
- )
- if use hdf5; then
- mycmakeargs+=( -DHDF5_DIR="${EPREFIX}/usr" )
- fi
- if use tcmalloc; then
- mycmakeargs+=( -DTCMALLOC_DIR="${EPREFIX}/usr" )
- fi
- if use cgns; then
- mycmakeargs+=( -DCGNS_DIR="${EPREFIX}/usr" )
- fi
- if use silo; then
- mycmakeargs+=( -DSILO_DIR="${EPREFIX}/usr" )
- fi
- if use netcdf; then
- mycmakeargs+=( -DNETCDF_DIR="${EPREFIX}/usr" )
- fi
- if use xdmf2; then
- mycmakeargs+=( -DOPT_VTK_MODS="vtklibxml2" -DVISIT_XDMF_DIR=/usr/ )
- fi
-
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- PACKAGES_DIR="${ROOT}opt/${PN}/${PV}/linux-$(arch)/lib/site-packages"
- cd "${ED}${PACKAGES_DIR}"
- for i in *; do
- dosym "${PACKAGES_DIR}/${i}" "$(python_get_sitedir)/$i"
- done
-
- cat > "${T}"/99visit <<- EOF
- PATH=${EPREFIX}/opt/${PN}/bin
- LDPATH=${EPREFIX}/opt/${PN}/${PV}/linux-$(arch)/lib/
- EOF
- doenvd "${T}"/99visit
-}
-
-pkg_postinst () {
- ewarn "Remember to run "
- ewarn "env-update && source /etc/profile"
- ewarn "if you want to use visit in already opened session"
-}