[Pkg-javascript-commits] [ltx] 464/469: Update package relations: Suggest (not depend on) node-sax. Build-depend on and suggest (not depend on) node-node-expat. Stop suggest XML parser libraries not in Debian. Mention suggested packages in long description.

Jonas Smedegaard dr at jones.dk
Wed Aug 31 13:03:40 UTC 2016


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

js pushed a commit to branch master
in repository ltx.

commit 9e5f9c63ae751afcdda48f70e99627e1da86f022
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Wed Aug 31 13:48:03 2016 +0200

    Update package relations: Suggest (not depend on) node-sax. Build-depend on and suggest (not depend on) node-node-expat. Stop suggest XML parser libraries not in Debian. Mention suggested packages in long description.
---
 debian/control.in |  3 +++
 debian/rules      | 12 ++++++------
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/debian/control.in b/debian/control.in
index 8a385ad..e3acdd7 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -19,3 +19,6 @@ Description: XML DOM builder library for Node
  Node is an event-based server-side JavaScript engine.
  .
  Less-Than XML (ltx) is an XML DOM builder library for Node.
+ .
+ Parsing with support for advanced XML features (but slower) requires
+ either of the packages node-sax node-node-expat.
diff --git a/debian/rules b/debian/rules
index 83b1889..fa165af 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,15 +24,15 @@ pkg = node-ltx
 # Needed by upstream testsuite
 bdeps-test = node-vows
 
-# Needed by upstream build and (always) at runtime
-deps = node-node-expat
+# Needed by upstream build and (seldom) at runtime
+deps-suggest = node-sax, node-node-expat
 
 # Needed (always) at runtime
-depends = node-sax, nodejs
+depends = nodejs
 
-CDBS_BUILD_DEPENDS +=, $(bdeps-test), $(deps)
-CDBS_DEPENDS_$(pkg) = $(deps), $(depends)
-CDBS_SUGGESTS_$(pkg) = node-easysax, node-xml
+CDBS_BUILD_DEPENDS +=, $(bdeps-test), $(deps-suggest)
+CDBS_DEPENDS_$(pkg) = $(depends)
+CDBS_SUGGESTS_$(pkg) = $(deps-suggest)
 CDBS_ENHANCES_$(pkg) = browserify
 
 # TODO: Simply do "vows --spec" when upstream issue#6 is solved

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



More information about the Pkg-javascript-commits mailing list