components/python/argparse/Makefile
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Wed, 15 Jan 2014 08:17:42 -0800
branchs11u1-sru
changeset 2899 f4049e7b2a8e
permissions -rw-r--r--
16634282 The Python argparse module should be added to Userland
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2899
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     1
#
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     3
#
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     7
#
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    12
#
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    18
#
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    20
#
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    21
# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    22
#
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    23
include ../../../make-rules/shared-macros.mk
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    24
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    25
COMPONENT_NAME=		argparse
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    26
COMPONENT_VERSION=	1.2.1
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    27
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    28
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    29
COMPONENT_ARCHIVE_HASH=	\
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    30
    sha256:ddaf4b0a618335a32b6664d4ae038a1de8fbada3b25033f9021510ed2b3941a4
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_URL=	http://argparse.googlecode.com/files/$(COMPONENT_ARCHIVE)
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_PROJECT_URL=	http://code.google.com/p/argparse/
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_BUGDB=	python-mod/argparse
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    34
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    35
# The argparse module was integrated into Python 2.7, so we should only deliver
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    36
# a 2.6 module.
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    37
PYTHON_VERSIONS = 2.6
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    38
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    39
include $(WS_TOP)/make-rules/prep.mk
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    40
include $(WS_TOP)/make-rules/setup.py.mk
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    41
include $(WS_TOP)/make-rules/ips.mk
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    42
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    43
# common targets
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    44
build:		$(BUILD_32)
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    45
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    46
install:	$(INSTALL_32)
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    47
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    48
test:		$(NO_TESTS)
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    49
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    50
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    51
f4049e7b2a8e 16634282 The Python argparse module should be added to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    52
include $(WS_TOP)/make-rules/depend.mk