Makefile revision 6793
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# CDDL HEADER START
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# The contents of this file are subject to the terms of the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Common Development and Distribution License (the "License").
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# You may not use this file except in compliance with the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# or http://www.opensolaris.org/os/licensing.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# See the License for the specific language governing permissions
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# and limitations under the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# When distributing Covered Code, include this CDDL HEADER in each
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# If applicable, add the following below this CDDL HEADER, with the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# fields enclosed by brackets "[]" replaced with your own identifying
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# information: Portions Copyright [yyyy] [name of copyright owner]
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# CDDL HEADER END
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterinclude ../../../make-rules/shared-macros.mk
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_NAME= mock
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_VERSION= 1.3.0
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_ARCHIVE_HASH= \
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster sha256:1e247dbecc6ce057299eb7ee019ad68314bb93152e81d9a6110d35f4d5eca0f6
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_ARCHIVE_URL= $(call pypi_url)
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_PROJECT_URL= http://www.voidspace.org.uk/python/mock/
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_BUGDB= python-mod/mock
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterTPNO= 28689
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# mock has been subsumed into Python starting with 3.3, so no need to build
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# it for Python 3.
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterPYTHON_VERSIONS= $(PYTHON2_VERSIONS)
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterinclude $(WS_MAKE_RULES)/prep.mk
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterinclude $(WS_MAKE_RULES)/setup.py.mk
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterinclude $(WS_MAKE_RULES)/ips.mk
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_TEST_DIR = $(SOURCE_DIR)
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_TEST_ARGS = setup.py test
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterASLR_MODE = $(ASLR_NOT_APPLICABLE)
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# common targets
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterbuild: $(BUILD_NO_ARCH)
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterinstall: $(INSTALL_NO_ARCH)
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fostertest: $(TEST_NO_ARCH)
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fostersystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster