snap-openstackclients/snapcraft.yaml
James Page 3e7ff6240a Switch to rocky release versions
Change-Id: I850821b6c7964e2185f14894332c54e07cfd30ea
2018-10-25 08:17:49 -06:00

118 lines
2.9 KiB
YAML

name: openstackclients
version: rocky
summary: OpenStack Client tools
description: |
OpenStackClient (aka OSC) is a command-line client for OpenStack
that brings the command set for Compute, Identity, Image, Object
Store and Block Storage APIs together in a single shell with a
uniform command structure.
.
The primary goal is to provide a unified shell command structure
and a common language to describe operations in OpenStack.
.
This snap provides the openstack command-line client and other
project specific command-line clients.
confinement: classic
grade: stable
apps:
openstack:
command: bin/openstack
glance:
command: bin/glance
gnocchi:
command: bin/gnocchi
neutron:
command: bin/neutron
nova:
command: bin/nova
cinder:
command: bin/cinder
aodh:
command: bin/aodh
barbican:
command: bin/barbican
ceilometer:
command: bin/ceilometer
cloudkitty:
command: bin/cloudkitty
designate:
command: bin/designate
freezer:
command: bin/freezer
glance:
command: bin/glance
heat:
command: bin/heat
ironic:
command: bin/ironic
magnum:
command: bin/magnum
manila:
command: bin/manila
mistral:
command: bin/mistral
monasca:
command: bin/monasca
murano:
command: bin/murano
swift:
command: bin/swift
tacker:
command: bin/tacker
trove:
command: bin/trove
vitrage:
command: bin/vitrage
watcher:
command: bin/watcher
parts:
openstackclients:
plugin: python
python-version: python3
python-packages:
- aodhclient
- python-barbicanclient
- python-ceilometerclient
- python-cloudkittyclient
- python-congressclient
- python-designateclient
- python-freezerclient
- python-glanceclient
- python-heatclient
- python-ironicclient
- python-keystoneclient
- python-magnumclient
- python-manilaclient
- python-mistralclient
- python-monascaclient
- python-muranoclient
- python-saharaclient
- python-searchlightclient
- python-senlinclient
- python-swiftclient
- python-tackerclient
- python-troveclient
- python-vitrageclient
- python-watcherclient
- python-zaqarclient
- python-neutronclient
- python-openstackclient
- gnocchiclient
constraints: https://raw.githubusercontent.com/openstack/requirements/stable/rocky/upper-constraints.txt
build-packages:
- libffi-dev
- libssl-dev
- libxml2-dev
- libxslt1-dev
- pkg-config
- gcc
override-prime: |
snapcraftctl prime
# Now that everything is built, let's disable user site-packages
# as stated in PEP-0370
sed -i usr/lib/python3.5/site.py -e 's/^ENABLE_USER_SITE = None$/ENABLE_USER_SITE = False/'
# This is the last step, let's now compile all our pyc files.
./usr/bin/python3 -m compileall .