
The linecache2-1.0.0 package installs code that does not byte-compile under python 2.x. This causes packaging to fail on RH7-derived systems. Work around this issue by changing RPM macro values for linecache2 to prevent RPM from aborting. Change-Id: I787ec682437b349142eb3a0b32ce0ccc163b46dc
227 lines
7.3 KiB
YAML
227 lines
7.3 KiB
YAML
---
|
|
# RedHat distros or variants (centos, rhel, fedora)...
|
|
platform_pattern: redhat(.*)|centos(.*)|fedora(.*)
|
|
install_helper: anvil.packaging.yum:YumInstallHelper
|
|
dependency_handler:
|
|
name: anvil.packaging.yum:YumDependencyHandler
|
|
epoch_map:
|
|
flask: 2
|
|
package_map:
|
|
distribute: python-setuptools
|
|
django: Django
|
|
IPy: python-IPy
|
|
libvirt-python: libvirt-python
|
|
m2crypto: m2crypto
|
|
pyScss: python-scss
|
|
mysql-python: MySQL-python
|
|
numpy: numpy
|
|
pam: python-pam
|
|
pastedeploy: python-paste-deploy
|
|
pycrypto: python-crypto
|
|
pyflakes: pyflakes
|
|
pylint: pylint
|
|
pyopenssl: pyOpenSSL
|
|
pyparsing: pyparsing
|
|
pysendfile: pysendfile
|
|
pytz: pytz
|
|
sqlalchemy-migrate: python-migrate
|
|
qpid-python: python-qpid # Why is this one backwards :-/
|
|
PyYAML: PyYAML
|
|
pyzmq: python-zmq
|
|
pyscss: python-scss
|
|
ignoreable_pips:
|
|
- distribute # distribute has been replaced by setuptools
|
|
arch_dependent:
|
|
- PuLP
|
|
- cryptography
|
|
- selenium
|
|
- xattr
|
|
- numpy
|
|
ensure_prebuilt:
|
|
# For some reason we can't even touch testtools until the following
|
|
# exists/is-built and we can't seem to get this info from the egg_info
|
|
# extraction process...
|
|
testtools:
|
|
- "unittest2>=0.8.0"
|
|
build_options:
|
|
pylint:
|
|
- "%global _python_bytecompile_errors_terminate_build 0"
|
|
tablib:
|
|
- "%global _python_bytecompile_errors_terminate_build 0"
|
|
linecache2:
|
|
- "%global _python_bytecompile_errors_terminate_build 0"
|
|
components:
|
|
ceilometer-client:
|
|
python_entrypoints: True
|
|
cinder:
|
|
python_entrypoints: True
|
|
daemon_to_package:
|
|
all: openstack-cinder
|
|
volume: openstack-cinder
|
|
scheduler: openstack-cinder
|
|
api: openstack-cinder
|
|
pips:
|
|
- name: hp3parclient
|
|
cinder-client:
|
|
python_entrypoints: True
|
|
general:
|
|
build-requires:
|
|
# Build time dependencies
|
|
- name: libxml2-devel
|
|
removable: false
|
|
- name: libxslt-devel
|
|
removable: false
|
|
- name: mysql-devel
|
|
removable: false
|
|
- name: postgresql-devel
|
|
removable: false
|
|
- name: openldap-devel
|
|
removable: false
|
|
- name: psmisc
|
|
removable: false
|
|
- name: sudo
|
|
removable: false
|
|
- name: tcpdump
|
|
removable: false
|
|
- name: unzip
|
|
removable: false
|
|
- name: wget
|
|
removable: false
|
|
# Shared python packages
|
|
- name: python
|
|
removable: false
|
|
- name: python-devel
|
|
removable: false
|
|
- name: python-distutils-extra
|
|
removable: false
|
|
- name: python-setuptools
|
|
removable: false
|
|
- name: sqlite-devel
|
|
removable: false
|
|
requires:
|
|
- name: MySQL-python
|
|
# Require extra packages needed to run tests
|
|
pips:
|
|
- name: "nose"
|
|
version: ">=1.3.0"
|
|
- name: "coverage"
|
|
glance:
|
|
python_entrypoints: True
|
|
pips:
|
|
# pip setup and download of xattr>=0.7 seems to have problems find cffi
|
|
# so lets just use an restrict the upper bound until this is fixed upstream
|
|
# see: https://github.com/xattr/xattr/issues/16
|
|
- name: xattr
|
|
version: ">=0.6.0,<0.7"
|
|
daemon_to_package:
|
|
api: openstack-glance
|
|
registry: openstack-glance
|
|
scrubber: openstack-glance
|
|
glance-client:
|
|
python_entrypoints: True
|
|
heat-client:
|
|
python_entrypoints: True
|
|
horizon:
|
|
python_entrypoints: True
|
|
packages:
|
|
- name: openstack-dashboard
|
|
pips:
|
|
- name: pyScss
|
|
django-openstack-auth:
|
|
python_entrypoints: True
|
|
keystone:
|
|
python_entrypoints: True
|
|
daemon_to_package:
|
|
all: openstack-keystone
|
|
keystone-client:
|
|
python_entrypoints: True
|
|
neutron-client:
|
|
python_entrypoints: True
|
|
nova:
|
|
python_entrypoints: True
|
|
pips:
|
|
# This seems to be a core dependency for a 'cas' tool
|
|
# so don't try to remove it since it will also remove
|
|
# said 'cas' tool, unfortunately the version of paramiko
|
|
# installed in rhel uses a old version of crypto which
|
|
# other components actually can't use. This sucks...
|
|
- name: paramiko
|
|
test_requires:
|
|
# NOTE(imelnikov): nova testcases require importlib, which was not part
|
|
# of python standard library as of python 2.6.
|
|
- importlib
|
|
daemon_to_package:
|
|
api: openstack-nova-api
|
|
conductor: openstack-nova-conductor
|
|
consoleauth: openstack-nova-console
|
|
dhcpbridge: openstack-nova-network
|
|
network: openstack-nova-network
|
|
novncproxy: openstack-nova-novncproxy
|
|
scheduler: openstack-nova-scheduler
|
|
spicehtml5proxy: openstack-nova-console
|
|
xvpvncproxy: openstack-nova-console
|
|
serialproxy: openstack-nova-serialproxy
|
|
nova-client:
|
|
python_entrypoints: True
|
|
novnc:
|
|
python_entrypoints: True
|
|
openstack-client:
|
|
python_entrypoints: True
|
|
oslo-config:
|
|
python_entrypoints: True
|
|
oslo-incubator:
|
|
python_entrypoints: True
|
|
pycadf:
|
|
python_entrypoints: True
|
|
oslo-messaging:
|
|
python_entrypoints: True
|
|
neutron:
|
|
python_entrypoints: True
|
|
daemon_to_package:
|
|
dhcp-agent: openstack-neutron
|
|
l3-agent: openstack-neutron
|
|
linuxbridge-agent: openstack-neutron-linuxbridge
|
|
metadata-agent: openstack-neutron
|
|
openvswitch-agent: openstack-neutron-openvswitch
|
|
ovs-cleanup: openstack-neutron-openvswitch
|
|
rpc-zmq-receiver: openstack-neutron
|
|
server: openstack-neutron
|
|
vpn-agent: openstack-neutron-vpn-agent
|
|
sriov-nic-agent: openstack-neutron-sriov-nic-agent
|
|
mlnx-agent: openstack-neutron-mlnx
|
|
metering-agent: openstack-neutron-metering-agen
|
|
cisco-cfg-agent: openstack-neutron-cisco
|
|
lbaas-agent: openstack-neutron
|
|
netns-cleanup: openstack-neutron
|
|
swift-client:
|
|
python_entrypoints: True
|
|
trove:
|
|
python_entrypoints: True
|
|
trove-client:
|
|
python_entrypoints: True
|
|
heat:
|
|
python_entrypoints: True
|
|
daemon_to_package:
|
|
api: openstack-heat-api
|
|
api-cfn: openstack-heat-api-cfn
|
|
api-cloudwatch: openstack-heat-api-cloudwatch
|
|
engine: openstack-heat-engine
|
|
global-requirements:
|
|
python_entrypoints: True
|
|
ceilometer:
|
|
python_entrypoints: True
|
|
daemon_to_package:
|
|
api: openstack-ceilometer-api
|
|
central: openstack-ceilometer-central
|
|
collector: openstack-ceilometer-collector
|
|
compute: openstack-ceilometer-compute
|
|
ipmi: openstack-ceilometer-ipmi
|
|
ironic:
|
|
python_entrypoints: True
|
|
daemon_to_package:
|
|
api: openstack-ironic-api
|
|
conductor: openstack-ironic-conductor
|
|
ironic-client:
|
|
python_entrypoints: True
|
|
...
|