From 1a93781f47091016763b05ca25b7bc04955908fc10c3ecea36b6ce5319b47141 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 6 May 2020 13:42:09 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-hslua revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hslua?expand=0&rev=55 --- ghc-hslua.changes | 54 -------------------------------------------- ghc-hslua.spec | 5 ++-- hslua-1.0.3.2.tar.gz | 3 +++ hslua-1.1.0.tar.gz | 3 --- 4 files changed, 6 insertions(+), 59 deletions(-) create mode 100644 hslua-1.0.3.2.tar.gz delete mode 100644 hslua-1.1.0.tar.gz diff --git a/ghc-hslua.changes b/ghc-hslua.changes index 44ac1f5..4e9b41e 100644 --- a/ghc-hslua.changes +++ b/ghc-hslua.changes @@ -1,57 +1,3 @@ -------------------------------------------------------------------- -Fri Mar 27 07:01:46 UTC 2020 - psimons@suse.com - -- Update hslua to version 1.1.0. - ### 1.1.0 - - Released 2020-03-25. - - **WARNING:** The changes in this release are experimental. It is - recommended to skip this release unless the newly introduced - features are required. - - - Allow custom error handling: conversion of Lua errors to - Haskell exceptions and back is made configurable. Users can - define their own exception/error handling strategies, even - opening up the option to pass arbitrary exceptions through Lua. - - - New types exported from `Foreign.Lua.Types`: - - - `ErrorConversion`: defines the ways in which exceptions - and errors are handled and converted. - - `LuaEnvironment`: environment in which Lua computations - are evaluated. Contains the Lua interpreter state and - the error conversion strategy. - - - The environment of the `Lua` type is changed from a plain - Lua `State` to the above mentioned `LuaEnvironment`. - - - New functions `run'` is exported from `Foreign.Lua.Util` - and `Foreign.Lua`: it is analogous to `run`, but allows to - run computations with a custom error conversion strategy. - - - New function `runWithConverter` exported from - `Foreign.Lua.Core.Types` and `Foreign.Lua.Core`; like - `run'`, but takes a custom state. - - - New function `unsafeRunWith` exported from - `Foreign.Lua.Core.Types` and `Foreign.Lua.Core`; runs a - computation without proper error handling. - - - New function `errorConversion` exported from - `Foreign.Lua.Core.Types` and `Foreign.Lua.Core`: extract - the error conversion strategy from the Lua type. - - - New function `throwErrorAsException` exported from - `Foreign.Lua.Core.Error` and `Foreign.Lua.Core`: throws a - Lua error as Haskell exception, using the current error - conversion strategy. - - - Function `runWith` is moved from module `Foreign.Lua.Core` to - `Foreign.Lua.Util`. - - - The module `Foreign.Lua.Utf8` is now exported. - ------------------------------------------------------------------- Fri Nov 8 16:13:53 UTC 2019 - Peter Simons diff --git a/ghc-hslua.spec b/ghc-hslua.spec index 1fd2a0f..1dbfa51 100644 --- a/ghc-hslua.spec +++ b/ghc-hslua.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-hslua # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name hslua %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.1.0 +Version: 1.0.3.2 Release: 0 Summary: Bindings to Lua, an embeddable scripting language License: MIT @@ -29,6 +29,7 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-exceptions-devel +BuildRequires: ghc-fail-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel diff --git a/hslua-1.0.3.2.tar.gz b/hslua-1.0.3.2.tar.gz new file mode 100644 index 0000000..2a996cd --- /dev/null +++ b/hslua-1.0.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2d40b0c143ef58d26203f34d96d4220f1a20077386e4a5216be74260b7d6ba0 +size 237230 diff --git a/hslua-1.1.0.tar.gz b/hslua-1.1.0.tar.gz deleted file mode 100644 index 358f852..0000000 --- a/hslua-1.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:90f32a264fc72e0e714daf457887e95f7cc3ffbac118ad1af0c6f9586e2fae13 -size 240085