Makefile revision 4845
0N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
873N/A# CDDL HEADER END
0N/A#
0N/A
0N/A#
0N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
0N/A#
3231N/A
0N/Ainclude ../../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME= ipython
0N/ACOMPONENT_VERSION= 0.10
0N/ACOMPONENT_PROJECT_URL= http://ipython.org/
3853N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3853N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
0N/ACOMPONENT_ARCHIVE_HASH= \
0N/A sha256:60d602637dc5f078b083a4ca5ab64364ba816bd72439844012ed11a30f88228c
2334N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
0N/ACOMPONENT_BUGDB= python-mod/ipython
0N/A
0N/ATPNO= 9640
2334N/A
0N/A# Syntax issues: not Python 3 ready.
0N/APYTHON_VERSIONS = $(PYTHON2_VERSIONS)
3853N/A
0N/Ainclude $(WS_MAKE_RULES)/prep.mk
0N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
2334N/Ainclude $(WS_MAKE_RULES)/ips.mk
338N/A
0N/A# Unpack the ipython man pages.
0N/ACOMPONENT_POST_UNPACK_ACTION = \
0N/A (cd $(SOURCE_DIR)/docs/man; /usr/bin/gunzip * )
0N/A
0N/A# Replace "#!/usr/bin/env ..." shebang lines with properly versioned ones.
0N/ACOMPONENT_POST_INSTALL_ACTION = \
0N/A /usr/bin/find $(PROTOUSRLIBDIR)/python$(PYTHON_VERSION) -name *.py \
0N/A -exec $(GSED) -i -e 's|env python|python$(PYTHON_VERSION)|' "{}" \; ;
0N/A
2334N/ACOMPONENT_TEST_ARGS= ../scripts/iptest
0N/A
1344N/A# We don't want anything created in the home directory.
1400N/ACOMPONENT_TEST_ENV+= IPYTHONDIR=$(BUILD_DIR)
1400N/A
1400N/A# Different amount of tests are run for sparc and x86
1400N/ACOMPONENT_TEST_MASTER = \
1400N/A $(COMPONENT_TEST_RESULTS_DIR)/results-$(PYTHON_VERSION)-$(MACH)-$(BITS).master
1344N/A
1344N/A# Touching up test results
1344N/ACOMPONENT_TEST_TRANSFORMS += \
1344N/A '-e "s|\(^Ran [0-9][0-9]* tests* \).*|\1|" ' \
1344N/A '-e "/tmp.*/d" ' \
1344N/A '-e "/fakemodule.*/d" ' \
1344N/A '-e "/builds.*/d" ' \
1344N/A '-e "/home.*/d" '
1344N/A
1344N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
1344N/A
1344N/Abuild: $(BUILD_32)
1344N/A
1344N/Ainstall: $(INSTALL_32)
1344N/A
1344N/Atest: $(TEST_NO_ARCH)
1344N/A
1344N/Asystem-test: $(NO_TESTS)
1344N/A
1344N/AREQUIRED_PACKAGES += library/python/python-twisted-26
1344N/AREQUIRED_PACKAGES += library/python/python-twisted-27
1344N/AREQUIRED_PACKAGES += library/python/setuptools-26
1344N/AREQUIRED_PACKAGES += library/python/setuptools-27
1344N/A
1344N/A