[Python-modules-commits] r3026 - in /packages/sip4-qt3/trunk/debian: ./ manpages/ patches/

shlomme at users.alioth.debian.org shlomme at users.alioth.debian.org
Sun Aug 12 13:21:25 UTC 2007


Author: shlomme
Date: Sun Aug 12 13:21:24 2007
New Revision: 3026

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=3026
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    packages/sip4-qt3/trunk/debian/   (with props)
    packages/sip4-qt3/trunk/debian/changelog
    packages/sip4-qt3/trunk/debian/compat
    packages/sip4-qt3/trunk/debian/control
    packages/sip4-qt3/trunk/debian/copyright
    packages/sip4-qt3/trunk/debian/docs
    packages/sip4-qt3/trunk/debian/manpages/
    packages/sip4-qt3/trunk/debian/manpages/sip.1
    packages/sip4-qt3/trunk/debian/patches/
    packages/sip4-qt3/trunk/debian/patches/00list
    packages/sip4-qt3/trunk/debian/patches/01_configure.dpatch   (with props)
    packages/sip4-qt3/trunk/debian/patches/02_siputils.dpatch   (with props)
    packages/sip4-qt3/trunk/debian/pycompat
    packages/sip4-qt3/trunk/debian/python-sip4.install
    packages/sip4-qt3/trunk/debian/rules   (with props)
    packages/sip4-qt3/trunk/debian/sip4.install
    packages/sip4-qt3/trunk/debian/sip4.manpages
    packages/sip4-qt3/trunk/debian/watch

