DEB sip4-tqt: Add dh_sip3_tqt to ensure the correct dependence

on the SIP API for Python 3 packages.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a87436abb8)
pull/158/head
Slávek Banko 2 years ago
parent 0cf60c5ecf
commit a69ab3d146
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -0,0 +1,49 @@
#!/usr/bin/perl -w
=head1 NAME
dh_sip3_tqt - set the correct dependencies for Python 3 packages using sip
=cut
use strict;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
B<dh_sip3_tqt>
=head1 DESCRIPTION
dh_sip3_tqt creates the ${sip3-tqt:Depends} substitution variable which must be
used by Python 3 extensions built with sip3-tqt in order to depend on a version of
python3-sip-tqt that exports the correct public API.
=cut
init();
my $sip3_tqt_provides = `dpkg -s python3-sip-tqt`;
$sip3_tqt_provides =~ /^Provides:\s*(.+)$/m;
my @sip3_tqt_apis = sort(grep(/sip\-tqt\-py3api/, split(/,\s*/, $1)));
my $sip3_tqt_api_version=$sip3_tqt_apis[-1];
foreach my $package (@{$dh{DOPACKAGES}}) {
addsubstvar($package, "sip3-tqt:Depends", $sip3_tqt_api_version);
}
=head1 SEE ALSO
L<debhelper(7)>
This program is a part of python3-sip-tqt-dev but is made to work with debhelper.
=head1 AUTHORS
Torsten Marek <shlomme@debian.org>
Adapted for Python3 by
Slávek Banko <slavek.banko@axis.cz>
=cut

@ -2,7 +2,7 @@
=head1 NAME =head1 NAME
dh_sip_tqt - set the correct dependencies for Python packages using sip dh_sip_tqt - set the correct dependencies for Python packages using sip-tqt
=cut =cut

