[Pkg-javascript-commits] [node-sqlite3] 07/07: Move to Files-Excluded

Jérémy Lal kapouer at moszumanska.debian.org
Tue Dec 20 14:50:54 UTC 2016


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

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

commit 5bb2c8bb3a4e1e3552f9b161b96a6c882ab2a102
Author: Jérémy Lal <kapouer at melix.org>
Date:   Tue Dec 20 15:47:01 2016 +0100

    Move to Files-Excluded
---
 debian/copyright |  1 +
 debian/rules     | 25 -------------------------
 debian/watch     |  2 +-
 3 files changed, 2 insertions(+), 26 deletions(-)

diff --git a/debian/copyright b/debian/copyright
index 154b782..9d4c60b 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,4 +1,5 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Files-Excluded: deps/sqlite-*.tar.gz
 
 Files: *
 Copyright: © 2011, Konstantin Käfer <kkaefer at gmail.com>
diff --git a/debian/rules b/debian/rules
index c27514d..33b6593 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,15 +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
-
-DSVER := $(shell dpkg-parsechangelog -SVersion | cut -d- -f1 | cut -d+ -f2)
-
-TARDIR := node-sqlite3-$(UPVER)
-TARNAME := node-sqlite3_$(UPVER)+$(DSVER).orig.tar
-
 PKGDIR=$(CURDIR)/debian/node-sqlite3/
 
 override_dh_auto_configure:
@@ -31,21 +22,5 @@ override_dh_fixperms:
 %:
 	dh $@ --with nodejs
 
-get-orig-source:
-	mkdir -p ../tarballs
-	uscan \
-		--verbose \
-		--download-version $(UPVER) \
-		--force-download \
-		--destdir ../tarballs \
-		--rename
-	tar xvf ../tarballs/node-sqlite3_$(UPVER).orig.tar.gz
-	@echo Repackaging
-	rm -rf $(TARDIR)/deps/sqlite-*.tar.gz
-	tar cf $(TARNAME) $(TARDIR)/
-	rm -rf $(TARDIR)/
-	gzip -9 $(TARNAME)
-	mv $(TARNAME).gz ../tarballs/
-
 .PHONY: override_dh_auto_configure override_dh_auto_build \
 	override_dh_fixperms override_dh_auto_test
diff --git a/debian/watch b/debian/watch
index ea3809a..5c95935 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=3
-opts=filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-sqlite3-$1.tar.gz/,dversionmangle=s/\+ds[\d]*$// \
+opts=filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-sqlite3-$1.tar.gz/,dversionmangle=s/\+ds[\d]*$//,repacksuffix=+ds \
 https://github.com/mapbox/node-sqlite3/tags .*/archive/v?([\d\.]+).tar.gz

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



More information about the Pkg-javascript-commits mailing list