components/python/boto/Makefile
author Laszlo Peter <laszlo.peter@oracle.com>
Wed, 07 Sep 2016 14:48:27 -0700
changeset 6777 92de91c5ac57
parent 4984 7145b15b7f0d
child 7687 1093e2a9adbd
permissions -rw-r--r--
23206205 Upgrade boto to 2.40.0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1484
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     1
#
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     3
#
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     7
#
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    12
#
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    18
#
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    20
#
3998
5bd484384122 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3817
diff changeset
    21
5bd484384122 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3817
diff changeset
    22
#
6777
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    23
# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
1484
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    24
#
3998
5bd484384122 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3817
diff changeset
    25
1484
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    27
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    28
COMPONENT_NAME=		boto
6777
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    29
COMPONENT_VERSION=	2.40.0
1484
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
6777
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    33
    sha256:e12d5fca11fcabfd0acd18f78651e0f0dba60f958a0520ff4e9b73e35cd9928f
1484
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	$(call pypi_url)
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    35
COMPONENT_PROJECT_URL=	http://github.com/boto/boto/
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    36
COMPONENT_BUGDB=	python-mod/boto
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    37
6777
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    38
TPNO=			29473
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1907
diff changeset
    39
1907
446472de62e9 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents: 1484
diff changeset
    40
# Syntax issues: not Python 3 ready.
4984
7145b15b7f0d PSARC 2014/190 Python 2.6 EOF
John Beck <John.Beck@Oracle.COM>
parents: 4339
diff changeset
    41
PYTHON_VERSIONS=	$(PYTHON2_VERSIONS)
1907
446472de62e9 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents: 1484
diff changeset
    42
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    43
include $(WS_MAKE_RULES)/prep.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    44
include $(WS_MAKE_RULES)/setup.py.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    45
include $(WS_MAKE_RULES)/ips.mk
1484
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    46
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    47
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    48
3998
5bd484384122 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3817
diff changeset
    49
COMPONENT_POST_INSTALL_ACTION= \
6777
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    50
    (cd $(PROTO_DIR)/usr/demo/$(COMPONENT_NAME) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    51
     $(MV) -f asadmin asadmin-$(PYTHON_VERSION) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    52
     $(MV) -f bundle_image bundle_image-$(PYTHON_VERSION) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    53
     $(MV) -f cfadmin cfadmin-$(PYTHON_VERSION) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    54
     $(MV) -f cq cq-$(PYTHON_VERSION) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    55
     $(MV) -f cwutil cwutil-$(PYTHON_VERSION) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    56
     $(MV) -f dynamodb_dump dynamodb_dump-$(PYTHON_VERSION) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    57
     $(MV) -f dynamodb_load dynamodb_load-$(PYTHON_VERSION) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    58
     $(MV) -f elbadmin elbadmin-$(PYTHON_VERSION) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    59
     $(MV) -f fetch_file fetch_file-$(PYTHON_VERSION) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    60
     $(MV) -f glacier glacier-$(PYTHON_VERSION) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    61
     $(MV) -f instance_events instance_events-$(PYTHON_VERSION) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    62
     $(MV) -f kill_instance kill_instance-$(PYTHON_VERSION) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    63
     $(MV) -f launch_instance launch_instance-$(PYTHON_VERSION) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    64
     $(MV) -f list_instances list_instances-$(PYTHON_VERSION) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    65
     $(MV) -f lss3 lss3-$(PYTHON_VERSION) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    66
     $(MV) -f mturk mturk-$(PYTHON_VERSION) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    67
     $(MV) -f pyami_sendmail pyami_sendmail-$(PYTHON_VERSION) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    68
     $(MV) -f route53 route53-$(PYTHON_VERSION) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    69
     $(MV) -f s3put s3put-$(PYTHON_VERSION) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    70
     $(MV) -f sdbadmin sdbadmin-$(PYTHON_VERSION) ; \
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    71
     $(MV) -f taskadmin taskadmin-$(PYTHON_VERSION))
3998
5bd484384122 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3817
diff changeset
    72
5bd484384122 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3817
diff changeset
    73
COMPONENT_INSTALL_ARGS +=	--install-script=/usr/demo/$(COMPONENT_NAME)
1484
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    74
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    75
# common targets
3998
5bd484384122 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3817
diff changeset
    76
build:		$(BUILD_NO_ARCH)
1484
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    77
3998
5bd484384122 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3817
diff changeset
    78
install:	$(INSTALL_NO_ARCH)
5bd484384122 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3817
diff changeset
    79
5bd484384122 PSARC 2015/110 OpenStack service updates for Juno
Danek Duvall <danek.duvall@oracle.com>
parents: 3817
diff changeset
    80
# Tests require access to AWS/OpenStack metadata service & the Internet
1484
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    81
test:		$(NO_TESTS)
01108fd9c6ef PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    82
6777
92de91c5ac57 23206205 Upgrade boto to 2.40.0
Laszlo Peter <laszlo.peter@oracle.com>
parents: 4984
diff changeset
    83
system-test:	$(NO_TESTS)
4339
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3998
diff changeset
    84
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    85
REQUIRED_PACKAGES += library/python/filechunkio-27