public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Christoph Junghans" <junghans@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/votca-csg/
Date: Sun,  3 Sep 2017 14:55:07 +0000 (UTC)	[thread overview]
Message-ID: <1504450493.a43b03361a35f013dffbe8b82875763d40919a81.junghans@gentoo> (raw)

commit:     a43b03361a35f013dffbe8b82875763d40919a81
Author:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  3 14:20:44 2017 +0000
Commit:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
CommitDate: Sun Sep  3 14:54:53 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a43b0336

sci-chemistry/votca-csg: live ebuild update

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 sci-chemistry/votca-csg/metadata.xml          |  2 +-
 sci-chemistry/votca-csg/votca-csg-9999.ebuild | 17 ++---------------
 2 files changed, 3 insertions(+), 16 deletions(-)

diff --git a/sci-chemistry/votca-csg/metadata.xml b/sci-chemistry/votca-csg/metadata.xml
index e078f2b2995..795272141d7 100644
--- a/sci-chemistry/votca-csg/metadata.xml
+++ b/sci-chemistry/votca-csg/metadata.xml
@@ -14,6 +14,6 @@
 		<flag name="extras">Pull in extra applications from <pkg>sci-chemistry/votca-csgapps</pkg></flag>
 	</use>
 	<upstream>
-		<remote-id type="github">votca/csg-tutorials</remote-id>
+		<remote-id type="github">votca/csg</remote-id>
 	</upstream>
 </pkgmetadata>

diff --git a/sci-chemistry/votca-csg/votca-csg-9999.ebuild b/sci-chemistry/votca-csg/votca-csg-9999.ebuild
index b3ef0f312d8..ea6ac3506f7 100644
--- a/sci-chemistry/votca-csg/votca-csg-9999.ebuild
+++ b/sci-chemistry/votca-csg/votca-csg-9999.ebuild
@@ -19,6 +19,7 @@ else
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/${PN/-//}.git"
 	KEYWORDS=""
+	PDEPEND="${PDEPEND} doc? ( =app-doc/${PN}-manual-${PV} )"
 fi
 
 DESCRIPTION="Votca coarse-graining engine"
@@ -51,12 +52,6 @@ src_unpack() {
 		default
 	else
 		git-r3_src_unpack
-		if use doc; then
-			EGIT_REPO_URI="https://github.com/${PN/-//}-manual.git"
-			EGIT_BRANCH="master"
-			EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-manual"\
-				git-r3_src_unpack
-		fi
 		if use examples; then
 			EGIT_REPO_URI="https://github.com/${PN/-//}-tutorials.git"
 			EGIT_BRANCH="master"
@@ -84,15 +79,7 @@ src_install() {
 		bashcomp_alias csg_call "${i##*/}"
 	done
 	if use doc; then
-		if [[ ${PV} = *9999* ]]; then
-			#we need to do that here, because we need an installed version of csg to build the manual
-			[[ ${CHOST} = *-darwin* ]] && \
-				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
+		[[ ${PV} != *9999* ]] && dodoc "${DISTDIR}/${PN}-manual-${PV}.pdf"
 		cmake-utils_src_make -C "${CMAKE_BUILD_DIR}" html
 		dodoc -r "${CMAKE_BUILD_DIR}"/share/doc/html
 	fi


             reply	other threads:[~2017-09-03 14:55 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-03 14:55 Christoph Junghans [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-01 19:36 [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/votca-csg/ Andreas Sturmlechner
2022-02-20 14:58 Christoph Junghans
2022-02-20 14:58 Christoph Junghans
2022-02-20 14:58 Christoph Junghans
2021-09-19 15:20 Christoph Junghans
2021-07-18 23:24 Christoph Junghans
2021-04-05 16:53 Andreas Sturmlechner
2021-03-28 10:02 Agostino Sarubbo
2021-03-27 16:07 Sam James
2021-03-19 19:46 Christoph Junghans
2021-03-14 19:15 Christoph Junghans
2021-02-28 18:08 Andreas Sturmlechner
2021-01-18 10:14 David Seifert
2021-01-13  1:20 Christoph Junghans
2021-01-13  1:20 Christoph Junghans
2021-01-06 15:10 Fabian Groffen
2020-12-10 19:26 Christoph Junghans
2020-11-04 16:08 Christoph Junghans
2020-11-03 19:48 Christoph Junghans
2020-08-22 23:36 Christoph Junghans
2020-06-21 15:41 Christoph Junghans
2020-04-18  5:01 Christoph Junghans
2020-01-12 21:51 Christoph Junghans
2020-01-12 20:06 Christoph Junghans
2019-11-22  2:26 Christoph Junghans
2019-05-20 11:03 Mikle Kolyada
2019-05-06 16:41 Christoph Junghans
2019-01-31 20:16 Christoph Junghans
2018-11-24 23:44 Christoph Junghans
2018-10-25  0:44 Christoph Junghans
2018-09-28 12:37 Christoph Junghans
2017-09-03 13:41 Christoph Junghans
2017-07-30 10:04 Michał Górny
2016-12-20 14:30 Tobias Klausmann
2016-11-25 21:50 Christoph Junghans
2016-11-24  5:04 Christoph Junghans
2016-11-14  2:01 Christoph Junghans
2016-10-29 21:41 Christoph Junghans
2016-09-27 18:13 Christoph Junghans
2016-08-19 21:59 Christoph Junghans
2016-07-14 17:30 Christoph Junghans
2016-04-19 20:17 Ian Stakenvicius
2016-01-22 18:51 Michael Palimaka
2016-01-15 22:30 Christoph Junghans
2015-09-24  5:20 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=1504450493.a43b03361a35f013dffbe8b82875763d40919a81.junghans@gentoo \
    --to=junghans@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