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