[Lunar-commits] <moonbase> calibre: Fixing the depreciated udev warnings.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Thu Feb 18 14:51:04 CET 2010


commit 827ec1030c99ab05071684c51fb33cb808e5ca29
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Thu Feb 18 08:51:04 2010 -0500

    calibre: Fixing the depreciated udev warnings.
---
 qt4-apps/calibre/BUILD |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/qt4-apps/calibre/BUILD b/qt4-apps/calibre/BUILD
index d776030..27b1fb6 100644
--- a/qt4-apps/calibre/BUILD
+++ b/qt4-apps/calibre/BUILD
@@ -4,6 +4,10 @@
 
   python setup.py build &&
 
+# Fix the depreciated warning about SYSFS and udev.
+  sedit "s:SYSFS:ATTR:g" src/calibre/linux.py &&
+  sedit "s:BUS:SUBSYSTEM:g" src/calibre/linux.py &&
+
   prepare_install  &&
 
   python setup.py install .


More information about the Lunar-commits mailing list