[Calypso] [patch] calypso need python-lockfile >= 1:0.9

Petter Reinholdtsen pere at hungry.com
Thu Jan 21 01:28:22 PST 2016

Hi, Keith.

I am not qute sure where to sent patches for the git version of calypso,
so I try here.  

In the debian branch the package python-lockfile is listed as a run time
dependency, but the control file fail to mention that calypso uses
features introduced in version 0.9 of python-lockfile.  I tried using
calypso on Debian Jessie, where version 0.8 is present, and got this

  Traceback (most recent call last):
    File "/usr/bin/calypso", line 41, in <module>
      from lockfile import pidlockfile
  ImportError: cannot import name pidlockfile

I suggest to add a versioned depend like this, to document this

diff --git a/debian/control b/debian/control
index f6f6f6b..9ffea5e 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,8 @@ X-Python-Version: >= 2.7
 Package: calypso
 Architecture: all
-Depends: ${misc:Depends}, python (>= 2.7), python-vobject, python-daemon, python-lockfile, git
+Depends: ${misc:Depends}, python (>= 2.7), python-vobject, python-daemon,
+ python-lockfile (>= 1:0.9),
+ git
 Description: CalDAV/CardDAV server with git backend
  Calendar and contacts server storing iCal and vCard files in git

Happy hacking
Petter Reinholdtsen

More information about the Calypso mailing list