[Python-modules-commits] r5537 - in packages/pycurl/trunk/debian (changelog rules)

morph-guest at users.alioth.debian.org morph-guest at users.alioth.debian.org
Sat May 31 21:58:33 UTC 2008


    Date: Saturday, May 31, 2008 @ 21:58:32
  Author: morph-guest
Revision: 5537

running some tests at build-time

Modified:
  packages/pycurl/trunk/debian/changelog
  packages/pycurl/trunk/debian/rules

Modified: packages/pycurl/trunk/debian/changelog
===================================================================
--- packages/pycurl/trunk/debian/changelog	2008-05-31 21:03:09 UTC (rev 5536)
+++ packages/pycurl/trunk/debian/changelog	2008-05-31 21:58:32 UTC (rev 5537)
@@ -4,7 +4,7 @@
   * New upstream release.
   * debian/control
     - set the team as Maintainer
-    - added Bernd Zeimetz and me in Uploaders
+    - added Bernd Zeimetz and me in Uploaders, removing Matthias Klose
     - bumped Build-Dep on libcurl4-gnutls-dev to (>= 7.18.1)
     - added dpatch Build-Dep
     - bumped Standards-Version to 3.7.3 (no changes)
@@ -15,6 +15,7 @@
   * debian/rules
     - added dpatch stuff
     - using setup.py for install and clean targets
+    - running some tests at build-time
   * debian/patches/10_setup.py.dpatch
     - added to remove direct upstream code modification
   * debian/python-pycurl.doc-base
@@ -26,7 +27,7 @@
     - explicitly identified LGPL location on filesystem
     - added dual licensing, including MIT license text
 
- -- Sandro Tosi <matrixhasu at gmail.com>  Sat, 31 May 2008 23:02:49 +0200
+ -- Sandro Tosi <matrixhasu at gmail.com>  Sat, 31 May 2008 23:56:02 +0200
 
 pycurl (7.16.4-1) unstable; urgency=low
 

Modified: packages/pycurl/trunk/debian/rules
===================================================================
--- packages/pycurl/trunk/debian/rules	2008-05-31 21:03:09 UTC (rev 5536)
+++ packages/pycurl/trunk/debian/rules	2008-05-31 21:58:32 UTC (rev 5537)
@@ -20,6 +20,14 @@
 	dh_testdir
 	python$* setup.py build
 	python$*-dbg setup.py build
+
+	set -e ;\
+	for test in "tests/test_internals.py" "tests/test_memleak.py" ; do \
+  	    PYTHONPATH=$(CURDIR)/build/lib.$(DEB_BUILD_ARCH_OS)-$(shell uname -m)-$* \
+	        python$* $$test; \
+	    PYTHONPATH=$(CURDIR)/build/lib_d.$(DEB_BUILD_ARCH_OS)-$(shell uname -m)-$*:$(CURDIR)/build/lib.$(DEB_BUILD_ARCH_OS)-$(shell uname -m)-$* \
+	        python$*-dbg $$test; \
+	done
 	touch $@
 
 clean: unpatch




More information about the Python-modules-commits mailing list