components/python/swiftclient/Makefile
changeset 6831 6dc24fe2c2de
parent 5405 66fd59fecd68
child 7687 1093e2a9adbd
equal deleted inserted replaced
6830:d33ee3b41806 6831:6dc24fe2c2de
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2013, 2016, 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-swiftclient
    28 COMPONENT_NAME=		python-swiftclient
    28 COMPONENT_VERSION=	2.4.0
    29 COMPONENT_VERSION=	3.0.0
    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:e865553b3afc63a9952cfa30f155a604564cae31a40275fa2ce94c80d7affd4b
    33     sha256:824b8f204c5a7764de51795256e4175fdcd655ae4df85b8ae6e6ea9ec0b41f68
    33 COMPONENT_ARCHIVE_URL=	$(call pypi_url)
    34 COMPONENT_ARCHIVE_URL=	$(call pypi_url)
    34 COMPONENT_PROJECT_URL=	http://launchpad.net/python-swiftclient
    35 COMPONENT_PROJECT_URL=	http://docs.openstack.org/developer/python-swiftclient/
    35 COMPONENT_BUGDB=	service/swift
    36 COMPONENT_BUGDB=	service/swift
    36 
    37 
    37 TPNO=			25758
    38 TPNO=			29374
    38 
    39 
    39 # depends on keystoneclient which is not Python 3 ready
    40 # Depends on keystoneclient which is not Python 3 ready
    40 PYTHON_VERSIONS=	$(PYTHON2_VERSIONS)
    41 PYTHON_VERSIONS=	$(PYTHON2_VERSIONS)
    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 ; $(MV) -f swift swift-$(PYTHON_VERSION))
    50     (cd $(PROTO_DIR)/usr/bin ; $(MV) -f swift swift-$(PYTHON_VERSION))
    50 
    51 
    51 # common targets
    52 # common targets
    52 build:		$(BUILD_NO_ARCH)
    53 build:		$(BUILD_NO_ARCH)
    53 
    54 
    54 install:	$(INSTALL_NO_ARCH)
    55 install:	$(INSTALL_NO_ARCH)
    55 
    56 
    56 #
    57 # See $(COMPONENT_SRC)/test-requirements.txt for the Python modules
    57 # Tests require:
    58 # required to execute unittests.
    58 # discover, sphinx, testrepository, testtools
       
    59 # which haven't been integrated yet.
       
    60 #
       
    61 test:		$(NO_TESTS)
    59 test:		$(NO_TESTS)
    62 
    60 
    63 system-test:    $(NO_TESTS)
    61 system-test:	$(NO_TESTS)