11class Libpostal < Formula
22 desc "Library for parsing/normalizing street addresses around the world"
33 homepage "https://github.com/openvenues/libpostal"
4- url "https://github.com/openvenues/libpostal/archive/refs/tags/v1.1.3 .tar.gz"
5- sha256 "02883c2f62658a09f9e49819f7983c7b19a574f9422424ecd5e4ff43cf7830a8 "
4+ url "https://github.com/openvenues/libpostal/archive/refs/tags/v1.1.4 .tar.gz"
5+ sha256 "41ad2cd20261e6498f1843c8d21cd737470d17e975deb6ea2a5d1517880729d3 "
66 license "MIT"
77 head "https://github.com/openvenues/libpostal.git" , branch : "master"
88
99 no_autobump! because : :requires_manual_review
1010
1111 bottle do
12- sha256 arm64_tahoe : "0a6f889d4b41b5cbfd4a64dbdfb2c7e61a58eafcffe57335ff88edf9419f2838 "
13- sha256 arm64_sequoia : "fbf12aa77b62468c76d5ac57d38f81c0e5cd379a9af827723cded2e09f45db40 "
14- sha256 arm64_sonoma : "9c6f9de07f3285847e3b7831c0f2bf8fc163ef95654574d8b47736392158b709 "
15- sha256 sonoma : "80fa9ed5f262fb37122bff7c246a211ed48a2de3de9e2a64b543e34cbd20dca4 "
16- sha256 arm64_linux : "f462facf77dfb1a6231b76f42201ee1ca5e26de5bfcc8a19b6d57d52218a463e "
17- sha256 x86_64_linux : "1f054e6c0e4f0a12845e343c5e406a0683faf9ba71dd3880e30bcb23ad5199c1 "
12+ sha256 arm64_tahoe : "cf3a9637bea332e8d28cde170dc85c7c5dbb4b5731886edd9f30bed504742e5b "
13+ sha256 arm64_sequoia : "954b38f9b41bb3fe6702b91e2589baa8023b459162dc3bfa3a3dd6218bf33312 "
14+ sha256 arm64_sonoma : "19638446df502bd5a2fa13bf21d89eca018e70965595940a03f89ca14b213609 "
15+ sha256 sonoma : "3f4ee3c0636f7fc19ddc1fc60a2273912f64a539dc314df0488d2eab8f856308 "
16+ sha256 arm64_linux : "32461394f17714bbf96a4a090b4e89240a2dd2a97637006ed0997d114d0831be "
17+ sha256 x86_64_linux : "79bf7b3b79c1e80a9d61a7ad19599b9d18440390bec4babbf85a17ad5219db34 "
1818 end
1919
2020 depends_on "autoconf" => :build
@@ -29,14 +29,29 @@ class Libpostal < Formula
2929 resource "libpostal_data" do
3030 url "https://github.com/openvenues/libpostal/releases/download/v1.0.0/libpostal_data.tar.gz"
3131 sha256 "d2ec50587bf3a7e46e18e5dcde32419134266f90774e3956f2c2f90d818ff9a1"
32+
33+ livecheck do
34+ url "https://raw.githubusercontent.com/openvenues/libpostal/refs/tags/v#{ LATEST_VERSION } /versions/base_data"
35+ regex ( /^v?(\d +(?:\. \d +)+)$/i )
36+ end
3237 end
3338 resource "parser" do
3439 url "https://github.com/openvenues/libpostal/releases/download/v1.0.0/parser.tar.gz"
3540 sha256 "7194e9b0095f71aecb861269f675e50703e73e352a0b9d41c60f8d8ef5a03624"
41+
42+ livecheck do
43+ url "https://raw.githubusercontent.com/openvenues/libpostal/refs/tags/v#{ LATEST_VERSION } /versions/parser"
44+ regex ( /^v?(\d +(?:\. \d +)+)$/i )
45+ end
3646 end
3747 resource "language_classifier" do
3848 url "https://github.com/openvenues/libpostal/releases/download/v1.0.0/language_classifier.tar.gz"
3949 sha256 "16a6ecb6d37e7e25d8fe514255666852ab9dbd4d9cc762f64cf1e15b4369a277"
50+
51+ livecheck do
52+ url "https://raw.githubusercontent.com/openvenues/libpostal/refs/tags/v#{ LATEST_VERSION } /versions/language_classifier"
53+ regex ( /^v?(\d +(?:\. \d +)+)$/i )
54+ end
4055 end
4156
4257 def install
0 commit comments