20 # |
20 # |
21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
|
25 |
25 include ../../../make-rules/shared-macros.mk |
26 include ../../../make-rules/shared-macros.mk |
26 |
27 |
27 COMPONENT_NAME= python-troveclient |
28 COMPONENT_NAME= python-troveclient |
28 COMPONENT_VERSION= 0.1.4 |
29 COMPONENT_VERSION= 1.0.8 |
29 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
30 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
31 COMPONENT_ARCHIVE_HASH= \ |
32 COMPONENT_ARCHIVE_HASH= \ |
32 sha256:745057a1a1dd2a58f3e638cf506f5b21a6bf8a42bf678adb17a58d6799a10141 |
33 sha256:613adcd3aac54b57f3347b21d36bf22e4092170e434535e91aadb2e46a67536d |
33 COMPONENT_ARCHIVE_URL= $(call pypi_url) |
34 COMPONENT_ARCHIVE_URL= $(call pypi_url) |
34 COMPONENT_PROJECT_URL= http://launchpad.net/python-troveclient |
35 COMPONENT_PROJECT_URL= http://launchpad.net/python-troveclient |
35 COMPONENT_BUGDB= service/trove |
36 COMPONENT_BUGDB= service/trove |
36 |
37 |
37 TPNO= 17305 |
38 TPNO= 21737 |
38 |
39 |
39 # Syntax errors: not Python 3 ready |
40 # Depends on keystoneclient which is not Python 3 ready. |
40 PYTHON_VERSIONS= 2.7 2.6 |
41 PYTHON_VERSIONS= 2.7 2.6 |
41 |
42 |
42 include $(WS_MAKE_RULES)/prep.mk |
43 include $(WS_MAKE_RULES)/prep.mk |
43 include $(WS_MAKE_RULES)/setup.py.mk |
44 include $(WS_MAKE_RULES)/setup.py.mk |
44 include $(WS_MAKE_RULES)/ips.mk |
45 include $(WS_MAKE_RULES)/ips.mk |
45 |
46 |
46 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
47 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
47 |
48 |
48 COMPONENT_POST_INSTALL_ACTION = \ |
49 COMPONENT_POST_INSTALL_ACTION = \ |
49 (cd $(PROTO_DIR)/usr/bin ; \ |
50 (cd $(PROTO_DIR)/usr/bin ; $(MV) -f trove trove-$(PYTHON_VERSION)) |
50 $(MV) -f trove-cli trove-cli-$(PYTHON_VERSION) ; \ |
|
51 $(MV) -f trove-mgmt-cli trove-mgmt-cli-$(PYTHON_VERSION)) |
|
52 |
51 |
53 # common targets |
52 # common targets |
54 build: $(BUILD_NO_ARCH) |
53 build: $(BUILD_NO_ARCH) |
55 |
54 |
56 install: $(INSTALL_NO_ARCH) |
55 install: $(INSTALL_NO_ARCH) |
57 |
56 |
58 # tests require: |
57 # tests require: |
59 # hacking, discover, sphinx, testrepository and testtools, |
58 # hacking, discover, sphinx, testrepository and testtools, |
60 # some of which have not been integrated. |
59 # some of which have not been integrated. |
61 test: $(NO_TESTS) |
60 test: $(NO_TESTS) |
62 |
|