pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/hs-hslua



Module Name:    pkgsrc
Committed By:   pho
Date:           Fri Feb 11 12:11:55 UTC 2022

Modified Files:
        pkgsrc/lang/hs-hslua: Makefile PLIST buildlink3.mk distinfo
Removed Files:
        pkgsrc/lang/hs-hslua/patches: patch-hslua.cabal

Log Message:
Update to hslua-2.1.0

hslua-2.1.0 - Released 29-01-2022.
* Update to hslua-objectorientation 2.1.0. This entails changes to deftype'
  and deftypeGeneric, switching the order of item pusher and list-extractor
  function in the tuple passed as the last argument.
* Update to hslua-core 2.1.0, hslua-marshalling 2.1.0, and hslua-classes
  2.1.0.

hslua-2.0.1 - Released 2021-11-04.
* Updated lower bounds of hslua packages:
  hslua >= 2.0.0.2,
  hslua-marshalling >= 2.0.1, and
  hslua-objectorientation >= 2.0.1.
* This fixes a number of smaller issues; see the respective package
  changelogs for details.

hslua-2.0.0 - Released 2021-10-21.
* Move module hierarchy from Foreign.Lua to HsLua.
* Error handling has been reworked completely. The type of exceptions used
  and handled by HsLua is now exposed to the type system. The type Lua
  makes use of a default error type. Custom error handling can be
  implemented by using the LuaE type with an exception type that is an
  instance of class LuaError.
* Renamed stack index helpers to nth, nthTop, nthBottom, top. The following
  have been removed: stackTop, nthFromTop, nthFromBottom.
* Extracted raw Lua bindings into new package lua. This means that all
  cabal flags have been moved to package lua as well. Version lua-1.0.0
  contained the Foreign.Lua.Raw hierarchy as present in hslua-1.3.0. See
  that package’s changelog for info on the additional modifications since
  then.
* The module Foreign.Lua.Raw.Error was merged into the HsLua.Core.Error
  module.
* The functions getglobal and gettable now return the Lua Type of the
  pushed value.
* Extracted new packages:
  * hslua-core: the package contains all modules from the Core sub-hierarchy.
  * hslua-classes: typclasses Peekable and Pushable for pushing and
    pulling, as well as function calling.
  * tasty-hslua: makes testing helpers available for reuse.
* Moved run functions from Util to Core.Run.
* Moved module Utf8 from the base level into Core.
* Refactored code to expose Haskell functions to Lua:
* Removed functions newCFunction, freeCFunction. Use pushHaskellFunction
  instead, it takes care of garbage collection.
* Renamed typeclass ToHaskellFunction to Exposable, function callFunc to
  invoke. All these have been moved to hslua-classes.
* The type PreCFunction is now defined in package lua; HaskellFunction is
  defined in hslua-core.
* Changed pushHaskellFunction to only accept HaskellFunction arguments,
  move it to hslua-core.
* Removed helper functions addfunction and addfield from Module. Use
  documented functions and fields instead.
* Added support for a “since” tag on documented functions; allows to mark
  the library version when a function was introduced in its present form.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/hs-hslua/Makefile \
    pkgsrc/lang/hs-hslua/buildlink3.mk pkgsrc/lang/hs-hslua/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/hs-hslua/PLIST
cvs rdiff -u -r1.2 -r0 pkgsrc/lang/hs-hslua/patches/patch-hslua.cabal

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/hs-hslua/Makefile
diff -u pkgsrc/lang/hs-hslua/Makefile:1.4 pkgsrc/lang/hs-hslua/Makefile:1.5
--- pkgsrc/lang/hs-hslua/Makefile:1.4   Tue Jan 18 02:48:17 2022
+++ pkgsrc/lang/hs-hslua/Makefile       Fri Feb 11 12:11:55 2022
@@ -1,18 +1,16 @@
-# $NetBSD: Makefile,v 1.4 2022/01/18 02:48:17 pho Exp $
+# $NetBSD: Makefile,v 1.5 2022/02/11 12:11:55 pho Exp $
 
-DISTNAME=      hslua-1.3.0.1
-PKGREVISION=   2
+DISTNAME=      hslua-2.1.0
 CATEGORIES=    lang
 
 MAINTAINER=    szptvlfn%NetBSD.org@localhost
 COMMENT=       Bindings to Lua, an embeddable scripting language
 LICENSE=       mit
 
-USE_TOOLS+=            pkg-config
-CONFIGURE_ARGS+=       -fpkg-config
-
-# This package explicitly depends on Lua 5.3.x so including
-# ../../lang/lua/buildlink3.mk would be inappropriate.
-.include "../../lang/lua53/buildlink3.mk"
+.include "../../lang/hs-hslua-classes/buildlink3.mk"
+.include "../../lang/hs-hslua-core/buildlink3.mk"
+.include "../../lang/hs-hslua-marshalling/buildlink3.mk"
+.include "../../lang/hs-hslua-objectorientation/buildlink3.mk"
+.include "../../lang/hs-hslua-packaging/buildlink3.mk"
 .include "../../mk/haskell.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/hs-hslua/buildlink3.mk
diff -u pkgsrc/lang/hs-hslua/buildlink3.mk:1.4 pkgsrc/lang/hs-hslua/buildlink3.mk:1.5
--- pkgsrc/lang/hs-hslua/buildlink3.mk:1.4      Tue Jan 18 02:48:17 2022
+++ pkgsrc/lang/hs-hslua/buildlink3.mk  Fri Feb 11 12:11:55 2022
@@ -1,15 +1,19 @@
-# $NetBSD: buildlink3.mk,v 1.4 2022/01/18 02:48:17 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2022/02/11 12:11:55 pho Exp $
 
 BUILDLINK_TREE+=       hs-hslua
 
 .if !defined(HS_HSLUA_BUILDLINK3_MK)
 HS_HSLUA_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-hslua+=       hs-hslua>=1.3.0
