equal
deleted
inserted
replaced
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
25 |
25 |
26 include ../../../make-rules/shared-macros.mk |
26 include ../../../make-rules/shared-macros.mk |
27 |
27 |
28 COMPONENT_NAME= Django |
28 COMPONENT_NAME= Django |
36 COMPONENT_BUGDB= python-mod/django |
36 COMPONENT_BUGDB= python-mod/django |
37 |
37 |
38 TPNO= 24189 |
38 TPNO= 24189 |
39 |
39 |
40 # Syntax issues: not Python 3 ready. |
40 # Syntax issues: not Python 3 ready. |
41 PYTHON_VERSIONS= 2.7 2.6 |
41 PYTHON_VERSIONS= $(PYTHON2_VERSIONS) |
42 |
42 |
43 include $(WS_MAKE_RULES)/prep.mk |
43 include $(WS_MAKE_RULES)/prep.mk |
44 include $(WS_MAKE_RULES)/setup.py.mk |
44 include $(WS_MAKE_RULES)/setup.py.mk |
45 include $(WS_MAKE_RULES)/ips.mk |
45 include $(WS_MAKE_RULES)/ips.mk |
46 |
46 |
55 # add 1 extra transform to get rid of the facet created on |
55 # add 1 extra transform to get rid of the facet created on |
56 # locale/__init__.py |
56 # locale/__init__.py |
57 PUBLISH_TRANSFORMS += $(COMPONENT_DIR)/django-locale-transform |
57 PUBLISH_TRANSFORMS += $(COMPONENT_DIR)/django-locale-transform |
58 |
58 |
59 # reset the test environment to only contain PATH and PYTHONPATH |
59 # reset the test environment to only contain PATH and PYTHONPATH |
60 # Note: some tests do not run on Python 2.6 due to syntax issues. |
|
61 COMPONENT_TEST_DIR= $(SOURCE_DIR)/tests |
60 COMPONENT_TEST_DIR= $(SOURCE_DIR)/tests |
62 COMPONENT_TEST_ARGS += --settings test_sqlite |
61 COMPONENT_TEST_ARGS += --settings test_sqlite |
63 COMPONENT_TEST_ENV= PYTHONPATH=$(SOURCE_DIR) |
62 COMPONENT_TEST_ENV= PYTHONPATH=$(SOURCE_DIR) |
64 COMPONENT_TEST_ENV += PATH=$(PATH) |
63 COMPONENT_TEST_ENV += PATH=$(PATH) |
65 |
64 |