components/python/pip/Makefile
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Thu, 19 Mar 2015 20:44:31 -0700
branchs11-update
changeset 3996 20c0f21bbe1e
parent 3661 47545fb8aed4
child 4339 6501cf9c29f9
child 4422 785c3a06cb2f
permissions -rw-r--r--
15786608 SUNBT7162754 create new meta package developer/opensolaris/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
#
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    22
# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
2817
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
3661
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 2817
diff changeset
    36
TPNO=			15181
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 2817
diff changeset
    37
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    38
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
    39
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
    40
include $(WS_MAKE_RULES)/ips.mk
2817
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
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    43
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    44
# allow pkg to create the mediated link
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    45
COMPONENT_POST_INSTALL_ACTION = \
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    46
	(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
    47
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    48
# common targets
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    49
build:          $(BUILD_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
install:        $(INSTALL_NO_ARCH)
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    52
093306a32a73 17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    53
# 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
    54
# 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
    55
test:           $(NO_TESTS)
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
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    58
REQUIRED_PACKAGES += library/python/setuptools-26
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    59
REQUIRED_PACKAGES += library/python/setuptools-27
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    60
REQUIRED_PACKAGES += library/python/setuptools-34