Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
1b342338
Commit
1b342338
authored
2 years ago
by
alice
Committed by
alice
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
community/stylua: upgrade to 0.14.3
parent
6b7545a5
No related branches found
No related tags found
2 merge requests
!39304
[3.16] main/expat: security upgrade to 2.4.9
,
!38277
community/stylua: upgrade to 0.14.3
Pipeline
#134100
passed
2 years ago
Stage: verify
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
community/stylua/APKBUILD
+11
-10
11 additions, 10 deletions
community/stylua/APKBUILD
community/stylua/version.patch
+13
-0
13 additions, 0 deletions
community/stylua/version.patch
with
24 additions
and
10 deletions
community/stylua/APKBUILD
+
11
−
10
View file @
1b342338
# Contributor: psykose <alice@ayaya.dev>
# Contributor: psykose <alice@ayaya.dev>
# Maintainer: psykose <alice@ayaya.dev>
# Maintainer: psykose <alice@ayaya.dev>
pkgname
=
stylua
pkgname
=
stylua
pkgver
=
0.14.
2
pkgver
=
0.14.
3
pkgrel
=
0
pkgrel
=
0
pkgdesc
=
"Opinionated Lua 5.1/5.2/luau code formatter"
pkgdesc
=
"Opinionated Lua 5.1/5.2/luau code formatter"
url
=
"https://github.com/JohnnyMorganz/StyLua"
url
=
"https://github.com/JohnnyMorganz/StyLua"
arch
=
"all !s390x !riscv64"
# blocked by cargo
arch
=
"all !s390x !riscv64"
# blocked by cargo
license
=
"MPL-2.0"
license
=
"MPL-2.0"
makedepends
=
"cargo"
makedepends
=
"cargo"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/JohnnyMorganz/StyLua/archive/refs/tags/v
$pkgver
.tar.gz"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/JohnnyMorganz/StyLua/archive/refs/tags/v
$pkgver
.tar.gz
version.patch
"
builddir
=
"
$srcdir
/StyLua-
$pkgver
"
builddir
=
"
$srcdir
/StyLua-
$pkgver
"
export
CARGO_PROFILE_RELEASE_LTO
=
"true"
export
CARGO_PROFILE_RELEASE_PANIC
=
"abort"
export
CARGO_PROFILE_RELEASE_CODEGEN_UNITS
=
1
export
CARGO_PROFILE_RELEASE_OPT_LEVEL
=
"s"
prepare
()
{
prepare
()
{
default_prepare
default_prepare
cargo fetch
--locked
cargo fetch
--locked
}
}
build
()
{
build
()
{
cat
>>
Cargo.toml
<<-
EOF
[profile.release]
codegen-units = 1
lto = true
opt-level = "s"
panic = "abort"
EOF
cargo build
--release
--frozen
cargo build
--release
--frozen
}
}
...
@@ -37,5 +37,6 @@ package() {
...
@@ -37,5 +37,6 @@ package() {
}
}
sha512sums
=
"
sha512sums
=
"
814118e14a56900c8b131c407c19e1e1ca4757e0b5754c30a47ca6085eaf760160177486df4980af8ebd8fbe19b5327daf4bd514080946759e70beab9578eed9 stylua-0.14.2.tar.gz
ee37db25df68611397baea789a0344030ebafe10937a6e8892e221ba23b048a9951875714676843cdfb70766c3c1b3f5c5ef1787bf546b806a72d18e6af7f0d7 stylua-0.14.3.tar.gz
d6c2bd5a780819e0b9637e3f067c20929ab34c2c3dbef6debe879ee1228965f94df2213980cddd28e9fc9dc85b39337a01e3df998cd4f9812a0ab16964e40f48 version.patch
"
"
This diff is collapsed.
Click to expand it.
community/stylua/version.patch
0 → 100644
+
13
−
0
View file @
1b342338
diff --git a/Cargo.lock b/Cargo.lock
index 437da48..0a110b2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -887,7 +887,7 @@
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
[[package]]
name = "stylua"
-version = "0.14.2"
+version = "0.14.3"
dependencies = [
"anyhow",
"assert_cmd",
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment