[Python-modules-commits] r28719 - in packages/pyotherside/trunk/debian (10 files)
zyga-guest at users.alioth.debian.org
zyga-guest at users.alioth.debian.org
Wed Apr 30 16:34:59 UTC 2014
Date: Wednesday, April 30, 2014 @ 16:34:58
Author: zyga-guest
Revision: 28719
Add -doc and -test packages, DEP-8 tests
Added:
packages/pyotherside/trunk/debian/pyotherside-doc.doc-base
packages/pyotherside/trunk/debian/pyotherside-doc.docs
packages/pyotherside/trunk/debian/pyotherside-tests.install
packages/pyotherside/trunk/debian/pyotherside.install
packages/pyotherside/trunk/debian/tests/
packages/pyotherside/trunk/debian/tests/control
packages/pyotherside/trunk/debian/tests/unit-tests
Modified:
packages/pyotherside/trunk/debian/control
packages/pyotherside/trunk/debian/copyright
packages/pyotherside/trunk/debian/rules
Modified: packages/pyotherside/trunk/debian/control
===================================================================
--- packages/pyotherside/trunk/debian/control 2014-04-29 19:08:39 UTC (rev 28718)
+++ packages/pyotherside/trunk/debian/control 2014-04-30 16:34:58 UTC (rev 28719)
@@ -3,17 +3,19 @@
Priority: optional
Maintainer: Zygmunt Krynicki <zygmunt.krynicki at canonical.com>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends:
- debhelper (>= 9),
- python3-dev,
- qt5-default,
- qt5-qmake,
- qtbase5-dev,
- qtdeclarative5-dev,
- xauth,
- xvfb,
+Build-Depends: debhelper (>= 9),
+ python3,
+ python3-dev,
+ python3-sphinx,
+ qt5-default,
+ qt5-qmake,
+ qtbase5-dev,
+ qtdeclarative5-dev,
+ xauth,
+ xvfb
Standards-Version: 3.9.5
X-Python3-Version: >= 3.2
+XS-Testsuite: autopkgtest
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pyotherside/trunk/
Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pyotherside/trunk/
Homepage: http://thp.io/2011/pyotherside/
@@ -22,8 +24,8 @@
Multi-Arch: same
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
-Depends: ${misc:Depends}, ${shlibs:Depends}, python3,
-Description: Asynchronous Python 3 Bindings for Qt 5
+Depends: python3, ${misc:Depends}, ${shlibs:Depends}
+Description: Asynchronous Python 3 Bindings for Qt 5 (QML plugin)
A Qt 5 QML Plugin that provides access to a Python 3 interpreter from QML.
.
PyOtherSide is a Qt 5 QML Plugin that provides access to a Python 3
@@ -43,3 +45,63 @@
years, and offers some nice language features and clean-ups, while Qt 5
supports most mobile platforms well, and has an improved QML engine and a
faster renderer (Qt Scene Graph) compared to Qt 4.
+ .
+ This package provides the QML plugin.
+
+Package: pyotherside-doc
+Section: doc
+Multi-Arch: foreign
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: Asynchronous Python 3 Bindings for Qt 5 (documentation)
+ A Qt 5 QML Plugin that provides access to a Python 3 interpreter from QML.
+ .
+ PyOtherSide is a Qt 5 QML Plugin that provides access to a Python 3
+ interpreter from QML. It was designed with mobile devices in mind, where
+ high-framerate touch interfaces are common, and where the user usually
+ interfaces only with one application at a time via a touchscreen. As such, it
+ is important to never block the UI thread, so that the user can always
+ continue to use the interface, even when the backend is processing,
+ downloading or calculating something in the background.
+ .
+ At its core, PyOtherSide is basically a simple layer that converts Qt (QML)
+ objects to Python objects and vice versa, with focus on asynchronous events
+ and continuation-passing style function calls.
+ .
+ While legacy versions of PyOtherSide worked with Qt 4.x and Python 2.x, its
+ focus now lies on Python 3.x and Qt 5. Python 3 has been out for several
+ years, and offers some nice language features and clean-ups, while Qt 5
+ supports most mobile platforms well, and has an improved QML engine and a
+ faster renderer (Qt Scene Graph) compared to Qt 4.
+ .
+ This package provides the HTML documentation as well as the set of examples.
+
+Package: pyotherside-tests
+Section: misc
+Multi-Arch: foreign
+Architecture: any
+Pre-Depends: ${misc:Pre-Depends}
+Depends: python3, pyotherside (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
+Description: Asynchronous Python 3 Bindings for Qt 5 (tests)
+ A Qt 5 QML Plugin that provides access to a Python 3 interpreter from QML.
+ .
+ PyOtherSide is a Qt 5 QML Plugin that provides access to a Python 3
+ interpreter from QML. It was designed with mobile devices in mind, where
+ high-framerate touch interfaces are common, and where the user usually
+ interfaces only with one application at a time via a touchscreen. As such, it
+ is important to never block the UI thread, so that the user can always
+ continue to use the interface, even when the backend is processing,
+ downloading or calculating something in the background.
+ .
+ At its core, PyOtherSide is basically a simple layer that converts Qt (QML)
+ objects to Python objects and vice versa, with focus on asynchronous events
+ and continuation-passing style function calls.
+ .
+ While legacy versions of PyOtherSide worked with Qt 4.x and Python 2.x, its
+ focus now lies on Python 3.x and Qt 5. Python 3 has been out for several
+ years, and offers some nice language features and clean-ups, while Qt 5
+ supports most mobile platforms well, and has an improved QML engine and a
+ faster renderer (Qt Scene Graph) compared to Qt 4.
+ .
+ This package contains the test suite that can be started post-installation.
Modified: packages/pyotherside/trunk/debian/copyright
===================================================================
--- packages/pyotherside/trunk/debian/copyright 2014-04-29 19:08:39 UTC (rev 28718)
+++ packages/pyotherside/trunk/debian/copyright 2014-04-30 16:34:58 UTC (rev 28719)
@@ -4,7 +4,7 @@
Files: *
Copyright: Copyright (c) 2011, 2013, 2014, Thomas Perl <m at thp.io>
-License:
+License: ISC
PyOtherSide: Asynchronous Python 3 Bindings for Qt 5
Copyright (c) 2011, 2013, 2014, Thomas Perl <m at thp.io>
.
Added: packages/pyotherside/trunk/debian/pyotherside-doc.doc-base
===================================================================
--- packages/pyotherside/trunk/debian/pyotherside-doc.doc-base (rev 0)
+++ packages/pyotherside/trunk/debian/pyotherside-doc.doc-base 2014-04-30 16:34:58 UTC (rev 28719)
@@ -0,0 +1,9 @@
+Document: pyotherside
+Title: Pyotherside Manual
+Author: Thomas Perl
+Abstract: This manual describes what pyotherside is, and how it can be used.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/pyotherside-doc/html/index.html
+Files: /usr/share/doc/pyotherside-doc/html/*.html
Added: packages/pyotherside/trunk/debian/pyotherside-doc.docs
===================================================================
--- packages/pyotherside/trunk/debian/pyotherside-doc.docs (rev 0)
+++ packages/pyotherside/trunk/debian/pyotherside-doc.docs 2014-04-30 16:34:58 UTC (rev 28719)
@@ -0,0 +1,2 @@
+build/sphinx/html
+examples
Added: packages/pyotherside/trunk/debian/pyotherside-tests.install
===================================================================
--- packages/pyotherside/trunk/debian/pyotherside-tests.install (rev 0)
+++ packages/pyotherside/trunk/debian/pyotherside-tests.install 2014-04-30 16:34:58 UTC (rev 28719)
@@ -0,0 +1,2 @@
+tests/tests /usr/lib/pyotherside/tests
+tests/test_*/ /usr/lib/pyotherside/tests
Added: packages/pyotherside/trunk/debian/pyotherside.install
===================================================================
--- packages/pyotherside/trunk/debian/pyotherside.install (rev 0)
+++ packages/pyotherside/trunk/debian/pyotherside.install 2014-04-30 16:34:58 UTC (rev 28719)
@@ -0,0 +1 @@
+/usr/lib/*
Modified: packages/pyotherside/trunk/debian/rules
===================================================================
--- packages/pyotherside/trunk/debian/rules 2014-04-29 19:08:39 UTC (rev 28718)
+++ packages/pyotherside/trunk/debian/rules 2014-04-30 16:34:58 UTC (rev 28719)
@@ -1,7 +1,15 @@
#!/usr/bin/make -f
%:
- dh $@
+ dh $@ --with=sphinxdoc
+override_dh_auto_build:
+ dh_auto_build
+ /usr/share/sphinx/scripts/python3/sphinx-build -b html docs build/sphinx/html
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf build
+
override_dh_auto_test:
xvfb-run ./tests/tests
Added: packages/pyotherside/trunk/debian/tests/control
===================================================================
--- packages/pyotherside/trunk/debian/tests/control (rev 0)
+++ packages/pyotherside/trunk/debian/tests/control 2014-04-30 16:34:58 UTC (rev 28719)
@@ -0,0 +1,2 @@
+Tests: unit-tests
+Depends: @, @builddeps@
Added: packages/pyotherside/trunk/debian/tests/unit-tests
===================================================================
--- packages/pyotherside/trunk/debian/tests/unit-tests (rev 0)
+++ packages/pyotherside/trunk/debian/tests/unit-tests 2014-04-30 16:34:58 UTC (rev 28719)
@@ -0,0 +1,10 @@
+#!/bin/sh
+# autopkgtest check: run pyotherside unit tests and ensure everything passes
+# (C) 2014 Canonical Ltd.
+# Author: Zygmunt Krynicki <zygmunt.krynicki at canonical.com>
+
+set -e
+
+cd $ADTTMP
+/usr/lib/pyotherside/tests/tests 2>&1
+echo "unit-tests: OK"
Property changes on: packages/pyotherside/trunk/debian/tests/unit-tests
___________________________________________________________________
Added: svn:executable
+ *
More information about the Python-modules-commits
mailing list