[Python-modules-commits] r32835 - in packages/liblarch/experimental/debian (3 files)

dktrkranz at users.alioth.debian.org dktrkranz at users.alioth.debian.org
Tue Jun 2 12:52:13 UTC 2015


    Date: Tuesday, June 2, 2015 @ 12:52:12
  Author: dktrkranz
Revision: 32835

Run testsuite at build time

Modified:
  packages/liblarch/experimental/debian/changelog
  packages/liblarch/experimental/debian/control
  packages/liblarch/experimental/debian/rules

Modified: packages/liblarch/experimental/debian/changelog
===================================================================
--- packages/liblarch/experimental/debian/changelog	2015-06-02 12:41:16 UTC (rev 32834)
+++ packages/liblarch/experimental/debian/changelog	2015-06-02 12:52:12 UTC (rev 32835)
@@ -4,18 +4,20 @@
   * debian/control:
     - Build python3-liblarch package instead of python-liblarch. Adjust
       (build-)dependencies accordingly to support Python 3 only.
+    - Build-depend on python3-nose for testsuite support.
     - Remove XS-Testsuite field, not needed anymore with recent dpkg.
   * debian/docs:
     - README renamed to README.md in upstream tarball.
   * debian/rules:
     - Support build of Python 3 module only.
+    - Run testsuite at build time.
   * debian/tests/control:
     - Reference python3-smoketest and python3-liblarch instead of
       their older Python 2 versions.
   * debian/tests/python3-smoketest:
     - Rename from python2-smoketest, and adjust to work with Python 3.
 
- -- Luca Falavigna <dktrkranz at debian.org>  Tue, 02 Jun 2015 14:12:00 +0200
+ -- Luca Falavigna <dktrkranz at debian.org>  Tue, 02 Jun 2015 14:42:28 +0200
 
 liblarch (2.1.0-3) unstable; urgency=medium
 

Modified: packages/liblarch/experimental/debian/control
===================================================================
--- packages/liblarch/experimental/debian/control	2015-06-02 12:41:16 UTC (rev 32834)
+++ packages/liblarch/experimental/debian/control	2015-06-02 12:52:12 UTC (rev 32835)
@@ -3,7 +3,10 @@
 Priority: optional
 Maintainer: Luca Falavigna <dktrkranz at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 9~), python3-all, dh-python
+Build-Depends: debhelper (>= 9~),
+               python3-all,
+               dh-python,
+               python3-nose
 Standards-Version: 3.9.6
 X-Python3-Version: >= 3.0
 Homepage: https://wiki.gnome.org/Projects/liblarch
@@ -12,7 +15,10 @@
 
 Package: python3-liblarch
 Architecture: all
-Depends: ${python3:Depends}, ${misc:Depends}, python3-gi, gir1.2-gtk-3.0
+Depends: ${python3:Depends},
+         ${misc:Depends},
+         python3-gi,
+         gir1.2-gtk-3.0
 Description: easily handle data structures
  Liblarch is a Python module created to easily handle data structure such as
  lists, trees and directed acyclic graphs (tree where nodes can have multiple

Modified: packages/liblarch/experimental/debian/rules
===================================================================
--- packages/liblarch/experimental/debian/rules	2015-06-02 12:41:16 UTC (rev 32834)
+++ packages/liblarch/experimental/debian/rules	2015-06-02 12:52:12 UTC (rev 32835)
@@ -4,3 +4,7 @@
 
 %:
 	dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+	dh_auto_test -- --system=custom \
+		--test-args='{interpreter} run-tests'




More information about the Python-modules-commits mailing list