DEB python-tqt: Rename packages to pytqt.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/179/head
Slávek Banko 2 years ago
parent 16b5576ad3
commit 0de4c6c511
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1,4 +1,3 @@
DOCUMENTATION DOCUMENTATION
------------- -------------
You can find doc and examples about PyTQt in the package python-tqt-doc You can find doc and examples about PyTQt in the package pytqt-doc

@ -1,4 +1,4 @@
python-tqt (3.18.1-4ubuntu0) lucid; urgency=low pytqt (3.18.1-4ubuntu0) lucid; urgency=low
* Initial build * Initial build

@ -1,4 +1,4 @@
Source: python-tqt Source: pytqt
Section: python Section: python
Priority: optional Priority: optional
Maintainer: TDE Debian Team <team-debian@trinitydesktop.org> Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
@ -9,12 +9,12 @@ Standards-Version: 3.8.4
XS-Python-Version: >= 2.3 XS-Python-Version: >= 2.3
X-Python3-Version: >= 3.0 X-Python3-Version: >= 3.0
Package: python-tqt Package: python-pytqt
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python:Depends}, ${sip-tqt:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${python:Depends}, ${sip-tqt:Depends}, ${misc:Depends}
Replaces: python-tqt (<< 4:14.0.0~) Replaces: python-tqt
Breaks: python-tqt (<< 4:14.0.0~) Breaks: python-tqt
Suggests: python-tqt-gl, python-tqt-doc, libtqt3-mt-mysql|libtqt3-mt-odbc|libtqt3-mt-psql Suggests: python-pytqt-gl, pytqt-doc, libtqt3-mt-mysql|libtqt3-mt-odbc|libtqt3-mt-psql
Provides: ${python:Provides} Provides: ${python:Provides}
Description: TQt bindings for Python Description: TQt bindings for Python
Python binding module that allows use of TQt X Window toolkit v3. Python binding module that allows use of TQt X Window toolkit v3.
@ -26,13 +26,13 @@ Description: TQt bindings for Python
(types, etc), but usually you'll be able to write code pretty much the (types, etc), but usually you'll be able to write code pretty much the
same way in both languages (with syntax differences, of course) same way in both languages (with syntax differences, of course)
Package: python-tqt-dbg Package: python-pytqt-dbg
Architecture: any Architecture: any
Priority: extra Priority: extra
Replaces: python-tqt-dbg (<< 4:14.0.0~) Replaces: python-tqt-dbg
Breaks: python-tqt-dbg (<< 4:14.0.0~) Breaks: python-tqt-dbg
Section: debug Section: debug
Depends: ${shlibs:Depends}, python-all-dbg, python-tqt (= ${binary:Version}), python-sip-tqt-dbg, ${misc:Depends} Depends: ${shlibs:Depends}, python-all-dbg, python-pytqt (= ${binary:Version}), python-sip-tqt-dbg, ${misc:Depends}
Description: TQt bindings for Python (debug extension) Description: TQt bindings for Python (debug extension)
Python binding module that allows use of TQt X Window toolkit v3. Python binding module that allows use of TQt X Window toolkit v3.
You can use it to create portable graphics-capable scripts (there You can use it to create portable graphics-capable scripts (there
@ -40,11 +40,13 @@ Description: TQt bindings for Python (debug extension)
. .
This package contains the extension built for the Python debug interpreter. This package contains the extension built for the Python debug interpreter.
Package: python3-tqt Package: python3-pytqt
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python3:Depends}, ${sip3-tqt:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${python3:Depends}, ${sip3-tqt:Depends}, ${misc:Depends}
Suggests: python3-tqt-gl, python-tqt-doc, libtqt3-mt-mysql|libtqt3-mt-odbc|libtqt3-mt-psql Suggests: python3-pytqt-gl, pytqt-doc, libtqt3-mt-mysql|libtqt3-mt-odbc|libtqt3-mt-psql
Provides: ${python3:Provides} Provides: ${python3:Provides}
Replaces: python3-tqt
Breaks: python3-tqt
Description: TQt bindings for Python 3 Description: TQt bindings for Python 3
Python binding module that allows use of TQt X Window toolkit v3. Python binding module that allows use of TQt X Window toolkit v3.
You can use it to create portable graphics-capable scripts (there You can use it to create portable graphics-capable scripts (there
@ -55,11 +57,13 @@ Description: TQt bindings for Python 3
(types, etc), but usually you'll be able to write code pretty much the (types, etc), but usually you'll be able to write code pretty much the
same way in both languages (with syntax differences, of course) same way in both languages (with syntax differences, of course)
Package: python3-tqt-dbg Package: python3-pytqt-dbg
Architecture: any Architecture: any
Priority: extra Priority: extra
Section: debug Section: debug
Depends: ${shlibs:Depends}, python3-all-dbg, python3-tqt (= ${binary:Version}), python3-sip-tqt-dbg, ${misc:Depends} 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) Description: TQt bindings for Python 3 (debug extension)
Python binding module that allows use of TQt X Window toolkit v3. Python binding module that allows use of TQt X Window toolkit v3.
You can use it to create portable graphics-capable scripts (there You can use it to create portable graphics-capable scripts (there
@ -67,12 +71,12 @@ Description: TQt bindings for Python 3 (debug extension)
. .
This package contains the extension built for the Python debug interpreter. This package contains the extension built for the Python debug interpreter.
Package: python-tqt-gl Package: python-pytqt-gl
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python:Depends}, python-tqt (= ${binary:Version}), python-opengl (>= 2.0.1.09-2.2), ${misc:Depends} Depends: ${shlibs:Depends}, ${python:Depends}, python-pytqt (= ${binary:Version}), python-opengl (>= 2.0.1.09-2.2), ${misc:Depends}
Replaces: python-tqt-gl (<< 4:14.0.0~) Replaces: python-tqt-gl
Breaks: python-tqt-gl (<< 4:14.0.0~) Breaks: python-tqt-gl
Suggests: python-tqt-doc Suggests: pytqt-doc
Provides: ${python:Provides} Provides: ${python:Provides}
Description: TQt OpenGL bindings for Python Description: TQt OpenGL bindings for Python
Python binding module that allows use of the OpenGL facilities Python binding module that allows use of the OpenGL facilities
@ -80,13 +84,13 @@ Description: TQt OpenGL bindings for Python
portable graphics-capable scripts (there are PyTQt versions for portable graphics-capable scripts (there are PyTQt versions for
Linux, Windows and MacOS X). Linux, Windows and MacOS X).
Package: python-tqt-gl-dbg Package: python-pytqt-gl-dbg
Priority: extra Priority: extra
Section: debug Section: debug
Replaces: python-tqt-gl-dbg (<< 4:14.0.0~) Replaces: python-tqt-gl-dbg
Breaks: python-tqt-gl-dbg (<< 4:14.0.0~) Breaks: python-tqt-gl-dbg
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, python-all-dbg, python-tqt-gl (= ${binary:Version}), python-tqt-dbg (= ${binary:Version}), ${misc:Depends} 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) Description: TQt OpenGL bindings for Python (debug extension)
Python binding module that allows use of the OpenGL facilities Python binding module that allows use of the OpenGL facilities
offered by the TQt X Window toolkit v3. You can use it to create offered by the TQt X Window toolkit v3. You can use it to create
@ -95,22 +99,26 @@ Description: TQt OpenGL bindings for Python (debug extension)
. .
This package contains the extension built for the Python debug interpreter. This package contains the extension built for the Python debug interpreter.
Package: python3-tqt-gl Package: python3-pytqt-gl
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python3:Depends}, python3-tqt (= ${binary:Version}), python3-opengl, ${misc:Depends} Depends: ${shlibs:Depends}, ${python3:Depends}, python3-pytqt (= ${binary:Version}), python3-opengl, ${misc:Depends}
Suggests: python-tqt-doc Suggests: pytqt-doc
Provides: ${python3:Provides} Provides: ${python3:Provides}
Replaces: python3-tqt-gl
Breaks: python3-tqt-gl
Description: TQt OpenGL bindings for Python 3 Description: TQt OpenGL bindings for Python 3
Python binding module that allows use of the OpenGL facilities Python binding module that allows use of the OpenGL facilities
offered by the TQt X Window toolkit v3. You can use it to create offered by the TQt X Window toolkit v3. You can use it to create
portable graphics-capable scripts (there are PyTQt versions for portable graphics-capable scripts (there are PyTQt versions for
Linux, Windows and MacOS X). Linux, Windows and MacOS X).
Package: python3-tqt-gl-dbg Package: python3-pytqt-gl-dbg
Priority: extra Priority: extra
Section: debug Section: debug
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, python3-all-dbg, python3-tqt-gl (= ${binary:Version}), python3-tqt-dbg (= ${binary:Version}), ${misc:Depends} 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) Description: TQt OpenGL bindings for Python 3 (debug extension)
Python binding module that allows use of the OpenGL facilities Python binding module that allows use of the OpenGL facilities
offered by the TQt X Window toolkit v3. You can use it to create offered by the TQt X Window toolkit v3. You can use it to create
@ -119,11 +127,11 @@ Description: TQt OpenGL bindings for Python 3 (debug extension)
. .
This package contains the extension built for the Python debug interpreter. This package contains the extension built for the Python debug interpreter.
Package: python-tqtext Package: python-pytqtext
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python:Depends}, python-tqt (= ${binary:Version}), ${misc:Depends} Depends: ${shlibs:Depends}, ${python:Depends}, python-pytqt (= ${binary:Version}), ${misc:Depends}
Replaces: python-tqtext (<< 4:14.0.0~) Replaces: python-tqtext
Breaks: python-tqtext (<< 4:14.0.0~) Breaks: python-tqtext
Provides: ${python:Provides} Provides: ${python:Provides}
Description: TQt extensions for PyTQt Description: TQt extensions for PyTQt
PyTQt Extensions. Contains: PyTQt Extensions. Contains:
@ -131,34 +139,38 @@ Description: TQt extensions for PyTQt
* QScintilla: a featureful TQt source code editing component based * QScintilla: a featureful TQt source code editing component based
on Scintilla. on Scintilla.
Package: python-tqtext-dbg Package: python-pytqtext-dbg
Priority: extra Priority: extra
Section: debug Section: debug
Replaces: python-tqtext-dbg (<< 4:14.0.0~) Replaces: python-tqtext-dbg
Breaks: python-tqtext-dbg (<< 4:14.0.0~) Breaks: python-tqtext-dbg
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, python-all-dbg, python-tqtext (= ${binary:Version}), python-tqt-dbg (= ${binary:Version}), ${misc:Depends} Depends: ${shlibs:Depends}, python-all-dbg, python-pytqtext (= ${binary:Version}), python-pytqt-dbg (= ${binary:Version}), ${misc:Depends}
Description: TQt debug extensions for PyTQt Description: TQt debug extensions for PyTQt
PyTQt debug Extensions. Contains: PyTQt debug Extensions. Contains:
. .
* QScintilla: a featureful TQt source code editing component based * QScintilla: a featureful TQt source code editing component based
on Scintilla. on Scintilla.
Package: python3-tqtext Package: python3-pytqtext
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python3:Depends}, python3-tqt (= ${binary:Version}), ${misc:Depends} Depends: ${shlibs:Depends}, ${python3:Depends}, python3-pytqt (= ${binary:Version}), ${misc:Depends}
Provides: ${python3:Provides} Provides: ${python3:Provides}
Replaces: python3-tqtext
Breaks: python3-tqtext
Description: TQt extensions for PyTQt Description: TQt extensions for PyTQt
PyTQt Extensions. Contains: PyTQt Extensions. Contains:
. .
* QScintilla: a featureful TQt source code editing component based * QScintilla: a featureful TQt source code editing component based
on Scintilla. on Scintilla.
Package: python3-tqtext-dbg Package: python3-pytqtext-dbg
Priority: extra Priority: extra
Section: debug Section: debug
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, python3-all-dbg, python3-tqtext (= ${binary:Version}), python3-tqt-dbg (= ${binary:Version}), ${misc:Depends} 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 Description: TQt debug extensions for PyTQt
PyTQt debug Extensions. Contains: PyTQt debug Extensions. Contains:
. .
@ -177,24 +189,24 @@ Description: pyuic and pylupdate for TQt
pylupdate is the counterpart for TQt's lupdate. It updates TQt pylupdate is the counterpart for TQt's lupdate. It updates TQt
Linguist translation files from Python code. Linguist translation files from Python code.
Package: python-tqt-dev Package: pytqt-dev
Depends: python3-tqt (= ${binary:Version}) | python-tqt (= ${binary:Version}), ${python:Depends}, ${misc:Depends} Depends: python3-pytqt (= ${binary:Version}) | python-pytqt (= ${binary:Version}), ${misc:Depends}
Suggests: python3-sip-tqt-dev | python-sip-tqt-dev Suggests: python3-sip-tqt-dev | python-sip-tqt-dev
Replaces: python-tqt-dev (<< 4:14.0.0~) Replaces: python-tqt-dev
Breaks: python-tqt-dev (<< 4:14.0.0~) Breaks: python-tqt-dev
Architecture: all Architecture: all
Description: TQt bindings for Python - Development files Description: TQt bindings for Python - Development files
Development .sip files with definitions of PyTQt classes. They Development .sip files with definitions of PyTQt classes. They
are needed to build PyTQt, but also as building blocks of other are needed to build PyTQt, but also as building blocks of other
packages based on them, like PyTDE. packages based on them, like PyTDE.
Package: python-tqt-doc Package: pytqt-doc
Section: doc Section: doc
Architecture: all Architecture: all
Replaces: python-tqt-doc (<< 4:14.0.0~) Replaces: python-tqt-doc
Breaks: python-tqt-doc (<< 4:14.0.0~) Breaks: python-tqt-doc
Depends: ${misc:Depends} Depends: ${misc:Depends}
Suggests: python-tqt Suggests: python3-pytqt | python-pytqt
Description: TQt bindings for Python - Documentation and examples Description: TQt bindings for Python - Documentation and examples
Documentation and examples for the PyTQt (bindings that allow Documentation and examples for the PyTQt (bindings that allow
the use of TQt library from within a Python script). the use of TQt library from within a Python script).

