Makefile revision 4337
8d61fd74732665bf55186c56721245c1770c6db7Johan B. C. Engelen# CDDL HEADER START
8d61fd74732665bf55186c56721245c1770c6db7Johan B. C. Engelen# The contents of this file are subject to the terms of the
8d61fd74732665bf55186c56721245c1770c6db7Johan B. C. Engelen# Common Development and Distribution License (the "License").
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyak# You may not use this file except in compliance with the License.
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyak# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyak# See the License for the specific language governing permissions
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyak# and limitations under the License.
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyak# When distributing Covered Code, include this CDDL HEADER in each
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyak# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyak# If applicable, add the following below this CDDL HEADER, with the
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyak# fields enclosed by brackets "[]" replaced with your own identifying
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyak# information: Portions Copyright [yyyy] [name of copyright owner]
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyak# CDDL HEADER END
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyak# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
8d61fd74732665bf55186c56721245c1770c6db7Johan B. C. Engeleninclude ../../../make-rules/shared-macros.mk
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyakCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
8d61fd74732665bf55186c56721245c1770c6db7Johan B. C. EngelenCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
8d61fd74732665bf55186c56721245c1770c6db7Johan B. C. Engelen sha256:58ac719464c4c8b13d664ded6770450602528bf4c36f9fd5daabdae8d410ebb1
8d61fd74732665bf55186c56721245c1770c6db7Johan B. C. EngelenCOMPONENT_PROJECT_URL= http://www.djangoproject.com/
b49365c42b99e3cc135dcde0077aad31d930f6c1Johan B. C. Engelen# Syntax issues: not Python 3 ready.
b49365c42b99e3cc135dcde0077aad31d930f6c1Johan B. C. Engelen# Replace "#!/usr/bin/env ..." shebang lines with properly versioned ones.
b49365c42b99e3cc135dcde0077aad31d930f6c1Johan B. C. Engelen /usr/bin/find $(BUILD_DIR)/$(MACH)-$(PYTHON_VERSION)/lib/django -name *.py \
b49365c42b99e3cc135dcde0077aad31d930f6c1Johan B. C. Engelen -exec $(GSED) -i -e 's/env python/python$(PYTHON_VERSION)/' "{}" \; ;
b49365c42b99e3cc135dcde0077aad31d930f6c1Johan B. C. Engelen (cd $(PROTO_DIR)/usr/bin ; $(MV) -f django-admin.py django-admin-$(PYTHON_VERSION))
8d61fd74732665bf55186c56721245c1770c6db7Johan B. C. Engelen# add 1 extra transform to get rid of the facet created on
8d61fd74732665bf55186c56721245c1770c6db7Johan B. C. EngelenPUBLISH_TRANSFORMS += $(COMPONENT_DIR)/django-locale-transform
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyak# reset the test environment to only contain PATH and PYTHONPATH
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyak# common targets
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyak# tests require:
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyak# docutils Markdown PIL py-bcrypt python-memcached pytz PyYAML
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyak# selenium and Textile, some of which haven't been integrated yet.
c169f6cddd2da06cfb761339f445bbd8866f72a8buliabyak# The tests will run, but there are errors.