From e14fc7a09fe52d45dfa62f5383d4536d51b263ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 10 Jan 2022 16:52:44 +0100 Subject: DEB sip4-tqt: Update packaging after renaming binaries to sip-tqt. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- .../sip4-tqt/debian/manpages/sip-tqt.1 | 86 ++++++++++++++++++++++ .../dependencies/sip4-tqt/debian/manpages/sip.1 | 86 ---------------------- .../sip4-tqt/debian/python-sip-tqt-dev.manpages | 2 +- .../sip4-tqt/debian/python-sip-tqt.install | 2 +- debian/_base/dependencies/sip4-tqt/debian/rules | 23 +++--- .../dependencies/sip4-tqt/debian/sip_tqt_config.py | 13 ++++ .../dependencies/sip4-tqt/debian/sipconfig.py | 13 ---- debian/_base/dependencies/sip4-tqt/debian/watch | 3 - 8 files changed, 112 insertions(+), 116 deletions(-) create mode 100644 debian/_base/dependencies/sip4-tqt/debian/manpages/sip-tqt.1 delete mode 100644 debian/_base/dependencies/sip4-tqt/debian/manpages/sip.1 create mode 100644 debian/_base/dependencies/sip4-tqt/debian/sip_tqt_config.py delete mode 100644 debian/_base/dependencies/sip4-tqt/debian/sipconfig.py delete mode 100644 debian/_base/dependencies/sip4-tqt/debian/watch (limited to 'debian/_base/dependencies') diff --git a/debian/_base/dependencies/sip4-tqt/debian/manpages/sip-tqt.1 b/debian/_base/dependencies/sip4-tqt/debian/manpages/sip-tqt.1 new file mode 100644 index 000000000..ef824974f --- /dev/null +++ b/debian/_base/dependencies/sip4-tqt/debian/manpages/sip-tqt.1 @@ -0,0 +1,86 @@ +.\" +.\" Created by Ricardo Cárdenes Medina +.\" for the Debian 'sip-tqt' package +.\" +.TH SIP-TQT 1 "2010/02/02" +.SH NAME +sip-tqt \- generates C++/Python bindings +.SH SYNOPSIS +.B sip-tqt +[\fI-h\fR] [\fI-V\fR] [\fI-a file\fR] [\fI-c dir\fR] [\fI-d file\fR] [\fI-e\fR] [\fI-g\fR] [\fI-I dir\fR] [\fI-j #\fR] [\fI-k\fR] [\fI-m file\fR] [\fI-o\fR] [\fI-p module\fR] [\fI-P\fR] [\fI-r\fR] [\fI-s suffix\fR] [\fI-t tag\fR] [\fI-w\fR] [\fI-x feature\fR] [\fI-z file\fR] [\fIfile\fR] +.SH DESCRIPTION +.B sip-tqt +takes a set of specification files and generates C++ code, documentation and build files. + +The format of the needed specification file is similar to a C++ header. +sip-tqt includes run-time support for the generated code. +.SH OPTIONS +.TP +.B \-h +Show summary of options. +.TP +.B \-V +Display the sip-tqt version number +.TP +.B \-a file +The name of the QScintilla API file. If not indicated, it will not +be generated. +.TP +.B \-b file +The name of the build file. If not indicated, it will not be generated. +.TP +.B \-c dir +The name of the directory where generated source file will be put. +If not indicated, no code will be generated. +.TP +.B -d file +The name of the documentation file. If not indicated, no documentation will be generated. +.TP +.B -e +Enable support for exceptions. Disabled by default. +.TP +.B -g +Always release and reaquire the GIL. +.TP +.B -I dir +Directory where sip-tqt can search for included files. +.TP +.B -j number +Splits the generated code in \fInumber\fR files (1 by default). This +flag was added for parallel compilation on SMP machines. +.TP +.B -m file +The name of the XML export file. If not indicated, the file will not be generated. +.TP +.B -p module +Give the name of the consolidated module this module should be a part of. +.TP +.B -P +Enable the protected/public hack. +.TP +.B -r +Enable tracing on generated code. +.TP +.B -s suffix +The suffix used for generated C or C++ files (".c" or ".cpp" if none specified) +.TP +.B -t tag +The primary version to tag generate code for. You only can specify those +defined with a %Timeline directive. If you don't specify one, sip-tqt +will generate the latest available. +.TP +.B -w +Enable warning messages +.TP +.B -x feature +Disable a feature +.TP +.B -z file +The name of a file containing additional command line flags +.TP +.B file +The name of the file containing the specification. If you skip it, +sip-tqt will expect to be fed by stdin. +.SH AUTHOR +This manual page was written by Ricardo Javier Cardenes Medina and Torsten Marek , +for the Debian GNU/Linux system (but may be used by others). diff --git a/debian/_base/dependencies/sip4-tqt/debian/manpages/sip.1 b/debian/_base/dependencies/sip4-tqt/debian/manpages/sip.1 deleted file mode 100644 index ce178cc7e..000000000 --- a/debian/_base/dependencies/sip4-tqt/debian/manpages/sip.1 +++ /dev/null @@ -1,86 +0,0 @@ -.\" -.\" Created by Ricardo Cárdenes Medina -.\" for the Debian 'sip' package -.\" -.TH SIP 1 "2010/02/02" -.SH NAME -sip \- generates C++/Python bindings -.SH SYNOPSIS -.B sip -[\fI-h\fR] [\fI-V\fR] [\fI-a file\fR] [\fI-c dir\fR] [\fI-d file\fR] [\fI-e\fR] [\fI-g\fR] [\fI-I dir\fR] [\fI-j #\fR] [\fI-k\fR] [\fI-m file\fR] [\fI-o\fR] [\fI-p module\fR] [\fI-P\fR] [\fI-r\fR] [\fI-s suffix\fR] [\fI-t tag\fR] [\fI-w\fR] [\fI-x feature\fR] [\fI-z file\fR] [\fIfile\fR] -.SH DESCRIPTION -.B sip -takes a set of specification files and generates C++ code, documentation and build files. - -The format of the needed specification file is similar to a C++ header. -sip includes run-time support for the generated code. -.SH OPTIONS -.TP -.B \-h -Show summary of options. -.TP -.B \-V -Display the sip version number -.TP -.B \-a file -The name of the QScintilla API file. If not indicated, it will not -be generated. -.TP -.B \-b file -The name of the build file. If not indicated, it will not be generated. -.TP -.B \-c dir -The name of the directory where generated source file will be put. -If not indicated, no code will be generated. -.TP -.B -d file -The name of the documentation file. If not indicated, no documentation will be generated. -.TP -.B -e -Enable support for exceptions. Disabled by default. -.TP -.B -g -Always release and reaquire the GIL. -.TP -.B -I dir -Directory where sip can search for included files. -.TP -.B -j number -Splits the generated code in \fInumber\fR files (1 by default). This -flag was added for parallel compilation on SMP machines. -.TP -.B -m file -The name of the XML export file. If not indicated, the file will not be generated. -.TP -.B -p module -Give the name of the consolidated module this module should be a part of. -.TP -.B -P -Enable the protected/public hack. -.TP -.B -r -Enable tracing on generated code. -.TP -.B -s suffix -The suffix used for generated C or C++ files (".c" or ".cpp" if none specified) -.TP -.B -t tag -The primary version to tag generate code for. You only can specify those -defined with a %Timeline directive. If you don't specify one, sip -will generate the latest available. -.TP -.B -w -Enable warning messages -.TP -.B -x feature -Disable a feature -.TP -.B -z file -The name of a file containing additional command line flags -.TP -.B file -The name of the file containing the specification. If you skip it, -sip will expect to be fed by stdin. -.SH AUTHOR -This manual page was written by Ricardo Javier Cardenes Medina and Torsten Marek , -for the Debian GNU/Linux system (but may be used by others). diff --git a/debian/_base/dependencies/sip4-tqt/debian/python-sip-tqt-dev.manpages b/debian/_base/dependencies/sip4-tqt/debian/python-sip-tqt-dev.manpages index ba33bb512..b3b0eafea 100644 --- a/debian/_base/dependencies/sip4-tqt/debian/python-sip-tqt-dev.manpages +++ b/debian/_base/dependencies/sip4-tqt/debian/python-sip-tqt-dev.manpages @@ -1,2 +1,2 @@ -debian/manpages/sip.1 +debian/manpages/sip-tqt.1 debian/manpages/dh_sip_tqt.1 diff --git a/debian/_base/dependencies/sip4-tqt/debian/python-sip-tqt.install b/debian/_base/dependencies/sip4-tqt/debian/python-sip-tqt.install index 9639c2814..bfa1b37f6 100644 --- a/debian/_base/dependencies/sip4-tqt/debian/python-sip-tqt.install +++ b/debian/_base/dependencies/sip4-tqt/debian/python-sip-tqt.install @@ -1 +1 @@ -usr/lib/python*/*-packages/sip4_tqt/sip.so +usr/lib/python*/*-packages/sip_tqt.so diff --git a/debian/_base/dependencies/sip4-tqt/debian/rules b/debian/_base/dependencies/sip4-tqt/debian/rules index 1feb9c154..1b07c97d2 100755 --- a/debian/_base/dependencies/sip4-tqt/debian/rules +++ b/debian/_base/dependencies/sip4-tqt/debian/rules @@ -47,7 +47,7 @@ build-%/configure-stamp: mkdir -p build-$* cd build-$* \ && python$* ../configure.py \ - -d /usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt \ + -d /usr/lib/python$*/$(call py_sitename,$*) \ -g python$* \ -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 $@ @@ -57,7 +57,7 @@ dbg-build-%/configure-stamp: mkdir -p dbg-build-$* cd dbg-build-$* \ && python$*-dbg ../configure.py \ - -d /usr/lib/python$*/$(call py_sitename,$*)/sip4_tqt \ + -d /usr/lib/python$*/$(call py_sitename,$*) \ -g python$* \ -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="" @@ -110,18 +110,17 @@ install-arch: build install-arch-%: $(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp $(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 - 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 + mkdir -p debian/python-sip-tqt/usr/lib/python$*/$(call py_sitename,$*)/ + install -m 644 -o root -g root debian/sip_tqt_config.py debian/python-sip-tqt/usr/lib/python$*/$(call py_sitename,$*)/sip_tqt_config.py + install -m 644 -o root -g root build-$*/sip_tqt_config.py debian/python-sip-tqt/usr/lib/python$*/$(call py_sitename,$*)/sip_tqt_config_nd.py + install -m 644 -o root -g root dbg-build-$*/sip_tqt_config.py debian/python-sip-tqt-dbg/usr/lib/python$*/$(call py_sitename,$*)/sip_tqt_config_d.py 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$*/ + install -m 644 -o root -g root siplib/sip-tqt.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-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 + ln -s ../python$*/sip-tqt.h \ + debian/python-sip-tqt-dev/usr/include/python$*_d/sip-tqt.h + mkdir -p debian/python-sip-tqt-dev/usr/lib/python$*/$(call py_sitename,$*) + install -m 644 -o root -g root sip_tqt_distutils.py debian/python-sip-tqt-dev/usr/lib/python$*/$(call py_sitename,$*) # Must not depend on anything. This is to be called by diff --git a/debian/_base/dependencies/sip4-tqt/debian/sip_tqt_config.py b/debian/_base/dependencies/sip4-tqt/debian/sip_tqt_config.py new file mode 100644 index 000000000..33ebcb65b --- /dev/null +++ b/debian/_base/dependencies/sip4-tqt/debian/sip_tqt_config.py @@ -0,0 +1,13 @@ +# import the sip_tqt_config.py for the normal or the debug build + +import sys + +if getattr(sys, "pydebug", False): + try: + from sip_tqt_config_d import * + from sip_tqt_config_d import _pkg_config, _default_macros + except ImportError, msg: + raise ImportError, 'No module named sip_config; package python-sip-tqt-dbg not installed' +else: + from sip_tqt_config_nd import * + from sip_tqt_config_nd import _pkg_config, _default_macros diff --git a/debian/_base/dependencies/sip4-tqt/debian/sipconfig.py b/debian/_base/dependencies/sip4-tqt/debian/sipconfig.py deleted file mode 100644 index a9e761f08..000000000 --- a/debian/_base/dependencies/sip4-tqt/debian/sipconfig.py +++ /dev/null @@ -1,13 +0,0 @@ -# import the sipconfig.py for the normal or the debug build - -import sys - -if getattr(sys, "pydebug", False): - try: - from sipconfig_d import * - from sipconfig_d import _pkg_config, _default_macros - except ImportError, msg: - 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/debian/_base/dependencies/sip4-tqt/debian/watch b/debian/_base/dependencies/sip4-tqt/debian/watch deleted file mode 100644 index 1ff1f0839..000000000 --- a/debian/_base/dependencies/sip4-tqt/debian/watch +++ /dev/null @@ -1,3 +0,0 @@ -version=3 -http://www.riverbankcomputing.co.uk/software/sip/download \ - /static/Downloads/sip4/sip-([\d\.]*)\.tar\.gz debian uupdate -- cgit v1.2.1