Makefile revision 3744
458N/A#
458N/A# CDDL HEADER START
458N/A#
458N/A# The contents of this file are subject to the terms of the
458N/A# Common Development and Distribution License (the "License").
458N/A# You may not use this file except in compliance with the License.
458N/A#
458N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
458N/A# or http://www.opensolaris.org/os/licensing.
458N/A# See the License for the specific language governing permissions
458N/A# and limitations under the License.
458N/A#
458N/A# When distributing Covered Code, include this CDDL HEADER in each
458N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
458N/A# If applicable, add the following below this CDDL HEADER, with the
458N/A# fields enclosed by brackets "[]" replaced with your own identifying
458N/A# information: Portions Copyright [yyyy] [name of copyright owner]
458N/A#
458N/A# CDDL HEADER END
458N/A#
1567N/A
458N/A#
458N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
458N/A#
458N/A
458N/Ainclude ../../../make-rules/shared-macros.mk
458N/A
458N/ACOMPONENT_NAME= Twisted
952N/ACOMPONENT_VERSION= 10.1.0
618N/ACOMPONENT_PROJECT_URL= http://twistedmatrix.com/trac/
458N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
458N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
844N/ACOMPONENT_ARCHIVE_HASH= \
952N/A sha256:eda6e0e9e5ef6f6c19ab75bcb094f83a12ee25fe589fbcddf946e8a655c8070b
618N/ACOMPONENT_ARCHIVE_URL= http://tmrc.mit.edu/mirror/twisted/$(COMPONENT_NAME)/10.1/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= python-mod/twisted
458N/A
458N/ATPNO= 9692
458N/A
458N/A# Syntax issues: not Python 3 ready.
581N/APYTHON_VERSIONS= 2.7 2.6
458N/A
1567N/Ainclude $(WS_TOP)/make-rules/prep.mk
1567N/Ainclude $(WS_TOP)/make-rules/setup.py.mk
1567N/Ainclude $(WS_TOP)/make-rules/ips.mk
1567N/A
1567N/ACOMPONENT_TEST_DIR= $(COMPONENT_SRC)
458N/ACOMPONENT_TEST_CMD= $(@D)/scripts-$(PYTHON_VERSION)/trial twisted
458N/ACOMPONENT_TEST_ARGS=""
458N/A
458N/A# Unfortunately the master test results files are not only different for
969N/A# each version of Python, they can also be different for 32-bit and 64-bit
969N/A# versions and different for x86 and SPARC platforms.
969N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-$(PYTHON_VERSION)-$(BITS).$(MACH).master
969N/A
969N/A# The additional twisted specific set of transforms to be applied to the test
969N/A# results to try to normalize them. Several of these lines are deleted (as
969N/A# opposed to being normalized) because they appear in a non-deterministic
458N/A# order. The "\x27" is a way of including the single quote character and not
458N/A# fall foul of the special GNU sed escapes:
969N/A# https://gnu.org/software/sed/manual/html_node/Escapes.html
969N/ACOMPONENT_TEST_TRANSFORMS += \
458N/A '-e "/(process:/d" ' \
458N/A '-e "/class \x27twisted.internet.tcp.Client/d" ' \
458N/A '-e "/class \x27twisted.internet.tcp.Port/d" ' \
458N/A '-e "/ThrottlingProtocol \#. on /d" ' \
458N/A '-e "/twisted.test.test_udp.Server on/d" ' \
458N/A '-e "/twisted.test.test_udp.Client on/d" ' \
458N/A '-e "/Bus Error/d" ' \
458N/A '-e "s|\(Ran 5919 tests in\).*|\1|" '
458N/A
458N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
646N/A
646N/Abuild: $(BUILD_32_and_64)
646N/A
646N/Ainstall: $(INSTALL_32_and_64)
646N/A
646N/Atest: $(TEST_32_and_64)
646N/A
1091N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
646N/A
646N/Ainclude $(WS_TOP)/make-rules/depend.mk
646N/A