From cc8e4f671763d4474278e3aa37e3958b303b6dee Mon Sep 17 00:00:00 2001 From: "Vadim A. Misbakh-Soloviov" Date: Sun, 9 Jun 2019 20:09:49 +0300 Subject: [PATCH] Addint rockspec for 036 --- rockspecs/htmlparser-0.3.6-1.rockspec | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 rockspecs/htmlparser-0.3.6-1.rockspec diff --git a/rockspecs/htmlparser-0.3.6-1.rockspec b/rockspecs/htmlparser-0.3.6-1.rockspec new file mode 100644 index 0000000..adbf189 --- /dev/null +++ b/rockspecs/htmlparser-0.3.6-1.rockspec @@ -0,0 +1,26 @@ +package = "htmlparser" +version = "0.3.6-1" +source = { + url = "git+https://github.com/msva/lua-htmlparser", + tag = "v0.3.6" +} +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", +} +build = { + type = "builtin", + copy_directories = {"doc", "tst"}, + modules = { + htmlparser = "src/htmlparser.lua", + ["htmlparser.ElementNode"] = "src/htmlparser/ElementNode.lua", + ["htmlparser.voidelements"] = "src/htmlparser/voidelements.lua" + } +}