Skip to content

Commit

Permalink
Better fix for gnat 13 bug
Browse files Browse the repository at this point in the history
* index/wi/wisitoken/wisitoken-4.2.1.toml: New file.

* index/em/emacs_wisi/emacs_wisi-4.3.2.toml: New file.
  • Loading branch information
stephe-ada-guru committed Oct 24, 2023
1 parent f80f7ff commit 7278d06
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
26 changes: 26 additions & 0 deletions index/em/emacs_wisi/emacs_wisi-4.3.2.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
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"

39 changes: 39 additions & 0 deletions index/wi/wisitoken/wisitoken-4.2.1.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
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"

0 comments on commit 7278d06

Please sign in to comment.