Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| a9d185f813 | |||
| 22a608ecfe |
@@ -1,3 +1,37 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 23 09:59:20 UTC 2025 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 18 16:46:37 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
|
||||
@@ -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 @@ Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg
|
||||
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
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1824b71160f2c545277b6f29f0dbde3da1a223c70406d5466c9c4c91198e7dab
|
||||
size 16673
|
||||
3
hslua-objectorientation-2.4.0.tar.gz
Normal file
3
hslua-objectorientation-2.4.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1ac62515ec5de84126077844c9b578b93e5e73a25ca0bf63b43bf7855fa1a73e
|
||||
size 18225
|
||||
Reference in New Issue
Block a user