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