Makefile revision 3996
301N/A#
301N/A# CDDL HEADER START
301N/A#
301N/A# The contents of this file are subject to the terms of the
301N/A# Common Development and Distribution License (the "License").
301N/A# You may not use this file except in compliance with the License.
301N/A#
301N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
301N/A# or http://www.opensolaris.org/os/licensing.
301N/A# See the License for the specific language governing permissions
301N/A# and limitations under the License.
301N/A#
301N/A# When distributing Covered Code, include this CDDL HEADER in each
301N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
301N/A# If applicable, add the following below this CDDL HEADER, with the
301N/A# fields enclosed by brackets "[]" replaced with your own identifying
301N/A# information: Portions Copyright [yyyy] [name of copyright owner]
301N/A#
301N/A# CDDL HEADER END
301N/A#
301N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
301N/A#
301N/Ainclude ../../../make-rules/shared-macros.mk
301N/A
301N/ACOMPONENT_NAME= pytest-cov
301N/ACOMPONENT_VERSION= 1.6
301N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
485N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
485N/ACOMPONENT_ARCHIVE_HASH= \
301N/A sha256:2e803c89f11e0344111670349f6ef401f831e85cbd287b0c5d61917da5aac454
301N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
618N/ACOMPONENT_PROJECT_URL= https://pypi.python.org/pypi/pytest-cov
301N/ACOMPONENT_BUGDB= python-mod/pytest-plugins
301N/A
301N/ATPNO= 14503
301N/A
301N/A# pytest-cov itself is Python 3 ready (builds & publishes cleanly with usual
301N/A# changes applied) but it depends on cov-core which depends on coverage which
301N/A# needs to be upgraded. Thus, skip Python 3 until then.
301N/APYTHON_VERSIONS= 2.7 2.6
301N/A
301N/Ainclude $(WS_MAKE_RULES)/prep.mk
301N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
301N/Ainclude $(WS_MAKE_RULES)/ips.mk
301N/A
301N/ACOMPONENT_TEST_DIR = $(COMPONENT_SRC)
301N/ACOMPONENT_TEST_ARGS = test_pytest_cov.py
301N/A
301N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
301N/A
301N/A# common targets
301N/Abuild: $(BUILD_NO_ARCH)
301N/A
301N/Ainstall: $(INSTALL_NO_ARCH)
301N/A
301N/A# Tests require the pytest, coverage and cov-core packages.
301N/Atest: $(TEST_NO_ARCH)
301N/A
301N/A
301N/AREQUIRED_PACKAGES += library/python/cov-core-26
301N/AREQUIRED_PACKAGES += library/python/cov-core-27
301N/A