--- window-mocker-1.4+14.04.20140220.1.orig/debian/changelog +++ window-mocker-1.4+14.04.20140220.1/debian/changelog @@ -0,0 +1,74 @@ +window-mocker (1.4+14.04.20140220.1-0ubuntu3) focal; urgency=medium + + * Drop python2 & qt4. + + -- Dimitri John Ledkov Thu, 13 Feb 2020 11:29:14 +0000 + +window-mocker (1.4+14.04.20140220.1-0ubuntu2) focal; urgency=medium + + * No-change rebuild to generate dependencies on python2. + + -- Matthias Klose Tue, 17 Dec 2019 12:47:39 +0000 + +window-mocker (1.4+14.04.20140220.1-0ubuntu1) trusty; urgency=medium + + [ Barry Warsaw ] + * Bump revision to 1.4. + * Add MANIFEST.in to prune build artifacts from tarball. + * Clean ups: + + White space. + + Use of insecure tempfile.mktemp() + + Use of non-temporary file names. + + Use of mutable default arguments. + + Improve Python 2/3 compatibility. + * d/control: + + Add dependency on python{,3}-six for Python 3 compatibility fix. + + Remove dependency on python3-mock (use unittest.mock instead in Py3). + + Bump Standards-Version to 3.9.5 with no other changes necessary. + * python3 compatibility, Qt5 plugin. + + [ Corey Goldberg ] + * python3 compatibility, Qt5 plugin. + * fixed qt4 plugin, previous regression (LP: #1278917) + + -- Ubuntu daily release Thu, 20 Feb 2014 22:14:29 +0000 + +window-mocker (1.3daily13.06.05-0ubuntu1) saucy; urgency=low + + [ Thomi Richards ] + * Make window-mocker windows introspectable from autopilot. (LP: + #1171632) + * Add ability to set different controls as the mocked window content. + (LP: #1171642) + * Add MouseTest content option. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 22 + + -- Ubuntu daily release Wed, 05 Jun 2013 07:08:44 +0000 + +window-mocker (1.3daily13.05.03ubuntu.unity.next-0ubuntu1) raring; urgency=low + + [ Thomi Richards ] + * Bump revision to 1.3. + * Need a way of specifying different window controls (LP: #1171642) + * Window mocker should be introspectable with autopilot. (LP: + #1171632) + + [ Ubuntu daily release ] + * Automatic snapshot from revision 21 (ubuntu-unity/next) + + -- Ubuntu daily release Fri, 03 May 2013 00:00:53 +0000 + +window-mocker (1.0daily13.02.08-0ubuntu1) raring; urgency=low + + [ Thomi Richards ] + * Initial release + + [ Michael Terry ] + * Automatic snapshot from revision 1 (bootstrap) + + [ Automatic PS uploader ] + * Automatic snapshot from revision 16 + + -- Automatic PS uploader Fri, 08 Feb 2013 00:01:11 +0000 --- window-mocker-1.4+14.04.20140220.1.orig/debian/compat +++ window-mocker-1.4+14.04.20140220.1/debian/compat @@ -0,0 +1 @@ +9 --- window-mocker-1.4+14.04.20140220.1.orig/debian/control +++ window-mocker-1.4+14.04.20140220.1/debian/control @@ -0,0 +1,29 @@ +Source: window-mocker +Section: python +Priority: extra +Maintainer: Ubuntu Developers +Build-Depends: debhelper (>= 9), + dh-python, + python3-all, + python3-distutils-extra, + python3-pyqt5, + python3-setuptools, + python3-six, + python3-testscenarios, +Standards-Version: 3.9.5 +# If you aren't a member of ~autopilot but need to upload packaging changes, +# just go ahead. ~autopilot will notice and sync up the code again. +Vcs-Bzr: http://bazaar.launchpad.net/~autopilot/window-mocker/trunk + +Package: python3-windowmocker +Architecture: all +Depends: ${misc:Depends}, + ${python:Depends}, + python3-pyqt5, + python3-six, +Provides: ${python:Provides}, +Description: create windows and applications from specifications + Window Mocker is a simple tool that allows developers to create windows and + applications that follow a certain specification. This is especially useful + when testing applications that interact with other windows (like a window + manager, for example). --- window-mocker-1.4+14.04.20140220.1.orig/debian/copyright +++ window-mocker-1.4+14.04.20140220.1/debian/copyright @@ -0,0 +1,22 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: http://launchpad.net/window-mocker + +Files: * +Copyright: 2012-2014 Canonical, Ltd. +License: GPL-3 + +License: GPL-3 + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, version 3 of the License. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General Public License + can be found in `/usr/share/common-licenses/GPL-3' --- window-mocker-1.4+14.04.20140220.1.orig/debian/rules +++ window-mocker-1.4+14.04.20140220.1/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 +export PYBUILD_NAME=windowmocker + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_install: + dh_install --fail-missing + set -e; if [ -d debian/python3-windowmocker ]; then \ + cd debian/python3-windowmocker; \ + mv usr/bin/window-mocker usr/bin/window-mocker3; \ + mv usr/share/applications/window-mocker.desktop usr/share/applications/window-mocker3.desktop; \ + mv usr/share/doc/window-mocker/README usr/share/doc/window-mocker/README3; \ + fi --- window-mocker-1.4+14.04.20140220.1.orig/debian/source/format +++ window-mocker-1.4+14.04.20140220.1/debian/source/format @@ -0,0 +1 @@ +1.0 --- window-mocker-1.4+14.04.20140220.1.orig/tests/test_app_functional.py +++ window-mocker-1.4+14.04.20140220.1/tests/test_app_functional.py @@ -135,4 +135,4 @@ def test_accepts_plugin_type_command_line_argument(self): retcode, stdout, stderr = run_app_with_args("--help") - self.assertThat(stdout, Contains("Qt4")) + self.assertThat(stdout, Contains("Qt5")) --- window-mocker-1.4+14.04.20140220.1.orig/windowmocker/plugins/__init__.py +++ window-mocker-1.4+14.04.20140220.1/windowmocker/plugins/__init__.py @@ -13,20 +13,15 @@ logging.basicConfig() logger = logging.getLogger(__name__) -def create_qt4_plugin(data): - from windowmocker.plugins.qt4 import QtPlugin as Qt4Plugin - return Qt4Plugin(data) - def create_qt5_plugin(data): from windowmocker.plugins.qt5 import QtPlugin as Qt5Plugin return Qt5Plugin(data) _plugin_registry = { - 'Qt4': create_qt4_plugin, 'Qt5': create_qt5_plugin, } -_default_plugin = create_qt4_plugin +_default_plugin = create_qt5_plugin def get_plugin_by_name(name): """Return the application type plugin class by name.""" @@ -37,7 +32,7 @@ return plugin def get_default_plugin_name(): - return 'Qt4' + return 'Qt5' def get_registered_plugin_names(): """Get a list of registered plugin names."""