BSD Ports

devel/stylua 2.3.1_10 FreeBSD

Opinionated Lua code formatter

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9c878207a1
License
MPL20
Categories
devel
Package size
1094.1 KiB, 3007.3 KiB installed

Description

An opinionated code formatter for Lua 5.1, Lua 5.2 and Luau, built using full-moon. 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.

In the other systems

SystemPortVersion
FreeBSDdevel/stylua2.3.1_10
OpenBSDdevel/stylua2.6.0
NetBSDdevel/stylua0.17.1
DragonFlydevel/stylua2.0.2_2

Install

Binary package:

pkg install stylua

From the ports tree:

cd /usr/ports/devel/stylua/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	stylua>0:devel/stylua

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.3.1_92.3.1_10-2.0.2_52.3.1_10
FreeBSD:14:quarterly2.3.1_82.3.1_8n/a2.0.2_42.3.1_8
FreeBSD:15:latest2.3.1_102.3.1_10n/a2.0.2_52.0.2_5
FreeBSD:15:quarterly2.3.1_82.3.1_8n/an/an/a
FreeBSD:16:latest2.3.1_82.3.1_10n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 11

No port depends on this one.

Configuration

Options name: devel_stylua

OptionDefaultDescription
DOCSoffBuild and/or install documentation
EDITORCONFIGonBuild with EditorConfig support
LUAUonBuild with Luau support
USES
cargo
Service scripts
none

Files

distinfo 147
FileSizeSHA256
rust/crates/aho-corasick-1.1.2.crate183136b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0
rust/crates/anes-0.1.6.crate238574b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299
rust/crates/anstyle-1.0.4.crate139987079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87
rust/crates/anyhow-1.0.79.crate44931080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca
rust/crates/assert_cmd-2.0.13.crate2391700ad3f3a942eee60335ab4342358c161ee296829e0d16ff42fc1d6cb07815467
rust/crates/assert_fs-1.1.1.crate180902cd762e110c8ed629b11b6cde59458cc1c71de78ebbcc30099fc8e0403a2a2ec
rust/crates/atty-0.2.14.crate5470d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8
rust/crates/autocfg-1.1.0.crate13272d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa
rust/crates/bitflags-1.3.2.crate23021bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a
rust/crates/bitflags-2.4.2.crate42602ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf
rust/crates/borsh-1.5.1.crate60666a6362ed55def622cddc70a4746a68554d7b687713770de539e59a739b249f8ed
rust/crates/bstr-0.2.17.crate330350ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223
rust/crates/bstr-1.9.0.crate380170c48f0051a4b4c5e0b6d365cd04af53aeaa209e3cc15ec2cdb69e73cc87fbd0dc
rust/crates/bumpalo-3.14.0.crate824007f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec
rust/crates/bytecount-0.6.7.crate14642e1e5f035d16fc623ae5f74981db80a439803888314e3a555fd6f04acd51a3205
rust/crates/cast-0.3.0.crate1145237b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5
rust/crates/cfg-if-1.0.0.crate7934baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd
rust/crates/cfg_aliases-0.2.1.crate6355613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724
rust/crates/ciborium-0.2.2.crate3561142e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e
rust/crates/ciborium-io-0.2.2.crate669705afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757

Commit history 4

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
396c159306 Alan Somers */*: Fix many Rust ports to run without COMPAT11
RISCV does not include COMPAT11 by default. But Rust's libc bound the compat-11 symbols until version 0.2.176. Patch a great many Rust ports to use a newer version of libc, to eliminate the dependency on COMPAT11. Explicitly patching Cargo.lock isn't usually necessarily, since within the build jail cargo is forced to use whichever crates Makefile.crates installs there. Notes on specific ports: * textproc/bookokrat: Rework bookokrat's existing patch to be more robust. Also, report the issue upstream: https://github.com/bugzmanov/bookokrat/issues/182 * security/sequoia-chameleon-gnupg security/sequoia-sq "cargo update -p libc" insisted on updating some other crates, too. * devel/cargo-generate finance/tickrs net-im/gurk-rs net-p2p/oura textproc/mdbook-linkcheck www/lychee …
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
9c892d2601 Mikael Urankar lang/rust: Bump revisions after 1.97.1
PR: 296645