From 30bc57132b500cc4ad360672f6c9e75416eb8e51 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 5 May 2022 17:37:14 -0400 Subject: [PATCH] py3-pygments: Hare vaargs updates Signed-off-by: Sebastian --- sr.ht/py3-pygments/0001-lexers-add-Hare.patch | 4 ++-- sr.ht/py3-pygments/APKBUILD | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sr.ht/py3-pygments/0001-lexers-add-Hare.patch b/sr.ht/py3-pygments/0001-lexers-add-Hare.patch index c525ba1..e500bc2 100644 --- a/sr.ht/py3-pygments/0001-lexers-add-Hare.patch +++ b/sr.ht/py3-pygments/0001-lexers-add-Hare.patch @@ -74,9 +74,9 @@ index 00000000..f501d670 + 'const', 'def', 'defer', 'delete', 'else', 'enum', 'export', + 'fn', 'for', 'free', 'if', 'let', 'len', 'match', 'offset', + 'return', 'static', 'struct', 'switch', 'type', 'union', -+ 'yield'), ++ 'yield', 'vastart', 'vaarg', 'vaend'), + suffix=r'\b'), Keyword), -+ (r'(bool|int|uint|uintptr|u8|u16|u32|u64|i8|i16|i32|i64|f32|f64|null|void|nullable|rune|size)\b', ++ (r'(bool|int|uint|uintptr|u8|u16|u32|u64|i8|i16|i32|i64|f32|f64|null|void|nullable|rune|size|valist)\b', + Keyword.Type), + (r'(true|false|null)\b', Name.Builtin), + ('[a-zA-Z_]\w*', Name), diff --git a/sr.ht/py3-pygments/APKBUILD b/sr.ht/py3-pygments/APKBUILD index 718cfb1..06e6bce 100644 --- a/sr.ht/py3-pygments/APKBUILD +++ b/sr.ht/py3-pygments/APKBUILD @@ -3,7 +3,7 @@ pkgname=py3-pygments _pkgname=Pygments pkgver=2.11.2 -pkgrel=1 +pkgrel=2 pkgdesc="Syntax highlighting package written in Python" url="https://pygments.org/" arch="noarch" @@ -60,5 +60,5 @@ doc() { sha512sums=" 606ff0c35fa47882f4c5c3794827132e1ee6ccbb4895ae858f9c93ea0c92b73163c9f4d630b51a8bb782ba0b4944a66d1059ad5d017d3191a0a5b30c1e5b8f9f Pygments-2.11.2.tar.gz -a21662217e3e1e10e4394fb368b7e8d48deb2d17efc63428d757eb330a3299aafc4c06328e9be2921639741c5d85fedd53fbdcdd82f950cd88c69e57220355ee 0001-lexers-add-Hare.patch +9787753652d4ae322d8fdb11464a6b1682e77070284a2b173e0087435a6aeb10b7320b327a957363a7eb94ff763446ee451e04dd91b25f901a72128fb2e2bb56 0001-lexers-add-Hare.patch " -- 2.45.2