author | Norm Jacobs <Norm.Jacobs@Oracle.COM> |
Thu, 19 Mar 2015 20:44:31 -0700 | |
branch | s11-update |
changeset 3996 | 20c0f21bbe1e |
parent 3778 | 35735ffdda43 |
child 4072 | db0cec748ec0 |
permissions | -rw-r--r-- |
3166
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
1 |
# |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
3 |
# |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
7 |
# |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
11 |
# and limitations under the License. |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
12 |
# |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
18 |
# |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
20 |
# |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
21 |
|
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
22 |
# |
3778
35735ffdda43
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
23 |
# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. |
3166
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
24 |
# |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
25 |
include ../../../make-rules/shared-macros.mk |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
26 |
|
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
27 |
COMPONENT_NAME= python-troveclient |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
28 |
COMPONENT_VERSION= 0.1.4 |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
29 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
30 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
31 |
COMPONENT_ARCHIVE_HASH= \ |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
32 |
sha256:745057a1a1dd2a58f3e638cf506f5b21a6bf8a42bf678adb17a58d6799a10141 |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE_URL= $(call pypi_url) |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
34 |
COMPONENT_PROJECT_URL= http://launchpad.net/python-troveclient |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
35 |
COMPONENT_BUGDB= service/trove |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
36 |
|
3661
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
3166
diff
changeset
|
37 |
TPNO= 17305 |
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
3166
diff
changeset
|
38 |
|
3778
35735ffdda43
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
39 |
# Syntax errors: not Python 3 ready |
35735ffdda43
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
40 |
PYTHON_VERSIONS= 2.7 2.6 |
35735ffdda43
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
41 |
|
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3778
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/prep.mk |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3778
diff
changeset
|
43 |
include $(WS_MAKE_RULES)/setup.py.mk |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3778
diff
changeset
|
44 |
include $(WS_MAKE_RULES)/ips.mk |
3166
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
45 |
|
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
46 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
47 |
|
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
48 |
COMPONENT_POST_INSTALL_ACTION = \ |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
49 |
(cd $(PROTO_DIR)/usr/bin ; \ |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
50 |
$(MV) -f trove-cli trove-cli-$(PYTHON_VERSION) ; \ |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
51 |
$(MV) -f trove-mgmt-cli trove-mgmt-cli-$(PYTHON_VERSION)) |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
52 |
|
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
53 |
# common targets |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
54 |
build: $(BUILD_NO_ARCH) |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
55 |
|
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
56 |
install: $(INSTALL_NO_ARCH) |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
57 |
|
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
58 |
# tests require: |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
59 |
# hacking, discover, sphinx, testrepository and testtools, |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
60 |
# some of which have not been integrated. |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
61 |
test: $(NO_TESTS) |
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
62 |
|
a76983bc2aeb
PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff
changeset
|
63 |