From 7278d0646f9a4df366152971649c0412c8d71552 Mon Sep 17 00:00:00 2001 From: Stephen Leake Date: Tue, 24 Oct 2023 14:44:14 -0700 Subject: [PATCH] Better fix for gnat 13 bug * index/wi/wisitoken/wisitoken-4.2.1.toml: New file. * index/em/emacs_wisi/emacs_wisi-4.3.2.toml: New file. --- index/em/emacs_wisi/emacs_wisi-4.3.2.toml | 26 +++++++++++++++ index/wi/wisitoken/wisitoken-4.2.1.toml | 39 +++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 index/em/emacs_wisi/emacs_wisi-4.3.2.toml create mode 100644 index/wi/wisitoken/wisitoken-4.2.1.toml diff --git a/index/em/emacs_wisi/emacs_wisi-4.3.2.toml b/index/em/emacs_wisi/emacs_wisi-4.3.2.toml new file mode 100644 index 000000000..690354f7c --- /dev/null +++ b/index/em/emacs_wisi/emacs_wisi-4.3.2.toml @@ -0,0 +1,26 @@ +name = "emacs_wisi" +description = "Ada code for Emacs wisi ELPA package" +tags = ["emacs", "indent", "project", "compile", "xref"] +version = "4.3.2" +licenses = "GPL-3.0-or-later" + +authors = ["Stephen Leake"] +maintainers = ["Stephen Leake "] +maintainers-logins = ["stephe-ada-guru"] + +website = "https://elpa.gnu.org/packages/wisi.html" + +project-files = ["wisi_alire.gpr"] + +[[depends-on]] +stephes_ada_library = "~3.7.2" +wisitoken = "~4.2.1" + +# We use Ada 2022 syntax, so need the -gnat2022 switch; introduced in gnat FSF 11, Community 2021. +gnat = "(>=11 & <2000) | >=2021" + + +[origin] +commit = "467a029c39639fe13e5a5ced632d4f33b4e471d3" +url = "git+https://git.savannah.nongnu.org/git/ada-mode.git" + diff --git a/index/wi/wisitoken/wisitoken-4.2.1.toml b/index/wi/wisitoken/wisitoken-4.2.1.toml new file mode 100644 index 000000000..755be4533 --- /dev/null +++ b/index/wi/wisitoken/wisitoken-4.2.1.toml @@ -0,0 +1,39 @@ +name = "wisitoken" +description = "Generalized error correcting LALR and packrat parser generator" +tags = ["parser", "generator", "generalized"] +version = "4.2.1" +licenses = "GPL-3.0-or-later" + +authors = ["Stephen Leake"] +maintainers = ["Stephen Leake "] +maintainers-logins = ["stephe-ada-guru"] + +website = "https://stephe-leake.org/ada/wisitoken.html" + +project-files = ["build/wisitoken_alire.gpr", "build/wisitoken_alire_mains.gpr"] + +# We use ".exe" extension even on non-Windows, to simplify the makefiles. +executables = ["wisitoken-bnf-generate.exe"] + +[[actions.'case(os)'.windows]] +type = "post-fetch" +command = ["dos2unix", "memory/s-memory.adb"] + +[[depends-on]] +# While wisitoken-bnf-generate can output a Tree-Sitter grammar file, +# it does not use any tree-sitter code, so we have no dependency on +# tree-sitter. +# +# The development code includes tests that run the tree-sitter parser, +# so to run those in an Alire build, we will need a tree-sitter crate. +gnatcoll = "^22.0.0" +stephes_ada_library = "~3.7.2" + +# We use Ada 2022 syntax, so need the -gnat2022 switch; introduced in gnat FSF 11, Community 2021. +gnat = "(>=11 & <2000) | >=2021" + + +[origin] +commit = "dc7784862bce719a6d8c0b3527df1e9bc54fd028" +url = "git+https://git.savannah.nongnu.org/git/ada-mode.git" +