Skip to content

Commit

Permalink
release 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Aug 26, 2022
1 parent ed0fbae commit d89d493
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h2><a name="overview"></a>Overview</h2>

<h2><a name="status"></a>Status</h2>

<p>Current version is 1.4.1. It was developed for Lua 5.1 to Lua 5.4, and has been tested on
<p>Current version is 1.5.0. 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+.</p>

<h2><a name="download"></a>Download</h2>
Expand All @@ -89,7 +89,7 @@ <h2><a name="download"></a>Download</h2>
<h2><a name="history"></a>History</h2>

<dl class="history">
<dt><strong>Version 1.5.0</strong> [unreleased]</dt>
<dt><strong>Version 1.5.0</strong> [26/Aug/2022]</dt>
<dd>
<ul>
<li><strong>warning:</strong> this update requires a minimum libExpat
Expand Down
4 changes: 2 additions & 2 deletions luaexpat-scm-1.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ local package_version = "scm"
local rockspec_revision = "1"
local github_account_name = "lunarmodules"
local github_repo_name = package_name
local git_checkout = package_version == "scm" and "master" or package_version


package = package_name
version = package_version .. "-" .. rockspec_revision

source = {
url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git",
branch = git_checkout
branch = (package_version == "scm") and "master" or nil,
tag = (package_version ~= "scm") and package_version or nil,
}

description = {
Expand Down
51 changes: 51 additions & 0 deletions rockspecs/luaexpat-1.5.0-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
local package_name = "luaexpat"
local package_version = "1.5.0"
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" }
}
2 changes: 1 addition & 1 deletion src/lxplib.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

#define LuaExpatCopyright "Copyright (C) 2003-2007 The Kepler Project, 2013-2022 Matthew Wild"
#define LuaExpatVersion "LuaExpat 1.4.1"
#define LuaExpatVersion "LuaExpat 1.5.0"
#define ParserType "Expat"

#define StartCdataKey "StartCdataSection"
Expand Down

0 comments on commit d89d493

Please sign in to comment.