24 # |
24 # |
25 |
25 |
26 include ../../../make-rules/shared-macros.mk |
26 include ../../../make-rules/shared-macros.mk |
27 |
27 |
28 COMPONENT_NAME= python-glanceclient |
28 COMPONENT_NAME= python-glanceclient |
29 COMPONENT_VERSION= 0.17.2 |
29 COMPONENT_VERSION= 2.0.0 |
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
32 COMPONENT_ARCHIVE_HASH= \ |
32 COMPONENT_ARCHIVE_HASH= \ |
33 sha256:56ca8fe2c4f33d9dd9b045073bdd0dba09b1f6ef7af978175966d262678ecd0e |
33 sha256:c4e791ef80e1b60997fa612e7f6ec506969bc6247b53d66988c2829c16b3617b |
34 COMPONENT_ARCHIVE_URL= $(call pypi_url) |
34 COMPONENT_ARCHIVE_URL= $(call pypi_url) |
35 COMPONENT_PROJECT_URL= http://launchpad.net/python-glanceclient |
35 COMPONENT_PROJECT_URL= http://docs.openstack.org/developer/python-glanceclient/ |
36 COMPONENT_BUGDB= service/glance |
36 COMPONENT_BUGDB= service/glance |
37 |
37 |
38 TPNO= 25751 |
38 TPNO= 29187 |
39 |
39 |
40 # Depends on keystoneclient & oslo.utils which are not Python 3 ready. |
40 # Depends on keystoneclient & oslo.utils which are not Python 3 ready. |
41 PYTHON_VERSIONS= $(PYTHON2_VERSIONS) |
41 PYTHON_VERSIONS= $(PYTHON2_VERSIONS) |
42 |
42 |
43 include $(WS_MAKE_RULES)/prep.mk |
43 include $(WS_MAKE_RULES)/prep.mk |
45 include $(WS_MAKE_RULES)/ips.mk |
45 include $(WS_MAKE_RULES)/ips.mk |
46 |
46 |
47 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
47 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
48 |
48 |
49 COMPONENT_POST_INSTALL_ACTION = \ |
49 COMPONENT_POST_INSTALL_ACTION = \ |
50 (cd $(PROTO_DIR)/usr/bin ; $(MV) -f glance glance-$(PYTHON_VERSION)) |
50 (cd $(PROTO_DIR)/usr/bin ; $(MV) -f glance glance-$(PYTHON_VERSION)) |
51 |
51 |
52 # common targets |
52 # common targets |
53 build: $(BUILD_NO_ARCH) |
53 build: $(BUILD_NO_ARCH) |
54 |
54 |
55 install: $(INSTALL_NO_ARCH) |
55 install: $(INSTALL_NO_ARCH) |
56 |
56 |
57 # |
57 # See $(COMPONENT_SRC)/test-requirements.txt for the Python modules |
58 # Tests require: |
58 # required to execute unittests. |
59 # hacking, discover, mox, sphinx, testrepository, testtools |
|
60 # which haven't been integrated yet. |
|
61 # |
|
62 test: $(NO_TESTS) |
59 test: $(NO_TESTS) |
63 |
60 |
64 system-test: $(NO_TESTS) |
61 system-test: $(NO_TESTS) |