packages: calibre/calibre-env_module.patch (NEW) - don't try to install ini...
lisu
lisu at pld-linux.org
Fri May 21 11:22:45 CEST 2010
Author: lisu Date: Fri May 21 09:22:45 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- don't try to install init_calibre.py
---- Files affected:
packages/calibre:
calibre-env_module.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/calibre/calibre-env_module.patch
diff -u /dev/null packages/calibre/calibre-env_module.patch:1.1
--- /dev/null Fri May 21 11:22:45 2010
+++ packages/calibre/calibre-env_module.patch Fri May 21 11:22:38 2010
@@ -0,0 +1,23 @@
+--- calibre/setup/install.py~ 2010-05-21 11:18:18.236682966 +0200
++++ calibre/setup/install.py 2010-05-21 11:18:48.705841545 +0200
+@@ -132,20 +132,8 @@
+ self.setup_mount_helper()
+ self.install_files()
+ self.run_postinstall()
+- self.install_env_module()
+ self.success()
+
+- def install_env_module(self):
+- import distutils.sysconfig as s
+- libdir = s.get_python_lib(prefix=self.opts.staging_root)
+- if os.path.exists(libdir):
+- path = os.path.join(libdir, 'init_calibre.py')
+- self.info('Installing calibre environment module: '+path)
+- with open(path, 'wb') as f:
+- f.write(HEADER.format(**self.template_args()))
+- else:
+- self.warn('Cannot install calibre environment module to: '+libdir)
+-
+ def setup_mount_helper(self):
+ def warn():
+ self.warn('Failed to compile mount helper. Auto mounting of',
================================================================
More information about the pld-cvs-commit
mailing list