[Python-modules-commits] r15996 - in packages/graphy/trunk/debian (4 files)

nomadium-guest at users.alioth.debian.org nomadium-guest at users.alioth.debian.org
Fri Mar 4 20:30:37 UTC 2011


    Date: Friday, March 4, 2011 @ 20:30:18
  Author: nomadium-guest
Revision: 15996

* Remove non-standard README.Debian-source file.
* Enable unit tests.
* Add an override for dh_auto_clean target.

Modified:
  packages/graphy/trunk/debian/copyright
  packages/graphy/trunk/debian/python-graphy.docs
  packages/graphy/trunk/debian/rules
Deleted:
  packages/graphy/trunk/debian/README.Debian-source

Deleted: packages/graphy/trunk/debian/README.Debian-source
===================================================================
--- packages/graphy/trunk/debian/README.Debian-source	2011-03-04 20:28:47 UTC (rev 15995)
+++ packages/graphy/trunk/debian/README.Debian-source	2011-03-04 20:30:18 UTC (rev 15996)
@@ -1,10 +0,0 @@
-
-
-The upstream tarball has been modified as follows, to comply with DFSG:
-
-  * All .svn directories has been removed since they are useless during the
-    build of a package.
-  * All .pyc files has been removed to comply with DFSG. Those files must be
-    regenerated when the package is installed.
-
- -- Miguel Landaeta <miguel at miguel.cc>  Tue, 05 Jan 2010 19:08:26 -0430

Modified: packages/graphy/trunk/debian/copyright
===================================================================
--- packages/graphy/trunk/debian/copyright	2011-03-04 20:28:47 UTC (rev 15995)
+++ packages/graphy/trunk/debian/copyright	2011-03-04 20:30:18 UTC (rev 15996)
@@ -2,6 +2,12 @@
 Upstream-Name: Graphy
 Upstream-Contact: Mark Ivey <zovirl at zovirl.com>
 Source: http://code.google.com/p/graphy/
+Comment:
+ The upstream tarball has been modified as follows, to comply with DFSG:
+  * All .svn directories has been removed since they are useless during the
+    build of a package.
+  * All .pyc files has been removed to comply with DFSG. Those files must be
+    regenerated when the package is installed.
 
 Files: *
 Copyright: © 2008, Google Inc.
@@ -15,10 +21,3 @@
  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
  systems.
-
-Comment:
- The upstream tarball has been modified as follows, to comply with DFSG:
-  * All .svn directories has been removed since they are useless during the
-    build of a package.
-  * All .pyc files has been removed to comply with DFSG. Those files must be
-    regenerated when the package is installed.

Modified: packages/graphy/trunk/debian/python-graphy.docs
===================================================================
--- packages/graphy/trunk/debian/python-graphy.docs	2011-03-04 20:28:47 UTC (rev 15995)
+++ packages/graphy/trunk/debian/python-graphy.docs	2011-03-04 20:30:18 UTC (rev 15996)
@@ -1,2 +1 @@
 README
-debian/README.Debian-source

Modified: packages/graphy/trunk/debian/rules
===================================================================
--- packages/graphy/trunk/debian/rules	2011-03-04 20:28:47 UTC (rev 15995)
+++ packages/graphy/trunk/debian/rules	2011-03-04 20:30:18 UTC (rev 15996)
@@ -14,6 +14,17 @@
 		esac \
 	done
 
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	for python in $(shell pyversions -r); do \
+		$$python graphy/all_tests.py ; \
+	done
+endif
+
+override_dh_auto_clean:
+	dh_auto_clean
+	find graphy -type f -name '*.pyc' -delete
+
 get-orig-source:
 	cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
 	uscan --rename --force-download --watchfile debian/watch --destdir $(CURDIR)




More information about the Python-modules-commits mailing list