Makefile revision 3639
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen#
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen# CDDL HEADER START
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen#
2e533fb1283b5f06a4063b519e47f1861c910386Timo Sirainen# The contents of this file are subject to the terms of the
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen# Common Development and Distribution License (the "License").
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen# You may not use this file except in compliance with the License.
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen#
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen# or http://www.opensolaris.org/os/licensing.
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen# See the License for the specific language governing permissions
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen# and limitations under the License.
bf9fd727c3f23426ccdb23b18f4e34fcd1bdb8c7Timo Sirainen#
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen# When distributing Covered Code, include this CDDL HEADER in each
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen# If applicable, add the following below this CDDL HEADER, with the
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen# fields enclosed by brackets "[]" replaced with your own identifying
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen# information: Portions Copyright [yyyy] [name of copyright owner]
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen#
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen# CDDL HEADER END
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen#
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen#
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen#
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen
d47a87c927ca77e780480f4eaf575511698d42c8Timo Siraineninclude ../../../make-rules/shared-macros.mk
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen
d47a87c927ca77e780480f4eaf575511698d42c8Timo SirainenCOMPONENT_NAME= zope.interface
d47a87c927ca77e780480f4eaf575511698d42c8Timo SirainenCOMPONENT_VERSION= 3.3.0
d47a87c927ca77e780480f4eaf575511698d42c8Timo SirainenCOMPONENT_PROJECT_URL= http://zope.org/Wikis/Interfaces/FrontPage
d47a87c927ca77e780480f4eaf575511698d42c8Timo SirainenCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
d47a87c927ca77e780480f4eaf575511698d42c8Timo SirainenCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
d47a87c927ca77e780480f4eaf575511698d42c8Timo SirainenCOMPONENT_ARCHIVE_HASH= \
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen sha256:c049ef6f0748a2db26c7d01de1566e52f048e5fa6fbbb8da90c43e55597a5075
d47a87c927ca77e780480f4eaf575511698d42c8Timo SirainenCOMPONENT_ARCHIVE_URL= http://www.zope.org/Products/ZopeInterface/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
d47a87c927ca77e780480f4eaf575511698d42c8Timo SirainenCOMPONENT_BUGDB= python-mod/zope
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen
d47a87c927ca77e780480f4eaf575511698d42c8Timo SirainenTPNO= 7911
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen# Syntax issues: not Python 3 ready.
d47a87c927ca77e780480f4eaf575511698d42c8Timo SirainenPYTHON_VERSIONS= 2.7 2.6
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen
include $(WS_TOP)/make-rules/prep.mk
include $(WS_TOP)/make-rules/setup.py.mk
include $(WS_TOP)/make-rules/ips.mk
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
COMPONENT_TEST_ARGS= ../runtests.sh
COMPONENT_TEST_CMD= /bin/sh
COMPONENT_TEST_DIR= $(SOURCE_DIR)
COMPONENT_TEST_ENV+= PYTHON=$(PYTHON)
# Master test results are the same for all supported versions of Python, so
# override here, rather than create multiple identical master files.
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
# The additional zope.interface specific set of transforms to be applied
# to the test results to try to normalize them.
COMPONENT_TEST_TRANSFORMS += \
'-e "s|\(Ran 1 test in\).*|\1|" ' \
'-e "s|\(Ran .* tests in\).*|\1|" '
# common targets
build: $(BUILD_32_and_64)
install: $(INSTALL_32_and_64)
test: $(TEST_32_and_64)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk