uncrustify: update to 0.75.1 and adopt

This commit is contained in:
Ishaan Bhimwal 2022-07-12 12:32:58 +05:30 committed by classabbyamp
parent 4bd522310d
commit 0830947ef4
2 changed files with 3 additions and 20 deletions

View file

@ -1,17 +0,0 @@
https://github.com/uncrustify/uncrustify/issues/3196
diff --git a/tests/cli/test_cli_options.py b/tests/cli/test_cli_options.py
index d835822..ea289ca 100755
--- a/tests/cli/test_cli_options.py
+++ b/tests/cli/test_cli_options.py
@@ -705,8 +705,8 @@ def main(args):
#
# Test --tracking_space FILE
#
- if parsed_args.config == 'Release':
- eprint("Release")
+ if parsed_args.config == 'Release' or parsed_args.config == 'None':
+ eprint(parsed_args.config)
if not check_uncrustify_output(
uncr_bin,
parsed_args,

View file

@ -1,16 +1,16 @@
# Template file for 'uncrustify'
pkgname=uncrustify
version=0.73.0
version=0.75.1
revision=1
wrksrc="$pkgname-$pkgname-$version"
build_style=cmake
hostmakedepends="python3"
short_desc="Source Code Beautifier for multiple languages"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="Ishaan Bhimwal <ishaanbhimwal@protonmail.com>"
license="GPL-2.0-or-later"
homepage="http://uncrustify.sourceforge.net/"
distfiles="https://github.com/uncrustify/uncrustify/archive/$pkgname-$version.tar.gz"
checksum=2df0326ba8c413d675b796e051d89a318b7c9cccebc993d66466e2e7fd970672
checksum=fd14acc0a31ed88b33137bdc26d32964327488c835f885696473ef07caf2e182
post_install() {
for f in etc/*cfg; do