<pre style='margin:0'>
Vadym-Valdis Yudaiev (judaew) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9afbba8137b633c54b2179c3d22052801dd41d0b">https://github.com/macports/macports-ports/commit/9afbba8137b633c54b2179c3d22052801dd41d0b</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new 9afbba8137b stylua: Enable more Lua version formatting
</span>9afbba8137b is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 9afbba8137b633c54b2179c3d22052801dd41d0b
</span>Author: Austin Ziegler <austin@zieglers.ca>
AuthorDate: Sat Aug 24 19:59:01 2024 -0400

<span style='display:block; white-space:pre;color:#404040;'>    stylua: Enable more Lua version formatting
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    By default, stylua is built with support for Lua 5.1 only, but can be
</span><span style='display:block; white-space:pre;color:#404040;'>    built to support Lua 5.1 through Lua 5.4 and Luau. This only requires
</span><span style='display:block; white-space:pre;color:#404040;'>    adding `luau` and `lua54` to the default features, `editorconfig` and
</span><span style='display:block; white-space:pre;color:#404040;'>    `wasm-bindgen`. `lua54` implies `lua52` and `lua53`.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    I was able to format a Lua 5.4 file that was not previously formattable
</span><span style='display:block; white-space:pre;color:#404040;'>    with the existing feature set.
</span>---
 lua/stylua/Portfile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lua/stylua/Portfile b/lua/stylua/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3a7bd56f1f1..3e3c3fa6c01 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lua/stylua/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lua/stylua/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup           github 1.0
</span> PortGroup           cargo 1.0
 
 github.setup        johnnymorganz stylua 0.20.0 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span> categories          lua
 platforms           darwin
 maintainers         {judaew @judaew} \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13,7 +13,7 @@ maintainers         {judaew @judaew} \
</span> license             MPL-2
 
 description         An opinionated Lua code formatter
<span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description    An opinionated code formatter for Lua 5.1, Lua 5.2 and Luau. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description    An opinionated code formatter for Lua 5.1-5.4 and Luau. \
</span>                     StyLua is inspired by the likes of prettier, it parses your \
                     Lua codebase, and prints it back out from scratch, enforcing \
                     a consistent code style.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,6 +23,9 @@ checksums           ${distname}${extract.suffix} \
</span>                     sha256  34235d51602229e8ad95b4099c6f7a36fde8eef699b998e17f3d00c61e6151ad \
                     size    412909
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+build.pre_args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    --features editorconfig,wasm-bindgen,luau,lua54
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> destroot {
     xinstall -m 755 ${worksrcpath}/target/[cargo.rust_platform]/release/${name} ${destroot}${prefix}/bin/
 }
</pre><pre style='margin:0'>

</pre>