mirror of
https://github.com/msva/lua-htmlparser.git
synced 2024-11-27 12:44:22 +00:00
Merge pull request #36 from cyisfor/master
Adding Rosckspec with Lua 5.1 (luajit) compatability
This commit is contained in:
commit
bc23cd4f78
28
htmlparser-0.3.2-2.rockspec
Normal file
28
htmlparser-0.3.2-2.rockspec
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
package = "htmlparser"
|
||||||
|
version = "0.3.2-2"
|
||||||
|
source = {
|
||||||
|
url = "git://github.com/wscherphof/lua-htmlparser.git",
|
||||||
|
branch = "v0.3.2"
|
||||||
|
}
|
||||||
|
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://wscherphof.github.io/lua-htmlparser/",
|
||||||
|
license = "LGPL+"
|
||||||
|
}
|
||||||
|
dependencies = {
|
||||||
|
"lua >= 5.1",
|
||||||
|
"set >= 0.2.1-2",
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user