Makefile revision 6033
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# CDDL HEADER START
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# The contents of this file are subject to the terms of the
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Common Development and Distribution License (the "License").
199767f8919635c4928607450d9e0abb932109ceToomas Soome# You may not use this file except in compliance with the License.
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
199767f8919635c4928607450d9e0abb932109ceToomas Soome# or http://www.opensolaris.org/os/licensing.
199767f8919635c4928607450d9e0abb932109ceToomas Soome# See the License for the specific language governing permissions
199767f8919635c4928607450d9e0abb932109ceToomas Soome# and limitations under the License.
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# When distributing Covered Code, include this CDDL HEADER in each
199767f8919635c4928607450d9e0abb932109ceToomas Soome# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
199767f8919635c4928607450d9e0abb932109ceToomas Soome# If applicable, add the following below this CDDL HEADER, with the
199767f8919635c4928607450d9e0abb932109ceToomas Soome# fields enclosed by brackets "[]" replaced with your own identifying
199767f8919635c4928607450d9e0abb932109ceToomas Soome# information: Portions Copyright [yyyy] [name of copyright owner]
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# CDDL HEADER END
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soomeinclude ../../../make-rules/shared-macros.mk
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_NAME= python-openstackclient
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_VERSION= 1.0.4
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_ARCHIVE_HASH= \
199767f8919635c4928607450d9e0abb932109ceToomas Soome sha256:4ae6d7b35fd1da2a07959fea9639e506871abfb769c62f3692d2f2585605ac85
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_ARCHIVE_URL= $(call pypi_url)
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_PROJECT_URL= http://launchpad.net/python-openstackclient
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_BUGDB= python-mod/osclient
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeTPNO= 24760
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Depends on keystoneclient which is not Python 3 ready.
199767f8919635c4928607450d9e0abb932109ceToomas SoomePYTHON_VERSIONS= 2.7 2.6
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soomeinclude $(WS_MAKE_RULES)/prep.mk
199767f8919635c4928607450d9e0abb932109ceToomas Soomeinclude $(WS_MAKE_RULES)/setup.py.mk
199767f8919635c4928607450d9e0abb932109ceToomas Soomeinclude $(WS_MAKE_RULES)/ips.mk
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeASLR_MODE = $(ASLR_NOT_APPLICABLE)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_POST_INSTALL_ACTION = \
199767f8919635c4928607450d9e0abb932109ceToomas Soome (cd $(PROTO_DIR)/usr/bin ; \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(MV) -f openstack openstack-$(PYTHON_VERSION))
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome# common targets
199767f8919635c4928607450d9e0abb932109ceToomas Soomebuild: $(BUILD_NO_ARCH)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soomeinstall: $(INSTALL_NO_ARCH)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soometest: $(NO_TESTS)
199767f8919635c4928607450d9e0abb932109ceToomas Soome