[Python-modules-commits] r32834 - in packages/liblarch/experimental/debian (5 files)

dktrkranz at users.alioth.debian.org dktrkranz at users.alioth.debian.org
Tue Jun 2 12:41:17 UTC 2015


    Date: Tuesday, June 2, 2015 @ 12:41:16
  Author: dktrkranz
Revision: 32834

Refresh autopkgtest to work with python3-liblarch

Added:
  packages/liblarch/experimental/debian/tests/python3-smoketest
    (from rev 32831, packages/liblarch/experimental/debian/tests/python2-smoketest)
Modified:
  packages/liblarch/experimental/debian/changelog
  packages/liblarch/experimental/debian/control
  packages/liblarch/experimental/debian/tests/control
Deleted:
  packages/liblarch/experimental/debian/tests/python2-smoketest

Modified: packages/liblarch/experimental/debian/changelog
===================================================================
--- packages/liblarch/experimental/debian/changelog	2015-06-02 12:22:24 UTC (rev 32833)
+++ packages/liblarch/experimental/debian/changelog	2015-06-02 12:41:16 UTC (rev 32834)
@@ -4,10 +4,16 @@
   * debian/control:
     - Build python3-liblarch package instead of python-liblarch. Adjust
       (build-)dependencies accordingly to support Python 3 only.
+    - 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.
+  * 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
 

Modified: packages/liblarch/experimental/debian/control
===================================================================
--- packages/liblarch/experimental/debian/control	2015-06-02 12:22:24 UTC (rev 32833)
+++ packages/liblarch/experimental/debian/control	2015-06-02 12:41:16 UTC (rev 32834)
@@ -9,7 +9,6 @@
 Homepage: https://wiki.gnome.org/Projects/liblarch
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/liblarch/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewsvn/python-modules/packages/liblarch/trunk/
-XS-Testsuite: autopkgtest
 
 Package: python3-liblarch
 Architecture: all

Modified: packages/liblarch/experimental/debian/tests/control
===================================================================
--- packages/liblarch/experimental/debian/tests/control	2015-06-02 12:22:24 UTC (rev 32833)
+++ packages/liblarch/experimental/debian/tests/control	2015-06-02 12:41:16 UTC (rev 32834)
@@ -1,2 +1,2 @@
-Tests: python2-smoketest
-Depends: python-liblarch
+Tests: python3-smoketest
+Depends: python3-liblarch

Deleted: packages/liblarch/experimental/debian/tests/python2-smoketest
===================================================================
--- packages/liblarch/experimental/debian/tests/python2-smoketest	2015-06-02 12:22:24 UTC (rev 32833)
+++ packages/liblarch/experimental/debian/tests/python2-smoketest	2015-06-02 12:41:16 UTC (rev 32834)
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-cd "$ADTTMP"
-cat > test.py << EOF
-#!/usr/bin/python
-
-from liblarch import API
-
-
-print 'Current liblarch version: %s' % API
-EOF
-python test.py

Copied: packages/liblarch/experimental/debian/tests/python3-smoketest (from rev 32831, packages/liblarch/experimental/debian/tests/python2-smoketest)
===================================================================
--- packages/liblarch/experimental/debian/tests/python3-smoketest	                        (rev 0)
+++ packages/liblarch/experimental/debian/tests/python3-smoketest	2015-06-02 12:41:16 UTC (rev 32834)
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+cd "$ADTTMP"
+cat > test.py << EOF
+#!/usr/bin/python3
+
+from liblarch import API
+
+
+print('Current liblarch version: %s' % API)
+EOF
+python3 test.py




More information about the Python-modules-commits mailing list