[Python-modules-commits] r9476 - in packages (27 files)

odyx-guest at users.alioth.debian.org odyx-guest at users.alioth.debian.org
Wed Aug 26 09:18:53 UTC 2009


    Date: Wednesday, August 26, 2009 @ 09:18:48
  Author: odyx-guest
Revision: 9476

Add pyside and import the Ubuntu PPA packaging for reference in the tags.

Added:
  packages/pyside/
  packages/pyside/tags/
  packages/pyside/tags/0.1.4.5-0ubuntu2/
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/changelog
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/compat
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/control
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/copyright
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pycompat
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-base-dev.install
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-base.install
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-core.install
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-gui.install
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-help.install
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-network.install
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-opengl.install
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-phonon.install
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-script.install
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-sql.install
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-svg.install
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-uitools.install
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-webkit.install
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-xml.install
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/rules
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/runtests.sh
  packages/pyside/tags/0.1.4.5-0ubuntu2/debian/symbols.map
  packages/pyside/trunk/

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/changelog
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/changelog	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/changelog	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1,13 @@
+pyside (0.1.4.5-0ubuntu2) jaunty; urgency=low
+
+  * Build for Ubuntu 9.04.
+  * Remove pyside-tests package (not applicable to Ubuntu).
+
+ -- Anderson Lizardo <anderson.lizardo at openbossa.org>  Tue, 18 Aug 2009 09:19:21 -0400
+
+pyside (0.1.4.5-0maemo1) unstable; urgency=low
+
+  * Initial Release 
+
+ -- Lauro Moura <lauro.neto at openbossa.org>  Mon, 17 Aug 2009 16:21:54 -0300
+

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/compat
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/compat	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/compat	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1 @@
+5

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/control
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/control	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/control	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1,177 @@
+Source: pyside
+Section: python
+Priority: optional
+Maintainer: PySide team <contact at pyside.org>
+Build-Depends: debhelper (>= 5.0.37.2), cmake (>= 2.6.0), python-dev (>= 2.3.5-11), libqt4-dev (>= 4.5.0), libphonon-dev (>= 4.3.0), libqt4-opengl-dev (>= 4.5.0), boostpythongenerator (>= 0.1), python-support (>= 0.3.9), libboost-python1.38-dev
+Standards-Version: 3.8.0
+
+Package: pyside
+Architecture: all
+Depends: pyside-base (= ${binary:Version}), pyside-core (= ${binary:Version})
+Description: Python bindings for Qt 4 (metapackage)
+ Python bindings for Qt4 framework. This is a metapackage for the
+ basic packages.
+
+Package: pyside-dbg
+Architecture: any
+Priority: extra
+Depends: ${shlibs:Depends}
+Description: Python bindings for Qt 4 (debug symbols)
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains the debugging symbols.
+
+Package: pyside-base
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libqtcore4 (>= 4.5.0), libboost-python1.38.0
+Description: Python bindings for Qt 4 (base files)
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains base files used by all modules.
+
+Package: pyside-base-dev
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, libqt4-dev (>= 4.5.0), libboost-python1.38-dev, pyside-base
+Description: Python bindings for Qt 4 (development files)
+ Development headers for the pysidebase library.
+
+Package: pyside-core
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, pyside-base (= ${binary:Version}), libqtcore4 (>= 4.5.0), libboost-python1.38.0, libfontconfig1
+Description: Qt 4 core module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtCore module.
+
+Package: pyside-gui
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, pyside-base (= ${binary:Version}), libqtgui4 (>= 4.5.0), pyside-core (= ${binary:Version})
+Description: Qt 4 GUI module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtGui module.
+
+Package: pyside-help
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, pyside-base (= ${binary:Version}), libqt4-help (>= 4.5.0), pyside-core (= ${binary:Version}), pyside-gui (= ${binary:Version})
+Description: Qt 4 help module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtHelp module.
+
+Package: pyside-network
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, pyside-base (= ${binary:Version}), libqt4-network (>= 4.5.0), pyside-core (= ${binary:Version})
+Description: Qt 4 network module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtNetwork module.
+
+Package: pyside-opengl
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, pyside-base (= ${binary:Version}), libqt4-opengl (>= 4.5.0), pyside-core (= ${binary:Version}), pyside-gui (= ${binary:Version})
+Description: Qt 4 OpenGL module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtOpenGL module.
+ .
+ OpenGL is a standard API for rendering 3D graphics. OpenGL only deals with 3D
+ rendering and provides little or no support for GUI programming issues.
+
+Package: pyside-phonon
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, pyside-base (= ${binary:Version}), libphonon4 (>= 4.3.0), pyside-core (= ${binary:Version}), pyside-gui (= ${binary:Version})
+Description: Qt 4 Phonon module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the Phonon multimedia module.
+
+Package: pyside-script
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, pyside-base (= ${binary:Version}), libqt4-script (>= 4.5.0), pyside-core (= ${binary:Version})
+Description: Qt 4 script module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtScript and QtScriptTools
+ modules.
+
+Package: pyside-sql
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, pyside-base (= ${binary:Version}), libqt4-sql (>= 4.5.0), pyside-core (= ${binary:Version}), pyside-gui (= ${binary:Version})
+Description: Qt 4 SQL module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtSql module.
+
+Package: pyside-svg
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, pyside-base (= ${binary:Version}), libqt4-svg (>= 4.5.0), pyside-core (= ${binary:Version}), pyside-gui (= ${binary:Version})
+Description: Qt 4 SVG module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtSvg module.
+ .
+ Scalable Vector Graphics (SVG) is a language for describing two-dimensional
+ graphics and graphical applications in XML.
+
+Package: pyside-uitools
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, pyside-base (= ${binary:Version}), pyside-core (= ${binary:Version}), pyside-gui (= ${binary:Version})
+Description: Qt 4 UI tools module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtUiTools module.
+
+Package: pyside-webkit
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, pyside-base (= ${binary:Version}), libqt4-webkit (>= 4.5.0), pyside-network (= ${binary:Version}), pyside-core (= ${binary:Version}), pyside-gui (= ${binary:Version}), libqt4-phonon (>= 4.5.0) | libphonon4, libqt4-dbus (>= 4.5.0)
+Description: Qt 4 WebKit module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtWebKit module.
+
+Package: pyside-xml
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, pyside-base (= ${binary:Version}), libqt4-xml (>= 4.5.0), pyside-core (= ${binary:Version})
+Description: Qt 4 XML module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtXml module.

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/copyright
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/copyright	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/copyright	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1,33 @@
+This package was debianized by Renato Araujo Oliveira Filho <renato.filho at indt.org.br> on
+Wed, 03 Dec 2008 10:50:39 -0300.
+
+Upstream Authors:
+
+    PySide team <contact at pyside.org>
+
+Copyright:
+
+    Copyright (C) 2009 Nokia Corporation and/or its subsidiary(ies)
+
+License:
+
+    This package is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+    On Debian systems, the complete text of the GNU Lesser General
+    Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+
+The Debian packaging is (C) 2009, Nokia Corporation and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pycompat
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pycompat	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pycompat	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1 @@
+2

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-base-dev.install
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-base-dev.install	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-base-dev.install	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1,4 @@
+usr/include/PySide/*.hpp
+usr/lib/pkgconfig/*.pc
+usr/share/PySide/typesystem/*.xml
+usr/lib/libpysidebase.so

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-base.install
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-base.install	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-base.install	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1 @@
+usr/lib/libpysidebase.so.*

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-core.install
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-core.install	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-core.install	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1,2 @@
+usr/lib/python*/*-packages/PySide/__init__.py
+usr/lib/python*/*-packages/PySide/QtCore.so

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-gui.install
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-gui.install	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-gui.install	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/PySide/QtGui.so

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-help.install
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-help.install	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-help.install	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/PySide/QtHelp.so

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-network.install
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-network.install	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-network.install	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/PySide/QtNetwork.so

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-opengl.install
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-opengl.install	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-opengl.install	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/PySide/QtOpenGL.so

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-phonon.install
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-phonon.install	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-phonon.install	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/PySide/phonon.so

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-script.install
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-script.install	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-script.install	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1,2 @@
+usr/lib/python*/*-packages/PySide/QtScript.so
+usr/lib/python*/*-packages/PySide/QtScriptTools.so

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-sql.install
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-sql.install	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-sql.install	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/PySide/QtSql.so

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-svg.install
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-svg.install	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-svg.install	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/PySide/QtSvg.so

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-uitools.install
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-uitools.install	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-uitools.install	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/PySide/QtUiTools.so

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-webkit.install
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-webkit.install	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-webkit.install	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/PySide/QtWebKit.so

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-xml.install
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-xml.install	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/pyside-xml.install	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/PySide/QtXml.so

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/rules
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/rules	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/rules	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1,164 @@
+#!/usr/bin/make -f
+# Based on the multi2 sample debian/rules file:
+# ---
+# Sample debian/rules that uses debhelper.
+# This file is public domain software, originally written by Joey Hess.
+#
+# This version is for a multibinary package. It also allows you to build any
+# of the binary packages independantly, via binary-<package> targets.
+# ---
+
+# Uncomment this to turn on verbose mode. 
+#export DH_VERBOSE=1
+
+with_tests := yes
+
+ifneq ($(with_tests),yes)
+NOPKGS += -Npyside-tests
+endif
+
+export DH_OPTIONS = $(NOPKGS)
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+export CFLAGS
+
+# borrowed from python2.5 debian/rules
+COMMA = ,
+ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
+  NJOBS := -j$(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
+endif
+
+SRC	:= $(CURDIR)
+BUILD	:= $(CURDIR)/debian/build
+TARGET	:= $(CURDIR)/debian/tmp
+
+PYVERS  := $(shell pyversions -vd)
+
+debian/configure-stamp: $(PYVERS:%=debian/configure-python%-stamp) 
+	touch $@
+
+debian/configure-python%-stamp: 
+	dh_testdir
+	[ -d $(BUILD)-python$* ] || mkdir $(BUILD)-python$*
+	: # cmake does not offer a way to force a specific python version to
+	: # check, therefore we add the wanted version to the beginning of
+	: # the list to be checked
+	CMAKE_MODULES=/usr/share/cmake-2.6/Modules && \
+	mkdir -p $(BUILD)-python$*/cmake_modules && \
+	cd $(BUILD)-python$*/cmake_modules && \
+	  sed "/^FIND_PROGRAM(PYTHON_EXECUTABLE/{N;s/\n *NAMES /&python$* /}" \
+	    $$CMAKE_MODULES/FindPythonInterp.cmake > FindPythonInterp.cmake && \
+	  sed "s/^FOREACH(_CURRENT_VERSION /&$* /" \
+	    $$CMAKE_MODULES/FindPythonLibs.cmake > FindPythonLibs.cmake
+	cd $(BUILD)-python$* && cmake $(CURDIR) -DCMAKE_INSTALL_PREFIX="/usr" \
+		-DCMAKE_C_COMPILER:FILEPATH="$(CC)" \
+		-DCMAKE_CXX_COMPILER:FILEPATH="$(CXX)" \
+		-DCMAKE_C_FLAGS="$(CFLAGS)" \
+		-DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DCMAKE_SKIP_RPATH=ON \
+		-DCMAKE_VERBOSE_MAKEFILE=ON \
+		-DCMAKE_MODULE_PATH=$(BUILD)-python$*/cmake_modules
+	touch $@
+
+build: debian/build-stamp
+
+debian/build-stamp: debian/configure-stamp $(PYVERS:%=debian/build-python%-stamp)
+	touch $@
+
+debian/build-python%-stamp: 
+	dh_testdir
+	$(MAKE) $(NJOBS) -C $(BUILD)-python$*
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f debian/configure*stamp debian/build*stamp 
+	rm -rf debian/build*
+	dh_clean
+
+install: DH_OPTIONS=
+install: debian/build-stamp install-common $(PYVERS:%=install-python%)
+install-common:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+ifeq ($(with_tests),yes)
+	#pyside-tests
+	mkdir -p $(CURDIR)/debian/tmp/usr/share/pyside-tests
+	cp -r $(CURDIR)/tests $(CURDIR)/debian/tmp/usr/share/pyside-tests
+	cp -r $(CURDIR)/debian/runtests.sh $(CURDIR)/debian/tmp/usr/share/pyside-tests
+	chmod u+x $(CURDIR)/debian/tmp/usr/share/pyside-tests/runtests.sh
+	dh_install -ppyside-tests --sourcedir=debian/tmp
+endif
+
+install-python%:
+	$(MAKE) $(NJOBS) -C $(BUILD)-python$* install DESTDIR=$(TARGET)
+
+# This single target is used to build all the packages, all at once, or
+# one at a time. So keep in mind: any options passed to commands here will
+# affect _all_ packages. Anything you want to only affect one package
+# should be put in another target, such as the install target.
+binary-common:
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+#	dh_installdebconf
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installcatalogs
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installman
+#	dh_installcron
+#	dh_installinfo
+	dh_install --sourcedir=$(TARGET) --list-missing
+	dh_strip --dbg-package=pyside-dbg
+	dh_link
+	dh_compress
+	dh_fixperms
+#	dh_perl
+	dh_pysupport
+	dh_python
+	dh_makeshlibs -Xformats -V
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture independant packages using the common target.
+binary-indep: build install
+	$(MAKE) -f $(SRC)/debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build install
+	$(MAKE) -f $(SRC)/debian/rules DH_OPTIONS=-a binary-common
+
+# Any other binary targets build just one binary package at a time.
+binary-%: build install
+	make -f $(SRC)/debian/rules binary-common DH_OPTIONS=-p$*
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary-common binary install install-common


Property changes on: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/runtests.sh
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/runtests.sh	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/runtests.sh	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e 
+
+
+mkdir -p /tmp/pyside-tests
+cp -r /usr/share/pyside-tests/tests /usr/share/pyside-tests/runtests.sh /tmp/pyside-tests
+cd /tmp/pyside-tests/tests
+python2.5 run_all.py > /tmp/pyside-tests/testresults.txt 2>&1
+cd -

Added: packages/pyside/tags/0.1.4.5-0ubuntu2/debian/symbols.map
===================================================================
--- packages/pyside/tags/0.1.4.5-0ubuntu2/debian/symbols.map	                        (rev 0)
+++ packages/pyside/tags/0.1.4.5-0ubuntu2/debian/symbols.map	2009-08-26 09:18:48 UTC (rev 9476)
@@ -0,0 +1,4 @@
+{
+   global: initQt*;
+   local: *;
+};




More information about the Python-modules-commits mailing list