[Python-modules-commits] r27829 - in packages/logilab-constraint/trunk/debian (4 files)
morph at users.alioth.debian.org
morph at users.alioth.debian.org
Fri Feb 21 20:39:05 UTC 2014
Date: Friday, February 21, 2014 @ 20:39:04
Author: morph
Revision: 27829
* debian/patches/10_remove_namespace.patch
- don't declare 'logilab' namespace (it's created by logilab-common)
Added:
packages/logilab-constraint/trunk/debian/patches/
packages/logilab-constraint/trunk/debian/patches/10_remove_namespace.patch
packages/logilab-constraint/trunk/debian/patches/series
Modified:
packages/logilab-constraint/trunk/debian/changelog
Modified: packages/logilab-constraint/trunk/debian/changelog
===================================================================
--- packages/logilab-constraint/trunk/debian/changelog 2014-02-21 20:32:27 UTC (rev 27828)
+++ packages/logilab-constraint/trunk/debian/changelog 2014-02-21 20:39:04 UTC (rev 27829)
@@ -6,8 +6,10 @@
- removed
* debian/source/format
- switch to 3.0 (quilt) format
+ * debian/patches/10_remove_namespace.patch
+ - don't declare 'logilab' namespace (it's created by logilab-common)
- -- Sandro Tosi <morph at debian.org> Fri, 21 Feb 2014 21:32:02 +0100
+ -- Sandro Tosi <morph at debian.org> Fri, 21 Feb 2014 21:37:45 +0100
logilab-constraint (0.5.0-1) unstable; urgency=low
Added: packages/logilab-constraint/trunk/debian/patches/10_remove_namespace.patch
===================================================================
--- packages/logilab-constraint/trunk/debian/patches/10_remove_namespace.patch (rev 0)
+++ packages/logilab-constraint/trunk/debian/patches/10_remove_namespace.patch 2014-02-21 20:39:04 UTC (rev 27829)
@@ -0,0 +1,30 @@
+Description: don't declare 'logilab' namespace (it's created by logilab-common)
+Author: Sandro Tosi <morph at debian.org>
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2014-02-21
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/setup.py
++++ b/setup.py
+@@ -165,13 +165,13 @@ class MyInstallLib(install_lib.install_l
+ """overridden from install_lib class"""
+ install_lib.install_lib.run(self)
+ # create Products.__init__.py if needed
+- if subpackage_of:
+- product_init = join(self.install_dir, subpackage_of, '__init__.py')
+- if not exists(product_init):
+- self.announce('creating %s' % product_init)
+- stream = open(product_init, 'w')
+- stream.write(EMPTY_FILE)
+- stream.close()
++ #if subpackage_of:
++ # product_init = join(self.install_dir, subpackage_of, '__init__.py')
++ # if not exists(product_init):
++ # self.announce('creating %s' % product_init)
++ # stream = open(product_init, 'w')
++ # stream.write(EMPTY_FILE)
++ # stream.close()
+ # manually install included directories if any
+ if include_dirs:
+ if subpackage_of:
Added: packages/logilab-constraint/trunk/debian/patches/series
===================================================================
--- packages/logilab-constraint/trunk/debian/patches/series (rev 0)
+++ packages/logilab-constraint/trunk/debian/patches/series 2014-02-21 20:39:04 UTC (rev 27829)
@@ -0,0 +1 @@
+10_remove_namespace.patch
More information about the Python-modules-commits
mailing list