@ -0,0 +1,151 @@
.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings. \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote. \*(C+ will
.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
. ds -- \(*W-
. ds PI pi
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
. ds L" ""
. ds R" ""
. ds C` ""
. ds C' ""
'br\}
.el\{\
. ds -- \|\(em\|
. ds PI \(*p
. ds L" ``
. ds R" ''
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.ie \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. nr % 0
. rr F
.\}
.el \{\
. de IX
..
.\}
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear. Run. Save yourself. No user-serviceable parts.
. \" fudge factors for nroff and troff
.if n \{\
. ds #H 0
. ds #V .8m
. ds #F .3m
. ds #[ \f1
. ds #] \fP
.\}
.if t \{\
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
. ds #V .6m
. ds #F 0
. ds #[ \&
. ds #] \&
.\}
. \" simple accents for nroff and troff
.if n \{\
. ds ' \&
. ds ` \&
. ds ^ \&
. ds , \&
. ds ~ ~
. ds /
.\}
.if t \{\
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
.\}
. \" troff and (daisy-wheel) nroff accents
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
.ds ae a\h'-(\w'a'u*4/10)'e
.ds Ae A\h'-(\w'A'u*4/10)'E
. \" corrections for vroff
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
. \" for low resolution devices (crt and lpr)
.if \n(.H>23 .if \n(.V>19 \
\{\
. ds : e
. ds 8 ss
. ds o a
. ds d- d\h'-1'\(ga
. ds D- D\h'-1'\(hy
. ds th \o'bp'
. ds Th \o'LP'
. ds ae ae
. ds Ae AE
.\}
.rm #[ #] #H #V #F C
.\" ========================================================================
.\"
.IX Title "DH_SIP3_TQT 1"
.TH DH_SIP3_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_sip3_tqt \- set the correct dependencies for Python 3 packages using sip-tqt
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
\&\fBdh_sip3_tqt\fR
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
dh_sip3_tqt creates the ${sip3-tqt:Depends} substitution variable which must be used by
Python 3 extensions built with sip-tqt in order to depend on a version of python3-sip-tqt
that exports the correct public \s-1API\s0.
.SH "SEE ALSO"
.IX Header "SEE ALSO"
\&\fIdebhelper\fR\|(7)
.PP
This program is a part of python3-sip-tqt-dev but is made to work with debhelper.
.SH "AUTHORS"
.IX Header "AUTHORS"
Torsten Marek <shlomme@debian.org>
Adapted for Python3 by
Slávek Banko <slavek.banko@axis.cz>

@ -130,20 +130,20 @@
.if n .ad l .if n .ad l
.nh .nh
.SH "NAME" .SH "NAME"
dh_sip_tqt \- set the correct dependencies for Python packages using sip dh_sip_tqt \- set the correct dependencies for Python packages using sip-tqt
.SH "SYNOPSIS" .SH "SYNOPSIS"
.IX Header "SYNOPSIS" .IX Header "SYNOPSIS"
\&\fBdh_sip_tqt\fR \&\fBdh_sip_tqt\fR
.SH "DESCRIPTION" .SH "DESCRIPTION"
.IX Header "DESCRIPTION" .IX Header "DESCRIPTION"
dh_sip_tqt creates the ${sip:Depends} substitution variable which must be used by dh_sip_tqt creates the ${sip-tqt:Depends} substitution variable which must be used by
Python extensions built with sip in order to depend on a version of python-sip Python extensions built with sip-tqt in order to depend on a version of python-sip-tqt
that exports the correct public \s-1API\s0. that exports the correct public \s-1API\s0.
.SH "SEE ALSO" .SH "SEE ALSO"
.IX Header "SEE ALSO" .IX Header "SEE ALSO"
\&\fIdebhelper\fR\|(7) \&\fIdebhelper\fR\|(7)
.PP .PP
This program is a part of python-sip-dev but is made to work with debhelper. This program is a part of python-sip-tqt-dev but is made to work with debhelper.
.SH "AUTHORS" .SH "AUTHORS"
.IX Header "AUTHORS" .IX Header "AUTHORS"
Torsten Marek <shlomme@debian.org> Torsten Marek <shlomme@debian.org>

@ -1 +1,2 @@
usr/bin/* usr/bin/*
../../debian/dh_sip_tqt /usr/bin/

@ -0,0 +1 @@
../../debian/dh_sip3_tqt /usr/bin/

@ -114,7 +114,6 @@ install-arch: build
find debian/python3-sip-tqt-dbg -depth -empty -exec rmdir {} \; find debian/python3-sip-tqt-dbg -depth -empty -exec rmdir {} \;
dh_install -a --sourcedir=$(CURDIR)/debian/tmp dh_install -a --sourcedir=$(CURDIR)/debian/tmp
install -m 755 -o root -g root debian/dh_sip_tqt debian/python-sip-tqt-dev/usr/bin
install-arch-3.%: install-arch-3.%:
$(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp $(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp

@ -0,0 +1,49 @@
#!/usr/bin/perl -w
=head1 NAME
dh_sip3_tqt - set the correct dependencies for Python 3 packages using sip
=cut
use strict;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
B<dh_sip3_tqt>
=head1 DESCRIPTION
dh_sip3_tqt creates the ${sip3-tqt:Depends} substitution variable which must be
used by Python 3 extensions built with sip3-tqt in order to depend on a version of
python3-sip-tqt that exports the correct public API.
=cut
init();
my $sip3_tqt_provides = `dpkg -s python3-sip-tqt`;
$sip3_tqt_provides =~ /^Provides:\s*(.+)$/m;
my @sip3_tqt_apis = sort(grep(/sip\-tqt\-py3api/, split(/,\s*/, $1)));
my $sip3_tqt_api_version=$sip3_tqt_apis[-1];
foreach my $package (@{$dh{DOPACKAGES}}) {
addsubstvar($package, "sip3-tqt:Depends", $sip3_tqt_api_version);
}
=head1 SEE ALSO
L<debhelper(7)>
This program is a part of python3-sip-tqt-dev but is made to work with debhelper.
=head1 AUTHORS
Torsten Marek <shlomme@debian.org>
Adapted for Python3 by
Slávek Banko <slavek.banko@axis.cz>
=cut

@ -2,7 +2,7 @@
=head1 NAME =head1 NAME
dh_sip_tqt - set the correct dependencies for Python packages using sip dh_sip_tqt - set the correct dependencies for Python packages using sip-tqt
=cut =cut
@ -15,30 +15,30 @@ B<dh_sip_tqt>
=head1 DESCRIPTION =head1 DESCRIPTION
dh_sip_tqt creates the ${sip:Depends} substitution variable which must be used by dh_sip_tqt creates the ${sip-tqt:Depends} substitution variable which must be
Python extensions built with sip in order to depend on a version of python-sip used by Python extensions built with sip-tqt in order to depend on a version of
that exports the correct public API. python-sip-tqt that exports the correct public API.
=cut =cut
init(); init();
my $sip_provides = `dpkg -s python-sip-tqt`; my $sip_tqt_provides = `dpkg -s python-sip-tqt`;
$sip_provides =~ /^Provides:\s*(.+)$/m; $sip_tqt_provides =~ /^Provides:\s*(.+)$/m;
my @sip_apis = sort(grep(/sip\-api/, split(/,\s*/, $1))); my @sip_tqt_apis = sort(grep(/sip\-tqt\-api/, split(/,\s*/, $1)));
my $sip_api_version=$sip_apis[-1]; my $sip_tqt_api_version=$sip_tqt_apis[-1];
foreach my $package (@{$dh{DOPACKAGES}}) { foreach my $package (@{$dh{DOPACKAGES}}) {
addsubstvar($package, "sip:Depends", $sip_api_version); addsubstvar($package, "sip-tqt:Depends", $sip_tqt_api_version);
} }
=head1 SEE ALSO =head1 SEE ALSO
L<debhelper(7)> L<debhelper(7)>
This program is a part of python-sip-dev but is made to work with debhelper. This program is a part of python-sip-tqt-dev but is made to work with debhelper.
=head1 AUTHORS =head1 AUTHORS

@ -0,0 +1,151 @@
.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings. \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote. \*(C+ will
.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
. ds -- \(*W-
. ds PI pi
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
. ds L" ""
. ds R" ""
. ds C` ""
. ds C' ""
'br\}
.el\{\
. ds -- \|\(em\|
. ds PI \(*p
. ds L" ``
. ds R" ''
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.ie \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. nr % 0
. rr F
.\}
.el \{\
. de IX
..
.\}
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear. Run. Save yourself. No user-serviceable parts.
. \" fudge factors for nroff and troff
.if n \{\
. ds #H 0
. ds #V .8m
. ds #F .3m
. ds #[ \f1
. ds #] \fP
.\}
.if t \{\
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
. ds #V .6m
. ds #F 0
. ds #[ \&
. ds #] \&
.\}
. \" simple accents for nroff and troff
.if n \{\
. ds ' \&
. ds ` \&
. ds ^ \&
. ds , \&
. ds ~ ~
. ds /
.\}
.if t \{\
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
.\}
. \" troff and (daisy-wheel) nroff accents
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
.ds ae a\h'-(\w'a'u*4/10)'e
.ds Ae A\h'-(\w'A'u*4/10)'E
. \" corrections for vroff
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
. \" for low resolution devices (crt and lpr)
.if \n(.H>23 .if \n(.V>19 \
\{\
. ds : e
. ds 8 ss
. ds o a
. ds d- d\h'-1'\(ga
. ds D- D\h'-1'\(hy
. ds th \o'bp'
. ds Th \o'LP'
. ds ae ae
. ds Ae AE
.\}
.rm #[ #] #H #V #F C
.\" ========================================================================
.\"
.IX Title "DH_SIP3_TQT 1"
.TH DH_SIP3_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_sip3_tqt \- set the correct dependencies for Python 3 packages using sip-tqt
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
\&\fBdh_sip3_tqt\fR
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
dh_sip3_tqt creates the ${sip3-tqt:Depends} substitution variable which must be used by
Python 3 extensions built with sip-tqt in order to depend on a version of python3-sip-tqt
that exports the correct public \s-1API\s0.
.SH "SEE ALSO"
.IX Header "SEE ALSO"
\&\fIdebhelper\fR\|(7)
.PP
This program is a part of python3-sip-tqt-dev but is made to work with debhelper.
.SH "AUTHORS"
.IX Header "AUTHORS"
Torsten Marek <shlomme@debian.org>
Adapted for Python3 by
Slávek Banko <slavek.banko@axis.cz>

@ -130,20 +130,20 @@
.if n .ad l .if n .ad l
.nh .nh
.SH "NAME" .SH "NAME"
dh_sip_tqt \- set the correct dependencies for Python packages using sip dh_sip_tqt \- set the correct dependencies for Python packages using sip-tqt
.SH "SYNOPSIS" .SH "SYNOPSIS"
.IX Header "SYNOPSIS" .IX Header "SYNOPSIS"
\&\fBdh_sip_tqt\fR \&\fBdh_sip_tqt\fR
.SH "DESCRIPTION" .SH "DESCRIPTION"
.IX Header "DESCRIPTION" .IX Header "DESCRIPTION"
dh_sip_tqt creates the ${sip:Depends} substitution variable which must be used by dh_sip_tqt creates the ${sip-tqt:Depends} substitution variable which must be used by
Python extensions built with sip in order to depend on a version of python-sip Python extensions built with sip-tqt in order to depend on a version of python-sip-tqt
that exports the correct public \s-1API\s0. that exports the correct public \s-1API\s0.
.SH "SEE ALSO" .SH "SEE ALSO"
.IX Header "SEE ALSO" .IX Header "SEE ALSO"
\&\fIdebhelper\fR\|(7) \&\fIdebhelper\fR\|(7)
.PP .PP
This program is a part of python-sip-dev but is made to work with debhelper. This program is a part of python-sip-tqt-dev but is made to work with debhelper.
.SH "AUTHORS" .SH "AUTHORS"
.IX Header "AUTHORS" .IX Header "AUTHORS"
Torsten Marek <shlomme@debian.org> Torsten Marek <shlomme@debian.org>

@ -1 +1,2 @@
usr/bin/* usr/bin/*
../../debian/dh_sip_tqt /usr/bin/

@ -118,7 +118,6 @@ install-arch: build
# find debian/python3-sip-tqt-dbg -depth -empty -exec rmdir {} \; # find debian/python3-sip-tqt-dbg -depth -empty -exec rmdir {} \;
dh_install -a --sourcedir=$(CURDIR)/debian/tmp dh_install -a --sourcedir=$(CURDIR)/debian/tmp
install -m 755 -o root -g root debian/dh_sip_tqt debian/python-sip-tqt-dev/usr/bin
install-arch-3.%: install-arch-3.%:
$(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp $(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp

@ -0,0 +1,49 @@
#!/usr/bin/perl -w
=head1 NAME
dh_sip3_tqt - set the correct dependencies for Python 3 packages using sip
=cut
use strict;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
B<dh_sip3_tqt>
=head1 DESCRIPTION
dh_sip3_tqt creates the ${sip3-tqt:Depends} substitution variable which must be
used by Python 3 extensions built with sip3-tqt in order to depend on a version of
python3-sip-tqt that exports the correct public API.
=cut
init();
my $sip3_tqt_provides = `dpkg -s python3-sip-tqt`;
$sip3_tqt_provides =~ /^Provides:\s*(.+)$/m;
my @sip3_tqt_apis = sort(grep(/sip\-tqt\-py3api/, split(/,\s*/, $1)));
my $sip3_tqt_api_version=$sip3_tqt_apis[-1];
foreach my $package (@{$dh{DOPACKAGES}}) {
addsubstvar($package, "sip3-tqt:Depends", $sip3_tqt_api_version);
}
=head1 SEE ALSO
L<debhelper(7)>
This program is a part of python3-sip-tqt-dev but is made to work with debhelper.
=head1 AUTHORS
Torsten Marek <shlomme@debian.org>
Adapted for Python3 by
Slávek Banko <slavek.banko@axis.cz>
=cut

@ -2,7 +2,7 @@
=head1 NAME =head1 NAME
dh_sip_tqt - set the correct dependencies for Python packages using sip dh_sip_tqt - set the correct dependencies for Python packages using sip-tqt
=cut =cut

@ -0,0 +1,151 @@
.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings. \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote. \*(C+ will
.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
. ds -- \(*W-
. ds PI pi
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
. ds L" ""
. ds R" ""
. ds C` ""
. ds C' ""
'br\}
.el\{\
. ds -- \|\(em\|
. ds PI \(*p
. ds L" ``
. ds R" ''
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.ie \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. nr % 0
. rr F
.\}
.el \{\
. de IX
..
.\}
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear. Run. Save yourself. No user-serviceable parts.
. \" fudge factors for nroff and troff
.if n \{\
. ds #H 0
. ds #V .8m
. ds #F .3m
. ds #[ \f1
. ds #] \fP
.\}
.if t \{\
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
. ds #V .6m
. ds #F 0
. ds #[ \&
. ds #] \&
.\}
. \" simple accents for nroff and troff
.if n \{\
. ds ' \&
. ds ` \&
. ds ^ \&
. ds , \&
. ds ~ ~
. ds /
.\}
.if t \{\
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
.\}
. \" troff and (daisy-wheel) nroff accents
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
.ds ae a\h'-(\w'a'u*4/10)'e
.ds Ae A\h'-(\w'A'u*4/10)'E
. \" corrections for vroff
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
. \" for low resolution devices (crt and lpr)
.if \n(.H>23 .if \n(.V>19 \
\{\
. ds : e
. ds 8 ss
. ds o a
. ds d- d\h'-1'\(ga
. ds D- D\h'-1'\(hy
. ds th \o'bp'
. ds Th \o'LP'
. ds ae ae
. ds Ae AE
.\}
.rm #[ #] #H #V #F C
.\" ========================================================================
.\"
.IX Title "DH_SIP3_TQT 1"
.TH DH_SIP3_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_sip3_tqt \- set the correct dependencies for Python 3 packages using sip-tqt
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
\&\fBdh_sip3_tqt\fR
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
dh_sip3_tqt creates the ${sip3-tqt:Depends} substitution variable which must be used by
Python 3 extensions built with sip-tqt in order to depend on a version of python3-sip-tqt
that exports the correct public \s-1API\s0.
.SH "SEE ALSO"
.IX Header "SEE ALSO"
\&\fIdebhelper\fR\|(7)
.PP
This program is a part of python3-sip-tqt-dev but is made to work with debhelper.
.SH "AUTHORS"
.IX Header "AUTHORS"
Torsten Marek <shlomme@debian.org>
Adapted for Python3 by
Slávek Banko <slavek.banko@axis.cz>

@ -130,20 +130,20 @@
.if n .ad l .if n .ad l
.nh .nh
.SH "NAME" .SH "NAME"
dh_sip_tqt \- set the correct dependencies for Python packages using sip dh_sip_tqt \- set the correct dependencies for Python packages using sip-tqt
.SH "SYNOPSIS" .SH "SYNOPSIS"
.IX Header "SYNOPSIS" .IX Header "SYNOPSIS"
\&\fBdh_sip_tqt\fR \&\fBdh_sip_tqt\fR
.SH "DESCRIPTION" .SH "DESCRIPTION"
.IX Header "DESCRIPTION" .IX Header "DESCRIPTION"
dh_sip_tqt creates the ${sip:Depends} substitution variable which must be used by dh_sip_tqt creates the ${sip-tqt:Depends} substitution variable which must be used by
Python extensions built with sip in order to depend on a version of python-sip Python extensions built with sip-tqt in order to depend on a version of python-sip-tqt
that exports the correct public \s-1API\s0. that exports the correct public \s-1API\s0.
.SH "SEE ALSO" .SH "SEE ALSO"
.IX Header "SEE ALSO" .IX Header "SEE ALSO"
\&\fIdebhelper\fR\|(7) \&\fIdebhelper\fR\|(7)
.PP .PP
This program is a part of python-sip-dev but is made to work with debhelper. This program is a part of python-sip-tqt-dev but is made to work with debhelper.
.SH "AUTHORS" .SH "AUTHORS"
.IX Header "AUTHORS" .IX Header "AUTHORS"
Torsten Marek <shlomme@debian.org> Torsten Marek <shlomme@debian.org>

@ -1 +1,2 @@
usr/bin/* usr/bin/*
../../debian/dh_sip_tqt /usr/bin/

@ -114,7 +114,6 @@ install-arch: build
find debian/python3-sip-tqt-dbg -depth -empty -exec rmdir {} \; find debian/python3-sip-tqt-dbg -depth -empty -exec rmdir {} \;
dh_install -a --sourcedir=$(CURDIR)/debian/tmp dh_install -a --sourcedir=$(CURDIR)/debian/tmp
install -m 755 -o root -g root debian/dh_sip_tqt debian/python-sip-tqt-dev/usr/bin
install-arch-3.%: install-arch-3.%:
$(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp $(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp

Loading…
Cancel
Save