components/python/pip/Makefile
author Drew Fisher <drew.fisher@oracle.com>
Tue, 12 Nov 2013 13:24:56 -0700
branchs11-update
changeset 2817 093306a32a73
child 1948 2d1537e7942d
child 4470 3e9a30f6ae2f
permissions -rw-r--r--
17497821 Request to integrate pip into Userland
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2817
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     1
#
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     3
#
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     7
#
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    12
#
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    18
#
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    20
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    21
#
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    22
# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    23
#
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    24
include ../../../make-rules/shared-macros.mk
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    25
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    26
COMPONENT_NAME=         pip
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    27
COMPONENT_VERSION=      1.4.1
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    28
COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    29
COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    30
COMPONENT_ARCHIVE_HASH= \
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    31
    sha256:4e7a06554711a624c35d0c646f63674b7f6bfc7f80221bf1eb1f631bd890d04e
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_URL=  $(call pypi_url)
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    33
COMPONENT_PROJECT_URL=  https://github.com/pypa/pip
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    34
COMPONENT_BUGDB=	utility/pip
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    35
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    36
include $(WS_TOP)/make-rules/prep.mk
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    37
include $(WS_TOP)/make-rules/setup.py.mk
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    38
include $(WS_TOP)/make-rules/ips.mk
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    39
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    40
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    41
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    42
# allow pkg to create the mediated link
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    43
COMPONENT_POST_INSTALL_ACTION = \
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    44
	(cd $(PROTO_DIR)/usr/bin ; $(RM) -f pip)
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    45
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    46
# common targets
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    47
build:          $(BUILD_NO_ARCH)
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    48
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    49
install:        $(INSTALL_NO_ARCH)
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    50
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    51
# pip requires virtualenv 1.10 and scripttest 1.1.1 to execute tests.
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    52
# When these are available, update this directive to test pip.
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    53
test:           $(NO_TESTS)
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    54
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    55
BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    56
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    57
include $(WS_TOP)/make-rules/depend.mk