components/python/oslo.config/Makefile
author Drew Fisher <drew.fisher@oracle.com>
Tue, 11 Feb 2014 13:53:54 -0800
branchs11-update
changeset 2946 74c77317f502
child 1890 5a4ef66c42bf
child 3152 1572f2692c01
permissions -rw-r--r--
PSARC/2013/390 Babel 1.3 PSARC/2013/403 oslo.config - openstack common configuration module PSARC/2013/418 websockify - websocket to TCP proxy/bridge PSARC/2014/002 django 1.4.10 PSARC/2014/003 django-appconf 0.6 PSARC/2014/004 django-compressor 1.3 PSARC/2014/005 django-openstack-auth 1.1.3 PSARC/2014/006 lesscpy 0.9j PSARC/2014/013 netifaces 0.8 PSARC/2014/028 lockfile 0.9.1 PSARC 2014/035 Dnsmasq 2.68 17780769 The Websockify module is needed by the openstack project 17891420 The Python oslo.config module should be added to Userland 18029506 Request to integrate django into Userland 18029519 Request to integrate django-appconf into Userland 18029526 Request to integrate django-compressor into Userland 18029536 Request to integrate django-openstack_auth into Userland 18029544 Request to integrate lesscpy into Userland 18050356 Request to integrate netifaces into Userland 18091230 Request to integrate lockfile into Userland 18118556 add Dnsmasq to Userland 18140619 request to integrate babel into Userland
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2946
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     1
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     3
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     7
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    12
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    18
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    20
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    21
# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    22
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    23
include ../../../make-rules/shared-macros.mk
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    24
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    25
COMPONENT_NAME=		oslo.config
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    26
COMPONENT_VERSION=	1.2.1
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    27
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    28
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    29
COMPONENT_ARCHIVE_HASH=	\
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    30
    sha256:e4ccf489159f0c2b1932ea282f7663daada0a7f8309edc4c34904605a98cf9f2
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_URL=	http://tarballs.openstack.org/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    32
COMPONENT_PROJECT_URL=	http://www.openstack.org/
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    33
COMPONENT_BUGDB=	python-mod/osol.config
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    34
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    35
include $(WS_TOP)/make-rules/prep.mk
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    36
include $(WS_TOP)/make-rules/setup.py.mk
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    37
include $(WS_TOP)/make-rules/ips.mk
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    38
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    39
COMPONENT_POST_INSTALL_ACTION += \
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    40
        ($(TOUCH) $(PROTO_DIR)/usr/lib/python$(PYTHON_VERSION)/vendor-packages/oslo/__init__.py; \
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    41
         $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES))
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    42
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    43
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    44
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    45
# common targets
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    46
build:		$(BUILD_NO_ARCH)
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    47
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    48
install:	$(INSTALL_NO_ARCH)
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    49
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    50
# Tests require:
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    51
# fixtures, mox, nose, nose-exclude, testtools, coverage, sphinx
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    52
# some of which haven't been integrated yet
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    53
test:		$(NO_TESTS)
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    54
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    55
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    56
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    57
include $(WS_TOP)/make-rules/depend.mk