forked from pool/ghc-pandoc-lua-engine
osc copypac from project:devel:languages:haskell:ghc-9.6.x package:ghc-pandoc-lua-engine revision:8, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pandoc-lua-engine?expand=0&rev=11
This commit is contained in:
parent
7223fbdbb9
commit
c269498fa8
@ -1,149 +1,149 @@
|
|||||||
cabal-version: 2.4
|
cabal-version: 2.4
|
||||||
name: pandoc-lua-engine
|
name: pandoc-lua-engine
|
||||||
version: 0.2.1.2
|
version: 0.2.1.2
|
||||||
x-revision: 1
|
x-revision: 1
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
license: GPL-2.0-or-later
|
license: GPL-2.0-or-later
|
||||||
license-file: COPYING.md
|
license-file: COPYING.md
|
||||||
copyright: © 2006-2022 John MacFarlane, 2017-2022 Albert Krewinkel
|
copyright: © 2006-2022 John MacFarlane, 2017-2022 Albert Krewinkel
|
||||||
author: John MacFarlane, Albert Krewinkel
|
author: John MacFarlane, Albert Krewinkel
|
||||||
maintainer: Albert Krewinkel <albert@hslua.org>
|
maintainer: Albert Krewinkel <albert@hslua.org>
|
||||||
bug-reports: https://github.com/jgm/pandoc/issues
|
bug-reports: https://github.com/jgm/pandoc/issues
|
||||||
homepage: https://pandoc.org
|
homepage: https://pandoc.org
|
||||||
category: Text
|
category: Text
|
||||||
tested-with: GHC == 8.6.5
|
tested-with: GHC == 8.6.5
|
||||||
, GHC == 8.8.4
|
, GHC == 8.8.4
|
||||||
, GHC == 8.10.7
|
, GHC == 8.10.7
|
||||||
, GHC == 9.0.2
|
, GHC == 9.0.2
|
||||||
, GHC == 9.2.5
|
, GHC == 9.2.5
|
||||||
, GHC == 9.4.4
|
, GHC == 9.4.4
|
||||||
synopsis: Lua engine to power custom pandoc conversions
|
synopsis: Lua engine to power custom pandoc conversions
|
||||||
description: This package provides a pandoc scripting engine based on
|
description: This package provides a pandoc scripting engine based on
|
||||||
Lua.
|
Lua.
|
||||||
extra-source-files: README.md
|
extra-source-files: README.md
|
||||||
, test/bytestring.bin
|
, test/bytestring.bin
|
||||||
, test/bytestring.lua
|
, test/bytestring.lua
|
||||||
, test/bytestring-reader.lua
|
, test/bytestring-reader.lua
|
||||||
, test/extensions.lua
|
, test/extensions.lua
|
||||||
, test/lua/*.lua
|
, test/lua/*.lua
|
||||||
, test/lua/module/*.lua
|
, test/lua/module/*.lua
|
||||||
, test/lua/module/partial.test
|
, test/lua/module/partial.test
|
||||||
, test/lua/module/sample.svg
|
, test/lua/module/sample.svg
|
||||||
, test/lua/module/tiny.epub
|
, test/lua/module/tiny.epub
|
||||||
, test/sample.lua
|
, test/sample.lua
|
||||||
, test/tables.custom
|
, test/tables.custom
|
||||||
, test/tables.native
|
, test/tables.native
|
||||||
, test/testsuite.native
|
, test/testsuite.native
|
||||||
, test/writer.custom
|
, test/writer.custom
|
||||||
, test/writer-template.lua
|
, test/writer-template.lua
|
||||||
, test/writer-template.out.txt
|
, test/writer-template.out.txt
|
||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
type: git
|
type: git
|
||||||
location: https://github.com/jgm/pandoc.git
|
location: https://github.com/jgm/pandoc.git
|
||||||
subdir: pandoc-lua-engine
|
subdir: pandoc-lua-engine
|
||||||
|
|
||||||
common common-options
|
common common-options
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
build-depends: base >= 4.12 && < 5
|
build-depends: base >= 4.12 && < 5
|
||||||
ghc-options: -Wall -fno-warn-unused-do-bind
|
ghc-options: -Wall -fno-warn-unused-do-bind
|
||||||
-Wincomplete-record-updates
|
-Wincomplete-record-updates
|
||||||
-Wnoncanonical-monad-instances
|
-Wnoncanonical-monad-instances
|
||||||
-Wcpp-undef
|
-Wcpp-undef
|
||||||
-Wincomplete-uni-patterns
|
-Wincomplete-uni-patterns
|
||||||
-Widentities
|
-Widentities
|
||||||
-Wpartial-fields
|
-Wpartial-fields
|
||||||
-Wmissing-export-lists
|
-Wmissing-export-lists
|
||||||
-Wmissing-signatures
|
-Wmissing-signatures
|
||||||
-fhide-source-paths
|
-fhide-source-paths
|
||||||
|
|
||||||
if impl(ghc >= 8.10)
|
if impl(ghc >= 8.10)
|
||||||
ghc-options: -Wunused-packages
|
ghc-options: -Wunused-packages
|
||||||
|
|
||||||
if impl(ghc >= 9.0)
|
if impl(ghc >= 9.0)
|
||||||
ghc-options: -Winvalid-haddock
|
ghc-options: -Winvalid-haddock
|
||||||
|
|
||||||
library
|
library
|
||||||
import: common-options
|
import: common-options
|
||||||
hs-source-dirs: src
|
hs-source-dirs: src
|
||||||
exposed-modules: Text.Pandoc.Lua
|
exposed-modules: Text.Pandoc.Lua
|
||||||
other-modules: Text.Pandoc.Lua.Custom
|
other-modules: Text.Pandoc.Lua.Custom
|
||||||
, Text.Pandoc.Lua.Filter
|
, Text.Pandoc.Lua.Filter
|
||||||
, Text.Pandoc.Lua.Global
|
, Text.Pandoc.Lua.Global
|
||||||
, Text.Pandoc.Lua.Init
|
, Text.Pandoc.Lua.Init
|
||||||
, Text.Pandoc.Lua.Marshal.Chunks
|
, Text.Pandoc.Lua.Marshal.Chunks
|
||||||
, Text.Pandoc.Lua.Marshal.CommonState
|
, Text.Pandoc.Lua.Marshal.CommonState
|
||||||
, Text.Pandoc.Lua.Marshal.Context
|
, Text.Pandoc.Lua.Marshal.Context
|
||||||
, Text.Pandoc.Lua.Marshal.Format
|
, Text.Pandoc.Lua.Marshal.Format
|
||||||
, Text.Pandoc.Lua.Marshal.PandocError
|
, Text.Pandoc.Lua.Marshal.PandocError
|
||||||
, Text.Pandoc.Lua.Marshal.ReaderOptions
|
, Text.Pandoc.Lua.Marshal.ReaderOptions
|
||||||
, Text.Pandoc.Lua.Marshal.Reference
|
, Text.Pandoc.Lua.Marshal.Reference
|
||||||
, Text.Pandoc.Lua.Marshal.Sources
|
, Text.Pandoc.Lua.Marshal.Sources
|
||||||
, Text.Pandoc.Lua.Marshal.Template
|
, Text.Pandoc.Lua.Marshal.Template
|
||||||
, Text.Pandoc.Lua.Marshal.WriterOptions
|
, Text.Pandoc.Lua.Marshal.WriterOptions
|
||||||
, Text.Pandoc.Lua.Module.CLI
|
, Text.Pandoc.Lua.Module.CLI
|
||||||
, Text.Pandoc.Lua.Module.Format
|
, Text.Pandoc.Lua.Module.Format
|
||||||
, Text.Pandoc.Lua.Module.JSON
|
, Text.Pandoc.Lua.Module.JSON
|
||||||
, Text.Pandoc.Lua.Module.MediaBag
|
, Text.Pandoc.Lua.Module.MediaBag
|
||||||
, Text.Pandoc.Lua.Module.Pandoc
|
, Text.Pandoc.Lua.Module.Pandoc
|
||||||
, Text.Pandoc.Lua.Module.Scaffolding
|
, Text.Pandoc.Lua.Module.Scaffolding
|
||||||
, Text.Pandoc.Lua.Module.Structure
|
, Text.Pandoc.Lua.Module.Structure
|
||||||
, Text.Pandoc.Lua.Module.System
|
, Text.Pandoc.Lua.Module.System
|
||||||
, Text.Pandoc.Lua.Module.Template
|
, Text.Pandoc.Lua.Module.Template
|
||||||
, Text.Pandoc.Lua.Module.Text
|
, Text.Pandoc.Lua.Module.Text
|
||||||
, Text.Pandoc.Lua.Module.Types
|
, Text.Pandoc.Lua.Module.Types
|
||||||
, Text.Pandoc.Lua.Module.Utils
|
, Text.Pandoc.Lua.Module.Utils
|
||||||
, Text.Pandoc.Lua.Orphans
|
, Text.Pandoc.Lua.Orphans
|
||||||
, Text.Pandoc.Lua.PandocLua
|
, Text.Pandoc.Lua.PandocLua
|
||||||
, Text.Pandoc.Lua.Writer.Classic
|
, Text.Pandoc.Lua.Writer.Classic
|
||||||
, Text.Pandoc.Lua.Writer.Scaffolding
|
, Text.Pandoc.Lua.Writer.Scaffolding
|
||||||
|
|
||||||
build-depends: SHA >= 1.6 && < 1.7
|
build-depends: SHA >= 1.6 && < 1.7
|
||||||
, aeson
|
, aeson
|
||||||
, bytestring >= 0.9 && < 0.13
|
, bytestring >= 0.9 && < 0.13
|
||||||
, citeproc >= 0.8 && < 0.9
|
, citeproc >= 0.8 && < 0.9
|
||||||
, containers >= 0.6.0.1 && < 0.7
|
, containers >= 0.6.0.1 && < 0.7
|
||||||
, data-default >= 0.4 && < 0.8
|
, data-default >= 0.4 && < 0.8
|
||||||
, doclayout >= 0.4 && < 0.5
|
, doclayout >= 0.4 && < 0.5
|
||||||
, doctemplates >= 0.11 && < 0.12
|
, doctemplates >= 0.11 && < 0.12
|
||||||
, exceptions >= 0.8 && < 0.11
|
, exceptions >= 0.8 && < 0.11
|
||||||
, hslua >= 2.3 && < 2.4
|
, hslua >= 2.3 && < 2.4
|
||||||
, hslua-module-doclayout>= 1.1 && < 1.2
|
, hslua-module-doclayout>= 1.1 && < 1.2
|
||||||
, hslua-module-path >= 1.1 && < 1.2
|
, hslua-module-path >= 1.1 && < 1.2
|
||||||
, hslua-module-system >= 1.1 && < 1.2
|
, hslua-module-system >= 1.1 && < 1.2
|
||||||
, hslua-module-text >= 1.1 && < 1.2
|
, hslua-module-text >= 1.1 && < 1.2
|
||||||
, hslua-module-version >= 1.1 && < 1.2
|
, hslua-module-version >= 1.1 && < 1.2
|
||||||
, hslua-module-zip >= 1.1 && < 1.2
|
, hslua-module-zip >= 1.1 && < 1.2
|
||||||
, hslua-repl >= 0.1.1 && < 0.2
|
, hslua-repl >= 0.1.1 && < 0.2
|
||||||
, lpeg >= 1.0.4 && < 1.1
|
, lpeg >= 1.0.4 && < 1.1
|
||||||
, mtl >= 2.2 && < 2.4
|
, mtl >= 2.2 && < 2.4
|
||||||
, pandoc >= 3.1.4 && < 3.2
|
, pandoc >= 3.1.4 && < 3.2
|
||||||
, pandoc-lua-marshal >= 0.2.2 && < 0.3
|
, pandoc-lua-marshal >= 0.2.2 && < 0.3
|
||||||
, pandoc-types >= 1.22 && < 1.24
|
, pandoc-types >= 1.22 && < 1.24
|
||||||
, parsec >= 3.1 && < 3.2
|
, parsec >= 3.1 && < 3.2
|
||||||
, text >= 1.1.1 && < 2.2
|
, text >= 1.1.1 && < 2.2
|
||||||
|
|
||||||
|
|
||||||
test-suite test-pandoc-lua-engine
|
test-suite test-pandoc-lua-engine
|
||||||
import: common-options
|
import: common-options
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
main-is: test-pandoc-lua-engine.hs
|
main-is: test-pandoc-lua-engine.hs
|
||||||
hs-source-dirs: test
|
hs-source-dirs: test
|
||||||
build-depends: pandoc-lua-engine
|
build-depends: pandoc-lua-engine
|
||||||
, bytestring
|
, bytestring
|
||||||
, directory
|
, directory
|
||||||
, data-default
|
, data-default
|
||||||
, exceptions >= 0.8 && < 0.11
|
, exceptions >= 0.8 && < 0.11
|
||||||
, filepath
|
, filepath
|
||||||
, hslua >= 2.3 && < 2.4
|
, hslua >= 2.3 && < 2.4
|
||||||
, pandoc
|
, pandoc
|
||||||
, pandoc-types >= 1.22 && < 1.24
|
, pandoc-types >= 1.22 && < 1.24
|
||||||
, tasty
|
, tasty
|
||||||
, tasty-golden
|
, tasty-golden
|
||||||
, tasty-hunit
|
, tasty-hunit
|
||||||
, tasty-lua >= 1.1 && < 1.2
|
, tasty-lua >= 1.1 && < 1.2
|
||||||
, text >= 1.1.1 && < 2.2
|
, text >= 1.1.1 && < 2.2
|
||||||
other-modules: Tests.Lua
|
other-modules: Tests.Lua
|
||||||
, Tests.Lua.Module
|
, Tests.Lua.Module
|
||||||
, Tests.Lua.Reader
|
, Tests.Lua.Reader
|
||||||
, Tests.Lua.Writer
|
, Tests.Lua.Writer
|
||||||
|
Loading…
Reference in New Issue
Block a user