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