Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hepmc: revert from 3.3.0 to 3.2.7 #407

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions Formula/hepmc3.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
class Hepmc3 < Formula
desc "C++ event record for Monte Carlo generators"
homepage "https://hepmc.web.cern.ch/"
url "https://hepmc.web.cern.ch/releases/HepMC3-3.3.0.tar.gz"
sha256 "6f876091edcf7ee6d0c0db04e080056e89efc1a61abe62355d97ce8e735769d6"
url "https://hepmc.web.cern.ch/releases/HepMC3-3.2.7.tar.gz"
sha256 "587faa6556cc54ccd89ad35421461b4761d7809bc17a2e72f5034daea142232b"
license "LGPL-3.0-or-later"
revision 1

livecheck do
url "https://hepmc.web.cern.ch/hepmc/"
Expand Down Expand Up @@ -52,5 +53,10 @@ def install
test do
assert_equal prefix.to_s, shell_output(bin/"HepMC3-config --prefix").strip
system Formula["[email protected]"].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
Loading