[Python-modules-commits] r25826 - in packages/shiboken/trunk/debian (3 files)

odyx at users.alioth.debian.org odyx at users.alioth.debian.org
Wed Sep 11 18:44:40 UTC 2013


    Date: Wednesday, September 11, 2013 @ 18:44:39
  Author: odyx
Revision: 25826

Drop the explicit dependencies of Libs and Cflags in pkg-config in favour of a Requires.

LP: #1155595

Added:
  packages/shiboken/trunk/debian/patches/pkg-config-depend-on-python.patch
Modified:
  packages/shiboken/trunk/debian/control
  packages/shiboken/trunk/debian/patches/series

Modified: packages/shiboken/trunk/debian/control
===================================================================
--- packages/shiboken/trunk/debian/control	2013-09-11 18:44:28 UTC (rev 25825)
+++ packages/shiboken/trunk/debian/control	2013-09-11 18:44:39 UTC (rev 25826)
@@ -75,7 +75,7 @@
 Package: libshiboken-dev
 Section: libdevel
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libshiboken1.2 (= ${binary:Version}), libshiboken-py3-1.2 (= ${binary:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, python-dev, libshiboken1.2 (= ${binary:Version}), libshiboken-py3-1.2 (= ${binary:Version})
 Description: development files for the shiboken bindings generator library
  Shiboken is a bindings generator for C++ libraries that outputs CPython
  source code. It collects information from library headers, and then

Added: packages/shiboken/trunk/debian/patches/pkg-config-depend-on-python.patch
===================================================================
--- packages/shiboken/trunk/debian/patches/pkg-config-depend-on-python.patch	                        (rev 0)
+++ packages/shiboken/trunk/debian/patches/pkg-config-depend-on-python.patch	2013-09-11 18:44:39 UTC (rev 25826)
@@ -0,0 +1,16 @@
+Description: Drop the explicit dependencies of Libs and Cflags in pkg-config in favour of a versioned Requires.
+Author: Didier Raboud <odyx at debian.org>
+Origin: vendor
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1155595
+Last-Update: 2013-09-10
+--- a/data/shiboken.pc.in
++++ b/data/shiboken.pc.in
+@@ -9,5 +9,6 @@
+ Name: shiboken
+ Description: Support library for Python bindings created with Shiboken generator.
+ Version: @shiboken_VERSION@
+-Libs: @SBK_PYTHON_LIBRARIES@ -L${libdir} -lshiboken at shiboken_SUFFIX@@PYTHON_SUFFIX@@LIBRARY_OUTPUT_SUFFIX@
+-Cflags: -I at SBK_PYTHON_INCLUDE_DIR@ -I${includedir}/@shiboken_SUFFIX@@SBK_PKG_CONFIG_PY_DEBUG_DEFINITION@
++Requires: python- at CMAKE_USE_PYTHON_VERSION@
++Libs: -L${libdir} -lshiboken at shiboken_SUFFIX@@PYTHON_SUFFIX@@LIBRARY_OUTPUT_SUFFIX@
++Cflags: -I${includedir}/@shiboken_SUFFIX@@SBK_PKG_CONFIG_PY_DEBUG_DEFINITION@

Modified: packages/shiboken/trunk/debian/patches/series
===================================================================
--- packages/shiboken/trunk/debian/patches/series	2013-09-11 18:44:28 UTC (rev 25825)
+++ packages/shiboken/trunk/debian/patches/series	2013-09-11 18:44:39 UTC (rev 25826)
@@ -6,3 +6,4 @@
 memleak-instead-crash.patch
 static-override-fix.patch
 fix_py3_expect.patch
+pkg-config-depend-on-python.patch




More information about the Python-modules-commits mailing list