[mythtv-commits] Ticket #13527: Feature patch - Ansible - Install python3 modules for F30 for builds

MythTV noreply at mythtv.org
Fri Nov 29 16:51:15 UTC 2019


#13527: Feature patch - Ansible - Install python3 modules for F30 for builds
---------------------------------+---------------------------------
     Reporter:  Gary Buhrmaster  |      Owner:  Stuart Auchterlonie
         Type:  Patch - Feature  |     Status:  new
     Priority:  minor            |  Milestone:  needs_triage
    Component:  Ansible          |    Version:  Master Head
     Severity:  medium           |   Keywords:
Ticket locked:  0                |
---------------------------------+---------------------------------
 Ansible feature patch to allow building with python3 on F30 or greater
 (adding F30 to the releases supported).

 This should allow the ansible playbooks to be used for building master
 (soon to be v31) with python3 on F30, as python3 is now the default as of
 commit 955eb75 in master.

 Proposed patch:

 {{{
 diff --git a/roles/mythtv-dnf/tasks/main.yml b/roles/mythtv-
 dnf/tasks/main.yml
 index e1c5276..e87b05d 100644
 --- a/roles/mythtv-dnf/tasks/main.yml
 +++ b/roles/mythtv-dnf/tasks/main.yml
 @@ -125,7 +125,7 @@
        - python2-future
    when: ansible_distribution == "Fedora" and
 ansible_distribution_version|int < 31

 -- name: add mythtv essential python modules - Fedora 31+
 +- name: add mythtv essential python3 modules - Fedora 30+
    set_fact:
      dnf_pkg_lst:
        - '{{ dnf_pkg_lst }}'
 @@ -134,7 +134,7 @@
        - python3-mysql
        - python3-requests-cache
        - python3-simplejson
 -  when: ansible_distribution == "Fedora" and
 ansible_distribution_version|int >= 31
 +  when: ansible_distribution == "Fedora" and
 ansible_distribution_version|int >= 30

  - name: add mythtv essential perl modules
    set_fact:

 }}}

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13527>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list