From aa987f8ca2e1725947059a8a456408422925cafe56d4d1ffe21c9a064dd729a1 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 19 Jul 2024 12:40:34 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-9.8.x package:ghc-pandoc-lua-marshal revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pandoc-lua-marshal?expand=0&rev=22 --- .gitattributes | 23 ++++ .gitignore | 1 + ghc-pandoc-lua-marshal.changes | 184 ++++++++++++++++++++++++++++++ ghc-pandoc-lua-marshal.spec | 134 ++++++++++++++++++++++ pandoc-lua-marshal-0.2.7.1.tar.gz | 3 + pandoc-lua-marshal-0.2.7.tar.gz | 3 + 6 files changed, 348 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 ghc-pandoc-lua-marshal.changes create mode 100644 ghc-pandoc-lua-marshal.spec create mode 100644 pandoc-lua-marshal-0.2.7.1.tar.gz create mode 100644 pandoc-lua-marshal-0.2.7.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ghc-pandoc-lua-marshal.changes b/ghc-pandoc-lua-marshal.changes new file mode 100644 index 0000000..9592cd1 --- /dev/null +++ b/ghc-pandoc-lua-marshal.changes @@ -0,0 +1,184 @@ +------------------------------------------------------------------- +Tue Jul 2 07:59:53 UTC 2024 - Peter Simons + +- 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 + +- 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 + +- 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 + +- 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 + +- 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 + +- 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 + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + +------------------------------------------------------------------- +Wed Mar 15 20:49:41 UTC 2023 - Peter Simons + +- 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 + +- 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 + +- 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 + +- 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 + +- 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 + +- 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 + +- 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 + +- 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. + diff --git a/ghc-pandoc-lua-marshal.spec b/ghc-pandoc-lua-marshal.spec new file mode 100644 index 0000000..52bf5d1 --- /dev/null +++ b/ghc-pandoc-lua-marshal.spec @@ -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.7.1 +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 diff --git a/pandoc-lua-marshal-0.2.7.1.tar.gz b/pandoc-lua-marshal-0.2.7.1.tar.gz new file mode 100644 index 0000000..782cbbd --- /dev/null +++ b/pandoc-lua-marshal-0.2.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bcfb0a8e6913e90e1552496bf3029f2437d09ab8cbb06e06c85e70d5c586e1f9 +size 40489 diff --git a/pandoc-lua-marshal-0.2.7.tar.gz b/pandoc-lua-marshal-0.2.7.tar.gz new file mode 100644 index 0000000..9b1cc93 --- /dev/null +++ b/pandoc-lua-marshal-0.2.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f688d6fdb0627ff8e2ee74c95d302cf378ecf4c7c4d45e8ed0cc15a7e4ed45d8 +size 39133