Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-hslua-objectorientation for
openSUSE:Factory checked in at 2025-07-02 12:08:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hslua-objectorientation (Old)
and /work/SRC/openSUSE:Factory/.ghc-hslua-objectorientation.new.7067 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hslua-objectorientation"
Wed Jul 2 12:08:54 2025 rev:7 rq:1289422 version:2.4.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-hslua-objectorientation/ghc-hslua-objectorientation.changes
2024-01-26 22:47:35.860911995 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-hslua-objectorientation.new.7067/ghc-hslua-objectorientation.changes
2025-07-02 12:09:44.079311428 +0200
@@ -1,0 +2,34 @@
+Mon Jun 23 09:59:20 UTC 2025 - Peter Simons <[email protected]>
+
+- Update hslua-objectorientation to version 2.4.0.
+ ## hslua-objectorientation-2.4.0
+
+ Released 2025-06-23.
+
+ - The code has been reorganized: the new submodules
+ `HsLua.ObjectOrientation.Generic` and
+ `HsLua.ObjectOrientation.ListType` have been added.
+
+ - The `UDTypeGeneric` type has been updated, the definitions for
+ Lua types can now contain additional hooks to modify the
+ behavior when initializing the type and when pushing and
+ pulling objects to and from Lua.
+
+ - The function `pushUDGeneric` is modified and no longer takes a
+ `pushDocs` parameter. Use the new type hooks instead.
+
+ - Removed the extra hook from `initTypeGeneric` and renamed it
+ to `initType`. The hook, if one is needed, must now be part of
+ the UDTypeGeneric object.
+
+ - The default `__index` and `__newindex` functions have been
+ simplified and no longer handle integer keys. Consequently,
+ list-like types now need their own `__index` and `__newindex`
+ functions. These can handle numerical indices and fall back to
+ the default functions for other keys.
+
+ The new file `hslobj.h` contains the headers of the default
+ access functions. It is added to the `install-includes` cabal
+ field.
+
+-------------------------------------------------------------------
Old:
----
hslua-objectorientation-2.3.1.tar.gz
New:
----
hslua-objectorientation-2.4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-hslua-objectorientation.spec ++++++
--- /var/tmp/diff_new_pack.DFUg7a/_old 2025-07-02 12:09:45.143356616 +0200
+++ /var/tmp/diff_new_pack.DFUg7a/_new 2025-07-02 12:09:45.143356616 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-hslua-objectorientation
#
-# 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,7 +20,7 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 2.3.1
+Version: 2.4.0
Release: 0
Summary: Object orientation tools for HsLua
License: MIT
@@ -29,39 +29,25 @@
BuildRequires: ghc-Cabal-devel
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-core-devel
BuildRequires: ghc-hslua-core-prof
BuildRequires: ghc-hslua-marshalling-devel
BuildRequires: ghc-hslua-marshalling-prof
BuildRequires: ghc-hslua-typing-devel
BuildRequires: ghc-hslua-typing-prof
-BuildRequires: ghc-mtl-devel
-BuildRequires: ghc-mtl-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-text-devel
BuildRequires: ghc-text-prof
ExcludeArch: %{ix86}
%if %{with tests}
-BuildRequires: ghc-QuickCheck-devel
-BuildRequires: ghc-QuickCheck-prof
-BuildRequires: ghc-lua-arbitrary-devel
-BuildRequires: ghc-lua-arbitrary-prof
-BuildRequires: ghc-quickcheck-instances-devel
-BuildRequires: ghc-quickcheck-instances-prof
+BuildRequires: ghc-bytestring-devel
+BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-hslua-devel
BuildRequires: ghc-tasty-hslua-prof
-BuildRequires: ghc-tasty-hunit-devel
-BuildRequires: ghc-tasty-hunit-prof
BuildRequires: ghc-tasty-prof
-BuildRequires: ghc-tasty-quickcheck-devel
-BuildRequires: ghc-tasty-quickcheck-prof
%endif
%description
++++++ hslua-objectorientation-2.3.1.tar.gz ->
hslua-objectorientation-2.4.0.tar.gz ++++++
++++ 1830 lines of diff (skipped)