[Python-modules-commits] r26639 - in packages/pyqt5/trunk/debian (4 files)

mitya57-guest at users.alioth.debian.org mitya57-guest at users.alioth.debian.org
Mon Dec 2 16:32:01 UTC 2013


    Date: Monday, December 2, 2013 @ 16:32:00
  Author: mitya57-guest
Revision: 26639

Add an autopkgtest to make sure all packages are co-installable
and all modules are importable.

Added:
  packages/pyqt5/trunk/debian/tests/
  packages/pyqt5/trunk/debian/tests/control
  packages/pyqt5/trunk/debian/tests/import
Modified:
  packages/pyqt5/trunk/debian/changelog

Modified: packages/pyqt5/trunk/debian/changelog
===================================================================
--- packages/pyqt5/trunk/debian/changelog	2013-12-01 23:27:09 UTC (rev 26638)
+++ packages/pyqt5/trunk/debian/changelog	2013-12-02 16:32:00 UTC (rev 26639)
@@ -2,6 +2,8 @@
 
   * Backport upstream patch (gluint64.sip) to disable GLuint64 on GL ES.
   * Symlink duplicate files in examples using fdupes.
+  * Add an autopkgtest to make sure all packages are co-installable
+    and all modules are importable.
 
  -- Dmitry Shachnev <mitya57 at gmail.com>  Thu, 28 Nov 2013 19:33:21 +0400
 

Added: packages/pyqt5/trunk/debian/tests/control
===================================================================
--- packages/pyqt5/trunk/debian/tests/control	                        (rev 0)
+++ packages/pyqt5/trunk/debian/tests/control	2013-12-02 16:32:00 UTC (rev 26639)
@@ -0,0 +1,2 @@
+Tests: import
+Depends: @

Added: packages/pyqt5/trunk/debian/tests/import
===================================================================
--- packages/pyqt5/trunk/debian/tests/import	                        (rev 0)
+++ packages/pyqt5/trunk/debian/tests/import	2013-12-02 16:32:00 UTC (rev 26639)
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+set -ex
+
+cd $ADTTMP
+
+cat <<EOF >test_import.py
+from PyQt5.QtCore import QFile
+from PyQt5.QtGui import QColor
+from PyQt5.QtMultimedia import QAudio
+from PyQt5.QtMultimediaWidgets import QGraphicsVideoItem
+from PyQt5.QtNetwork import QLocalSocket
+from PyQt5.QtQml import QQmlEngine
+from PyQt5.QtQuick import QQuickView
+from PyQt5.QtSensors import QSensor
+from PyQt5.QtSerialPort import QSerialPortInfo
+from PyQt5.QtSql import QSqlQuery
+from PyQt5.QtSvg import QSvgRenderer
+from PyQt5.QtWebKit import QWebSettings
+from PyQt5.QtWebKitWidgets import QWebView
+from PyQt5.QtWidgets import QWidget
+from PyQt5.QtXmlPatterns import QXmlSchema
+from dbus.mainloop.pyqt5 import DBusQtMainLoop
+EOF
+
+for py in $(py3versions -s); do
+  $py test_import.py
+done


Property changes on: packages/pyqt5/trunk/debian/tests/import
___________________________________________________________________
Added: svn:executable
   + *




More information about the Python-modules-commits mailing list