From 3e7926f22d13cfa37a49bd2649b3c1b7c477d69d Mon Sep 17 00:00:00 2001 From: "John J. Camilleri" Date: Fri, 13 Aug 2021 10:20:49 +0200 Subject: [PATCH] Update pgf2.cabal, including bumping version to 2.0.0 --- src/runtime/haskell/pgf2.cabal | 77 +++++++++++++++++++++------------- 1 file changed, 47 insertions(+), 30 deletions(-) diff --git a/src/runtime/haskell/pgf2.cabal b/src/runtime/haskell/pgf2.cabal index 2b1eaef4f..9af7b7c9a 100644 --- a/src/runtime/haskell/pgf2.cabal +++ b/src/runtime/haskell/pgf2.cabal @@ -1,34 +1,51 @@ -name: pgf2 -version: 0.1.0.0 --- synopsis: --- description: -homepage: http://www.grammaticalframework.org -license: LGPL-3 ---license-file: LICENSE -author: Krasimir Angelov, Inari -maintainer: --- copyright: -category: Language -build-type: Simple -extra-source-files: README -cabal-version: >=1.10 +name: pgf2 +version: 2.0.0 + +cabal-version: 1.22 +build-type: Simple +license: LGPL-3 +license-file: LICENSE +category: Natural Language Processing +-- synopsis: Bindings to the C version of the PGF runtime +-- description: +-- GF, Grammatical Framework, is a programming language for multilingual grammar applications. +-- GF grammars are compiled into Portable Grammar Format (PGF) which can be used with the PGF runtime, written in C. +-- This package provides Haskell bindings to that runtime. +homepage: https://www.grammaticalframework.org/ +bug-reports: https://github.com/GrammaticalFramework/gf-core/issues +author: Krasimir Angelov +-- tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.10.4 +extra-source-files: + CHANGELOG.md + README.md library - exposed-modules: PGF2, PGF2.Internal, - -- backwards compatibility API: - PGF - other-modules: PGF2.FFI, PGF2.Expr, PGF2.Type - build-depends: base >=4.3, containers, pretty, array, random - -- hs-source-dirs: - default-language: Haskell2010 - build-tools: hsc2hs - - extra-libraries: pgf - cc-options: -std=c99 - c-sources: utils.c + exposed-modules: + PGF2, + PGF2.Internal, + -- backwards compatibility API: + PGF + other-modules: + PGF2.FFI, + PGF2.Expr, + PGF2.Type + build-depends: + base >= 4.3, -- >= 4.9.1 && < 4.15, + containers, -- >= 0.5.7 && < 0.7, + pretty, -- >= 1.1.3 && < 1.2, + array, + random + default-language: Haskell2010 + build-tools: hsc2hs + extra-libraries: pgf + cc-options: -std=c99 + c-sources: utils.c test-suite basic - type: exitcode-stdio-1.0 - main-is: tests/basic.hs - default-language: Haskell2010 - build-depends: base, HUnit, pgf2 + type: exitcode-stdio-1.0 + main-is: tests/basic.hs + default-language: Haskell2010 + build-depends: + base, + HUnit, + pgf2 >= 2.0.0