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 8C1E015814C for ; Tue, 31 Oct 2023 11:46:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04B8D2BC026; Tue, 31 Oct 2023 11:46:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D90D32BC026 for ; Tue, 31 Oct 2023 11:46:35 +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 28BA1335CEE for ; Tue, 31 Oct 2023 11:46:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 71A551308 for ; Tue, 31 Oct 2023 11:46:33 +0000 (UTC) From: "Guilherme Amadio" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Guilherme Amadio" Message-ID: <1698752761.a8a04438a4d0382bd90e66b0678e04f4240bcccb.amadio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/clhep/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-physics/clhep/Manifest sci-physics/clhep/clhep-2.4.7.1.ebuild X-VCS-Directories: sci-physics/clhep/ X-VCS-Committer: amadio X-VCS-Committer-Name: Guilherme Amadio X-VCS-Revision: a8a04438a4d0382bd90e66b0678e04f4240bcccb X-VCS-Branch: master Date: Tue, 31 Oct 2023 11:46:33 +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: ff53a3c4-dca4-48e5-a449-cbb509fec691 X-Archives-Hash: f2ce18742f5847ab6af57789da2d0a51 commit: a8a04438a4d0382bd90e66b0678e04f4240bcccb Author: Guilherme Amadio gentoo org> AuthorDate: Tue Oct 31 09:11:21 2023 +0000 Commit: Guilherme Amadio gentoo org> CommitDate: Tue Oct 31 11:46:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8a04438 sci-physics/clhep: add 2.4.7.1 Signed-off-by: Guilherme Amadio gentoo.org> sci-physics/clhep/Manifest | 1 + sci-physics/clhep/clhep-2.4.7.1.ebuild | 55 ++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/sci-physics/clhep/Manifest b/sci-physics/clhep/Manifest index 0bf1be887f26..e5e459a13474 100644 --- a/sci-physics/clhep/Manifest +++ b/sci-physics/clhep/Manifest @@ -1,2 +1,3 @@ DIST clhep-2.4.6.2.tgz 1550248 BLAKE2B 10da3a7adc295c306d3ad57bff68489852717885eac544fe6858aed3868047cb377565f55a861751a09ea6c88584fe94b685f5dcef84c6e51afdddef8080eeb2 SHA512 cae1295d27b804c3b45c21195d8d45e9403e9449ca12d1e1a031615584f46784a1c6f75fdbc51467b901fa47057aa79077bd224994f0b6261abefc99810c2687 DIST clhep-2.4.6.4.tgz 1550911 BLAKE2B 20da75b641e9396b8b63d81f931f63ecf886ca1e02c8d4eda48ff17ba27753df66bebd758db410d7c5c2c18db0bc82641a48da1e40c48f5da0f01db9524f0d53 SHA512 7df53762a2e788bdc5e4a780bedbca7fa862b033389972cd698f364f0b399e23705554e44da3df140d6334c513b494fe90ffc2b592a36792fbb2bc7c5626da90 +DIST clhep-2.4.7.1.tgz 1229169 BLAKE2B 9bf00c634142874328bc385950c542a1836c83cb35d8366f5b6c3a4ffe5e17e108c9917a5508506f3a400f0bd9e0e635b70e8c7ac73d1db3071e876a0e073339 SHA512 2d997c23fac5c2113cd749764e9d61c9ee3b95e145e29343a4c87a81d0eeed5c0216c73e5ae1630f1462d115b4df78d061a1165949cd1babecb65a9358106095 diff --git a/sci-physics/clhep/clhep-2.4.7.1.ebuild b/sci-physics/clhep/clhep-2.4.7.1.ebuild new file mode 100644 index 000000000000..8297ecd068ed --- /dev/null +++ b/sci-physics/clhep/clhep-2.4.7.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="High Energy Physics C++ library" +HOMEPAGE="http://proj-clhep.web.cern.ch/proj-clhep/" +SRC_URI="http://proj-clhep.web.cern.ch/proj-clhep/dist1/${P}.tgz" +LICENSE="GPL-3 LGPL-3" +SLOT="2/${PV}" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +IUSE="doc test threads" +RESTRICT="!test? ( test )" + +BDEPEND=" + doc? ( + app-doc/doxygen + dev-texlive/texlive-bibtexextra + dev-texlive/texlive-fontsextra + dev-texlive/texlive-fontutils + dev-texlive/texlive-latex + dev-texlive/texlive-latexextra + ) +" + +S="${WORKDIR}/${PV}/CLHEP" + +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() { + local mycmakeargs=( + -DCLHEP_BUILD_DOCS=$(usex doc) + -DCLHEP_SINGLE_THREAD=$(usex threads no yes) + ) + cmake_src_configure +}