Makefile revision 4337
3853N/A#
3853N/A# CDDL HEADER START
3853N/A#
3853N/A# The contents of this file are subject to the terms of the
3853N/A# Common Development and Distribution License (the "License").
3853N/A# You may not use this file except in compliance with the License.
3853N/A#
3853N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3853N/A# or http://www.opensolaris.org/os/licensing.
3853N/A# See the License for the specific language governing permissions
3853N/A# and limitations under the License.
3853N/A#
3853N/A# When distributing Covered Code, include this CDDL HEADER in each
3853N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3853N/A# If applicable, add the following below this CDDL HEADER, with the
3853N/A# fields enclosed by brackets "[]" replaced with your own identifying
3853N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3853N/A#
3853N/A# CDDL HEADER END
3853N/A#
3853N/A
3853N/A#
3853N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
3853N/A#
5031N/A
5305N/Ainclude ../../../make-rules/shared-macros.mk
3853N/A
3853N/ACOMPONENT_NAME= coverage
3853N/ACOMPONENT_VERSION= 3.5
3853N/ACOMPONENT_PROJECT_URL= http://nedbatchelder.com/code/coverage/
3853N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3853N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
5305N/ACOMPONENT_ARCHIVE_HASH= \
3853N/A sha256:b181d5ec72baf7478942fd600503d9f32bb525cfca413b1c73ebfa7ff1b95ae9
4798N/ACOMPONENT_ARCHIVE_URL= http://pypi.python.org/packages/source/c/coverage/$(COMPONENT_ARCHIVE)
3853N/ACOMPONENT_BUGDB= python-mod/coverage
3853N/A
3853N/ATPNO= 10021
3853N/A
3853N/A# Not Python 3 ready: weird build issues (tries to download & install
3853N/A# "distribute"). But coverage version 3.7.1 has fixed these issues; it
3853N/A# builds and publishes fine with Python 3.
3853N/APYTHON_VERSIONS = 2.7 2.6
3853N/A
3853N/Ainclude $(WS_MAKE_RULES)/prep.mk
3853N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
3853N/Ainclude $(WS_MAKE_RULES)/ips.mk
3853N/A
3853N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
3853N/A
3853N/A# common targets
3853N/Abuild: $(BUILD_32_and_64)
3853N/A
3853N/ACOMPONENT_POST_INSTALL_ACTION = \
3853N/A (cd $(PROTO_DIR)/usr/bin ; $(MV) -f coverage coverage$(PYTHON_VERSION))
3853N/A
3853N/Ainstall: $(INSTALL_32_and_64)
3853N/A
3853N/Atest: $(NO_TESTS)
3853N/A
5305N/Asystem-test: $(NO_TESTS)
3853N/A
5305N/A
3853N/AREQUIRED_PACKAGES += library/python/setuptools-26
3853N/AREQUIRED_PACKAGES += library/python/setuptools-27
3853N/AREQUIRED_PACKAGES += system/library
3853N/A