components/python/oslo.config/Makefile
author david.comay@oracle.com
Fri, 09 May 2014 20:59:20 -0700
changeset 1890 5a4ef66c42bf
parent 1691 043f53535ed4
child 1920 3ed8d7c25c17
permissions -rw-r--r--
16808434 Many components probably don't need a PATH line in their Makefiles 17395397 components/python/decorator/Makefile missing COMPONENT_BUGDB 17952703 transform should be added to drop irrelevant Python dependencies 17975940 mako could have dependency for markupsafe 18293987 /usr/bin/alembic should be shipped 18293992 boto's demo scripts aren't delivered executable 18294001 coverage Python package doesn't deliver 64-bit object 18294049 imaging Python package has some issues 18294059 various Python modules needs work-around for broken 2.7 RUNPATH issue 18377642 py.test has a requirement on py 18539154 Improvements can be made to many Python module dependencies 18539214 Some Python modules can have their tests enabled (Phase 1)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1691
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     1
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     3
#
043f53535ed4 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
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
043f53535ed4 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.
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     7
#
043f53535ed4 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
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
043f53535ed4 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
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    12
#
043f53535ed4 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
043f53535ed4 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.
043f53535ed4 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
043f53535ed4 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
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    18
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    20
#
043f53535ed4 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.
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    22
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    23
include ../../../make-rules/shared-macros.mk
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    24
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    25
COMPONENT_NAME=		oslo.config
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    26
COMPONENT_VERSION=	1.2.1
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    27
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    28
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    29
COMPONENT_ARCHIVE_HASH=	\
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    30
    sha256:e4ccf489159f0c2b1932ea282f7663daada0a7f8309edc4c34904605a98cf9f2
043f53535ed4 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)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    32
COMPONENT_PROJECT_URL=	http://www.openstack.org/
1890
5a4ef66c42bf 16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents: 1691
diff changeset
    33
COMPONENT_BUGDB=	python-mod/oslo.config
1691
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    34
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    35
include $(WS_TOP)/make-rules/prep.mk
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    36
include $(WS_TOP)/make-rules/setup.py.mk
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    37
include $(WS_TOP)/make-rules/ips.mk
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    38
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    39
COMPONENT_POST_INSTALL_ACTION += \
043f53535ed4 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; \
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    41
         $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES))
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    42
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    43
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    44
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    45
# common targets
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    46
build:		$(BUILD_NO_ARCH)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    47
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    48
install:	$(INSTALL_NO_ARCH)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    49
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    50
# Tests require:
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    51
# fixtures, mox, nose, nose-exclude, testtools, coverage, sphinx
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    52
# some of which haven't been integrated yet
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    53
test:		$(NO_TESTS)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    54
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    55
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    56
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    57
include $(WS_TOP)/make-rules/depend.mk