components/python/cherrypy/Makefile
changeset 5947 d9fcc08e98bf
parent 5682 94c0ca64c022
child 7687 1093e2a9adbd
equal deleted inserted replaced
5946:e88e3336ea13 5947:d9fcc08e98bf
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 include ../../../make-rules/shared-macros.mk
    25 include ../../../make-rules/shared-macros.mk
    26 
    26 
    27 PATH=/usr/bin:/usr/gnu/bin:/usr/sbin
    27 PATH=/usr/bin:/usr/gnu/bin:/usr/sbin
    28 
    28 
    29 COMPONENT_NAME=		CherryPy
    29 COMPONENT_NAME=		CherryPy
    30 COMPONENT_VERSION=	3.8.0
    30 COMPONENT_VERSION=	5.1.0
    31 COMPONENT_PROJECT_URL=	http://www.cherrypy.org/
    31 COMPONENT_PROJECT_URL=	http://www.cherrypy.org/
    32 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    32 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    33 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    33 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    34 COMPONENT_ARCHIVE_HASH=	\
    34 COMPONENT_ARCHIVE_HASH=	\
    35     sha256:ffcdb43667d4098247efaf8c82dd36d3dd4f8e5dc768ef5e90b480899e523bea
    35     sha256:5fccc9ad3bf9a1df83bbb934772f34f42571421bdd75f90f74c170b6c0ef13b1
    36 COMPONENT_ARCHIVE_URL=	$(call pypi_url)
    36 COMPONENT_ARCHIVE_URL=	$(call pypi_url)
    37 COMPONENT_BUGDB=	python-mod/cherrypy
    37 COMPONENT_BUGDB=	python-mod/cherrypy
    38 
    38 
    39 TPNO=			25174
    39 TPNO=			27797
    40 
    40 
    41 PATCH_LEVEL=0
    41 PATCH_LEVEL=0
    42 
    42 
    43 include $(WS_MAKE_RULES)/prep.mk
    43 include $(WS_MAKE_RULES)/prep.mk
    44 include $(WS_MAKE_RULES)/setup.py.mk
    44 include $(WS_MAKE_RULES)/setup.py.mk
    50 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    50 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    51 
    51 
    52 COMPONENT_TEST_DIR = 	$(SOURCE_DIR)/cherrypy/test
    52 COMPONENT_TEST_DIR = 	$(SOURCE_DIR)/cherrypy/test
    53 COMPONENT_TEST_CMD =	nosetests -s ./
    53 COMPONENT_TEST_CMD =	nosetests -s ./
    54 COMPONENT_TEST_ARGS = 
    54 COMPONENT_TEST_ARGS = 
       
    55 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
       
    56 
       
    57 COMPONENT_TEST_TRANSFORMS += \
       
    58 	'-e "/^cherrypy./d" ' \
       
    59 	'-e "s|\(^Ran [0-9]\+ tests in\).*|\1|" '
    55 
    60 
    56 # common targets
    61 # common targets
    57 build:		$(BUILD_NO_ARCH)
    62 build:		$(BUILD_NO_ARCH)
    58 
    63 
    59 install:	$(INSTALL_NO_ARCH)
    64 install:	$(INSTALL_NO_ARCH)
    60 
    65 
    61 # test are not clean, so not appropriate to run at top level
    66 # test are not clean, so not appropriate to run at top level
    62 $(SKIP_TEST_AT_TOP_LEVEL)
    67 $(SKIP_TEST_AT_TOP_LEVEL)
    63 
    68 
    64 # The test requires some interactive selections from the users to continue,
       
    65 # otherwise it'll hang.
       
    66 # Ran 246 tests, 3 skipped, 3 failures 
       
    67 # FAIL: test_598, test_queue_full, test_2_File_Concurrency
       
    68 test:		$(TEST_NO_ARCH)
    69 test:		$(TEST_NO_ARCH)
    69 
    70 
    70 system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
    71 system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
    71 
    72 
    72 REQUIRED_PACKAGES += system/core-os
    73 REQUIRED_PACKAGES += system/core-os