[Python-modules-commits] r12876 - in packages/pyside/trunk/debian (6 files)
odyx-guest at users.alioth.debian.org
odyx-guest at users.alioth.debian.org
Tue May 11 12:31:09 UTC 2010
Date: Tuesday, May 11, 2010 @ 12:31:05
Author: odyx-guest
Revision: 12876
PySide WIP
Added:
packages/pyside/trunk/debian/python-pyside-dbg.install
(from rev 12832, packages/pyside/trunk/debian/python-pyside-dbg.install.disabled)
Modified:
packages/pyside/trunk/debian/changelog
packages/pyside/trunk/debian/copyright
packages/pyside/trunk/debian/patches/fixTests.patch
packages/pyside/trunk/debian/rules
Deleted:
packages/pyside/trunk/debian/python-pyside-dbg.install.disabled
Modified: packages/pyside/trunk/debian/changelog
===================================================================
--- packages/pyside/trunk/debian/changelog 2010-05-11 09:13:12 UTC (rev 12875)
+++ packages/pyside/trunk/debian/changelog 2010-05-11 12:31:05 UTC (rev 12876)
@@ -3,9 +3,6 @@
* New 0.3.1 upstream release
- Moves away from boost to fly with shiboken
- * TODO before release:
- - Enable -dbg builg (## DBG: in rules)
-
* debian/rules
- dh_install now lists missing files.
- Multiple python versions tweak with custom cmake.
@@ -13,6 +10,8 @@
- Include patched FindPython*.cmake from #569321
* debian/control
- Update Build-Depends list
+ * debian/copyright
+ - Document new files
* Rename library to libpyside0.3
- Add lintian override to be able to ship python specific files.
- Ship proper (c++) symbols
@@ -23,12 +22,11 @@
+ libPythonVersionPostfix.patch: append -py* to the libraries
+ fixTests.patch: Correct LD_PRELOAD_PATH and blacklist some tests
+ fixLinking.patch: Get coherent linking troughout the plugins
+ * Re-enable -dbg build.
- ## DBG: * Re-enable -dbg build.
-
* Bump Standards to 3.8.4. No changes needed.
- -- Didier Raboud <didier at raboud.com> Fri, 26 Mar 2010 16:27:04 +0100
+ -- Didier Raboud <didier at raboud.com> Tue, 11 May 2010 14:28:32 +0200
pyside (0.2.3-1) unstable; urgency=low
Modified: packages/pyside/trunk/debian/copyright
===================================================================
--- packages/pyside/trunk/debian/copyright 2010-05-11 09:13:12 UTC (rev 12875)
+++ packages/pyside/trunk/debian/copyright 2010-05-11 12:31:05 UTC (rev 12876)
@@ -101,3 +101,70 @@
Copyright (C) 2009, Didier Raboud <didier at raboud.com>
is licensed under the LGPL, see `/usr/share/common-licenses/LGPL-2'.
+
+The Debian packaging additionnally includes hand-patched files from cmake
+(debian/cmake/*.cmake)
+
+ They were downloaded from http://cmake.org/cmake/resources/software.html
+
+ Copyright:
+
+ CMake was initially developed by Kitware with the following sponsorship:
+
+ * National Library of Medicine at the National Institutes of Health
+ as part of the Insight Segmentation and Registration Toolkit (ITK).
+
+ * US National Labs (Los Alamos, Livermore, Sandia) ASC Parallel
+ Visualization Initiative.
+
+ * National Alliance for Medical Image Computing (NAMIC) is funded by the
+ National Institutes of Health through the NIH Roadmap for Medical Research,
+ Grant U54 EB005149.
+
+ * Kitware, Inc.
+
+
+ Unless otherwise specified, the CMake copyright is as follows:
+ --
+ Copyright (c) 2002 Kitware, Inc., Insight Consortium
+ All rights reserved.
+
+ License:
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:'
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * The names of Kitware, Inc., the Insight Consortium, or the names of
+ any consortium members, or of any contributors, may not be used to
+ endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS ``AS IS''
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ --
+ This copyright information is available on the CMake web site:
+ http://www.cmake.org/HTML/Copyright.html
+
+ CMake is licensed under OSI approved BSD "July 22 1999" style license and
+ therefore the right to use and distribute it in binary form linked with Qt4 are
+ granted by the Qt GPL Exception. See /usr/share/doc/libqtcore4/copyright for
+ more information on the Qt GPL Exception. Complete text of the original BSD
+ "July 22 1999" license can be found in /usr/share/common-licenses/BSD on Debian
+ systems.
+
Modified: packages/pyside/trunk/debian/patches/fixTests.patch
===================================================================
--- packages/pyside/trunk/debian/patches/fixTests.patch 2010-05-11 09:13:12 UTC (rev 12875)
+++ packages/pyside/trunk/debian/patches/fixTests.patch 2010-05-11 12:31:05 UTC (rev 12876)
@@ -7,16 +7,17 @@
Index: pyside/tests/CMakeLists.txt
===================================================================
---- pyside.orig/tests/CMakeLists.txt 2010-05-10 15:14:45.000000000 +0200
-+++ pyside/tests/CMakeLists.txt 2010-05-10 16:57:00.000000000 +0200
-@@ -1,14 +1,16 @@
+--- pyside.orig/tests/CMakeLists.txt 2010-05-10 22:10:47.000000000 +0200
++++ pyside/tests/CMakeLists.txt 2010-05-10 22:21:00.000000000 +0200
+@@ -1,14 +1,17 @@
file(GLOB TEST_FILES */*_test.py)
-set(test_blacklist )
+# Debian patch
+# blacklist non-compiled tests: qtmaemo5*
-+set(test_blacklist qtmaemo5_qmaemo5import )
++# blacklist mandelbug tests: qtwebkit_webpage (upstream: #218)
++set(test_blacklist qtmaemo5_qmaemo5import)
foreach(test_file ${TEST_FILES})
string(REGEX MATCH "/([^/]+)//?([^/]+)_test.py" test_name ${test_file} )
@@ -30,8 +31,8 @@
${test_file})
Index: pyside/tests/qtwebkit/webpage_test.py
===================================================================
---- pyside.orig/tests/qtwebkit/webpage_test.py 2010-05-10 15:14:45.000000000 +0200
-+++ pyside/tests/qtwebkit/webpage_test.py 2010-05-10 15:15:57.000000000 +0200
+--- pyside.orig/tests/qtwebkit/webpage_test.py 2010-05-10 22:10:47.000000000 +0200
++++ pyside/tests/qtwebkit/webpage_test.py 2010-05-10 22:10:51.000000000 +0200
@@ -39,7 +39,7 @@
if ok:
self.called = True
Copied: packages/pyside/trunk/debian/python-pyside-dbg.install (from rev 12832, packages/pyside/trunk/debian/python-pyside-dbg.install.disabled)
===================================================================
--- packages/pyside/trunk/debian/python-pyside-dbg.install (rev 0)
+++ packages/pyside/trunk/debian/python-pyside-dbg.install 2010-05-11 12:31:05 UTC (rev 12876)
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/PySide/*_d.so
Deleted: packages/pyside/trunk/debian/python-pyside-dbg.install.disabled
===================================================================
--- packages/pyside/trunk/debian/python-pyside-dbg.install.disabled 2010-05-11 09:13:12 UTC (rev 12875)
+++ packages/pyside/trunk/debian/python-pyside-dbg.install.disabled 2010-05-11 12:31:05 UTC (rev 12876)
@@ -1 +0,0 @@
-usr/lib/python*/*-packages/PySide/*_d.so
Modified: packages/pyside/trunk/debian/rules
===================================================================
--- packages/pyside/trunk/debian/rules 2010-05-11 09:13:12 UTC (rev 12875)
+++ packages/pyside/trunk/debian/rules 2010-05-11 12:31:05 UTC (rev 12876)
@@ -62,8 +62,8 @@
override_dh_auto_test: $(PYVERSIONS:%=override_dh_auto_test_dbg-%) $(PYVERSIONS:%=override_dh_auto_test-%)
override_dh_auto_test_dbg-%:
- # Run tests in fake X Server
- xvfb-run -a -s -noreset dh_auto_test --builddirectory=build-$*-dbg
+ # Run tests in fake X Server (they all fail)
+ - xvfb-run -a -s -noreset dh_auto_test --builddirectory=build-$*-dbg
override_dh_auto_test-%:
# Run tests in fake X Server
@@ -77,23 +77,23 @@
#### DEBIAN INSTALL ####
-override_dh_install: override_dh_install_last
+override_dh_install: override_dh_install_3
-override_dh_install_first:
+override_dh_install_1:
# Move the debug .so's right in place
$(shell rename 's/(debian\/tmp-dbg\/)(.*)\.so(.*)$$/debian\/tmp\/$$2.so$$3/'\
debian/tmp-dbg/usr/lib/python*/*-packages/PySide/*.so)
$(shell rename 's/(debian\/tmp-dbg\/)(.*)\.so(.*)$$/debian\/tmp\/$$2.so$$3/'\
debian/tmp-dbg/usr/lib/*.so*)
# Setup the default version symbolic links
- $(shell ln -s libpyside`echo -py${DEFAULT_PY} | sed -e 's/\.//g' -`.so \
- debian/tmp/usr/lib/libpyside.so )
+ $(shell ln -s libpyside0.3`echo -py${DEFAULT_PY} | sed -e 's/\.//g' -`.so \
+ debian/tmp/usr/lib/libpyside0.3.so)
-override_dh_install_real: override_dh_install_first
- # Do the legacy install
+override_dh_install_2: override_dh_install_1
+ # Do the legacy install for the rest
dh_install --list-missing
-override_dh_install_last: override_dh_install_real
+override_dh_install_3: override_dh_install_2
# Move the debug library to the correct package.
- $(shell rename 's/(debian\/libpyside0\/)(.*)_d\.so(.*)$$/debian\/python-pyside-dbg\/$$2_d.so$$3/' \
- debian/libpyside0/usr/lib/*_d.so*)
+ $(shell rename 's/(debian\/libpyside0.3\/)(.*)_d\.so(.*)$$/debian\/python-pyside-dbg\/$$2_d.so$$3/' \
+ debian/libpyside0.3/usr/lib/*_d.so*)
More information about the Python-modules-commits
mailing list