[Pkg-javascript-commits] [jqueryui] 01/14: Update d/watch and use Files-excluded in d/copyright i.s.o. get-orig-source target

Paul Mathijs Gevers elbrus at moszumanska.debian.org
Sun Oct 30 18:45:05 UTC 2016


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

elbrus pushed a commit to branch master
in repository jqueryui.

commit 0ed7cd80fcef9581406f26160bef89ab10610600
Author: Paul Gevers <elbrus at debian.org>
Date:   Sun Oct 16 16:40:43 2016 +0200

    Update d/watch and use Files-excluded in d/copyright i.s.o. get-orig-source target
---
 debian/copyright |  3 +++
 debian/rules     | 31 -------------------------------
 debian/watch     |  7 ++++---
 3 files changed, 7 insertions(+), 34 deletions(-)

diff --git a/debian/copyright b/debian/copyright
index 25d7a9b..a853bb5 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,9 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: jQueryUI
 Source: http://jqueryui.com/
+Comment: Source for embedded jquery is missing, so stripping that.
+Files-excluded:
+ external
 
 Files: *
 Homepage: http://jqueryui.com/
diff --git a/debian/rules b/debian/rules
index f74f016..75ddde2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,34 +32,3 @@ override_dh_auto_clean:
 		rm -f $$file; \
 	done
 	dh_auto_clean
-
-get-orig-source:
-	OUTDIR=$$PWD ; \
-	MAKEFILE=`echo $(MAKEFILE_LIST) | awk '{ print $$1 }'` ; \
-	FILE=`readlink -f $$MAKEFILE` ; \
-	DIR=`dirname $$FILE` ; \
-	cd $$DIR/.. ; \
-	TMP=`mktemp -d` ; \
-	if ! USCAN=`uscan --destdir $$TMP` ; then exit 1 ; fi ; \
-	VERSION=`echo $$USCAN | sed -n 's/.*Newer version (\(.*\)) available.*/\1/p'` ; \
-	cd $$TMP ; \
-	mkdir jqueryui-$$VERSION; \
-	unzip -o -q jquery-ui-$$VERSION.custom.zip -d jqueryui-$$VERSION; \
-	cd jqueryui-$$VERSION ; \
-	mv jquery-ui-$$VERSION.custom/* . ; \
-	rm -rf jquery-ui-$$VERSION.custom ; \
-	rm -rf js ; \
-	rm -f css/smoothness/*.min.css ; \
-	rm -f development-bundle/jquery-*.js ; \
-	rm -f development-bundle/grunt.js ; \
-	rm -rf development-bundle/external ; \
-	rm -rf development-bundle/ui/minified/ ; \
-	rm -rf development-bundle/themes/base/minified/ ; \
-	rm -rf development-bundle/themes/smoothness/minified/ ; \
-	cd .. ; \
-	tar c jqueryui-$$VERSION | gzip -9 > jqueryui_$$VERSION+dfsg.orig.tar.gz ; \
-	rm -rf jqueryui-$$VERSION ; \
-	mv jqueryui_$$VERSION+dfsg.orig.tar.gz $$OUTDIR ; \
-	cd $$OUTDIR ; \
-	rm -rf $$TMP ; \
-	echo Saved file at jqueryui_$$VERSION+dfsg.orig.tar.gz
diff --git a/debian/watch b/debian/watch
index aaad903..e4f3e3d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,5 @@
 version=3
-opts="dversionmangle=s/(.*).ooops.(.*)\+dfsg(.?\d+)?$/$1.$2/" \
-  http://jqueryui.com/ \
-  .*download/jquery-ui-(.*).custom.zip
+opts="dversionmangle=s/\+dfsg(.?\d+)?$//, \
+ filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/jqueryui-$1\.tar\.gz/, \
+ repacksuffix=+dfsg" \
+ https://github.com/jquery/jquery-ui/releases .*/v?(\d\S*)\.tar\.gz

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



More information about the Pkg-javascript-commits mailing list