Web lists-archives.com

Bug#911563: ITP: pystemd - Cython-based wrapper on top of libsystemd

Package: wnpp
Severity: wishlist
Owner: Alexandros Afentoulis <alexaf.dpkg@xxxxxxxx>
X-Debbugs-Cc: debian-devel@xxxxxxxxxxxxxxxx, debian-python@xxxxxxxxxxxxxxxx

* Package name    : pystemd
  Version         : 0.5.0
  Upstream Author : Alvaro Leiva <aleivag@xxxxxx>
* URL             : https://github.com/facebookincubator/pystemd
* License         : BSD
  Programming Lang: Python
  Description     : Cython-based wrapper on top of libsystemd

pystemd is a thin Cython-based wrapper on top of libsystemd, focused on
exposing the dbus API via sd-bus in an automated and easy to consume way.

It allows talking to systemd over dbus from python, programmatically
start/stop/restart/kill and verify services status from systemd point of
view, avoiding executing "subprocess.Popen(['systemctl', ..." and then
parsing the output to know the result. pystemd also includes a
systemd-run equivalent as well as provides an interface to sd_notify.


The presence of the PATENTS file in pystemd troubled me a bit. I was not
sure if it complies with DFSG. Digging through the debian-legal list,
and considering similar cases [1] [2], I assume that this legal thing is
not blocking packaging of pystemd.

[1]: https://lists.debian.org/debian-legal/2014/10/msg00064.html
[2]: https://lists.debian.org/debian-legal/2017/05/msg00008.html