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