From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 43BAC1581EE for ; Thu, 27 Mar 2025 11:22:34 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 2A0FB3431BA for ; Thu, 27 Mar 2025 11:22:34 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 2B6771104AD; Thu, 27 Mar 2025 11:22:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 1B0951104AD for ; Thu, 27 Mar 2025 11:22:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 937B6343133 for ; Thu, 27 Mar 2025 11:22:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E1AD42035 for ; Thu, 27 Mar 2025 11:22:27 +0000 (UTC) From: "Nowa Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nowa Ammerlaan" Message-ID: <1743074195.a4ffc8d90ab8efb4bafb9369770e0438f87211a3.nowa@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/hepmc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-physics/hepmc/Manifest sci-physics/hepmc/hepmc-3.3.1.ebuild X-VCS-Directories: sci-physics/hepmc/ X-VCS-Committer: nowa X-VCS-Committer-Name: Nowa Ammerlaan X-VCS-Revision: a4ffc8d90ab8efb4bafb9369770e0438f87211a3 X-VCS-Branch: master Date: Thu, 27 Mar 2025 11:22:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 51311060-a0a5-4f60-8259-96a9edfda81e X-Archives-Hash: 5a240a10e9bf851b3285f141b3c84c0d commit: a4ffc8d90ab8efb4bafb9369770e0438f87211a3 Author: Alexander Puck Neuwirth neuwirth-informatik de> AuthorDate: Wed Mar 26 12:26:34 2025 +0000 Commit: Nowa Ammerlaan gentoo org> CommitDate: Thu Mar 27 11:16:35 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4ffc8d9 sci-physics/hepmc: add 3.3.1 Signed-off-by: Alexander Puck Neuwirth neuwirth-informatik.de> Signed-off-by: Nowa Ammerlaan gentoo.org> sci-physics/hepmc/Manifest | 1 + sci-physics/hepmc/hepmc-3.3.1.ebuild | 81 ++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/sci-physics/hepmc/Manifest b/sci-physics/hepmc/Manifest index 62e31256e57e..fcdd6c6799f3 100644 --- a/sci-physics/hepmc/Manifest +++ b/sci-physics/hepmc/Manifest @@ -1,5 +1,6 @@ DIST HepMC3-3.2.6.tar.gz 9344806 BLAKE2B da478157ad73915d77851e9da7b236a052cb32e98103c2701f874a81ed62cbc4397489e3a2f64cd25a46c9704ccfcaac4d854357251d8bbb4120cbc1f5149374 SHA512 d8a50f081db109c9c18e4aaee60230be062eaa2947dadfb14759649eb1c504975802b2c822b1fe024d4e73f703e9f399161fa4fe38b526722dda33c2ff2e8fab DIST HepMC3-3.2.7.tar.gz 9345591 BLAKE2B e053b9d91552e1e969742a4e3295e233afba1a9f37bc33474f9b8faeda69f3dccddf3fa0aa7d23e6620df1a321c2d8eab51fce08da6fb8f68de130fc5f90ece9 SHA512 c4072fe4e3d80b90f5e5437781d2c7e1439b777318eecd1202cf7611d1ba2910394d72280873c6f897c43f2dd274ebb7cb77f43b223efb13c823aeaef6ba0e71 DIST HepMC3-3.3.0.tar.gz 9341637 BLAKE2B ce02d0c3b103c634bcde80040ae82682a8f0b622c6dd0ed97cf915ef0b026976ed852c69a469d7a27a39746ab9fb660b307c2fe11b4844a42973f8590e828296 SHA512 2d99880a99ec028013622460580409ecc99e3395cb2acef51fa4c6d629f42ee4044e78048314fd21be6a8b462ea01a4e161bc65fa279d6468325fc9e5ef110fb +DIST HepMC3-3.3.1.tar.gz 9354477 BLAKE2B c20756b35ca8acdd343b4365709ad666ed4643bb6e2e8d0cb3093403adab7ccc44dfab6d678594dea1734c452ebc47f42fe7bd401ca8ba363332df9807bde95d SHA512 20859ac84a7ef5fa5555d992e4f70bf614320f0ccb8c4ecac2317d52d0f4a7f0096c0e75fa5651a64e40bc101238af538bdee61254b0ca0d424010e8a163bb22 DIST HepMC3-e05d32ebac8705c0097e9e7d00ce815a205110db.tar.gz 9346161 BLAKE2B 9304d329332c2d4eb0ef6526a3308aecd29a38c569d3ba57d94767fd38ad052514f75a7a90f301c54185230d7693a67e48d59b66b12f42626a7ef900e309f743 SHA512 45f9edc6c56f9f8494b416bff147dccca64c52a90e0e169ede560ae8cf9e9255258b7af1586dd1c856f4010c22b2e668511bab160487a3ba802b629d03015e55 DIST hepmc2.06.11.tgz 4893958 BLAKE2B ac8eef250cb330a167c9e0f4bd1aaf8df82e0ffec3557ab5cdaf8bc5b0b7333d6a45f73710ce63abab52d2c5758d5663c15c2a7c940a09504b3ef2fd4517aa0b SHA512 81c100d4931e0e4de62c8ffd18cc06e7996a642fecc092892988bdc0dd0dc3c0f5b336e85f09ceb8f5e0e09456775ae5928d37daf28d82923476089bc0e910f2 diff --git a/sci-physics/hepmc/hepmc-3.3.1.ebuild b/sci-physics/hepmc/hepmc-3.3.1.ebuild new file mode 100644 index 000000000000..0f34ec376a72 --- /dev/null +++ b/sci-physics/hepmc/hepmc-3.3.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit fortran-2 cmake flag-o-matic python-single-r1 + +MYP=HepMC3-${PV} + +DESCRIPTION="Event Record for Monte Carlo Generators" +HOMEPAGE="https://hepmc.web.cern.ch/hepmc/" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.cern.ch/hepmc/HepMC3" +else + SRC_URI="https://hepmc.web.cern.ch/hepmc/releases/${MYP}.tar.gz" + S="${WORKDIR}/${MYP}" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="3" +IUSE="doc test examples python root static-libs" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ') + ) +" +DEPEND="${RDEPEND}" +# Automagic compression dependencies in test and example. +# https://gitlab.cern.ch/hepmc/HepMC3/-/issues/99 +# For now we install all of them... +BDEPEND=" + root? ( sci-physics/root:= ) + doc? ( + app-text/doxygen[dot] + dev-texlive/texlive-latex + dev-texlive/texlive-latexextra + dev-texlive/texlive-latexrecommended + ) + test? ( + sys-libs/zlib + app-arch/xz-utils + app-arch/bzip2 + app-arch/zstd + ) + examples? ( + sys-libs/zlib + app-arch/xz-utils + app-arch/bzip2 + app-arch/zstd + ) +" + +src_configure() { + filter-lto # 941937 941936 + local mycmakeargs=( + -DHEPMC3_PYTHON_VERSIONS="${EPYTHON/python/}" + -DHEPMC3_ENABLE_ROOTIO=$(usex root ON OFF) + -DHEPMC3_ENABLE_PYTHON=$(usex python ON OFF) + -DHEPMC3_ENABLE_TEST=$(usex test ON OFF) + -DHEPMC3_BUILD_DOCS=$(usex doc ON OFF) + -DHEPMC3_BUILD_EXAMPLES=$(usex examples ON OFF) + -DHEPMC3_BUILD_STATIC_LIBS=$(usex static-libs ON OFF) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + use examples && docompress -x /usr/share/doc/${PF}/examples + use python && python_optimize +}