From 03075394c9c363210432939e5cb0d367876638e8 Mon Sep 17 00:00:00 2001 From: niku64 Date: Thu, 17 Dec 2020 18:51:02 +0300 Subject: [PATCH] Update default python interpreter to python:3.8 (#155) --- sls/python/python3.sls | 6 +++--- sls/python/python38.sls | 12 ++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 sls/python/python38.sls diff --git a/sls/python/python3.sls b/sls/python/python3.sls index 45601f0..02b6f79 100644 --- a/sls/python/python3.sls +++ b/sls/python/python3.sls @@ -1,10 +1,10 @@ include: - - python.python37 + - python.python38 eselect-python3: eselect.set: - name: python - action_parameter: '--python3' - - target: 'python3.7' + - target: 'python3.8' - require: - - pkg: python37 + - pkg: python38 diff --git a/sls/python/python38.sls b/sls/python/python38.sls new file mode 100644 index 0000000..b36d572 --- /dev/null +++ b/sls/python/python38.sls @@ -0,0 +1,12 @@ +{% import 'pkg/common' as pkg %} +include: + - gentoo.makeconf + - gentoo.portage.packages + +python38: + pkg.latest: + - name: dev-lang/python + - slot: '3.8' + - require: + - augeas: manage-make-conf + - file: gentoo.portage.packages