1
0

18 Commits

Author SHA256 Message Date
b0a9b8a7d9 Accepting request 1296444 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1296444
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-pandoc-lua-engine?expand=0&rev=18
2025-07-31 15:45:36 +00:00
a12c8dd6c4 osc copypac from project:devel:languages:haskell:ghc-9.12.x package:ghc-pandoc-lua-engine revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pandoc-lua-engine?expand=0&rev=39
2025-07-28 18:48:59 +00:00
04c94acb4f Accepting request 1295176 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1295176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-pandoc-lua-engine?expand=0&rev=17
2025-07-23 14:34:47 +00:00
0f3812e28c osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-pandoc-lua-engine revision:14, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pandoc-lua-engine?expand=0&rev=37
2025-07-22 10:09:40 +00:00
3c7347e720 Accepting request 1289424 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1289424
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-pandoc-lua-engine?expand=0&rev=16
2025-07-02 10:08:59 +00:00
eb07a74e8e osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-pandoc-lua-engine revision:11, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pandoc-lua-engine?expand=0&rev=35
2025-07-01 07:15:20 +00:00
edd8387b0d Accepting request 1282756 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1282756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-pandoc-lua-engine?expand=0&rev=15
2025-06-04 18:29:45 +00:00
abafd62962 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-pandoc-lua-engine revision:9, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pandoc-lua-engine?expand=0&rev=33
2025-05-30 21:00:52 +00:00
9dc77392a6 Accepting request 1279247 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1279247
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-pandoc-lua-engine?expand=0&rev=14
2025-05-22 14:57:12 +00:00
56c49e7e9b osc copypac from project:devel:languages:haskell:ghc-9.10.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=31
2025-05-22 10:58:59 +00:00
bfdbf893df Accepting request 1255896 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1255896
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-pandoc-lua-engine?expand=0&rev=13
2025-03-25 21:12:09 +00:00
0c11add0f6 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-pandoc-lua-engine revision:7, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pandoc-lua-engine?expand=0&rev=29
2025-03-25 09:35:07 +00:00
a69a2c04f6 Accepting request 1233972 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1233972
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-pandoc-lua-engine?expand=0&rev=12
2025-01-05 14:29:14 +00:00
d423b5adab osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-pandoc-lua-engine revision:6, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pandoc-lua-engine?expand=0&rev=27
2024-12-25 22:00:51 +00:00
e3b1595107 Accepting request 1231460 from devel:languages:haskell
version update for ghc-9.10.1

OBS-URL: https://build.opensuse.org/request/show/1231460
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-pandoc-lua-engine?expand=0&rev=11
2024-12-20 22:10:47 +00:00
1edd977996 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-pandoc-lua-engine revision:5, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pandoc-lua-engine?expand=0&rev=25
2024-12-10 11:25:55 +00:00
a47d9ffcc6 Accepting request 1218566 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1218566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-pandoc-lua-engine?expand=0&rev=10
2024-10-28 14:19:02 +00:00
061d29dbac osc copypac from project:devel:languages:haskell:ghc-9.8.x package:ghc-pandoc-lua-engine revision:12, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pandoc-lua-engine?expand=0&rev=23
2024-10-26 13:48:28 +00:00
5 changed files with 227 additions and 7 deletions

View File

