public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Christoph Junghans" <kleiner_otti@gmx.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/votca-csg/
Date: Sun, 17 Jul 2011 12:38:18 +0000 (UTC)	[thread overview]
Message-ID: <e3392a27d155f2d9fe4402d39a3dd84703ecc224.kleiner_otti@gentoo> (raw)

commit:     e3392a27d155f2d9fe4402d39a3dd84703ecc224
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 17 12:38:03 2011 +0000
Commit:     Christoph Junghans <kleiner_otti <AT> gmx <DOT> de>
CommitDate: Sun Jul 17 12:38:03 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e3392a27

[sci-chemistry/votca-csg] Added IUSE=examples

(Portage version: 2.1.10.3/git/Linux i686, signed Manifest commit with key C2000586)

---
 sci-chemistry/votca-csg/ChangeLog             |    3 ++
 sci-chemistry/votca-csg/votca-csg-9999.ebuild |   28 ++++++++++++++++---------
 2 files changed, 21 insertions(+), 10 deletions(-)

diff --git a/sci-chemistry/votca-csg/ChangeLog b/sci-chemistry/votca-csg/ChangeLog
index 940b1ba..e74f9ef 100644
--- a/sci-chemistry/votca-csg/ChangeLog
+++ b/sci-chemistry/votca-csg/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  17 Jul 2011; Christoph Junghans <ottxor@gentoo.org> votca-csg-9999.ebuild:
+  Added IUSE=examples
+
   24 Jun 2011; Justin Lecher <jlec@gentoo.org> votca-csg-9999.ebuild:
   Sort inherit and/or USE
 

diff --git a/sci-chemistry/votca-csg/votca-csg-9999.ebuild b/sci-chemistry/votca-csg/votca-csg-9999.ebuild
index 224fa2a..8e017c4 100644
--- a/sci-chemistry/votca-csg/votca-csg-9999.ebuild
+++ b/sci-chemistry/votca-csg/votca-csg-9999.ebuild
@@ -2,14 +2,16 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=3
+EAPI=4
 
 inherit bash-completion cmake-utils
 
-MANUAL_PV=1.1
+MANUAL_PV=1.2
+TUTORIAL_PV=1.2
 if [ "${PV}" != "9999" ]; then
 	SRC_URI="http://votca.googlecode.com/files/${PF}.tar.gz
-		doc? ( http://votca.googlecode.com/files/votca-manual-${MANUAL_PV}.pdf )"
+		doc? ( http://votca.googlecode.com/files/votca-manual-${MANUAL_PV}.pdf )
+		examples? (	http://votca.googlecode.com/files/votca-tutorials-${TUTORIAL_PV}.tar.gz )"
 	RESTRICT="primaryuri"
 else
 	SRC_URI=""
@@ -17,7 +19,8 @@ else
 	EHG_REPO_URI="https://csg.votca.googlecode.com/hg"
 	EHG_REVISION="default"
 	S="${WORKDIR}/${EHG_REPO_URI##*/}"
-	PDEPEND="doc? ( =app-doc/votca-csg-manual-${PV} )"
+	PDEPEND="doc? ( =app-doc/votca-csg-manual-${PV} )
+		examples? ( =sci-chemistry/votca-csg-tutorials-${PV} )"
 fi
 
 DESCRIPTION="Votca coarse-graining engine"
@@ -26,7 +29,7 @@ HOMEPAGE="http://www.votca.org"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~x86 ~amd64"
-IUSE="-boost doc +gromacs"
+IUSE="-boost doc examples +gromacs"
 
 RDEPEND="=sci-libs/votca-tools-${PV}[boost=]
 	gromacs? ( sci-chemistry/gromacs )
@@ -50,21 +53,26 @@ src_configure() {
 		${extra}
 		-DWITH_RC_FILES=OFF
 	)
-	cmake-utils_src_configure || die
+	cmake-utils_src_configure
 }
 
 src_install() {
 	DOCS=(README NOTICE ${CMAKE_BUILD_DIR}/CHANGELOG)
-	dobashcompletion scripts/csg-completion.bash ${PN} || die
-	cmake-utils_src_install || die
+	dobashcompletion scripts/csg-completion.bash ${PN}
+	cmake-utils_src_install
 	if use doc; then
 		if [ -n "${PV##*9999}" ]; then
-			dodoc "${DISTDIR}/votca-manual-${MANUAL_PV}.pdf" || die
+			dodoc "${DISTDIR}/votca-manual-${MANUAL_PV}.pdf"
 		fi
 		cd "${CMAKE_BUILD_DIR}" || die
 		cd share/doc || die
 		doxygen || die
-		dohtml -r html/* || die
+		dohtml -r html/*
+	fi
+	if use examples && [ -n "${PV##*9999}" ]; then
+		insinto "/usr/share/doc/${PF}/tutorials"
+		docompress -x "/usr/share/doc/${PF}/tutorials"
+		doins -r "${WORKDIR}/votca-tutorials-${TUTORIAL_PV}"/*
 	fi
 }
 



             reply	other threads:[~2011-07-17 12:38 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-17 12:38 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
2015-02-12  0:44 Christoph Junghans
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-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=e3392a27d155f2d9fe4402d39a3dd84703ecc224.kleiner_otti@gentoo \
    --to=kleiner_otti@gmx.de \
    --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