[Python-apps-commits] r1840 - in packages/pyflakes/trunk/debian (7 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Sat Sep 20 22:47:20 UTC 2008


    Date: Saturday, September 20, 2008 @ 22:47:10
  Author: morph
Revision: 1840

  - bump Standards-Version to 3.8.0
    + added debian/README.source
* debian/rules
  - added get-orig-source
* debian/copyright
  - updated copyright information

Added:
  packages/pyflakes/trunk/debian/README.source
Modified:
  packages/pyflakes/trunk/debian/changelog
  packages/pyflakes/trunk/debian/control
  packages/pyflakes/trunk/debian/copyright
  packages/pyflakes/trunk/debian/patches/series
  packages/pyflakes/trunk/debian/rules
Deleted:
  packages/pyflakes/trunk/debian/watch

Added: packages/pyflakes/trunk/debian/README.source
===================================================================
--- packages/pyflakes/trunk/debian/README.source	                        (rev 0)
+++ packages/pyflakes/trunk/debian/README.source	2008-09-20 22:47:10 UTC (rev 1840)
@@ -0,0 +1,9 @@
+This package uses quilt as patch system, you can find some information
+about it at:
+
+    /usr/share/doc/quilt/README.source
+
+This release is based on an upstream SVN snapshot; in order to retrieve the
+original tarball used, you have to run:
+
+    ./debian/rules get-orig-source

Modified: packages/pyflakes/trunk/debian/changelog
===================================================================
--- packages/pyflakes/trunk/debian/changelog	2008-09-20 19:09:49 UTC (rev 1839)
+++ packages/pyflakes/trunk/debian/changelog	2008-09-20 22:47:10 UTC (rev 1840)
@@ -5,10 +5,14 @@
   * Remove unneeded dependency on python-dev.
 
   [ Sandro Tosi ]
-  * debian/watch
-    - added
   * debian/control
     - changed my email address
+    - bump Standards-Version to 3.8.0
+      + added debian/README.source
+  * debian/rules
+    - added get-orig-source
+  * debian/copyright
+    - updated copyright information
 
   [ Hervé Cauwelier ]
   * Update to a recent SVN checkout; Closes: #499123
@@ -16,7 +20,7 @@
   * Refresh patches
   * Fixed installation with debian/patches/install_scripts_package.diff
 
- -- Sandro Tosi <morph at debian.org>  Sat, 20 Sep 2008 21:08:57 +0200
+ -- Sandro Tosi <morph at debian.org>  Sun, 21 Sep 2008 00:17:47 +0200
 
 pyflakes (0.2.1+svn14502-2) unstable; urgency=low
 

Modified: packages/pyflakes/trunk/debian/control
===================================================================
--- packages/pyflakes/trunk/debian/control	2008-09-20 19:09:49 UTC (rev 1839)
+++ packages/pyflakes/trunk/debian/control	2008-09-20 22:47:10 UTC (rev 1840)
@@ -5,7 +5,7 @@
 Uploaders: Tristan Seligmann <mithrandi at mithrandi.net>, Varun Hiremath <varun at debian.org>, Sandro Tosi <morph at debian.org>
 Build-Depends: debhelper (>= 5.0.37.2), cdbs (>= 0.4.43), python-central (>= 0.6), python, quilt
 XS-Python-Version: current
-Standards-Version: 3.7.3
+Standards-Version: 3.8.0
 Homepage: http://divmod.org/trac/wiki/DivmodPyflakes
 Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/pyflakes/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/python-apps/packages/pyflakes/trunk/?op=log

Modified: packages/pyflakes/trunk/debian/copyright
===================================================================
--- packages/pyflakes/trunk/debian/copyright	2008-09-20 19:09:49 UTC (rev 1839)
+++ packages/pyflakes/trunk/debian/copyright	2008-09-20 22:47:10 UTC (rev 1840)
@@ -4,8 +4,7 @@
 Copyright: © 2005 - 2006, Andrew Mitchell <ajmitch at ubuntu.com>
 
 Files: *
-Copyright: © 2004 - 2005 Phil Frost
-	   © 2005, Moe Aboulkheir <moe at divmod.com>
+Copyright: Copyright (c) 2005-2008 Divmod, Inc
 License: MIT
  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files (the

Modified: packages/pyflakes/trunk/debian/patches/series
===================================================================
--- packages/pyflakes/trunk/debian/patches/series	2008-09-20 19:09:49 UTC (rev 1839)
+++ packages/pyflakes/trunk/debian/patches/series	2008-09-20 22:47:10 UTC (rev 1840)
@@ -2,5 +2,4 @@
 always_close_fd.diff
 set_exit_status.diff
 check_encoding_errors.diff
-pyflakes_unicode.diff
 install_scripts_package.diff

Modified: packages/pyflakes/trunk/debian/rules
===================================================================
--- packages/pyflakes/trunk/debian/rules	2008-09-20 19:09:49 UTC (rev 1839)
+++ packages/pyflakes/trunk/debian/rules	2008-09-20 22:47:10 UTC (rev 1840)
@@ -12,3 +12,18 @@
 
 clean::
 	find . -name \*pyc -exec rm '{}' \;
+
+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
+

Deleted: packages/pyflakes/trunk/debian/watch
===================================================================
--- packages/pyflakes/trunk/debian/watch	2008-09-20 19:09:49 UTC (rev 1839)
+++ packages/pyflakes/trunk/debian/watch	2008-09-20 22:47:10 UTC (rev 1840)
@@ -1,2 +0,0 @@
-version=3
-http://divmod.org/static/projects/pyflakes/pyflakes-(.*)\.tar\.gz




More information about the Python-apps-commits mailing list