components/python/pytest/Makefile
branchs11-update
changeset 3996 20c0f21bbe1e
parent 3661 47545fb8aed4
child 3998 5bd484384122
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
    25 COMPONENT_NAME=		pytest
    26 COMPONENT_VERSION=	2.3.5
    26 COMPONENT_VERSION=	2.3.5
    32 COMPONENT_PROJECT_URL=	https://pypi.python.org/pypi/pytest
    32 COMPONENT_PROJECT_URL=	https://pypi.python.org/pypi/pytest
    33 COMPONENT_BUGDB=	python-mod/pytest
    33 COMPONENT_BUGDB=	python-mod/pytest
    34 
    34 
    35 TPNO=			14503
    35 TPNO=			14503
    36 
    36 
    37 include $(WS_TOP)/make-rules/prep.mk
    37 include $(WS_MAKE_RULES)/prep.mk
    38 include $(WS_TOP)/make-rules/setup.py.mk
    38 include $(WS_MAKE_RULES)/setup.py.mk
    39 include $(WS_TOP)/make-rules/ips.mk
    39 include $(WS_MAKE_RULES)/ips.mk
    40 
    40 
    41 COMPONENT_TEST_DIR =	$(COMPONENT_SRC)/testing
    41 COMPONENT_TEST_DIR =	$(COMPONENT_SRC)/testing
    42 COMPONENT_TEST_CMD =	$(PROTOUSRBINDIR)/py.test
    42 COMPONENT_TEST_CMD =	$(PROTOUSRBINDIR)/py.test
    43 COMPONENT_TEST_ARGS =	test_assertion.py
    43 COMPONENT_TEST_ARGS =	test_assertion.py
    44 
    44 
    50 install:	$(INSTALL_NO_ARCH)
    50 install:	$(INSTALL_NO_ARCH)
    51 
    51 
    52 # Tests require the py package to be installed.
    52 # Tests require the py package to be installed.
    53 test:		$(TEST_NO_ARCH)
    53 test:		$(TEST_NO_ARCH)
    54 
    54 
    55 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    56 
    55 
    57 include $(WS_TOP)/make-rules/depend.mk
    56 REQUIRED_PACKAGES += library/python/setuptools-26
       
    57 REQUIRED_PACKAGES += library/python/setuptools-27
       
    58 REQUIRED_PACKAGES += library/python/setuptools-34