author | Devjani Ray <devjani.ray@oracle.com> |
Fri, 20 May 2016 17:42:29 -0400 | |
branch | s11u3-sru |
changeset 6035 | c9748fcc32de |
parent 4072 | db0cec748ec0 |
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 |
# |
6035
c9748fcc32de
PSARC 2015/535 OpenStack service updates for Kilo
Devjani Ray <devjani.ray@oracle.com>
parents:
4072
diff
changeset
|
23 |
# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. |
2946 | 24 |
# |
4072
db0cec748ec0
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3996
diff
changeset
|
25 |
|
2946 | 26 |
include ../../../make-rules/shared-macros.mk |
27 |
||
28 |
COMPONENT_NAME= oslo.config |
|
6035
c9748fcc32de
PSARC 2015/535 OpenStack service updates for Kilo
Devjani Ray <devjani.ray@oracle.com>
parents:
4072
diff
changeset
|
29 |
COMPONENT_VERSION= 1.9.3 |
2946 | 30 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
31 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
32 |
COMPONENT_ARCHIVE_HASH= \ |
|
6035
c9748fcc32de
PSARC 2015/535 OpenStack service updates for Kilo
Devjani Ray <devjani.ray@oracle.com>
parents:
4072
diff
changeset
|
33 |
sha256:ab54e67776d9bbee86ba8cce9393ba3186e6e63de926e9797598dc35fe790140 |
4072
db0cec748ec0
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3996
diff
changeset
|
34 |
COMPONENT_ARCHIVE_URL= $(call pypi_url) |
db0cec748ec0
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3996
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 |
|
6035
c9748fcc32de
PSARC 2015/535 OpenStack service updates for Kilo
Devjani Ray <devjani.ray@oracle.com>
parents:
4072
diff
changeset
|
38 |
TPNO= 25738 |
3661
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
3152
diff
changeset
|
39 |
|
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3661
diff
changeset
|
40 |
include $(WS_MAKE_RULES)/prep.mk |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3661
diff
changeset
|
41 |
include $(WS_MAKE_RULES)/setup.py.mk |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3661
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/ips.mk |
2946 | 43 |
|
44 |
COMPONENT_POST_INSTALL_ACTION += \ |
|
4072
db0cec748ec0
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3996
diff
changeset
|
45 |
($(TOUCH) $(PROTO_DIR)/usr/lib/python$(PYTHON_VERSION)/vendor-packages/oslo/__init__.py; \ |
db0cec748ec0
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3996
diff
changeset
|
46 |
$(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES); \ |
db0cec748ec0
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3996
diff
changeset
|
47 |
cd $(PROTO_DIR)/usr/bin ; \ |
db0cec748ec0
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3996
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 |
||
4072
db0cec748ec0
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3996
diff
changeset
|
57 |
# see $(COMPONENT_SRC)/test-requirements.txt for the python modules |
db0cec748ec0
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3996
diff
changeset
|
58 |
# required to execute unittests. |
2946 | 59 |
test: $(NO_TESTS) |