[SCM] morituri/master: handle CDDB import errors

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Oct 19 20:09:56 UTC 2014


The following commit has been merged in the master branch:
commit 5eb59c7549991d6adef9bfa0f2f6bd93d1406906
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Sun Jan 27 22:31:22 2013 +0100

    handle CDDB import errors

diff --git a/morituri/common/deps.py b/morituri/common/deps.py
index cd85d8d..5cc1efa 100644
--- a/morituri/common/deps.py
+++ b/morituri/common/deps.py
@@ -13,6 +13,7 @@ class DepsHandler(deps.DepsHandler):
         deps.DepsHandler.__init__(self, name)
 
         self.add(GStPython())
+        self.add(CDDB())
 
     def report(self, summary):
         reporter = os.environ.get('EMAIL_ADDRESS', None)
@@ -32,3 +33,12 @@ class GStPython(deps.Dependency):
 
     #def Ubuntu_install(self, distro):
     #    pass
+
+
+class CDDB(deps.Dependency):
+    module = 'CDDB'
+    name = "python-CDDB"
+    homepage = "http://cddb-py.sourceforge.net/"
+
+    def Fedora_install(self, distro):
+        return self.Fedora_yum('python-CDDB')

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list