[Pkg-javascript-commits] [node-htmlparser2] 01/05: add node-domelementtype package as patch

Wolfgang Borgert debacle at moszumanska.debian.org
Mon Oct 6 21:08:55 UTC 2014


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to annotated tag debian/3.7.3-1
in repository node-htmlparser2.

commit 3b0c501c478b307dc7b53d5fd1fd9482a046e63f
Author: W. Martin Borgert <debacle at debian.org>
Date:   Sun Sep 21 23:36:17 2014 +0200

    add node-domelementtype package as patch
---
 debian/changelog                              |  5 +++
 debian/install                                |  1 +
 debian/patches/1000_node-domelementtype.patch | 60 +++++++++++++++++++++++++++
 debian/patches/series                         |  1 +
 4 files changed, 67 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index fa615f3..06e7321 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,10 @@
 node-htmlparser2 (3.7.3-1) unstable; urgency=low
 
   * Initial release (Closes: #761433)
+  * Direct dependencies node-dom{elementtype,handler,utils} packaged
+    with this package, because they don't have any other reverse
+    depends and are too small to justify Debian packages.
+    (Closes: #761437, #761438, #761439)
+    node-readable-stream is optional, no need to package.
 
  -- W. Martin Borgert <debacle at debian.org>  Sun, 21 Sep 2014 19:46:09 +0000
diff --git a/debian/install b/debian/install
index 20372e6..46e3f5d 100644
--- a/debian/install
+++ b/debian/install
@@ -1,2 +1,3 @@
 lib usr/lib/nodejs/htmlparser2
 package.json usr/lib/nodejs/htmlparser2
+domelementtype usr/lib/nodejs/htmlparser2
diff --git a/debian/patches/1000_node-domelementtype.patch b/debian/patches/1000_node-domelementtype.patch
new file mode 100644
index 0000000..fbd8822
--- /dev/null
+++ b/debian/patches/1000_node-domelementtype.patch
@@ -0,0 +1,60 @@
+Description: add node-domelementtype package as patch
+Author: Felix Boehm <me at feedic.com>
+Origin: https://github.com/fb55/domelementtype/
+Bug-Debian: https://bugs.debian.org/761437
+Last-Update: 2014-09-21
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- /dev/null
++++ b/domelementtype/LICENSE
+@@ -0,0 +1,11 @@
++Copyright (c) Felix Böhm
++All rights reserved.
++
++Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
++
++Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
++
++Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
++
++THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR  [...]
++EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+--- /dev/null
++++ b/domelementtype/index.js
+@@ -0,0 +1,14 @@
++//Types of elements found in the DOM
++module.exports = {
++	Text: "text", //Text
++	Directive: "directive", //<? ... ?>
++	Comment: "comment", //<!-- ... -->
++	Script: "script", //<script> tags
++	Style: "style", //<style> tags
++	Tag: "tag", //Any tag
++	CDATA: "cdata", //<![CDATA[ ... ]]>
++
++	isTag: function(elem){
++		return elem.type === "tag" || elem.type === "script" || elem.type === "style";
++	}
++};
+--- /dev/null
++++ b/domelementtype/package.json
+@@ -0,0 +1,15 @@
++{
++  "name": "domelementtype",
++  "version": "1.1.1",
++  "description": "all the types of nodes in htmlparser2's dom",
++  "main": "index.js",
++  "repository": {
++    "type": "git",
++    "url": "git://github.com/FB55/domelementtype.git"
++  },
++  "keywords": [
++    "dom",
++    "htmlparser2"
++  ],
++  "author": "Felix Boehm <me at feedic.com>"
++}
+--- /dev/null
++++ b/domelementtype/readme.md
+@@ -0,0 +1 @@
++all the types of nodes in htmlparser2's dom
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ad355a8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+1000_node-domelementtype.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-htmlparser2.git



More information about the Pkg-javascript-commits mailing list