components/python/magnumclient/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 23 Feb 2017 13:46:52 -0800
changeset 7687 1093e2a9adbd
parent 6768 6897ce2959dd
permissions -rw-r--r--
25590368 Userland components should include "upstream" release tracking information
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
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6768
diff changeset
    23
# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
6768
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
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6768
diff changeset
    37
COMPONENT_ANITYA_ID=	13088
6768
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    38
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    39
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
    40
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    41
# 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
    42
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
    43
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)/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
    45
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
    46
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
    47
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    48
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
    49
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    50
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
    51
    (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
    52
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    53
# 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
    54
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
    55
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    56
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
    57
6897ce2959dd PSARC 2016/487 magnumclient - Python and CLI client for the OpenStack Containers API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    58
test:		$(NO_TESTS)