Makefile revision 3996
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER START
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# The contents of this file are subject to the terms of the
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock# Common Development and Distribution License (the "License").
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock# You may not use this file except in compliance with the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fa9e4066f08beec538e775443c5be79dd423fcabahrens# or http://www.opensolaris.org/os/licensing.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# See the License for the specific language governing permissions
fa9e4066f08beec538e775443c5be79dd423fcabahrens# and limitations under the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# When distributing Covered Code, include this CDDL HEADER in each
fa9e4066f08beec538e775443c5be79dd423fcabahrens# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# If applicable, add the following below this CDDL HEADER, with the
fa9e4066f08beec538e775443c5be79dd423fcabahrens# fields enclosed by brackets "[]" replaced with your own identifying
fa9e4066f08beec538e775443c5be79dd423fcabahrens# information: Portions Copyright [yyyy] [name of copyright owner]
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER END
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
8f2529de2d60d4fff8eb4d86f71b51584342934eMark Shellenbaum# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
29bdd2f916366ece37c4748bca6b3d61f57a223bPavel Zakharov#
c3d26abc9ee97b4f60233556aadeb57e0bd30bb9Matthew Ahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensinclude ../../../make-rules/shared-macros.mk
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_NAME= ipython
490d05b9daa0e60fbb3aac647c556408e88228bdMatthew AhrensCOMPONENT_VERSION= 0.10
004388ebfdfe2ed7dfd2d153a876dfcc22d2c006casperCOMPONENT_PROJECT_URL= http://ipython.org/
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
44cd46cadd9aab751dae6a4023c1cb5bf316d274billmCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_ARCHIVE_HASH= \
fa9e4066f08beec538e775443c5be79dd423fcabahrens sha256:60d602637dc5f078b083a4ca5ab64364ba816bd72439844012ed11a30f88228c
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_ARCHIVE_URL= http://archive.ipython.org/release/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_BUGDB= python-mod/ipython
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensTPNO= 9640
fa9e4066f08beec538e775443c5be79dd423fcabahrens
0a586cea3ceec7e5e50e7e54c745082a7a333ac2Mark Shellenbaum# Syntax issues: not Python 3 ready.
0a586cea3ceec7e5e50e7e54c745082a7a333ac2Mark ShellenbaumPYTHON_VERSIONS = $(PYTHON2_VERSIONS)
0a586cea3ceec7e5e50e7e54c745082a7a333ac2Mark Shellenbaum
fa9e4066f08beec538e775443c5be79dd423fcabahrensinclude $(WS_MAKE_RULES)/prep.mk
fa9e4066f08beec538e775443c5be79dd423fcabahrensinclude $(WS_MAKE_RULES)/setup.py.mk
fa9e4066f08beec538e775443c5be79dd423fcabahrensinclude $(WS_MAKE_RULES)/ips.mk
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Unpack the ipython man pages.
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_POST_UNPACK_ACTION = \
fa9e4066f08beec538e775443c5be79dd423fcabahrens (cd $(SOURCE_DIR)/docs/man; /usr/bin/gunzip * )
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Replace "#!/usr/bin/env ..." shebang lines with properly versioned ones.
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_POST_INSTALL_ACTION = \
fa9e4066f08beec538e775443c5be79dd423fcabahrens /usr/bin/find $(PROTOUSRLIBDIR)/python$(PYTHON_VERSION) -name *.py \
fa9e4066f08beec538e775443c5be79dd423fcabahrens -exec $(GSED) -i -e 's|env python|python$(PYTHON_VERSION)|' "{}" \; ;
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensbuild: $(BUILD_32)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
e0d35c4478bf9fd4080951b5b9d1f9a38948ba69marksinstall: $(INSTALL_32)
88b7b0f29b20b808b9e06071885b1d6a3ddb6328Matthew Ahrens
b24ab6762772a3f6a89393947930c7fa61306783Jeff Bonwicktest: $(NO_TESTS)
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden
4445fffbbb1ea25fd0e9ea68b9380dd7a6709025Matthew Ahrens
de6628f04d37509e311b5f382446b2f84e12b570ckREQUIRED_PACKAGES += library/python/python-twisted-26
de6628f04d37509e311b5f382446b2f84e12b570ckREQUIRED_PACKAGES += library/python/python-twisted-27
fa9e4066f08beec538e775443c5be79dd423fcabahrensREQUIRED_PACKAGES += library/python/setuptools-26
e690fb27a7d1483f052505e1ff373d205f9dee99Christopher SidenREQUIRED_PACKAGES += library/python/setuptools-27
e690fb27a7d1483f052505e1ff373d205f9dee99Christopher Siden