From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/visit/
Date: Mon, 25 Jun 2018 04:44:44 +0000 (UTC) [thread overview]
Message-ID: <1529901828.8d15a48ad10827cb9b28d3895d3cf41f7c739201.asturm@gentoo> (raw)
commit: 8d15a48ad10827cb9b28d3895d3cf41f7c739201
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 24 23:05:09 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jun 25 04:43:48 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d15a48a
sci-visualization/visit: Drop 2.12.3 (r0)
Package-Manager: Portage-2.3.40, Repoman-2.3.9
sci-visualization/visit/visit-2.12.3.ebuild | 113 ----------------------------
1 file changed, 113 deletions(-)
diff --git a/sci-visualization/visit/visit-2.12.3.ebuild b/sci-visualization/visit/visit-2.12.3.ebuild
deleted file mode 100644
index 59ee01722b4..00000000000
--- a/sci-visualization/visit/visit-2.12.3.ebuild
+++ /dev/null
@@ -1,113 +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/simulation/computer-codes/visit"
-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.1.0*[imaging,mpi=,python,rendering,qt5,xdmf2?,${PYTHON_USEDEP}]
- dev-qt/qtx11extras:5
- sys-libs/zlib
- x11-libs/qwt:6[qt5]"
-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"
- "${FILESDIR}/${P}-qwt.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
- -DVISIT_QWT_DIR="${EPREFIX}/usr"
- -DVISIT_QT5=true
- -DVISIT_QT_DIR=/usr/lib/qt5/
- $(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"
-}
next reply other threads:[~2018-06-25 4:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-25 4:44 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-09-14 16:33 [gentoo-commits] repo/gentoo:master commit in: sci-visualization/visit/ Richard Yao
2018-06-25 4:44 Andreas Sturmlechner
2018-06-25 4:44 Andreas Sturmlechner
2018-06-25 4:44 Andreas Sturmlechner
2018-06-25 4:44 Andreas Sturmlechner
2017-11-17 7:50 Slawek Lis
2017-09-21 13:57 Michael Palimaka
2017-08-30 7:42 Slawek Lis
2017-08-30 7:42 Slawek Lis
2017-08-16 10:28 Slawek Lis
2017-08-14 5:32 Slawek Lis
2017-06-05 6:26 Slawek Lis
2016-05-13 4:46 Slawek Lis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1529901828.8d15a48ad10827cb9b28d3895d3cf41f7c739201.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox