1724N/A#
1724N/A# CDDL HEADER START
1724N/A#
1724N/A# The contents of this file are subject to the terms of the
1724N/A# Common Development and Distribution License (the "License").
1724N/A# You may not use this file except in compliance with the License.
1724N/A#
1724N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1724N/A# or http://www.opensolaris.org/os/licensing.
1724N/A# See the License for the specific language governing permissions
1724N/A# and limitations under the License.
1724N/A#
1724N/A# When distributing Covered Code, include this CDDL HEADER in each
1724N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1724N/A# If applicable, add the following below this CDDL HEADER, with the
1724N/A# fields enclosed by brackets "[]" replaced with your own identifying
1724N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1724N/A#
1724N/A# CDDL HEADER END
1724N/A#
3996N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
1724N/A#
1724N/Ainclude ../../../make-rules/shared-macros.mk
1724N/A
1724N/ACOMPONENT_NAME= mock
1724N/ACOMPONENT_VERSION= 1.0.1
1724N/ACOMPONENT_PROJECT_URL= http://www.voidspace.org.uk/python/mock/
1724N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
1724N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
1724N/ACOMPONENT_ARCHIVE_HASH= \
1724N/A sha256:b839dd2d9c117c701430c149956918a423a9863b48b09c90e30a6013e7d2f44f
1724N/ACOMPONENT_ARCHIVE_URL= http://pypi.python.org/packages/source/m/mock/$(COMPONENT_ARCHIVE)
1724N/ACOMPONENT_BUGDB= python-mod/mock
1724N/A
3661N/ATPNO= 12679
3661N/A
3778N/A# mock has been subsumed into Python starting with 3.3, so no need to build
3778N/A# it for Python 3.
3778N/APYTHON_VERSIONS= 2.7 2.6
3778N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
1724N/A
1874N/ACOMPONENT_TEST_DIR = $(SOURCE_DIR)
1874N/ACOMPONENT_TEST_ARGS = setup.py test
1724N/A
1724N/A# common targets
1874N/Abuild: $(BUILD_NO_ARCH)
1724N/A
1874N/Ainstall: $(INSTALL_NO_ARCH)
1724N/A
1874N/Atest: $(TEST_NO_ARCH)
1724N/A
1724N/A