[Pkg-javascript-commits] [node-zipfile] 07/09: Remove unneeded get-orig-source target (use uscan)

Jérémy Lal kapouer at moszumanska.debian.org
Sun Mar 16 22:39:20 UTC 2014


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

kapouer pushed a commit to branch master
in repository node-zipfile.

commit 91cf2897bc5d38739c10edc8b3044045f720e1e0
Author: Jérémy Lal <kapouer at melix.org>
Date:   Sun Mar 16 23:07:16 2014 +0100

    Remove unneeded get-orig-source target (use uscan)
---
 debian/rules | 28 ----------------------------
 1 file changed, 28 deletions(-)

diff --git a/debian/rules b/debian/rules
index 7bfea8e..17e9a20 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,13 +4,6 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-ifndef UPVER
-UPVER := $(shell dpkg-parsechangelog -SVersion | cut -d- -f1 | cut -d+ -f1)
-endif
-
-TARDIR := node-zipfile-$(UPVER)
-TARNAME := node-zipfile_$(UPVER)+ds1.orig.tar
-
 %:
 	dh $@
 
@@ -39,25 +32,4 @@ override_dh_strip:
 		--remove-section=.comment \
 		--remove-section=.note \
 		--strip-unneeded \
-
-get-orig-source:
-	mkdir -p ../tarballs
-	uscan \
-		--verbose \
-		--download-version $(UPVER) \
-		--force-download \
-		--destdir ../tarballs \
-		--rename
-	tar xvf ../tarballs/node-zipfile_$(UPVER).orig.tar.gz
-	@echo Repackaging
-	rm -rf $(TARDIR)/deps/libzip*
-	rm -rf $(TARDIR)/deps/zlib
-	rm -rf $(TARDIR)/deps/*-include
-	rm -rf $(TARDIR)/deps/*.py
-	rm $(TARDIR)/test/data/world_merc.zip
-	tar cf $(TARNAME) $(TARDIR)/
-	rm -rf $(TARDIR)/
-	gzip -9 $(TARNAME)
-	mv $(TARNAME).gz ../tarballs/
-
 		$(CURDIR)/debian/node-zipfile/usr/lib/nodejs/zipfile.node

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



More information about the Pkg-javascript-commits mailing list