1334N/A#
1334N/A# CDDL HEADER START
1334N/A#
1334N/A# The contents of this file are subject to the terms of the
1334N/A# Common Development and Distribution License (the "License").
1334N/A# You may not use this file except in compliance with the License.
1334N/A#
1334N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1334N/A# or http://www.opensolaris.org/os/licensing.
1334N/A# See the License for the specific language governing permissions
1334N/A# and limitations under the License.
1334N/A#
1334N/A# When distributing Covered Code, include this CDDL HEADER in each
1334N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1334N/A# If applicable, add the following below this CDDL HEADER, with the
1334N/A# fields enclosed by brackets "[]" replaced with your own identifying
1334N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1334N/A#
1334N/A# CDDL HEADER END
1334N/A#
1334N/A
1334N/A#
3771N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
1334N/A#
1334N/A
1334N/Ainclude ../../../make-rules/shared-macros.mk
1334N/A
1334N/ACOMPONENT_NAME= TwistedWeb2
1334N/ACOMPONENT_VERSION= 8.1.0
1334N/ACOMPONENT_PROJECT_URL= http://twistedmatrix.com/trac/
1334N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1334N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
1334N/ACOMPONENT_ARCHIVE_HASH= \
1334N/A sha256:0f016d498b1db0216861e9b8fbf8ad49b5b587fa64a18f1640095c1e4f93e391
1334N/ACOMPONENT_ARCHIVE_URL= http://tmrc.mit.edu/mirror/twisted/Web2/8.1/$(COMPONENT_ARCHIVE)
1334N/ACOMPONENT_BUGDB= python-mod/twisted-web2
1334N/A
2899N/ATPNO= 9693
2899N/A
2818N/A# Depends on twisted, which is not Python 3 ready.
4982N/APYTHON_VERSIONS= $(PYTHON2_VERSIONS)
2818N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
1334N/A
3771N/A# Master test results are the same for all versions of Python, so override
3771N/A# here, rather than create multiple identical master files.
3771N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
3771N/A
3771N/A# Use nawk to just extract lines:
3771N/A# containing "[OK]" or "[ERROR]"
3771N/A# starting with "Ran . tests in"
3771N/A# starting with "FAILED" or "PASSED"
3771N/A# and stripping out the random portions (like time to complete the tests).
3771N/ACOMPONENT_TEST_TRANSFORMER = $(NAWK)
3771N/ACOMPONENT_TEST_TRANSFORMS = "'/\[ERROR\]/ { print }; /\[OK\]/ { print }; /^Ran / { sub(\" tests in .+s\", \" tests in\"); print }; /^FAILED / { print }; /^PASSED / { print };'"
3771N/A
3771N/ACOMPONENT_TEST_DIR = $(COMPONENT_SRC)
3771N/ACOMPONENT_TEST_CMD = /usr/demo/twisted-python$(PYTHON_VERSION)/trial
3771N/ACOMPONENT_TEST_ARGS = twisted/web2/test/test_xmlrpc.py
3771N/A
4585N/ACOMPONENT_SYSTEM_TEST_DIR = $(COMPONENT_SRC)
4585N/ACOMPONENT_SYSTEM_TEST_ENV =
4585N/ACOMPONENT_SYSTEM_TEST_CMD = /usr/demo/twisted-python$(PYTHON_VERSION)/trial
4585N/ACOMPONENT_SYSTEM_TEST_ARGS = twisted/web2/test/test_xmlrpc.py
4585N/A
1938N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
1938N/A
1716N/Abuild: $(BUILD_NO_ARCH)
1334N/A
1716N/Ainstall: $(INSTALL_NO_ARCH)
1334N/A
3771N/Atest: $(TEST_NO_ARCH)
4337N/A
4585N/Asystem-test: $(SYSTEM_TEST_NO_ARCH)