0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen#
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# CDDL HEADER START
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen#
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# The contents of this file are subject to the terms of the
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# Common Development and Distribution License (the "License").
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# You may not use this file except in compliance with the License.
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen#
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# or http://www.opensolaris.org/os/licensing.
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# See the License for the specific language governing permissions
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# and limitations under the License.
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen#
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# When distributing Covered Code, include this CDDL HEADER in each
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen# If applicable, add the following below this CDDL HEADER, with the
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen# fields enclosed by brackets "[]" replaced with your own identifying
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen# information: Portions Copyright [yyyy] [name of copyright owner]
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen#
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen# CDDL HEADER END
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen#
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen#
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen#
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Siraineninclude ../../../make-rules/shared-macros.mk
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo SirainenCOMPONENT_NAME= kombu
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo SirainenCOMPONENT_VERSION= 3.0.32
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo SirainenCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo SirainenCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo SirainenCOMPONENT_ARCHIVE_HASH= \
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen sha256:d3edda02076ae04fa62d128007756f4c4298fe479119ca070a47a22afe867660
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo SirainenCOMPONENT_ARCHIVE_URL= $(call pypi_url)
8fcff4c5b52f24d9c681805fdf06b486f1d0fcbeTimo SirainenCOMPONENT_PROJECT_URL= http://kombu.readthedocs.org/
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo SirainenCOMPONENT_BUGDB= python-mod/kombu
98c1cf256927e254f0c092acd2ddcd7ea50bd009Timo Sirainen
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo SirainenTPNO= 26421
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# Depends on pyrabbit which depends on httplib2 which has its own dependency
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# issues (see its Makefile for details). So don't build for Python 3 until
98c1cf256927e254f0c092acd2ddcd7ea50bd009Timo Sirainen# dependencies resolved.
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo SirainenPYTHON_VERSIONS= 2.7 2.6
8fcff4c5b52f24d9c681805fdf06b486f1d0fcbeTimo Sirainen
98c1cf256927e254f0c092acd2ddcd7ea50bd009Timo Siraineninclude $(WS_MAKE_RULES)/prep.mk
8fcff4c5b52f24d9c681805fdf06b486f1d0fcbeTimo Siraineninclude $(WS_MAKE_RULES)/setup.py.mk
9aa52288a4b53186d81b0ec9afa7d9e0a8ee8753Timo Siraineninclude $(WS_MAKE_RULES)/ips.mk
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo SirainenASLR_MODE = $(ASLR_NOT_APPLICABLE)
e06c0b65c16ccce69bbee009ead14d7d3d17a256Timo Sirainen
7a6b45405fb1544ac476e6eb1402a70cc1ddcdcfTimo Sirainen# common targets
8fcff4c5b52f24d9c681805fdf06b486f1d0fcbeTimo Sirainenbuild: $(BUILD_NO_ARCH)
8fcff4c5b52f24d9c681805fdf06b486f1d0fcbeTimo Sirainen
abe8230dd1dd37d7ccf0163100e934bb5e658c20Timo Siraineninstall: $(INSTALL_NO_ARCH)
abe8230dd1dd37d7ccf0163100e934bb5e658c20Timo Sirainen
98c1cf256927e254f0c092acd2ddcd7ea50bd009Timo Sirainen# Tests require:
98c1cf256927e254f0c092acd2ddcd7ea50bd009Timo Sirainen# ordereddict, importlib, amqp, anyjson, unittest2, nose-cover3
f7d43647acc6dc80064c8c4cacf5bf86f754c530Timo Sirainen# which haven't been integrated yet.
98c1cf256927e254f0c092acd2ddcd7ea50bd009Timo Sirainentest: $(NO_TESTS)
98c1cf256927e254f0c092acd2ddcd7ea50bd009Timo Sirainen