components/python/oslo.cache/Makefile
author Laszlo Peter <laszlo.peter@oracle.com>
Wed, 07 Sep 2016 14:48:23 -0700
changeset 6758 f7d653171475
child 7687 1093e2a9adbd
permissions -rw-r--r--
PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects 22934301 The Python oslo.cache module should be added to Userland
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6758
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     1
#
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     3
#
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     7
#
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    12
#
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    18
#
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    20
#
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    21
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    22
#
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    23
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    24
#
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    25
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    27
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		oslo.cache
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    29
COMPONENT_VERSION=	1.6.0
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    33
    sha256:c357671fb642822924d063b8151e132a6e7a65189c6c35c3f22c64ae0b0bdda8
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	$(call pypi_url)
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    35
COMPONENT_PROJECT_URL=	http://docs.openstack.org/developer/oslo.cache/
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    36
COMPONENT_BUGDB=	python-mod/oslo.cache
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    37
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    38
TPNO=			29528
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    39
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    40
# Depends on oslo.utils which is not Python 3 ready.
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    41
PYTHON_VERSIONS =       $(PYTHON2_VERSIONS)
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    42
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    43
include $(WS_MAKE_RULES)/prep.mk
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    44
include $(WS_MAKE_RULES)/setup.py.mk
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    45
include $(WS_MAKE_RULES)/ips.mk
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    46
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    47
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    48
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    49
# common targets
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    50
build:		$(BUILD_NO_ARCH)
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    51
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    52
install:	$(INSTALL_NO_ARCH)
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    53
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    54
# See $(COMPONENT_SRC)/test-requirements.txt for the Python modules
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    55
# required to execute unittests.
f7d653171475 PSARC 2016/310 oslo.cache - Python module providing cache storage for OpenStack projects
Laszlo Peter <laszlo.peter@oracle.com>
parents:
diff changeset
    56
test:		$(NO_TESTS)