From: "Nicolas Bock" <nicolasbock@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sys-cluster/charm/
Date: Fri, 27 Sep 2013 20:07:46 +0000 (UTC) [thread overview]
Message-ID: <1380312433.d6c53b0a3c9f52a30f077536de11332d955312b1.nicolasbock@gentoo> (raw)
commit: d6c53b0a3c9f52a30f077536de11332d955312b1
Author: Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Fri Sep 27 20:07:13 2013 +0000
Commit: Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Fri Sep 27 20:07:13 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=d6c53b0a
sys-cluster/charm-6.5.1-r1: Added python dependencies
The documentation is built partly with python2.x scripts. I added the
necessary dependencies.
Package-Manager: portage-2.2.1
---
sys-cluster/charm/ChangeLog | 4 ++++
sys-cluster/charm/charm-6.5.1-r1.ebuild | 22 ++++++++++++++--------
2 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/sys-cluster/charm/ChangeLog b/sys-cluster/charm/ChangeLog
index fa7dd1d..d005b5f 100644
--- a/sys-cluster/charm/ChangeLog
+++ b/sys-cluster/charm/ChangeLog
@@ -3,6 +3,10 @@
# $Header: $
27 Sep 2013; Nicolas Bock <nicolasbock@gmail.com> charm-6.5.1-r1.ebuild:
+ sys-cluster/charm-6.5.1-r1: Added python dependencies The documentation is
+ built partly with python2.x scripts. I added the necessary dependencies.
+
+ 27 Sep 2013; Nicolas Bock <nicolasbock@gmail.com> charm-6.5.1-r1.ebuild:
sys-cluster/charm-6.5.1-r1: doc depends on python-2
27 Sep 2013; Nicolas Bock <nicolasbock@gmail.com> charm-6.5.1-r1.ebuild:
diff --git a/sys-cluster/charm/charm-6.5.1-r1.ebuild b/sys-cluster/charm/charm-6.5.1-r1.ebuild
index b4e2913..d429138 100644
--- a/sys-cluster/charm/charm-6.5.1-r1.ebuild
+++ b/sys-cluster/charm/charm-6.5.1-r1.ebuild
@@ -4,9 +4,9 @@
EAPI=5
-PYTHON_DEPEND="doc? 2"
+PYTHON_COMPAT=( python{2_6,2_7} )
-inherit eutils flag-o-matic fortran-2 multilib toolchain-funcs
+inherit eutils flag-o-matic fortran-2 multilib toolchain-funcs python-single-r1
DESCRIPTION="Message-passing parallel language and runtime system"
HOMEPAGE="http://charm.cs.uiuc.edu/"
@@ -24,11 +24,13 @@ DEPEND="
>=app-text/poppler-0.12.3-r3[utils]
dev-tex/latex2html
virtual/tex-base
- dev-python/beautifulsoup
+ >=dev-python/beautifulsoup-4
media-libs/netpbm
+ ${PYTHON_DEPS}
)"
REQUIRED_USE="
+ doc? ( ${PYTHON_REQUIRED_USE} )
cmkopt? ( !charmdebug !charmtracing )
charmproduction? ( !charmdebug !charmtracing )"
@@ -99,15 +101,19 @@ src_prepare() {
}
src_compile() {
+ local mybuildoptions="$(usex mpi "mpi" "net")-linux$(usex amd64 "-amd64" '') $(get_opts) ${MAKEOPTS} ${CFLAGS}"
+
# Build charmm++ first.
- einfo "running ./build charm++ $(usex mpi 'mpi' 'net')-linux$(usex amd64 '-amd64' '') $(get_opts) ${MAKEOPTS} ${CFLAGS}"
- ./build charm++ $(usex mpi "mpi" "net")-linux$(usex amd64 "-amd64" '') \
- $(get_opts) ${MAKEOPTS} ${CFLAGS} || die "Failed to build charm++"
+ einfo "running ./build charm++ ${mybuildoptions}"
+ ./build charm++ ${mybuildoptions} || die "Failed to build charm++"
# make pdf/html docs
if use doc; then
- cd "${S}"/doc
- make doc || die "failed to create pdf/html docs"
+ python-single-r1_pkg_setup
+ python_fix_shebang ${S}/doc
+ einfo "forcing ${EPYTHON}"
+ einfo "running ./build doc ${mybuildoptions}"
+ ./build doc ${mybuildoptions} || die "Failed to build charm++ documentation"
fi
}
next reply other threads:[~2013-09-27 20:07 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-27 20:07 Nicolas Bock [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-05-06 0:11 [gentoo-commits] proj/sci:master commit in: sys-cluster/charm/ Christoph Junghans
2014-02-20 18:54 Christoph Junghans
2014-02-19 21:54 Nicolas Bock
2014-01-06 21:46 Nicolas Bock
2014-01-03 15:29 Nicolas Bock
2014-01-02 16:55 Nicolas Bock
2014-01-02 16:15 Nicolas Bock
2013-12-13 19:12 Nicolas Bock
2013-11-22 16:42 Nicolas Bock
2013-11-20 4:47 Nicolas Bock
2013-10-18 20:33 Christoph Junghans
2013-10-01 15:41 Christoph Junghans
2013-09-27 18:18 Nicolas Bock
2013-09-27 17:36 Nicolas Bock
2013-09-11 17:28 Nicolas Bock
2013-07-03 16:43 Nicolas Bock
2013-07-03 16:41 Nicolas Bock
2013-07-02 3:32 Nicolas Bock
2013-06-26 21:55 Nicolas Bock
2013-06-26 20:38 Nicolas Bock
2013-06-26 5:04 Christoph Junghans
2013-06-24 21:43 Nicolas Bock
2013-06-24 21:33 Nicolas Bock
2013-06-06 15:57 Nicolas Bock
2013-05-31 15:30 Nicolas Bock
2013-05-31 4:33 Nicolas Bock
2013-05-31 4:33 Nicolas Bock
2013-05-30 21:40 Nicolas Bock
2013-05-30 19:18 Nicolas Bock
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=1380312433.d6c53b0a3c9f52a30f077536de11332d955312b1.nicolasbock@gentoo \
--to=nicolasbock@gmail.com \
--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