public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexander Puck Neuwirth" <apn-pucky@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/clhep/
Date: Sun, 21 Sep 2025 10:23:42 +0000 (UTC)	[thread overview]
Message-ID: <1758450129.0bcdda8ea21d74f7feff32daeea8aaadb35102d0.apn-pucky@gentoo> (raw)

commit:     0bcdda8ea21d74f7feff32daeea8aaadb35102d0
Author:     Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 19 10:47:12 2025 +0000
Commit:     Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org>
CommitDate: Sun Sep 21 10:22:09 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bcdda8e

sci-physics/clhep: add 2.4.7.2

Closes: https://bugs.gentoo.org/959361
Part-of: https://github.com/gentoo/gentoo/pull/43848
Closes: https://github.com/gentoo/gentoo/pull/43848
Signed-off-by: Alexander Puck Neuwirth <apn-pucky <AT> gentoo.org>

 sci-physics/clhep/Manifest             |  1 +
 sci-physics/clhep/clhep-2.4.7.2.ebuild | 70 ++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/sci-physics/clhep/Manifest b/sci-physics/clhep/Manifest
index 48386cab6d69..2be55e5e6268 100644
--- a/sci-physics/clhep/Manifest
+++ b/sci-physics/clhep/Manifest
@@ -1 +1,2 @@
+DIST CLHEP-CLHEP_2_4_7_2.tar.bz2 953450 BLAKE2B c2a1a8164f0b3541809b0e2728f1d663c6ea607d8edb3b2b4a5a4ffdcd7d3f2f0672a6ba32aeb6078019dc155a209a2edd7130a6da02abeaa4f2f787b8e0404d SHA512 3023a259fa2c6a31e19989736d4a2b79bcc81158fac02274822ade9fced18a1825f8ade0cb9424176a3ec9037582a594afa3b6b099abc931111125401aeb5e0b
 DIST clhep-2.4.7.1.tgz 1229169 BLAKE2B 9bf00c634142874328bc385950c542a1836c83cb35d8366f5b6c3a4ffe5e17e108c9917a5508506f3a400f0bd9e0e635b70e8c7ac73d1db3071e876a0e073339 SHA512 2d997c23fac5c2113cd749764e9d61c9ee3b95e145e29343a4c87a81d0eeed5c0216c73e5ae1630f1462d115b4df78d061a1165949cd1babecb65a9358106095

diff --git a/sci-physics/clhep/clhep-2.4.7.2.ebuild b/sci-physics/clhep/clhep-2.4.7.2.ebuild
new file mode 100644
index 000000000000..6e143a343918
--- /dev/null
+++ b/sci-physics/clhep/clhep-2.4.7.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake dot-a
+
+MY_PV=$(ver_rs 1- '_')
+MY_P=CLHEP_${MY_PV}
+
+DESCRIPTION="High Energy Physics C++ library"
+HOMEPAGE="
+	http://proj-clhep.web.cern.ch/proj-clhep/
+	https://gitlab.cern.ch/CLHEP/CLHEP
+"
+SRC_URI="https://gitlab.cern.ch/CLHEP/CLHEP/-/archive/${MY_P}/CLHEP-${MY_P}.tar.bz2"
+
+S="${WORKDIR}/CLHEP-${MY_P}"
+
+LICENSE="GPL-3 LGPL-3"
+SLOT="2/${PV}"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+IUSE="doc static-libs test threads"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+	doc? (
+		app-text/doxygen
+		dev-texlive/texlive-bibtexextra
+		dev-texlive/texlive-fontsextra
+		dev-texlive/texlive-fontutils
+		dev-texlive/texlive-latex
+		dev-texlive/texlive-latexextra
+	)
+"
+
+src_prepare() {
+	cmake_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
+		cmake_comment_add_subdirectory test
+	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() {
+	use static-libs && lto-guarantee-fat
+
+	local mycmakeargs=(
+		-DCLHEP_BUILD_DOCS=$(usex doc)
+		-DCLHEP_BUILD_STATIC_LIBS=$(usex static-libs)
+		-DCLHEP_SINGLE_THREAD=$(usex threads no yes)
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	use static-libs && strip-lto-bytecode
+}


             reply	other threads:[~2025-09-21 10:23 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-21 10:23 Alexander Puck Neuwirth [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-26 14:06 [gentoo-commits] repo/gentoo:master commit in: sci-physics/clhep/ Andreas Sturmlechner
2025-09-26 12:26 Arthur Zamarin
2025-09-07 15:39 Guilherme Amadio
2025-09-07 14:49 Guilherme Amadio
2024-03-10 20:04 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
2018-05-18 15:38 Guilherme Amadio
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=1758450129.0bcdda8ea21d74f7feff32daeea8aaadb35102d0.apn-pucky@gentoo \
    --to=apn-pucky@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