Makefile revision 4982
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang#
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# CDDL HEADER START
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang#
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# The contents of this file are subject to the terms of the
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# Common Development and Distribution License (the "License").
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# You may not use this file except in compliance with the License.
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang#
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# or http://www.opensolaris.org/os/licensing.
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# See the License for the specific language governing permissions
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# and limitations under the License.
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang#
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# When distributing Covered Code, include this CDDL HEADER in each
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# If applicable, add the following below this CDDL HEADER, with the
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# fields enclosed by brackets "[]" replaced with your own identifying
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# information: Portions Copyright [yyyy] [name of copyright owner]
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang#
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# CDDL HEADER END
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang#
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang#
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang#
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wanginclude ../../../make-rules/shared-macros.mk
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong WangCOMPONENT_NAME= boto
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong WangCOMPONENT_VERSION= 2.34.0
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong WangCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong WangCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong WangCOMPONENT_ARCHIVE_HASH= \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang sha256:33baab022ecb803414ad0d6cf4041d010cfc2755ff8acc3bea7b32e77ba98be0
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong WangCOMPONENT_ARCHIVE_URL= $(call pypi_url)
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong WangCOMPONENT_PROJECT_URL= http://github.com/boto/boto/
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong WangCOMPONENT_BUGDB= python-mod/boto
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong WangTPNO= 21716
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# Syntax issues: not Python 3 ready.
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong WangPYTHON_VERSIONS= $(PYTHON2_VERSIONS)
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wanginclude $(WS_MAKE_RULES)/prep.mk
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wanginclude $(WS_MAKE_RULES)/setup.py.mk
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wanginclude $(WS_MAKE_RULES)/ips.mk
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong WangASLR_MODE = $(ASLR_NOT_APPLICABLE)
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong WangCOMPONENT_POST_INSTALL_ACTION= \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang (cd $(PROTO_DIR)/usr/demo/$(COMPONENT_NAME) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f asadmin asadmin-$(PYTHON_VERSION) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f bundle_image bundle_image-$(PYTHON_VERSION) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f cfadmin cfadmin-$(PYTHON_VERSION) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f cq cq-$(PYTHON_VERSION) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f cwutil cwutil-$(PYTHON_VERSION) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f dynamodb_dump dynamodb_dump-$(PYTHON_VERSION) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f dynamodb_load dynamodb_load-$(PYTHON_VERSION) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f elbadmin elbadmin-$(PYTHON_VERSION) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f fetch_file fetch_file-$(PYTHON_VERSION) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f glacier glacier-$(PYTHON_VERSION) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f instance_events instance_events-$(PYTHON_VERSION) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f kill_instance kill_instance-$(PYTHON_VERSION) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f launch_instance launch_instance-$(PYTHON_VERSION) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f list_instances list_instances-$(PYTHON_VERSION) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f lss3 lss3-$(PYTHON_VERSION) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f mturk mturk-$(PYTHON_VERSION) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f pyami_sendmail pyami_sendmail-$(PYTHON_VERSION) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f route53 route53-$(PYTHON_VERSION) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f s3put s3put-$(PYTHON_VERSION) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f sdbadmin sdbadmin-$(PYTHON_VERSION) ; \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(MV) -f taskadmin taskadmin-$(PYTHON_VERSION))
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong WangCOMPONENT_INSTALL_ARGS += --install-script=/usr/demo/$(COMPONENT_NAME)
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# common targets
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wangbuild: $(BUILD_NO_ARCH)
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wanginstall: $(INSTALL_NO_ARCH)
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# Tests require access to AWS/OpenStack metadata service & the Internet
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wangtest: $(NO_TESTS)
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wangsystem-test: $(NO_TESTS)
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong WangREQUIRED_PACKAGES += library/python/filechunkio-27