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 EBC8B1581EE for ; Thu, 27 Mar 2025 12:57:35 +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 CBB283431DC for ; Thu, 27 Mar 2025 12:57:35 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id BAF91110296; Thu, 27 Mar 2025 12:57:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 bobolink.gentoo.org (Postfix) with ESMTPS id A9B33110296 for ; Thu, 27 Mar 2025 12:57:34 +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 1D21B34319C for ; Thu, 27 Mar 2025 12:57:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A1D81733 for ; Thu, 27 Mar 2025 12:57:32 +0000 (UTC) From: "Alexander Puck Neuwirth" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexander Puck Neuwirth" Message-ID: <1743080118.1bc136b3c298bdd6c88505e46e910fec237c2912.alexander@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/delphes/ X-VCS-Repository: proj/sci X-VCS-Files: sci-physics/delphes/delphes-3.5.0.ebuild sci-physics/delphes/delphes-9999.ebuild sci-physics/delphes/metadata.xml X-VCS-Directories: sci-physics/delphes/ X-VCS-Committer: alexander X-VCS-Committer-Name: Alexander Puck Neuwirth X-VCS-Revision: 1bc136b3c298bdd6c88505e46e910fec237c2912 X-VCS-Branch: master Date: Thu, 27 Mar 2025 12:57:32 +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: bb4ab4e2-b137-44c6-92a3-d88d6c667475 X-Archives-Hash: a3bd412bac27b387025c529d7b1a442b commit: 1bc136b3c298bdd6c88505e46e910fec237c2912 Author: Alexander Puck Neuwirth neuwirth-informatik de> AuthorDate: Wed Mar 26 10:55:21 2025 +0000 Commit: Alexander Puck Neuwirth neuwirth-informatik de> CommitDate: Thu Mar 27 12:55:18 2025 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1bc136b3 sci-physics/delphes: new package, add 3.5.0, 9999 Closes: https://github.com/gentoo/sci/pull/1338 Co-authored-by: Nowa Ammerlaan gentoo.org> Signed-off-by: Alexander Puck Neuwirth neuwirth-informatik.de> sci-physics/delphes/delphes-3.5.0.ebuild | 40 ++++++++++++++++++++++++++++++++ sci-physics/delphes/delphes-9999.ebuild | 40 ++++++++++++++++++++++++++++++++ sci-physics/delphes/metadata.xml | 18 ++++++++++++++ 3 files changed, 98 insertions(+) diff --git a/sci-physics/delphes/delphes-3.5.0.ebuild b/sci-physics/delphes/delphes-3.5.0.ebuild new file mode 100644 index 000000000..63ea3b5a8 --- /dev/null +++ b/sci-physics/delphes/delphes-3.5.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_MAKEFILE_GENERATOR="emake" +inherit cmake + +DESCRIPTION="Delphes performs a fast multipurpose detector response simulation." +HOMEPAGE=" + https://github.com/delphes/delphes + http://cp3.irmp.ucl.ac.be/projects/delphes +" + +MY_P=${PN^}-${PV} + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/delphes/delphes" +else + SRC_URI="http://cp3.irmp.ucl.ac.be/downloads/${MY_P}.tar.gz" + S="${WORKDIR}/${MY_P}" + # Alternatively https://github.com/delphes/delphes/archive/refs/tags/3.5.0.tar.gz + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3+" +SLOT="0" +DEPEND=" + sci-physics/root:=[opengl] + sci-physics/pythia:8= +" +RDEPEND="${DEPEND}" + +src_prepare() { + cmake_src_prepare + sed -i "s#DESTINATION cards#DESTINATION share/delphes/cards#g" cards/CMakeLists.txt || die + sed -i "s#DESTINATION examples#DESTINATION share/delphes/examples#g" examples/CMakeLists.txt || die + sed -i "s#DESTINATION lib#DESTINATION $(get_libdir)#g" {,modules/,classes/,display/}CMakeLists.txt || die +} diff --git a/sci-physics/delphes/delphes-9999.ebuild b/sci-physics/delphes/delphes-9999.ebuild new file mode 100644 index 000000000..63ea3b5a8 --- /dev/null +++ b/sci-physics/delphes/delphes-9999.ebuild @@ -0,0 +1,40 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_MAKEFILE_GENERATOR="emake" +inherit cmake + +DESCRIPTION="Delphes performs a fast multipurpose detector response simulation." +HOMEPAGE=" + https://github.com/delphes/delphes + http://cp3.irmp.ucl.ac.be/projects/delphes +" + +MY_P=${PN^}-${PV} + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/delphes/delphes" +else + SRC_URI="http://cp3.irmp.ucl.ac.be/downloads/${MY_P}.tar.gz" + S="${WORKDIR}/${MY_P}" + # Alternatively https://github.com/delphes/delphes/archive/refs/tags/3.5.0.tar.gz + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3+" +SLOT="0" +DEPEND=" + sci-physics/root:=[opengl] + sci-physics/pythia:8= +" +RDEPEND="${DEPEND}" + +src_prepare() { + cmake_src_prepare + sed -i "s#DESTINATION cards#DESTINATION share/delphes/cards#g" cards/CMakeLists.txt || die + sed -i "s#DESTINATION examples#DESTINATION share/delphes/examples#g" examples/CMakeLists.txt || die + sed -i "s#DESTINATION lib#DESTINATION $(get_libdir)#g" {,modules/,classes/,display/}CMakeLists.txt || die +} diff --git a/sci-physics/delphes/metadata.xml b/sci-physics/delphes/metadata.xml new file mode 100644 index 000000000..dd24e438b --- /dev/null +++ b/sci-physics/delphes/metadata.xml @@ -0,0 +1,18 @@ + + + + + alexander@neuwirth-informatik.de + Alexander Puck Neuwirth + + + sci-physics@gentoo.org + Gentoo Physics Project + + + Delphes is a C++ framework, performing a fast multipurpose detector response simulation. The simulation includes a tracking system, embedded into a magnetic field, calorimeters and a muon system. The framework is interfaced to standard file formats (e.g. Les Houches Event File or HepMC) and outputs observables such as isolated leptons, missing transverse energy and collection of jets which can be used for dedicated analyses. The simulation of the detector response takes into account the effect of magnetic field, the granularity of the calorimeters and sub-detector resolutions. Visualisation of the final state particles is also built-in using the corresponding ROOT library. + + + delphes/delphes + +