components/python/mistralclient/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 23 Feb 2017 13:46:52 -0800
changeset 7687 1093e2a9adbd
parent 6770 2aff2b472d23
permissions -rw-r--r--
25590368 Userland components should include "upstream" release tracking information
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6770
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     1
#
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     3
#
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     7
#
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    12
#
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    18
#
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    20
#
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    21
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow 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: 6770
diff changeset
    23
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
6770
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    24
#
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    25
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    27
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		python-mistralclient
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    29
COMPONENT_VERSION=	2.0.0
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    33
    sha256:7ef9f9734e326901a6f627207b41bae048eeb3877237b2fd7989a4dda6f66f9e
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	$(call pypi_url)
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    35
COMPONENT_PROJECT_URL=	https://github.com/openstack/python-mistralclient
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    36
COMPONENT_BUGDB=	service/mistral
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6770
diff changeset
    37
COMPONENT_ANITYA_ID=	10563
6770
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    38
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    39
TPNO=			29893
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    40
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    41
# Depends on keystoneclient which is not Python 3 ready
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    42
PYTHON_VERSIONS=	$(PYTHON2_VERSIONS)
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    43
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    44
include $(WS_MAKE_RULES)/prep.mk
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    45
include $(WS_MAKE_RULES)/setup.py.mk
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    46
include $(WS_MAKE_RULES)/ips.mk
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    47
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    48
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    49
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    50
COMPONENT_POST_INSTALL_ACTION = \
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    51
    (cd $(PROTO_DIR)/usr/bin ; $(MV) -f mistral mistral-$(PYTHON_VERSION))
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    52
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    53
# common targets
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    54
build:		$(BUILD_NO_ARCH)
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    55
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    56
install:	$(INSTALL_NO_ARCH)
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    57
2aff2b472d23 PSARC 2016/489 mistralclient - Python and CLI client for the OpenStack workflow API
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    58
test:		$(NO_TESTS)