[Python-modules-commits] r15957 - in packages/graphy/trunk/debian (9 files)

nomadium-guest at users.alioth.debian.org nomadium-guest at users.alioth.debian.org
Wed Mar 2 15:39:30 UTC 2011


    Date: Wednesday, March 2, 2011 @ 15:39:26
  Author: nomadium-guest
Revision: 15957

* Update minimal version for Build-Depends on python to (>= 2.6.6-3~).
* Make copyright file DEP5 compliant.
* Add get-orig-source target.
* Fix the order of parameters in dh invocation.

Added:
  packages/graphy/trunk/debian/orig-tar.excludes
  packages/graphy/trunk/debian/orig-tar.sh
  packages/graphy/trunk/debian/python-graphy.examples
Modified:
  packages/graphy/trunk/debian/changelog
  packages/graphy/trunk/debian/control
  packages/graphy/trunk/debian/copyright
  packages/graphy/trunk/debian/python-graphy.docs
  packages/graphy/trunk/debian/rules
  packages/graphy/trunk/debian/watch

Modified: packages/graphy/trunk/debian/changelog
===================================================================
--- packages/graphy/trunk/debian/changelog	2011-03-02 14:01:00 UTC (rev 15956)
+++ packages/graphy/trunk/debian/changelog	2011-03-02 15:39:26 UTC (rev 15957)
@@ -7,11 +7,13 @@
   * Remove unneeded Provides: ${python:Provides}.
   * Replace dh_pysupport with dh_python2.
   * Fix version for Build-Depends on debhelper.
+  * Update minimal version for Build-Depends on python to (>= 2.6.6-3~).
   * Switched source package format to 3.0 (quilt).
   * Remove deprecated XS-Python-Version and XB-Python-Version fields.
-  * Update copyright dates.
+  * Modify copyright file to make it DEP5 compliant and update dates.
+  * Add get-orig-source target for convenience.
 
- -- Miguel Landaeta <miguel at miguel.cc>  Mon, 21 Feb 2011 22:00:26 -0430
+ -- Miguel Landaeta <miguel at miguel.cc>  Tue, 01 Mar 2011 20:50:24 -0430
 
 graphy (1.0+dfsg-1) unstable; urgency=low
 

Modified: packages/graphy/trunk/debian/control
===================================================================
--- packages/graphy/trunk/debian/control	2011-03-02 14:01:00 UTC (rev 15956)
+++ packages/graphy/trunk/debian/control	2011-03-02 15:39:26 UTC (rev 15957)
@@ -3,7 +3,7 @@
 Uploaders: Miguel Landaeta <miguel at miguel.cc>
 Section: python
 Priority: optional
-Build-Depends: debhelper (>= 7.0.50~), python (>= 2.6.6-3)
+Build-Depends: debhelper (>= 7.0.50~), python (>= 2.6.6-3~)
 Standards-Version: 3.9.1
 X-Python-Version: >= 2.4
 Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/graphy/trunk
@@ -12,7 +12,7 @@
 
 Package: python-graphy
 Architecture: all
-Depends: python (>= 2.6.6-3), ${python:Depends}, ${misc:Depends}
+Depends: ${python:Depends}, ${misc:Depends}
 Breaks: ${python:Breaks}
 Description: chart generation library for Python
  Graphy is a simple Python library for generating charts. It tries to get out

Modified: packages/graphy/trunk/debian/copyright
===================================================================
--- packages/graphy/trunk/debian/copyright	2011-03-02 14:01:00 UTC (rev 15956)
+++ packages/graphy/trunk/debian/copyright	2011-03-02 15:39:26 UTC (rev 15957)
@@ -1,8 +1,10 @@
-The sources where downloaded as http://graphy.googlecode.com/files/graphy_1.0.tar.bz2 .
+Format: http://dep.debian.net/deps/dep5/
+Upstream-Name: Graphy
+Upstream-Contact: Mark Ivey <zovirl at zovirl.com>
+Source: http://code.google.com/p/graphy/
 
 Files: *
-Copyright: © 2008 Google Inc.
-Authors: From IDs in changelog: Mark Ivey <zovirl at zovirl.com>, anonymous: bugmaster
+Copyright: © 2008, Google Inc.
 License: Apache-2.0
  The full text of the Apache 2.0 license is distributed as LICENSE in graphy's
  source, and is distributed in /usr/share/common-licenses/Apache-2.0 on Debian
