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