2873N/A#
2873N/A# CDDL HEADER START
2873N/A#
2873N/A# The contents of this file are subject to the terms of the
2873N/A# Common Development and Distribution License (the "License").
2873N/A# You may not use this file except in compliance with the License.
2873N/A#
2873N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2873N/A# or http://www.opensolaris.org/os/licensing.
2873N/A# See the License for the specific language governing permissions
2873N/A# and limitations under the License.
2873N/A#
2873N/A# When distributing Covered Code, include this CDDL HEADER in each
2873N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2873N/A# If applicable, add the following below this CDDL HEADER, with the
2873N/A# fields enclosed by brackets "[]" replaced with your own identifying
2873N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2873N/A#
2873N/A# CDDL HEADER END
2873N/A#
2873N/A
2873N/A#
5403N/A# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
2873N/A#
3998N/A
2873N/Ainclude ../../../make-rules/shared-macros.mk
2873N/A
2873N/ACOMPONENT_NAME= python-ceilometerclient
6819N/ACOMPONENT_VERSION= 2.4.0
2873N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2873N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2873N/ACOMPONENT_ARCHIVE_HASH= \
6819N/A sha256:0cb0346ea53b110f10df1e3978e2ff031777b0e70a3100d1a216aca2ea4e8f73
2873N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
6819N/ACOMPONENT_PROJECT_URL= \
6819N/A http://docs.openstack.org/developer/python-ceilometerclient/
2873N/ACOMPONENT_BUGDB= service/ceilometer
2873N/A
6819N/ATPNO= 29185
2899N/A
3998N/A# Depends on keystoneclient which is not Python 3 ready.
4982N/APYTHON_VERSIONS= $(PYTHON2_VERSIONS)
2873N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
2873N/A
2873N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
2873N/A
2873N/ACOMPONENT_POST_INSTALL_ACTION = \
2873N/A (cd $(PROTO_DIR)/usr/bin ; \
2873N/A $(MV) -f ceilometer ceilometer-$(PYTHON_VERSION))
2873N/A
2873N/A# common targets
2873N/Abuild: $(BUILD_NO_ARCH)
2873N/A
2873N/Ainstall: $(INSTALL_NO_ARCH)
2873N/A
6819N/A# See $(COMPONENT_SRC)/test-requirements.txt for the Python modules
6819N/A# required to execute unittests.
2873N/Atest: $(NO_TESTS)
4337N/A
6819N/Asystem-test: $(NO_TESTS)