Makefile revision 3716
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# CDDL HEADER START
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# The contents of this file are subject to the terms of the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Common Development and Distribution License (the "License").
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# You may not use this file except in compliance with the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# See the License for the specific language governing permissions
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# and limitations under the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# When distributing Covered Code, include this CDDL HEADER in each
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# If applicable, add the following below this CDDL HEADER, with the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# fields enclosed by brackets "[]" replaced with your own identifying
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# information: Portions Copyright [yyyy] [name of copyright owner]
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# CDDL HEADER END
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster sha256:9b79763141a855079b0589717696a4ccb5c56c0b807b6e584bfe12333399e0b7
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_PROJECT_URL= http://github.com/drkjam/netaddr/
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_ARCHIVE_URL= http://github.com/downloads/drkjam/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# This module depends on iPython and cannot support Python 3 until iPython
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# is also migrated.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster (cd $(PROTOUSRBINDIR) ; $(MV) netaddr netaddr-$(PYTHON_VERSION))
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# common targets
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Master test results are the same for all Python versions, so override
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# here, rather than create multiple identical master files.
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# The additional netaddr specific set of transforms to be applied to the test
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# results to try to normalize them.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster '-e "s|\(Ran 28 tests in\).*|\1|" '