components/python/python-memcached/Makefile
author John Beck <John.Beck@Oracle.COM>
Fri, 06 Feb 2015 16:51:20 -0800
branchs11-update
changeset 3778 35735ffdda43
parent 3661 47545fb8aed4
child 3996 20c0f21bbe1e
permissions -rw-r--r--
PSARC 2014/151 Python 3.4 15819724 SUNBT7202228 python 3.4 18756157 upgrade setuptools to 0.9.6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3166
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     1
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     2
# CDDL HEADER START
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     3
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     7
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    10
# See the License for the specific language governing permissions
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    11
# and limitations under the License.
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    12
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    18
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    19
# CDDL HEADER END
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    20
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    21
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    22
#
3778
35735ffdda43 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents: 3661
diff changeset
    23
# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
3166
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    24
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    25
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    27
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    28
COMPONENT_NAME=		python-memcached
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    29
COMPONENT_VERSION=	1.53
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    33
    sha256:7ae92b948d9a53d8d522fed1551eeb191f25879e34d533a59e7736ffaf2a7c14
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	https://github.com/linsomniac/$(COMPONENT_NAME)/archive/release-$(COMPONENT_VERSION).tar.gz
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    35
COMPONENT_PROJECT_URL=	https://github.com/linsomniac/python-memcached
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    36
COMPONENT_BUGDB=	python-mod/memcached
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    37
3661
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 3166
diff changeset
    38
TPNO=			17839
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 3166
diff changeset
    39
3778
35735ffdda43 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents: 3661
diff changeset
    40
# Syntax errors: not Python 3 ready
35735ffdda43 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents: 3661
diff changeset
    41
PYTHON_VERSIONS=	2.7 2.6
35735ffdda43 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents: 3661
diff changeset
    42
3166
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    43
include $(WS_TOP)/make-rules/prep.mk
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    44
include $(WS_TOP)/make-rules/setup.py.mk
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    45
include $(WS_TOP)/make-rules/ips.mk
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    46
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    47
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    48
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    49
COMPONENT_POST_UNPACK_ACTION = \
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    50
	$(MV) python-memcached-release-1.53 \
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    51
	    $(COMPONENT_NAME)-$(COMPONENT_VERSION)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    52
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    53
COMPONENT_TEST_ARGS=	test
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    54
COMPONENT_TEST_CMD=	$(MAKE)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    55
COMPONENT_TEST_DIR=	$(COMPONENT_SRC)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    56
# "make test" expects GNU Make as make(1)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    57
COMPONENT_TEST_ENV=	PATH=/usr/gnu/bin:/usr/bin
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    58
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    59
# common targets
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    60
build:		$(BUILD_NO_ARCH)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    61
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    62
install:	$(INSTALL_NO_ARCH)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    63
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    64
# tests require local, online svc:/application/database/memcached:default
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    65
test:		$(TEST_NO_ARCH)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    66
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    67
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    68
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    69
include $(WS_TOP)/make-rules/depend.mk