Makefile revision 3996
425N/A#
425N/A# CDDL HEADER START
1276N/A#
425N/A# The contents of this file are subject to the terms of the
1339N/A# Common Development and Distribution License (the "License").
425N/A# You may not use this file except in compliance with the License.
425N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
919N/A#
919N/Ainclude ../../../make-rules/shared-macros.mk
919N/A
425N/ACOMPONENT_NAME= Cheetah
425N/ACOMPONENT_VERSION= 2.4.4
425N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
425N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
493N/ACOMPONENT_ARCHIVE_HASH= \
425N/A sha256:be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550
970N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
970N/ACOMPONENT_PROJECT_URL= http://www.cheetahtemplate.org/
970N/ACOMPONENT_BUGDB= python-mod/cheetah
970N/A
1339N/ATPNO= 14503
1339N/A
1339N/A# Syntax issues: not Python 3 ready.
425N/APYTHON_VERSIONS= 2.7 2.6
1276N/A
425N/Ainclude $(WS_MAKE_RULES)/prep.mk
911N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
1276N/Ainclude $(WS_MAKE_RULES)/ips.mk
1276N/A
1276N/ACOMPONENT_POST_INSTALL_ACTION = \
911N/A (cd $(PROTO_DIR)/usr/bin ; \
425N/A $(MV) -f cheetah cheetah-$(PYTHON_VERSION) ; \
425N/A $(MV) -f cheetah-analyze cheetah-analyze-$(PYTHON_VERSION) ; \
425N/A $(MV) -f cheetah-compile cheetah-compile-$(PYTHON_VERSION))
425N/A
1276N/ACOMPONENT_TEST_ARGS= cheetah/Tests/Test.py
493N/ACOMPONENT_TEST_DIR= $(SOURCE_DIR)
425N/ACOMPONENT_TEST_ENV= PATH=$(PROTO_DIR)/usr/bin
970N/ACOMPONENT_TEST_ENV += PYTHONPATH=$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32)
970N/ACOMPONENT_TEST_ENV += PYTHON_VERSION=$(PYTHON_VERSION)
970N/A
425N/A# common targets
build: $(BUILD_32_and_64)
install: $(INSTALL_32_and_64)
test: $(TEST_32_and_64)
REQUIRED_PACKAGES += runtime/python-26/tests
REQUIRED_PACKAGES += runtime/python-27/tests
REQUIRED_PACKAGES += system/library