osc copypac from project:devel:languages:haskell:ghc-9.8.x package:ghc-pandoc-lua-marshal revision:8, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pandoc-lua-marshal?expand=0&rev=24
This commit is contained in:
commit
299be49885
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
208
ghc-pandoc-lua-marshal.changes
Normal file
208
ghc-pandoc-lua-marshal.changes
Normal file
@ -0,0 +1,208 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 1 12:28:55 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-lua-marshal to version 0.2.9.
|
||||
## 0.2.9
|
||||
|
||||
Released 2024-10-01.
|
||||
|
||||
- Update list module, thereby introducing a new method `iter`;
|
||||
the function returns an iterator that steps through list
|
||||
values on each call.
|
||||
|
||||
- Added support for `__toinline` and `__toblock` metamethods. If
|
||||
the metamethods are available on a Lua object and return an
|
||||
appropriate value, then that returned value will be used
|
||||
during unmarshalling.
|
||||
|
||||
## 0.2.8
|
||||
|
||||
Released 2024-09-21.
|
||||
|
||||
- Update list module, thereby introducing a new method `at` and
|
||||
an extended constructor for List types.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 2 07:59:53 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-lua-marshal to version 0.2.7.1.
|
||||
## 0.2.7.1
|
||||
|
||||
Released 2024-07-02.
|
||||
|
||||
- Relaxed the upper bound of tasty-quickcheck, used in tests.
|
||||
Now allows version 0.11.
|
||||
|
||||
- Update documentation on constructors; the descriptions now
|
||||
match those in the pandoc docs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Update pandoc-lua-marshal to version 0.2.6 revision 1.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 29 17:56:57 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-lua-marshal to version 0.2.6.
|
||||
## 0.2.6
|
||||
|
||||
Released 2024-03-29.
|
||||
|
||||
- Fixed a bug that caused problems with empty Block lists in
|
||||
the `content` attributes of *Div*, *Figure*, and *BlockQuote*
|
||||
elements.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 4 12:45:10 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-lua-marshal to version 0.2.5.
|
||||
Upstream has edited the change log file since the last release in
|
||||
a non-trivial way, i.e. they did more than just add a new entry
|
||||
at the top. You can review the file at:
|
||||
http://hackage.haskell.org/package/pandoc-lua-marshal-0.2.5/src/CHANGELOG.md
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 19 07:58:14 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-lua-marshal to version 0.2.4.
|
||||
## 0.2.3
|
||||
|
||||
Released 2024-01-19.
|
||||
|
||||
- Relaxed upper bound for aeson, allowing aeson-2.2.\*.
|
||||
|
||||
## 0.2.3
|
||||
|
||||
Released 2024-01-19.
|
||||
|
||||
- Relaxed upper bound for text, containers, and bytestring,
|
||||
allowing text-2.1, containers-0.7, and bytestring-0.12.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 17:07:48 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 15 20:49:41 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-lua-marshal to version 0.2.2.
|
||||
## 0.2.2
|
||||
|
||||
Released 2023-03-15.
|
||||
|
||||
- Add `__tostring` metamethods to *Blocks* and *Inlines*.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 13 12:18:58 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-lua-marshal to version 0.2.1.1.
|
||||
## 0.2.1.1
|
||||
|
||||
Released 2023-03-13.
|
||||
|
||||
- The version constraints for hslua packages have been relaxed;
|
||||
other changes in hslua 2.3.\* do not affect this package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 11 16:10:47 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-lua-marshal to version 0.2.1.
|
||||
Upstream has edited the change log file since the last release in
|
||||
a non-trivial way, i.e. they did more than just add a new entry
|
||||
at the top. You can review the file at:
|
||||
http://hackage.haskell.org/package/pandoc-lua-marshal-0.2.1/src/CHANGELOG.md
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 18 17:01:10 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-lua-marshal to version 0.2.0.
|
||||
## 0.2.0
|
||||
|
||||
Release pending.
|
||||
|
||||
- Depend on pandoc-types 1.23: the `Null` Block constructor has
|
||||
been removed, and a `Figure` constructor has been added.
|
||||
|
||||
- Support for Lua 5.3 has been dropped; the package now requires
|
||||
hslua 2.2 or later.
|
||||
|
||||
- The implementation for `List` has been moved to the separate
|
||||
`hslua-list` module. This module no longer contains C code.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 16 13:29:37 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-lua-marshal to version 0.1.7.
|
||||
## 0.1.7
|
||||
|
||||
Released 2022-07-16.
|
||||
|
||||
- Allow Blocks to be passed as Caption value. The resulting
|
||||
caption has the Blocks as its long version and no short
|
||||
version.
|
||||
|
||||
- Add `clone` method to Pandoc elements.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 10 10:13:58 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-lua-marshal to version 0.1.6.1.
|
||||
Upstream has edited the change log file since the last release in
|
||||
a non-trivial way, i.e. they did more than just add a new entry
|
||||
at the top. You can review the file at:
|
||||
http://hackage.haskell.org/package/pandoc-lua-marshal-0.1.6.1/src/CHANGELOG.md
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 19 14:49:24 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-lua-marshal to version 0.1.5.1.
|
||||
## 0.1.5.1
|
||||
|
||||
Release pending.
|
||||
|
||||
- Relax upper bound for lua and hslua.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 17 14:43:00 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-lua-marshal to version 0.1.5.
|
||||
## 0.1.5
|
||||
|
||||
Released 2022-02-17.
|
||||
|
||||
- Allow any type of callable object as argument to List
|
||||
functions `filter`, `map`, and `find_if`. These previously
|
||||
required the argument to be of type `function`, which was too
|
||||
restrictive.
|
||||
|
||||
- Inline: the type of Image captions is now `Inlines` instead
|
||||
of `List`.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 4 12:31:25 UTC 2022 - psimons@suse.com
|
||||
|
||||
- Add pandoc-lua-marshal at version 0.1.4.
|
||||
|
134
ghc-pandoc-lua-marshal.spec
Normal file
134
ghc-pandoc-lua-marshal.spec
Normal file
@ -0,0 +1,134 @@
|
||||
#
|
||||
# spec file for package ghc-pandoc-lua-marshal
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global pkg_name pandoc-lua-marshal
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.2.9
|
||||
Release: 0
|
||||
Summary: Use pandoc types in Lua
|
||||
License: MIT
|
||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-aeson-devel
|
||||
BuildRequires: ghc-aeson-prof
|
||||
BuildRequires: ghc-base-devel
|
||||
BuildRequires: ghc-base-prof
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-bytestring-prof
|
||||
BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-containers-prof
|
||||
BuildRequires: ghc-exceptions-devel
|
||||
BuildRequires: ghc-exceptions-prof
|
||||
BuildRequires: ghc-hslua-devel
|
||||
BuildRequires: ghc-hslua-list-devel
|
||||
BuildRequires: ghc-hslua-list-prof
|
||||
BuildRequires: ghc-hslua-marshalling-devel
|
||||
BuildRequires: ghc-hslua-marshalling-prof
|
||||
BuildRequires: ghc-hslua-prof
|
||||
BuildRequires: ghc-pandoc-types-devel
|
||||
BuildRequires: ghc-pandoc-types-prof
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-safe-devel
|
||||
BuildRequires: ghc-safe-prof
|
||||
BuildRequires: ghc-text-devel
|
||||
BuildRequires: ghc-text-prof
|
||||
ExcludeArch: %{ix86}
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-QuickCheck-prof
|
||||
BuildRequires: ghc-tasty-devel
|
||||
BuildRequires: ghc-tasty-hunit-devel
|
||||
BuildRequires: ghc-tasty-hunit-prof
|
||||
BuildRequires: ghc-tasty-lua-devel
|
||||
BuildRequires: ghc-tasty-lua-prof
|
||||
BuildRequires: ghc-tasty-prof
|
||||
BuildRequires: ghc-tasty-quickcheck-devel
|
||||
BuildRequires: ghc-tasty-quickcheck-prof
|
||||
%endif
|
||||
|
||||
%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.
|
||||
|
||||
%package devel
|
||||
Summary: Haskell %{pkg_name} library development files
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: ghc-compiler = %{ghc_version}
|
||||
Requires(post): ghc-compiler = %{ghc_version}
|
||||
Requires(postun): ghc-compiler = %{ghc_version}
|
||||
|
||||
%description devel
|
||||
This package provides the Haskell %{pkg_name} library development
|
||||
files.
|
||||
|
||||
%package -n ghc-%{pkg_name}-doc
|
||||
Summary: Haskell %{pkg_name} library documentation
|
||||
Requires: ghc-filesystem
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n ghc-%{pkg_name}-doc
|
||||
This package provides the Haskell %{pkg_name} library documentation.
|
||||
|
||||
%package -n ghc-%{pkg_name}-prof
|
||||
Summary: Haskell %{pkg_name} profiling library
|
||||
Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
|
||||
Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
|
||||
|
||||
%description -n ghc-%{pkg_name}-prof
|
||||
This package provides the Haskell %{pkg_name} profiling library.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
||||
%install
|
||||
%ghc_lib_install
|
||||
|
||||
%check
|
||||
%cabal_test
|
||||
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
%postun devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
%files -f %{name}.files
|
||||
%license LICENSE
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc CHANGELOG.md README.md
|
||||
|
||||
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
|
||||
%license LICENSE
|
||||
|
||||
%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
|
||||
|
||||
%changelog
|
3
pandoc-lua-marshal-0.2.7.1.tar.gz
Normal file
3
pandoc-lua-marshal-0.2.7.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bcfb0a8e6913e90e1552496bf3029f2437d09ab8cbb06e06c85e70d5c586e1f9
|
||||
size 40489
|
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
|
3
pandoc-lua-marshal-0.2.9.tar.gz
Normal file
3
pandoc-lua-marshal-0.2.9.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:618a5a479ed1a313cea00be4672170acf8399a36723f57a408e9b6e002941813
|
||||
size 41557
|
Loading…
x
Reference in New Issue
Block a user