summaryrefslogtreecommitdiffstats
path: root/dilos
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2022-07-28 04:31:31 +0200
committerSlávek Banko <[email protected]>2022-07-28 12:31:22 +0200
commita87436abb875ee4a7c07cbc1b500d751c629d9f8 (patch)
treed87f5d4d7fe4c84ef95e405dd5a5a59df4db8204 /dilos
parent712603377ea86a8d0facace67bea9ef82deeacc9 (diff)
downloadtde-packaging-a87436abb875ee4a7c07cbc1b500d751c629d9f8.tar.gz
tde-packaging-a87436abb875ee4a7c07cbc1b500d751c629d9f8.zip
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 <[email protected]>
Diffstat (limited to 'dilos')
-rw-r--r--dilos/dependencies/sip4-tqt/debian/dh_sip3_tqt49
-rw-r--r--dilos/dependencies/sip4-tqt/debian/dh_sip_tqt20
-rw-r--r--dilos/dependencies/sip4-tqt/debian/manpages/dh_sip3_tqt.1151
-rw-r--r--dilos/dependencies/sip4-tqt/debian/manpages/dh_sip_tqt.18
-rw-r--r--dilos/dependencies/sip4-tqt/debian/python-sip-tqt-dev.install1
-rw-r--r--dilos/dependencies/sip4-tqt/debian/python3-sip-tqt-dev.install1
-rw-r--r--dilos/dependencies/sip4-tqt/debian/python3-sip-tqt-dev.manpages1
-rwxr-xr-xdilos/dependencies/sip4-tqt/debian/rules1
8 files changed, 217 insertions, 15 deletions
diff --git a/dilos/dependencies/sip4-tqt/debian/dh_sip3_tqt b/dilos/dependencies/sip4-tqt/debian/dh_sip3_tqt
new file mode 100644
index 000000000..9b6387689
--- /dev/null
+++ b/dilos/dependencies/sip4-tqt/debian/dh_sip3_tqt
@@ -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 <[email protected]>
+Adapted for Python3 by
+Slávek Banko <[email protected]>
+
+=cut
diff --git a/dilos/dependencies/sip4-tqt/debian/dh_sip_tqt b/dilos/dependencies/sip4-tqt/debian/dh_sip_tqt
index b1a8c19e3..c92f23529 100644
--- a/dilos/dependencies/sip4-tqt/debian/dh_sip_tqt
+++ b/dilos/dependencies/sip4-tqt/debian/dh_sip_tqt
@@ -2,7 +2,7 @@
=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
@@ -15,30 +15,30 @@ B<dh_sip_tqt>
=head1 DESCRIPTION
-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.
+dh_sip_tqt creates the ${sip-tqt:Depends} substitution variable which must be
+used by Python extensions built with sip-tqt in order to depend on a version of
+python-sip-tqt that exports the correct public API.
=cut
init();
-my $sip_provides = `dpkg -s python-sip-tqt`;
-$sip_provides =~ /^Provides:\s*(.+)$/m;
+my $sip_tqt_provides = `dpkg -s python-sip-tqt`;
+$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}}) {
- addsubstvar($package, "sip:Depends", $sip_api_version);
+ addsubstvar($package, "sip-tqt:Depends", $sip_tqt_api_version);
}
=head1 SEE ALSO
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
diff --git a/dilos/dependencies/sip4-tqt/debian/manpages/dh_sip3_tqt.1 b/dilos/dependencies/sip4-tqt/debian/manpages/dh_sip3_tqt.1
new file mode 100644
index 000000000..a4284326a
--- /dev/null
+++ b/dilos/dependencies/sip4-tqt/debian/manpages/dh_sip3_tqt.1
@@ -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 <[email protected]>
+Adapted for Python3 by
+Slávek Banko <[email protected]>
diff --git a/dilos/dependencies/sip4-tqt/debian/manpages/dh_sip_tqt.1 b/dilos/dependencies/sip4-tqt/debian/manpages/dh_sip_tqt.1
index ea429fe9a..6f0edd8f1 100644
--- a/dilos/dependencies/sip4-tqt/debian/manpages/dh_sip_tqt.1
+++ b/dilos/dependencies/sip4-tqt/debian/manpages/dh_sip_tqt.1
@@ -130,20 +130,20 @@
.if n .ad l
.nh
.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"
.IX Header "SYNOPSIS"
\&\fBdh_sip_tqt\fR
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
-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
+dh_sip_tqt creates the ${sip-tqt:Depends} substitution variable which must be used by
+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.
.SH "SEE ALSO"
.IX Header "SEE ALSO"
\&\fIdebhelper\fR\|(7)
.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"
.IX Header "AUTHORS"
Torsten Marek <[email protected]>
diff --git a/dilos/dependencies/sip4-tqt/debian/python-sip-tqt-dev.install b/dilos/dependencies/sip4-tqt/debian/python-sip-tqt-dev.install
index 1df36c612..8b1c81fa9 100644
--- a/dilos/dependencies/sip4-tqt/debian/python-sip-tqt-dev.install
+++ b/dilos/dependencies/sip4-tqt/debian/python-sip-tqt-dev.install
@@ -1 +1,2 @@
usr/bin/*
+../../debian/dh_sip_tqt /usr/bin/
diff --git a/dilos/dependencies/sip4-tqt/debian/python3-sip-tqt-dev.install b/dilos/dependencies/sip4-tqt/debian/python3-sip-tqt-dev.install
new file mode 100644
index 000000000..43fbfa385
--- /dev/null
+++ b/dilos/dependencies/sip4-tqt/debian/python3-sip-tqt-dev.install
@@ -0,0 +1 @@
+../../debian/dh_sip3_tqt /usr/bin/
diff --git a/dilos/dependencies/sip4-tqt/debian/python3-sip-tqt-dev.manpages b/dilos/dependencies/sip4-tqt/debian/python3-sip-tqt-dev.manpages
new file mode 100644
index 000000000..db0d5945a
--- /dev/null
+++ b/dilos/dependencies/sip4-tqt/debian/python3-sip-tqt-dev.manpages
@@ -0,0 +1 @@
+debian/manpages/dh_sip3_tqt.1
diff --git a/dilos/dependencies/sip4-tqt/debian/rules b/dilos/dependencies/sip4-tqt/debian/rules
index e4b27e000..2786cf6f6 100755
--- a/dilos/dependencies/sip4-tqt/debian/rules
+++ b/dilos/dependencies/sip4-tqt/debian/rules
@@ -118,7 +118,6 @@ install-arch: build
# find debian/python3-sip-tqt-dbg -depth -empty -exec rmdir {} \;
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.%:
$(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp