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