[Python-modules-commits] r9171 - in packages/python-gasp/trunk/debian (rules)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Mon Jul 27 20:18:09 UTC 2009


    Date: Monday, July 27, 2009 @ 20:18:07
  Author: piotr
Revision: 9171

* use uscan's --repack
* remove unneeded variables

Modified:
  packages/python-gasp/trunk/debian/rules

Modified: packages/python-gasp/trunk/debian/rules
===================================================================
--- packages/python-gasp/trunk/debian/rules	2009-07-27 20:03:05 UTC (rev 9170)
+++ packages/python-gasp/trunk/debian/rules	2009-07-27 20:18:07 UTC (rev 9171)
@@ -7,18 +7,12 @@
 
 DEB_PYTHON_SETUP_CMD = gasp/setup.py
 
-
-PACKAGE = python-gasp
-BRANCH_LOC = lp:gasp-code
-SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
-SVN_REVISION := $(shell echo $(SRC_VERSION) | sed 's/.\..\..~bzr//' )
-TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz
 .PHONY: get-orig-source
 get-orig-source:
 	REV=$(shell dpkg-parsechangelog | sed -rne 's,^Version: .*bzr([^-]+).*,\1,p'); \
         VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p'); \
         if [ x$$REV = x ]; then \
-         uscan --force-download --rename --download-version=$$VER --destdir=.; \
+         uscan --force-download --rename --repack --download-version=$$VER --destdir=.; \
         else \
 	bzr  export -r $$REV lp:gasp-code  && \
          tar -zcf ./python-gasp_$$VER.orig.tar.gz gasp-code; \




More information about the Python-modules-commits mailing list