394N/A#
394N/A# CDDL HEADER START
394N/A#
394N/A# The contents of this file are subject to the terms of the
394N/A# Common Development and Distribution License (the "License").
394N/A# You may not use this file except in compliance with the License.
394N/A#
394N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
394N/A# or http://www.opensolaris.org/os/licensing.
394N/A# See the License for the specific language governing permissions
394N/A# and limitations under the License.
394N/A#
394N/A# When distributing Covered Code, include this CDDL HEADER in each
394N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
394N/A# If applicable, add the following below this CDDL HEADER, with the
394N/A# fields enclosed by brackets "[]" replaced with your own identifying
394N/A# information: Portions Copyright [yyyy] [name of copyright owner]
394N/A#
394N/A# CDDL HEADER END
394N/A#
7154N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
394N/A#
394N/Ainclude ../../../make-rules/shared-macros.mk
394N/A
394N/APATH=/usr/bin:/usr/gnu/bin:/usr/sbin
394N/A
394N/ACOMPONENT_NAME= CherryPy
7154N/ACOMPONENT_VERSION= 5.1.0
618N/ACOMPONENT_PROJECT_URL= http://www.cherrypy.org/
394N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
394N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
7154N/A sha256:5fccc9ad3bf9a1df83bbb934772f34f42571421bdd75f90f74c170b6c0ef13b1
394N/ACOMPONENT_ARCHIVE_URL= http://download.cherrypy.org/cherrypy/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= python-mod/cherrypy
394N/A
7154N/ATPNO= 27797
3661N/A
394N/APATCH_LEVEL=0
394N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
394N/A
783N/ACOMPONENT_POST_INSTALL_ACTION = \
1922N/A (cd $(PROTO_DIR)/usr/bin ; $(MV) cherryd cherryd$(PYTHON_VERSION))
783N/A
7154N/ACOMPONENT_TEST_DIR = $(SOURCE_DIR)/cherrypy/test
7154N/ACOMPONENT_TEST_CMD = nosetests -s ./
7154N/ACOMPONENT_TEST_ARGS =
7154N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
7154N/A
7154N/ACOMPONENT_TEST_TRANSFORMS += \
7154N/A '-e "/^cherrypy./d" ' \
7154N/A '-e "s|\(^Ran [0-9]\+ tests in\).*|\1|" '
7154N/A
394N/A# common targets
1874N/Abuild: $(BUILD_NO_ARCH)
394N/A
1874N/Ainstall: $(INSTALL_NO_ARCH)
394N/A
7154N/A# test are not clean, so not appropriate to run at top level
7154N/A$(SKIP_TEST_AT_TOP_LEVEL)
394N/A
7154N/Atest: $(TEST_NO_ARCH)
7154N/A
7154N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
394N/A
3996N/AREQUIRED_PACKAGES += system/core-os