components/python/netaddr/Makefile
changeset 3716 a2629a2cf270
parent 1948 2d1537e7942d
child 3817 30b42c38bbc4
equal deleted inserted replaced
3705:0d8951107033 3716:a2629a2cf270
    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=		netaddr
    25 COMPONENT_NAME=		netaddr
    26 COMPONENT_VERSION=	0.7.10
    26 COMPONENT_VERSION=	0.7.10
    58 COMPONENT_PRE_TEST_ACTION= \
    58 COMPONENT_PRE_TEST_ACTION= \
    59 	( cd $(COMPONENT_TEST_DIR)/tests ; \
    59 	( cd $(COMPONENT_TEST_DIR)/tests ; \
    60 	  ln -s $(SOURCE_DIR)/netaddr/tests/2.x ; \
    60 	  ln -s $(SOURCE_DIR)/netaddr/tests/2.x ; \
    61 	  ln -s $(SOURCE_DIR)/netaddr/tests/3.x )
    61 	  ln -s $(SOURCE_DIR)/netaddr/tests/3.x )
    62 
    62 
       
    63 # Master test results are the same for all Python versions, so override
       
    64 # here, rather than create multiple identical master files.
       
    65 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
       
    66 
       
    67 # The additional netaddr specific set of transforms to be applied to the test
       
    68 # results to try to normalize them.
       
    69 COMPONENT_TEST_TRANSFORMS += \
       
    70 	'-e "s|\(Ran 28 tests in\).*|\1|" '
       
    71 
    63 test:		$(TEST_NO_ARCH)
    72 test:		$(TEST_NO_ARCH)
    64 
    73 
    65 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    74 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    66 
    75 
    67 include $(WS_TOP)/make-rules/depend.mk
    76 include $(WS_TOP)/make-rules/depend.mk