You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
489 B

{% calculate format='kde', path='/usr/share/dbus-1/system-services' %}
[D-BUS Service]
Name=org.calculate.Core
{% for pyver in ('3_6', '3_7', '3_8', '3_9') %}
{% set ptarget = 'python_targets_python_' + pyver|replace('.','_') %}
{% set python_interpreter = '/usr/bin/python' + pyver %}
{% if pkg('dev-python/pygobject[%s]' % ptarget) and pkg('dev-python/dbus-python[%s]' % ptarget) %}
Exec={{ python_interpreter }} /usr/libexec/calculate/cl-dbus-core.py
{% endif %}
{% endfor %}
User=root