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