Makefile revision 4337
7215N/A#
7215N/A# CDDL HEADER START
7215N/A#
7215N/A# The contents of this file are subject to the terms of the
7215N/A# Common Development and Distribution License (the "License").
7215N/A# You may not use this file except in compliance with the License.
7215N/A#
7215N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7215N/A# or http://www.opensolaris.org/os/licensing.
7215N/A# See the License for the specific language governing permissions
7215N/A# and limitations under the License.
7215N/A#
7215N/A# When distributing Covered Code, include this CDDL HEADER in each
7215N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7215N/A# If applicable, add the following below this CDDL HEADER, with the
7215N/A# fields enclosed by brackets "[]" replaced with your own identifying
7215N/A# information: Portions Copyright [yyyy] [name of copyright owner]
7215N/A#
7215N/A# CDDL HEADER END
7215N/A#
7215N/A
7215N/A#
7215N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
7215N/A#
7215N/A
7215N/Ainclude ../../../make-rules/shared-macros.mk
7215N/A
7215N/ACOMPONENT_NAME= ipython
7215N/ACOMPONENT_VERSION= 0.10
7215N/ACOMPONENT_PROJECT_URL= http://ipython.org/
7215N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
7215N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
7215N/ACOMPONENT_ARCHIVE_HASH= \
7215N/A sha256:60d602637dc5f078b083a4ca5ab64364ba816bd72439844012ed11a30f88228c
7215N/ACOMPONENT_ARCHIVE_URL= http://archive.ipython.org/release/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
7215N/ACOMPONENT_BUGDB= python-mod/ipython
7215N/A
7215N/ATPNO= 9640
7215N/A
7215N/A# Syntax issues: not Python 3 ready.
7215N/APYTHON_VERSIONS = $(PYTHON2_VERSIONS)
7215N/A
7215N/Ainclude $(WS_MAKE_RULES)/prep.mk
7215N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
7215N/Ainclude $(WS_MAKE_RULES)/ips.mk
7215N/A
7215N/A# Unpack the ipython man pages.
7215N/ACOMPONENT_POST_UNPACK_ACTION = \
7215N/A (cd $(SOURCE_DIR)/docs/man; /usr/bin/gunzip * )
7215N/A
7215N/A# Replace "#!/usr/bin/env ..." shebang lines with properly versioned ones.
7215N/ACOMPONENT_POST_INSTALL_ACTION = \
7215N/A /usr/bin/find $(PROTOUSRLIBDIR)/python$(PYTHON_VERSION) -name *.py \
7215N/A -exec $(GSED) -i -e 's|env python|python$(PYTHON_VERSION)|' "{}" \; ;
7215N/A
7215N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
7215N/A
7215N/Abuild: $(BUILD_32)
7215N/A
7215N/Ainstall: $(INSTALL_32)
7215N/A
7215N/Atest: $(NO_TESTS)
7215N/A
7215N/Asystem-test: $(NO_TESTS)
7215N/A
7215N/AREQUIRED_PACKAGES += library/python/python-twisted-26
7215N/AREQUIRED_PACKAGES += library/python/python-twisted-27
7215N/AREQUIRED_PACKAGES += library/python/setuptools-26
7215N/AREQUIRED_PACKAGES += library/python/setuptools-27
7215N/A