5403N/A#
5403N/A# CDDL HEADER START
5403N/A#
5403N/A# The contents of this file are subject to the terms of the
5403N/A# Common Development and Distribution License (the "License").
5403N/A# You may not use this file except in compliance with the License.
5403N/A#
5403N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5403N/A# or http://www.opensolaris.org/os/licensing.
5403N/A# See the License for the specific language governing permissions
5403N/A# and limitations under the License.
5403N/A#
5403N/A# When distributing Covered Code, include this CDDL HEADER in each
5403N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5403N/A# If applicable, add the following below this CDDL HEADER, with the
5403N/A# fields enclosed by brackets "[]" replaced with your own identifying
5403N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5403N/A#
5403N/A# CDDL HEADER END
5403N/A#
5403N/A
5403N/A#
5403N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
5403N/A#
5403N/A
5403N/Ainclude ../../../make-rules/shared-macros.mk
5403N/A
5403N/ACOMPONENT_NAME= linecache2
5403N/ACOMPONENT_VERSION= 1.0.0
5403N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
5403N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
5403N/ACOMPONENT_ARCHIVE_HASH= \
5403N/A sha256:4b26ff4e7110db76eeb6f5a7b64a82623839d595c2038eeda662f2a2db78e97c
5403N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
5403N/ACOMPONENT_PROJECT_URL= http://pypi.python.org/pypi/linecache2/
5403N/ACOMPONENT_BUGDB= python-mod/linecache2
5403N/A
5403N/ATPNO= 22937
5403N/A
5403N/Ainclude $(WS_MAKE_RULES)/prep.mk
5403N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
5403N/Ainclude $(WS_MAKE_RULES)/ips.mk
5403N/A
5403N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
5403N/A
5403N/A#
5403N/A# python2.7 absolutely can not compile this file. It's full of
5403N/A# python3.5 things (type annotations) that cause 2.7 to puke. Since
5403N/A# we don't deliver test files, just remove it from the unpacked build
5403N/A# directory. Strangely, 2.6 and 3.4 have no issues with the odd new
5403N/A# syntax.
5403N/A#
5403N/ACOMPONENT_POST_UNPACK_ACTION += \
5403N/A $(RM) $(SOURCE_DIR)/linecache2/tests/inspect_fodder2.py
5403N/A
5403N/A# common targets
5403N/Abuild: $(BUILD_NO_ARCH)
5403N/A
5403N/Ainstall: $(INSTALL_NO_ARCH)
5403N/A
5403N/Atest: $(NO_TESTS)