Makefile revision 4970
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync#
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync# CDDL HEADER START
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync#
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync# The contents of this file are subject to the terms of the
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync# Common Development and Distribution License (the "License").
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync# You may not use this file except in compliance with the License.
c97989161fbe75bc14cea477a5443bbf474dd3advboxsync#
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync# or http://www.opensolaris.org/os/licensing.
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync# See the License for the specific language governing permissions
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync# and limitations under the License.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync#
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# When distributing Covered Code, include this CDDL HEADER in each
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# If applicable, add the following below this CDDL HEADER, with the
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync#
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync# CDDL HEADER END
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync#
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync#
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync#
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncinclude ../../../make-rules/shared-macros.mk
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncCOMPONENT_NAME= simplejson
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncCOMPONENT_VERSION= 3.6.5
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncCOMPONENT_PROJECT_URL= http://undefined.org/python/#simplejson
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncCOMPONENT_ARCHIVE_HASH= \
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync sha256:2a3189f79d1c7b8a2149a0e783c0b4217fad9b30a6e7d60450f2553dc2c0e57e
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncCOMPONENT_ARCHIVE_URL= http://pypi.python.org/packages/source/s/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncCOMPONENT_BUGDB= python-mod/simplejson
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncTPNO= 21749
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncinclude $(WS_MAKE_RULES)/prep.mk
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncinclude $(WS_MAKE_RULES)/setup.py.mk
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncinclude $(WS_MAKE_RULES)/ips.mk
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncASLR_MODE = $(ASLR_NOT_APPLICABLE)
223cf005b18af2c21352a70693ebaf0582f68ebcvboxsync
223cf005b18af2c21352a70693ebaf0582f68ebcvboxsyncifeq ($(OS_VERSION),5.11)
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncOLD_DESKTOP_BUILD= 0.5.11,5.11-0.175.2.0.0.20.0
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncelse
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncOLD_DESKTOP_BUILD= 5.12-5.12.0.0.0.14.0
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncendif
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncPKG_MACROS += OLD_DESKTOP_BUILD=$(OLD_DESKTOP_BUILD)
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncCOMPONENT_TEST_DIR= $(COMPONENT_SRC)/$(COMPONENT_NAME)/tests
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncCOMPONENT_TEST_CMD= /usr/bin/py.test-$(PYTHON_VERSION)
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncCOMPONENT_TEST_ARGS= -v
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync# The additional simplejson specific set of transforms to be applied
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync# to the test results to try to normalize them.
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncCOMPONENT_TEST_TRANSFORMS += \
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync '-e "/^_.*/d" ' \
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync '-e "/^=.*/d" ' \
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync '-e "/SOURCE_DIR.*/d" ' \
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync '-e "/^ *$$/d" ' \
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync '-e "/^plugins.*/d" ' \
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync '-e "/pep8/d" ' \
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync '-e "/pyflakes/d" '
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncCOMPONENT_SYSTEM_TEST_DIR= $(COMPONENT_SRC)/$(COMPONENT_NAME)/tests
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncCOMPONENT_SYSTEM_TEST_CMD= /usr/bin/py.test-$(PYTHON_VERSION)
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncCOMPONENT_SYSTEM_TEST_ARGS= -v
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncCOMPONENT_SYSTEM_TEST_ENV =
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncbuild: $(BUILD_32_and_64)
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncinstall: $(INSTALL_32_and_64)
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsynctest: $(TEST_32_and_64)
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncsystem-test: $(SYSTEM_TEST_32_and_64)
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsyncREQUIRED_PACKAGES += system/library
d408b82da0773c7e8cd4b3a01cb8a065a2c73a2dvboxsync