6033N/A#
6033N/A# CDDL HEADER START
6033N/A#
6033N/A# The contents of this file are subject to the terms of the
6033N/A# Common Development and Distribution License (the "License").
6033N/A# You may not use this file except in compliance with the License.
6033N/A#
6033N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6033N/A# or http://www.opensolaris.org/os/licensing.
6033N/A# See the License for the specific language governing permissions
6033N/A# and limitations under the License.
6033N/A#
6033N/A# When distributing Covered Code, include this CDDL HEADER in each
6033N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6033N/A# If applicable, add the following below this CDDL HEADER, with the
6033N/A# fields enclosed by brackets "[]" replaced with your own identifying
6033N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6033N/A#
6033N/A# CDDL HEADER END
6033N/A#
6033N/A
6033N/A#
6033N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6033N/A#
6033N/A
6033N/Ainclude ../../../make-rules/shared-macros.mk
6033N/A
6033N/ACOMPONENT_NAME= python-openstackclient
6033N/ACOMPONENT_VERSION= 1.0.4
6033N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6033N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
6033N/ACOMPONENT_ARCHIVE_HASH= \
6033N/A sha256:4ae6d7b35fd1da2a07959fea9639e506871abfb769c62f3692d2f2585605ac85
6033N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
6033N/ACOMPONENT_PROJECT_URL= http://launchpad.net/python-openstackclient
6033N/ACOMPONENT_BUGDB= python-mod/osclient
6033N/A
6033N/ATPNO= 24760
6033N/A
6033N/A# Depends on keystoneclient which is not Python 3 ready.
6033N/APYTHON_VERSIONS= 2.7 2.6
6033N/A
6033N/Ainclude $(WS_MAKE_RULES)/prep.mk
6033N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
6033N/Ainclude $(WS_MAKE_RULES)/ips.mk
6033N/A
6033N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
6033N/A
6033N/ACOMPONENT_POST_INSTALL_ACTION = \
6033N/A (cd $(PROTO_DIR)/usr/bin ; \
6033N/A $(MV) -f openstack openstack-$(PYTHON_VERSION))
6033N/A
6033N/A# common targets
6033N/Abuild: $(BUILD_NO_ARCH)
6033N/A
6033N/Ainstall: $(INSTALL_NO_ARCH)
6033N/A
6033N/Atest: $(NO_TESTS)