Makefile revision 3661
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock#
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock# CDDL HEADER START
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock#
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock# The contents of this file are subject to the terms of the
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock# Common Development and Distribution License (the "License").
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock# You may not use this file except in compliance with the License.
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock#
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock# or http://www.opensolaris.org/os/licensing.
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock# See the License for the specific language governing permissions
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock# and limitations under the License.
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock#
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock# When distributing Covered Code, include this CDDL HEADER in each
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock# If applicable, add the following below this CDDL HEADER, with the
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock# fields enclosed by brackets "[]" replaced with your own identifying
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock# information: Portions Copyright [yyyy] [name of copyright owner]
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock#
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock# CDDL HEADER END
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock#
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock#
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrockinclude ../../../make-rules/shared-macros.mk
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrockCOMPONENT_NAME= pytest
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrockCOMPONENT_VERSION= 2.3.5
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrockCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrockCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrockCOMPONENT_ARCHIVE_HASH= \
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrock sha256:804c28bef415fc6a54de7934f05b2d67a9cc8a230de98685fca274d9fcbe8b1c
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrockCOMPONENT_ARCHIVE_URL= $(call pypi_url)
275c9da86e89f8abf71135cf63d9fc23671b2e60eschrockCOMPONENT_PROJECT_URL= https://pypi.python.org/pypi/pytest
COMPONENT_BUGDB= python-mod/pytest
TPNO= 14503
include $(WS_TOP)/make-rules/prep.mk
include $(WS_TOP)/make-rules/setup.py.mk
include $(WS_TOP)/make-rules/ips.mk
COMPONENT_TEST_DIR = $(COMPONENT_SRC)/testing
COMPONENT_TEST_CMD = $(PROTOUSRBINDIR)/py.test
COMPONENT_TEST_ARGS = test_assertion.py
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
# common targets
build: $(BUILD_NO_ARCH)
install: $(INSTALL_NO_ARCH)
# Tests require the py package to be installed.
test: $(TEST_NO_ARCH)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk