Makefile revision 3817
137N/A#
137N/A# CDDL HEADER START
1276N/A#
137N/A# The contents of this file are subject to the terms of the
1634N/A# Common Development and Distribution License (the "License").
137N/A# You may not use this file except in compliance with the License.
137N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
919N/A#
919N/Ainclude ../../../make-rules/shared-macros.mk
919N/A
137N/ACOMPONENT_NAME= tox
137N/ACOMPONENT_VERSION= 1.4.3
137N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
137N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
493N/ACOMPONENT_ARCHIVE_HASH= \
137N/A sha256:b998d809d954fd9c30476a56bbbbf20a1a5adaa3e4cc5eb052c7051a682b2021
137N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
1634N/ACOMPONENT_PROJECT_URL= https://pypi.python.org/pypi/tox
137N/ACOMPONENT_BUGDB= python-mod/tox
911N/A
1634N/ATPNO= 14503
1634N/A
1634N/Ainclude $(WS_MAKE_RULES)/prep.mk
911N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
137N/Ainclude $(WS_MAKE_RULES)/ips.mk
1665N/A
1665N/ACOMPONENT_POST_INSTALL_ACTION += (cd $(PROTO_DIR)/usr/bin ; \
137N/A $(MV) -f tox tox-$(PYTHON_VERSION); \
137N/A $(MV) -f tox-quickstart tox-quickstart-$(PYTHON_VERSION))
137N/A
137N/ACOMPONENT_TEST_ENV += HOME=$(HOME)
137N/ACOMPONENT_TEST_ENV += PATH=/usr/bin
137N/ACOMPONENT_TEST_DIR = $(COMPONENT_SRC)/tests
493N/ACOMPONENT_TEST_CMD = $(PROTOUSRBINDIR)/tox-$(PYTHON_VERSION)
969N/ACOMPONENT_TEST_ARGS = test_config.py
137N/A
970N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
970N/A
970N/A# common targets
970N/Abuild: $(BUILD_NO_ARCH)
970N/A
970N/Ainstall: $(INSTALL_NO_ARCH)
970N/A
970N/A# Tests require py, pytest and virtualenv packages to be installed.
137N/Atest: $(TEST_NO_ARCH)
493N/A
137N/A
137N/AREQUIRED_PACKAGES += library/python/setuptools-26
493N/AREQUIRED_PACKAGES += library/python/setuptools-27
137N/AREQUIRED_PACKAGES += library/python/setuptools-34
493N/A