From 8aa8baca13504354234812390cf08ecfc4728075 Mon Sep 17 00:00:00 2001 From: Out Of Ideas Date: Tue, 2 Apr 2024 09:58:42 -0500 Subject: [PATCH 01/10] Add package for F-Sy-H ZSH syntax highlighting --- anda/tools/F-Sy-H/F-Sy-H.spec | 31 +++++++++++++++++++++++++++++++ anda/tools/F-Sy-H/anda.hcl | 5 +++++ anda/tools/F-Sy-H/update.rhai | 1 + 3 files changed, 37 insertions(+) create mode 100644 anda/tools/F-Sy-H/F-Sy-H.spec create mode 100644 anda/tools/F-Sy-H/anda.hcl create mode 100644 anda/tools/F-Sy-H/update.rhai diff --git a/anda/tools/F-Sy-H/F-Sy-H.spec b/anda/tools/F-Sy-H/F-Sy-H.spec new file mode 100644 index 0000000000..c498f34898 --- /dev/null +++ b/anda/tools/F-Sy-H/F-Sy-H.spec @@ -0,0 +1,31 @@ +Name: F-Sy-H +Version: 1.67 +Release: 1%?dist + +Summary: Feature-rich Syntax Highlighting for Zsh +License: BSD-3-Clause +URL: https://github.com/z-shell/%name +Source0: %url/archive/refs/tags/v%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: zsh + +Requires: zsh + +%description +Feature-rich Syntax Highlighting for Zsh. + +%prep +%autosetup + +%build + +%install +install -Dm644 %name.plugin.zsh %buildroot%_datadir/%name/%name.plugin.zsh + +%files +%_datadir/%name/%name.plugin.zsh + +%changelog +%autochangelog diff --git a/anda/tools/F-Sy-H/anda.hcl b/anda/tools/F-Sy-H/anda.hcl new file mode 100644 index 0000000000..1dae877448 --- /dev/null +++ b/anda/tools/F-Sy-H/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "F-Sy-H.spec" + } +} diff --git a/anda/tools/F-Sy-H/update.rhai b/anda/tools/F-Sy-H/update.rhai new file mode 100644 index 0000000000..580f0a6ecb --- /dev/null +++ b/anda/tools/F-Sy-H/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("z-shell/F-Sy-H")); \ No newline at end of file From 402a60a714916325440841f91e72b6a12352a5ef Mon Sep 17 00:00:00 2001 From: Out Of Ideas Date: Wed, 3 Apr 2024 09:57:18 -0500 Subject: [PATCH 02/10] Remove unnessesary requirements --- anda/tools/F-Sy-H/F-Sy-H.spec | 4 ---- 1 file changed, 4 deletions(-) diff --git a/anda/tools/F-Sy-H/F-Sy-H.spec b/anda/tools/F-Sy-H/F-Sy-H.spec index c498f34898..18cd5f662a 100644 --- a/anda/tools/F-Sy-H/F-Sy-H.spec +++ b/anda/tools/F-Sy-H/F-Sy-H.spec @@ -9,10 +9,6 @@ Source0: %url/archive/refs/tags/v%{version}.tar.gz BuildArch: noarch -BuildRequires: zsh - -Requires: zsh - %description Feature-rich Syntax Highlighting for Zsh. From cfdcff2b23a97daf6a4fad415620be1839fe7f17 Mon Sep 17 00:00:00 2001 From: VehementHam <75701545+VehementHam@users.noreply.github.com> Date: Wed, 3 Apr 2024 17:52:47 -0500 Subject: [PATCH 03/10] Update anda/tools/F-Sy-H/anda.hcl Co-authored-by: madomado Signed-off-by: VehementHam <75701545+VehementHam@users.noreply.github.com> --- anda/tools/F-Sy-H/anda.hcl | 1 + 1 file changed, 1 insertion(+) diff --git a/anda/tools/F-Sy-H/anda.hcl b/anda/tools/F-Sy-H/anda.hcl index 1dae877448..a463afb18c 100644 --- a/anda/tools/F-Sy-H/anda.hcl +++ b/anda/tools/F-Sy-H/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "F-Sy-H.spec" } From d6fb9aaa6cfb547642554d3e5d6a3d5fe44ed4dd Mon Sep 17 00:00:00 2001 From: VehementHam <75701545+VehementHam@users.noreply.github.com> Date: Wed, 3 Apr 2024 17:53:47 -0500 Subject: [PATCH 04/10] Update anda/tools/F-Sy-H/anda.hcl Co-authored-by: madomado Signed-off-by: VehementHam <75701545+VehementHam@users.noreply.github.com> --- anda/tools/F-Sy-H/anda.hcl | 1 + 1 file changed, 1 insertion(+) diff --git a/anda/tools/F-Sy-H/anda.hcl b/anda/tools/F-Sy-H/anda.hcl index a463afb18c..e02d27f626 100644 --- a/anda/tools/F-Sy-H/anda.hcl +++ b/anda/tools/F-Sy-H/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] arches = ["x86_64"] rpm { spec = "F-Sy-H.spec" From 099d7090c1551bbea04eba9aaee4fe28b96d63ea Mon Sep 17 00:00:00 2001 From: madomado Date: Fri, 5 Apr 2024 21:02:47 +0800 Subject: [PATCH 05/10] rm dup suggestion Signed-off-by: madomado --- anda/tools/F-Sy-H/anda.hcl | 1 - 1 file changed, 1 deletion(-) diff --git a/anda/tools/F-Sy-H/anda.hcl b/anda/tools/F-Sy-H/anda.hcl index e02d27f626..a463afb18c 100644 --- a/anda/tools/F-Sy-H/anda.hcl +++ b/anda/tools/F-Sy-H/anda.hcl @@ -1,5 +1,4 @@ project pkg { - arches = ["x86_64"] arches = ["x86_64"] rpm { spec = "F-Sy-H.spec" From 2008aab07083d5b60a9bffe8ca2e4ddf0a6d077f Mon Sep 17 00:00:00 2001 From: Out Of Ideas Date: Thu, 9 May 2024 14:40:16 -0500 Subject: [PATCH 06/10] Fix to fast-syntax-highlighting --- anda/tools/{F-Sy-H => fast-syntax-highlighting}/anda.hcl | 0 .../fast-syntax-highlighting.spec} | 4 ++-- anda/tools/{F-Sy-H => fast-syntax-highlighting}/update.rhai | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename anda/tools/{F-Sy-H => fast-syntax-highlighting}/anda.hcl (100%) rename anda/tools/{F-Sy-H/F-Sy-H.spec => fast-syntax-highlighting/fast-syntax-highlighting.spec} (83%) rename anda/tools/{F-Sy-H => fast-syntax-highlighting}/update.rhai (100%) diff --git a/anda/tools/F-Sy-H/anda.hcl b/anda/tools/fast-syntax-highlighting/anda.hcl similarity index 100% rename from anda/tools/F-Sy-H/anda.hcl rename to anda/tools/fast-syntax-highlighting/anda.hcl diff --git a/anda/tools/F-Sy-H/F-Sy-H.spec b/anda/tools/fast-syntax-highlighting/fast-syntax-highlighting.spec similarity index 83% rename from anda/tools/F-Sy-H/F-Sy-H.spec rename to anda/tools/fast-syntax-highlighting/fast-syntax-highlighting.spec index 18cd5f662a..bc3bc54e23 100644 --- a/anda/tools/F-Sy-H/F-Sy-H.spec +++ b/anda/tools/fast-syntax-highlighting/fast-syntax-highlighting.spec @@ -1,10 +1,10 @@ -Name: F-Sy-H +Name: fast-syntax-highlighting Version: 1.67 Release: 1%?dist Summary: Feature-rich Syntax Highlighting for Zsh License: BSD-3-Clause -URL: https://github.com/z-shell/%name +URL: https://github.com/zdharma-continuum/%name Source0: %url/archive/refs/tags/v%{version}.tar.gz BuildArch: noarch diff --git a/anda/tools/F-Sy-H/update.rhai b/anda/tools/fast-syntax-highlighting/update.rhai similarity index 100% rename from anda/tools/F-Sy-H/update.rhai rename to anda/tools/fast-syntax-highlighting/update.rhai From b2389711f78aed4f13c41748b946573206c10d7f Mon Sep 17 00:00:00 2001 From: VehementHam <75701545+VehementHam@users.noreply.github.com> Date: Tue, 14 May 2024 21:26:59 -0500 Subject: [PATCH 07/10] Update update.rhai Signed-off-by: VehementHam <75701545+VehementHam@users.noreply.github.com> --- anda/tools/fast-syntax-highlighting/update.rhai | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/tools/fast-syntax-highlighting/update.rhai b/anda/tools/fast-syntax-highlighting/update.rhai index 580f0a6ecb..7712238652 100644 --- a/anda/tools/fast-syntax-highlighting/update.rhai +++ b/anda/tools/fast-syntax-highlighting/update.rhai @@ -1 +1 @@ -rpm.version(gh("z-shell/F-Sy-H")); \ No newline at end of file +rpm.version(gh("zdharma-continuum/fast-syntax-highlighting")); From 41b2418132dd85bb6cbd6f76ebd21fd4b32ec164 Mon Sep 17 00:00:00 2001 From: VehementHam <75701545+VehementHam@users.noreply.github.com> Date: Tue, 14 May 2024 21:27:23 -0500 Subject: [PATCH 08/10] Update anda.hcl Signed-off-by: VehementHam <75701545+VehementHam@users.noreply.github.com> --- anda/tools/fast-syntax-highlighting/anda.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/tools/fast-syntax-highlighting/anda.hcl b/anda/tools/fast-syntax-highlighting/anda.hcl index a463afb18c..3234e5b6b5 100644 --- a/anda/tools/fast-syntax-highlighting/anda.hcl +++ b/anda/tools/fast-syntax-highlighting/anda.hcl @@ -1,6 +1,6 @@ project pkg { arches = ["x86_64"] rpm { - spec = "F-Sy-H.spec" + spec = "fast-syntax-highlighting.spec" } } From 0cf731279a44095b6de5fb8ecb38e8ffd3094a01 Mon Sep 17 00:00:00 2001 From: VehementHam <75701545+VehementHam@users.noreply.github.com> Date: Thu, 16 May 2024 11:49:19 -0500 Subject: [PATCH 09/10] Correct Version Signed-off-by: VehementHam <75701545+VehementHam@users.noreply.github.com> --- .../fast-syntax-highlighting/fast-syntax-highlighting.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/tools/fast-syntax-highlighting/fast-syntax-highlighting.spec b/anda/tools/fast-syntax-highlighting/fast-syntax-highlighting.spec index bc3bc54e23..33ce485c9b 100644 --- a/anda/tools/fast-syntax-highlighting/fast-syntax-highlighting.spec +++ b/anda/tools/fast-syntax-highlighting/fast-syntax-highlighting.spec @@ -1,5 +1,5 @@ Name: fast-syntax-highlighting -Version: 1.67 +Version: 1.55 Release: 1%?dist Summary: Feature-rich Syntax Highlighting for Zsh From 17bc87d57577156a2e9a0e291706eced05f5f9c5 Mon Sep 17 00:00:00 2001 From: VehementHam <75701545+VehementHam@users.noreply.github.com> Date: Thu, 16 May 2024 11:50:39 -0500 Subject: [PATCH 10/10] Update update.rhai Signed-off-by: VehementHam <75701545+VehementHam@users.noreply.github.com> --- anda/tools/fast-syntax-highlighting/update.rhai | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/tools/fast-syntax-highlighting/update.rhai b/anda/tools/fast-syntax-highlighting/update.rhai index 7712238652..b5d1209344 100644 --- a/anda/tools/fast-syntax-highlighting/update.rhai +++ b/anda/tools/fast-syntax-highlighting/update.rhai @@ -1 +1 @@ -rpm.version(gh("zdharma-continuum/fast-syntax-highlighting")); +rpm.version(gh_tag("zdharma-continuum/fast-syntax-highlighting"));