From 95d34bd02acaa0919f7385d602874249ceb6821c Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Mon, 3 Oct 2022 11:23:43 +0200 Subject: [PATCH] release 1.5.1 --- docs/index.html | 11 ++++++- rockspecs/luaexpat-1.5.1-1.rockspec | 51 +++++++++++++++++++++++++++++ src/lxplib.h | 2 +- 3 files changed, 62 insertions(+), 2 deletions(-) create mode 100644 rockspecs/luaexpat-1.5.1-1.rockspec diff --git a/docs/index.html b/docs/index.html index cf5f527..249b37f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -71,7 +71,7 @@

Overview

Status

-

Current version is 1.5.0. It was developed for Lua 5.1 to Lua 5.4, and has been tested on +

Current version is 1.5.1. It was developed for Lua 5.1 to Lua 5.4, and has been tested on Linux and MacOS X with Expat 2.4.0+.

Download

@@ -89,6 +89,15 @@

Download

History

+
Version 1.5.1 [03/Oct/2022]
+
+
    +
  • Fix: makefile no longer sets .lua files as executabel
  • +
  • Fix: makefile honors $RPM_OPT_FLAGS and $RPM_LD_FLAGS
  • +
  • Chore: added BLA test
  • +
+
+
Version 1.5.0 [26/Aug/2022]
    diff --git a/rockspecs/luaexpat-1.5.1-1.rockspec b/rockspecs/luaexpat-1.5.1-1.rockspec new file mode 100644 index 0000000..1dafd78 --- /dev/null +++ b/rockspecs/luaexpat-1.5.1-1.rockspec @@ -0,0 +1,51 @@ +local package_name = "luaexpat" +local package_version = "1.5.1" +local rockspec_revision = "1" +local github_account_name = "lunarmodules" +local github_repo_name = package_name + + +package = package_name +version = package_version .. "-" .. rockspec_revision + +source = { + url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git", + branch = (package_version == "scm") and "master" or nil, + tag = (package_version ~= "scm") and package_version or nil, +} + +description = { + summary = "XML Expat parsing", + detailed = [[ + LuaExpat is a SAX (Simple API for XML) XML parser based on the + Expat library. + ]], + license = "MIT/X11", + homepage = "https://"..github_account_name..".github.io/"..github_repo_name, +} + +dependencies = { + "lua >= 5.1" +} + +external_dependencies = { + EXPAT = { + header = "expat.h" + } +} + +build = { + type = "builtin", + modules = { + lxp = { + sources = { "src/lxplib.c" }, + libraries = { "expat" }, + incdirs = { "$(EXPAT_INCDIR)", "src/" }, + libdirs = { "$(EXPAT_LIBDIR)" }, + }, + ["lxp.lom"] = "src/lxp/lom.lua", + ["lxp.totable"] = "src/lxp/totable.lua", + ["lxp.threat"] = "src/lxp/threat.lua", + }, + copy_directories = { "docs" } +} diff --git a/src/lxplib.h b/src/lxplib.h index bd7f4ab..06af90a 100644 --- a/src/lxplib.h +++ b/src/lxplib.h @@ -3,7 +3,7 @@ */ #define LuaExpatCopyright "Copyright (C) 2003-2007 The Kepler Project, 2013-2022 Matthew Wild" -#define LuaExpatVersion "LuaExpat 1.5.0" +#define LuaExpatVersion "LuaExpat 1.5.1" #define ParserType "Expat" #define StartCdataKey "StartCdataSection"