uncrustify: update to 0.73.0.
By ericonr: fix tests. Closes: #32713 [via git-merge-pr]
This commit is contained in:
parent
89c6fedacd
commit
ae157d368e
2 changed files with 19 additions and 6 deletions
17
srcpkgs/uncrustify/patches/fix-test.patch
Normal file
17
srcpkgs/uncrustify/patches/fix-test.patch
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
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,
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'uncrustify'
|
# Template file for 'uncrustify'
|
||||||
pkgname=uncrustify
|
pkgname=uncrustify
|
||||||
version=0.72.0
|
version=0.73.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="$pkgname-$pkgname-$version"
|
wrksrc="$pkgname-$pkgname-$version"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
@ -10,11 +10,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://uncrustify.sourceforge.net/"
|
homepage="http://uncrustify.sourceforge.net/"
|
||||||
distfiles="https://github.com/uncrustify/uncrustify/archive/$pkgname-$version.tar.gz"
|
distfiles="https://github.com/uncrustify/uncrustify/archive/$pkgname-$version.tar.gz"
|
||||||
checksum=d6fff70bc7823fac4c77013055333b79a4839909094e8eee8a14ee8f1777374e
|
checksum=2df0326ba8c413d675b796e051d89a318b7c9cccebc993d66466e2e7fd970672
|
||||||
|
|
||||||
do_check() {
|
|
||||||
make -C build test
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
for f in etc/*cfg; do
|
for f in etc/*cfg; do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue