author | Danek Duvall <danek.duvall@oracle.com> |
Mon, 20 Apr 2015 12:35:51 -0700 | |
branch | s11u2-sru |
changeset 4156 | 4b1def16fe9b |
parent 3152 | 1572f2692c01 |
permissions | -rw-r--r-- |
2946 | 1 |
# |
2 |
# CDDL HEADER START |
|
3 |
# |
|
4 |
# The contents of this file are subject to the terms of the |
|
5 |
# Common Development and Distribution License (the "License"). |
|
6 |
# You may not use this file except in compliance with the License. |
|
7 |
# |
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 |
# or http://www.opensolaris.org/os/licensing. |
|
10 |
# See the License for the specific language governing permissions |
|
11 |
# and limitations under the License. |
|
12 |
# |
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
3152
1572f2692c01
17628782 pip missing as a dependency for pbr
Drew Fisher <drew.fisher@oracle.com>
parents:
2946
diff
changeset
|
21 |
|
1572f2692c01
17628782 pip missing as a dependency for pbr
Drew Fisher <drew.fisher@oracle.com>
parents:
2946
diff
changeset
|
22 |
# |
4156
4b1def16fe9b
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3152
diff
changeset
|
23 |
# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
2946 | 24 |
# |
4156
4b1def16fe9b
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3152
diff
changeset
|
25 |
|
2946 | 26 |
include ../../../make-rules/shared-macros.mk |
27 |
||
28 |
COMPONENT_NAME= oslo.config |
|
4156
4b1def16fe9b
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3152
diff
changeset
|
29 |
COMPONENT_VERSION= 1.6.0 |
2946 | 30 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
31 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
32 |
COMPONENT_ARCHIVE_HASH= \ |
|
4156
4b1def16fe9b
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3152
diff
changeset
|
33 |
sha256:a88cf1af696b4d9cae783a4c8c6898e6fb4abd176f9c9906ba388e7eac5eab17 |
4b1def16fe9b
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3152
diff
changeset
|
34 |
COMPONENT_ARCHIVE_URL= $(call pypi_url) |
4b1def16fe9b
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3152
diff
changeset
|
35 |
COMPONENT_PROJECT_URL= https://launchpad.net/oslo.config |
3152
1572f2692c01
17628782 pip missing as a dependency for pbr
Drew Fisher <drew.fisher@oracle.com>
parents:
2946
diff
changeset
|
36 |
COMPONENT_BUGDB= python-mod/oslo.config |
2946 | 37 |
|
4156
4b1def16fe9b
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3152
diff
changeset
|
38 |
TPNO= 21726 |
4b1def16fe9b
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3152
diff
changeset
|
39 |
|
4b1def16fe9b
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3152
diff
changeset
|
40 |
include $(WS_MAKE_RULES)/prep.mk |
4b1def16fe9b
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3152
diff
changeset
|
41 |
include $(WS_MAKE_RULES)/setup.py.mk |
4b1def16fe9b
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3152
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/ips.mk |
2946 | 43 |
|
44 |
COMPONENT_POST_INSTALL_ACTION += \ |
|
4156
4b1def16fe9b
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3152
diff
changeset
|
45 |
($(TOUCH) $(PROTO_DIR)/usr/lib/python$(PYTHON_VERSION)/vendor-packages/oslo/__init__.py; \ |
4b1def16fe9b
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3152
diff
changeset
|
46 |
$(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES); \ |
4b1def16fe9b
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3152
diff
changeset
|
47 |
cd $(PROTO_DIR)/usr/bin ; \ |
4b1def16fe9b
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3152
diff
changeset
|
48 |
$(MV) -f oslo-config-generator oslo-config-generator-$(PYTHON_VERSION)) |
2946 | 49 |
|
50 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
|
51 |
||
52 |
# common targets |
|
53 |
build: $(BUILD_NO_ARCH) |
|
54 |
||
55 |
install: $(INSTALL_NO_ARCH) |
|
56 |
||
4156
4b1def16fe9b
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3152
diff
changeset
|
57 |
# see $(COMPONENT_SRC)/test-requirements.txt for the python modules |
4b1def16fe9b
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3152
diff
changeset
|
58 |
# required to execute unittests. |
2946 | 59 |
test: $(NO_TESTS) |
60 |
||
61 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
|
62 |
||
63 |
include $(WS_TOP)/make-rules/depend.mk |