components/python/django/Makefile
changeset 3817 30b42c38bbc4
parent 1948 2d1537e7942d
child 3998 5bd484384122
equal deleted inserted replaced
3814:60344306d223 3817:30b42c38bbc4
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 include ../../../make-rules/shared-macros.mk
    23 include ../../../make-rules/shared-macros.mk
    24 
    24 
    25 COMPONENT_NAME=		Django
    25 COMPONENT_NAME=		Django
    26 COMPONENT_VERSION=	1.4.11
    26 COMPONENT_VERSION=	1.4.11
    35 TPNO=			17445
    35 TPNO=			17445
    36 
    36 
    37 # Syntax issues: not Python 3 ready.
    37 # Syntax issues: not Python 3 ready.
    38 PYTHON_VERSIONS=	2.7 2.6
    38 PYTHON_VERSIONS=	2.7 2.6
    39 
    39 
    40 include $(WS_TOP)/make-rules/prep.mk
    40 include $(WS_MAKE_RULES)/prep.mk
    41 include $(WS_TOP)/make-rules/setup.py.mk
    41 include $(WS_MAKE_RULES)/setup.py.mk
    42 include $(WS_TOP)/make-rules/ips.mk
    42 include $(WS_MAKE_RULES)/ips.mk
    43 
    43 
    44 # Replace "#!/usr/bin/env ..." shebang lines with properly versioned ones.
    44 # Replace "#!/usr/bin/env ..." shebang lines with properly versioned ones.
    45 COMPONENT_POST_BUILD_ACTION = \
    45 COMPONENT_POST_BUILD_ACTION = \
    46         /usr/bin/find $(BUILD_DIR)/$(MACH)-$(PYTHON_VERSION)/lib/django -name *.py \
    46         /usr/bin/find $(BUILD_DIR)/$(MACH)-$(PYTHON_VERSION)/lib/django -name *.py \
    47                 -exec $(GSED) -i -e 's/env python/python$(PYTHON_VERSION)/' "{}" \; ;
    47                 -exec $(GSED) -i -e 's/env python/python$(PYTHON_VERSION)/' "{}" \; ;
    73 # selenium and Textile, some of which haven't been integrated yet.
    73 # selenium and Textile, some of which haven't been integrated yet.
    74 # The tests will run, but there are errors.
    74 # The tests will run, but there are errors.
    75 #
    75 #
    76 test:		$(TEST_NO_ARCH)
    76 test:		$(TEST_NO_ARCH)
    77 
    77 
    78 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    79 
       
    80 include $(WS_TOP)/make-rules/depend.mk