diff options
Diffstat (limited to 'sci-physics/siscone')
-rw-r--r-- | sci-physics/siscone/Manifest | 5 | ||||
-rw-r--r-- | sci-physics/siscone/metadata.xml | 3 | ||||
-rw-r--r-- | sci-physics/siscone/siscone-3.0.6.ebuild | 53 | ||||
-rw-r--r-- | sci-physics/siscone/siscone-9999.ebuild | 53 |
4 files changed, 113 insertions, 1 deletions
diff --git a/sci-physics/siscone/Manifest b/sci-physics/siscone/Manifest index 795040606dff..b1943514b72a 100644 --- a/sci-physics/siscone/Manifest +++ b/sci-physics/siscone/Manifest @@ -1,4 +1,7 @@ AUX 0001-configure-fix-broken-bashisms-resulting-in-logic-fai.patch 3191 BLAKE2B add4b0710e607c7e55bee0bfa7f9f2f4fa04ce4641c06231f7155cd437161a487275f3c9e7fd582b8427e7d6dd36b356e1096cd834ce7e4f2d278821ae6b9650 SHA512 cebed87f1df067c9cdb912e14562cd25089cc8cfc69740a239a3df8657ca99cf7b5c57bf28a61ed467588543c33d69194f45b187c5927471ef1068b7d3cbb00f DIST siscone-3.0.5.tar.gz 544738 BLAKE2B 7136acfc46d9414831d4e07cc428ad3858c1da02bdcd66817eb6406b9ae1d9d582800412dfcfae5477a720b7893ba070c9ef84816a517992be1762d356840bf8 SHA512 fb9f5e6b6677968e77eb9476abe8345711c69213209c153932adacd69b3c1219abe79655238fec1c0ca4e8ca91795c7693c68e2a48ec41a6afff1f046a781a61 +DIST siscone-3.0.6.tar.gz 553221 BLAKE2B e472fb0ee4ce23b420af9978f95225acf8a7c27a1534a85bf69da1235621770aa7a1c1c64b3775c30c81d3161058be6dae8aa446c795805f074bdda001a76edb SHA512 ee2d07e24912aefa5a1626182e60ecdc60e11442530e602cb4dd610d5e9c33bf28faac1359597aafbb92bba3758a181bd41e38fba5746ba3f39f61d8248081ea EBUILD siscone-3.0.5.ebuild 1052 BLAKE2B f5a5874484e9e8cf668373fc60614ba3ce99ff08f157ec25145398e0283430ae0238790fbc43463eb4a8e652e43e8968736ae491ca95244545822afc5e64b50e SHA512 07c34f05bd3684b33a344e5cb84e15ffa165ae795d6b8fa019d0740ae4f9ee836bda73d364434cbd9cdbf055b457f1efbf623a7f051d52843e11638cc05ba1b5 -MISC metadata.xml 487 BLAKE2B d1df4336770fb9ade97d6c75d1712253b0640d95b0a91f34ea2c22f3f9fe58c6b24f25bc7c415fb5bfa49de4c1ae7e5a99cbf336a9255cb74b4b972be3d694dd SHA512 9f442c9d835eb3021ed7dee8e565a24bf190df844920e35c4a92df2efecba3d9ba49856f2f6b7ce7c8dcd89f5fcc0e20a1f9d61ec8c8121b233696442e5c8029 +EBUILD siscone-3.0.6.ebuild 1158 BLAKE2B 253cdd5afeb3f5e577d4cbe8286bdc8780bd9b91519ebab9a8e3e85e39edbff69fc9a59f81f8110dcfdc3346263c25fdd7cb55878fdfd1db28ad4f870df769b7 SHA512 62660393b727a948a2f6a9bcf7d5e15c5767cdcac4ffc842a779b0ac6c4b13acd510a83d989c02d3d3017c7e6f44f3ed5bc2143b57a77dfd2d8f01ed6e4d39a6 +EBUILD siscone-9999.ebuild 1158 BLAKE2B 253cdd5afeb3f5e577d4cbe8286bdc8780bd9b91519ebab9a8e3e85e39edbff69fc9a59f81f8110dcfdc3346263c25fdd7cb55878fdfd1db28ad4f870df769b7 SHA512 62660393b727a948a2f6a9bcf7d5e15c5767cdcac4ffc842a779b0ac6c4b13acd510a83d989c02d3d3017c7e6f44f3ed5bc2143b57a77dfd2d8f01ed6e4d39a6 +MISC metadata.xml 567 BLAKE2B cb41c3f3e4cfbd164292e616f634a5c5c12e0e44316b712e1f275113da09ba16ceae2cd3cc1ca6ef1cbfdff7a41a67e6714766254a2e92e59223f3a2065d54c2 SHA512 6b460141d3f48f908f37c1d068cc02cbedf3fad668e3de1cf29e425cb0f9c22745c21063943f48de88550adee76321c8179f4036329368489136540da9efd65b diff --git a/sci-physics/siscone/metadata.xml b/sci-physics/siscone/metadata.xml index 858c1fe385e5..abbbdb4b8952 100644 --- a/sci-physics/siscone/metadata.xml +++ b/sci-physics/siscone/metadata.xml @@ -10,4 +10,7 @@ N^2*ln(N) time to find jets among N particles, comparing to N*2^N time of other algorithms. </longdescription> + <upstream> + <remote-id type="gitlab">fastjet/siscone</remote-id> + </upstream> </pkgmetadata> diff --git a/sci-physics/siscone/siscone-3.0.6.ebuild b/sci-physics/siscone/siscone-3.0.6.ebuild new file mode 100644 index 000000000000..e646896d056d --- /dev/null +++ b/sci-physics/siscone/siscone-3.0.6.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Hadron Seedless Infrared-Safe Cone jet algorithm" +HOMEPAGE="https://siscone.hepforge.org/" +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" + +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 + eautoreconf +} + +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 new file mode 100644 index 000000000000..e646896d056d --- /dev/null +++ b/sci-physics/siscone/siscone-9999.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Hadron Seedless Infrared-Safe Cone jet algorithm" +HOMEPAGE="https://siscone.hepforge.org/" +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" + +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 + eautoreconf +} + +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 +} |