2234N/A#
2234N/A# CDDL HEADER START
2234N/A#
2234N/A# The contents of this file are subject to the terms of the
2234N/A# Common Development and Distribution License (the "License").
2234N/A# You may not use this file except in compliance with the License.
2234N/A#
2234N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2234N/A# or http://www.opensolaris.org/os/licensing.
2234N/A# See the License for the specific language governing permissions
2234N/A# and limitations under the License.
2234N/A#
2234N/A# When distributing Covered Code, include this CDDL HEADER in each
2234N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2234N/A# If applicable, add the following below this CDDL HEADER, with the
2234N/A# fields enclosed by brackets "[]" replaced with your own identifying
2234N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2234N/A#
2234N/A# CDDL HEADER END
2234N/A#
3998N/A
3998N/A#
6191N/A# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
2234N/A#
3998N/A
2234N/Ainclude ../../../make-rules/shared-macros.mk
2234N/A
2234N/ACOMPONENT_NAME= tox
6191N/ACOMPONENT_VERSION= 2.3.1
2234N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2234N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2234N/ACOMPONENT_ARCHIVE_HASH= \
6191N/A sha256:bf7fcc140863820700d3ccd65b33820ba747b61c5fe4e2b91bb8c64cb21a47ee
2234N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
3998N/ACOMPONENT_PROJECT_URL= http://tox.testrun.org/
2234N/ACOMPONENT_BUGDB= python-mod/tox
2234N/A
6191N/ATPNO= 29209
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
2234N/A
2234N/ACOMPONENT_POST_INSTALL_ACTION += (cd $(PROTO_DIR)/usr/bin ; \
2234N/A $(MV) -f tox tox-$(PYTHON_VERSION); \
2234N/A $(MV) -f tox-quickstart tox-quickstart-$(PYTHON_VERSION))
2234N/A
2234N/ACOMPONENT_TEST_ENV += HOME=$(HOME)
2234N/ACOMPONENT_TEST_ENV += PATH=/usr/bin
3998N/ACOMPONENT_TEST_DIR = $(COMPONENT_SRC)/tests
3998N/ACOMPONENT_TEST_CMD = $(PROTOUSRBINDIR)/tox-$(PYTHON_VERSION)
3998N/A# Tox normally runs all test environments at once, which means that with one
3998N/A# test target per Python version, we run all environments for each. So we
3998N/A# restrict the Python versions to the one corresponding to the test target.
3998N/APYV = $(shell echo $(PYTHON_VERSION) | tr -d .)
3998N/ACOMPONENT_TEST_ARGS = -e $(PYV:%=py%)
2234N/A
2234N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
2234N/A
2234N/A# common targets
2234N/Abuild: $(BUILD_NO_ARCH)
2234N/A
2234N/Ainstall: $(INSTALL_NO_ARCH)
2234N/A
2234N/Atest: $(TEST_NO_ARCH)
2234N/A
4337N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
4337N/A
3817N/AREQUIRED_PACKAGES += library/python/setuptools-27
3817N/AREQUIRED_PACKAGES += library/python/setuptools-34