Skip to content

Commit

Permalink
sile: update resources
Browse files Browse the repository at this point in the history
This updates resource `luasec` to include a fix for lunarmodules/luasec#171.

Also, update the homepage. The original one no longer works.

Closes #78231.

Signed-off-by: Nanda H Krishna <me@nandahkrishna.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
  • Loading branch information
carlocab authored and BrewTestBot committed May 28, 2021
1 parent 8eb519b commit 4495d1e
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions Formula/sile.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
class Sile < Formula
desc "Modern typesetting system inspired by TeX"
homepage "https://www.sile-typesetter.org"
homepage "https://sile-typesetter.org"
url "https://github.com/sile-typesetter/sile/releases/download/v0.10.15/sile-0.10.15.tar.xz"
sha256 "49b55730effd473c64a8955a903e48f61c51dd7bb862e6d5481193218d1e3c5c"
license "MIT"
revision 2
revision 3

bottle do
sha256 arm64_big_sur: "72d3d5b07f05e63fa46905ac01d0ca3b43dd7243a7394cf6d049687f496dfd72"
Expand Down Expand Up @@ -95,6 +95,12 @@ class Sile < Formula
version "3.0rc1-2"
end

# depends on `luasocket`
resource "luasec" do
url "https://luarocks.org/manifests/brunoos/luasec-1.0.1-1.src.rock"
sha256 "0e91f9686ccda7d373d74518da85d22f678a1b0de35e38b4a444041eba53040d"
end

resource "penlight" do
url "https://luarocks.org/manifests/tieske/penlight-1.9.2-1.src.rock"
sha256 "49e7778ba84a5a8ac67fc2a30357f0975fe11241d7cc86df05a5abb18071d5fb"
Expand All @@ -116,14 +122,6 @@ class Sile < Formula
sha256 "fcfa781a72b9372c37ee20a5863f98e07112a88efea08c8b15631e911bc2b441"
end

# Install luasec last, as this breaks installing other resources for now
# https://github.com/luarocks/luarocks/issues/1302
# When this is resolved, move back between `luarepl` and `luasocket`
resource "luasec" do
url "https://luarocks.org/manifests/brunoos/luasec-1.0-1.src.rock"
sha256 "b7e18f475c64896fe4921d367adabae765914f7526a68487a5fa6831040e7138"
end

def install
lua = Formula["lua"]
luaversion = lua.version.major_minor
Expand Down

0 comments on commit 4495d1e

Please sign in to comment.