author | Rich Burridge <rich.burridge@oracle.com> |
Thu, 23 Feb 2017 13:46:52 -0800 | |
changeset 7687 | 1093e2a9adbd |
parent 6799 | 8a4da6a752d7 |
permissions | -rw-r--r-- |
1691 | 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 |
# |
|
1920
3ed8d7c25c17
17628782 pip missing as a dependency for pbr
Drew Fisher <drew.fisher@oracle.com>
parents:
1890
diff
changeset
|
21 |
|
3ed8d7c25c17
17628782 pip missing as a dependency for pbr
Drew Fisher <drew.fisher@oracle.com>
parents:
1890
diff
changeset
|
22 |
# |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
6799
diff
changeset
|
23 |
# Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved. |
1691 | 24 |
# |
3998
5bd484384122
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3817
diff
changeset
|
25 |
|
1691 | 26 |
include ../../../make-rules/shared-macros.mk |
27 |
||
28 |
COMPONENT_NAME= oslo.config |
|
6799
8a4da6a752d7
23119246 Upgrade oslo.config to 3.9.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
5405
diff
changeset
|
29 |
COMPONENT_VERSION= 3.9.0 |
1691 | 30 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
31 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
32 |
COMPONENT_ARCHIVE_HASH= \ |
|
6799
8a4da6a752d7
23119246 Upgrade oslo.config to 3.9.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
5405
diff
changeset
|
33 |
sha256:ec7bdf4a3d85f90cf07d2fa03a20783558ad0f490d71bd8faf50bf4ee2923df1 |
3998
5bd484384122
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3817
diff
changeset
|
34 |
COMPONENT_ARCHIVE_URL= $(call pypi_url) |
6799
8a4da6a752d7
23119246 Upgrade oslo.config to 3.9.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
5405
diff
changeset
|
35 |
COMPONENT_PROJECT_URL= http://docs.openstack.org/developer/oslo.config/ |
1890
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1691
diff
changeset
|
36 |
COMPONENT_BUGDB= python-mod/oslo.config |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
6799
diff
changeset
|
37 |
COMPONENT_ANITYA_ID= 3946 |
1691 | 38 |
|
6799
8a4da6a752d7
23119246 Upgrade oslo.config to 3.9.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
5405
diff
changeset
|
39 |
TPNO= 28362 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1920
diff
changeset
|
40 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
41 |
include $(WS_MAKE_RULES)/prep.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/setup.py.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
43 |
include $(WS_MAKE_RULES)/ips.mk |
1691 | 44 |
|
6799
8a4da6a752d7
23119246 Upgrade oslo.config to 3.9.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
5405
diff
changeset
|
45 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
8a4da6a752d7
23119246 Upgrade oslo.config to 3.9.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
5405
diff
changeset
|
46 |
|
1691 | 47 |
COMPONENT_POST_INSTALL_ACTION += \ |
6799
8a4da6a752d7
23119246 Upgrade oslo.config to 3.9.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
5405
diff
changeset
|
48 |
($(TOUCH) $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES)/oslo/__init__.py; \ |
8a4da6a752d7
23119246 Upgrade oslo.config to 3.9.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
5405
diff
changeset
|
49 |
$(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES); \ |
8a4da6a752d7
23119246 Upgrade oslo.config to 3.9.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
5405
diff
changeset
|
50 |
cd $(PROTO_DIR)/usr/bin ; \ |
8a4da6a752d7
23119246 Upgrade oslo.config to 3.9.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
5405
diff
changeset
|
51 |
$(MV) -f oslo-config-generator oslo-config-generator-$(PYTHON_VERSION)) |
1691 | 52 |
|
53 |
# common targets |
|
54 |
build: $(BUILD_NO_ARCH) |
|
55 |
||
56 |
install: $(INSTALL_NO_ARCH) |
|
57 |
||
6799
8a4da6a752d7
23119246 Upgrade oslo.config to 3.9.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
5405
diff
changeset
|
58 |
# See $(COMPONENT_SRC)/test-requirements.txt for the Python modules |
3998
5bd484384122
PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents:
3817
diff
changeset
|
59 |
# required to execute unittests. |
1691 | 60 |
test: $(NO_TESTS) |
4339
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3998
diff
changeset
|
61 |
|
6799
8a4da6a752d7
23119246 Upgrade oslo.config to 3.9.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
5405
diff
changeset
|
62 |
system-test: $(NO_TESTS) |