This commit is contained in:
Vadim A. Misbakh-Soloviov 2017-07-22 23:11:44 +07:00
parent 6f4c5a1145
commit b033a1a618
No known key found for this signature in database
GPG Key ID: 26503D349B3B334B

View File

@ -0,0 +1,27 @@
package = "htmlparser"
version = "0.3.4-1"
source = {
url = "https://github.com/msva/lua-htmlparser",
tag = "v0.3.4"
}
description = {
summary = "Parse HTML text into a tree of elements with selectors",
detailed = [[
Call parse() to build up a tree of element nodes. Each node in the tree, including the root node that is returned by parse(), supports a basic set of jQuery-like selectors. Or you could walk the tree by hand.
]],
homepage = "http://msva.github.io/lua-htmlparser/",
license = "LGPL+"
}
dependencies = {
"lua >= 5.1",
"lunitx >= 0.6"
}
build = {
type = "builtin",
copy_directories = {"doc", "tst"},
modules = {
htmlparser = "src/htmlparser.lua",
["htmlparser.ElementNode"] = "src/htmlparser/ElementNode.lua",
["htmlparser.voidelements"] = "src/htmlparser/voidelements.lua"
}
}