public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/reduze/
Date: Sun, 13 Nov 2016 09:48:39 +0000 (UTC)	[thread overview]
Message-ID: <1479030444.859d2ff2c4e6ad4a584f28d07aa82e6e7ab252bb.soap@gentoo> (raw)

commit:     859d2ff2c4e6ad4a584f28d07aa82e6e7ab252bb
Author:     Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
AuthorDate: Sat Nov 12 12:23:48 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Nov 13 09:47:24 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=859d2ff2

sci-physics/reduze: Version bump to 2.1, EAPI bump 5 -> 6

Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2815

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-physics/reduze/Manifest          |  1 +
 sci-physics/reduze/reduze-2.1.ebuild | 66 ++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/sci-physics/reduze/Manifest b/sci-physics/reduze/Manifest
index 7502770..f7b7a2c 100644
--- a/sci-physics/reduze/Manifest
+++ b/sci-physics/reduze/Manifest
@@ -1 +1,2 @@
 DIST reduze-2.0.9.tar.gz 568570 SHA256 e56494519faffa381f16c8c9b439e9c17485392d47b836ef372d3c4ff451e67a SHA512 69818d7edaf3c69996d3f703401865f67722ec8d33b285642c71030f2852273b4b4028a00f0c639589cb801def739f93a05d504d4fb2edf228674962897d5f01 WHIRLPOOL 1aa84d755668badf01c077b3e9c63cf1c68c5f37f438875c3f3de11804013e551a92f98c7aacd5b8ea155e1540023d4273f1ceb98ea4e7551de9fe7613b18021
+DIST reduze-2.1.tar.gz 650423 SHA256 757556ba0b05b7b4c14091ce4a54f79259b530ed22180417b41f9ae443378ea7 SHA512 e27f711639fe4b95c2aef4e73a7f6d9dd1574d1a62bc531d0f5177c505ffd353193548f29332f3b5320d4907bebd404ef082d3fea1dd392b83573d085b4a795a WHIRLPOOL 5964aa240132b2e002039486977ad17c27c5a027a0d7339cae1d9979e394b5a236cf3894eef774bee5d79de272eea1aced1988dd53a986035b3ae1dfbb6393b5

diff --git a/sci-physics/reduze/reduze-2.1.ebuild b/sci-physics/reduze/reduze-2.1.ebuild
new file mode 100644
index 00000000..1a4afbc
--- /dev/null
+++ b/sci-physics/reduze/reduze-2.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Program for reducing Feynman integrals"
+HOMEPAGE="http://reduze.hepforge.org/"
+SRC_URI="http://reduze.hepforge.org/download/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="berkdb doc mpi"
+
+RDEPEND=">=sci-mathematics/ginac-1.4.1
+	berkdb? ( sys-libs/db:=[cxx] )
+	mpi? ( virtual/mpi )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	doc? ( app-doc/doxygen )"
+
+src_prepare() {
+	cmake-utils_src_prepare
+	# gentoo doc directory
+	sed -i \
+		-e "s:share/reduze:share/doc/${PF}:g" \
+		CMakeLists.txt || die
+	if ! use doc ; then
+		sed -i -e '/share/d' CMakeLists.txt || die
+	fi
+	# prefix fix
+	sed -i \
+		-e "s:/usr:${EPREFIX}/usr:g" \
+		reduze/CMakeLists.txt  || die
+
+	# remove bundled yaml-cpp
+	# no: it does not build. is it patched?
+	# sed -i -e '/add_subdirectory ("yaml")/d' CMakeLists.txt || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DUSE_HASH_TABLE=ON
+		-DUSE_DATABASE=$(usex berkdb)
+		-DUSE_MPI=$(usex mpi)
+	)
+	cmake-utils_src_configure
+}
+
+src_compile() {
+	cmake-utils_src_compile all $(usev doc)
+}
+
+src_test() {
+	cmake-utils_src_compile check
+	use mpi && cmake-utils_src_compile check_mpi
+}
+
+src_install() {
+	use doc && HTML_DOCS+=( "${BUILD_DIR}"/doc/code/html/. )
+	cmake-utils_src_install
+}


             reply	other threads:[~2016-11-13  9:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-13  9:48 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-12-16  7:01 [gentoo-commits] repo/gentoo:master commit in: sci-physics/reduze/ Andrey Grozin
2021-03-07 18:53 Andreas Sturmlechner

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=1479030444.859d2ff2c4e6ad4a584f28d07aa82e6e7ab252bb.soap@gentoo \
    --to=soap@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