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
4845N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
1335N/ACOMPONENT_BUGDB= python-mod/ipython
1335N/A
2899N/ATPNO= 9640
2899N/A
2818N/A# Syntax issues: not Python 3 ready.
3936N/APYTHON_VERSIONS = $(PYTHON2_VERSIONS)
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# Unpack the ipython man pages.
1335N/ACOMPONENT_POST_UNPACK_ACTION = \
1335N/A (cd $(SOURCE_DIR)/docs/man; /usr/bin/gunzip * )
1335N/A
3936N/A# Replace "#!/usr/bin/env ..." shebang lines with properly versioned ones.
3936N/ACOMPONENT_POST_INSTALL_ACTION = \
3936N/A /usr/bin/find $(PROTOUSRLIBDIR)/python$(PYTHON_VERSION) -name *.py \
3936N/A -exec $(GSED) -i -e 's|env python|python$(PYTHON_VERSION)|' "{}" \; ;
3936N/A
4661N/ACOMPONENT_TEST_ARGS= ../scripts/iptest
4661N/A
4661N/A# We don't want anything created in the home directory.
4661N/ACOMPONENT_TEST_ENV+= IPYTHONDIR=$(BUILD_DIR)
4661N/A
4661N/A# Different amount of tests are run for sparc and x86
4661N/ACOMPONENT_TEST_MASTER = \
4661N/A $(COMPONENT_TEST_RESULTS_DIR)/results-$(PYTHON_VERSION)-$(MACH)-$(BITS).master
4661N/A
4661N/A# Touching up test results
4661N/ACOMPONENT_TEST_TRANSFORMS += \
4661N/A '-e "s|\(^Ran [0-9][0-9]* tests* \).*|\1|" ' \
4661N/A '-e "/tmp.*/d" ' \
4661N/A '-e "/fakemodule.*/d" ' \
4661N/A '-e "/builds.*/d" ' \
4661N/A '-e "/home.*/d" '
4661N/A
1938N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
1938N/A
1335N/Abuild: $(BUILD_32)
1335N/A
1335N/Ainstall: $(INSTALL_32)
1335N/A
4661N/Atest: $(TEST_NO_ARCH)
1335N/A
4337N/Asystem-test: $(NO_TESTS)
4337N/A
3817N/AREQUIRED_PACKAGES += library/python/python-twisted-27
3817N/AREQUIRED_PACKAGES += library/python/setuptools-27
4661N/A