Hello Martin, Zygmunt, @Martin: I read your e-mail, and began to search whether there were already python bindings for udisks2 around. I believe that we should rather use free-licensed existing material before inventing new implementations of the wheel.
I found Zygmunt Krynicki's work at http://people.canonical.com/~zyga/udisks2.py I found quite the same file as part of the debian package python3-checkbox-support: /usr/lib/python3/dist-packages/checkbox_support/dbus/udisks2.py So, which way would you approve? 1- embed a new copy of Zygmunt's udisks2.py in my package scolasync, 2- or create a small python3 package with Zygmunt's work, create a dependency from scolasync to python3-udisks2, and file a bugreport against python3-checkbox-support, to ask its author to depend on python3-udisks2, 3- or some other approach? Thank you in advance for your response. Best regards, Georges. Martin Pitt a écrit : > Package: scolasync > Version: 4.1-2 > User: pkg-utopia-maintain...@lists.alioth.debian.org > Usertags: udisks1-deprecation > > Hello, > > this package currently depends on/recommends udisks 1. That has been > deprecated for a while now, in favor of udisks 2. Please port the > package to udisks 2 and drop code that uses the old > hal/devicekit-disks/udisks 1 bits. > > Please note that udisks2 also has a library interface (libudisks2-0) > which is easier to use than raw D-BUS calls. It is also introspectable > (gir1.2-udisks-2.0) so you can use it from languages like Python. > > The API is documented at http://udisks.freedesktop.org/docs/latest/ . > > Thanks, > > Martin > -- > Martin Pitt | http://www.piware.de > Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- Georges KHAZNADAR et Jocelyne FOURNIER 22 rue des mouettes, 59240 Dunkerque France. Téléphone +33 (0)3 28 29 17 70
signature.asc
Description: Digital signature