diff --git a/Aliases/sumo@1.19 b/Aliases/sumo@1.20 similarity index 100% rename from Aliases/sumo@1.19 rename to Aliases/sumo@1.20 diff --git a/Formula/sumo.rb b/Formula/sumo.rb index 1fd4f0b..1a25514 100644 --- a/Formula/sumo.rb +++ b/Formula/sumo.rb @@ -1,22 +1,11 @@ class Sumo < Formula desc "Simulation of Urban MObility" homepage "https://www.eclipse.dev/sumo" + url "https://sumo.dlr.de/releases/1.20.0/sumo-src-1.20.0.tar.gz" + sha256 "34320ba1695db74c769d6b4931cb6bc6ec5b26c37e556451ab29d3963d6af8ec" license "EPL-2.0" head "https://github.com/eclipse-sumo/sumo.git", branch: "main" - stable do - url "https://sumo.dlr.de/releases/1.19.0/sumo-src-1.19.0.tar.gz" - sha256 "7643b1f8a3d7144f181542c9c7b8c72f3e8e45ba9c627912665083db0fe106cd" - end - - bottle do - root_url "https://github.com/DLR-TS/homebrew-sumo/releases/download/sumo-1.19.0" - sha256 cellar: :any, arm64_sonoma: "6e4d383eb4129a14d64c87abd594585f23e93a2992f09e6501854d9b7dee3a6b" - sha256 cellar: :any, arm64_ventura: "f3ec3a9c845548b0ca7e5c3da6089ac1541b39df96120b83239a6e3eb947ec6d" - sha256 cellar: :any, ventura: "0a99e836fe17386eab741544f6a0659d311879e917168d6593680178cd8b25a3" - sha256 cellar: :any, monterey: "69c36af294f7f54255f1231dc121bf1143953a106614c3eabb559ec71a66ba66" - end - option "with-examples", "Install docs/examples and docs/tutorial folder" depends_on "cmake" => :build diff --git a/Formula/sumo@1.1.0.rb b/Formula/sumo@1.1.0.rb index 3bb5919..3fe98ba 100644 --- a/Formula/sumo@1.1.0.rb +++ b/Formula/sumo@1.1.0.rb @@ -1,13 +1,10 @@ class SumoAT110 < Formula desc "Simulation of Urban MObility" homepage "http://sumo.dlr.de" + url "https://downloads.sourceforge.net/project/sumo/sumo/version%201.1.0/sumo-src-1.1.0.tar.gz" + sha256 "68630b6879a3331683443e8044cb0a81e5919f9e4cfb80722933da85b84e542e" head "https://github.com/eclipse/sumo.git", branch: "main" - stable do - url "https://downloads.sourceforge.net/project/sumo/sumo/version%201.1.0/sumo-src-1.1.0.tar.gz" - sha256 "68630b6879a3331683443e8044cb0a81e5919f9e4cfb80722933da85b84e542e" - end - depends_on "cmake" => :build depends_on "fox" depends_on "libx11" diff --git a/Formula/sumo@1.10.0.rb b/Formula/sumo@1.10.0.rb index f062915..4ab83c4 100644 --- a/Formula/sumo@1.10.0.rb +++ b/Formula/sumo@1.10.0.rb @@ -1,14 +1,11 @@ class SumoAT1100 < Formula desc "Simulation of Urban MObility" homepage "https://www.eclipse.org/sumo" + url "https://sumo.dlr.de/releases/1.10.0/sumo-src-1.10.0.tar.gz" + sha256 "4c6c1de915225e21bc5b2bda9a9d8d4aad6572f62bfeab90af96e840da234da9" license "EPL-2.0" head "https://github.com/eclipse/sumo.git", branch: "main" - stable do - url "https://sumo.dlr.de/releases/1.10.0/sumo-src-1.10.0.tar.gz" - sha256 "4c6c1de915225e21bc5b2bda9a9d8d4aad6572f62bfeab90af96e840da234da9" - end - bottle do root_url "https://github.com/DLR-TS/homebrew-sumo/releases/download/sumo-1.10.0" sha256 cellar: :any, catalina: "5c80a424d624ab9434775c1c40fecb19bb568f557aa934b708b1ff0222774b1e" diff --git a/Formula/sumo@1.11.0.rb b/Formula/sumo@1.11.0.rb index de3c9c2..91baa3a 100644 --- a/Formula/sumo@1.11.0.rb +++ b/Formula/sumo@1.11.0.rb @@ -1,14 +1,11 @@ class SumoAT1110 < Formula desc "Simulation of Urban MObility" homepage "https://www.eclipse.org/sumo" + url "https://sumo.dlr.de/releases/1.11.0/sumo-src-1.11.0.tar.gz" + sha256 "24edb00c99ae2a930640ff296c98c4d98b6e4ba8e274a2f233af1a442ae36200" license "EPL-2.0" head "https://github.com/eclipse/sumo.git", branch: "main" - stable do - url "https://sumo.dlr.de/releases/1.11.0/sumo-src-1.11.0.tar.gz" - sha256 "24edb00c99ae2a930640ff296c98c4d98b6e4ba8e274a2f233af1a442ae36200" - end - bottle do root_url "https://github.com/DLR-TS/homebrew-sumo/releases/download/sumo-1.11.0" sha256 cellar: :any, big_sur: "ce62a20250c665e878f981fb3afc002d03d29298ff9ba06a90df2dcb6f9f5ef1" diff --git a/Formula/sumo@1.13.0.rb b/Formula/sumo@1.13.0.rb index 44aa76e..f326026 100644 --- a/Formula/sumo@1.13.0.rb +++ b/Formula/sumo@1.13.0.rb @@ -1,15 +1,12 @@ class SumoAT1130 < Formula desc "Simulation of Urban MObility" homepage "https://www.eclipse.org/sumo" + url "https://sumo.dlr.de/releases/1.13.0/sumo-src-1.13.0.tar.gz" + sha256 "71bfc0162a0bf77eeec962d7c851d87e6a148c5040cb1d0ba6715936363897af" license "EPL-2.0" revision 1 head "https://github.com/eclipse/sumo.git", branch: "main" - stable do - url "https://sumo.dlr.de/releases/1.13.0/sumo-src-1.13.0.tar.gz" - sha256 "71bfc0162a0bf77eeec962d7c851d87e6a148c5040cb1d0ba6715936363897af" - end - bottle do root_url "https://github.com/DLR-TS/homebrew-sumo/releases/download/sumo-1.13.0_1" sha256 cellar: :any, big_sur: "b2c2b43b71514131fc3c3b5f60ece2c36f8bbf3dccb7c298857f2ba5a100aa5a" diff --git a/Formula/sumo@1.14.0.rb b/Formula/sumo@1.14.0.rb index 6c97505..de4038d 100644 --- a/Formula/sumo@1.14.0.rb +++ b/Formula/sumo@1.14.0.rb @@ -1,14 +1,11 @@ class SumoAT1140 < Formula desc "Simulation of Urban MObility" homepage "https://www.eclipse.org/sumo" + url "https://sumo.dlr.de/releases/1.14.0/sumo-src-1.14.0.tar.gz" + sha256 "0e7643c89c819683d5dd3e895f4312df1f37da278b782c16eb9cec0cc280f678" license "EPL-2.0" head "https://github.com/eclipse/sumo.git", branch: "main" - stable do - url "https://sumo.dlr.de/releases/1.14.0/sumo-src-1.14.0.tar.gz" - sha256 "0e7643c89c819683d5dd3e895f4312df1f37da278b782c16eb9cec0cc280f678" - end - bottle do root_url "https://github.com/DLR-TS/homebrew-sumo/releases/download/sumo-1.14.0" sha256 cellar: :any, big_sur: "06b86aaaacb5ec0c900204e53c71bb887d3af27605e92a7fa9ee58c57c82b487" diff --git a/Formula/sumo@1.14.1.rb b/Formula/sumo@1.14.1.rb index 056c7c8..40c5b0b 100644 --- a/Formula/sumo@1.14.1.rb +++ b/Formula/sumo@1.14.1.rb @@ -1,14 +1,11 @@ class SumoAT1141 < Formula desc "Simulation of Urban MObility" homepage "https://www.eclipse.org/sumo" + url "https://sumo.dlr.de/releases/1.14.1/sumo-src-1.14.1.tar.gz" + sha256 "f84b9facac49d301c4ea7e34f5880425250487be296830d783c8a5d738ab979d" license "EPL-2.0" head "https://github.com/eclipse/sumo.git", branch: "main" - stable do - url "https://sumo.dlr.de/releases/1.14.1/sumo-src-1.14.1.tar.gz" - sha256 "f84b9facac49d301c4ea7e34f5880425250487be296830d783c8a5d738ab979d" - end - bottle do root_url "https://github.com/DLR-TS/homebrew-sumo/releases/download/sumo-1.14.1" sha256 cellar: :any, big_sur: "fd34e7e2bd55c4b178f088cc298854aa31f97e17edda28a2c5f6b1075350fafd" diff --git a/Formula/sumo@1.15.0.rb b/Formula/sumo@1.15.0.rb index b805bf3..b1deeaa 100644 --- a/Formula/sumo@1.15.0.rb +++ b/Formula/sumo@1.15.0.rb @@ -1,14 +1,11 @@ class SumoAT1150 < Formula desc "Simulation of Urban MObility" homepage "https://www.eclipse.org/sumo" + url "https://sumo.dlr.de/releases/1.15.0/sumo-src-1.15.0.tar.gz" + sha256 "b4c2c18f5f6df90bec7c3f7aa360bc5a682221ea6a3fa02b7e1c8dd9976733bd" license "EPL-2.0" head "https://github.com/eclipse/sumo.git", branch: "main" - stable do - url "https://sumo.dlr.de/releases/1.15.0/sumo-src-1.15.0.tar.gz" - sha256 "b4c2c18f5f6df90bec7c3f7aa360bc5a682221ea6a3fa02b7e1c8dd9976733bd" - end - bottle do root_url "https://github.com/DLR-TS/homebrew-sumo/releases/download/sumo-1.15.0" sha256 cellar: :any, big_sur: "ad4e1d1c5b877b90c21a299635c215b7df9a92d530240966195fe32d38040d49" diff --git a/Formula/sumo@1.16.0.rb b/Formula/sumo@1.16.0.rb index 425cbaf..c03982c 100644 --- a/Formula/sumo@1.16.0.rb +++ b/Formula/sumo@1.16.0.rb @@ -1,14 +1,11 @@ class SumoAT1160 < Formula desc "Simulation of Urban MObility" homepage "https://www.eclipse.org/sumo" + url "https://sumo.dlr.de/releases/1.16.0/sumo-src-1.16.0.tar.gz" + sha256 "33694b554a8c661ec407d04cc7c6534c473ccb2fbe7bf2ea97e1faddc70654fa" license "EPL-2.0" head "https://github.com/eclipse/sumo.git", branch: "main" - stable do - url "https://sumo.dlr.de/releases/1.16.0/sumo-src-1.16.0.tar.gz" - sha256 "33694b554a8c661ec407d04cc7c6534c473ccb2fbe7bf2ea97e1faddc70654fa" - end - bottle do root_url "https://github.com/DLR-TS/homebrew-sumo/releases/download/sumo-1.16.0" sha256 cellar: :any, arm64_ventura: "c3a05b783f45f5e1860c51d73cda163203a7cb14f006f30c1daa55789964da31" diff --git a/Formula/sumo@1.17.0.rb b/Formula/sumo@1.17.0.rb index 65d1625..37a9123 100644 --- a/Formula/sumo@1.17.0.rb +++ b/Formula/sumo@1.17.0.rb @@ -1,14 +1,11 @@ class SumoAT1170 < Formula desc "Simulation of Urban MObility" homepage "https://www.eclipse.org/sumo" + url "https://sumo.dlr.de/releases/1.17.0/sumo-src-1.17.0.tar.gz" + sha256 "9985732cfb51f1b40f0dc8dc46772e684947d84a6c79fc61cf137fa08ec0988b" license "EPL-2.0" head "https://github.com/eclipse/sumo.git", branch: "main" - stable do - url "https://sumo.dlr.de/releases/1.17.0/sumo-src-1.17.0.tar.gz" - sha256 "9985732cfb51f1b40f0dc8dc46772e684947d84a6c79fc61cf137fa08ec0988b" - end - bottle do root_url "https://github.com/DLR-TS/homebrew-sumo/releases/download/sumo-1.17.0" sha256 cellar: :any, arm64_ventura: "c031bda20afd2021d6b8cf9902ff4ec10f5c5d0e3d41af77b69b3b6e264ae0e5" diff --git a/Formula/sumo@1.18.0.rb b/Formula/sumo@1.18.0.rb index 64ed1bb..1afb1d1 100644 --- a/Formula/sumo@1.18.0.rb +++ b/Formula/sumo@1.18.0.rb @@ -1,14 +1,11 @@ class SumoAT1180 < Formula desc "Simulation of Urban MObility" homepage "https://www.eclipse.org/sumo" + url "https://sumo.dlr.de/releases/1.18.0/sumo-src-1.18.0.tar.gz" + sha256 "46b9c0f12416ab5a757a6e6d06c6d14432937b47d87a7abafafaab363fdfbc83" license "EPL-2.0" head "https://github.com/eclipse/sumo.git", branch: "main" - stable do - url "https://sumo.dlr.de/releases/1.18.0/sumo-src-1.18.0.tar.gz" - sha256 "46b9c0f12416ab5a757a6e6d06c6d14432937b47d87a7abafafaab363fdfbc83" - end - bottle do root_url "https://github.com/DLR-TS/homebrew-sumo/releases/download/sumo-1.18.0" sha256 cellar: :any, arm64_ventura: "bbbf60a04f47fac70d377644d6a554c7fcf712c98b6049f506293c2528760900" diff --git a/Formula/sumo@1.19.0.rb b/Formula/sumo@1.19.0.rb new file mode 100644 index 0000000..e4e2caf --- /dev/null +++ b/Formula/sumo@1.19.0.rb @@ -0,0 +1,125 @@ +class SumoAT1190 < Formula + desc "Simulation of Urban MObility" + homepage "https://www.eclipse.dev/sumo" + url "https://sumo.dlr.de/releases/1.19.0/sumo-src-1.19.0.tar.gz" + sha256 "7643b1f8a3d7144f181542c9c7b8c72f3e8e45ba9c627912665083db0fe106cd" + license "EPL-2.0" + head "https://github.com/eclipse-sumo/sumo.git", branch: "main" + + bottle do + root_url "https://github.com/DLR-TS/homebrew-sumo/releases/download/sumo-1.19.0" + sha256 cellar: :any, arm64_sonoma: "6e4d383eb4129a14d64c87abd594585f23e93a2992f09e6501854d9b7dee3a6b" + sha256 cellar: :any, arm64_ventura: "f3ec3a9c845548b0ca7e5c3da6089ac1541b39df96120b83239a6e3eb947ec6d" + sha256 cellar: :any, ventura: "0a99e836fe17386eab741544f6a0659d311879e917168d6593680178cd8b25a3" + sha256 cellar: :any, monterey: "69c36af294f7f54255f1231dc121bf1143953a106614c3eabb559ec71a66ba66" + end + + option "with-examples", "Install docs/examples and docs/tutorial folder" + + depends_on "cmake" => :build + depends_on "fox" + depends_on "libice" + depends_on "libx11" + depends_on "libxcursor" + depends_on "libxext" + depends_on "libxfixes" + depends_on "libxft" + depends_on "libxi" + depends_on "libxrandr" + depends_on "libxrender" + depends_on "proj" + depends_on "python" if build.head? && build.with?("examples") + depends_on "xerces-c" + depends_on "ffmpeg" => :optional + depends_on "gdal" => :optional + depends_on "gl2ps" => :optional + depends_on "open-scene-graph" => :optional + depends_on "swig" => :optional + + # workaround due to dependency gdal -> numpy -> openblas -> gcc (originally gfortran) + # (use 'brew deps --tree sumo' to see dependencies of higher levels) + # also see: https://github.com/davidchall/homebrew-hep/issues/28 + cxxstdlib_check :skip + + def install + # cf. https://rubydoc.brew.sh/Formula.html#std_cmake_args-instance_method + cmake_args = *std_cmake_args(find_framework: "LAST") + + # bottling uses default formula options and we want minimal requirement bottles, + # therefore, by default, do not check for optional libs + if build.with?("ffmpeg") || + build.with?("gdal") || + build.with?("gl2ps") || + build.with?("open-scene-graph") + ohai "Enabling check for optional libraries..." + cmake_args << "-DCHECK_OPTIONAL_LIBS=ON" + else + cmake_args << "-DCHECK_OPTIONAL_LIBS=OFF" + end + + # If found, SWIG is enabled by default by sumo cmake config step + # but Java/Python library paths found by cmake might still be broken, + # so we disable SWIG by default here. + cmake_args << "-DSWIG_EXECUTABLE=\"\"" if build.without?("swig") + # XXX: pointers for getting '--with-swig' to work: + # cmake_args << "-DJAVA_HOME=#{Formula["openjdk"].opt_prefix}/libexec/openjdk.jdk/Contents/Home" + # cmake_args << "-DPython_ROOT_DIR=#{Formula["python"].opt_prefix}" + + mkdir "build/cmake-build" do # creates and changes to dir in block + system "cmake", "../..", *cmake_args + system "make" + system "make", "install" + system "make", "examples" if build.head? && build.with?("examples") + end + + if build.with?("examples") + (pkgshare/"docs").install "docs/examples" + (pkgshare/"docs").install "docs/tutorial" + end + end + + def caveats + <<~EOS + In order to let X11 start automatically whenever a GUI-based SUMO application + (e.g., "sumo-gui") is called, you need to log out and in again. + Alternatively, start X11 manually by pressing cmd-space and entering "XQuartz". + + Don't forget to set your SUMO_HOME environment variable: + export SUMO_HOME="#{prefix}/share/sumo" + + Please report any problems with this formula directly to the eclipse-sumo/sumo issue tracker: + https://github.com/eclipse-sumo/sumo/issues + + EOS + end + + test do # will create, run in and delete a temporary directory + # This small test verifies the functionality of SUMO. + # Run with 'brew test sumo'. + # Options passed to 'brew install' such as '--HEAD' also need to be provided to 'brew test'. + + (testpath/"nodes.xml").write <<~EOS + + + + + EOS + + (testpath/"edges.xml").write <<~EOS + + + + EOS + + system "#{bin}/netconvert", "-n", "#{testpath}/nodes.xml", "-e", "#{testpath}/edges.xml", "-o", + "#{testpath}/net.xml" + + (testpath/"flows.xml").write <<~EOS + + + + EOS + + system "#{bin}/sumo", "-n", "#{testpath}/net.xml", "-r", "#{testpath}/flows.xml" + end +end diff --git a/Formula/sumo@1.2.0.rb b/Formula/sumo@1.2.0.rb index 0d2ee68..3b3e7ff 100644 --- a/Formula/sumo@1.2.0.rb +++ b/Formula/sumo@1.2.0.rb @@ -1,13 +1,10 @@ class SumoAT120 < Formula desc "Simulation of Urban MObility" homepage "https://projects.eclipse.org/projects/technology.sumo" + url "https://sumo.dlr.de/releases/1.2.0/sumo-src-1.2.0.tar.gz" + sha256 "361ca67ba08b01499b1474e5949b4ddb9b6de3f9ded4bdba18c1da18bcf00190" head "https://github.com/eclipse/sumo.git", branch: "main" - stable do - url "https://sumo.dlr.de/releases/1.2.0/sumo-src-1.2.0.tar.gz" - sha256 "361ca67ba08b01499b1474e5949b4ddb9b6de3f9ded4bdba18c1da18bcf00190" - end - depends_on "cmake" => :build depends_on "fox" depends_on "libx11" diff --git a/Formula/sumo@1.3.1.rb b/Formula/sumo@1.3.1.rb index 9b03d02..613ad01 100644 --- a/Formula/sumo@1.3.1.rb +++ b/Formula/sumo@1.3.1.rb @@ -1,13 +1,10 @@ class SumoAT131 < Formula desc "Simulation of Urban MObility" homepage "https://projects.eclipse.org/projects/technology.sumo" + url "https://sumo.dlr.de/releases/1.3.1/sumo-src-1.3.1.tar.gz" + sha256 "dd089814499cc8d21ea90ab506adbb01e7fda9d9685d9d90a1a41cc3fe680505" head "https://github.com/eclipse/sumo.git", branch: "main" - stable do - url "https://sumo.dlr.de/releases/1.3.1/sumo-src-1.3.1.tar.gz" - sha256 "dd089814499cc8d21ea90ab506adbb01e7fda9d9685d9d90a1a41cc3fe680505" - end - depends_on "cmake" => :build depends_on "fox" depends_on "libx11" diff --git a/Formula/sumo@1.4.0.rb b/Formula/sumo@1.4.0.rb index c50f175..c84c1a7 100644 --- a/Formula/sumo@1.4.0.rb +++ b/Formula/sumo@1.4.0.rb @@ -1,13 +1,10 @@ class SumoAT140 < Formula desc "Simulation of Urban MObility" homepage "https://projects.eclipse.org/projects/technology.sumo" + url "https://sumo.dlr.de/releases/1.4.0/sumo-src-1.4.0.tar.gz" + sha256 "9ce3d71100b498d861c74d7e5e013cd3d9fd8eaf092c9cdfb63b3b18ada0b2fc" head "https://github.com/eclipse/sumo.git", branch: "main" - stable do - url "https://sumo.dlr.de/releases/1.4.0/sumo-src-1.4.0.tar.gz" - sha256 "9ce3d71100b498d861c74d7e5e013cd3d9fd8eaf092c9cdfb63b3b18ada0b2fc" - end - depends_on "cmake" => :build depends_on "fox" depends_on "libx11" diff --git a/Formula/sumo@1.5.0.rb b/Formula/sumo@1.5.0.rb index 54c9a20..f7b1d6e 100644 --- a/Formula/sumo@1.5.0.rb +++ b/Formula/sumo@1.5.0.rb @@ -1,13 +1,10 @@ class SumoAT150 < Formula desc "Simulation of Urban MObility" homepage "https://projects.eclipse.org/projects/technology.sumo" + url "https://sumo.dlr.de/releases/1.5.0/sumo-src-1.5.0.tar.gz" + sha256 "dcf5339fdda0659fa44fcfd69fe3f4e03009aa9a59849624f2a3cfe72eda9f8e" head "https://github.com/eclipse/sumo.git", branch: "main" - stable do - url "https://sumo.dlr.de/releases/1.5.0/sumo-src-1.5.0.tar.gz" - sha256 "dcf5339fdda0659fa44fcfd69fe3f4e03009aa9a59849624f2a3cfe72eda9f8e" - end - depends_on "cmake" => :build depends_on "fox" depends_on "libx11" diff --git a/Formula/sumo@1.6.0.rb b/Formula/sumo@1.6.0.rb index a59c5dc..5436b54 100644 --- a/Formula/sumo@1.6.0.rb +++ b/Formula/sumo@1.6.0.rb @@ -1,13 +1,10 @@ class SumoAT160 < Formula desc "Simulation of Urban MObility" homepage "https://projects.eclipse.org/projects/technology.sumo" + url "https://sumo.dlr.de/releases/1.6.0/sumo-src-1.6.0.tar.gz" + sha256 "318fb3cc129f7578fe2b1b59c2aa86fd226ead6d087da4945015b14cc09de94e" head "https://github.com/eclipse/sumo.git", branch: "main" - stable do - url "https://sumo.dlr.de/releases/1.6.0/sumo-src-1.6.0.tar.gz" - sha256 "318fb3cc129f7578fe2b1b59c2aa86fd226ead6d087da4945015b14cc09de94e" - end - depends_on "cmake" => :build depends_on "fox" depends_on "libx11" diff --git a/Formula/sumo@1.7.0.rb b/Formula/sumo@1.7.0.rb index 32477b1..3a9737f 100644 --- a/Formula/sumo@1.7.0.rb +++ b/Formula/sumo@1.7.0.rb @@ -1,13 +1,10 @@ class SumoAT170 < Formula desc "Simulation of Urban MObility" homepage "https://projects.eclipse.org/projects/technology.sumo" + url "https://sumo.dlr.de/releases/1.7.0/sumo-src-1.7.0.tar.gz" + sha256 "1f7a668568c92d1eeaa0e54a8af45052747accf9ba42983b21e906a80b16a9c2" head "https://github.com/eclipse/sumo.git", branch: "main" - stable do - url "https://sumo.dlr.de/releases/1.7.0/sumo-src-1.7.0.tar.gz" - sha256 "1f7a668568c92d1eeaa0e54a8af45052747accf9ba42983b21e906a80b16a9c2" - end - depends_on "cmake" => :build depends_on "fox" depends_on "libx11" diff --git a/Formula/sumo@1.8.0.rb b/Formula/sumo@1.8.0.rb index 292fb6a..7e97aca 100644 --- a/Formula/sumo@1.8.0.rb +++ b/Formula/sumo@1.8.0.rb @@ -1,13 +1,10 @@ class SumoAT180 < Formula desc "Simulation of Urban MObility" homepage "https://projects.eclipse.org/projects/technology.sumo" + url "https://sumo.dlr.de/releases/1.8.0/sumo-src-1.8.0.tar.gz" + sha256 "fb0636152085153155ddb41841f0175c5f1e7989907b883f6c7453c63af49edb" head "https://github.com/eclipse/sumo.git", branch: "main" - stable do - url "https://sumo.dlr.de/releases/1.8.0/sumo-src-1.8.0.tar.gz" - sha256 "fb0636152085153155ddb41841f0175c5f1e7989907b883f6c7453c63af49edb" - end - depends_on "cmake" => :build depends_on "fox" depends_on "libx11" diff --git a/Formula/sumo@1.9.0.rb b/Formula/sumo@1.9.0.rb index 39187b6..2405f3e 100644 --- a/Formula/sumo@1.9.0.rb +++ b/Formula/sumo@1.9.0.rb @@ -1,14 +1,11 @@ class SumoAT190 < Formula desc "Simulation of Urban MObility" homepage "https://www.eclipse.org/sumo" + url "https://sumo.dlr.de/releases/1.9.0/sumo-src-1.9.0.tar.gz" + sha256 "37585e064b7403d73c2f11e2714c60f1825b1e9a90cad8fa5f12b74a98e308d5" license "EPL-2.0" head "https://github.com/eclipse/sumo.git", branch: "main" - stable do - url "https://sumo.dlr.de/releases/1.9.0/sumo-src-1.9.0.tar.gz" - sha256 "37585e064b7403d73c2f11e2714c60f1825b1e9a90cad8fa5f12b74a98e308d5" - end - bottle do root_url "https://github.com/DLR-TS/homebrew-sumo/releases/download/sumo-1.9.0" sha256 cellar: :any, catalina: "ede2629bcae9698f84adcd9de9ad03545a5de74cd294b2cd00c4c285f47a602b" diff --git a/Formula/sumo@1.9.1.rb b/Formula/sumo@1.9.1.rb index afa79aa..6474b7c 100644 --- a/Formula/sumo@1.9.1.rb +++ b/Formula/sumo@1.9.1.rb @@ -1,14 +1,11 @@ class SumoAT191 < Formula desc "Simulation of Urban MObility" homepage "https://www.eclipse.org/sumo" + url "https://sumo.dlr.de/releases/1.9.1/sumo-src-1.9.1.tar.gz" + sha256 "75e6d2e6be456dba317ccf410b61998b6157bedef5f0225dd9324903648c301c" license "EPL-2.0" head "https://github.com/eclipse/sumo.git", branch: "main" - stable do - url "https://sumo.dlr.de/releases/1.9.1/sumo-src-1.9.1.tar.gz" - sha256 "75e6d2e6be456dba317ccf410b61998b6157bedef5f0225dd9324903648c301c" - end - bottle do root_url "https://github.com/DLR-TS/homebrew-sumo/releases/download/sumo-1.9.1" sha256 cellar: :any, catalina: "4917eb5ef3beffe08e5accb103dd8f6af3a7fca640bd1a055e3d87d4b0424737" diff --git a/Formula/sumo@1.9.2.rb b/Formula/sumo@1.9.2.rb index 31728c4..255ff55 100644 --- a/Formula/sumo@1.9.2.rb +++ b/Formula/sumo@1.9.2.rb @@ -1,15 +1,12 @@ class SumoAT192 < Formula desc "Simulation of Urban MObility" homepage "https://www.eclipse.org/sumo" + url "https://sumo.dlr.de/releases/1.9.2/sumo-src-1.9.2.tar.gz" + sha256 "193a8ab14bb305d3967625d76cd291f5c55bb906817465f2a12c2e69f4b80813" license "EPL-2.0" revision 2 head "https://github.com/eclipse/sumo.git", branch: "main" - stable do - url "https://sumo.dlr.de/releases/1.9.2/sumo-src-1.9.2.tar.gz" - sha256 "193a8ab14bb305d3967625d76cd291f5c55bb906817465f2a12c2e69f4b80813" - end - bottle do root_url "https://github.com/DLR-TS/homebrew-sumo/releases/download/sumo-1.9.2_2" sha256 cellar: :any, catalina: "40ad9353e1975dfcbada4b7ec0728831e39bd41bbeee9d4421873190c1669b06" diff --git a/README.md b/README.md index d2da044..187bc29 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ If you want to use `sumo-gui` and/or `netedit`, you need to install XQuartz as a ## Usage -By default, the above command lines install a bottled SUMO stable version (currently ```1.19.0```) with minimal requirements (```fox```, ```proj```, ```xerces-c```). +By default, the above command lines install a bottled SUMO stable version (currently ```1.20.0```) with minimal requirements (```fox```, ```proj```, ```xerces-c```). Alternatively, ```brew``` can compile SUMO from source with the following command line options: diff --git a/update_formula.sh b/update_formula.sh index 9248305..7ed0429 100755 --- a/update_formula.sh +++ b/update_formula.sh @@ -13,7 +13,7 @@ if [ $# -ne 2 ]; then echo "Usage: $0 " echo "Examples:" echo " NEW_VERSION: 1.3.1" - echo " SUMO_SRC_URL: https://github.com/eclipse/sumo/archive/v1_3_1.tar.gz" + echo " SUMO_SRC_URL: https://github.com/eclipse-sumo/sumo/archive/v1_3_1.tar.gz" echo "" exit 1 fi