[libvirt] [jenkins-ci PATCH] Add python-docutils package for libvirt

Daniel P. Berrangé posted 1 patch 1 week ago
Failed in applying to current master (apply log)
guests/vars/mappings.yml         | 5 +++++
guests/vars/projects/libvirt.yml | 1 +
2 files changed, 6 insertions(+)

[libvirt] [jenkins-ci PATCH] Add python-docutils package for libvirt

Posted by Daniel P. Berrangé 1 week ago
This is needed to acquire the rst2html command line tool

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 guests/vars/mappings.yml         | 5 +++++
 guests/vars/projects/libvirt.yml | 1 +
 2 files changed, 6 insertions(+)

diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml
index ba0f1cf..a6df789 100644
--- a/guests/vars/mappings.yml
+++ b/guests/vars/mappings.yml
@@ -795,6 +795,11 @@ mappings:
     default: polkit
     deb: policykit-1
 
+  python-docutils:
+    default: python3-docutils
+    CentOS7: python2-docutils
+    FreeBSD: py36-docutils
+
   python2:
     default: python
     Fedora: python2
diff --git a/guests/vars/projects/libvirt.yml b/guests/vars/projects/libvirt.yml
index 8fcb286..38a979a 100644
--- a/guests/vars/projects/libvirt.yml
+++ b/guests/vars/projects/libvirt.yml
@@ -46,6 +46,7 @@ packages:
   - openwsman
   - parted
   - polkit
+  - python-docutils
   - qemu-img
   - radvd
   - readline
-- 
2.23.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [jenkins-ci PATCH] Add python-docutils package for libvirt

Posted by Andrea Bolognani 1 week ago
On Fri, 2019-11-08 at 11:22 +0000, Daniel P. Berrangé wrote:
> +++ b/guests/vars/mappings.yml
> @@ -795,6 +795,11 @@ mappings:
> +  python-docutils:

The mapping should be called python3-docutils...

> +    default: python3-docutils
> +    CentOS7: python2-docutils

... and should install python36-docutils from EPEL on CentOS 7.

Down with Python 2! :)

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list