From 9c81913d4a9bcfe4dd569fdaace259c19d0c96bf Mon Sep 17 00:00:00 2001 From: Ishaan Bhimwal Date: Tue, 12 Jul 2022 12:32:58 +0530 Subject: [PATCH] uncrustify: update to 0.75.1 and adopt --- srcpkgs/uncrustify/patches/fix-test.patch | 17 ----------------- srcpkgs/uncrustify/template | 6 +++--- 2 files changed, 3 insertions(+), 20 deletions(-) delete mode 100644 srcpkgs/uncrustify/patches/fix-test.patch diff --git a/srcpkgs/uncrustify/patches/fix-test.patch b/srcpkgs/uncrustify/patches/fix-test.patch deleted file mode 100644 index 4e43d6f9d543..000000000000 --- a/srcpkgs/uncrustify/patches/fix-test.patch +++ /dev/null @@ -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, diff --git a/srcpkgs/uncrustify/template b/srcpkgs/uncrustify/template index 6fc687b616c1..a18f2bd761f8 100644 --- a/srcpkgs/uncrustify/template +++ b/srcpkgs/uncrustify/template @@ -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 " +maintainer="Ishaan Bhimwal " 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