@@ -10,6 +12,6 @@
 
 Files: debian/*
 Copyright: © 2010-2011, Miguel Landaeta <miguel at miguel.cc>
-License: GPL-2+
- The full text of the GPL is distributed in /usr/share/common-licenses/GPL-2
- on Debian systems.
+License: GPL-2
+ The full text of the GNU General Public License version 2
+ is distributed in /usr/share/common-licenses/GPL-2 on Debian systems.

Added: packages/graphy/trunk/debian/orig-tar.excludes
===================================================================
--- packages/graphy/trunk/debian/orig-tar.excludes	                        (rev 0)
+++ packages/graphy/trunk/debian/orig-tar.excludes	2011-03-02 15:39:26 UTC (rev 15957)
@@ -0,0 +1,2 @@
+.svn
+*.pyc

Added: packages/graphy/trunk/debian/orig-tar.sh
===================================================================
--- packages/graphy/trunk/debian/orig-tar.sh	                        (rev 0)
+++ packages/graphy/trunk/debian/orig-tar.sh	2011-03-02 15:39:26 UTC (rev 15957)
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+DIR=graphy-$2
+TAR=graphy_$2.orig.tar.gz
+
+# Repack upstream source to tar.gz and clean it
+tar jxf $3
+mv graphy_$2 $DIR
+GZIP=--best tar czf $TAR -X debian/orig-tar.excludes $DIR
+rm -rf $DIR $3


Property changes on: packages/graphy/trunk/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
   + *

Modified: packages/graphy/trunk/debian/python-graphy.docs
===================================================================
--- packages/graphy/trunk/debian/python-graphy.docs	2011-03-02 14:01:00 UTC (rev 15956)
+++ packages/graphy/trunk/debian/python-graphy.docs	2011-03-02 15:39:26 UTC (rev 15957)
@@ -1,4 +1,2 @@
 README
-debian/copyright
 debian/README.Debian-source
-examples

Added: packages/graphy/trunk/debian/python-graphy.examples
===================================================================
--- packages/graphy/trunk/debian/python-graphy.examples	                        (rev 0)
+++ packages/graphy/trunk/debian/python-graphy.examples	2011-03-02 15:39:26 UTC (rev 15957)
@@ -0,0 +1 @@
+examples/*

Modified: packages/graphy/trunk/debian/rules
===================================================================
--- packages/graphy/trunk/debian/rules	2011-03-02 14:01:00 UTC (rev 15956)
+++ packages/graphy/trunk/debian/rules	2011-03-02 15:39:26 UTC (rev 15957)
@@ -1,12 +1,19 @@
 #!/usr/bin/make -f
 %:
-	dh --with python2 $@
+	dh $@ --with python2
 
 override_dh_install:
-	for python in $(shell pyversions -s); do \
+	set -e; for python in $(shell pyversions -r); do \
 		case $$python in \
-			python2.4|python2.5) dh_install graphy usr/lib/$$python/site-packages ;; \
-			python2.6|python2.7) dh_install graphy usr/lib/$$python/dist-packages ;; \
-			*)                   echo "$$python is not supported" ; exit 1 ;; \
+			python2.4|python2.5) \
+				dh_install graphy usr/lib/$$python/site-packages ;; \
+			python2.6|python2.7) \
+				dh_install graphy usr/lib/$$python/dist-packages ;; \
+			*) \
+				echo "$$python is not supported" ; exit 1 ;; \
 		esac \
 	done
+
+get-orig-source:
+	cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
+	uscan --rename --force-download --watchfile debian/watch --destdir $(CURDIR)

Modified: packages/graphy/trunk/debian/watch
===================================================================
--- packages/graphy/trunk/debian/watch	2011-03-02 14:01:00 UTC (rev 15956)
+++ packages/graphy/trunk/debian/watch	2011-03-02 15:39:26 UTC (rev 15957)
@@ -1,4 +1,5 @@
 version=3
 opts=dversionmangle=s/\+dfsg$// \
 http://code.google.com/p/graphy/downloads/list \
-http://graphy.googlecode.com/files/graphy_(.+)\.tar\.bz2
+http://graphy.googlecode.com/files/graphy_(.+)\.tar\.bz2 \
+debian debian/orig-tar.sh




More information about the Python-modules-commits mailing list