Change RDO mapping for PyYAML, pyparsing and pytz

The previous PyYAML mapping used "PyYAML" as the Python package for
RDO. This does not work well with the singlespec macros, since they
keep the PyYAML package name for the python3 subpackage.

The package provides "python-yaml", and Fedora's python3-PyYAML also
provide python3-yaml, so this is a safe change.

Similarly, we can remove the special mapping for pyparsing (we have
python2-pyparsing providing python-pyparsing in RDO) and pytz (the CentOS
package provides python-pytz).

Change-Id: I1c92888cf830b2ab5fdc154a0322e6e54d5712f7
This commit is contained in:
Javier Pena 2018-05-24 14:51:53 +02:00
parent d51a548489
commit 2dc70f45c1
1 changed files with 3 additions and 2 deletions

View File

@ -200,9 +200,10 @@ RDO_PKG_MAP = [
SingleRule('libvirt-python', 'libvirt-python', py3pkg='libvirt-python3'),
SingleRule('tempest-horizon', 'python-horizon-tests-tempest'),
SingleRule('rtslib-fb', 'python-rtslib', py3pkg='python3-rtslib'),
SingleRule('PyYAML', 'python-yaml', py3pkg='python3-yaml'),
# simple direct mapping no name change
MultiRule(
mods=['PyYAML', 'numpy', 'pyflakes', 'pylint', 'pyparsing',
mods=['numpy', 'pyflakes', 'pylint',
'dib-utils',
'diskimage-builder',
'graphviz',
@ -216,7 +217,7 @@ RDO_PKG_MAP = [
'sympy',
'systemd-python',
'watchdog',
'pystache', 'pytz', 'pysendfile'],
'pystache', 'pysendfile'],
pkgfun=lambda mod: ((mod, mod, 'python3-' + mod))),
# OpenStack services
MultiRule(