Propchange: packages/sip4-qt3/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/sip4-qt3/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/sip4-qt3/trunk/debian/changelog?rev=3026&op=file
==============================================================================
--- packages/sip4-qt3/trunk/debian/changelog (added)
+++ packages/sip4-qt3/trunk/debian/changelog Sun Aug 12 13:21:24 2007
@@ -1,0 +1,327 @@
+sip4-qt3 (4.7-2) unstable; urgency=low
+
+  * Add proper dependencies to python-sip4-dev (Closes: #435788)
+
+ -- Torsten Marek <shlomme at debian.org>  Sun, 12 Aug 2007 11:05:21 +0200
+
+sip4-qt3 (4.7-1) unstable; urgency=low
+
+  * New upstream release
+  * sipconfig.py and sipdistutils.py have been moved to python-sip4-dev
+  * python-sip4-dev does not depend on python-sip4 any more, only
+    recommends it
+  * Updated the sip.1 manpage.
+	
+ -- Torsten Marek <shlomme at debian.org>  Tue, 31 Jul 2007 19:30:26 +0200
+
+sip4-qt3 (4.6-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Torsten Marek <shlomme at debian.org>  Mon, 07 May 2007 21:03:27 +0200
+
+sip4-qt3 (4.5.2-1) experimental; urgency=low
+
+  * New upstream release
+  * Removed patches needed to build against Qt 4.2
+
+ -- Torsten Marek <shlomme at debian.org>  Wed,  6 Dec 2006 19:40:13 +0100
+
+sip4-qt3 (4.4.5-4) unstable; urgency=medium
+
+  * The "backport-shmackport" release
+  * Support Qt 4.2's mkspecs files
+  * Remove the QtAssistantClient hack since QtAssistantClient is
+    now a shared object
+  * Urgency=medium since fixed PyQt4 depends on changes in
+    this packge
+
+ -- Torsten Marek <shlomme at debian.org>  Mon, 16 Oct 2006 23:23:59 +0200
+
+sip4-qt3 (4.4.5-3) unstable; urgency=low
+
+  * Hack the hack for the library dependencies,
+    add an exception for QtAssitantClient
+  * Added debian/pycompat
+  
+ -- Torsten Marek <shlomme at debian.org>  Sun,  3 Sep 2006 15:35:38 +0200
+
+sip4-qt3 (4.4.5-2) unstable; urgency=low
+
+  * Fix typo in debian/rules: pyversions argument should be -vr, not -vs
+  * Add replaces and conflicts to python-sip4-dev (Closes: #375117)
+
+ -- Torsten Marek <shlomme at debian.org>  Mon, 26 Jun 2006 19:16:02 +0200
+
+sip4-qt3 (4.4.5-1) unstable; urgency=low
+
+  * Acknowledge NMU
+  * New upstream release
+  * Fix dependency of dev packages (Closes: #374661)
+
+ -- Torsten Marek <shlomme at debian.org>  Wed, 21 Jun 2006 19:18:18 +0200
+
+sip4-qt3 (4.4.3-1.1) unstable; urgency=low
+
+  * Convert to the updated Python policy. Closes: #373383.
+
+ -- Matthias Klose <doko at debian.org>  Mon, 19 Jun 2006 21:34:32 +0000
+
+sip4-qt3 (4.4.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Install sipconfig.py again
+  * Install sipdistutils.py
+  * Changed my email address to shlomme at debian.org
+  * Added watch file
+  * Drop the -qt3 suffix from the Python module packages, as sip4
+    supports Qt3 and Qt4 now
+  * Clean up debian/rules (use binary-common)
+  * Build-depend on python-all-dev
+
+ -- Torsten Marek <shlomme at debian.org>  Thu, 27 Apr 2006 13:22:21 +0200
+
+sip4-qt3 (4.3.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Include upstream changelog
+
+ -- Torsten Marek <shlomme at gmx.net>  Sun, 11 Sep 2005 17:03:43 +0200
+
+sip4-qt3 (4.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Updated standards version to 3.6.2
+  * Removed Conflicts: with packages that do not exist in Debian any more
+  * g++ ABI transition (closes: Bug#325982)
+  * Removed README.Debian. It was for sip3 and has no meaning with
+    sip4.
+
+ -- Torsten Marek <shlomme at gmx.net>  Thu,  1 Sep 2005 01:01:28 +0200
+
+sip4-qt3 (4.2.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Added packages for Python 2.4
+  * Standards version updated to 3.6.1.0
+  * Build-depends adapted (python2.3-dev and python2.4-dev),
+    autoconf, bison and flex removed
+  * The sip4 build system has been  tweaked in several ways 
+    to allow parrallel builds for different versions of Python
+
+ -- Torsten Marek <shlomme at gmx.net>  Sun,  6 Mar 2005 23:30:53 +0100
+
+sip4-qt3 (4.1.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Tue, 30 Nov 2004 11:54:41 +0000
+
+sip4-qt3 (4.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added the programming reference to sip4 package.
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Thu, 23 Sep 2004 00:15:43 +0100
+
+sip4-qt3 (4.0.1-2) unstable; urgency=low
+
+  * Added package python-sip4-dev
+    (closes: Bug#272856)
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Wed, 22 Sep 2004 16:25:53 +0100
+
+sip4-qt3 (4.0.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Mon,  9 Aug 2004 18:27:57 +0100
+
+sip4-qt3 (4.0-2) unstable; urgency=low
+
+  * Changed Build-Depends on python2.3-dev to python-dev
+    (closes: Bug#257912)
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Tue,  6 Jul 2004 18:28:25 +0100
+
+sip4-qt3 (4.0-1) unstable; urgency=low
+
+  * New upstream release
+  * Changed the 
+  * Fixed the debian/copyright file, stating the correct license.
+    The new license is a derivative of PSF's Python License, only
+    changing references to the licenser, so it's still free and
+    GPL-compatible. It doesn't closes bug 255066 because it refers
+    to the old source package.
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Thu, 10 Jun 2004 00:54:30 +0100
+
+sip-qt3 (3.10.1-2) unstable; urgency=low
+
+  * Removed reference to python-qt2 binaries from python2.3-sip-dev
+    Depends line (closes: Bug#245650)
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Sat, 24 Apr 2004 17:01:10 +0100
+
+sip-qt3 (3.10.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Corrected some dh_make boilerplate on copyright file.
+  * Corrected upstream's changelog file name (closes: Bug#217159)
+  * sip4 will support Qt >= 3.0 and Python >= 2.3, so I'm releasing
+    only Python 2.3 packages from right now.
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Sat,  3 Jan 2004 17:14:02 +0000
+
+sip-qt3 (3.8-2) unstable; urgency=low
+
+  * Compiled against Qt 3.2, which substracts a symbol from the API.
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Sat,  3 Jan 2004 17:13:46 +0000
+
+sip-qt3 (3.8-1) unstable; urgency=low
+
+  * New upstream release
+  * Support for Python 2.3
+  * Changed default version to Python 2.3
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Mon, 18 Aug 2003 23:30:13 +0100
+
+sip-qt3 (3.7-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Sun,  6 Jul 2003 18:44:41 +0100
+
+sip-qt3 (3.6-1) unstable; urgency=low
+
+  * New upstream version
+  * Stripped 'c102' from names. The soname has changed.
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Mon, 28 Apr 2003 01:09:38 +0100
+
+sip-qt3 (3.5-3) unstable; urgency=low
+
+  * Compiled with G++ 3.2. Changed the name of the packages providing
+    shared runtimes according to G++ 3.2 transition plan.
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Mon,  3 Feb 2003 22:05:17 +0000
+
+sip-qt3 (3.5-2) unstable; urgency=low
+
+  * Compiled against Qt 3.1.1-CVS
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Mon, 30 Dec 2002 16:32:57 +0000
+
+sip-qt3 (3.5-1) unstable; urgency=low
+
+  * New upstream version
+  * Now sip-qt3 produces some packages (sip, pythonX.Y-sip-dev) that were
+    previously at sip-qt2.
+  * Upgraded debhelper dependency to >= 4.0
+  * Changed debian/rules acordingly
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Thu, 12 Dec 2002 00:33:08 +0000
+
+sip-qt3 (3.4+20021126-2) unstable; urgency=low
+
+  * Compiled with -fno-exceptions
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Wed, 27 Nov 2002 02:14:50 +0000
+
+sip-qt3 (3.4+20021114-2) unstable; urgency=low
+
+  * Added -dev packages
+  * Fixed some bugs on debian/rules
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Sun, 24 Nov 2002 20:13:16 +0000
+
+sip-qt3 (3.4+20021114-1) unstable; urgency=low
+
+  * Update to development version
+  * Now generating python-sip, which depends on the default python
+    version libsip package
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Sun, 24 Nov 2002 04:35:47 +0000
+
+sip-qt3 (3.4-1) unstable; urgency=low
+
+  * New upstream version
+  * License change
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Tue, 10 Sep 2002 23:24:09 +0100
+
+sip-qt3 (3.3.2-1) unstable; urgency=low
+
+  * New upstream version
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Sat, 10 Aug 2002 15:51:42 +0100
+
+sip-qt3 (3.3+rc2-1) unstable; urgency=low
+
+  * Update to upstream version
+  * Changed configuration system
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Sat, 29 Jun 2002 17:53:31 +0100
+
+sip-qt3 (3.2.4-1) unstable; urgency=low
+
+  * Update to upstream version
+  * First version of this source package
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Mon,  6 May 2002 14:20:03 +0100
+
+sip (2.5-3) unstable; urgency=low
+
+  * ACK previous NMU. (closes: Bug#127131)
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Tue, 23 Apr 2002 19:59:44 +0100
+
+sip (2.5-2.2) unstable; urgency=low
+
+  * Non-maintainer upload: Since I made the dependencies of python versioned,
+    I also have to make the build-dependencies versioned.
+
+ -- Gregor Hoffleit <flight at debian.org>  Mon, 31 Dec 2001 11:33:27 +0100
+
+sip (2.5-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload: rebuilt for Python 2.2 (closes: #120709).
+    sip's configure calls up 'python' and sets the include path for the 
+    Python header files according to its sys.version. Therefore, a
+    Build-Depends on "python-dev" suffices to build a current package
+    python-pyqt at any time. What was missing was the installation time
+    Depends on "python (>= 2.1), python (<< 2.2)".
+  * sip and python-pyqt hold back the removal of python-base, therefore
+    an medium urgency.
+
+ -- Gregor Hoffleit <flight at debian.org>  Mon, 31 Dec 2001 00:45:30 +0100
+
+sip (2.5-2) unstable; urgency=low
+
+  * Previous revision seemed Debian native, as it were not uploaded with
+    the companion .diff.gz file.
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Mon, 13 Aug 2001 03:37:52 +0100
+
+sip (2.5-1) unstable; urgency=low
+
+  * Upstream upgrade
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Mon, 13 Aug 2001 03:28:52 +0100
+
+sip (2.4-1) unstable; urgency=low
+
+  * Upstream upgrade
+
+ -- Ricardo Javier Cardenes Medina <rcardenes at debian.org>  Thu, 14 Jun 2001 12:56:44 +0100
+
+sip (2.2-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Ricardo Javier Cardenes Medina <a1402 at dis.ulpgc.es>  Tue, 28 Nov 2000 23:30:23 +0000
+
+Local variables:
+mode: debian-changelog
+End:

Added: packages/sip4-qt3/trunk/debian/compat
URL: http://svn.debian.org/wsvn/python-modules/packages/sip4-qt3/trunk/debian/compat?rev=3026&op=file
==============================================================================
--- packages/sip4-qt3/trunk/debian/compat (added)
+++ packages/sip4-qt3/trunk/debian/compat Sun Aug 12 13:21:24 2007
@@ -1,0 +1,1 @@
+5

Added: packages/sip4-qt3/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/sip4-qt3/trunk/debian/control?rev=3026&op=file
==============================================================================
--- packages/sip4-qt3/trunk/debian/control (added)
+++ packages/sip4-qt3/trunk/debian/control Sun Aug 12 13:21:24 2007
@@ -1,0 +1,63 @@
+Source: sip4-qt3
+Section: devel
+Priority: optional
+Maintainer: Ricardo Javier Cardenes Medina <rcardenes at debian.org>
+Uploaders: Torsten Marek <shlomme at debian.org>
+Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-10), python-central (>= 0.5.8), dpatch
+XS-Python-Version: all
+Standards-Version: 3.7.2
+
+Package: sip4
+Architecture: any
+Depends: ${shlibs:Depends}
+Recommends: python-sip4-dev
+Description: Python/C++ bindings generator
+ SIP is a tool for generating bindings for C++ classes with some ideas
+ borrowed from SWIG, but capable of tighter bindings, because it's
+ specific to C++ and Python.
+ .
+ WARNING: This is only the sip4 tool. If you are going to compile something
+ produced by it, you will also need python-sip4-dev.
+ .
+ SIP was originally designed to generate Python bindings for KDE and so
+ has explicit support for the signal slot mechanism used by the Qt/KDE
+ class libraries.
+ .
+ Features:
+     - connecting Qt signals to Python functions and class methods
+     - connecting Python signals to Qt slots
+     - overloading virtual member functions with Python class methods
+     - protected member functions
+     - abstract classes
+     - enumerated types
+     - global class instances
+     - static member functions.
+ .
+  Homepage: http://www.riverbankcomputing.co.uk/sip
+
+Package: python-sip4
+Architecture: any
+Section: python
+Provides: ${python:Provides}
+Depends: ${python:Depends}, ${shlibs:Depends}
+XB-Python-Version: ${python:Versions}
+Description: Python/C++ bindings generator runtime library
+ SIP is a tool for generating bindings for C++ classes with some ideas
+ borrowed from SWIG, but capable of tighter bindings, because it's
+ specific to C++ and Python.
+ .
+  Homepage: http://www.riverbankcomputing.co.uk/sip
+
+Package: python-sip4-dev
+Architecture: all
+Section: python
+Depends: ${python:Depends}, python-dev
+Replaces: python-sip4 (<< 4.7)
+Recommends: python-sip4 (>= ${source:Version})
+XB-Python-Version: ${python:Versions}
+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 it's
+ specific to C++ and Python.
+ .
+  Homepage: http://www.riverbankcomputing.co.uk/sip

Added: packages/sip4-qt3/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/sip4-qt3/trunk/debian/copyright?rev=3026&op=file
==============================================================================
--- packages/sip4-qt3/trunk/debian/copyright (added)
+++ packages/sip4-qt3/trunk/debian/copyright Sun Aug 12 13:21:24 2007
@@ -1,0 +1,54 @@
+This package was debianized by Ricardo Javier Cardenes Medina <rcardenes at debian.org> on
+Tue, 10 Sep 2002 23:12:17 +0100
+
+It was downloaded from http://www.riverbankcomputing.co.uk
+
+Upstream Author: Phil Thompson (phil at riverbankcomputing.co.uk)
+
+Copyright (c) 2004 Riverbank Computing Limited; All Rights Reserved
+
+RIVERBANK COMPUTING LIMITED LICENSE AGREEMENT FOR SIP 4.0
+
+1. This LICENSE AGREEMENT is between Riverbank Computing Limited
+("Riverbank"), and the Individual or Organization ("Licensee") accessing
+and otherwise using SIP 4.0 software in source or binary form and its
+associated documentation.
+
+2. Subject to the terms and conditions of this License Agreement, Riverbank
+hereby grants Licensee a nonexclusive, royalty-free, world-wide license
+to reproduce, analyze, test, perform and/or display publicly, prepare
+derivative works, distribute, and otherwise use SIP 4.0 alone or in
+any derivative version, provided, however, that Riverbank's License
+Agreement and Riverbank's notice of copyright, i.e., "Copyright (c) 2004
+Riverbank Computing Limited; All Rights Reserved" are retained in
+SIP 4.0 alone or in any derivative version prepared by Licensee.
+
+3. In the event Licensee prepares a derivative work that is based on
+or incorporates SIP 4.0 or any part thereof, and wants to make
+the derivative work available to others as provided herein, then
+Licensee hereby agrees to include in any such work a brief summary of
+the changes made to SIP 4.0.
+
+4. Riverbank is making SIP 4.0 available to Licensee on an "AS IS"
+basis.  RIVERBANK MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, RIVERBANK MAKES NO AND
+DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF SIP 4.0 WILL NOT
+INFRINGE ANY THIRD PARTY RIGHTS.
+
+5. RIVERBANK SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF
+SIP 4.0 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
+AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING SIP 4.0,
+OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+
+6. This License Agreement will automatically terminate upon a material
+breach of its terms and conditions.
+
+7. Nothing in this License Agreement shall be deemed to create any
+relationship of agency, partnership, or joint venture between Riverbank
+and Licensee.  This License Agreement does not grant permission to use
+Riverbank trademarks or trade name in a trademark sense to endorse or
+promote products or services of Licensee, or any third party.
+
+8. By copying, installing or otherwise using SIP 4.0, Licensee
+agrees to be bound by the terms and conditions of this License Agreement.

Added: packages/sip4-qt3/trunk/debian/docs
URL: http://svn.debian.org/wsvn/python-modules/packages/sip4-qt3/trunk/debian/docs?rev=3026&op=file
==============================================================================
--- packages/sip4-qt3/trunk/debian/docs (added)
+++ packages/sip4-qt3/trunk/debian/docs Sun Aug 12 13:21:24 2007
@@ -1,0 +1,3 @@
+NEWS
+README
+THANKS

Added: packages/sip4-qt3/trunk/debian/manpages/sip.1
URL: http://svn.debian.org/wsvn/python-modules/packages/sip4-qt3/trunk/debian/manpages/sip.1?rev=3026&op=file
==============================================================================
--- packages/sip4-qt3/trunk/debian/manpages/sip.1 (added)
+++ packages/sip4-qt3/trunk/debian/manpages/sip.1 Sun Aug 12 13:21:24 2007
@@ -1,0 +1,90 @@
+.\"
+.\" Created by Ricardo Cárdenes Medina <ricardo at conysis.com>
+.\" for the Debian 'sip' package
+.\"
+.TH SIP 1 "2007/07/31"
+.SH NAME
+sip \- generates C++/Python bindings
+.SH SYNOPSIS
+.B sip
+[\fI-h\fR] [\fI-V\fR] [\fI-a file\fR]
+[\fI-b file\fR] [\fI-c dir\fR]
+[\fI-d file\fR] [\fI-e\fR] [\fI-g\fR]
+[\fI-I dir\fR] [\fI-j #\fR] [\fI-m file\fR] 
+[\fI-p module\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 Makefiles.
+
+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 Scintilla 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 -r
+Enable tracing on generated code.
+.TP
+.B -s suffix
+The suffix used for generated C++ files (".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 <rcardenes at debian.org> and Torsten Marek <shlomme at debian.org>,
+for the Debian GNU/Linux system (but may be used by others).

Added: packages/sip4-qt3/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/python-modules/packages/sip4-qt3/trunk/debian/patches/00list?rev=3026&op=file
==============================================================================
--- packages/sip4-qt3/trunk/debian/patches/00list (added)
+++ packages/sip4-qt3/trunk/debian/patches/00list Sun Aug 12 13:21:24 2007
@@ -1,0 +1,2 @@
+01_configure
+02_siputils

Added: packages/sip4-qt3/trunk/debian/patches/01_configure.dpatch
URL: http://svn.debian.org/wsvn/python-modules/packages/sip4-qt3/trunk/debian/patches/01_configure.dpatch?rev=3026&op=file
==============================================================================
--- packages/sip4-qt3/trunk/debian/patches/01_configure.dpatch (added)
+++ packages/sip4-qt3/trunk/debian/patches/01_configure.dpatch Sun Aug 12 13:21:24 2007
@@ -1,0 +1,93 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_configure.dpatch by Torsten Marek <shlomme at debian.org>
+##
+## DP: Make it possible to do out-of-source/objectdir builds
+## DP: for sip
+
+ at DPATCH@
+
+diff -urNad sip4-qt3-4.6~/configure.py sip4-qt3-4.6/configure.py
+--- sip4-qt3-4.6~/configure.py	2007-05-07 21:25:54.000000000 +0200
++++ sip4-qt3-4.6/configure.py	2007-05-07 21:34:30.000000000 +0200
+@@ -20,6 +20,15 @@
+ 
+ import siputils
+ 
++topsrcdir = os.path.dirname(os.path.abspath(__file__))
++has_objdir = topsrcdir != os.path.abspath(os.path.curdir)
++if not has_objdir:
++    topsrcdir = None
++
++def srcPath(filename):
++    if topsrcdir is not None:
++        return os.path.join(topsrcdir, filename)
++    return filename
+ 
+ # Initialise the globals.
+ sip_version = 0x040600
+@@ -282,8 +291,11 @@
+     macros is the dictionary of platform specific build macros.
+     """
+     # Bootstrap.
++    # make sure to load the currect sipconfig
++    # from our directory
++    sys.path.insert(0, os.path.curdir)
+     import sipconfig
+-
++    
+     cfg = sipconfig.Configuration()
+ 
+     cfg.set_build_macros(macros)
+@@ -293,7 +305,8 @@
+     sipconfig.ParentMakefile(
+         configuration=cfg,
+         subdirs=["sipgen", "siplib"],
+-        installs=(["sipconfig.py", "sipdistutils.py"], cfg.sip_mod_dir)
++        installs=(["sipconfig.py", srcPath("sipdistutils.py")], cfg.sip_mod_dir),
++        has_objdir=has_objdir
+     ).generate()
+ 
+     sipconfig.inform("Creating sip code generator Makefile...")
+@@ -305,6 +318,7 @@
+         install_dir=os.path.dirname(cfg.sip_bin),
+         console=1,
+         warnings=0,
++        topsrcdir=topsrcdir,
+         universal=opt_universal
+     ).generate()
+ 
+@@ -320,6 +334,7 @@
+         warnings=0,
+         static=opt_static,
+         debug=opt_debug,
++        topsrcdir=topsrcdir,
+         universal=opt_universal
+     )
+ 
+@@ -340,7 +355,7 @@
+     set_platform_directories()
+ 
+     # Build up the list of valid specs.
+-    for s in os.listdir("specs"):
++    for s in os.listdir(srcPath("specs")):
+         platform_specs.append(s)
+ 
+     # Handle the command line.
+@@ -385,7 +400,7 @@
+         opt_platform = default_platform
+ 
+     # Get the platform specific macros for building.
+-    macros = siputils.parse_build_macros(os.path.join("specs", opt_platform), build_macro_names, args)
++    macros = siputils.parse_build_macros(srcPath(os.path.join("specs", opt_platform)), build_macro_names, args)
+ 
+     if macros is None:
+         usage()
+@@ -394,7 +409,7 @@
+     inform_user()
+ 
+     # Install the configuration module.
+-    create_config("sipconfig.py", "siputils.py", macros)
++    create_config("sipconfig.py", srcPath("siputils.py"), macros)
+ 
+     # Create the Makefiles.
+     create_makefiles(macros)

Propchange: packages/sip4-qt3/trunk/debian/patches/01_configure.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/sip4-qt3/trunk/debian/patches/02_siputils.dpatch
URL: http://svn.debian.org/wsvn/python-modules/packages/sip4-qt3/trunk/debian/patches/02_siputils.dpatch?rev=3026&op=file
==============================================================================
--- packages/sip4-qt3/trunk/debian/patches/02_siputils.dpatch (added)
+++ packages/sip4-qt3/trunk/debian/patches/02_siputils.dpatch Sun Aug 12 13:21:24 2007
@@ -1,0 +1,193 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_siputils.dpatch by Torsten Marek <shlomme at debian.org>
+##
+## DP: Patch for siputils.py adding objectdir support
+
+ at DPATCH@
+diff -urNad sip4-qt3-4.6~/siputils.py sip4-qt3-4.6/siputils.py
+--- sip4-qt3-4.6~/siputils.py	2007-04-10 16:27:33.000000000 +0200
++++ sip4-qt3-4.6/siputils.py	2007-05-07 21:40:45.000000000 +0200
+@@ -188,7 +188,7 @@
+     """
+     def __init__(self, configuration, console=0, qt=0, opengl=0, python=0,
+                  threaded=0, warnings=1, debug=0, dir=None,
+-                 makefile="Makefile", installs=None, universal=''):
++                 makefile="Makefile", installs=None, topsrcdir=None, universal=''):
+         """Initialise an instance of the target.  All the macros are left
+         unchanged allowing scripts to manipulate them at will.
+ 
+@@ -239,7 +239,14 @@
+         self._python = python
+         self._warnings = warnings
+         self._debug = debug
+-        self._dir = dir
++        if topsrcdir is not None:
++            self._dir = os.path.join(topsrcdir, dir)
++            self._objdir = dir
++            self._has_objdir = True
++        else:
++            self._dir = dir
++            self._has_objdir = False
++
+         self._makefile = makefile
+         self._installs = installs
+         self._universal = universal
+@@ -300,6 +307,13 @@
+         self.chkdir = self.optional_string("CHK_DIR_EXISTS", def_chk_dir_exists)
+ 
+ 
++    def srcPath(self, path):
++        if self._has_objdir:
++            return os.path.join(self._dir, path)
++        else:
++            return path
++
++
+     def finalise(self):
+         """Finalise the macros by doing any consolidation that isn't specific
+         to a Makefile.
+@@ -736,6 +750,10 @@
+ 
+         rpaths is the cannonical list of rpaths.
+         """
++        # Do not use any rpaths on Debian
++        # Changed by Torsten Marek <shlomme at gmx.net>
++        return []
++    
+         flags = []
+         prefix = self.optional_string("RPATH")
+ 
+@@ -767,6 +785,15 @@
+         clib is the library name in cannonical form.
+         framework is set of the library is implemented as a MacOS framework.
+         """
++        ##################################################################
++        # Generally, the linker is intelligent enough not to need this   #
++        # additional information!                                        #
++        # And Qt4's pkg-config and prl files are broken                  #
++        # Changed for Debian packaging, Torsten Marek <shlomme at gmx.net>  #
++        ##################################################################
++
++        return []
++        
+         prl_libs = []
+ 
+         if self.generator in ("MSVC", "MSVC.NET", "BMAKE"):
+@@ -904,7 +931,10 @@
+         self.ready()
+ 
+         if self._dir:
+-            mfname = os.path.join(self._dir, self._makefile)
++            if self._has_objdir:
++                mfname = os.path.join(self._objdir, self._makefile)
++            else:
++                mfname = os.path.join(self._dir, self._makefile)
+         else:
+             mfname = self._makefile
+ 
+@@ -922,6 +952,8 @@
+                 self._installs = [self._installs]
+ 
+             for src, dst in self._installs:
++                if self._dir is not None and self._has_objdir:
++                    src = [os.path.join(self._dir, sf) for sf in src]
+                 self.install_file(mfile, src, dst)
+ 
+         self.generate_target_clean(mfile)
+@@ -981,6 +1013,9 @@
+         else:
+             mfile.write(".SUFFIXES: .c .cpp .cc .cxx .C\n\n")
+ 
++        if self._has_objdir:
++            mfile.write("VPATH = %s\n\n" % (self._dir))
++            
+         if self.generator in ("MSVC", "MSVC.NET"):
+             mfile.write("""
+ {.}.cpp{}.obj::
+@@ -1107,14 +1142,14 @@
+     """The class that represents a parent Makefile.
+     """
+     def __init__(self, configuration, subdirs, dir=None, makefile="Makefile",
+-                 installs=None):
++                 installs=None, has_objdir=False):
+         """Initialise an instance of a parent Makefile.
+ 
+         subdirs is the sequence of subdirectories.
+         """
+         Makefile.__init__(self, configuration, dir=dir, makefile=makefile, installs=installs)
+-
+         self._subdirs = subdirs
++        self._has_objdir = has_objdir
+ 
+     def generate_macros_and_rules(self, mfile):
+         """Generate the macros and rules.
+@@ -1159,6 +1194,12 @@
+         mfile.write("\n" + target + ":\n")
+ 
+         for d in self._subdirs:
++            if self._has_objdir:
++                try:
++                    os.mkdir(d)
++                except OSError, e:
++                    if e.errno != 17:
++                        raise e
+             if self.generator == "MINGW":
+                 mfile.write("\t@$(MAKE) -C %s%s\n" % (d, tname))
+             elif self.generator == "UNIX":
+@@ -1239,7 +1280,7 @@
+     def __init__(self, configuration, build_file, install_dir=None, static=0,
+                  console=0, qt=0, opengl=0, threaded=0, warnings=1, debug=0,
+                  dir=None, makefile="Makefile", installs=None, strip=1,
+-                 export_all=0, universal=''):
++                 export_all=0, topsrcdir=None, universal=''):
+         """Initialise an instance of a module Makefile.
+ 
+         build_file is the file containing the target specific information.  If
+@@ -1253,11 +1294,10 @@
+         increases the size of the module and slows down module load times but
+         may avoid problems with modules that use exceptions.  The default is 0.
+         """
+-        Makefile.__init__(self, configuration, console, qt, opengl, 1, threaded, warnings, debug, dir, makefile, installs, universal)
++        Makefile.__init__(self, configuration, console, qt, opengl, 1, threaded, warnings, debug, dir, makefile, installs, topsrcdir, universal)
+ 
+         self._build = self.parse_build_file(build_file)
+         self._install_dir = install_dir
+-        self._dir = dir
+         self.static = static
+ 
+         # Don't strip or restrict the exports if this is a debug or static
+@@ -1512,7 +1552,7 @@
+             cpp = "moc_" + root + ".cpp"
+ 
+             mfile.write("\n%s: %s\n" % (cpp, mf))
+-            mfile.write("\t$(MOC) -o %s %s\n" % (cpp, mf))
++            mfile.write("\t$(MOC) -o %s %s\n" % (cpp, self.srcPath(mf)))
+ 
+     def generate_target_install(self, mfile):
+         """Generate the install target.
+@@ -1557,14 +1597,14 @@
+     def __init__(self, configuration, build_file=None, install_dir=None,
+                  console=0, qt=0, opengl=0, python=0, threaded=0, warnings=1,
+                  debug=0, dir=None, makefile="Makefile", installs=None,
+-                 universal=''):
++                 topsrcdir=None, universal=''):
+         """Initialise an instance of a program Makefile.
+ 
+         build_file is the file containing the target specific information.  If
+         it is a dictionary instead then its contents are validated.
+         install_dir is the directory the target will be installed in.
+         """
+-        Makefile.__init__(self, configuration, console, qt, opengl, python, threaded, warnings, debug, dir, makefile, installs, universal)
++        Makefile.__init__(self, configuration, console, qt, opengl, python, threaded, warnings, debug, dir, makefile, installs, topsrcdir, universal)
+ 
+         self._install_dir = install_dir
+ 
+@@ -1717,7 +1757,7 @@
+             cpp = "moc_" + root + ".cpp"
+ 
+             mfile.write("\n%s: %s\n" % (cpp, mf))
+-            mfile.write("\t$(MOC) -o %s %s\n" % (cpp, mf))
++            mfile.write("\t$(MOC) -o %s %s\n" % (cpp, self.srcPath(mf)))
+ 
+     def generate_target_install(self, mfile):
+         """Generate the install target.

Propchange: packages/sip4-qt3/trunk/debian/patches/02_siputils.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/sip4-qt3/trunk/debian/pycompat
URL: http://svn.debian.org/wsvn/python-modules/packages/sip4-qt3/trunk/debian/pycompat?rev=3026&op=file
==============================================================================
--- packages/sip4-qt3/trunk/debian/pycompat (added)
+++ packages/sip4-qt3/trunk/debian/pycompat Sun Aug 12 13:21:24 2007
@@ -1,0 +1,1 @@
+2

Added: packages/sip4-qt3/trunk/debian/python-sip4.install
URL: http://svn.debian.org/wsvn/python-modules/packages/sip4-qt3/trunk/debian/python-sip4.install?rev=3026&op=file
==============================================================================
--- packages/sip4-qt3/trunk/debian/python-sip4.install (added)
+++ packages/sip4-qt3/trunk/debian/python-sip4.install Sun Aug 12 13:21:24 2007
@@ -1,0 +1,1 @@
+usr/lib/python*/site-packages/sip.so

Added: packages/sip4-qt3/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/sip4-qt3/trunk/debian/rules?rev=3026&op=file
==============================================================================
--- packages/sip4-qt3/trunk/debian/rules (added)
+++ packages/sip4-qt3/trunk/debian/rules Sun Aug 12 13:21:24 2007
@@ -1,0 +1,123 @@
+#!/usr/bin/make -f
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export DH_OPTIONS
+
+include /usr/share/dpatch/dpatch.make
+
+INSTDIR=$(CURDIR)/debian
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+export QMAKE_CFLAGS=
+
+PYTHONS	:= $(shell pyversions -vr debian/control)
+
+configure: configure-stamp
+configure-stamp: patch-stamp
+	dh_testdir
+	rm -f failed-stamp
+	for version in ${PYTHONS};\
+	do\
+		mkdir -p build-$$version;\
+		cd build-$$version;\
+		python$$version ../configure.py -u || touch ../failed-stamp;\
+		cd ..;\
+	done
+	test ! -e failed-stamp && touch $@
+	rm -f failed-stamp
+
+
+build: build-stamp
+build-stamp: configure-stamp
+	dh_testdir
+	rm -f failed-stamp
+	for version in ${PYTHONS};\
+	do\
+		cd build-$$version;\
+		$(MAKE) || touch ../failed-stamp;\
+		cd ..;\
+	done
+	test ! -e failed-stamp && touch $@
+	rm -f failed-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f *-stamp
+	for version in ${PYTHONS};\
+	do\
+		rm -fr build-$$version;\
+	done
+	rm -f siputils.pyc
+	dh_clean
+
+install-indep:
+	dh_testdir
+	dh_testroot
+	dh_clean -k -i
+	dh_installdirs -i
+	for version in ${PYTHONS}; do \
+		mkdir -p debian/python-sip4-dev/usr/include/python$$version; \
+		install -m 644 -o root -g root siplib/sip.h debian/python-sip4-dev/usr/include/python$$version/; \
+		mkdir -p debian/python-sip4-dev/usr/lib/python$$version/site-packages; \
+		install -m 644 -o root -g root sipdistutils.py debian/python-sip4-dev/usr/lib/python$$version/site-packages;\
+		install -m 644 -o root -g root build-$$version/sipconfig.py debian/python-sip4-dev/usr/lib/python$$version/site-packages;\
+	done
+	dh_install -i
+
+install-arch: build 
+	dh_testdir
+	dh_testroot
+	dh_clean -k -a
+	dh_installdirs -a
+
+	for version in ${PYTHONS}; do\
+	  $(MAKE) -C build-$$version install DESTDIR=$(CURDIR)/debian/tmp;\
+	done
+	install -d $(CURDIR)/debian/tmp/usr/share/doc/sip4/reference
+	for i in $(CURDIR)/doc/*; do \
+	  install -m 644 $$i $(CURDIR)/debian/tmp/usr/share/doc/sip4/reference; \
+	done
+	dh_install -a --sourcedir=$(CURDIR)/debian/tmp
+
+# Build architecture-independent files here.
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-indep
+# in another 'make' thread.
+binary-common:
+	dh_testdir
+	dh_testroot
+	dh_installman
+	dh_installchangelogs ChangeLog
+	dh_installdocs -A
+	dh_installexamples
+	dh_link
+	dh_strip
+	dh_compress 
+	dh_fixperms
+	DH_PYCENTRAL=nomove dh_pycentral
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture independant packages using the common target.
+binary-indep: install-indep
+	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: install-arch
+	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary configure

Propchange: packages/sip4-qt3/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/sip4-qt3/trunk/debian/sip4.install
URL: http://svn.debian.org/wsvn/python-modules/packages/sip4-qt3/trunk/debian/sip4.install?rev=3026&op=file
==============================================================================
--- packages/sip4-qt3/trunk/debian/sip4.install (added)
+++ packages/sip4-qt3/trunk/debian/sip4.install Sun Aug 12 13:21:24 2007
@@ -1,0 +1,2 @@
+usr/bin/*
+usr/share/doc/sip4/reference

Added: packages/sip4-qt3/trunk/debian/sip4.manpages
URL: http://svn.debian.org/wsvn/python-modules/packages/sip4-qt3/trunk/debian/sip4.manpages?rev=3026&op=file
==============================================================================
--- packages/sip4-qt3/trunk/debian/sip4.manpages (added)
+++ packages/sip4-qt3/trunk/debian/sip4.manpages Sun Aug 12 13:21:24 2007
@@ -1,0 +1,1 @@
+debian/manpages/sip.1

Added: packages/sip4-qt3/trunk/debian/watch
URL: http://svn.debian.org/wsvn/python-modules/packages/sip4-qt3/trunk/debian/watch?rev=3026&op=file
==============================================================================
--- packages/sip4-qt3/trunk/debian/watch (added)
+++ packages/sip4-qt3/trunk/debian/watch Sun Aug 12 13:21:24 2007
@@ -1,0 +1,5 @@
+version=3
+http://www.riverbankcomputing.com/Downloads/sip4/sip-(.*)\.tar\.gz debian uupdate
+
+
+




More information about the Python-modules-commits mailing list