From ce24a53ade9a3ebc6f3e4a6e8dae190fbf096979 Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Mon, 19 May 2025 17:29:39 +0200 Subject: [PATCH] sci-physics/siscone: add 3.1.0 Signed-off-by: Alexander Puck Neuwirth Part-of: https://github.com/gentoo/gentoo/pull/42153 Signed-off-by: Sam James --- sci-physics/siscone/Manifest | 1 + sci-physics/siscone/siscone-3.1.0.ebuild | 40 ++++++++++++++++++++++++ sci-physics/siscone/siscone-9999.ebuild | 18 ++++------- 3 files changed, 47 insertions(+), 12 deletions(-) create mode 100644 sci-physics/siscone/siscone-3.1.0.ebuild diff --git a/sci-physics/siscone/Manifest b/sci-physics/siscone/Manifest index a5c8f500f3d4c..14142a2980a2e 100644 --- a/sci-physics/siscone/Manifest +++ b/sci-physics/siscone/Manifest @@ -1,2 +1,3 @@ DIST siscone-3.0.5.tar.gz 544738 BLAKE2B 7136acfc46d9414831d4e07cc428ad3858c1da02bdcd66817eb6406b9ae1d9d582800412dfcfae5477a720b7893ba070c9ef84816a517992be1762d356840bf8 SHA512 fb9f5e6b6677968e77eb9476abe8345711c69213209c153932adacd69b3c1219abe79655238fec1c0ca4e8ca91795c7693c68e2a48ec41a6afff1f046a781a61 DIST siscone-3.0.6.tar.gz 553221 BLAKE2B e472fb0ee4ce23b420af9978f95225acf8a7c27a1534a85bf69da1235621770aa7a1c1c64b3775c30c81d3161058be6dae8aa446c795805f074bdda001a76edb SHA512 ee2d07e24912aefa5a1626182e60ecdc60e11442530e602cb4dd610d5e9c33bf28faac1359597aafbb92bba3758a181bd41e38fba5746ba3f39f61d8248081ea +DIST siscone-3.1.0.tar.gz 571559 BLAKE2B 78ea1b5cac5d3eb6fac7a11223093160bad4be921002336439439faa8b23b5894afb552ac9b4ad71669050ee91a61c3c36587504738640fe37a8a88d552d4de1 SHA512 09d483db926257143d93863d0833c71cb9c8681121f8554b8a6b19747343fe71bbdd6b61b639a2d1c244f6b9f5f2c69a94146f84aae73b4b17bcd53a5362f784 diff --git a/sci-physics/siscone/siscone-3.1.0.ebuild b/sci-physics/siscone/siscone-3.1.0.ebuild new file mode 100644 index 0000000000000..7a5df871b9b8b --- /dev/null +++ b/sci-physics/siscone/siscone-3.1.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Hadron Seedless Infrared-Safe Cone jet algorithm" +HOMEPAGE=" + https://siscone.hepforge.org/ + https://gitlab.com/fastjet/siscone +" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/fastjet/siscone" +else + SRC_URI="https://siscone.hepforge.org/downloads/${P}.tar.gz" + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="examples" +BDEPEND="dev-build/autoconf-archive" + +src_configure() { + econf --disable-static +} + +src_install() { + default + if use examples; then + docinto examples + dodoc examples/*.{cpp,h} + docinto examples/events + dodoc examples/events/*.dat + docompress -x /usr/share/doc/${PF}/examples + fi + + find "${ED}" -name '*.la' -delete || die +} diff --git a/sci-physics/siscone/siscone-9999.ebuild b/sci-physics/siscone/siscone-9999.ebuild index e646896d056d2..356c73f383035 100644 --- a/sci-physics/siscone/siscone-9999.ebuild +++ b/sci-physics/siscone/siscone-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,10 @@ EAPI=8 inherit autotools DESCRIPTION="Hadron Seedless Infrared-Safe Cone jet algorithm" -HOMEPAGE="https://siscone.hepforge.org/" +HOMEPAGE=" + https://siscone.hepforge.org/ + https://gitlab.com/fastjet/siscone +" if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://gitlab.com/fastjet/siscone" @@ -20,18 +23,9 @@ SLOT="0" IUSE="examples" BDEPEND="dev-build/autoconf-archive" -PATCHES=( - "${FILESDIR}"/0001-configure-fix-broken-bashisms-resulting-in-logic-fai.patch -) - src_prepare() { default - - # The included copy of this macro is from 2008 and totally broken. - # https://bugs.gentoo.org/890780 - rm m4/ax_prefix_config_h.m4 || die - - # Rebuild after patch to configure.ac, removal of broken macro + # Rebuild live ebuild eautoreconf }