[Pkg-javascript-commits] [node-async] 04/26: Update package relations: Stop fallback-build-depend on yui-compressor: Unneeded since squeeze.

Jonas Smedegaard dr at jones.dk
Sun Jan 7 17:19:54 UTC 2018


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

js pushed a commit to annotated tag debian/0.8.0-2
in repository node-async.

commit f59b8c9b5580d593d6a6d1705401dffc87f0311b
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Thu Nov 23 14:20:51 2017 +0100

    Update package relations: Stop fallback-build-depend on yui-compressor: Unneeded since squeeze.
---
 debian/control | 2 +-
 debian/rules   | 7 ++-----
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index 8f79d17..8473cea 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Build-Depends: cdbs,
  devscripts,
  debhelper,
  dh-buildinfo,
- node-uglify | yui-compressor
+ node-uglify,
 Standards-Version: 3.9.5
 Homepage: https://github.com/caolan/async
 Vcs-Git: git://git.debian.org/git/pkg-javascript/node-async
diff --git a/debian/rules b/debian/rules
index 1c16b70..04ce50a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,10 +26,7 @@ nodepkgname = node-$(libname)
 
 DEB_INSTALL_DOCS_ALL += README.md
 
-# Ease backporting (node-uglify is tough to backport)
-# TODO: drop fallback-dependency after Squeeze
-CDBS_BUILD_DEPENDS += , node-uglify | yui-compressor
-js-compressor := $(or $(notdir $(shell which uglifyjs)),yui-compressor)
+CDBS_BUILD_DEPENDS += , node-uglify
 
 # TODO: generalize (at least non-node) parts below as a CDBS snippet
 
@@ -49,7 +46,7 @@ DEB_DH_INSTALL_ARGS_$(nodepkgname) = \
 
 build/$(libpkgname):: $(js-min)
 $(js-min): debian/%.min.js: $(js-basedir)%.js
-	$(js-compressor) -o $@ $<
+	uglifyjs -o $@ $<
 clean::
 	rm -f debian/*.js
 

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



More information about the Pkg-javascript-commits mailing list