From: "Christoph Junghans" <ottxor@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/votca-csg/
Date: Thu, 12 Feb 2015 00:44:17 +0000 (UTC) [thread overview]
Message-ID: <1423701819.214c303c7d361313ee0c5af916085d6201163d99.ottxor@gentoo> (raw)
commit: 214c303c7d361313ee0c5af916085d6201163d99
Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 12 00:43:39 2015 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Thu Feb 12 00:43:39 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=214c303c
added support of hdf5, clean up
Package-Manager: portage-2.2.14
---
sci-chemistry/votca-csg/ChangeLog | 5 +++-
sci-chemistry/votca-csg/votca-csg-9999.ebuild | 39 +++++++++------------------
2 files changed, 16 insertions(+), 28 deletions(-)
diff --git a/sci-chemistry/votca-csg/ChangeLog b/sci-chemistry/votca-csg/ChangeLog
index 621aa69..b4fa4f4 100644
--- a/sci-chemistry/votca-csg/ChangeLog
+++ b/sci-chemistry/votca-csg/ChangeLog
@@ -1,7 +1,10 @@
# ChangeLog for sci-chemistry/votca-csg
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 12 Feb 2015; Christoph Junghans <ottxor@gentoo.org> votca-csg-9999.ebuild:
+ added support of hdf5, clean up
+
24 Oct 2014; Christoph Junghans <ottxor@gentoo.org> votca-csg-9999.ebuild:
fixed bash-comp (bug #526320)
diff --git a/sci-chemistry/votca-csg/votca-csg-9999.ebuild b/sci-chemistry/votca-csg/votca-csg-9999.ebuild
index 94f2fc0..0b0b5be 100644
--- a/sci-chemistry/votca-csg/votca-csg-9999.ebuild
+++ b/sci-chemistry/votca-csg/votca-csg-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -8,7 +8,7 @@ CMAKE_MAKEFILE_GENERATOR="ninja"
inherit bash-completion-r1 cmake-utils multilib
-IUSE="doc examples extras +gromacs"
+IUSE="doc examples extras +gromacs hdf5"
PDEPEND="extras? ( =sci-chemistry/${PN}apps-${PV} )"
if [ "${PV}" != "9999" ]; then
SRC_URI="http://downloads.votca.googlecode.com/hg/${P}.tar.gz
@@ -30,12 +30,13 @@ SLOT="0"
RDEPEND="=sci-libs/votca-tools-${PV}
gromacs? ( sci-chemistry/gromacs:= )
+ hdf5? ( sci-libs/hdf5[cxx] )
dev-lang/perl
app-shells/bash"
DEPEND="${RDEPEND}
doc? (
- || ( <app-doc/doxygen-1.7.6.1[-nodot] >=app-doc/doxygen-1.7.6.1[dot] )
+ app-doc/doxygen[dot]
dev-texlive/texlive-latexextra
virtual/latex-base
dev-tex/pgf
@@ -53,7 +54,7 @@ src_unpack() {
use doc && mercurial_fetch \
https://code.google.com/p/votca.csg-manual/ \
votca.csg-manual \
- "${WORKDIR}/manual"
+ "${WORKDIR}/${PN}-manual"
use examples && mercurial_fetch \
https://code.google.com/p/votca.csg-tutorials/ \
votca.csg-tutorials \
@@ -62,23 +63,9 @@ src_unpack() {
}
src_configure() {
- local GMX_DEV="OFF" GMX_DOUBLE="OFF" extra
-
- if use gromacs; then
- has_version =sci-chemistry/gromacs-9999 && GMX_DEV="ON"
- has_version sci-chemistry/gromacs[double-precision] && GMX_DOUBLE="ON"
- fi
-
- #to create man pages, build tree binaries are executed (bug #398437)
- [[ ${CHOST} = *-darwin* ]] && \
- extra+=" -DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF"
-
mycmakeargs=(
$(cmake-utils_use_with gromacs GMX)
- -DWITH_GMX_DEVEL="${GMX_DEV}"
- -DGMX_DOUBLE="${GMX_DOUBLE}"
- -DCMAKE_INSTALL_RPATH="\\\$ORIGIN/../$(get_libdir)"
- ${extra}
+ $(cmake-utils_use_with hdf5 H5MD)
-DWITH_RC_FILES=OFF
-DLIB=$(get_libdir)
)
@@ -94,18 +81,16 @@ src_install() {
done
if use doc; then
if [[ ${PV} = *9999* ]]; then
- pushd "${WORKDIR}"/manual
+ #we need to do that here, because we need an installed version of csg to build the manual
[[ ${CHOST} = *-darwin* ]] && \
- export DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}${DYLD_LIBRARY_PATH:+:}${ED}/usr/$(get_libdir)"
- emake PATH="${PATH}${PATH:+:}${ED}/usr/bin"
- newdoc manual.pdf "${PN}-manual-${PV}.pdf"
- popd > /dev/null
+ emake -C "${WORKDIR}/${PN}"-manual PATH="${PATH}${PATH:+:}${ED}/usr/bin" DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}${DYLD_LIBRARY_PATH:+:}${ED}/usr/$(get_libdir)" \
+ || emake -C "${WORKDIR}/${PN}"-manual PATH="${PATH}${PATH:+:}${ED}/usr/bin" LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${LD_LIBRARY_PATH:+:}${ED}/usr/$(get_libdir)"
+ newdoc "${WORKDIR}/${PN}"-manual/manual.pdf "${PN}-manual-${PV}.pdf"
else
dodoc "${DISTDIR}/${PN}-manual-${PV}.pdf"
fi
- cd "${CMAKE_BUILD_DIR}" || die
- cmake-utils_src_make html
- dohtml -r share/doc/html/*
+ cmake-utils_src_make -C "${CMAKE_BUILD_DIR}" html
+ dohtml -r "${CMAKE_BUILD_DIR}"/share/doc/html/*
fi
if use examples; then
insinto "/usr/share/doc/${PF}/tutorials"
next reply other threads:[~2015-02-12 0:44 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-12 0:44 Christoph Junghans [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-07-14 17:31 [gentoo-commits] proj/sci:master commit in: sci-chemistry/votca-csg/ Christoph Junghans
2015-11-16 4:23 Christoph Junghans
2015-09-24 5:20 Christoph Junghans
2015-09-21 17:44 Justin Lecher
2014-10-24 3:33 Christoph Junghans
2014-09-01 0:21 Christoph Junghans
2014-02-27 23:01 Sebastien Fabbro
2013-03-09 1:48 Christoph Junghans
2013-01-30 5:28 Christoph Junghans
2012-12-31 3:17 Christoph Junghans
2012-07-25 1:24 Christoph Junghans
2012-07-18 2:53 Christoph Junghans
2012-03-24 22:46 Christoph Junghans
2011-11-05 2:33 Christoph Junghans
2011-11-05 2:33 Christoph Junghans
2011-11-03 23:51 Christoph Junghans
2011-09-10 15:04 Christoph Junghans
2011-09-10 14:57 Christoph Junghans
2011-09-05 17:13 Christoph Junghans
2011-08-25 20:33 Christoph Junghans
2011-08-14 15:04 Christoph Junghans
2011-07-17 13:14 Christoph Junghans
2011-07-17 12:38 Christoph Junghans
2011-06-24 17:09 Justin Lecher
2011-06-03 21:59 Christoph Junghans
2011-05-28 12:27 Christoph Junghans
2011-03-10 19:51 Christoph Junghans
2011-03-08 21:40 Christoph Junghans
2011-03-03 21:43 Christoph Junghans
2011-03-03 21:43 Christoph Junghans
2011-02-20 13:30 Christoph Junghans
2011-02-19 17:03 Christoph Junghans
2011-02-13 17:27 Christoph Junghans
2011-02-12 16:23 Christoph Junghans
2011-02-12 14:53 Christoph Junghans
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=1423701819.214c303c7d361313ee0c5af916085d6201163d99.ottxor@gentoo \
--to=ottxor@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