[Python-modules-commits] r19537 - in packages/gamera/trunk/debian/patches (1 file)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Thu Dec 8 00:07:34 UTC 2011


    Date: Thursday, December 8, 2011 @ 00:07:32
  Author: jwilk
Revision: 19537

Rework the namespace package patch.

Modified:
  packages/gamera/trunk/debian/patches/namespace-package.diff

Modified: packages/gamera/trunk/debian/patches/namespace-package.diff
===================================================================
--- packages/gamera/trunk/debian/patches/namespace-package.diff	2011-12-07 22:47:51 UTC (rev 19536)
+++ packages/gamera/trunk/debian/patches/namespace-package.diff	2011-12-08 00:07:32 UTC (rev 19537)
@@ -3,11 +3,16 @@
  packages, both those using dh_python2 and those using python-support, to be
  co-importable.
 Author: Jakub Wilk <jwilk at debian.org>
-Forwarded: no
+Forwarded: not-needed
 Last-Update: 2011-11-24
 
 --- /dev/null
 +++ b/gamera/toolkits/__init__.py
-@@ -0,0 +1,2 @@
+@@ -0,0 +1,7 @@
++import distutils.sysconfig
 +import pkgutil
-+__path__ = pkgutil.extend_path(__path__, __name__)
++__path__ = (
++    pkgutil.extend_path(__path__, __name__) +
++    [distutils.sysconfig.get_python_lib() + '/gamera/toolkits']
++)
++del distutils, pkgutil




More information about the Python-modules-commits mailing list