[Python-modules-commits] r18470 - in packages/python-peak.util/trunk/debian (get-orig-source.mk)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Thu Sep 8 23:35:11 UTC 2011


    Date: Thursday, September 8, 2011 @ 23:35:10
  Author: eriol-guest
Revision: 18470

Removed because not used anymore

Deleted:
  packages/python-peak.util/trunk/debian/get-orig-source.mk

Deleted: packages/python-peak.util/trunk/debian/get-orig-source.mk
===================================================================
--- packages/python-peak.util/trunk/debian/get-orig-source.mk	2011-09-08 23:00:09 UTC (rev 18469)
+++ packages/python-peak.util/trunk/debian/get-orig-source.mk	2011-09-08 23:35:10 UTC (rev 18470)
@@ -1,36 +0,0 @@
-# debian/rules snippet for creating multi-upstream tarball relying on
-# several debian/*.watch files
-
-# Copyright © 2009 Stefano Zacchiroli <zack at debian.org>
-# License: GNU GPL version 3 or above
-# Created: Sat, 30 May 2009 11:58:16 +0200
-
-# TODO: does not yet fully implement policy wrt get-orig-source:
-#       - the target cannot be invoked from any dir (rely on "debian/")
-#       - tmpdir handling is not fully safe (e.g., no "mktemp -d")
-
-GOSTMP = $$PWD/get-orig-source.tmp
-VERSION = $(shell dpkg-parsechangelog | grep ^Version | cut -d" " -f2 | sed 's,-.*,,')
-ORIGNAME = $(PKG)-$(VERSION)
-ORIGTARBALL = $(PKG)_$(VERSION).orig.tar.gz
-
-get-orig-source: $(patsubst %,%/get-orig-source,$(UPSTREAMS))
-	cd $(GOSTMP) && \
-	mkdir $(ORIGNAME) && \
-	for p in $(UPSTREAMS) ; do \
-		mv `readlink $$p` $(ORIGNAME) ; \
-		mv $$p $(ORIGNAME) ; \
-	done && \
-	tar cvzf $(ORIGTARBALL) $(ORIGNAME) && \
-	mv $(ORIGTARBALL) ../ && \
-	cd .. && \
-	rm -rf $(GOSTMP)/
-$(GOSTMP):
-	-mkdir $@
-%/get-orig-source: $(GOSTMP)
-	uscan --watchfile debian/$*.watch $(USCAN_EXTRA_ARGS) \
-		--upstream-version 0 --package $* \
-		--download --destdir $(GOSTMP)/
-	cd $(GOSTMP) && \
-	tar xzf $**.orig.tar.gz && \
-	ln -s `tar tzf $**.orig.tar.gz | head -n1` $*




More information about the Python-modules-commits mailing list