components/python/heatclient/Makefile
author John Beck <John.Beck@Oracle.COM>
Fri, 06 Feb 2015 16:51:20 -0800
branchs11-update
changeset 3778 35735ffdda43
parent 3661 47545fb8aed4
child 3996 20c0f21bbe1e
permissions -rw-r--r--
PSARC 2014/151 Python 3.4 15819724 SUNBT7202228 python 3.4 18756157 upgrade setuptools to 0.9.6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3166
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     1
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     2
# CDDL HEADER START
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     3
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     7
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    10
# See the License for the specific language governing permissions
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    11
# and limitations under the License.
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    12
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    18
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    19
# CDDL HEADER END
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    20
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    21
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    22
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    23
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    24
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    25
include ../../../make-rules/shared-macros.mk
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    26
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    27
COMPONENT_NAME=		python-heatclient
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    28
COMPONENT_VERSION=	0.2.9
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    29
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    30
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    31
COMPONENT_ARCHIVE_HASH=	\
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    32
    sha256:8cc6d99f86529633b8b5d99417358fd7c023223572f190ae3e1da09ff435420f
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    33
COMPONENT_ARCHIVE_URL=	$(call pypi_url)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    34
COMPONENT_PROJECT_URL=	http://launchpad.net/python-heatclient
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    35
COMPONENT_BUGDB=	service/heat
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    36
3661
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 3166
diff changeset
    37
TPNO=			17303
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 3166
diff changeset
    38
3778
35735ffdda43 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents: 3661
diff changeset
    39
# Depends on pyyaml which is not Python 3 ready. 
35735ffdda43 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents: 3661
diff changeset
    40
PYTHON_VERSIONS=	2.7 2.6
35735ffdda43 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents: 3661
diff changeset
    41
3166
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    42
include $(WS_TOP)/make-rules/prep.mk
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    43
include $(WS_TOP)/make-rules/setup.py.mk
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    44
include $(WS_TOP)/make-rules/ips.mk
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    45
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    46
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    47
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    48
COMPONENT_POST_INSTALL_ACTION = \
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    49
	(cd $(PROTO_DIR)/usr/bin ; $(MV) -f heat heat-$(PYTHON_VERSION))
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    50
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    51
# common targets
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    52
build:		$(BUILD_NO_ARCH)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    53
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    54
install:	$(INSTALL_NO_ARCH)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    55
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    56
# tests require:
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    57
# hacking, discover, fixtures, sphinx, testrepository, testtools,
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    58
# testscenarios, and mox3 some of which have not been integrated.
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    59
test:		$(NO_TESTS)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    60
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    61
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    62
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    63
include $(WS_TOP)/make-rules/depend.mk