Skip to content

Commit 080979c

Browse files
committed
rakudo-star 2025.08.1
1 parent 3cf3ecd commit 080979c

File tree

1 file changed

+6
-34
lines changed

1 file changed

+6
-34
lines changed

Formula/r/rakudo-star.rb

Lines changed: 6 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
class RakudoStar < Formula
22
desc "Rakudo compiler and commonly used packages"
33
homepage "https://rakudo.org/"
4-
url "https://github.com/rakudo/star/releases/download/2025.05/rakudo-star-2025.05.tar.gz"
5-
sha256 "b5f6b5135599db0a18baf1ec660e78dddc8d8ca46d80576407bd5dcf70a4d574"
4+
url "https://github.com/rakudo/star/releases/download/2025.08.1/rakudo-star-2025.08.tar.gz"
5+
version "2025.08.1"
6+
sha256 "97abb0b5e748e6bdb69ef741b4bc11122b974588a376487813b706adc3d413b8"
67
license "Artistic-2.0"
78

89
livecheck do
@@ -43,14 +44,6 @@ class RakudoStar < Formula
4344
conflicts_with "parrot"
4445
conflicts_with "rakudo"
4546

46-
# Apply open Config::Parser::json PR to fix unittests run during install
47-
# Ref: https://github.com/arjancwidlak/p6-Config-Parser-json/pull/1
48-
patch do
49-
url "https://github.com/arjancwidlak/p6-Config-Parser-json/commit/ca1a355c95178034b08ff9ebd1516a2e9d5bc067.patch?full_index=1"
50-
sha256 "d13230dc7d8ec0b72c21bd17e99a62d959fb3559d483eb43ce6be7ded8a0492a"
51-
directory "src/rakudo-star-modules/Config-Parser-json"
52-
end
53-
5447
# Allow adding arguments via inreplace to unbundle libraries in MoarVM
5548
patch :DATA
5649

@@ -90,11 +83,12 @@ def install
9083
# openssl module's brew --prefix openssl probe fails so set value here
9184
ENV["OPENSSL_PREFIX"] = Formula["openssl@3"].opt_prefix
9285

86+
rm buildpath.glob("src/rakudo-star-modules/**/*.o")
9387
system "bin/rstar", "install", "-p", prefix.to_s
9488

9589
# Installed scripts are now in share/perl/{site|vendor}/bin, so we need to symlink it too.
96-
bin.install_symlink (share/"perl6/vendor/bin").children
97-
bin.install_symlink (share/"perl6/site/bin").children
90+
bin.install_symlink (share/"perl6/vendor/bin").children.select(&:executable?)
91+
bin.install_symlink (share/"perl6/site/bin").children.select(&:executable?)
9892
end
9993

10094
def post_install
@@ -121,15 +115,6 @@ def post_install
121115
PERL
122116
assert_equal "test> brew\n[brew]", pipe_output("#{bin}/raku readline.raku", "brew\n", 0)
123117

124-
# Test LibXML module
125-
(testpath/"libxml.raku").write <<~PERL
126-
use LibXML::Document;
127-
my LibXML::Document $doc .= parse: :string('<Hello/>');
128-
$doc.root.nodeValue = 'World!';
129-
print $doc<Hello>;
130-
PERL
131-
assert_equal "<Hello>World!</Hello>", shell_output("#{bin}/raku libxml.raku")
132-
133118
# Test DBIish module
134119
(testpath/"sqlite.raku").write <<~PERL
135120
use DBIish;
@@ -141,19 +126,6 @@ def post_install
141126
$dbh.dispose;
142127
PERL
143128
assert_equal "([Sue] [Bob])\n", shell_output("#{bin}/raku sqlite.raku")
144-
145-
# Test Config::Parser::json module
146-
(testpath/"test.json").write <<~JSON
147-
{ "foo": { "bar": [0, 1] } }
148-
JSON
149-
(testpath/"parser.raku").write <<~PERL
150-
use Config;
151-
use Config::Parser::json;
152-
my $config = Config.new();
153-
$config.=read("test.json");
154-
print $config.get('foo.bar');
155-
PERL
156-
assert_equal "0 1", shell_output("#{bin}/raku parser.raku")
157129
end
158130
end
159131

0 commit comments

Comments
 (0)