public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Guilherme Amadio" <amadio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/clhep/
Date: Fri, 18 May 2018 15:38:54 +0000 (UTC)	[thread overview]
Message-ID: <1526657723.1c7620b336edf8e362e73f2b7c8c3b6abd79bcbf.amadio@gentoo> (raw)

commit:     1c7620b336edf8e362e73f2b7c8c3b6abd79bcbf
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri May 18 11:57:09 2018 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri May 18 15:35:23 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c7620b3

sci-physics/clhep: version bump to 2.4.0.4

Package-Manager: Portage-2.3.38, Repoman-2.3.9

 sci-physics/clhep/Manifest             |  1 +
 sci-physics/clhep/clhep-2.4.0.4.ebuild | 49 ++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/sci-physics/clhep/Manifest b/sci-physics/clhep/Manifest
index 864d2d4c221..bdc8a46a3de 100644
--- a/sci-physics/clhep/Manifest
+++ b/sci-physics/clhep/Manifest
@@ -4,3 +4,4 @@ DIST clhep-2.2.0.1.tgz 1844675 BLAKE2B af2e379035df136a9ecdcf6b22d2d5120e8c89e6d
 DIST clhep-2.2.0.5.tgz 1847046 BLAKE2B 8dddc6b9acbf41abdd849ef1aa1087d93f48fc83937ee67e687e28c421d290683e5381c2b9f8034e2651e3ccec2fd2e0ba8bee73dc55618e22c0e4df7ce3a378 SHA512 07d9359604196344fe3b13cc103727693fd70818c22849e54507530221812843a943cb8ed66eea421e498edcc9c0f584826823ea7939cbf53b90b17d412aed1a
 DIST clhep-2.3.1.0.tgz 1538945 BLAKE2B 9aa76fb35c99bbd76d5cdbf5d58b5f64a4a24516b1b9dd5dff7fdf0c60f1c9a4d23e86bce3f4dc0ef849d65753702b0e9043caa8e07f3235ab25c79c7ad83fa5 SHA512 786ad6289ab064c3c428ba2a8f534fcadd09f1f00a9c725dc987ea46c55d1f4ec7beab25221c978992dd195b02a65388a35aa6d7f471b6742c9ff6cdb7a8b7a4
 DIST clhep-2.3.3.1.tgz 1565701 BLAKE2B e5153da7a79d0c6e6f4f98cfadd836ee7b36196dcc0daae45bc38c43c24b10cf65aeb71dd0313c7195cd0734d645e8ddcbeed53b82b16d7ae35ecffab2383b4e SHA512 b13e336f9c4dd741291768a4c59075e88467ad54dc41a07eeb519712055e1a26c2369bffb6aeeeac4199066ce1bc863e9d90647094dd2fced7069d82a4cd1317
+DIST clhep-2.4.0.4.tgz 1536520 BLAKE2B 7ab58aeab685950393c8059f77e95cbbf7bf61f04e8113c6fd7b09200cce497716d5a0e023143dde395db895f48848a78e579e38968d9f27a50769034003e11e SHA512 349c1225713a3bc91fe94e27f938e919b434e6466df94dcde915c7e8ed313b9b2e7186e67a9b580ede21aec0050507a070c279920590148ebbec0ac5733fb008

diff --git a/sci-physics/clhep/clhep-2.4.0.4.ebuild b/sci-physics/clhep/clhep-2.4.0.4.ebuild
new file mode 100644
index 00000000000..d3fd8d48a3c
--- /dev/null
+++ b/sci-physics/clhep/clhep-2.4.0.4.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils multilib
+
+DESCRIPTION="High Energy Physics C++ library"
+HOMEPAGE="http://cern.ch/clhep"
+SRC_URI="http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/${P}.tgz"
+LICENSE="GPL-3 LGPL-3"
+SLOT="2/${PV}"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+IUSE="doc test threads"
+RDEPEND=""
+DEPEND="${RDEPEND}
+	doc? ( app-doc/doxygen[latex] )"
+
+S="${WORKDIR}/${PV}/CLHEP"
+
+src_prepare() {
+	cmake-utils_src_prepare
+
+	# respect flags
+	sed -i -e 's:-O::g' cmake/Modules/ClhepVariables.cmake || die
+	# dont build test if not asked
+	if ! use test; then
+		sed -i \
+			-e '/add_subdirectory(test)/d' \
+			*/CMakeLists.txt || die
+	fi
+	# gentoo doc directory
+	if use doc; then
+		grep -rl 'share/doc/CLHEP' |
+		xargs sed -i \
+			-e "s:share/doc/CLHEP:share/doc/${PF}:" \
+			{.,*}/CMakeLists.txt || die
+	fi
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_TESTING=$(usex test)
+		-DCLHEP_BUILD_DOCS=$(usex doc)
+		-DCLHEP_SINGLE_THREAD=$(usex threads no yes)
+	)
+	DESTDIR="${ED}" cmake-utils_src_configure
+}


             reply	other threads:[~2018-05-18 15:38 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-18 15:38 Guilherme Amadio [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-10 20:04 [gentoo-commits] repo/gentoo:master commit in: sci-physics/clhep/ Guilherme Amadio
2024-03-10 20:04 Guilherme Amadio
2023-12-16 19:16 Arthur Zamarin
2023-10-31 11:46 Guilherme Amadio
2023-10-31 11:46 Guilherme Amadio
2023-08-14 13:15 Benda XU
2023-06-09 15:06 Arthur Zamarin
2023-05-24  6:50 Guilherme Amadio
2023-01-29 21:59 Andreas Sturmlechner
2022-12-15 15:40 Guilherme Amadio
2022-12-15 15:40 Guilherme Amadio
2022-06-10 13:21 Guilherme Amadio
2022-06-07 14:45 Guilherme Amadio
2022-05-31  6:53 Guilherme Amadio
2021-09-06  9:45 Guilherme Amadio
2021-06-28 10:46 Guilherme Amadio
2021-06-14  9:27 Guilherme Amadio
2021-06-14  9:27 Guilherme Amadio
2020-11-18 16:55 Guilherme Amadio
2020-11-18 16:47 Guilherme Amadio
2020-11-18 16:47 Guilherme Amadio
2020-11-18 15:50 Guilherme Amadio
2020-11-18 15:50 Guilherme Amadio
2020-11-18 15:50 Guilherme Amadio
2020-05-01 16:59 Matthias Maier
2020-03-16 16:59 Guilherme Amadio
2020-03-16 16:59 Guilherme Amadio
2020-03-01 18:36 Matthias Maier
2019-06-27 13:41 Guilherme Amadio
2019-02-04 19:41 Sergei Trofimovich
2019-01-05 16:55 Andreas Sturmlechner
2019-01-05 16:55 Andreas Sturmlechner
2019-01-05 16:55 Andreas Sturmlechner
2019-01-05 16:55 Andreas Sturmlechner
2019-01-05 16:55 Andreas Sturmlechner
2018-07-11 21:15 Mikle Kolyada
2017-10-16  3:34 David Seifert
2017-03-18  1:03 Guilherme Amadio
2016-12-23 10:11 Johannes Huber
2016-11-13 21:49 David Seifert
2016-07-06 20:15 Guilherme Amadio
2016-02-06  8:39 Jeroen Roovers
2016-01-17 17:02 Agostino Sarubbo
2016-01-15  9:03 Agostino Sarubbo
2016-01-12 19:06 Guilherme Amadio

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=1526657723.1c7620b336edf8e362e73f2b7c8c3b6abd79bcbf.amadio@gentoo \
    --to=amadio@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