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