Makefile revision 6033
d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews#
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# CDDL HEADER START
46bb3884a0738664862e3a36b7848aa374aebd45Tinderbox User#
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# The contents of this file are subject to the terms of the
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# Common Development and Distribution License (the "License").
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# You may not use this file except in compliance with the License.
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User#
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews# or http://www.opensolaris.org/os/licensing.
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# See the License for the specific language governing permissions
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# and limitations under the License.
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont#
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# When distributing Covered Code, include this CDDL HEADER in each
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# If applicable, add the following below this CDDL HEADER, with the
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# fields enclosed by brackets "[]" replaced with your own identifying
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User#
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# CDDL HEADER END
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User#
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User#
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User#
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox Userinclude ../../../make-rules/shared-macros.mk
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User
90f35c2f2a1c660f3b96eec413036d238df395f6Francis DupontCOMPONENT_NAME= oslo.policy
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCOMPONENT_VERSION= 0.3.2
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCOMPONENT_ARCHIVE_HASH= \
90f35c2f2a1c660f3b96eec413036d238df395f6Francis Dupont sha256:e69a5c559f95bcbf91eb0ea9f16aa65f0fe5fccc7fa03693d4cc991b76e969a6
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCOMPONENT_ARCHIVE_URL= $(call pypi_url)
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCOMPONENT_PROJECT_URL= https://launchpad.net/oslo.policy
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCOMPONENT_BUGDB= python-mod/oslo.policy
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserTPNO= 25889
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# Depends on oslo.serialization which is not Python 3 ready.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserPYTHON_VERSIONS = 2.7 2.6
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox Userinclude $(WS_MAKE_RULES)/prep.mk
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox Userinclude $(WS_MAKE_RULES)/setup.py.mk
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox Userinclude $(WS_MAKE_RULES)/ips.mk
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserASLR_MODE = $(ASLR_NOT_APPLICABLE)
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# common targets
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox Userbuild: $(BUILD_NO_ARCH)
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox Userinstall: $(INSTALL_NO_ARCH)
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# see $(COMPONENT_SRC)/test-requirements.txt for the python modules
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# required to execute unittests.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox Usertest: $(NO_TESTS)
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User