[Pkg-javascript-commits] [node-jquery] 01/04: use sizzle from system, remove external dir

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sun Dec 31 14:22:02 UTC 2017


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

praveen pushed a commit to branch master
in repository node-jquery.

commit 2bceef2e2b66a8df57bcde6d6d1b772c7f603043
Author: Pirate Praveen <praveen at debian.org>
Date:   Sun Dec 31 19:42:50 2017 +0530

    use sizzle from system, remove external dir
---
 debian/control   | 3 ++-
 debian/copyright | 2 +-
 debian/rules     | 5 ++++-
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index cb456b4..00eb633 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,8 @@ Build-Depends: debhelper (>= 10~),
  node-babel-core,
  node-grunt-contrib-uglify,
  node-load-grunt-tasks,
- node-requirejs
+ node-requirejs,
+ libjs-sizzle
 Standards-Version: 4.1.3
 Vcs-Git: https://anonscm.debian.org/git/collab-maint/node-jquery.git
 Vcs-Browser: https://anonscm.debian.org/git/collab-maint/node-jquery.git
diff --git a/debian/copyright b/debian/copyright
index 0760629..6d8eb44 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,7 +2,7 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: jquery
 Upstream-Contact: https://github.com/jquery/jquery/issues
 Source: http://github.com/jquery/jquery
-Files-Excluded: dist
+Files-Excluded: dist external
 
 Files: *
 Copyright: © 2011, John Resig
diff --git a/debian/rules b/debian/rules
index d4e0db1..de05637 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,10 @@
 	dh $@
 
 override_dh_auto_build:
+	mkdir -p external
+	mkdir -p external/sizzle/dist
+	ln -s /usr/share/javascript/sizzle/sizzle.js external/sizzle/dist
 	grunt build:*:* uglify remove_map_comment dist:*
 
 override_dh_auto_clean:
-	rm -rf dist
+	rm -rf dist external

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/node-jquery.git



More information about the Pkg-javascript-commits mailing list