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