Skip to content

Commit 40b2e0b

Browse files
committed
gwyddion: update homepage, livecheck
The existing gwyddion.net URLs support HTTPS, so this updates the homepage and `livecheck` block URLs accordingly. Besides that, this also updates the `livecheck` block regex to achieve the same goal in a way that's potentially less fragile (i.e., using `\s` instead of a literal space and also allowing whitespace or the start of a trailing HTML tag as the ending anchor).
1 parent 35b9e77 commit 40b2e0b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Formula/g/gwyddion.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
class Gwyddion < Formula
22
desc "Scanning Probe Microscopy visualization and analysis tool"
3-
homepage "http://gwyddion.net/"
3+
homepage "https://gwyddion.net/"
44
url "https://downloads.sourceforge.net/project/gwyddion/gwyddion/2.68/gwyddion-2.68.tar.xz"
55
sha256 "725c3f71738362b10b1e2cf76d391684cf2f15a71a2b34ef1caddabd6d5a9bfa"
66
license "GPL-2.0-or-later"
77

88
livecheck do
9-
url "http://gwyddion.net/download.php"
10-
regex(/stable version Gwyddion v?(\d+(?:\.\d+)+):/i)
9+
url "https://gwyddion.net/download.php"
10+
regex(/stable\s+version\s+Gwyddion\s+v?(\d+(?:\.\d+)+)[:<\s]/im)
1111
end
1212

1313
bottle do

0 commit comments

Comments
 (0)