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