summaryrefslogtreecommitdiffstats
path: root/ubuntu
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2014-01-18 15:43:42 +0100
committerSlávek Banko <[email protected]>2014-01-18 15:43:42 +0100
commit35cbc51a3b1ef1ad7a619826d3877b37f6da515b (patch)
tree26c1373fb17efac30a261fec86040bc4f21aaa56 /ubuntu
parent260bfe4337a99cbaf4a14c44e170f07083a7d97c (diff)
downloadtde-packaging-35cbc51a3b1ef1ad7a619826d3877b37f6da515b.tar.gz
tde-packaging-35cbc51a3b1ef1ad7a619826d3877b37f6da515b.zip
Build sip4-tqt as python module on Debian and Ubuntu
Diffstat (limited to 'ubuntu')
-rw-r--r--ubuntu/maverick/dependencies/sip4-tqt/debian/control84
-rw-r--r--[-rwxr-xr-x]ubuntu/maverick/dependencies/sip4-tqt/debian/dh_sip_tqt (renamed from ubuntu/maverick/dependencies/sip4-tqt/debian/dh_sip)8
-rw-r--r--ubuntu/maverick/dependencies/sip4-tqt/debian/manpages/dh_sip_tqt.1 (renamed from ubuntu/precise/dependencies/sip4-tqt/debian/manpages/dh_sip.1)10
-rw-r--r--ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-dev.links1
-rw-r--r--ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-dev.manpages2
-rw-r--r--ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-tqt-dev.docs (renamed from ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-dev.docs)0
-rw-r--r--ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-tqt-dev.install (renamed from ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-dev.install)0
-rw-r--r--ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-tqt-dev.links1
-rw-r--r--ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-tqt-dev.manpages2
-rw-r--r--ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-tqt.install1
-rw-r--r--ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip.install1
-rwxr-xr-xubuntu/maverick/dependencies/sip4-tqt/debian/rules51
-rw-r--r--ubuntu/maverick/dependencies/sip4-tqt/debian/sipconfig.py2
-rw-r--r--ubuntu/precise/dependencies/sip4-tqt/debian/control84
-rw-r--r--[-rwxr-xr-x]ubuntu/precise/dependencies/sip4-tqt/debian/dh_sip_tqt (renamed from ubuntu/precise/dependencies/sip4-tqt/debian/dh_sip)8
-rw-r--r--ubuntu/precise/dependencies/sip4-tqt/debian/manpages/dh_sip_tqt.1 (renamed from ubuntu/maverick/dependencies/sip4-tqt/debian/manpages/dh_sip.1)10
-rw-r--r--ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-dev.links1
-rw-r--r--ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-dev.manpages2
-rw-r--r--ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-tqt-dev.docs (renamed from ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-dev.docs)0
-rw-r--r--ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-tqt-dev.install (renamed from ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-dev.install)0
-rw-r--r--ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-tqt-dev.links1
-rw-r--r--ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-tqt-dev.manpages2
-rw-r--r--ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-tqt.install1
-rw-r--r--ubuntu/precise/dependencies/sip4-tqt/debian/python-sip.install1
-rwxr-xr-xubuntu/precise/dependencies/sip4-tqt/debian/rules51
-rw-r--r--ubuntu/precise/dependencies/sip4-tqt/debian/sipconfig.py2
-rw-r--r--ubuntu/raring/dependencies/sip4-tqt/debian/control84
-rw-r--r--[-rwxr-xr-x]ubuntu/raring/dependencies/sip4-tqt/debian/dh_sip_tqt (renamed from ubuntu/raring/dependencies/sip4-tqt/debian/dh_sip)8
-rw-r--r--ubuntu/raring/dependencies/sip4-tqt/debian/manpages/dh_sip_tqt.1 (renamed from ubuntu/raring/dependencies/sip4-tqt/debian/manpages/dh_sip.1)10
-rw-r--r--ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-dev.links1
-rw-r--r--ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-dev.manpages2
-rw-r--r--ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-tqt-dev.docs (renamed from ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-dev.docs)0
-rw-r--r--ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-tqt-dev.install (renamed from ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-dev.install)0
-rw-r--r--ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-tqt-dev.links1
-rw-r--r--ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-tqt-dev.manpages2
-rw-r--r--ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-tqt.install1
-rw-r--r--ubuntu/raring/dependencies/sip4-tqt/debian/python-sip.install1
-rwxr-xr-xubuntu/raring/dependencies/sip4-tqt/debian/rules51
-rw-r--r--ubuntu/raring/dependencies/sip4-tqt/debian/sipconfig.py2
39 files changed, 162 insertions, 327 deletions
diff --git a/ubuntu/maverick/dependencies/sip4-tqt/debian/control b/ubuntu/maverick/dependencies/sip4-tqt/debian/control
index 6559a92b2..bc0f49bc7 100644
--- a/ubuntu/maverick/dependencies/sip4-tqt/debian/control
+++ b/ubuntu/maverick/dependencies/sip4-tqt/debian/control
@@ -8,11 +8,11 @@ Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-10), python-all-dbg, p
Standards-Version: 3.8.4
XS-Python-Version: all
-Package: python-sip
+Package: python-sip-tqt
Architecture: any
Section: python
-Replaces: python-sip (<< 4:14.0.0~)
-Breaks: python-sip (<< 4:14.0.0~)
+Replaces: python-sip-tqt (<< 4:14.0.0~)
+Breaks: python-sip-tqt (<< 4:14.0.0~)
Provides: ${python:Provides}, sip-api-7.0, sip-api-7.1
Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
Conflicts: python-sip4 (<< 4.10)
@@ -21,14 +21,14 @@ Description: Python/C++ bindings generator runtime library
borrowed from SWIG, but capable of tighter bindings because of its
specificity towards C++ and Python.
-Package: python-sip-dbg
+Package: python-sip-tqt-dbg
Priority: extra
Architecture: any
-Replaces: python-sip-dbg (<< 4:14.0.0~)
-Breaks: python-sip-dbg (<< 4:14.0.0~)
+Replaces: python-sip-tqt-dbg (<< 4:14.0.0~)
+Breaks: python-sip-tqt-dbg (<< 4:14.0.0~)
Section: debug
Provides: ${python:Provides}
-Depends: python-sip (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}
+Depends: python-sip-tqt (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}
Conflicts: python-sip4-dbg (<< 4.10)
Description: Python/C++ bindings generator runtime library (debug extension)
SIP is a tool for generating bindings for C++ classes with some ideas
@@ -37,15 +37,15 @@ Description: Python/C++ bindings generator runtime library (debug extension)
.
This package contains the extension built for the Python debug interpreter.
-Package: python-sip-dev
+Package: python-sip-tqt-dev
Architecture: any
Section: python
-Replaces: python-sip-dev (<< 4:14.0.0~)
-Breaks: python-sip-dev (<< 4:14.0.0~)
-Depends: ${python:Depends}, python-sip (= ${binary:Version}), python-dev, ${shlibs:Depends}, libjs-jquery, ${misc:Depends}
-Recommends: python-sip (>= ${source:Version})
-Provides: python-sip4-dev, sip4
-Conflicts: python-sip4-dev (<< 4.10), sip4 (<< 4.10)
+Replaces: python-sip-tqt-dev (<< 4:14.0.0~)
+Breaks: python-sip-tqt-dev (<< 4:14.0.0~)
+Depends: ${python:Depends}, python-sip-tqt (= ${binary:Version}), python-dev, ${shlibs:Depends}, libjs-jquery, ${misc:Depends}
+Recommends: python-sip-tqt (>= ${source:Version})
+Provides: python-sip-dev, python-sip4-dev, sip4
+Conflicts: python-sip-dev, python-sip4-dev (<< 4.10), sip4 (<< 4.10)
Description: Python/C++ bindings generator development files
SIP is a tool for generating bindings for C++ classes with some ideas
borrowed from SWIG, but capable of tighter bindings because of its
@@ -68,59 +68,3 @@ Description: Python/C++ bindings generator development files
This package contains the code generator tool and the development headers
needed to develop Python bindings with sip.
-Package: python-sip4
-Architecture: all
-Section: python
-Replaces: python-sip4 (<< 4:14.0.0~)
-Breaks: python-sip4 (<< 4:14.0.0~)
-Depends: python-sip, ${misc:Depends}
-Description: Python/C++ bindings generator runtime library (transitional package)
- SIP is a tool for generating bindings for C++ classes with some ideas
- borrowed from SWIG, but capable of tighter bindings because of its
- specificity towards C++ and Python.
- .
- This is a transitional package that depends on python-sip.
- It can be safely removed.
-
-Package: sip4
-Architecture: all
-Section: python
-Replaces: sip4 (<< 4:14.0.0~)
-Breaks: sip4 (<< 4:14.0.0~)
-Depends: python-sip-dev, ${misc:Depends}
-Description: Python/C++ bindings generator (transitional package)
- SIP is a tool for generating bindings for C++ classes with some ideas
- borrowed from SWIG, but capable of tighter bindings because of its
- specificity towards C++ and Python.
- .
- This is a transitional package that depends on python-sip-dev.
- It can be safely removed.
-
-Package: python-sip4-dev
-Architecture: all
-Section: python
-Replaces: python-sip4-dev (<< 4:14.0.0~)
-Breaks: python-sip4-dev (<< 4:14.0.0~)
-Depends: python-sip-dev, ${misc:Depends}
-Description: Python/C++ bindings generator development files (transitional package)
- SIP is a tool for generating bindings for C++ classes with some ideas
- borrowed from SWIG, but capable of tighter bindings because of its
- specificity towards C++ and Python.
- .
- This is a transitional package that depends on python-sip-dev.
- It can be safely removed.
-
-Package: python-sip4-dbg
-Architecture: all
-Section: debug
-Replaces: python-sip4-dbg (<< 4:14.0.0~)
-Breaks: python-sip4-dbg (<< 4:14.0.0~)
-Priority: extra
-Depends: python-sip-dbg, ${misc:Depends}
-Description: Python/C++ bindings generator runtime library (debug, transitional package)
- SIP is a tool for generating bindings for C++ classes with some ideas
- borrowed from SWIG, but capable of tighter bindings because of its
- specificity towards C++ and Python.
- .
- This is a transitional package that depends on python-sip-dev.
- It can be safely removed.
diff --git a/ubuntu/maverick/dependencies/sip4-tqt/debian/dh_sip b/ubuntu/maverick/dependencies/sip4-tqt/debian/dh_sip_tqt
index 54d861884..b1a8c19e3 100755..100644
--- a/ubuntu/maverick/dependencies/sip4-tqt/debian/dh_sip
+++ b/ubuntu/maverick/dependencies/sip4-tqt/debian/dh_sip_tqt
@@ -2,7 +2,7 @@
=head1 NAME
-dh_sip - set the correct dependencies for Python packages using sip
+dh_sip_tqt - set the correct dependencies for Python packages using sip
=cut
@@ -11,11 +11,11 @@ use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
-B<dh_sip>
+B<dh_sip_tqt>
=head1 DESCRIPTION
-dh_sip creates the ${sip:Depends} substitution variable which must be used by
+dh_sip_tqt creates the ${sip:Depends} substitution variable which must be used by
Python extensions built with sip in order to depend on a version of python-sip
that exports the correct public API.
@@ -23,7 +23,7 @@ that exports the correct public API.
init();
-my $sip_provides = `dpkg -s python-sip`;
+my $sip_provides = `dpkg -s python-sip-tqt`;
$sip_provides =~ /^Provides:\s*(.+)$/m;
my @sip_apis = sort(grep(/sip\-api/, split(/,\s*/, $1)));
diff --git a/ubuntu/precise/dependencies/sip4-tqt/debian/manpages/dh_sip.1 b/ubuntu/maverick/dependencies/sip4-tqt/debian/manpages/dh_sip_tqt.1
index 989c5fc3c..ea429fe9a 100644
--- a/ubuntu/precise/dependencies/sip4-tqt/debian/manpages/dh_sip.1
+++ b/ubuntu/maverick/dependencies/sip4-tqt/debian/manpages/dh_sip_tqt.1
@@ -123,20 +123,20 @@
.rm #[ #] #H #V #F C
.\" ========================================================================
.\"
-.IX Title "DH_SIP 1"
-.TH DH_SIP 1 "2010-02-02" "perl v5.10.1" "User Contributed Perl Documentation"
+.IX Title "DH_SIP_TQT 1"
+.TH DH_SIP_TQT 1 "2010-02-02" "perl v5.10.1" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
-dh_sip \- set the correct dependencies for Python packages using sip
+dh_sip_tqt \- set the correct dependencies for Python packages using sip
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
-\&\fBdh_sip\fR
+\&\fBdh_sip_tqt\fR
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
-dh_sip creates the ${sip:Depends} substitution variable which must be used by
+dh_sip_tqt creates the ${sip:Depends} substitution variable which must be used by
Python extensions built with sip in order to depend on a version of python-sip
that exports the correct public \s-1API\s0.
.SH "SEE ALSO"
diff --git a/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-dev.links b/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-dev.links
deleted file mode 100644
index 26a9ded9b..000000000
--- a/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-dev.links
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/javascript/jquery/jquery.js usr/share/doc/python-sip-dev/html/_static/jquery.js
diff --git a/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-dev.manpages b/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-dev.manpages
deleted file mode 100644
index a4e96a394..000000000
--- a/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-dev.manpages
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/manpages/sip.1
-debian/manpages/dh_sip.1
diff --git a/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-dev.docs b/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-tqt-dev.docs
index 416a453aa..416a453aa 100644
--- a/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-dev.docs
+++ b/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-tqt-dev.docs
diff --git a/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-dev.install b/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-tqt-dev.install
index 1df36c612..1df36c612 100644
--- a/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-dev.install
+++ b/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-tqt-dev.install
diff --git a/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-tqt-dev.links b/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-tqt-dev.links
new file mode 100644
index 000000000..fdd5af4cc
--- /dev/null
+++ b/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-tqt-dev.links
@@ -0,0 +1 @@
+usr/share/javascript/jquery/jquery.js usr/share/doc/python-sip-tqt-dev/html/_static/jquery.js
diff --git a/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-tqt-dev.manpages b/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-tqt-dev.manpages
new file mode 100644
index 000000000..ba33bb512
--- /dev/null
+++ b/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-tqt-dev.manpages
@@ -0,0 +1,2 @@
+debian/manpages/sip.1
+debian/manpages/dh_sip_tqt.1
diff --git a/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-tqt.install b/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-tqt.install
new file mode 100644
index 000000000..9639c2814
--- /dev/null
+++ b/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip-tqt.install
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/sip4_tqt/sip.so
diff --git a/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip.install b/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip.install
deleted file mode 100644
index f43a3a265..000000000
--- a/ubuntu/maverick/dependencies/sip4-tqt/debian/python-sip.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python*/*-packages/sip.so
diff --git a/ubuntu/maverick/dependencies/sip4-tqt/debian/rules b/ubuntu/maverick/dependencies/sip4-tqt/debian/rules
index 641b5cabd..df0c6da05 100755
--- a/ubuntu/maverick/dependencies/sip4-tqt/debian/rules
+++ b/ubuntu/maverick/dependencies/sip4-tqt/debian/rules
@@ -40,7 +40,7 @@ build-%/configure-stamp:
mkdir -p build-$*
cd build-$* \
&& python$* ../configure.py \
- -d /usr/lib/python$*/$(call py_sitename,$*) \
+ -d /usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt \
-u STRIP="" CFLAGS="${CFLAGS} -I/usr/include/tqt -I/usr/include/tqt3 -I/usr/include/qt3" CFLAGS_RELEASE="" CXXFLAGS="${CFLAGS} -I/usr/include/tqt -I/usr/include/tqt3 -I/usr/include/qt3" CXXFLAGS_RELEASE=""
touch $@
@@ -49,7 +49,7 @@ dbg-build-%/configure-stamp:
mkdir -p dbg-build-$*
cd dbg-build-$* \
&& python$*-dbg ../configure.py \
- -d /usr/lib/python$*/$(call py_sitename,$*) \
+ -d /usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt \
-e /usr/include/python$*_d \
-u CFLAGS="-O0 -g -I/usr/include/tqt -I/usr/include/tqt3 -I/usr/include/qt3" CFLAGS_RELEASE="" CXXFLAGS="-O0 -g -I/usr/include/tqt -I/usr/include/tqt3 -I/usr/include/qt3" CXXFLAGS_RELEASE="" STRIP=""
touch $@
@@ -88,35 +88,36 @@ install-arch: build
$(MAKE) -f debian/rules install-arch-$$p;\
done
- for i in $$(find debian/python-sip-dbg -name '*.so'); do \
+ for i in $$(find debian/python-sip-tqt-dbg -name '*.so'); do \
b=$$(basename $$i .so); \
mv $$i $$(dirname $$i)/$${b}_d.so; \
done
- find debian/python-sip-dbg ! -type d ! -name '*_d.*' | xargs rm -f
- find debian/python-sip-dbg -depth -empty -exec rmdir {} \;
+ find debian/python-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f
+ find debian/python-sip-tqt-dbg -depth -empty -exec rmdir {} \;
dh_install -a --sourcedir=$(CURDIR)/debian/tmp
- install -m 755 -o root -g root debian/dh_sip debian/python-sip-dev/usr/bin
+ install -m 755 -o root -g root debian/dh_sip_tqt debian/python-sip-tqt-dev/usr/bin
install-arch-%:
$(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp
- $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-sip-dbg
- mkdir -p debian/python-sip/usr/lib/python$*/$(call py_sitename,$*)/
- install -m 644 -o root -g root debian/sipconfig.py debian/python-sip/usr/lib/python$*/$(call py_sitename,$*)/
- install -m 644 -o root -g root build-$*/sipconfig.py debian/python-sip/usr/lib/python$*/$(call py_sitename,$*)/sipconfig_nd.py
+ $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-sip-tqt-dbg
+ mkdir -p debian/python-sip-tqt/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt/
+ touch debian/python-sip-tqt/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt/__init__.py
+ install -m 644 -o root -g root debian/sipconfig.py debian/python-sip-tqt/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt/
+ install -m 644 -o root -g root build-$*/sipconfig.py debian/python-sip-tqt/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt/sipconfig_nd.py
ifneq (dh_pysupport,${DH_PYTHON2})
# install *_d.py into wrong package to prevent deletion in dh_python2
- install -m 644 -o root -g root dbg-build-$*/sipconfig.py debian/python-sip/usr/lib/python$*/$(call py_sitename,$*)/sipconfig_d.py
+ install -m 644 -o root -g root dbg-build-$*/sipconfig.py debian/python-sip-tqt/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt/sipconfig_d.py
else
- install -m 644 -o root -g root dbg-build-$*/sipconfig.py debian/python-sip-dbg/usr/lib/python$*/$(call py_sitename,$*)/sipconfig_d.py
+ install -m 644 -o root -g root dbg-build-$*/sipconfig.py debian/python-sip-tqt-dbg/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt/sipconfig_d.py
endif
- mkdir -p debian/python-sip-dev/usr/include/python$*
- install -m 644 -o root -g root siplib/sip.h debian/python-sip-dev/usr/include/python$*/
- mkdir -p debian/python-sip-dev/usr/include/python$*_d
+ mkdir -p debian/python-sip-tqt-dev/usr/include/python$*
+ install -m 644 -o root -g root siplib/sip.h debian/python-sip-tqt-dev/usr/include/python$*/
+ mkdir -p debian/python-sip-tqt-dev/usr/include/python$*_d
ln -s ../python$*/sip.h \
- debian/python-sip-dev/usr/include/python$*_d/sip.h
- mkdir -p debian/python-sip-dev/usr/lib/python$*/$(call py_sitename,$*)
- install -m 644 -o root -g root sipdistutils.py debian/python-sip-dev/usr/lib/python$*/$(call py_sitename,$*)
+ debian/python-sip-tqt-dev/usr/include/python$*_d/sip.h
+ mkdir -p debian/python-sip-tqt-dev/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt
+ install -m 644 -o root -g root sipdistutils.py debian/python-sip-tqt-dev/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt
# Must not depend on anything. This is to be called by
@@ -132,20 +133,20 @@ binary-common:
dh_link
# don't call strip twice, it's in binary-common
ifneq (,$(findstring -a, $(DH_OPTIONS)))
- DH_OPTIONS= dh_strip -ppython-sip-dev
- DH_OPTIONS= dh_strip -ppython-sip -Npython-sip-dev --dbg-package=python-sip-dbg
- rm -rf debian/python-sip-dbg/usr/share/doc/python-sip-dbg
- mkdir -p debian/python-sip-dbg/usr/share/doc
- ln -s python-sip debian/python-sip-dbg/usr/share/doc/python-sip-dbg
+ DH_OPTIONS= dh_strip -ppython-sip-tqt-dev
+ DH_OPTIONS= dh_strip -ppython-sip-tqt -Npython-sip-tqt-dev --dbg-package=python-sip-tqt-dbg
+ rm -rf debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg
+ mkdir -p debian/python-sip-tqt-dbg/usr/share/doc
+ ln -s python-sip-tqt debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg
endif
dh_compress
dh_fixperms
${DH_PYTHON2}
ifneq (dh_pysupport,${DH_PYTHON2})
# move *_d.py back into right package
- find debian/python-sip -name "*_d.py" | \
+ find debian/python-sip-tqt -name "*_d.py" | \
while read f; do \
- f1="debian/python-sip-dbg/$${f#debian/python-sip/}"; \
+ f1="debian/python-sip-tqt-dbg/$${f#debian/python-sip-tqt/}"; \
mkdir -p "$${f1%/*}"; \
mv "$${f}" "$${f1}" ; \
done
diff --git a/ubuntu/maverick/dependencies/sip4-tqt/debian/sipconfig.py b/ubuntu/maverick/dependencies/sip4-tqt/debian/sipconfig.py
index f23b5427a..a9e761f08 100644
--- a/ubuntu/maverick/dependencies/sip4-tqt/debian/sipconfig.py
+++ b/ubuntu/maverick/dependencies/sip4-tqt/debian/sipconfig.py
@@ -7,7 +7,7 @@ if getattr(sys, "pydebug", False):
from sipconfig_d import *
from sipconfig_d import _pkg_config, _default_macros
except ImportError, msg:
- raise ImportError, 'No module named sipconfig; package python-sip4-dbg not installed'
+ raise ImportError, 'No module named sipconfig; package python-sip-tqt-dbg not installed'
else:
from sipconfig_nd import *
from sipconfig_nd import _pkg_config, _default_macros
diff --git a/ubuntu/precise/dependencies/sip4-tqt/debian/control b/ubuntu/precise/dependencies/sip4-tqt/debian/control
index 6559a92b2..bc0f49bc7 100644
--- a/ubuntu/precise/dependencies/sip4-tqt/debian/control
+++ b/ubuntu/precise/dependencies/sip4-tqt/debian/control
@@ -8,11 +8,11 @@ Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-10), python-all-dbg, p
Standards-Version: 3.8.4
XS-Python-Version: all
-Package: python-sip
+Package: python-sip-tqt
Architecture: any
Section: python
-Replaces: python-sip (<< 4:14.0.0~)
-Breaks: python-sip (<< 4:14.0.0~)
+Replaces: python-sip-tqt (<< 4:14.0.0~)
+Breaks: python-sip-tqt (<< 4:14.0.0~)
Provides: ${python:Provides}, sip-api-7.0, sip-api-7.1
Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
Conflicts: python-sip4 (<< 4.10)
@@ -21,14 +21,14 @@ Description: Python/C++ bindings generator runtime library
borrowed from SWIG, but capable of tighter bindings because of its
specificity towards C++ and Python.
-Package: python-sip-dbg
+Package: python-sip-tqt-dbg
Priority: extra
Architecture: any
-Replaces: python-sip-dbg (<< 4:14.0.0~)
-Breaks: python-sip-dbg (<< 4:14.0.0~)
+Replaces: python-sip-tqt-dbg (<< 4:14.0.0~)
+Breaks: python-sip-tqt-dbg (<< 4:14.0.0~)
Section: debug
Provides: ${python:Provides}
-Depends: python-sip (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}
+Depends: python-sip-tqt (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}
Conflicts: python-sip4-dbg (<< 4.10)
Description: Python/C++ bindings generator runtime library (debug extension)
SIP is a tool for generating bindings for C++ classes with some ideas
@@ -37,15 +37,15 @@ Description: Python/C++ bindings generator runtime library (debug extension)
.
This package contains the extension built for the Python debug interpreter.
-Package: python-sip-dev
+Package: python-sip-tqt-dev
Architecture: any
Section: python
-Replaces: python-sip-dev (<< 4:14.0.0~)
-Breaks: python-sip-dev (<< 4:14.0.0~)
-Depends: ${python:Depends}, python-sip (= ${binary:Version}), python-dev, ${shlibs:Depends}, libjs-jquery, ${misc:Depends}
-Recommends: python-sip (>= ${source:Version})
-Provides: python-sip4-dev, sip4
-Conflicts: python-sip4-dev (<< 4.10), sip4 (<< 4.10)
+Replaces: python-sip-tqt-dev (<< 4:14.0.0~)
+Breaks: python-sip-tqt-dev (<< 4:14.0.0~)
+Depends: ${python:Depends}, python-sip-tqt (= ${binary:Version}), python-dev, ${shlibs:Depends}, libjs-jquery, ${misc:Depends}
+Recommends: python-sip-tqt (>= ${source:Version})
+Provides: python-sip-dev, python-sip4-dev, sip4
+Conflicts: python-sip-dev, python-sip4-dev (<< 4.10), sip4 (<< 4.10)
Description: Python/C++ bindings generator development files
SIP is a tool for generating bindings for C++ classes with some ideas
borrowed from SWIG, but capable of tighter bindings because of its
@@ -68,59 +68,3 @@ Description: Python/C++ bindings generator development files
This package contains the code generator tool and the development headers
needed to develop Python bindings with sip.
-Package: python-sip4
-Architecture: all
-Section: python
-Replaces: python-sip4 (<< 4:14.0.0~)
-Breaks: python-sip4 (<< 4:14.0.0~)
-Depends: python-sip, ${misc:Depends}
-Description: Python/C++ bindings generator runtime library (transitional package)
- SIP is a tool for generating bindings for C++ classes with some ideas
- borrowed from SWIG, but capable of tighter bindings because of its
- specificity towards C++ and Python.
- .
- This is a transitional package that depends on python-sip.
- It can be safely removed.
-
-Package: sip4
-Architecture: all
-Section: python
-Replaces: sip4 (<< 4:14.0.0~)
-Breaks: sip4 (<< 4:14.0.0~)
-Depends: python-sip-dev, ${misc:Depends}
-Description: Python/C++ bindings generator (transitional package)
- SIP is a tool for generating bindings for C++ classes with some ideas
- borrowed from SWIG, but capable of tighter bindings because of its
- specificity towards C++ and Python.
- .
- This is a transitional package that depends on python-sip-dev.
- It can be safely removed.
-
-Package: python-sip4-dev
-Architecture: all
-Section: python
-Replaces: python-sip4-dev (<< 4:14.0.0~)
-Breaks: python-sip4-dev (<< 4:14.0.0~)
-Depends: python-sip-dev, ${misc:Depends}
-Description: Python/C++ bindings generator development files (transitional package)
- SIP is a tool for generating bindings for C++ classes with some ideas
- borrowed from SWIG, but capable of tighter bindings because of its
- specificity towards C++ and Python.
- .
- This is a transitional package that depends on python-sip-dev.
- It can be safely removed.
-
-Package: python-sip4-dbg
-Architecture: all
-Section: debug
-Replaces: python-sip4-dbg (<< 4:14.0.0~)
-Breaks: python-sip4-dbg (<< 4:14.0.0~)
-Priority: extra
-Depends: python-sip-dbg, ${misc:Depends}
-Description: Python/C++ bindings generator runtime library (debug, transitional package)
- SIP is a tool for generating bindings for C++ classes with some ideas
- borrowed from SWIG, but capable of tighter bindings because of its
- specificity towards C++ and Python.
- .
- This is a transitional package that depends on python-sip-dev.
- It can be safely removed.
diff --git a/ubuntu/precise/dependencies/sip4-tqt/debian/dh_sip b/ubuntu/precise/dependencies/sip4-tqt/debian/dh_sip_tqt
index 54d861884..b1a8c19e3 100755..100644
--- a/ubuntu/precise/dependencies/sip4-tqt/debian/dh_sip
+++ b/ubuntu/precise/dependencies/sip4-tqt/debian/dh_sip_tqt
@@ -2,7 +2,7 @@
=head1 NAME
-dh_sip - set the correct dependencies for Python packages using sip
+dh_sip_tqt - set the correct dependencies for Python packages using sip
=cut
@@ -11,11 +11,11 @@ use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
-B<dh_sip>
+B<dh_sip_tqt>
=head1 DESCRIPTION
-dh_sip creates the ${sip:Depends} substitution variable which must be used by
+dh_sip_tqt creates the ${sip:Depends} substitution variable which must be used by
Python extensions built with sip in order to depend on a version of python-sip
that exports the correct public API.
@@ -23,7 +23,7 @@ that exports the correct public API.
init();
-my $sip_provides = `dpkg -s python-sip`;
+my $sip_provides = `dpkg -s python-sip-tqt`;
$sip_provides =~ /^Provides:\s*(.+)$/m;
my @sip_apis = sort(grep(/sip\-api/, split(/,\s*/, $1)));
diff --git a/ubuntu/maverick/dependencies/sip4-tqt/debian/manpages/dh_sip.1 b/ubuntu/precise/dependencies/sip4-tqt/debian/manpages/dh_sip_tqt.1
index 989c5fc3c..ea429fe9a 100644
--- a/ubuntu/maverick/dependencies/sip4-tqt/debian/manpages/dh_sip.1
+++ b/ubuntu/precise/dependencies/sip4-tqt/debian/manpages/dh_sip_tqt.1
@@ -123,20 +123,20 @@
.rm #[ #] #H #V #F C
.\" ========================================================================
.\"
-.IX Title "DH_SIP 1"
-.TH DH_SIP 1 "2010-02-02" "perl v5.10.1" "User Contributed Perl Documentation"
+.IX Title "DH_SIP_TQT 1"
+.TH DH_SIP_TQT 1 "2010-02-02" "perl v5.10.1" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
-dh_sip \- set the correct dependencies for Python packages using sip
+dh_sip_tqt \- set the correct dependencies for Python packages using sip
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
-\&\fBdh_sip\fR
+\&\fBdh_sip_tqt\fR
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
-dh_sip creates the ${sip:Depends} substitution variable which must be used by
+dh_sip_tqt creates the ${sip:Depends} substitution variable which must be used by
Python extensions built with sip in order to depend on a version of python-sip
that exports the correct public \s-1API\s0.
.SH "SEE ALSO"
diff --git a/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-dev.links b/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-dev.links
deleted file mode 100644
index 26a9ded9b..000000000
--- a/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-dev.links
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/javascript/jquery/jquery.js usr/share/doc/python-sip-dev/html/_static/jquery.js
diff --git a/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-dev.manpages b/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-dev.manpages
deleted file mode 100644
index a4e96a394..000000000
--- a/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-dev.manpages
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/manpages/sip.1
-debian/manpages/dh_sip.1
diff --git a/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-dev.docs b/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-tqt-dev.docs
index 416a453aa..416a453aa 100644
--- a/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-dev.docs
+++ b/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-tqt-dev.docs
diff --git a/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-dev.install b/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-tqt-dev.install
index 1df36c612..1df36c612 100644
--- a/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-dev.install
+++ b/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-tqt-dev.install
diff --git a/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-tqt-dev.links b/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-tqt-dev.links
new file mode 100644
index 000000000..fdd5af4cc
--- /dev/null
+++ b/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-tqt-dev.links
@@ -0,0 +1 @@
+usr/share/javascript/jquery/jquery.js usr/share/doc/python-sip-tqt-dev/html/_static/jquery.js
diff --git a/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-tqt-dev.manpages b/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-tqt-dev.manpages
new file mode 100644
index 000000000..ba33bb512
--- /dev/null
+++ b/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-tqt-dev.manpages
@@ -0,0 +1,2 @@
+debian/manpages/sip.1
+debian/manpages/dh_sip_tqt.1
diff --git a/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-tqt.install b/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-tqt.install
new file mode 100644
index 000000000..9639c2814
--- /dev/null
+++ b/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip-tqt.install
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/sip4_tqt/sip.so
diff --git a/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip.install b/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip.install
deleted file mode 100644
index f43a3a265..000000000
--- a/ubuntu/precise/dependencies/sip4-tqt/debian/python-sip.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python*/*-packages/sip.so
diff --git a/ubuntu/precise/dependencies/sip4-tqt/debian/rules b/ubuntu/precise/dependencies/sip4-tqt/debian/rules
index 641b5cabd..df0c6da05 100755
--- a/ubuntu/precise/dependencies/sip4-tqt/debian/rules
+++ b/ubuntu/precise/dependencies/sip4-tqt/debian/rules
@@ -40,7 +40,7 @@ build-%/configure-stamp:
mkdir -p build-$*
cd build-$* \
&& python$* ../configure.py \
- -d /usr/lib/python$*/$(call py_sitename,$*) \
+ -d /usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt \
-u STRIP="" CFLAGS="${CFLAGS} -I/usr/include/tqt -I/usr/include/tqt3 -I/usr/include/qt3" CFLAGS_RELEASE="" CXXFLAGS="${CFLAGS} -I/usr/include/tqt -I/usr/include/tqt3 -I/usr/include/qt3" CXXFLAGS_RELEASE=""
touch $@
@@ -49,7 +49,7 @@ dbg-build-%/configure-stamp:
mkdir -p dbg-build-$*
cd dbg-build-$* \
&& python$*-dbg ../configure.py \
- -d /usr/lib/python$*/$(call py_sitename,$*) \
+ -d /usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt \
-e /usr/include/python$*_d \
-u CFLAGS="-O0 -g -I/usr/include/tqt -I/usr/include/tqt3 -I/usr/include/qt3" CFLAGS_RELEASE="" CXXFLAGS="-O0 -g -I/usr/include/tqt -I/usr/include/tqt3 -I/usr/include/qt3" CXXFLAGS_RELEASE="" STRIP=""
touch $@
@@ -88,35 +88,36 @@ install-arch: build
$(MAKE) -f debian/rules install-arch-$$p;\
done
- for i in $$(find debian/python-sip-dbg -name '*.so'); do \
+ for i in $$(find debian/python-sip-tqt-dbg -name '*.so'); do \
b=$$(basename $$i .so); \
mv $$i $$(dirname $$i)/$${b}_d.so; \
done
- find debian/python-sip-dbg ! -type d ! -name '*_d.*' | xargs rm -f
- find debian/python-sip-dbg -depth -empty -exec rmdir {} \;
+ find debian/python-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f
+ find debian/python-sip-tqt-dbg -depth -empty -exec rmdir {} \;
dh_install -a --sourcedir=$(CURDIR)/debian/tmp
- install -m 755 -o root -g root debian/dh_sip debian/python-sip-dev/usr/bin
+ install -m 755 -o root -g root debian/dh_sip_tqt debian/python-sip-tqt-dev/usr/bin
install-arch-%:
$(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp
- $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-sip-dbg
- mkdir -p debian/python-sip/usr/lib/python$*/$(call py_sitename,$*)/
- install -m 644 -o root -g root debian/sipconfig.py debian/python-sip/usr/lib/python$*/$(call py_sitename,$*)/
- install -m 644 -o root -g root build-$*/sipconfig.py debian/python-sip/usr/lib/python$*/$(call py_sitename,$*)/sipconfig_nd.py
+ $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-sip-tqt-dbg
+ mkdir -p debian/python-sip-tqt/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt/
+ touch debian/python-sip-tqt/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt/__init__.py
+ install -m 644 -o root -g root debian/sipconfig.py debian/python-sip-tqt/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt/
+ install -m 644 -o root -g root build-$*/sipconfig.py debian/python-sip-tqt/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt/sipconfig_nd.py
ifneq (dh_pysupport,${DH_PYTHON2})
# install *_d.py into wrong package to prevent deletion in dh_python2
- install -m 644 -o root -g root dbg-build-$*/sipconfig.py debian/python-sip/usr/lib/python$*/$(call py_sitename,$*)/sipconfig_d.py
+ install -m 644 -o root -g root dbg-build-$*/sipconfig.py debian/python-sip-tqt/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt/sipconfig_d.py
else
- install -m 644 -o root -g root dbg-build-$*/sipconfig.py debian/python-sip-dbg/usr/lib/python$*/$(call py_sitename,$*)/sipconfig_d.py
+ install -m 644 -o root -g root dbg-build-$*/sipconfig.py debian/python-sip-tqt-dbg/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt/sipconfig_d.py
endif
- mkdir -p debian/python-sip-dev/usr/include/python$*
- install -m 644 -o root -g root siplib/sip.h debian/python-sip-dev/usr/include/python$*/
- mkdir -p debian/python-sip-dev/usr/include/python$*_d
+ mkdir -p debian/python-sip-tqt-dev/usr/include/python$*
+ install -m 644 -o root -g root siplib/sip.h debian/python-sip-tqt-dev/usr/include/python$*/
+ mkdir -p debian/python-sip-tqt-dev/usr/include/python$*_d
ln -s ../python$*/sip.h \
- debian/python-sip-dev/usr/include/python$*_d/sip.h
- mkdir -p debian/python-sip-dev/usr/lib/python$*/$(call py_sitename,$*)
- install -m 644 -o root -g root sipdistutils.py debian/python-sip-dev/usr/lib/python$*/$(call py_sitename,$*)
+ debian/python-sip-tqt-dev/usr/include/python$*_d/sip.h
+ mkdir -p debian/python-sip-tqt-dev/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt
+ install -m 644 -o root -g root sipdistutils.py debian/python-sip-tqt-dev/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt
# Must not depend on anything. This is to be called by
@@ -132,20 +133,20 @@ binary-common:
dh_link
# don't call strip twice, it's in binary-common
ifneq (,$(findstring -a, $(DH_OPTIONS)))
- DH_OPTIONS= dh_strip -ppython-sip-dev
- DH_OPTIONS= dh_strip -ppython-sip -Npython-sip-dev --dbg-package=python-sip-dbg
- rm -rf debian/python-sip-dbg/usr/share/doc/python-sip-dbg
- mkdir -p debian/python-sip-dbg/usr/share/doc
- ln -s python-sip debian/python-sip-dbg/usr/share/doc/python-sip-dbg
+ DH_OPTIONS= dh_strip -ppython-sip-tqt-dev
+ DH_OPTIONS= dh_strip -ppython-sip-tqt -Npython-sip-tqt-dev --dbg-package=python-sip-tqt-dbg
+ rm -rf debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg
+ mkdir -p debian/python-sip-tqt-dbg/usr/share/doc
+ ln -s python-sip-tqt debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg
endif
dh_compress
dh_fixperms
${DH_PYTHON2}
ifneq (dh_pysupport,${DH_PYTHON2})
# move *_d.py back into right package
- find debian/python-sip -name "*_d.py" | \
+ find debian/python-sip-tqt -name "*_d.py" | \
while read f; do \
- f1="debian/python-sip-dbg/$${f#debian/python-sip/}"; \
+ f1="debian/python-sip-tqt-dbg/$${f#debian/python-sip-tqt/}"; \
mkdir -p "$${f1%/*}"; \
mv "$${f}" "$${f1}" ; \
done
diff --git a/ubuntu/precise/dependencies/sip4-tqt/debian/sipconfig.py b/ubuntu/precise/dependencies/sip4-tqt/debian/sipconfig.py
index f23b5427a..a9e761f08 100644
--- a/ubuntu/precise/dependencies/sip4-tqt/debian/sipconfig.py
+++ b/ubuntu/precise/dependencies/sip4-tqt/debian/sipconfig.py
@@ -7,7 +7,7 @@ if getattr(sys, "pydebug", False):
from sipconfig_d import *
from sipconfig_d import _pkg_config, _default_macros
except ImportError, msg:
- raise ImportError, 'No module named sipconfig; package python-sip4-dbg not installed'
+ raise ImportError, 'No module named sipconfig; package python-sip-tqt-dbg not installed'
else:
from sipconfig_nd import *
from sipconfig_nd import _pkg_config, _default_macros
diff --git a/ubuntu/raring/dependencies/sip4-tqt/debian/control b/ubuntu/raring/dependencies/sip4-tqt/debian/control
index 6559a92b2..bc0f49bc7 100644
--- a/ubuntu/raring/dependencies/sip4-tqt/debian/control
+++ b/ubuntu/raring/dependencies/sip4-tqt/debian/control
@@ -8,11 +8,11 @@ Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-10), python-all-dbg, p
Standards-Version: 3.8.4
XS-Python-Version: all
-Package: python-sip
+Package: python-sip-tqt
Architecture: any
Section: python
-Replaces: python-sip (<< 4:14.0.0~)
-Breaks: python-sip (<< 4:14.0.0~)
+Replaces: python-sip-tqt (<< 4:14.0.0~)
+Breaks: python-sip-tqt (<< 4:14.0.0~)
Provides: ${python:Provides}, sip-api-7.0, sip-api-7.1
Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
Conflicts: python-sip4 (<< 4.10)
@@ -21,14 +21,14 @@ Description: Python/C++ bindings generator runtime library
borrowed from SWIG, but capable of tighter bindings because of its
specificity towards C++ and Python.
-Package: python-sip-dbg
+Package: python-sip-tqt-dbg
Priority: extra
Architecture: any
-Replaces: python-sip-dbg (<< 4:14.0.0~)
-Breaks: python-sip-dbg (<< 4:14.0.0~)
+Replaces: python-sip-tqt-dbg (<< 4:14.0.0~)
+Breaks: python-sip-tqt-dbg (<< 4:14.0.0~)
Section: debug
Provides: ${python:Provides}
-Depends: python-sip (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}
+Depends: python-sip-tqt (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}
Conflicts: python-sip4-dbg (<< 4.10)
Description: Python/C++ bindings generator runtime library (debug extension)
SIP is a tool for generating bindings for C++ classes with some ideas
@@ -37,15 +37,15 @@ Description: Python/C++ bindings generator runtime library (debug extension)
.
This package contains the extension built for the Python debug interpreter.
-Package: python-sip-dev
+Package: python-sip-tqt-dev
Architecture: any
Section: python
-Replaces: python-sip-dev (<< 4:14.0.0~)
-Breaks: python-sip-dev (<< 4:14.0.0~)
-Depends: ${python:Depends}, python-sip (= ${binary:Version}), python-dev, ${shlibs:Depends}, libjs-jquery, ${misc:Depends}
-Recommends: python-sip (>= ${source:Version})
-Provides: python-sip4-dev, sip4
-Conflicts: python-sip4-dev (<< 4.10), sip4 (<< 4.10)
+Replaces: python-sip-tqt-dev (<< 4:14.0.0~)
+Breaks: python-sip-tqt-dev (<< 4:14.0.0~)
+Depends: ${python:Depends}, python-sip-tqt (= ${binary:Version}), python-dev, ${shlibs:Depends}, libjs-jquery, ${misc:Depends}
+Recommends: python-sip-tqt (>= ${source:Version})
+Provides: python-sip-dev, python-sip4-dev, sip4
+Conflicts: python-sip-dev, python-sip4-dev (<< 4.10), sip4 (<< 4.10)
Description: Python/C++ bindings generator development files
SIP is a tool for generating bindings for C++ classes with some ideas
borrowed from SWIG, but capable of tighter bindings because of its
@@ -68,59 +68,3 @@ Description: Python/C++ bindings generator development files
This package contains the code generator tool and the development headers
needed to develop Python bindings with sip.
-Package: python-sip4
-Architecture: all
-Section: python
-Replaces: python-sip4 (<< 4:14.0.0~)
-Breaks: python-sip4 (<< 4:14.0.0~)
-Depends: python-sip, ${misc:Depends}
-Description: Python/C++ bindings generator runtime library (transitional package)
- SIP is a tool for generating bindings for C++ classes with some ideas
- borrowed from SWIG, but capable of tighter bindings because of its
- specificity towards C++ and Python.
- .
- This is a transitional package that depends on python-sip.
- It can be safely removed.
-
-Package: sip4
-Architecture: all
-Section: python
-Replaces: sip4 (<< 4:14.0.0~)
-Breaks: sip4 (<< 4:14.0.0~)
-Depends: python-sip-dev, ${misc:Depends}
-Description: Python/C++ bindings generator (transitional package)
- SIP is a tool for generating bindings for C++ classes with some ideas
- borrowed from SWIG, but capable of tighter bindings because of its
- specificity towards C++ and Python.
- .
- This is a transitional package that depends on python-sip-dev.
- It can be safely removed.
-
-Package: python-sip4-dev
-Architecture: all
-Section: python
-Replaces: python-sip4-dev (<< 4:14.0.0~)
-Breaks: python-sip4-dev (<< 4:14.0.0~)
-Depends: python-sip-dev, ${misc:Depends}
-Description: Python/C++ bindings generator development files (transitional package)
- SIP is a tool for generating bindings for C++ classes with some ideas
- borrowed from SWIG, but capable of tighter bindings because of its
- specificity towards C++ and Python.
- .
- This is a transitional package that depends on python-sip-dev.
- It can be safely removed.
-
-Package: python-sip4-dbg
-Architecture: all
-Section: debug
-Replaces: python-sip4-dbg (<< 4:14.0.0~)
-Breaks: python-sip4-dbg (<< 4:14.0.0~)
-Priority: extra
-Depends: python-sip-dbg, ${misc:Depends}
-Description: Python/C++ bindings generator runtime library (debug, transitional package)
- SIP is a tool for generating bindings for C++ classes with some ideas
- borrowed from SWIG, but capable of tighter bindings because of its
- specificity towards C++ and Python.
- .
- This is a transitional package that depends on python-sip-dev.
- It can be safely removed.
diff --git a/ubuntu/raring/dependencies/sip4-tqt/debian/dh_sip b/ubuntu/raring/dependencies/sip4-tqt/debian/dh_sip_tqt
index 54d861884..b1a8c19e3 100755..100644
--- a/ubuntu/raring/dependencies/sip4-tqt/debian/dh_sip
+++ b/ubuntu/raring/dependencies/sip4-tqt/debian/dh_sip_tqt
@@ -2,7 +2,7 @@
=head1 NAME
-dh_sip - set the correct dependencies for Python packages using sip
+dh_sip_tqt - set the correct dependencies for Python packages using sip
=cut
@@ -11,11 +11,11 @@ use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
-B<dh_sip>
+B<dh_sip_tqt>
=head1 DESCRIPTION
-dh_sip creates the ${sip:Depends} substitution variable which must be used by
+dh_sip_tqt creates the ${sip:Depends} substitution variable which must be used by
Python extensions built with sip in order to depend on a version of python-sip
that exports the correct public API.
@@ -23,7 +23,7 @@ that exports the correct public API.
init();
-my $sip_provides = `dpkg -s python-sip`;
+my $sip_provides = `dpkg -s python-sip-tqt`;
$sip_provides =~ /^Provides:\s*(.+)$/m;
my @sip_apis = sort(grep(/sip\-api/, split(/,\s*/, $1)));
diff --git a/ubuntu/raring/dependencies/sip4-tqt/debian/manpages/dh_sip.1 b/ubuntu/raring/dependencies/sip4-tqt/debian/manpages/dh_sip_tqt.1
index 989c5fc3c..ea429fe9a 100644
--- a/ubuntu/raring/dependencies/sip4-tqt/debian/manpages/dh_sip.1
+++ b/ubuntu/raring/dependencies/sip4-tqt/debian/manpages/dh_sip_tqt.1
@@ -123,20 +123,20 @@
.rm #[ #] #H #V #F C
.\" ========================================================================
.\"
-.IX Title "DH_SIP 1"
-.TH DH_SIP 1 "2010-02-02" "perl v5.10.1" "User Contributed Perl Documentation"
+.IX Title "DH_SIP_TQT 1"
+.TH DH_SIP_TQT 1 "2010-02-02" "perl v5.10.1" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
-dh_sip \- set the correct dependencies for Python packages using sip
+dh_sip_tqt \- set the correct dependencies for Python packages using sip
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
-\&\fBdh_sip\fR
+\&\fBdh_sip_tqt\fR
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
-dh_sip creates the ${sip:Depends} substitution variable which must be used by
+dh_sip_tqt creates the ${sip:Depends} substitution variable which must be used by
Python extensions built with sip in order to depend on a version of python-sip
that exports the correct public \s-1API\s0.
.SH "SEE ALSO"
diff --git a/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-dev.links b/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-dev.links
deleted file mode 100644
index 26a9ded9b..000000000
--- a/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-dev.links
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/javascript/jquery/jquery.js usr/share/doc/python-sip-dev/html/_static/jquery.js
diff --git a/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-dev.manpages b/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-dev.manpages
deleted file mode 100644
index a4e96a394..000000000
--- a/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-dev.manpages
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/manpages/sip.1
-debian/manpages/dh_sip.1
diff --git a/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-dev.docs b/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-tqt-dev.docs
index 416a453aa..416a453aa 100644
--- a/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-dev.docs
+++ b/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-tqt-dev.docs
diff --git a/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-dev.install b/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-tqt-dev.install
index 1df36c612..1df36c612 100644
--- a/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-dev.install
+++ b/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-tqt-dev.install
diff --git a/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-tqt-dev.links b/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-tqt-dev.links
new file mode 100644
index 000000000..fdd5af4cc
--- /dev/null
+++ b/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-tqt-dev.links
@@ -0,0 +1 @@
+usr/share/javascript/jquery/jquery.js usr/share/doc/python-sip-tqt-dev/html/_static/jquery.js
diff --git a/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-tqt-dev.manpages b/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-tqt-dev.manpages
new file mode 100644
index 000000000..ba33bb512
--- /dev/null
+++ b/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-tqt-dev.manpages
@@ -0,0 +1,2 @@
+debian/manpages/sip.1
+debian/manpages/dh_sip_tqt.1
diff --git a/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-tqt.install b/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-tqt.install
new file mode 100644
index 000000000..9639c2814
--- /dev/null
+++ b/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip-tqt.install
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/sip4_tqt/sip.so
diff --git a/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip.install b/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip.install
deleted file mode 100644
index f43a3a265..000000000
--- a/ubuntu/raring/dependencies/sip4-tqt/debian/python-sip.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python*/*-packages/sip.so
diff --git a/ubuntu/raring/dependencies/sip4-tqt/debian/rules b/ubuntu/raring/dependencies/sip4-tqt/debian/rules
index 641b5cabd..df0c6da05 100755
--- a/ubuntu/raring/dependencies/sip4-tqt/debian/rules
+++ b/ubuntu/raring/dependencies/sip4-tqt/debian/rules
@@ -40,7 +40,7 @@ build-%/configure-stamp:
mkdir -p build-$*
cd build-$* \
&& python$* ../configure.py \
- -d /usr/lib/python$*/$(call py_sitename,$*) \
+ -d /usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt \
-u STRIP="" CFLAGS="${CFLAGS} -I/usr/include/tqt -I/usr/include/tqt3 -I/usr/include/qt3" CFLAGS_RELEASE="" CXXFLAGS="${CFLAGS} -I/usr/include/tqt -I/usr/include/tqt3 -I/usr/include/qt3" CXXFLAGS_RELEASE=""
touch $@
@@ -49,7 +49,7 @@ dbg-build-%/configure-stamp:
mkdir -p dbg-build-$*
cd dbg-build-$* \
&& python$*-dbg ../configure.py \
- -d /usr/lib/python$*/$(call py_sitename,$*) \
+ -d /usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt \
-e /usr/include/python$*_d \
-u CFLAGS="-O0 -g -I/usr/include/tqt -I/usr/include/tqt3 -I/usr/include/qt3" CFLAGS_RELEASE="" CXXFLAGS="-O0 -g -I/usr/include/tqt -I/usr/include/tqt3 -I/usr/include/qt3" CXXFLAGS_RELEASE="" STRIP=""
touch $@
@@ -88,35 +88,36 @@ install-arch: build
$(MAKE) -f debian/rules install-arch-$$p;\
done
- for i in $$(find debian/python-sip-dbg -name '*.so'); do \
+ for i in $$(find debian/python-sip-tqt-dbg -name '*.so'); do \
b=$$(basename $$i .so); \
mv $$i $$(dirname $$i)/$${b}_d.so; \
done
- find debian/python-sip-dbg ! -type d ! -name '*_d.*' | xargs rm -f
- find debian/python-sip-dbg -depth -empty -exec rmdir {} \;
+ find debian/python-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f
+ find debian/python-sip-tqt-dbg -depth -empty -exec rmdir {} \;
dh_install -a --sourcedir=$(CURDIR)/debian/tmp
- install -m 755 -o root -g root debian/dh_sip debian/python-sip-dev/usr/bin
+ install -m 755 -o root -g root debian/dh_sip_tqt debian/python-sip-tqt-dev/usr/bin
install-arch-%:
$(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp
- $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-sip-dbg
- mkdir -p debian/python-sip/usr/lib/python$*/$(call py_sitename,$*)/
- install -m 644 -o root -g root debian/sipconfig.py debian/python-sip/usr/lib/python$*/$(call py_sitename,$*)/
- install -m 644 -o root -g root build-$*/sipconfig.py debian/python-sip/usr/lib/python$*/$(call py_sitename,$*)/sipconfig_nd.py
+ $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-sip-tqt-dbg
+ mkdir -p debian/python-sip-tqt/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt/
+ touch debian/python-sip-tqt/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt/__init__.py
+ install -m 644 -o root -g root debian/sipconfig.py debian/python-sip-tqt/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt/
+ install -m 644 -o root -g root build-$*/sipconfig.py debian/python-sip-tqt/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt/sipconfig_nd.py
ifneq (dh_pysupport,${DH_PYTHON2})
# install *_d.py into wrong package to prevent deletion in dh_python2
- install -m 644 -o root -g root dbg-build-$*/sipconfig.py debian/python-sip/usr/lib/python$*/$(call py_sitename,$*)/sipconfig_d.py
+ install -m 644 -o root -g root dbg-build-$*/sipconfig.py debian/python-sip-tqt/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt/sipconfig_d.py
else
- install -m 644 -o root -g root dbg-build-$*/sipconfig.py debian/python-sip-dbg/usr/lib/python$*/$(call py_sitename,$*)/sipconfig_d.py
+ install -m 644 -o root -g root dbg-build-$*/sipconfig.py debian/python-sip-tqt-dbg/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt/sipconfig_d.py
endif
- mkdir -p debian/python-sip-dev/usr/include/python$*
- install -m 644 -o root -g root siplib/sip.h debian/python-sip-dev/usr/include/python$*/
- mkdir -p debian/python-sip-dev/usr/include/python$*_d
+ mkdir -p debian/python-sip-tqt-dev/usr/include/python$*
+ install -m 644 -o root -g root siplib/sip.h debian/python-sip-tqt-dev/usr/include/python$*/
+ mkdir -p debian/python-sip-tqt-dev/usr/include/python$*_d
ln -s ../python$*/sip.h \
- debian/python-sip-dev/usr/include/python$*_d/sip.h
- mkdir -p debian/python-sip-dev/usr/lib/python$*/$(call py_sitename,$*)
- install -m 644 -o root -g root sipdistutils.py debian/python-sip-dev/usr/lib/python$*/$(call py_sitename,$*)
+ debian/python-sip-tqt-dev/usr/include/python$*_d/sip.h
+ mkdir -p debian/python-sip-tqt-dev/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt
+ install -m 644 -o root -g root sipdistutils.py debian/python-sip-tqt-dev/usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt
# Must not depend on anything. This is to be called by
@@ -132,20 +133,20 @@ binary-common:
dh_link
# don't call strip twice, it's in binary-common
ifneq (,$(findstring -a, $(DH_OPTIONS)))
- DH_OPTIONS= dh_strip -ppython-sip-dev
- DH_OPTIONS= dh_strip -ppython-sip -Npython-sip-dev --dbg-package=python-sip-dbg
- rm -rf debian/python-sip-dbg/usr/share/doc/python-sip-dbg
- mkdir -p debian/python-sip-dbg/usr/share/doc
- ln -s python-sip debian/python-sip-dbg/usr/share/doc/python-sip-dbg
+ DH_OPTIONS= dh_strip -ppython-sip-tqt-dev
+ DH_OPTIONS= dh_strip -ppython-sip-tqt -Npython-sip-tqt-dev --dbg-package=python-sip-tqt-dbg
+ rm -rf debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg
+ mkdir -p debian/python-sip-tqt-dbg/usr/share/doc
+ ln -s python-sip-tqt debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg
endif
dh_compress
dh_fixperms
${DH_PYTHON2}
ifneq (dh_pysupport,${DH_PYTHON2})
# move *_d.py back into right package
- find debian/python-sip -name "*_d.py" | \
+ find debian/python-sip-tqt -name "*_d.py" | \
while read f; do \
- f1="debian/python-sip-dbg/$${f#debian/python-sip/}"; \
+ f1="debian/python-sip-tqt-dbg/$${f#debian/python-sip-tqt/}"; \
mkdir -p "$${f1%/*}"; \
mv "$${f}" "$${f1}" ; \
done
diff --git a/ubuntu/raring/dependencies/sip4-tqt/debian/sipconfig.py b/ubuntu/raring/dependencies/sip4-tqt/debian/sipconfig.py
index f23b5427a..a9e761f08 100644
--- a/ubuntu/raring/dependencies/sip4-tqt/debian/sipconfig.py
+++ b/ubuntu/raring/dependencies/sip4-tqt/debian/sipconfig.py
@@ -7,7 +7,7 @@ if getattr(sys, "pydebug", False):
from sipconfig_d import *
from sipconfig_d import _pkg_config, _default_macros
except ImportError, msg:
- raise ImportError, 'No module named sipconfig; package python-sip4-dbg not installed'
+ raise ImportError, 'No module named sipconfig; package python-sip-tqt-dbg not installed'
else:
from sipconfig_nd import *
from sipconfig_nd import _pkg_config, _default_macros