components/python/magnumclient/Makefile
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Tue, 18 Oct 2016 13:46:28 -0500
changeset 7126 c0715e78cafb
parent 6768 6897ce2959dd
child 7687 1093e2a9adbd
permissions -rw-r--r--
24912627 gcc5 uses wrong triple on sparc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6768
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     1
#
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     3
#
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     7
#
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    12
#
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    18
#
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    20
#
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    21
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    22
#
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    23
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    24
#
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    25
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    27
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		python-magnumclient
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    29
COMPONENT_VERSION=	2.0.0
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    33
    sha256:257add4dd09952562367776b3ddd4e66a0f74692c17d2a39f588048286a08fae
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	$(call pypi_url)
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    35
COMPONENT_PROJECT_URL=	http://docs.openstack.org/developer/python-magnumclient/
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    36
COMPONENT_BUGDB=	service/magnum
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    37
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    38
TPNO=			29894
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    39
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    40
# Depends on oslo.utils which is not Python 3 ready.
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    41
PYTHON_VERSIONS=	$(PYTHON2_VERSIONS)
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    42
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    43
include $(WS_MAKE_RULES)/prep.mk
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    44
include $(WS_MAKE_RULES)/setup.py.mk
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    45
include $(WS_MAKE_RULES)/ips.mk
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    46
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    47
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    48
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    49
COMPONENT_POST_INSTALL_ACTION = \
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    50
    (cd $(PROTO_DIR)/usr/bin ; $(MV) -f magnum magnum-$(PYTHON_VERSION))
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    51
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    52
# common targets
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    53
build:		$(BUILD_NO_ARCH)
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    54
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    55
install:	$(INSTALL_NO_ARCH)
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    56
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    57
test:		$(NO_TESTS)