5484N/A#
5484N/A# CDDL HEADER START
5484N/A#
5484N/A# The contents of this file are subject to the terms of the
5484N/A# Common Development and Distribution License (the "License").
5484N/A# You may not use this file except in compliance with the License.
5484N/A#
5484N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5484N/A# or http://www.opensolaris.org/os/licensing.
5484N/A# See the License for the specific language governing permissions
5484N/A# and limitations under the License.
5484N/A#
5484N/A# When distributing Covered Code, include this CDDL HEADER in each
5484N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5484N/A# If applicable, add the following below this CDDL HEADER, with the
5484N/A# fields enclosed by brackets "[]" replaced with your own identifying
5484N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5484N/A#
5484N/A# CDDL HEADER END
5484N/A#
5484N/A
5484N/A#
5484N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
5484N/A#
5484N/A
5484N/Ainclude ../../../make-rules/shared-macros.mk
5484N/A
5484N/ACOMPONENT_NAME= idna
5484N/ACOMPONENT_VERSION= 2.0
5484N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
5484N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
5484N/ACOMPONENT_ARCHIVE_HASH= \
5484N/A sha256:16199aad938b290f5be1057c0e1efc6546229391c23cea61ca940c115f7d3d3b
5484N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
5484N/ACOMPONENT_PROJECT_URL= https://github.com/kjd/idna
5484N/ACOMPONENT_BUGDB= python-mod/idna
5484N/A
5484N/ATPNO= 25771
5484N/A
5484N/Ainclude $(WS_MAKE_RULES)/prep.mk
5484N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
5484N/Ainclude $(WS_MAKE_RULES)/ips.mk
5484N/A
5484N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
5484N/A
5484N/ACOMPONENT_TEST_DIR = $(SOURCE_DIR)/tests
5484N/ACOMPONENT_TEST_ARGS = -m unittest discover --pattern=*.py
5484N/A
5484N/A# The test output contains arbitrary output. Use nawk to extract just the
5484N/A# sections that summarizes the test result.
5484N/A# Most of the test cases skipped in Python 2.7 because 'Test requires Python
5484N/A# wide Unicode support'.
5484N/ACOMPONENT_TEST_TRANSFORMER = $(NAWK)
5484N/ACOMPONENT_TEST_TRANSFORMS = "'/^Ran .+ / { sub(\" tests in .+s\", \" tests in\"); print }; /!NF/ { print }; /^OK/ { print };'"
5484N/A
5484N/A# common targets
5484N/Abuild: $(BUILD_64)
5484N/A
5484N/Ainstall: $(INSTALL_64)
5484N/A
5484N/Atest: $(TEST_64)
5484N/A
5484N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)