@ -1,14 +0,0 @@
# lintian test overriden as the files tripping this error are put into the source
# of the generated package. This is a false-positive
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qt/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtaxcontainer/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtcanvas/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtext/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtgl/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtnetwork/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtpe/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtsql/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qttable/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtui/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtxml/copying.sip

@ -1,2 +0,0 @@
usr/share/doc/python-tqt-doc/html
usr/share/doc/python-tqt-doc/examples

@ -1 +0,0 @@
doc/PyQt.html usr/share/doc/python-tqt-doc/html

@ -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

@ -0,0 +1,2 @@
usr/share/doc/pytqt-doc/html
usr/share/doc/pytqt-doc/examples

@ -0,0 +1 @@
doc/PyQt.html usr/share/doc/pytqt-doc/html

@ -24,7 +24,7 @@ py_libdir_sh = $(py_libdir)
endif endif
DOC=$(CURDIR)/debian/python-tqt-doc/usr/share/doc/python-tqt-doc DOC=$(CURDIR)/debian/pytqt-doc/usr/share/doc/pytqt-doc
INSTDIR=$(CURDIR)/debian INSTDIR=$(CURDIR)/debian
export TQTDIR=/usr/share/tqt3 export TQTDIR=/usr/share/tqt3
@ -98,8 +98,8 @@ install-indep: configure
dh_installdirs -i dh_installdirs -i
for version in ${PYTHONS}; do\ for version in ${PYTHONS}; do\
pylib=$$(python$$version -c 'from distutils import sysconfig; print (sysconfig.get_python_lib())')/PyTQt;\ pylib=$$(python$$version -c 'from distutils import sysconfig; print (sysconfig.get_python_lib())')/PyTQt;\
mkdir -p debian/python-tqt-dev/$$pylib;\ mkdir -p debian/pytqt-dev/$$pylib;\
install -m 644 -o root -g root build-$$version/pyqtconfig.py debian/python-tqt-dev/$$pylib;\ install -m 644 -o root -g root build-$$version/pyqtconfig.py debian/pytqt-dev/$$pylib;\
done done
dh_install -i dh_install -i
@ -133,29 +133,29 @@ install-arch: build
install-arch-3.%: install-arch-3.%:
$(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp $(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp
$(MAKE) -C dbg-build-3.* install DESTDIR=$(CURDIR)/debian/python3-tqt-dbg $(MAKE) -C dbg-build-3.* install DESTDIR=$(CURDIR)/debian/python3-pytqt-dbg
mkdir -p debian/python3-tqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt 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 \ cp -a debian/tmp/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py \
debian/python3-tqt/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-tqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt mkdir -p debian/python3-pytqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt
mv debian/python3-tqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \ mv debian/python3-pytqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \
debian/python3-tqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/ debian/python3-pytqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/
mkdir -p debian/python3-tqtext-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-tqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtext.so \ mv debian/python3-pytqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtext.so \
debian/python3-tqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/ debian/python3-pytqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/
install-arch-%: install-arch-%:
$(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp $(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp
$(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-tqt-dbg $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-pytqt-dbg
mkdir -p debian/python-tqt/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt 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 \ cp -a debian/tmp/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/__init__.py \
debian/python-tqt/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-tqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt mkdir -p debian/python-pytqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt
mv debian/python-tqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \ mv debian/python-pytqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \
debian/python-tqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/ debian/python-pytqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/
mkdir -p debian/python-tqtext-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-tqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtext.so \ mv debian/python-pytqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtext.so \
debian/python-tqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/ debian/python-pytqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/
clean: clean:
dh_testdir dh_testdir
@ -178,7 +178,8 @@ binary-common:
ifeq (,$(findstring -i, $(DH_OPTIONS))) ifeq (,$(findstring -i, $(DH_OPTIONS)))
DH_OPTIONS= dh_strip -ppytqt-tools DH_OPTIONS= dh_strip -ppytqt-tools
set -e; \ set -e; \
for p in python-tqt python-tqt-gl python-tqtext; do \ 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; \ DH_OPTIONS= dh_strip -p$$p --dbg-package=$$p-dbg; \
rm -rf debian/$$p-dbg/usr/share/doc/$$p-dbg; \ rm -rf debian/$$p-dbg/usr/share/doc/$$p-dbg; \
ln -s $$p debian/$$p-dbg/usr/share/doc/$$p-dbg; \ ln -s $$p debian/$$p-dbg/usr/share/doc/$$p-dbg; \

@ -1,4 +1,3 @@
DOCUMENTATION DOCUMENTATION
------------- -------------
You can find doc and examples about PyTQt in the package python-tqt-doc You can find doc and examples about PyTQt in the package pytqt-doc

@ -1,4 +1,4 @@
python-tqt (3.18.1-4ubuntu0) lucid; urgency=low pytqt (3.18.1-4ubuntu0) lucid; urgency=low
* Initial build * Initial build

@ -1,4 +1,4 @@
Source: python-tqt Source: pytqt
Section: python Section: python
Priority: optional Priority: optional
Maintainer: TDE Debian Team <team-debian@trinitydesktop.org> Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
@ -9,12 +9,12 @@ Standards-Version: 3.8.4
XS-Python-Version: >= 2.3 XS-Python-Version: >= 2.3
X-Python3-Version: >= 3.0 X-Python3-Version: >= 3.0
Package: python-tqt Package: python-pytqt
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python:Depends}, ${sip:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${python:Depends}, ${sip:Depends}, ${misc:Depends}
Replaces: python-tqt (<< 4:14.0.0~) Replaces: python-tqt
Breaks: python-tqt (<< 4:14.0.0~) Breaks: python-tqt
Suggests: python-tqt-gl, python-tqt-doc, libtqt3-mt-mysql|libtqt3-mt-odbc|libtqt3-mt-psql Suggests: python-pytqt-gl, pytqt-doc, libtqt3-mt-mysql|libtqt3-mt-odbc|libtqt3-mt-psql
Provides: ${python:Provides} Provides: ${python:Provides}
Description: TQt bindings for Python Description: TQt bindings for Python
Python binding module that allows use of TQt X Window toolkit v3. Python binding module that allows use of TQt X Window toolkit v3.
@ -26,13 +26,13 @@ Description: TQt bindings for Python
(types, etc), but usually you'll be able to write code pretty much the (types, etc), but usually you'll be able to write code pretty much the
same way in both languages (with syntax differences, of course) same way in both languages (with syntax differences, of course)
Package: python-tqt-dbg Package: python-pytqt-dbg
Architecture: linux-any Architecture: linux-any
Priority: extra Priority: extra
Replaces: python-tqt-dbg (<< 4:14.0.0~) Replaces: python-tqt-dbg
Breaks: python-tqt-dbg (<< 4:14.0.0~) Breaks: python-tqt-dbg
Section: debug Section: debug
Depends: ${shlibs:Depends}, python-dbg, python-tqt (= ${binary:Version}), python-sip-tqt-dbg, ${misc:Depends} Depends: ${shlibs:Depends}, python-dbg, python-pytqt (= ${binary:Version}), python-sip-tqt-dbg, ${misc:Depends}
Description: TQt bindings for Python (debug extension) Description: TQt bindings for Python (debug extension)
Python binding module that allows use of TQt X Window toolkit v3. Python binding module that allows use of TQt X Window toolkit v3.
You can use it to create portable graphics-capable scripts (there You can use it to create portable graphics-capable scripts (there
@ -40,11 +40,13 @@ Description: TQt bindings for Python (debug extension)
. .
This package contains the extension built for the Python debug interpreter. This package contains the extension built for the Python debug interpreter.
Package: python3-tqt Package: python3-pytqt
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python3:Depends}, ${sip3-tqt:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${python3:Depends}, ${sip3-tqt:Depends}, ${misc:Depends}
Suggests: python3-tqt-gl, python-tqt-doc, libtqt3-mt-mysql|libtqt3-mt-odbc|libtqt3-mt-psql Suggests: python3-pytqt-gl, pytqt-doc, libtqt3-mt-mysql|libtqt3-mt-odbc|libtqt3-mt-psql
Provides: ${python3:Provides} Provides: ${python3:Provides}
Replaces: python3-tqt
Breaks: python3-tqt
Description: TQt bindings for Python 3 Description: TQt bindings for Python 3
Python binding module that allows use of TQt X Window toolkit v3. Python binding module that allows use of TQt X Window toolkit v3.
You can use it to create portable graphics-capable scripts (there You can use it to create portable graphics-capable scripts (there
@ -55,11 +57,13 @@ Description: TQt bindings for Python 3
(types, etc), but usually you'll be able to write code pretty much the (types, etc), but usually you'll be able to write code pretty much the
same way in both languages (with syntax differences, of course) same way in both languages (with syntax differences, of course)
Package: python3-tqt-dbg Package: python3-pytqt-dbg
Architecture: any Architecture: any
Priority: extra Priority: extra
Section: debug Section: debug
Depends: ${shlibs:Depends}, python3-all-dbg, python3-tqt (= ${binary:Version}), python3-sip-tqt-dbg, ${misc:Depends} 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) Description: TQt bindings for Python 3 (debug extension)
Python binding module that allows use of TQt X Window toolkit v3. Python binding module that allows use of TQt X Window toolkit v3.
You can use it to create portable graphics-capable scripts (there You can use it to create portable graphics-capable scripts (there
@ -67,12 +71,12 @@ Description: TQt bindings for Python 3 (debug extension)
. .
This package contains the extension built for the Python debug interpreter. This package contains the extension built for the Python debug interpreter.
Package: python-tqt-gl Package: python-pytqt-gl
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python:Depends}, python-tqt (= ${binary:Version}), python-opengl (>= 2.0.1.09-2.2), ${misc:Depends} Depends: ${shlibs:Depends}, ${python:Depends}, python-pytqt (= ${binary:Version}), python-opengl (>= 2.0.1.09-2.2), ${misc:Depends}
Replaces: python-tqt-gl (<< 4:14.0.0~) Replaces: python-tqt-gl
Breaks: python-tqt-gl (<< 4:14.0.0~) Breaks: python-tqt-gl
Suggests: python-tqt-doc Suggests: pytqt-doc
Provides: ${python:Provides} Provides: ${python:Provides}
Description: TQt OpenGL bindings for Python Description: TQt OpenGL bindings for Python
Python binding module that allows use of the OpenGL facilities Python binding module that allows use of the OpenGL facilities
@ -80,13 +84,13 @@ Description: TQt OpenGL bindings for Python
portable graphics-capable scripts (there are PyTQt versions for portable graphics-capable scripts (there are PyTQt versions for
Linux, Windows and MacOS X). Linux, Windows and MacOS X).
Package: python-tqt-gl-dbg Package: python-pytqt-gl-dbg
Priority: extra Priority: extra
Section: debug Section: debug
Replaces: python-tqt-gl-dbg (<< 4:14.0.0~) Replaces: python-tqt-gl-dbg
Breaks: python-tqt-gl-dbg (<< 4:14.0.0~) Breaks: python-tqt-gl-dbg
Architecture: linux-any Architecture: linux-any
Depends: ${shlibs:Depends}, python-dbg, python-tqt-gl (= ${binary:Version}), python-tqt-dbg (= ${binary:Version}), ${misc:Depends} Depends: ${shlibs:Depends}, python-dbg, python-pytqt-gl (= ${binary:Version}), python-pytqt-dbg (= ${binary:Version}), ${misc:Depends}
Description: TQt OpenGL bindings for Python (debug extension) Description: TQt OpenGL bindings for Python (debug extension)
Python binding module that allows use of the OpenGL facilities Python binding module that allows use of the OpenGL facilities
offered by the TQt X Window toolkit v3. You can use it to create offered by the TQt X Window toolkit v3. You can use it to create
@ -95,22 +99,26 @@ Description: TQt OpenGL bindings for Python (debug extension)
. .
This package contains the extension built for the Python debug interpreter. This package contains the extension built for the Python debug interpreter.
Package: python3-tqt-gl Package: python3-pytqt-gl
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python3:Depends}, python3-tqt (= ${binary:Version}), python3-opengl, ${misc:Depends} Depends: ${shlibs:Depends}, ${python3:Depends}, python3-pytqt (= ${binary:Version}), python3-opengl, ${misc:Depends}
Suggests: python-tqt-doc Suggests: pytqt-doc
Provides: ${python3:Provides} Provides: ${python3:Provides}
Replaces: python3-tqt-gl
Breaks: python3-tqt-gl
Description: TQt OpenGL bindings for Python 3 Description: TQt OpenGL bindings for Python 3
Python binding module that allows use of the OpenGL facilities Python binding module that allows use of the OpenGL facilities
offered by the TQt X Window toolkit v3. You can use it to create offered by the TQt X Window toolkit v3. You can use it to create
portable graphics-capable scripts (there are PyTQt versions for portable graphics-capable scripts (there are PyTQt versions for
Linux, Windows and MacOS X). Linux, Windows and MacOS X).
Package: python3-tqt-gl-dbg Package: python3-pytqt-gl-dbg
Priority: extra Priority: extra
Section: debug Section: debug
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, python3-all-dbg, python3-tqt-gl (= ${binary:Version}), python3-tqt-dbg (= ${binary:Version}), ${misc:Depends} 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) Description: TQt OpenGL bindings for Python 3 (debug extension)
Python binding module that allows use of the OpenGL facilities Python binding module that allows use of the OpenGL facilities
offered by the TQt X Window toolkit v3. You can use it to create offered by the TQt X Window toolkit v3. You can use it to create
@ -119,11 +127,11 @@ Description: TQt OpenGL bindings for Python 3 (debug extension)
. .
This package contains the extension built for the Python debug interpreter. This package contains the extension built for the Python debug interpreter.
Package: python-tqtext Package: python-pytqtext
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python:Depends}, python-tqt (= ${binary:Version}), ${misc:Depends} Depends: ${shlibs:Depends}, ${python:Depends}, python-pytqt (= ${binary:Version}), ${misc:Depends}
Replaces: python-tqtext (<< 4:14.0.0~) Replaces: python-tqtext
Breaks: python-tqtext (<< 4:14.0.0~) Breaks: python-tqtext
Provides: ${python:Provides} Provides: ${python:Provides}
Description: TQt extensions for PyTQt Description: TQt extensions for PyTQt
PyTQt Extensions. Contains: PyTQt Extensions. Contains:
@ -131,34 +139,38 @@ Description: TQt extensions for PyTQt
* QScintilla: a featureful TQt source code editing component based * QScintilla: a featureful TQt source code editing component based
on Scintilla. on Scintilla.
Package: python-tqtext-dbg Package: python-pytqtext-dbg
Priority: extra Priority: extra
Section: debug Section: debug
Replaces: python-tqtext-dbg (<< 4:14.0.0~) Replaces: python-tqtext-dbg
Breaks: python-tqtext-dbg (<< 4:14.0.0~) Breaks: python-tqtext-dbg
Architecture: linux-any Architecture: linux-any
Depends: ${shlibs:Depends}, python-dbg, python-tqtext (= ${binary:Version}), python-tqt-dbg (= ${binary:Version}), ${misc:Depends} Depends: ${shlibs:Depends}, python-dbg, python-pytqtext (= ${binary:Version}), python-pytqt-dbg (= ${binary:Version}), ${misc:Depends}
Description: TQt debug extensions for PyTQt Description: TQt debug extensions for PyTQt
PyTQt debug Extensions. Contains: PyTQt debug Extensions. Contains:
. .
* QScintilla: a featureful TQt source code editing component based * QScintilla: a featureful TQt source code editing component based
on Scintilla. on Scintilla.
Package: python3-tqtext Package: python3-pytqtext
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python3:Depends}, python3-tqt (= ${binary:Version}), ${misc:Depends} Depends: ${shlibs:Depends}, ${python3:Depends}, python3-pytqt (= ${binary:Version}), ${misc:Depends}
Provides: ${python3:Provides} Provides: ${python3:Provides}
Replaces: python3-tqtext
Breaks: python3-tqtext
Description: TQt extensions for PyTQt Description: TQt extensions for PyTQt
PyTQt Extensions. Contains: PyTQt Extensions. Contains:
. .
* QScintilla: a featureful TQt source code editing component based * QScintilla: a featureful TQt source code editing component based
on Scintilla. on Scintilla.
Package: python3-tqtext-dbg Package: python3-pytqtext-dbg
Priority: extra Priority: extra
Section: debug Section: debug
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, python3-all-dbg, python3-tqtext (= ${binary:Version}), python3-tqt-dbg (= ${binary:Version}), ${misc:Depends} 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 Description: TQt debug extensions for PyTQt
PyTQt debug Extensions. Contains: PyTQt debug Extensions. Contains:
. .
@ -177,24 +189,24 @@ Description: pyuic and pylupdate for TQt
pylupdate is the counterpart for TQt's lupdate. It updates TQt pylupdate is the counterpart for TQt's lupdate. It updates TQt
Linguist translation files from Python code. Linguist translation files from Python code.
Package: python-tqt-dev Package: pytqt-dev
Depends: python3-tqt (= ${binary:Version}) | python-tqt (= ${binary:Version}), ${python:Depends}, ${misc:Depends} Depends: python3-pytqt (= ${binary:Version}) | python-pytqt (= ${binary:Version}), ${misc:Depends}
Suggests: python3-sip-tqt-dev | python-sip-tqt-dev Suggests: python3-sip-tqt-dev | python-sip-tqt-dev
Replaces: python-tqt-dev (<< 4:14.0.0~) Replaces: python-tqt-dev
Breaks: python-tqt-dev (<< 4:14.0.0~) Breaks: python-tqt-dev
Architecture: all Architecture: all
Description: TQt bindings for Python - Development files Description: TQt bindings for Python - Development files
Development .sip files with definitions of PyTQt classes. They Development .sip files with definitions of PyTQt classes. They
are needed to build PyTQt, but also as building blocks of other are needed to build PyTQt, but also as building blocks of other
packages based on them, like PyTDE. packages based on them, like PyTDE.
Package: python-tqt-doc Package: pytqt-doc
Section: doc Section: doc
Architecture: all Architecture: all
Replaces: python-tqt-doc (<< 4:14.0.0~) Replaces: python-tqt-doc
Breaks: python-tqt-doc (<< 4:14.0.0~) Breaks: python-tqt-doc
Depends: ${misc:Depends} Depends: ${misc:Depends}
Suggests: python-tqt Suggests: python3-pytqt | python-pytqt
Description: TQt bindings for Python - Documentation and examples Description: TQt bindings for Python - Documentation and examples
Documentation and examples for the PyTQt (bindings that allow Documentation and examples for the PyTQt (bindings that allow
the use of TQt library from within a Python script). the use of TQt library from within a Python script).

@ -1,15 +0,0 @@
# lintian test overriden as the files tripping this error are put into the source
# of the generated package. This is a false-positive
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qt/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtaxcontainer/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtcanvas/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtext/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtgl/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtnetwork/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtpe/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtsql/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qttable/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtui/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtxml/copying.sip

@ -1,2 +0,0 @@
usr/share/doc/python-tqt-doc/html
usr/share/doc/python-tqt-doc/examples

@ -1 +0,0 @@
doc/PyQt.html usr/share/doc/python-tqt-doc/html

@ -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

@ -0,0 +1,2 @@
usr/share/doc/pytqt-doc/html
usr/share/doc/pytqt-doc/examples

@ -0,0 +1 @@
doc/PyQt.html usr/share/doc/pytqt-doc/html

@ -26,7 +26,7 @@ py_libdir_sh = $(py_libdir)
endif endif
DOC=$(CURDIR)/debian/python-tqt-doc/usr/share/doc/python-tqt-doc DOC=$(CURDIR)/debian/pytqt-doc/usr/share/doc/pytqt-doc
INSTDIR=$(CURDIR)/debian INSTDIR=$(CURDIR)/debian
export TQTDIR=/usr/share/tqt3 export TQTDIR=/usr/share/tqt3
@ -61,7 +61,7 @@ build-%/configure-stamp:
-o /usr/lib/$(DEB_HOST_MULTIARCH) -u -j $(DEB_PARALLEL_JOBS) \ -o /usr/lib/$(DEB_HOST_MULTIARCH) -u -j $(DEB_PARALLEL_JOBS) \
-d /usr/lib/python$*/$(call py_sitename,$*)/PyTQt \ -d /usr/lib/python$*/$(call py_sitename,$*)/PyTQt \
-l /usr/include/python$* \ -l /usr/include/python$* \
-v /usr/share/sip/tqt \ -v /usr/share/sip-tqt/tqt \
-m /usr/lib/python$*/config \ -m /usr/lib/python$*/config \
-z \ -z \
CXXFLAGS_RELEASE="" CXXFLAGS="${CXXFLAGS}" STRIP="" CXXFLAGS_RELEASE="" CXXFLAGS="${CXXFLAGS}" STRIP=""
@ -76,7 +76,7 @@ dbg-build-%/configure-stamp:
-o /usr/lib/$(DEB_HOST_MULTIARCH) -u -j $(DEB_PARALLEL_JOBS) \ -o /usr/lib/$(DEB_HOST_MULTIARCH) -u -j $(DEB_PARALLEL_JOBS) \
-d /usr/lib/python$*/$(call py_sitename,$*)/PyTQt \ -d /usr/lib/python$*/$(call py_sitename,$*)/PyTQt \
-l /usr/include/python$*_d \ -l /usr/include/python$*_d \
-v /usr/share/sip/tqt \ -v /usr/share/sip-tqt/tqt \
-m /usr/lib/python$*/config_d \ -m /usr/lib/python$*/config_d \
-z \ -z \
CXXFLAGS_RELEASE="" CXXFLAGS="-O0 -g -I/usr/include/tqt" STRIP="" CXXFLAGS_RELEASE="" CXXFLAGS="-O0 -g -I/usr/include/tqt" STRIP=""
@ -103,8 +103,8 @@ install-indep: configure
dh_installdirs -i dh_installdirs -i
for version in ${PYTHONS}; do\ for version in ${PYTHONS}; do\
pylib=$$(python$$version -c 'from distutils import sysconfig; print (sysconfig.get_python_lib())')/PyTQt;\ pylib=$$(python$$version -c 'from distutils import sysconfig; print (sysconfig.get_python_lib())')/PyTQt;\
mkdir -p debian/python-tqt-dev/$$pylib;\ mkdir -p debian/pytqt-dev/$$pylib;\
install -m 644 -o root -g root build-$$version/pyqtconfig.py debian/python-tqt-dev/$$pylib;\ install -m 644 -o root -g root build-$$version/pyqtconfig.py debian/pytqt-dev/$$pylib;\
done done
dh_install -i dh_install -i
@ -130,29 +130,29 @@ install-arch: build
install-arch-3.%: install-arch-3.%:
$(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp $(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp
# $(MAKE) -C dbg-build-3.* install DESTDIR=$(CURDIR)/debian/python3-tqt-dbg # $(MAKE) -C dbg-build-3.* install DESTDIR=$(CURDIR)/debian/python3-pytqt-dbg
mkdir -p debian/python3-tqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt 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 \ cp -a debian/tmp/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py \
debian/python3-tqt/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-tqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt # mkdir -p debian/python3-pytqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt
# mv debian/python3-tqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \ # mv debian/python3-pytqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \
# debian/python3-tqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/ # debian/python3-pytqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/
# mkdir -p debian/python3-tqtext-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-tqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtext.so \ # mv debian/python3-pytqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtext.so \
# debian/python3-tqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/ # debian/python3-pytqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/
install-arch-%: install-arch-%:
$(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp $(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp
# $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-tqt-dbg # $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-pytqt-dbg
mkdir -p debian/python-tqt/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt 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 \ cp -a debian/tmp/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/__init__.py \
debian/python-tqt/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-tqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt # mkdir -p debian/python-pytqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt
# mv debian/python-tqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \ # mv debian/python-pytqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \
# debian/python-tqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/ # debian/python-pytqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/
# mkdir -p debian/python-tqtext-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-tqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtext.so \ # mv debian/python-pytqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtext.so \
# debian/python-tqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/ # debian/python-pytqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/
clean: clean:
dh_testdir dh_testdir

@ -1,4 +1,3 @@
DOCUMENTATION DOCUMENTATION
------------- -------------
You can find doc and examples about PyTQt in the package python-tqt-doc You can find doc and examples about PyTQt in the package pytqt-doc

@ -1,4 +1,4 @@
python-tqt (3.18.1-4ubuntu0) lucid; urgency=low pytqt (3.18.1-4ubuntu0) lucid; urgency=low
* Initial build * Initial build

@ -1,4 +1,4 @@
Source: python-tqt Source: pytqt
Section: python Section: python
Priority: optional Priority: optional
Maintainer: TDE Debian Team <team-debian@trinitydesktop.org> Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
@ -9,12 +9,12 @@ Standards-Version: 3.8.4
XS-Python-Version: >= 2.3 XS-Python-Version: >= 2.3
X-Python3-Version: >= 3.0 X-Python3-Version: >= 3.0
Package: python-tqt Package: python-pytqt
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python:Depends}, ${sip-tqt:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${python:Depends}, ${sip-tqt:Depends}, ${misc:Depends}
Replaces: python-tqt (<< 4:14.0.0~) Replaces: python-tqt
Breaks: python-tqt (<< 4:14.0.0~) Breaks: python-tqt
Suggests: python-tqt-gl, python-tqt-doc, libtqt3-mt-mysql|libtqt3-mt-odbc|libtqt3-mt-psql Suggests: python-pytqt-gl, pytqt-doc, libtqt3-mt-mysql|libtqt3-mt-odbc|libtqt3-mt-psql
Provides: ${python:Provides} Provides: ${python:Provides}
Description: TQt bindings for Python Description: TQt bindings for Python
Python binding module that allows use of TQt X Window toolkit v3. Python binding module that allows use of TQt X Window toolkit v3.
@ -26,13 +26,13 @@ Description: TQt bindings for Python
(types, etc), but usually you'll be able to write code pretty much the (types, etc), but usually you'll be able to write code pretty much the
same way in both languages (with syntax differences, of course) same way in both languages (with syntax differences, of course)
Package: python-tqt-dbg Package: python-pytqt-dbg
Architecture: any Architecture: any
Priority: extra Priority: extra
Replaces: python-tqt-dbg (<< 4:14.0.0~) Replaces: python-tqt-dbg
Breaks: python-tqt-dbg (<< 4:14.0.0~) Breaks: python-tqt-dbg
Section: debug Section: debug
Depends: ${shlibs:Depends}, python-all-dbg, python-tqt (= ${binary:Version}), python-sip-tqt-dbg, ${misc:Depends} Depends: ${shlibs:Depends}, python-all-dbg, python-pytqt (= ${binary:Version}), python-sip-tqt-dbg, ${misc:Depends}
Description: TQt bindings for Python (debug extension) Description: TQt bindings for Python (debug extension)
Python binding module that allows use of TQt X Window toolkit v3. Python binding module that allows use of TQt X Window toolkit v3.
You can use it to create portable graphics-capable scripts (there You can use it to create portable graphics-capable scripts (there
@ -40,11 +40,13 @@ Description: TQt bindings for Python (debug extension)
. .
This package contains the extension built for the Python debug interpreter. This package contains the extension built for the Python debug interpreter.
Package: python3-tqt Package: python3-pytqt
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python3:Depends}, ${sip3-tqt:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${python3:Depends}, ${sip3-tqt:Depends}, ${misc:Depends}
Suggests: python3-tqt-gl, python-tqt-doc, libtqt3-mt-mysql|libtqt3-mt-odbc|libtqt3-mt-psql Suggests: python3-pytqt-gl, pytqt-doc, libtqt3-mt-mysql|libtqt3-mt-odbc|libtqt3-mt-psql
Provides: ${python3:Provides} Provides: ${python3:Provides}
Replaces: python3-tqt
Breaks: python3-tqt
Description: TQt bindings for Python 3 Description: TQt bindings for Python 3
Python binding module that allows use of TQt X Window toolkit v3. Python binding module that allows use of TQt X Window toolkit v3.
You can use it to create portable graphics-capable scripts (there You can use it to create portable graphics-capable scripts (there
@ -55,11 +57,13 @@ Description: TQt bindings for Python 3
(types, etc), but usually you'll be able to write code pretty much the (types, etc), but usually you'll be able to write code pretty much the
same way in both languages (with syntax differences, of course) same way in both languages (with syntax differences, of course)
Package: python3-tqt-dbg Package: python3-pytqt-dbg
Architecture: any Architecture: any
Priority: extra Priority: extra
Section: debug Section: debug
Depends: ${shlibs:Depends}, python3-all-dbg, python3-tqt (= ${binary:Version}), python3-sip-tqt-dbg, ${misc:Depends} 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) Description: TQt bindings for Python 3 (debug extension)
Python binding module that allows use of TQt X Window toolkit v3. Python binding module that allows use of TQt X Window toolkit v3.
You can use it to create portable graphics-capable scripts (there You can use it to create portable graphics-capable scripts (there
@ -67,12 +71,12 @@ Description: TQt bindings for Python 3 (debug extension)
. .
This package contains the extension built for the Python debug interpreter. This package contains the extension built for the Python debug interpreter.
Package: python-tqt-gl Package: python-pytqt-gl
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python:Depends}, python-tqt (= ${binary:Version}), python-opengl (>= 2.0.1.09-2.2), ${misc:Depends} Depends: ${shlibs:Depends}, ${python:Depends}, python-pytqt (= ${binary:Version}), python-opengl (>= 2.0.1.09-2.2), ${misc:Depends}
Replaces: python-tqt-gl (<< 4:14.0.0~) Replaces: python-tqt-gl
Breaks: python-tqt-gl (<< 4:14.0.0~) Breaks: python-tqt-gl
Suggests: python-tqt-doc Suggests: pytqt-doc
Provides: ${python:Provides} Provides: ${python:Provides}
Description: TQt OpenGL bindings for Python Description: TQt OpenGL bindings for Python
Python binding module that allows use of the OpenGL facilities Python binding module that allows use of the OpenGL facilities
@ -80,13 +84,13 @@ Description: TQt OpenGL bindings for Python
portable graphics-capable scripts (there are PyTQt versions for portable graphics-capable scripts (there are PyTQt versions for
Linux, Windows and MacOS X). Linux, Windows and MacOS X).
Package: python-tqt-gl-dbg Package: python-pytqt-gl-dbg
Priority: extra Priority: extra
Section: debug Section: debug
Replaces: python-tqt-gl-dbg (<< 4:14.0.0~) Replaces: python-tqt-gl-dbg
Breaks: python-tqt-gl-dbg (<< 4:14.0.0~) Breaks: python-tqt-gl-dbg
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, python-all-dbg, python-tqt-gl (= ${binary:Version}), python-tqt-dbg (= ${binary:Version}), ${misc:Depends} 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) Description: TQt OpenGL bindings for Python (debug extension)
Python binding module that allows use of the OpenGL facilities Python binding module that allows use of the OpenGL facilities
offered by the TQt X Window toolkit v3. You can use it to create offered by the TQt X Window toolkit v3. You can use it to create
@ -95,22 +99,26 @@ Description: TQt OpenGL bindings for Python (debug extension)
. .
This package contains the extension built for the Python debug interpreter. This package contains the extension built for the Python debug interpreter.
Package: python3-tqt-gl Package: python3-pytqt-gl
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python3:Depends}, python3-tqt (= ${binary:Version}), python3-opengl, ${misc:Depends} Depends: ${shlibs:Depends}, ${python3:Depends}, python3-pytqt (= ${binary:Version}), python3-opengl, ${misc:Depends}
Suggests: python-tqt-doc Suggests: pytqt-doc
Provides: ${python3:Provides} Provides: ${python3:Provides}
Replaces: python3-tqt-gl
Breaks: python3-tqt-gl
Description: TQt OpenGL bindings for Python 3 Description: TQt OpenGL bindings for Python 3
Python binding module that allows use of the OpenGL facilities Python binding module that allows use of the OpenGL facilities
offered by the TQt X Window toolkit v3. You can use it to create offered by the TQt X Window toolkit v3. You can use it to create
portable graphics-capable scripts (there are PyTQt versions for portable graphics-capable scripts (there are PyTQt versions for
Linux, Windows and MacOS X). Linux, Windows and MacOS X).
Package: python3-tqt-gl-dbg Package: python3-pytqt-gl-dbg
Priority: extra Priority: extra
Section: debug Section: debug
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, python3-all-dbg, python3-tqt-gl (= ${binary:Version}), python3-tqt-dbg (= ${binary:Version}), ${misc:Depends} 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) Description: TQt OpenGL bindings for Python 3 (debug extension)
Python binding module that allows use of the OpenGL facilities Python binding module that allows use of the OpenGL facilities
offered by the TQt X Window toolkit v3. You can use it to create offered by the TQt X Window toolkit v3. You can use it to create
@ -119,11 +127,11 @@ Description: TQt OpenGL bindings for Python 3 (debug extension)
. .
This package contains the extension built for the Python debug interpreter. This package contains the extension built for the Python debug interpreter.
Package: python-tqtext Package: python-pytqtext
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python:Depends}, python-tqt (= ${binary:Version}), ${misc:Depends} Depends: ${shlibs:Depends}, ${python:Depends}, python-pytqt (= ${binary:Version}), ${misc:Depends}
Replaces: python-tqtext (<< 4:14.0.0~) Replaces: python-tqtext
Breaks: python-tqtext (<< 4:14.0.0~) Breaks: python-tqtext
Provides: ${python:Provides} Provides: ${python:Provides}
Description: TQt extensions for PyTQt Description: TQt extensions for PyTQt
PyTQt Extensions. Contains: PyTQt Extensions. Contains:
@ -131,34 +139,38 @@ Description: TQt extensions for PyTQt
* QScintilla: a featureful TQt source code editing component based * QScintilla: a featureful TQt source code editing component based
on Scintilla. on Scintilla.
Package: python-tqtext-dbg Package: python-pytqtext-dbg
Priority: extra Priority: extra
Section: debug Section: debug
Replaces: python-tqtext-dbg (<< 4:14.0.0~) Replaces: python-tqtext-dbg
Breaks: python-tqtext-dbg (<< 4:14.0.0~) Breaks: python-tqtext-dbg
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, python-all-dbg, python-tqtext (= ${binary:Version}), python-tqt-dbg (= ${binary:Version}), ${misc:Depends} Depends: ${shlibs:Depends}, python-all-dbg, python-pytqtext (= ${binary:Version}), python-pytqt-dbg (= ${binary:Version}), ${misc:Depends}
Description: TQt debug extensions for PyTQt Description: TQt debug extensions for PyTQt
PyTQt debug Extensions. Contains: PyTQt debug Extensions. Contains:
. .
* QScintilla: a featureful TQt source code editing component based * QScintilla: a featureful TQt source code editing component based
on Scintilla. on Scintilla.
Package: python3-tqtext Package: python3-pytqtext
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python3:Depends}, python3-tqt (= ${binary:Version}), ${misc:Depends} Depends: ${shlibs:Depends}, ${python3:Depends}, python3-pytqt (= ${binary:Version}), ${misc:Depends}
Provides: ${python3:Provides} Provides: ${python3:Provides}
Replaces: python3-tqtext
Breaks: python3-tqtext
Description: TQt extensions for PyTQt Description: TQt extensions for PyTQt
PyTQt Extensions. Contains: PyTQt Extensions. Contains:
. .
* QScintilla: a featureful TQt source code editing component based * QScintilla: a featureful TQt source code editing component based
on Scintilla. on Scintilla.
Package: python3-tqtext-dbg Package: python3-pytqtext-dbg
Priority: extra Priority: extra
Section: debug Section: debug
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, python3-all-dbg, python3-tqtext (= ${binary:Version}), python3-tqt-dbg (= ${binary:Version}), ${misc:Depends} 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 Description: TQt debug extensions for PyTQt
PyTQt debug Extensions. Contains: PyTQt debug Extensions. Contains:
. .
@ -177,24 +189,24 @@ Description: pyuic and pylupdate for TQt
pylupdate is the counterpart for TQt's lupdate. It updates TQt pylupdate is the counterpart for TQt's lupdate. It updates TQt
Linguist translation files from Python code. Linguist translation files from Python code.
Package: python-tqt-dev Package: pytqt-dev
Depends: python3-tqt (= ${binary:Version}) | python-tqt (= ${binary:Version}), ${python:Depends}, ${misc:Depends} Depends: python3-pytqt (= ${binary:Version}) | python-pytqt (= ${binary:Version}), ${misc:Depends}
Suggests: python3-sip-tqt-dev | python-sip-tqt-dev Suggests: python3-sip-tqt-dev | python-sip-tqt-dev
Replaces: python-tqt-dev (<< 4:14.0.0~) Replaces: python-tqt-dev
Breaks: python-tqt-dev (<< 4:14.0.0~) Breaks: python-tqt-dev
Architecture: all Architecture: all
Description: TQt bindings for Python - Development files Description: TQt bindings for Python - Development files
Development .sip files with definitions of PyTQt classes. They Development .sip files with definitions of PyTQt classes. They
are needed to build PyTQt, but also as building blocks of other are needed to build PyTQt, but also as building blocks of other
packages based on them, like PyTDE. packages based on them, like PyTDE.
Package: python-tqt-doc Package: pytqt-doc
Section: doc Section: doc
Architecture: all Architecture: all
Replaces: python-tqt-doc (<< 4:14.0.0~) Replaces: python-tqt-doc
Breaks: python-tqt-doc (<< 4:14.0.0~) Breaks: python-tqt-doc
Depends: ${misc:Depends} Depends: ${misc:Depends}
Suggests: python-tqt Suggests: python3-pytqt | python-pytqt
Description: TQt bindings for Python - Documentation and examples Description: TQt bindings for Python - Documentation and examples
Documentation and examples for the PyTQt (bindings that allow Documentation and examples for the PyTQt (bindings that allow
the use of TQt library from within a Python script). the use of TQt library from within a Python script).

@ -1,14 +0,0 @@
# lintian test overriden as the files tripping this error are put into the source
# of the generated package. This is a false-positive
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qt/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtaxcontainer/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtcanvas/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtext/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtgl/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtnetwork/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtpe/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtsql/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qttable/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtui/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtxml/copying.sip

@ -1,2 +0,0 @@
usr/share/doc/python-tqt-doc/html
usr/share/doc/python-tqt-doc/examples

@ -1 +0,0 @@
doc/PyQt.html usr/share/doc/python-tqt-doc/html

@ -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

@ -0,0 +1,2 @@
usr/share/doc/pytqt-doc/html
usr/share/doc/pytqt-doc/examples

@ -0,0 +1 @@
doc/PyQt.html usr/share/doc/pytqt-doc/html

@ -24,7 +24,7 @@ py_libdir_sh = $(py_libdir)
endif endif
DOC=$(CURDIR)/debian/python-tqt-doc/usr/share/doc/python-tqt-doc DOC=$(CURDIR)/debian/pytqt-doc/usr/share/doc/pytqt-doc
INSTDIR=$(CURDIR)/debian INSTDIR=$(CURDIR)/debian
export TQTDIR=/usr/share/tqt3 export TQTDIR=/usr/share/tqt3
@ -98,8 +98,8 @@ install-indep: configure
dh_installdirs -i dh_installdirs -i
for version in ${PYTHONS}; do\ for version in ${PYTHONS}; do\
pylib=$$(python$$version -c 'from distutils import sysconfig; print (sysconfig.get_python_lib())')/PyTQt;\ pylib=$$(python$$version -c 'from distutils import sysconfig; print (sysconfig.get_python_lib())')/PyTQt;\
mkdir -p debian/python-tqt-dev/$$pylib;\ mkdir -p debian/pytqt-dev/$$pylib;\
install -m 644 -o root -g root build-$$version/pyqtconfig.py debian/python-tqt-dev/$$pylib;\ install -m 644 -o root -g root build-$$version/pyqtconfig.py debian/pytqt-dev/$$pylib;\
done done
dh_install -i dh_install -i
@ -133,29 +133,29 @@ install-arch: build
install-arch-3.%: install-arch-3.%:
$(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp $(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp
$(MAKE) -C dbg-build-3.* install DESTDIR=$(CURDIR)/debian/python3-tqt-dbg $(MAKE) -C dbg-build-3.* install DESTDIR=$(CURDIR)/debian/python3-pytqt-dbg
mkdir -p debian/python3-tqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt 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 \ cp -a debian/tmp/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py \
debian/python3-tqt/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-tqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt mkdir -p debian/python3-pytqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt
mv debian/python3-tqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \ mv debian/python3-pytqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \
debian/python3-tqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/ debian/python3-pytqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/
mkdir -p debian/python3-tqtext-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-tqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtext.so \ mv debian/python3-pytqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtext.so \
debian/python3-tqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/ debian/python3-pytqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/
install-arch-%: install-arch-%:
$(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp $(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp
$(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-tqt-dbg $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-pytqt-dbg
mkdir -p debian/python-tqt/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt 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 \ cp -a debian/tmp/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/__init__.py \
debian/python-tqt/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-tqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt mkdir -p debian/python-pytqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt
mv debian/python-tqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \ mv debian/python-pytqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \
debian/python-tqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/ debian/python-pytqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/
mkdir -p debian/python-tqtext-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-tqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtext.so \ mv debian/python-pytqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtext.so \
debian/python-tqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/ debian/python-pytqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/
clean: clean:
dh_testdir dh_testdir
@ -178,7 +178,8 @@ binary-common:
ifeq (,$(findstring -i, $(DH_OPTIONS))) ifeq (,$(findstring -i, $(DH_OPTIONS)))
DH_OPTIONS= dh_strip -ppytqt-tools DH_OPTIONS= dh_strip -ppytqt-tools
set -e; \ set -e; \
for p in python-tqt python-tqt-gl python-tqtext; do \ 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; \ DH_OPTIONS= dh_strip -p$$p --dbg-package=$$p-dbg; \
rm -rf debian/$$p-dbg/usr/share/doc/$$p-dbg; \ rm -rf debian/$$p-dbg/usr/share/doc/$$p-dbg; \
ln -s $$p debian/$$p-dbg/usr/share/doc/$$p-dbg; \ ln -s $$p debian/$$p-dbg/usr/share/doc/$$p-dbg; \

Loading…
Cancel
Save