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