From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 87172158095 for ; Fri, 26 Aug 2022 11:13:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6595CE08FA; Fri, 26 Aug 2022 11:13:16 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id CEE03E092F for ; Fri, 26 Aug 2022 11:13:15 +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 A14403410B3 for ; Fri, 26 Aug 2022 11:13:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E8C99526 for ; Fri, 26 Aug 2022 11:13:12 +0000 (UTC) From: "Andrew 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, "Andrew Ammerlaan" Message-ID: <1661512373.4bff080f8e9d88d5f3523e8c4d73c2d1b87ed1c3.andrewammerlaan@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.2.5.ebuild sci-physics/hepmc/metadata.xml X-VCS-Directories: sci-physics/hepmc/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 4bff080f8e9d88d5f3523e8c4d73c2d1b87ed1c3 X-VCS-Branch: master Date: Fri, 26 Aug 2022 11:13:12 +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: 179e4b4a-3efe-45a6-bcce-e58d0d7752c3 X-Archives-Hash: 8a2e2d4f7dea99f0a5307e8d7ba73792 commit: 4bff080f8e9d88d5f3523e8c4d73c2d1b87ed1c3 Author: Alexander Puck Neuwirth neuwirth-informatik de> AuthorDate: Wed Jul 27 02:36:31 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Fri Aug 26 11:12:53 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bff080f sci-physics/hepmc: add 3.2.5 Signed-off-by: Alexander Puck Neuwirth neuwirth-informatik.de> Signed-off-by: Andrew Ammerlaan gentoo.org> sci-physics/hepmc/Manifest | 1 + sci-physics/hepmc/hepmc-3.2.5.ebuild | 51 ++++++++++++++++++++++++++++++++++++ sci-physics/hepmc/metadata.xml | 1 + 3 files changed, 53 insertions(+) diff --git a/sci-physics/hepmc/Manifest b/sci-physics/hepmc/Manifest index cf51f51c18a5..956b4d3fc19a 100644 --- a/sci-physics/hepmc/Manifest +++ b/sci-physics/hepmc/Manifest @@ -1 +1,2 @@ DIST HepMC-2.06.09.tar.gz 4612637 BLAKE2B 6bbf1a6a8410b6717ddff29fc3643247582f7a61a05fd9e52a0b09f78bf75de587c1c55525f6a1367b306a26a4687ce55b64908c049d91bdb2db3d40467af62b SHA512 1030f31ad9d19d8ae184145a693c4a3092131f485e2ed89598b7172992a825ad9aa46fb44a9199a00c4a6bd7e163daead9452e9bc4fe32cb3b97351cf22906c4 +DIST HepMC3-3.2.5.tar.gz 9217649 BLAKE2B 520e4621cdfa277376e94b87a070f23e6479867bbf696dc972e7496c54504c7da921932fbeaf7713cbaab18c72101ad3fa79396fe8ee1737180946696dcd1fbd SHA512 de60aaa686f6499c62112c265438b9ba41a7ed312b767ddc3409178b6e908e4fffd6a1153bd9f2929cf479074b14bcbec33d377f51a11cfcd4c67e45fc9bb2b9 diff --git a/sci-physics/hepmc/hepmc-3.2.5.ebuild b/sci-physics/hepmc/hepmc-3.2.5.ebuild new file mode 100644 index 000000000000..6a91e322f3ec --- /dev/null +++ b/sci-physics/hepmc/hepmc-3.2.5.ebuild @@ -0,0 +1,51 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# python3_11 fails +PYTHON_COMPAT=( python3_{8..10} ) +inherit cmake python-single-r1 + +MYP=HepMC3-${PV} + +DESCRIPTION="Event Record for Monte Carlo Generators" +HOMEPAGE="https://hepmc.web.cern.ch/hepmc/" +SRC_URI="https://hepmc.web.cern.ch/hepmc/releases/${MYP}.tar.gz" +S="${WORKDIR}/${MYP}" + +LICENSE="GPL-3+" +SLOT="3" +KEYWORDS="~amd64" +IUSE="doc test examples python root" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="python? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND}" +BDEPEND=" + root? ( sci-physics/root:= ) + doc? ( + app-doc/doxygen[dot] + dev-texlive/texlive-latex + dev-texlive/texlive-latexextra + dev-texlive/texlive-latexrecommended + ) +" + +src_configure() { + local mycmakeargs=( + -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) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + use examples && docompress -x /usr/share/doc/${PF}/examples + python_optimize +} diff --git a/sci-physics/hepmc/metadata.xml b/sci-physics/hepmc/metadata.xml index 568fd23f5361..f767f2a48679 100644 --- a/sci-physics/hepmc/metadata.xml +++ b/sci-physics/hepmc/metadata.xml @@ -24,5 +24,6 @@ Build with GeV instead of default MeV for momentum units Build with cm instead of default mm for length units + Build with ROOTIO enabled