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