@@ -1,3 +1,62 @@
-------------------------------------------------------------------
Sat Jul 26 17:41:41 UTC 2025 - Peter Simons <psimons@suse.com>
- Update pandoc-lua-engine to version 0.4.3 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sun Jul 20 15:33:55 UTC 2025 - Peter Simons <psimons@suse.com>
- Update pandoc-lua-engine to version 0.4.3 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Fri Jun 27 07:51:17 UTC 2025 - Peter Simons <psimons@suse.com>
- jailbreak for hslua-2.4
-------------------------------------------------------------------
Thu May 29 07:13:36 UTC 2025 - Peter Simons <psimons@suse.com>
- Update pandoc-lua-engine to version 0.4.3.
Upstream does not provide a change log file.
-------------------------------------------------------------------
Thu May 15 04:26:39 UTC 2025 - Peter Simons <psimons@suse.com>
- Update pandoc-lua-engine to version 0.4.2.
Upstream does not provide a change log file.
-------------------------------------------------------------------
Sun Mar 16 18:56:42 UTC 2025 - Peter Simons <psimons@suse.com>
- Update pandoc-lua-engine to version 0.4.1.1.
Upstream does not provide a change log file.
-------------------------------------------------------------------
Mon Dec 23 19:46:55 UTC 2024 - Peter Simons <psimons@suse.com>
- Update pandoc-lua-engine to version 0.4.1.
Upstream does not provide a change log file.
-------------------------------------------------------------------
Sun Dec 8 05:29:07 UTC 2024 - Peter Simons <psimons@suse.com>
- Update pandoc-lua-engine to version 0.4.
Upstream does not provide a change log file.
-------------------------------------------------------------------
Sat Oct 5 21:05:45 UTC 2024 - Peter Simons <psimons@suse.com>
- Update pandoc-lua-engine to version 0.3.3.
Upstream does not provide a change log file.
-------------------------------------------------------------------
Tue Sep 10 17:25:21 UTC 2024 - Peter Simons <psimons@suse.com>
- Update pandoc-lua-engine to version 0.3.2.
Upstream does not provide a change log file.
-------------------------------------------------------------------
Mon Jul 29 00:06:32 UTC 2024 - Peter Simons <psimons@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package ghc-pandoc-lua-engine
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,15 +20,14 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.3.1
Version: 0.4.3
Release: 0
Summary: Lua engine to power custom pandoc conversions
License: GPL-2.0-or-later
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-SHA-devel
BuildRequires: ghc-SHA-prof
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-aeson-prof
BuildRequires: ghc-base-devel
@@ -39,6 +38,8 @@ BuildRequires: ghc-citeproc-devel
BuildRequires: ghc-citeproc-prof
BuildRequires: ghc-containers-devel
BuildRequires: ghc-containers-prof
BuildRequires: ghc-crypton-devel
BuildRequires: ghc-crypton-prof
BuildRequires: ghc-data-default-devel
BuildRequires: ghc-data-default-prof
BuildRequires: ghc-doclayout-devel
@@ -126,6 +127,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b81cf0342e3b0c43c5af421a85b54f5e27eb5eee85db36a68d1f9ca4063d59cc
size 87515

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7c5622ad682760ebac2528ed8b3b558853f065b952343f4320ea8e40770dafe8
size 95053

159
pandoc-lua-engine.cabal Normal file
View File

