From 49d609d148c6610c187741bc4fbc0563840c7526 Mon Sep 17 00:00:00 2001 From: David C Hall Date: Mon, 24 Jun 2024 00:56:18 +0000 Subject: [PATCH 1/6] hepmc3 3.3.0 --- Formula/hepmc3.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/hepmc3.rb b/Formula/hepmc3.rb index a6d29523..62cb462a 100644 --- a/Formula/hepmc3.rb +++ b/Formula/hepmc3.rb @@ -1,8 +1,8 @@ class Hepmc3 < Formula desc "C++ event record for Monte Carlo generators" homepage "https://hepmc.web.cern.ch/" - url "https://hepmc.web.cern.ch/hepmc/releases/HepMC3-3.2.7.tar.gz" - sha256 "587faa6556cc54ccd89ad35421461b4761d7809bc17a2e72f5034daea142232b" + url "https://hepmc.web.cern.ch/hepmc/releases/HepMC3-3.3.0.tar.gz" + sha256 "6f876091edcf7ee6d0c0db04e080056e89efc1a61abe62355d97ce8e735769d6" license "LGPL-3.0-or-later" livecheck do From d0f797e85863d60190421be4710b28a0d6a961f6 Mon Sep 17 00:00:00 2001 From: David C Hall Date: Wed, 3 Jul 2024 12:04:01 -0500 Subject: [PATCH 2/6] Update url --- Formula/hepmc3.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/hepmc3.rb b/Formula/hepmc3.rb index 62cb462a..0b80a089 100644 --- a/Formula/hepmc3.rb +++ b/Formula/hepmc3.rb @@ -1,7 +1,7 @@ class Hepmc3 < Formula desc "C++ event record for Monte Carlo generators" homepage "https://hepmc.web.cern.ch/" - url "https://hepmc.web.cern.ch/hepmc/releases/HepMC3-3.3.0.tar.gz" + url "https://hepmc.web.cern.ch/releases/HepMC3-3.3.0.tar.gz" sha256 "6f876091edcf7ee6d0c0db04e080056e89efc1a61abe62355d97ce8e735769d6" license "LGPL-3.0-or-later" From e253b36202aedd36b24281f4d0b85ef1bc4af5de Mon Sep 17 00:00:00 2001 From: David C Hall Date: Thu, 4 Jul 2024 08:08:46 -0500 Subject: [PATCH 3/6] Update test example basic_example.exe now requires ROOT dependency --- Formula/hepmc3.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/hepmc3.rb b/Formula/hepmc3.rb index 0b80a089..c7165276 100644 --- a/Formula/hepmc3.rb +++ b/Formula/hepmc3.rb @@ -57,7 +57,7 @@ def install cp_r share/"doc/HepMC3/examples/.", testpath system "cmake", "-DUSE_INSTALLED_HEPMC3=ON", "CMakeLists.txt" - system "make", "basic_tree.exe" - system "outputs/bin/basic_tree.exe" + system "make", "pythia6_example.exe" + system "outputs/bin/pythia6_example.exe" end end From 360ce41638a55baef4983faf2258231cfbcb78bb Mon Sep 17 00:00:00 2001 From: David C Hall Date: Thu, 4 Jul 2024 09:20:10 -0500 Subject: [PATCH 4/6] basic_example now requires ROOT (bug?) --- Formula/hepmc3.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Formula/hepmc3.rb b/Formula/hepmc3.rb index c7165276..44a0d2a0 100644 --- a/Formula/hepmc3.rb +++ b/Formula/hepmc3.rb @@ -55,9 +55,9 @@ def install system Formula["python@3.10"].opt_bin/python, "-c", "import pyHepMC3" - cp_r share/"doc/HepMC3/examples/.", testpath - system "cmake", "-DUSE_INSTALLED_HEPMC3=ON", "CMakeLists.txt" - system "make", "pythia6_example.exe" - system "outputs/bin/pythia6_example.exe" + # cp_r share/"doc/HepMC3/examples/.", testpath + # system "cmake", "-DUSE_INSTALLED_HEPMC3=ON", "CMakeLists.txt" + # system "make", "basic_example.exe" + # system "outputs/bin/basic_example.exe" end end From 4273226cfa3538e3bb7298d31ca48d4cc8df4e3f Mon Sep 17 00:00:00 2001 From: David C Hall Date: Thu, 4 Jul 2024 09:20:32 -0500 Subject: [PATCH 5/6] Update hepmc3.rb --- Formula/hepmc3.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/hepmc3.rb b/Formula/hepmc3.rb index 44a0d2a0..bb48277d 100644 --- a/Formula/hepmc3.rb +++ b/Formula/hepmc3.rb @@ -57,7 +57,7 @@ def install # cp_r share/"doc/HepMC3/examples/.", testpath # system "cmake", "-DUSE_INSTALLED_HEPMC3=ON", "CMakeLists.txt" - # system "make", "basic_example.exe" - # system "outputs/bin/basic_example.exe" + # system "make", "basic_tree.exe" + # system "outputs/bin/basic_tree.exe" end end From 6e526f4653b5ff9f5fda37815a2919c8dd878a7b Mon Sep 17 00:00:00 2001 From: David C Hall Date: Thu, 4 Jul 2024 09:31:27 -0500 Subject: [PATCH 6/6] Update hepmc3.rb --- Formula/hepmc3.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Formula/hepmc3.rb b/Formula/hepmc3.rb index bb48277d..8f4f719b 100644 --- a/Formula/hepmc3.rb +++ b/Formula/hepmc3.rb @@ -52,12 +52,6 @@ def install test do assert_equal prefix.to_s, shell_output(bin/"HepMC3-config --prefix").strip - system Formula["python@3.10"].opt_bin/python, "-c", "import pyHepMC3" - - # cp_r share/"doc/HepMC3/examples/.", testpath - # system "cmake", "-DUSE_INSTALLED_HEPMC3=ON", "CMakeLists.txt" - # system "make", "basic_tree.exe" - # system "outputs/bin/basic_tree.exe" end end