[Python-modules-commits] r28608 - in packages/python-psutil/trunk/debian (changelog rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Sun Apr 20 20:43:06 UTC 2014


    Date: Sunday, April 20, 2014 @ 20:43:05
  Author: morph
Revision: 28608

* debian/rules
  - remove obsolete get-orig-source target

Modified:
  packages/python-psutil/trunk/debian/changelog
  packages/python-psutil/trunk/debian/rules

Modified: packages/python-psutil/trunk/debian/changelog
===================================================================
--- packages/python-psutil/trunk/debian/changelog	2014-04-20 20:30:01 UTC (rev 28607)
+++ packages/python-psutil/trunk/debian/changelog	2014-04-20 20:43:05 UTC (rev 28608)
@@ -1,8 +1,10 @@
 python-psutil (2.1.0-1) UNRELEASED; urgency=medium
 
   * New upstream release; thanks to Barry Warsaw for the report; Closes: #741291
+  * debian/rules
+    - remove obsolete get-orig-source target
 
- -- Sandro Tosi <morph at debian.org>  Sun, 20 Apr 2014 22:03:10 +0200
+ -- Sandro Tosi <morph at debian.org>  Sun, 20 Apr 2014 22:42:49 +0200
 
 python-psutil (1.2.1-1) unstable; urgency=low
 

Modified: packages/python-psutil/trunk/debian/rules
===================================================================
--- packages/python-psutil/trunk/debian/rules	2014-04-20 20:30:01 UTC (rev 28607)
+++ packages/python-psutil/trunk/debian/rules	2014-04-20 20:43:05 UTC (rev 28608)
@@ -46,17 +46,3 @@
 
 override_dh_compress:
 	dh_compress -X.py
-
-PACKAGE = python-psutil
-SRC_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | sed 's/^Version: \(.*\)-.*/\1/')
-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://psutil.googlecode.com/svn/trunk get-orig-source/$(PACKAGE)-$(SRC_VERSION)
-	tar czf $(TARBALL) -C get-orig-source $(PACKAGE)-$(SRC_VERSION)
-	rm -rf get-orig-source
-	echo "  "$(TARBALL)" created; move it to the right destination to build the package"




More information about the Python-modules-commits mailing list