Skip to content

testing/py3-sleepproxyclient: new aport

Gil Pedersen requested to merge kanongil/aports:add-sleepproxyclient into master

https://github.com/awein/SleepProxyClient - A SleepProxyClient implementation

This is an oddball package that doesn't really match any other I could find.

The main issue is that it is primarily a hook script that needs to be installed into something like /usr/libexec/elogind/system-sleep/ from elogind. Second issue, is that it is a mix of python and bash code. Third issue, is that there is no install script. Fourth, is that the config goes in /etc/default/. I cannot use /etc/conf.d/, since it is only for services.

Beside -doc and -pyc, I have split the package into:

  • py3-sleepproxyclient: Python module with primary functionality.
  • sleepproxyclient-scripts: Helper bash scripts at /usr/share/sleepproxyclient/scripts and (disabled) config in /etc/default/.
  • sleepproxyclient-elogind: Hooks 00_sleepproxyclient script to elogind.

This should allow people to install and hook it as desired.

Hope I did this correctly 😀

Merge request reports

Loading