24655211 gmake unpack fails in nose
authorRich Burridge <rich.burridge@oracle.com>
Thu, 15 Sep 2016 09:58:49 -0700
changeset 6909 6f3076f8d9bf
parent 6906 a6c8d3c7b8bf
child 6910 93182fb9923a
24655211 gmake unpack fails in nose
components/python/nose/Makefile
--- a/components/python/nose/Makefile	Tue Sep 13 19:38:07 2016 -0700
+++ b/components/python/nose/Makefile	Thu Sep 15 09:58:49 2016 -0700
@@ -43,7 +43,9 @@
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
-$(SOURCE_DIR)/.prep:	PYTHON_VERSION=3.4
+# nose ships the tests in Python 2 syntax, and uses setup.py build_tests
+# to convert them to Python 3 syntax, but doing so requires running Python 3.
+$(UNPACK_STAMP):	PYTHON_VERSION=3.4
 
 COMPONENT_TEST_DIR =	$(SOURCE_DIR)
 COMPONENT_TEST_ARGS =	selftest.py