@@ -0,0 +1,159 @@
cabal-version: 2.4
name: pandoc-lua-engine
version: 0.4.3
x-revision: 2
build-type: Simple
license: GPL-2.0-or-later
license-file: COPYING.md
copyright: © 2006-2024 John MacFarlane, 2017-2024 Albert Krewinkel
author: John MacFarlane, Albert Krewinkel
maintainer: Albert Krewinkel <albert@hslua.org>
bug-reports: https://github.com/jgm/pandoc/issues
homepage: https://pandoc.org
category: Text
tested-with: GHC == 8.6.5
, GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.5
, GHC == 9.4.4
synopsis: Lua engine to power custom pandoc conversions
description: This package provides a pandoc scripting engine based on
Lua.
extra-source-files: README.md
, test/bytestring.bin
, test/bytestring.lua
, test/bytestring-reader.lua
, test/extensions.lua
, test/lua/*.lua
, test/lua/module/*.lua
, test/lua/module/include.tex
, test/lua/module/partial.test
, test/lua/module/sample.svg
, test/lua/module/sample.epub
, test/lua/module/tiny.epub
, test/sample.lua
, test/tables.custom
, test/tables.native
, test/testsuite.native
, test/writer.custom
, test/writer-template.lua
, test/writer-template.out.txt
source-repository head
type: git
location: https://github.com/jgm/pandoc.git
subdir: pandoc-lua-engine
common common-options
default-language: Haskell2010
build-depends: base >= 4.12 && < 5
ghc-options: -Wall -fno-warn-unused-do-bind
-Wincomplete-record-updates
-Wnoncanonical-monad-instances
-Wcpp-undef
-Wincomplete-uni-patterns
-Widentities
-Wpartial-fields
-Wmissing-export-lists
-Wmissing-signatures
-fhide-source-paths
if impl(ghc >= 8.10)
ghc-options: -Wunused-packages
if impl(ghc >= 9.0)
ghc-options: -Winvalid-haddock
library
import: common-options
hs-source-dirs: src
exposed-modules: Text.Pandoc.Lua
other-modules: Text.Pandoc.Lua.Custom
, Text.Pandoc.Lua.Engine
, Text.Pandoc.Lua.Filter
, Text.Pandoc.Lua.Global
, Text.Pandoc.Lua.Init
, Text.Pandoc.Lua.Module
, Text.Pandoc.Lua.Marshal.Chunks
, Text.Pandoc.Lua.Marshal.CommonState
, Text.Pandoc.Lua.Marshal.Context
, Text.Pandoc.Lua.Marshal.Format
, Text.Pandoc.Lua.Marshal.ImageSize
, Text.Pandoc.Lua.Marshal.LogMessage
, Text.Pandoc.Lua.Marshal.PandocError
, Text.Pandoc.Lua.Marshal.ReaderOptions
, Text.Pandoc.Lua.Marshal.Reference
, Text.Pandoc.Lua.Marshal.Sources
, Text.Pandoc.Lua.Marshal.Template
, Text.Pandoc.Lua.Marshal.WriterOptions
, Text.Pandoc.Lua.Module.CLI
, Text.Pandoc.Lua.Module.Format
, Text.Pandoc.Lua.Module.Image
, Text.Pandoc.Lua.Module.JSON
, Text.Pandoc.Lua.Module.Log
, Text.Pandoc.Lua.Module.MediaBag
, Text.Pandoc.Lua.Module.Pandoc
, Text.Pandoc.Lua.Module.Scaffolding
, Text.Pandoc.Lua.Module.Structure
, Text.Pandoc.Lua.Module.System
, Text.Pandoc.Lua.Module.Template
, Text.Pandoc.Lua.Module.Text
, Text.Pandoc.Lua.Module.Types
, Text.Pandoc.Lua.Module.Utils
, Text.Pandoc.Lua.Orphans
, Text.Pandoc.Lua.PandocLua
, Text.Pandoc.Lua.Run
, Text.Pandoc.Lua.SourcePos
, Text.Pandoc.Lua.Writer.Classic
, Text.Pandoc.Lua.Writer.Scaffolding
build-depends: aeson
, bytestring >= 0.9 && < 0.13
, crypton >= 0.30 && < 1.1
, citeproc >= 0.8 && < 0.10
, containers >= 0.6.0.1 && < 0.9
, data-default >= 0.4 && < 0.9
, doclayout >= 0.5 && < 0.6
, doctemplates >= 0.11 && < 0.12
, exceptions >= 0.8 && < 0.11
, hslua >= 2.3 && < 2.5
, hslua-module-doclayout>= 1.2 && < 1.3
, hslua-module-path >= 1.1 && < 1.2
, hslua-module-system >= 1.1 && < 1.3
, hslua-module-text >= 1.1 && < 1.2
, hslua-module-version >= 1.1 && < 1.2
, hslua-module-zip >= 1.1.3 && < 1.2
, hslua-repl >= 0.1.1 && < 0.2
, lpeg >= 1.1 && < 1.2
, mtl >= 2.2 && < 2.4
, pandoc >= 3.7 && < 3.8
, pandoc-lua-marshal >= 0.3 && < 0.4
, pandoc-types >= 1.22 && < 1.24
, parsec >= 3.1 && < 3.2
, text >= 1.1.1 && < 2.2
test-suite test-pandoc-lua-engine
import: common-options
type: exitcode-stdio-1.0
main-is: test-pandoc-lua-engine.hs
hs-source-dirs: test
build-depends: pandoc-lua-engine
, bytestring
, directory
, data-default
, exceptions >= 0.8 && < 0.11
, filepath
, hslua >= 2.3 && < 2.5
, pandoc
, pandoc-types >= 1.22 && < 1.24
, tasty
, tasty-golden
, tasty-hunit
, tasty-lua >= 1.1 && < 1.2
, text >= 1.1.1 && < 2.2
other-modules: Tests.Lua
, Tests.Lua.Module
, Tests.Lua.Reader
, Tests.Lua.Writer