Makefile revision 2873
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync#
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# CDDL HEADER START
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync#
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# The contents of this file are subject to the terms of the
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# Common Development and Distribution License (the "License").
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# You may not use this file except in compliance with the License.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync#
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# or http://www.opensolaris.org/os/licensing.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# See the License for the specific language governing permissions
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# and limitations under the License.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync#
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# When distributing Covered Code, include this CDDL HEADER in each
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# If applicable, add the following below this CDDL HEADER, with the
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync#
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# CDDL HEADER END
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync#
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync#
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync#
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncinclude ../../../make-rules/shared-macros.mk
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncCOMPONENT_NAME= python-ceilometerclient
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncCOMPONENT_VERSION= 1.0.10
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncCOMPONENT_ARCHIVE_HASH= \
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync sha256:bbe29a6c85af3ec0bcbb7df1863bb3c3c620fa0423c67f25bd089e0ab7b33059
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncCOMPONENT_ARCHIVE_URL= $(call pypi_url)
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncCOMPONENT_PROJECT_URL= http://launchpad.net/python-cinderclient
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncCOMPONENT_BUGDB= service/ceilometer
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# Depends on keystoneclient which is not Python 3 ready.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncPYTHON_VERSIONS= 2.7 2.6
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncinclude $(WS_TOP)/make-rules/prep.mk
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncinclude $(WS_TOP)/make-rules/setup.py.mk
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncinclude $(WS_TOP)/make-rules/ips.mk
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncASLR_MODE = $(ASLR_NOT_APPLICABLE)
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncCOMPONENT_POST_INSTALL_ACTION = \
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync (cd $(PROTO_DIR)/usr/bin ; \
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync $(MV) -f ceilometer ceilometer-$(PYTHON_VERSION))
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# common targets
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncbuild: $(BUILD_NO_ARCH)
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncinstall: $(INSTALL_NO_ARCH)
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# tests require:
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# hacking, discover, fixtures, python-subunit, sphinx, testrepository
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# and testtools, some of which have not been integrated.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsynctest: $(NO_TESTS)
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncinclude $(WS_TOP)/make-rules/depend.mk
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync