[Python-apps-commits] r7527 - in packages/pyflakes/trunk/debian (changelog rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Sun Sep 11 17:29:27 UTC 2011


    Date: Sunday, September 11, 2011 @ 17:29:26
  Author: morph
Revision: 7527

* debian/rules
  - removed 'get-orig-source', no more needed

Modified:
  packages/pyflakes/trunk/debian/changelog
  packages/pyflakes/trunk/debian/rules

Modified: packages/pyflakes/trunk/debian/changelog
===================================================================
--- packages/pyflakes/trunk/debian/changelog	2011-09-11 17:10:33 UTC (rev 7526)
+++ packages/pyflakes/trunk/debian/changelog	2011-09-11 17:29:26 UTC (rev 7527)
@@ -11,8 +11,10 @@
     - extended upstream and packaging copyright information
   * debian/control
     - update Homepage field
+  * debian/rules
+    - removed 'get-orig-source', no more needed
 
- -- Sandro Tosi <morph at debian.org>  Sun, 11 Sep 2011 19:09:38 +0200
+ -- Sandro Tosi <morph at debian.org>  Sun, 11 Sep 2011 19:28:15 +0200
 
 pyflakes (0.4.0-1) unstable; urgency=low
 

Modified: packages/pyflakes/trunk/debian/rules
===================================================================
--- packages/pyflakes/trunk/debian/rules	2011-09-11 17:10:33 UTC (rev 7526)
+++ packages/pyflakes/trunk/debian/rules	2011-09-11 17:29:26 UTC (rev 7527)
@@ -3,17 +3,3 @@
 # Build instructions
 %:
 	dh --with quilt $@
-
-PACKAGE = pyflakes
-SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
-SVN_REVISION := $(shell echo $(SRC_VERSION) | awk -F"+" '{ print $$2 }' | sed 's/svn//' )
-TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz
-.PHONY: get-orig-source
-get-orig-source:
-	rm -rf get-orig-source $(TARBALL)
-	mkdir get-orig-source
-	svn export -r $(SVN_REVISION) http://divmod.org/svn/Divmod/trunk/Pyflakes/ \
-	get-orig-source/$(PACKAGE)-$(SRC_VERSION).orig
-	GZIP=--best tar czf $(TARBALL) -C get-orig-source $(PACKAGE)-$(SRC_VERSION).orig
-	rm -rf get-orig-source
-	#  $(TARBALL) created; move it to the right destination to build the package




More information about the Python-apps-commits mailing list