forked from pool/ghc-pandoc-lua-marshal
osc copypac from project:devel:languages:haskell:ghc-9.8.x package:ghc-pandoc-lua-marshal revision:6, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pandoc-lua-marshal?expand=0&rev=20
This commit is contained in:
parent
93652db89f
commit
cc8030a707
@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 6 15:06:05 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update pandoc-lua-marshal to version 0.2.7.
|
||||||
|
## 0.2.7
|
||||||
|
|
||||||
|
Released 2024-05-06.
|
||||||
|
|
||||||
|
- Let the behavior of `content` attributes on BulletList and
|
||||||
|
OrderedList elements match that of the constructor by treating
|
||||||
|
a list of Block elements as a list of single-block items. The
|
||||||
|
following assertion now holds true:
|
||||||
|
|
||||||
|
``` lua
|
||||||
|
local content = {pandoc.Plain "one", pandoc.Plain "two"}
|
||||||
|
local bl = pandoc.BulletList{}
|
||||||
|
bl.content = content
|
||||||
|
assert(bl == pandoc.BulletList(content))
|
||||||
|
```
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 23 10:02:42 UTC 2024 - Peter Simons <psimons@suse.com>
|
Tue Apr 23 10:02:42 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@ -20,13 +20,12 @@
|
|||||||
%global pkgver %{pkg_name}-%{version}
|
%global pkgver %{pkg_name}-%{version}
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.2.6
|
Version: 0.2.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Use pandoc types in Lua
|
Summary: Use pandoc types in Lua
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-aeson-devel
|
BuildRequires: ghc-aeson-devel
|
||||||
BuildRequires: ghc-aeson-prof
|
BuildRequires: ghc-aeson-prof
|
||||||
@ -105,7 +104,6 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9c024ccd9f6e21c8fa52ec7a9b044b5b0908917c84b51b84f7aeb1f960c43c09
|
|
||||||
size 38722
|
|
3
pandoc-lua-marshal-0.2.7.tar.gz
Normal file
3
pandoc-lua-marshal-0.2.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f688d6fdb0627ff8e2ee74c95d302cf378ecf4c7c4d45e8ed0cc15a7e4ed45d8
|
||||||
|
size 39133
|
@ -1,120 +0,0 @@
|
|||||||
cabal-version: 2.4
|
|
||||||
name: pandoc-lua-marshal
|
|
||||||
version: 0.2.6
|
|
||||||
x-revision: 1
|
|
||||||
synopsis: Use pandoc types in Lua
|
|
||||||
description: This package provides functions to marshal and unmarshal
|
|
||||||
pandoc document types to and from Lua.
|
|
||||||
.
|
|
||||||
The values of most types are pushed to pandoc as "userdata"
|
|
||||||
objects that wrap a stable pointer to the Haskell value;
|
|
||||||
these objects come with methods to access and modify their
|
|
||||||
properties.
|
|
||||||
.
|
|
||||||
Sequences are pushed as normal Lua tables, but are
|
|
||||||
augmented with convenience functions.
|
|
||||||
|
|
||||||
homepage: https://github.com/pandoc/pandoc-lua-marshal
|
|
||||||
bug-reports: https://github.com/pandoc/pandoc-lua-marshal/issues
|
|
||||||
license: MIT
|
|
||||||
license-file: LICENSE
|
|
||||||
author: Albert Krewinkel, John MacFarlane
|
|
||||||
maintainer: Albert Krewinkel <albert@zeitkraut.de>
|
|
||||||
copyright: © 2017-2024 Albert Krewinkel, John MacFarlane
|
|
||||||
category: Foreign
|
|
||||||
build-type: Simple
|
|
||||||
extra-doc-files: README.md
|
|
||||||
, CHANGELOG.md
|
|
||||||
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
|
|
||||||
extra-source-files: test/test-attr.lua
|
|
||||||
, test/test-block.lua
|
|
||||||
, test/test-cell.lua
|
|
||||||
, test/test-citation.lua
|
|
||||||
, test/test-inline.lua
|
|
||||||
, test/test-listattributes.lua
|
|
||||||
, test/test-metavalue.lua
|
|
||||||
, test/test-pandoc.lua
|
|
||||||
, test/test-simpletable.lua
|
|
||||||
|
|
||||||
source-repository head
|
|
||||||
type: git
|
|
||||||
location: https://github.com/pandoc/pandoc-lua-marshal.git
|
|
||||||
|
|
||||||
common common-options
|
|
||||||
build-depends: base >= 4.12 && < 5
|
|
||||||
, aeson >= 1.5 && < 2.3
|
|
||||||
, bytestring >= 0.10 && < 0.13
|
|
||||||
, containers >= 0.6 && < 0.8
|
|
||||||
, exceptions >= 0.8 && < 0.11
|
|
||||||
, hslua >= 2.2 && < 2.4
|
|
||||||
, hslua-list >= 1.1 && < 1.2
|
|
||||||
, hslua-marshalling >= 2.2 && < 2.4
|
|
||||||
, pandoc-types >= 1.23 && < 1.24
|
|
||||||
, safe >= 0.3 && < 0.4
|
|
||||||
, text >= 1.1.1.0 && < 1.3
|
|
||||||
|| >= 2.0 && < 2.2
|
|
||||||
|
|
||||||
ghc-options: -Wall
|
|
||||||
-Wcompat
|
|
||||||
-Widentities
|
|
||||||
-Wincomplete-record-updates
|
|
||||||
-Wincomplete-uni-patterns
|
|
||||||
-Wmissing-export-lists
|
|
||||||
-Wpartial-fields
|
|
||||||
-Wredundant-constraints
|
|
||||||
-fhide-source-paths
|
|
||||||
if impl(ghc >= 8.8)
|
|
||||||
ghc-options: -Wmissing-deriving-strategies
|
|
||||||
|
|
||||||
default-language: Haskell2010
|
|
||||||
|
|
||||||
library
|
|
||||||
import: common-options
|
|
||||||
hs-source-dirs: src
|
|
||||||
exposed-modules: Text.Pandoc.Lua.Marshal.AST
|
|
||||||
, Text.Pandoc.Lua.Marshal.Alignment
|
|
||||||
, Text.Pandoc.Lua.Marshal.Attr
|
|
||||||
, Text.Pandoc.Lua.Marshal.Block
|
|
||||||
, Text.Pandoc.Lua.Marshal.Cell
|
|
||||||
, Text.Pandoc.Lua.Marshal.Citation
|
|
||||||
, Text.Pandoc.Lua.Marshal.CitationMode
|
|
||||||
, Text.Pandoc.Lua.Marshal.Content
|
|
||||||
, Text.Pandoc.Lua.Marshal.Filter
|
|
||||||
, Text.Pandoc.Lua.Marshal.Format
|
|
||||||
, Text.Pandoc.Lua.Marshal.Inline
|
|
||||||
, Text.Pandoc.Lua.Marshal.List
|
|
||||||
, Text.Pandoc.Lua.Marshal.ListAttributes
|
|
||||||
, Text.Pandoc.Lua.Marshal.MathType
|
|
||||||
, Text.Pandoc.Lua.Marshal.MetaValue
|
|
||||||
, Text.Pandoc.Lua.Marshal.Pandoc
|
|
||||||
, Text.Pandoc.Lua.Marshal.QuoteType
|
|
||||||
, Text.Pandoc.Lua.Marshal.Row
|
|
||||||
, Text.Pandoc.Lua.Marshal.SimpleTable
|
|
||||||
, Text.Pandoc.Lua.Marshal.TableFoot
|
|
||||||
, Text.Pandoc.Lua.Marshal.TableHead
|
|
||||||
, Text.Pandoc.Lua.Marshal.TableParts
|
|
||||||
other-modules: Text.Pandoc.Lua.Marshal.Shared
|
|
||||||
, Text.Pandoc.Lua.Topdown
|
|
||||||
, Text.Pandoc.Lua.SpliceList
|
|
||||||
, Text.Pandoc.Lua.Walk
|
|
||||||
build-depends: hslua-list >= 1.1 && < 1.2
|
|
||||||
|
|
||||||
test-suite pandoc-lua-marshal-test
|
|
||||||
import: common-options
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
hs-source-dirs: test
|
|
||||||
main-is: test-pandoc-lua-marshal.hs
|
|
||||||
build-depends: pandoc-lua-marshal
|
|
||||||
, QuickCheck >= 2.4 && < 2.16
|
|
||||||
, tasty >= 0.11
|
|
||||||
, tasty-hunit >= 0.9
|
|
||||||
, tasty-lua >= 1.0
|
|
||||||
, tasty-quickcheck >= 0.8 && < 0.11
|
|
||||||
ghc-options: -threaded
|
|
||||||
-rtsopts
|
|
||||||
-with-rtsopts=-N
|
|
Loading…
x
Reference in New Issue
Block a user