components/python/argparse/Makefile
author Brian Reitz <Brian.Reitz@Oracle.COM>
Thu, 28 May 2015 10:11:41 -0700
branchs11-update
changeset 4448 a1595889821c
parent 3996 20c0f21bbe1e
permissions -rw-r--r--
21035315 swift missing dependency on network/rsync
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2703
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     1
#
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     3
#
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     7
#
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    12
#
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    18
#
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    20
#
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    21
# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
2703
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    22
#
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    23
include ../../../make-rules/shared-macros.mk
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    24
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    25
COMPONENT_NAME=		argparse
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    26
COMPONENT_VERSION=	1.2.1
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    27
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    28
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    29
COMPONENT_ARCHIVE_HASH=	\
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    30
    sha256:ddaf4b0a618335a32b6664d4ae038a1de8fbada3b25033f9021510ed2b3941a4
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_URL=	http://argparse.googlecode.com/files/$(COMPONENT_ARCHIVE)
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_PROJECT_URL=	http://code.google.com/p/argparse/
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_BUGDB=	python-mod/argparse
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    34
3661
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 2703
diff changeset
    35
TPNO=			13152
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 2703
diff changeset
    36
2703
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    37
# The argparse module was integrated into Python 2.7, so we should only deliver
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    38
# a 2.6 module.
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    39
PYTHON_VERSIONS = 2.6
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    40
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    41
include $(WS_MAKE_RULES)/prep.mk
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    42
include $(WS_MAKE_RULES)/setup.py.mk
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    43
include $(WS_MAKE_RULES)/ips.mk
2703
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    44
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    45
# common targets
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    46
build:		$(BUILD_32)
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    47
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    48
install:	$(INSTALL_32)
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    49
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    50
test:		$(NO_TESTS)
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    51
66303c49c5ee PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    52