mirror of
https://github.com/ben-grande/qusal.git
synced 2026-01-17 07:58:57 -05:00
Contributing to Qubes OS using Debian is possible, but there are edge cases with linter versions, GUI editor versions, test packages in run-tests that are better supported on Fedora, as this is the template that Qubes OS developers most use. Fixes: https://github.com/ben-grande/qusal/issues/139 Fixes: https://github.com/ben-grande/qusal/issues/126
46 lines
1 KiB
Text
46 lines
1 KiB
Text
{#
|
|
SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
#}
|
|
|
|
{% if grains['nodename'] != 'dom0' -%}
|
|
|
|
include:
|
|
- utils.tools.common.update
|
|
|
|
"{{ slsdotpath }}-installed-python-tools":
|
|
pkg.installed:
|
|
- require:
|
|
- sls: utils.tools.common.update
|
|
- install_recommends: False
|
|
- skip_suggestions: True
|
|
- setopt: "install_weak_deps=False"
|
|
- pkgs:
|
|
- python3-setuptools
|
|
- python3-pytest
|
|
- python3-pip
|
|
- python3-mypy
|
|
- black
|
|
- pylint
|
|
|
|
# Fedora has python venv included with python3-libs.
|
|
{% set pkg = {
|
|
'Debian': {
|
|
'pkg': ['python3-dev', 'python3-venv'],
|
|
},
|
|
'RedHat': {
|
|
'pkg': ['python3-devel'],
|
|
},
|
|
}.get(grains.os_family) -%}
|
|
|
|
"{{ slsdotpath }}-installed-python-tools-os-specific":
|
|
pkg.installed:
|
|
- require:
|
|
- sls: utils.tools.common.update
|
|
- install_recommends: False
|
|
- skip_suggestions: True
|
|
- setopt: "install_weak_deps=False"
|
|
- pkgs: {{ pkg.pkg|sequence|yaml }}
|
|
|
|
{% endif %}
|