-BUILDLINK_ABI_DEPENDS.hs-hslua+=       hs-hslua>=1.3.0.1nb2
+BUILDLINK_API_DEPENDS.hs-hslua+=       hs-hslua>=2.1.0
+BUILDLINK_ABI_DEPENDS.hs-hslua+=       hs-hslua>=2.1.0
 BUILDLINK_PKGSRCDIR.hs-hslua?=         ../../lang/hs-hslua
 
-.include "../../lang/lua53/buildlink3.mk"
+.include "../../lang/hs-hslua-classes/buildlink3.mk"
+.include "../../lang/hs-hslua-core/buildlink3.mk"
+.include "../../lang/hs-hslua-marshalling/buildlink3.mk"
+.include "../../lang/hs-hslua-objectorientation/buildlink3.mk"
+.include "../../lang/hs-hslua-packaging/buildlink3.mk"
 .endif # HS_HSLUA_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -hs-hslua
Index: pkgsrc/lang/hs-hslua/distinfo
diff -u pkgsrc/lang/hs-hslua/distinfo:1.4 pkgsrc/lang/hs-hslua/distinfo:1.5
--- pkgsrc/lang/hs-hslua/distinfo:1.4   Tue Oct 26 10:51:38 2021
+++ pkgsrc/lang/hs-hslua/distinfo       Fri Feb 11 12:11:55 2022
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:51:38 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/02/11 12:11:55 pho Exp $
 
-BLAKE2s (hslua-1.3.0.1.tar.gz) = c6b9281c0b895b93b841d25a9504cee53ce38e54636c3a86c844929a94ab53c5
-SHA512 (hslua-1.3.0.1.tar.gz) = 6c270cfd3abd81c3b06dc2005796909ea96e14ecc2ff4689f18164ac38fe13f99ff0e5cd25ed1aa020ad422c7e52d2d40001e1c7298436c10e04f3670aa08e98
-Size (hslua-1.3.0.1.tar.gz) = 253503 bytes
-SHA1 (patch-hslua.cabal) = 7bb7b83c988d3cf00150d768361aa0ae25338529
+BLAKE2s (hslua-2.1.0.tar.gz) = 11ae36bd2bb226c6e422ebbe12b25b955b2f1ea89c87e75f3878fe995489c396
+SHA512 (hslua-2.1.0.tar.gz) = c1c0f942406f6c346c7922fe3bcf0d76abad66898f075f296e24ad82153330e35a0559276945146834f5d6156adc714a69ecec5db42be35b80084210886264e6
+Size (hslua-2.1.0.tar.gz) = 17065 bytes

Index: pkgsrc/lang/hs-hslua/PLIST
diff -u pkgsrc/lang/hs-hslua/PLIST:1.2 pkgsrc/lang/hs-hslua/PLIST:1.3
--- pkgsrc/lang/hs-hslua/PLIST:1.2      Fri Apr 23 09:47:37 2021
+++ pkgsrc/lang/hs-hslua/PLIST  Fri Feb 11 12:11:55 2022
@@ -1,117 +1,24 @@
-@comment $NetBSD: PLIST,v 1.2 2021/04/23 09:47:37 pho Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/02/11 12:11:55 pho Exp $
 lib/hslua-${PKGVERSION}/${HS_VERSION}/package-description
 lib/hslua-${PKGVERSION}/${HS_VERSION}/package-id
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Call.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Call.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Call.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core/Auxiliary.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core/Auxiliary.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core/Auxiliary.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core/Constants.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core/Constants.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core/Constants.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core/Error.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core/Error.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core/Error.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core/Functions.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core/Functions.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core/Functions.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core/RawBindings.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core/RawBindings.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core/RawBindings.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core/Types.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core/Types.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Core/Types.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/FunctionCalling.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/FunctionCalling.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/FunctionCalling.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Module.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Module.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Module.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Peek.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Peek.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Peek.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Push.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Push.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Push.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Auxiliary.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Auxiliary.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Auxiliary.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Call.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Call.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Call.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Constants.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Constants.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Constants.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Error.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Error.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Error.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Functions.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Functions.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Functions.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Types.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Types.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Types.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Userdata.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Userdata.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Raw/Userdata.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Types.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Types.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Types.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Types/Peekable.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Types/Peekable.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Types/Peekable.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Types/Pushable.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Types/Pushable.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Types/Pushable.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Userdata.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Userdata.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Userdata.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Utf8.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Utf8.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Utf8.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Util.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Util.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Foreign/Lua/Util.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/HsLua.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/HsLua.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/HsLua.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/HsLua/Util.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/HsLua/Util.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/HsLua/Util.p_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
 lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
 lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
 share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/LICENSE
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Call.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Core-Constants.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Core-Error.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Core-RawBindings.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Core-Types.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Core.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-FunctionCalling.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Module.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Peek.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Push.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Raw-Auxiliary.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Raw-Call.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Raw-Constants.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Raw-Error.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Raw-Functions.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Raw-Types.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Raw-Userdata.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Types-Peekable.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Types-Pushable.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Types.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Userdata.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Utf8.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua-Util.html
-share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/Foreign-Lua.html
+share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/HsLua-Util.html
+share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/HsLua.html
 share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/doc-index-35.html
 share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/doc-index-60.html
 share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/doc-index-61.html
 share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/doc-index-A.html
 share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/doc-index-All.html
+share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/doc-index-B.html
 share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/doc-index-C.html
 share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/doc-index-D.html
 share/doc/${HS_PLATFORM}/hslua-${PKGVERSION}/html/doc-index-E.html



Home | Main Index | Thread Index | Old Index