summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/dependencies/pytqt/debian
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/_base/dependencies/pytqt/debian')
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/README.Debian3
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/changelog6
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/compat1
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/control212
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/copyright52
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/docs2
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/manpages/pylupdate.183
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/manpages/pyuic.174
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/patches/debian_configure_changes.diff95
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/patches/series1
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/python-pytqt-gl.install1
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/python-pytqt.install7
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/python-pytqtext.install1
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/python3-pytqt-gl.install1
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/python3-pytqt.install7
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/python3-pytqtext.install1
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.dirs1
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.install1
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.lintian-overrides14
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.dirs2
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.examples2
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.install1
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/pytqt-tools.install1
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/pytqt-tools.manpages2
-rwxr-xr-xubuntu/_base/dependencies/pytqt/debian/rules215
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/source/format1
-rw-r--r--ubuntu/_base/dependencies/pytqt/debian/source/options6
27 files changed, 793 insertions, 0 deletions
diff --git a/ubuntu/_base/dependencies/pytqt/debian/README.Debian b/ubuntu/_base/dependencies/pytqt/debian/README.Debian
new file mode 100644
index 000000000..201336f3a
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/README.Debian
@@ -0,0 +1,3 @@
+DOCUMENTATION
+-------------
+You can find doc and examples about PyTQt in the package pytqt-doc
diff --git a/ubuntu/_base/dependencies/pytqt/debian/changelog b/ubuntu/_base/dependencies/pytqt/debian/changelog
new file mode 100644
index 000000000..e834a6ca8
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/changelog
@@ -0,0 +1,6 @@
+pytqt (3.18.1-4ubuntu0) lucid; urgency=low
+
+ * Initial build
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Tue, 29 Nov 2011 01:16:00 -0600
+
diff --git a/ubuntu/_base/dependencies/pytqt/debian/compat b/ubuntu/_base/dependencies/pytqt/debian/compat
new file mode 100644
index 000000000..ec635144f
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/ubuntu/_base/dependencies/pytqt/debian/control b/ubuntu/_base/dependencies/pytqt/debian/control
new file mode 100644
index 000000000..8f36817c3
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/control
@@ -0,0 +1,212 @@
+Source: pytqt
+Section: python
+Priority: optional
+Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
+XSBC-Original-Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
+Uploaders: Torsten Marek <shlomme@debian.org>, Bernd Zeimetz <bzed@debian.org>, Michael Casadevall <mcasadevall@debian.org>
+Build-Depends: debhelper (>= 9~), python-all-dev (>= 2.3.5-10), python-all-dbg, python3-all-dev, python3-all-dbg, libtqtinterface-dev, tqt3-dev-tools, tqt3-apps-dev, python3-sip-tqt-dev, python3-sip-tqt-dbg, python-sip-tqt-dev, python-sip-tqt-dbg, libtqscintilla-dev, python-support (>= 0.7.1) | dh-python
+Standards-Version: 3.8.4
+XS-Python-Version: >= 2.3
+X-Python3-Version: >= 3.0
+
+Package: python-pytqt
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}, ${sip-tqt:Depends}, ${misc:Depends}
+Replaces: python-tqt
+Breaks: python-tqt
+Suggests: python-pytqt-gl, pytqt-doc, libtqt3-mt-mysql|libtqt3-mt-odbc|libtqt3-mt-psql
+Provides: ${python:Provides}
+Description: TQt bindings for Python
+ Python binding module that allows use of TQt X Window toolkit v3.
+ You can use it to create portable graphics-capable scripts (there
+ are PyTQt versions for Linux, Windows and MacOS X).
+ .
+ At this moment PyTQt offers a vast subset of TQt API. There are
+ some minor issues related to the differences between C++ and Python
+ (types, etc), but usually you'll be able to write code pretty much the
+ same way in both languages (with syntax differences, of course)
+
+Package: python-pytqt-dbg
+Architecture: any
+Priority: extra
+Replaces: python-tqt-dbg
+Breaks: python-tqt-dbg
+Section: debug
+Depends: ${shlibs:Depends}, python-all-dbg, python-pytqt (= ${binary:Version}), python-sip-tqt-dbg, ${misc:Depends}
+Description: TQt bindings for Python (debug extension)
+ Python binding module that allows use of TQt X Window toolkit v3.
+ You can use it to create portable graphics-capable scripts (there
+ are PyTQt versions for Linux, Windows and MacOS X).
+ .
+ This package contains the extension built for the Python debug interpreter.
+
+Package: python3-pytqt
+Architecture: any
+Depends: ${shlibs:Depends}, ${python3:Depends}, ${sip3-tqt:Depends}, ${misc:Depends}
+Suggests: python3-pytqt-gl, pytqt-doc, libtqt3-mt-mysql|libtqt3-mt-odbc|libtqt3-mt-psql
+Provides: ${python3:Provides}
+Replaces: python3-tqt
+Breaks: python3-tqt
+Description: TQt bindings for Python 3
+ Python binding module that allows use of TQt X Window toolkit v3.
+ You can use it to create portable graphics-capable scripts (there
+ are PyTQt versions for Linux, Windows and MacOS X).
+ .
+ At this moment PyTQt offers a vast subset of TQt API. There are
+ some minor issues related to the differences between C++ and Python
+ (types, etc), but usually you'll be able to write code pretty much the
+ same way in both languages (with syntax differences, of course)
+
+Package: python3-pytqt-dbg
+Architecture: any
+Priority: extra
+Section: debug
+Depends: ${shlibs:Depends}, python3-all-dbg, python3-pytqt (= ${binary:Version}), python3-sip-tqt-dbg, ${misc:Depends}
+Replaces: python3-tqt-dbg
+Breaks: python3-tqt-dbg
+Description: TQt bindings for Python 3 (debug extension)
+ Python binding module that allows use of TQt X Window toolkit v3.
+ You can use it to create portable graphics-capable scripts (there
+ are PyTQt versions for Linux, Windows and MacOS X).
+ .
+ This package contains the extension built for the Python debug interpreter.
+
+Package: python-pytqt-gl
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}, python-pytqt (= ${binary:Version}), python-opengl (>= 2.0.1.09-2.2), ${misc:Depends}
+Replaces: python-tqt-gl
+Breaks: python-tqt-gl
+Suggests: pytqt-doc
+Provides: ${python:Provides}
+Description: TQt OpenGL bindings for Python
+ Python binding module that allows use of the OpenGL facilities
+ offered by the TQt X Window toolkit v3. You can use it to create
+ portable graphics-capable scripts (there are PyTQt versions for
+ Linux, Windows and MacOS X).
+
+Package: python-pytqt-gl-dbg
+Priority: extra
+Section: debug
+Replaces: python-tqt-gl-dbg
+Breaks: python-tqt-gl-dbg
+Architecture: any
+Depends: ${shlibs:Depends}, python-all-dbg, python-pytqt-gl (= ${binary:Version}), python-pytqt-dbg (= ${binary:Version}), ${misc:Depends}
+Description: TQt OpenGL bindings for Python (debug extension)
+ Python binding module that allows use of the OpenGL facilities
+ offered by the TQt X Window toolkit v3. You can use it to create
+ portable graphics-capable scripts (there are PyTQt versions for
+ Linux, Windows and MacOS X).
+ .
+ This package contains the extension built for the Python debug interpreter.
+
+Package: python3-pytqt-gl
+Architecture: any
+Depends: ${shlibs:Depends}, ${python3:Depends}, python3-pytqt (= ${binary:Version}), python3-opengl, ${misc:Depends}
+Suggests: pytqt-doc
+Provides: ${python3:Provides}
+Replaces: python3-tqt-gl
+Breaks: python3-tqt-gl
+Description: TQt OpenGL bindings for Python 3
+ Python binding module that allows use of the OpenGL facilities
+ offered by the TQt X Window toolkit v3. You can use it to create
+ portable graphics-capable scripts (there are PyTQt versions for
+ Linux, Windows and MacOS X).
+
+Package: python3-pytqt-gl-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends: ${shlibs:Depends}, python3-all-dbg, python3-pytqt-gl (= ${binary:Version}), python3-pytqt-dbg (= ${binary:Version}), ${misc:Depends}
+Replaces: python3-tqt-gl-dbg
+Breaks: python3-tqt-gl-dbg
+Description: TQt OpenGL bindings for Python 3 (debug extension)
+ Python binding module that allows use of the OpenGL facilities
+ offered by the TQt X Window toolkit v3. You can use it to create
+ portable graphics-capable scripts (there are PyTQt versions for
+ Linux, Windows and MacOS X).
+ .
+ This package contains the extension built for the Python debug interpreter.
+
+Package: python-pytqtext
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}, python-pytqt (= ${binary:Version}), ${misc:Depends}
+Replaces: python-tqtext
+Breaks: python-tqtext
+Provides: ${python:Provides}
+Description: TQt extensions for PyTQt
+ PyTQt Extensions. Contains:
+ .
+ * QScintilla: a featureful TQt source code editing component based
+ on Scintilla.
+
+Package: python-pytqtext-dbg
+Priority: extra
+Section: debug
+Replaces: python-tqtext-dbg
+Breaks: python-tqtext-dbg
+Architecture: any
+Depends: ${shlibs:Depends}, python-all-dbg, python-pytqtext (= ${binary:Version}), python-pytqt-dbg (= ${binary:Version}), ${misc:Depends}
+Description: TQt debug extensions for PyTQt
+ PyTQt debug Extensions. Contains:
+ .
+ * QScintilla: a featureful TQt source code editing component based
+ on Scintilla.
+
+Package: python3-pytqtext
+Architecture: any
+Depends: ${shlibs:Depends}, ${python3:Depends}, python3-pytqt (= ${binary:Version}), ${misc:Depends}
+Provides: ${python3:Provides}
+Replaces: python3-tqtext
+Breaks: python3-tqtext
+Description: TQt extensions for PyTQt
+ PyTQt Extensions. Contains:
+ .
+ * QScintilla: a featureful TQt source code editing component based
+ on Scintilla.
+
+Package: python3-pytqtext-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends: ${shlibs:Depends}, python3-all-dbg, python3-pytqtext (= ${binary:Version}), python3-pytqt-dbg (= ${binary:Version}), ${misc:Depends}
+Replaces: python3-tqtext-dbg
+Breaks: python3-tqtext-dbg
+Description: TQt debug extensions for PyTQt
+ PyTQt debug Extensions. Contains:
+ .
+ * QScintilla: a featureful TQt source code editing component based
+ on Scintilla.
+
+Package: pytqt-tools
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: pytqt-tools (<< 4:14.0.0~)
+Breaks: pytqt-tools (<< 4:14.0.0~)
+Description: pyuic and pylupdate for TQt
+ pyuic is the PyTQt counterpart for TQt's uic. It takes an XML
+ user interface file and generates Python code.
+ .
+ pylupdate is the counterpart for TQt's lupdate. It updates TQt
+ Linguist translation files from Python code.
+
+Package: pytqt-dev
+Depends: python3-pytqt (= ${binary:Version}) | python-pytqt (= ${binary:Version}), ${misc:Depends}
+Suggests: python3-sip-tqt-dev | python-sip-tqt-dev
+Replaces: python-tqt-dev
+Breaks: python-tqt-dev
+Architecture: all
+Description: TQt bindings for Python - Development files
+ Development .sip files with definitions of PyTQt classes. They
+ are needed to build PyTQt, but also as building blocks of other
+ packages based on them, like PyTDE.
+
+Package: pytqt-doc
+Section: doc
+Architecture: all
+Replaces: python-tqt-doc
+Breaks: python-tqt-doc
+Depends: ${misc:Depends}
+Suggests: python3-pytqt | python-pytqt
+Description: TQt bindings for Python - Documentation and examples
+ Documentation and examples for the PyTQt (bindings that allow
+ the use of TQt library from within a Python script).
diff --git a/ubuntu/_base/dependencies/pytqt/debian/copyright b/ubuntu/_base/dependencies/pytqt/debian/copyright
new file mode 100644
index 000000000..715a83f24
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/copyright
@@ -0,0 +1,52 @@
+This package was debianized by Ricardo Javier Cardenes Medina <rcardenes@debian.org> on
+Tue, 7 May 2002 04:02:33 +0100
+
+It was downloaded from http://www.riverbankcomputing.co.uk
+
+Upstream Author: Phil Thompson (phil@river-bank.demon.co.uk)
+
+Terms and Conditions
+
+Copyright (c) 1998, 1999, 2000, 2001
+ Phil Thompson <phil@river-bank.demon.co.uk>
+Copyright (c) 2002
+ Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+
+pylupdate is Copyright (c) 2002
+ Detlev Offenbach <detlev@die-offenbachs.de>
+
+Both PyQt and its utils, and pylupdate are free software; you may
+redistribute them and/or modify it under the terms of the GNU General
+Public License as published by the Free Software Foundation; either
+version 2, or (at your option) any later version.
+
+A copy of the GNU General Public License is available as
+/usr/share/common-licenses/GPL in the Debian GNU/Linux distribution
+or on the World Wide Web at http://www.gnu.org/copyleft/gpl.html.
+You can also obtain it by writing to the Free Software Foundation, Inc.,
+51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+
+parts of the code are Copyright (c) 2000 Trolltech AS, under the following
+license:
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Except as contained in this notice, the name of the copyright holder shall not
+be used in advertising or otherwise to promote the sale, use or other dealings
+in this Software without prior written authorization from the copyright holder.
diff --git a/ubuntu/_base/dependencies/pytqt/debian/docs b/ubuntu/_base/dependencies/pytqt/debian/docs
new file mode 100644
index 000000000..50bd824bb
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
diff --git a/ubuntu/_base/dependencies/pytqt/debian/manpages/pylupdate.1 b/ubuntu/_base/dependencies/pytqt/debian/manpages/pylupdate.1
new file mode 100644
index 000000000..4d2c8919a
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/manpages/pylupdate.1
@@ -0,0 +1,83 @@
+.TH pylupdate 1 "18 October 2001" "Trolltech AS" \" -*- nroff -*-
+.\"
+.\" Copyright 2001 Trolltech AS. All rights reserved.
+.\" Copyright 2004 Ricardo Cardenes. All rights reserved.
+.\"
+.\" This file may be distributed and/or modified under the terms of the
+.\" GNU General Public License version 2 as published by the Free Software
+.\" Foundation and appearing in the file LICENSE.GPL included in the
+.\" packaging of this file.
+.\"
+.\" This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+.\" WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+.\"
+.\" See http://www.trolltech.com/gpl/ for GPL licensing information.
+.\"
+.SH NAME
+pylupdate \- update Qt Linguist translation files from Python sources
+.SH SYNOPSIS
+.B pylupdate
+.RI "[ " options " ] " project-file...
+.SH DESCRIPTION
+This page documents the
+.B Qt Linguist Update
+tool for the Qt GUI toolkit, for Python source files.
+.B PyLupdate
+reads a qmake project file (.pro file), finds the translatable
+strings in the specified source, header and interface files, and
+updates the translation files (.ts files) specified in it. The
+translation files are given to the translator who uses
+.B Qt Linguist
+to read the files and insert the translations.
+.PP
+The .ts file format is a simple human-readable XML format that can be
+used with version control systems if required.
+.PP
+.SH OPTIONS
+.TP
+.I "-help"
+Display the usage and exit.
+.TP
+.I "-noobsolete"
+Drop all obsolete strings.
+.TP
+.I "-verbose"
+Explain what is being done.
+.TP
+.I "-version"
+Display the version of
+.B pylupdate
+and exit.
+.SH USAGE
+Here is an example .pro file that can be given to
+.B pylupdate:
+.PP
+.in +4
+.nf
+SOURCES = funnydialog.py \\
+ main.py \\
+ wackywidget.py
+FORMS = fancybox.ui
+TRANSLATIONS = gnomovision_dk.ts \\
+ gnomovision_fi.ts \\
+ gnomovision_no.ts \\
+ gnomovision_se.ts
+.fi
+.in -4
+.PP
+When running
+.B pylupdate
+on this project file, the translatable strings in all the files
+listed in the SOURCES and FORMS entries will be put in
+the translation files listed in the TRANSLATIONS entry. Previous
+translations will be reused as far as possible, and translated
+strings that have vanished from the source files are marked obsolete.
+.SH "SEE ALSO"
+.BR lupdate (1),
+.BR lrelease (1)
+and
+.BR http://doc.trolltech.com/i18n.html
+.SH AUTHOR
+This manual page was written by Ricardo J. Cárdenes Medina
+for the Debian GNU/Linux System (but may be used by others), based
+on Trolltech's <info@trolltech.com> manual page for lupdate
diff --git a/ubuntu/_base/dependencies/pytqt/debian/manpages/pyuic.1 b/ubuntu/_base/dependencies/pytqt/debian/manpages/pyuic.1
new file mode 100644
index 000000000..f1ffa41ff
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/manpages/pyuic.1
@@ -0,0 +1,74 @@
+.TH pyuic 1 "25 June 2001" \" -*- nroff -*-
+.SH NAME
+pyuic \- Qt user interface compiler for Python
+.SH SYNOPSIS
+.B pyuic
+[options] <uifile>
+.SH DESCRIPTION
+This page documents the
+.B Python User Interface Compiler
+for the Qt GUI application framework. The
+.B pyuic
+reads a user interface definition file (.ui) in XML as generated by Qt
+Designer and creates corresponding Python module.
+.PP
+.PP
+Generate implementation:
+.br
+.I "\fB pyuic [options] \fI<uifile>"
+.br
+.PP
+Generate image collection:
+.br
+.I "\fB pyuic [options] -embed \fI<project> <image1> <image2> <image3>\fP ..."
+.br
+ \fI<project>\fP: project name
+ \fI<image[1..n]>\fP: image files
+.br
+.PP
+Generate subclass implementation:
+.br
+.I "\fB pyuic [options] -subimpl <classname> \fI<uifile>"
+.br
+ \fI<classname>\fP: name of the subclass to generate
+.PP
+
+.SH GENERAL OPTIONS
+.TP
+.I "-o file"
+Write output to
+.I file
+rather than to stdout.
+.TP
+.I "-p indent"
+Set the Python
+.I indent
+in spaces (0 to use a tab)
+.TP
+.I "-tr func"
+Use
+.I func(...)
+rather than tr(...) for i18n.
+.TP
+.I -x
+Generate extra code to test the class
+.TP
+.I -test
+Generate extra code to test but not display the class
+.TP
+.I -version
+Display version of pyuic
+.TP
+.I -help
+Display this information
+
+.SH "SEE ALSO"
+.BR uic (1)
+
+.BR http://www.trolltech.com/
+
+.BR http://www.riverbankcomputing.co.uk/
+.SH AUTHOR
+This manual page was written by Ricardo J. Cárdenes Medina
+for the Debian GNU/Linux System (but may be used by others), based
+on Trolltech's <info@trolltech.com> manual page for uic
diff --git a/ubuntu/_base/dependencies/pytqt/debian/patches/debian_configure_changes.diff b/ubuntu/_base/dependencies/pytqt/debian/patches/debian_configure_changes.diff
new file mode 100644
index 000000000..131e9dbdc
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/patches/debian_configure_changes.diff
@@ -0,0 +1,95 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_configure.dpatch by Torsten Marek <shlomme@debian.org>
+##
+## DP: Add object directory build support to configure.py
+
+@DPATCH@
+Index: python-qt3-3.18.1/configure.py
+===================================================================
+--- python-qt3-3.18.1.orig/configure.py 2010-01-27 22:24:38.555856708 +0100
++++ python-qt3-3.18.1/configure.py 2010-01-27 22:41:45.876854625 +0100
+@@ -30,6 +30,7 @@
+
+ import sipconfig
+
++src_dir = os.path.dirname(os.path.abspath(__file__))
+
+ # Initialise the globals.
+ pyqt_version = 0x031201
+@@ -299,7 +300,7 @@
+
+ makefile = sipconfig.ProgramMakefile(
+ configuration=sipcfg,
+- build_file=buildfile,
++ build_file=os.path.join(src_dir, "pyuic3", buildfile),
+ dir="pyuic3",
+ install_dir=opt_pyqtbindir,
+ console=1,
+@@ -315,7 +316,8 @@
+
+ if qt_version < 0x030100:
+ makefile.extra_include_dirs.append(qt_dir + "/src/3rdparty/zlib")
+-
++ makefile.extra_include_dirs.append(os.path.join(src_dir, "pyuic3"))
++
+ makefile.generate()
+ tool_dirs.append("pyuic3")
+
+@@ -330,7 +332,7 @@
+
+ makefile = sipconfig.ProgramMakefile(
+ configuration=sipcfg,
+- build_file=buildfile,
++ build_file=os.path.join(src_dir, "pylupdate3", buildfile),
+ dir="pylupdate3",
+ install_dir=opt_pyqtbindir,
+ console=1,
+@@ -343,6 +345,8 @@
+ if prof or "qtxml" not in pyqt_modules:
+ makefile.extra_defines.append("QT_MODULE_XML")
+
++ makefile.extra_include_dirs.append(os.path.join(src_dir, "pylupdate3"))
++
+ makefile.generate()
+ tool_dirs.append("pylupdate3")
+ elif qt_version >= 0x020000:
+@@ -606,7 +610,7 @@
+ opengl is set if the application uses OpenGL.
+ """
+ # Check the module's main .sip file exists.
+- if os.access(os.path.join("sip", mname, mname + "mod.sip"), os.F_OK):
++ if os.access(os.path.join(src_dir, "sip", mname, mname + "mod.sip"), os.F_OK):
+ sipconfig.inform("Checking to see if the %s module should be built..." % mname)
+
+ if check_class(incfile, ctor, define, include_dir, lib_dir, lib, opengl):
+@@ -908,10 +912,10 @@
+ argv.append(buildfile)
+
+ argv.append("-I")
+- argv.append("sip")
++ argv.append(os.path.join(src_dir, "sip"))
+
+ # SIP assumes POSIX style path separators.
+- argv.append(string.join(["sip", mname, mname + "mod.sip"], "/"))
++ argv.append(string.join([src_dir, "sip", mname, mname + "mod.sip"], "/"))
+
+ os.system(string.join(argv))
+
+@@ -926,7 +930,7 @@
+ sipfiles = []
+
+ for s in glob.glob("sip/" + mname + "/*.sip"):
+- sipfiles.append(os.path.join("..", "sip", mname, os.path.basename(s)))
++ sipfiles.append(os.path.join(src_dir, "sip", mname, os.path.basename(s)))
+
+ installs.append([sipfiles, os.path.join(pyqt.sip_dir(), mname)])
+
+@@ -1433,7 +1437,7 @@
+ ).generate()
+
+ # Install the configuration module.
+- create_config("pyqtconfig.py", "pyqtconfig.py.in", macros)
++ create_config("pyqtconfig.py", os.path.join(src_dir, "pyqtconfig.py.in"), macros)
+
+
+ ###############################################################################
diff --git a/ubuntu/_base/dependencies/pytqt/debian/patches/series b/ubuntu/_base/dependencies/pytqt/debian/patches/series
new file mode 100644
index 000000000..573069d8d
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/patches/series
@@ -0,0 +1 @@
+# debian_configure_changes.diff
diff --git a/ubuntu/_base/dependencies/pytqt/debian/python-pytqt-gl.install b/ubuntu/_base/dependencies/pytqt/debian/python-pytqt-gl.install
new file mode 100644
index 000000000..75cf3ddfb
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/python-pytqt-gl.install
@@ -0,0 +1 @@
+usr/lib/python2.*/*-packages/PyTQt/qtgl.so
diff --git a/ubuntu/_base/dependencies/pytqt/debian/python-pytqt.install b/ubuntu/_base/dependencies/pytqt/debian/python-pytqt.install
new file mode 100644
index 000000000..d515b0bb8
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/python-pytqt.install
@@ -0,0 +1,7 @@
+usr/lib/python2.*/*-packages/PyTQt/qtcanvas.so
+usr/lib/python2.*/*-packages/PyTQt/qtnetwork.so
+usr/lib/python2.*/*-packages/PyTQt/qtsql.so
+usr/lib/python2.*/*-packages/PyTQt/qttable.so
+usr/lib/python2.*/*-packages/PyTQt/qtui.so
+usr/lib/python2.*/*-packages/PyTQt/qtxml.so
+usr/lib/python2.*/*-packages/PyTQt/qt.so
diff --git a/ubuntu/_base/dependencies/pytqt/debian/python-pytqtext.install b/ubuntu/_base/dependencies/pytqt/debian/python-pytqtext.install
new file mode 100644
index 000000000..09cdba01b
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/python-pytqtext.install
@@ -0,0 +1 @@
+usr/lib/python2.*/*-packages/PyTQt/qtext.so
diff --git a/ubuntu/_base/dependencies/pytqt/debian/python3-pytqt-gl.install b/ubuntu/_base/dependencies/pytqt/debian/python3-pytqt-gl.install
new file mode 100644
index 000000000..bf01fb211
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/python3-pytqt-gl.install
@@ -0,0 +1 @@
+usr/lib/python3*/*-packages/PyTQt/qtgl.so
diff --git a/ubuntu/_base/dependencies/pytqt/debian/python3-pytqt.install b/ubuntu/_base/dependencies/pytqt/debian/python3-pytqt.install
new file mode 100644
index 000000000..fa8e86b21
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/python3-pytqt.install
@@ -0,0 +1,7 @@
+usr/lib/python3*/*-packages/PyTQt/qtcanvas.so
+usr/lib/python3*/*-packages/PyTQt/qtnetwork.so
+usr/lib/python3*/*-packages/PyTQt/qtsql.so
+usr/lib/python3*/*-packages/PyTQt/qttable.so
+usr/lib/python3*/*-packages/PyTQt/qtui.so
+usr/lib/python3*/*-packages/PyTQt/qtxml.so
+usr/lib/python3*/*-packages/PyTQt/qt.so
diff --git a/ubuntu/_base/dependencies/pytqt/debian/python3-pytqtext.install b/ubuntu/_base/dependencies/pytqt/debian/python3-pytqtext.install
new file mode 100644
index 000000000..9f79185f4
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/python3-pytqtext.install
@@ -0,0 +1 @@
+usr/lib/python3*/*-packages/PyTQt/qtext.so
diff --git a/ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.dirs b/ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.dirs
new file mode 100644
index 000000000..735874a93
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.dirs
@@ -0,0 +1 @@
+usr/share/sip-tqt/tqt
diff --git a/ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.install b/ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.install
new file mode 100644
index 000000000..0f144be95
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.install
@@ -0,0 +1 @@
+sip/* usr/share/sip-tqt/tqt
diff --git a/ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.lintian-overrides b/ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.lintian-overrides
new file mode 100644
index 000000000..35f9687f5
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.lintian-overrides
@@ -0,0 +1,14 @@
+# lintian test overriden as the files tripping this error are put into the source
+# of the generated package. This is a false-positive
+
+pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qt/copying.sip
+pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtaxcontainer/copying.sip
+pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtcanvas/copying.sip
+pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtext/copying.sip
+pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtgl/copying.sip
+pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtnetwork/copying.sip
+pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtpe/copying.sip
+pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtsql/copying.sip
+pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qttable/copying.sip
+pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtui/copying.sip
+pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtxml/copying.sip
diff --git a/ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.dirs b/ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.dirs
new file mode 100644
index 000000000..8067955f9
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.dirs
@@ -0,0 +1,2 @@
+usr/share/doc/pytqt-doc/html
+usr/share/doc/pytqt-doc/examples
diff --git a/ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.examples b/ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.examples
new file mode 100644
index 000000000..c48447a3e
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.examples
@@ -0,0 +1,2 @@
+examples/*
+
diff --git a/ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.install b/ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.install
new file mode 100644
index 000000000..b5337b3a3
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.install
@@ -0,0 +1 @@
+doc/PyQt.html usr/share/doc/pytqt-doc/html
diff --git a/ubuntu/_base/dependencies/pytqt/debian/pytqt-tools.install b/ubuntu/_base/dependencies/pytqt/debian/pytqt-tools.install
new file mode 100644
index 000000000..1df36c612
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/pytqt-tools.install
@@ -0,0 +1 @@
+usr/bin/*
diff --git a/ubuntu/_base/dependencies/pytqt/debian/pytqt-tools.manpages b/ubuntu/_base/dependencies/pytqt/debian/pytqt-tools.manpages
new file mode 100644
index 000000000..7d27d0034
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/pytqt-tools.manpages
@@ -0,0 +1,2 @@
+debian/manpages/pylupdate.1
+debian/manpages/pyuic.1
diff --git a/ubuntu/_base/dependencies/pytqt/debian/rules b/ubuntu/_base/dependencies/pytqt/debian/rules
new file mode 100755
index 000000000..c9ff8c22f
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/rules
@@ -0,0 +1,215 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# The default gzip compressor has been changed in dpkg >= 1.17.0.
+deb_default_compress = $(shell LANG=C dpkg-deb --version | head -n1 | \
+ sed -e "s|.*version ||" -e "s| .*||" | \
+ xargs -r dpkg --compare-versions 1.17.0 lt \
+ && echo xz || echo gzip)
+ifeq ($(deb_default_compress),gzip)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+endif
+
+export DH_OPTIONS
+
+-include /usr/share/python/python.mk
+ifeq (,$(py_sitename))
+py_sitename = site-packages
+py_libdir = /usr/lib/python$(subst python,,$(1))/site-packages
+py_sitename_sh = $(py_sitename)
+py_libdir_sh = $(py_libdir)
+endif
+
+
+DOC=$(CURDIR)/debian/pytqt-doc/usr/share/doc/pytqt-doc
+INSTDIR=$(CURDIR)/debian
+
+export TQTDIR=/usr/share/tqt3
+export QMAKESPEC=$(TQTDIR)/mkspecs/linux-g++
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CXXFLAGS += -O0
+else
+ CXXFLAGS += -O1
+endif
+CXXFLAGS += "-I/usr/include/tqt"
+
+PYTHONS := $(shell pyversions -vr debian/control) $(shell py3versions -vd)
+
+DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
+DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
+
+DEB_PARALLEL_JOBS ?= 40
+
+.PRECIOUS: build-%/configure-stamp dbg-build-%/configure-stamp
+
+configure: $(PYTHONS:%=build-%/configure-stamp) $(PYTHONS:%=dbg-build-%/configure-stamp)
+
+build-%/configure-stamp:
+ dh_testdir
+ mkdir -p build-$*
+ cd build-$* && echo yes \
+ | python$* ../configure.py \
+ -c -n /usr/include/tqt3 \
+ -o /usr/lib/$(DEB_HOST_MULTIARCH) -u -j $(DEB_PARALLEL_JOBS) \
+ -d /usr/lib/python$*/$(call py_sitename,$*)/PyTQt \
+ -l /usr/include/python$* \
+ -v /usr/share/sip-tqt/tqt \
+ -m /usr/lib/python$*/config \
+ -z \
+ CXXFLAGS_RELEASE="" CXXFLAGS="${CXXFLAGS}" STRIP=""
+ touch $@
+
+dbg-build-%/configure-stamp:
+ dh_testdir
+ mkdir -p dbg-build-$*
+ cd dbg-build-$* && echo yes \
+ | python$*-dbg ../configure.py \
+ -c -n /usr/include/tqt3 \
+ -o /usr/lib/$(DEB_HOST_MULTIARCH) -u -j $(DEB_PARALLEL_JOBS) \
+ -d /usr/lib/python$*/$(call py_sitename,$*)/PyTQt \
+ -l /usr/include/python$*_d \
+ -v /usr/share/sip-tqt/tqt \
+ -m /usr/lib/python$*/config_d \
+ -z \
+ CXXFLAGS_RELEASE="" CXXFLAGS="-O0 -g -I/usr/include/tqt" STRIP=""
+ touch $@
+
+build build-arch: $(PYTHONS:%=build-%/build-stamp) $(PYTHONS:%=dbg-build-%/build-stamp)
+build-indep:
+
+build-%/build-stamp: build-%/configure-stamp
+ dh_testdir
+ $(MAKE) -C build-$*
+ touch $@
+
+dbg-build-%/build-stamp: dbg-build-%/configure-stamp
+ dh_testdir
+ $(MAKE) -C dbg-build-$*
+ touch $@
+
+install-indep: configure
+ dh_testdir
+ dh_testroot
+ dh_clean -k -i
+ dh_installdirs -i
+ for version in ${PYTHONS}; do\
+ pylib=$$(python$$version -c 'from distutils import sysconfig; print (sysconfig.get_python_lib())')/PyTQt;\
+ mkdir -p debian/pytqt-dev/$$pylib;\
+ install -m 644 -o root -g root build-$$version/pyqtconfig.py debian/pytqt-dev/$$pylib;\
+ done
+ dh_install -i
+
+install-arch: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k -a
+ dh_installdirs -a
+
+ for p in $(PYTHONS) ; do \
+ $(MAKE) -f debian/rules install-arch-$$p;\
+ done
+
+ dh_install -a --sourcedir=$(CURDIR)/debian/tmp
+
+ for i in $$(find debian/python-*-dbg -name '*.so'); do \
+ b=$$(basename $$i .so); \
+ mv $$i $$(dirname $$i)/$${b}_d.so; \
+ done
+ find debian/python-*-dbg ! -type d \
+ ! \( -name '*.so' -o -name '*config_d.py' \) | xargs rm -f
+ find debian/python-*-dbg -depth -type d -empty -exec rmdir {} \;
+
+ for i in $$(find debian/python3-*-dbg -name '*.so'); do \
+ b=$$(basename $$i .so); \
+ mv $$i $$(dirname $$i)/$${b}_d.so; \
+ done
+ find debian/python3-*-dbg ! -type d \
+ ! \( -name '*.so' -o -name '*config_d.py' \) | xargs rm -f
+ find debian/python3-*-dbg -depth -type d -empty -exec rmdir {} \;
+
+install-arch-3.%:
+ $(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp
+ $(MAKE) -C dbg-build-3.* install DESTDIR=$(CURDIR)/debian/python3-pytqt-dbg
+ mkdir -p debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt
+ cp -a debian/tmp/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py \
+ debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py
+ mkdir -p debian/python3-pytqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt
+ mv debian/python3-pytqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \
+ debian/python3-pytqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/
+ mkdir -p debian/python3-pytqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt
+ mv debian/python3-pytqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtext.so \
+ debian/python3-pytqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/
+
+install-arch-%:
+ $(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp
+ $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-pytqt-dbg
+ mkdir -p debian/python-pytqt/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt
+ cp -a debian/tmp/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/__init__.py \
+ debian/python-pytqt/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/__init__.py
+ mkdir -p debian/python-pytqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt
+ mv debian/python-pytqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \
+ debian/python-pytqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/
+ mkdir -p debian/python-pytqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt
+ mv debian/python-pytqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtext.so \
+ debian/python-pytqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -rf $(PYTHONS:%=build-%) $(PYTHONS:%=dbg-build-%)
+ rm -f *-stamp
+ dh_clean
+
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-indep
+# in another 'make' thread.
+binary-common:
+ dh_testdir
+ dh_testroot
+ dh_installman
+ dh_installchangelogs ChangeLog
+ dh_installdocs -A NEWS THANKS
+ dh_installexamples
+ dh_link
+ifeq (,$(findstring -i, $(DH_OPTIONS)))
+ DH_OPTIONS= dh_strip -ppytqt-tools
+ set -e; \
+ for p in python-pytqt python-pytqt-gl python-pytqtext \
+ python3-pytqt python3-pytqt-gl python3-pytqtext; do \
+ DH_OPTIONS= dh_strip -p$$p --dbg-package=$$p-dbg; \
+ rm -rf debian/$$p-dbg/usr/share/doc/$$p-dbg; \
+ ln -s $$p debian/$$p-dbg/usr/share/doc/$$p-dbg; \
+ done
+endif
+# dh_strip
+ dh_compress -X.py -X.bmp -X.ui -X.sql
+ dh_fixperms
+ifneq (dh_pysupport,${DH_PYTHON2})
+ ${DH_PYTHON2} --no-dbg-cleaning
+else
+ ${DH_PYTHON2}
+endif
+ dh_python3 --no-dbg-cleaning
+ dh_sip_tqt
+ dh_sip3_tqt
+ dh_lintian
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
+
+# Build architecture independant packages using the common target.
+binary-indep: install-indep
+ $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: install-arch
+ $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+
+binary: binary-arch binary-indep
+.PHONY: build build-arch clean binary-indep binary-arch binary configure
diff --git a/ubuntu/_base/dependencies/pytqt/debian/source/format b/ubuntu/_base/dependencies/pytqt/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/ubuntu/_base/dependencies/pytqt/debian/source/options b/ubuntu/_base/dependencies/pytqt/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/ubuntu/_base/dependencies/pytqt/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*