components/python/ipython/Makefile
changeset 3817 30b42c38bbc4
parent 1948 2d1537e7942d
child 3936 c344422ee38b
equal deleted inserted replaced
3814:60344306d223 3817:30b42c38bbc4
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2013, 2015, 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=		ipython
    28 COMPONENT_NAME=		ipython
    38 TPNO=			9640
    38 TPNO=			9640
    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 = 2.7 2.6
    42 
    42 
    43 include $(WS_TOP)/make-rules/prep.mk
    43 include $(WS_MAKE_RULES)/prep.mk
    44 include $(WS_TOP)/make-rules/setup.py.mk
    44 include $(WS_MAKE_RULES)/setup.py.mk
    45 include $(WS_TOP)/make-rules/ips.mk
    45 include $(WS_MAKE_RULES)/ips.mk
    46 
    46 
    47 # Replace "#!/usr/bin/env ..." shebang lines with properly versioned ones.
    47 # Replace "#!/usr/bin/env ..." shebang lines with properly versioned ones.
    48 COMPONENT_PRE_BUILD_ACTION = \
    48 COMPONENT_PRE_BUILD_ACTION = \
    49 	/usr/bin/find $(SOURCE_DIR) -name *.py \
    49 	/usr/bin/find $(SOURCE_DIR) -name *.py \
    50 		-exec $(GSED) -i -e 's/env python/python$(PYTHON_VERSION)/' "{}" \; ;
    50 		-exec $(GSED) -i -e 's/env python/python$(PYTHON_VERSION)/' "{}" \; ;
    60 
    60 
    61 install:        $(INSTALL_32)
    61 install:        $(INSTALL_32)
    62 
    62 
    63 test:           $(NO_TESTS)
    63 test:           $(NO_TESTS)
    64 
    64 
    65 BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
       
    66 
    65 
    67 include $(WS_TOP)/make-rules/depend.mk
    66 REQUIRED_PACKAGES += library/python/python-twisted-26
       
    67 REQUIRED_PACKAGES += library/python/python-twisted-27
       
    68 REQUIRED_PACKAGES += library/python/setuptools-26
       
    69 REQUIRED_PACKAGES += library/python/setuptools-27