components/python/pytest-cov/Makefile
branchs11-update
changeset 3996 20c0f21bbe1e
parent 3778 35735ffdda43
child 7811 9126e6f58cd8
equal deleted inserted replaced
3994:3781477accf3 3996:20c0f21bbe1e
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 include ../../../make-rules/shared-macros.mk
    23 include ../../../make-rules/shared-macros.mk
    24 
    24 
    25 COMPONENT_NAME=		pytest-cov
    25 COMPONENT_NAME=		pytest-cov
    26 COMPONENT_VERSION=	1.6
    26 COMPONENT_VERSION=	1.6
    37 # pytest-cov itself is Python 3 ready (builds & publishes cleanly with usual
    37 # pytest-cov itself is Python 3 ready (builds & publishes cleanly with usual
    38 # changes applied) but it depends on cov-core which depends on coverage which
    38 # changes applied) but it depends on cov-core which depends on coverage which
    39 # needs to be upgraded.  Thus, skip Python 3 until then.
    39 # needs to be upgraded.  Thus, skip Python 3 until then.
    40 PYTHON_VERSIONS=	2.7 2.6
    40 PYTHON_VERSIONS=	2.7 2.6
    41 
    41 
    42 include $(WS_TOP)/make-rules/prep.mk
    42 include $(WS_MAKE_RULES)/prep.mk
    43 include $(WS_TOP)/make-rules/setup.py.mk
    43 include $(WS_MAKE_RULES)/setup.py.mk
    44 include $(WS_TOP)/make-rules/ips.mk
    44 include $(WS_MAKE_RULES)/ips.mk
    45 
    45 
    46 COMPONENT_TEST_DIR =	$(COMPONENT_SRC)
    46 COMPONENT_TEST_DIR =	$(COMPONENT_SRC)
    47 COMPONENT_TEST_ARGS =	test_pytest_cov.py
    47 COMPONENT_TEST_ARGS =	test_pytest_cov.py
    48 
    48 
    49 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    49 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    54 install:	$(INSTALL_NO_ARCH)
    54 install:	$(INSTALL_NO_ARCH)
    55 
    55 
    56 # Tests require the pytest, coverage and cov-core packages.
    56 # Tests require the pytest, coverage and cov-core packages.
    57 test:		$(TEST_NO_ARCH)
    57 test:		$(TEST_NO_ARCH)
    58 
    58 
    59 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    60 
    59 
    61 include $(WS_TOP)/make-rules/depend.mk
    60 REQUIRED_PACKAGES += library/python/cov-core-26
       
    61 REQUIRED_PACKAGES += library/python/cov-core-27