Makefile revision 6772
32N/A#
32N/A# CDDL HEADER START
943N/A#
32N/A# The contents of this file are subject to the terms of the
32N/A# Common Development and Distribution License (the "License").
919N/A# You may not use this file except in compliance with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A
919N/A#
32N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
32N/A#
32N/A
32N/Ainclude ../../../make-rules/shared-macros.mk
493N/A
32N/ACOMPONENT_NAME= tooz
32N/ACOMPONENT_VERSION= 1.34.0
851N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
32N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
911N/ACOMPONENT_ARCHIVE_HASH= \
911N/A sha256:116116ab5971dfed13b81176a8f9e353f46ae687d8ff94124813c5f6ad274fa4
911N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
911N/ACOMPONENT_PROJECT_URL= http://docs.openstack.org/developer/tooz
32N/ACOMPONENT_BUGDB= python-mod/tooz
32N/A
32N/ATPNO= 28839
32N/A
32N/A# Depends on oslo.utils which is not Python 3 ready.
PYTHON_VERSIONS = $(PYTHON2_VERSIONS)
include $(WS_MAKE_RULES)/prep.mk
include $(WS_MAKE_RULES)/setup.py.mk
include $(WS_MAKE_RULES)/ips.mk
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
# common targets
build: $(BUILD_NO_ARCH)
install: $(INSTALL_NO_ARCH)
# Run the tests in the build directory so as not to touch the source directory.
COMPONENT_TEST_DIR = $(@D)
COMPONENT_TEST_CMD = py.test-$(PYTHON_VERSION)
COMPONENT_TEST_ARGS = --result-log=$(COMPONENT_TEST_OUTPUT)
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
test: $(TEST_NO_ARCH)