components/python/pip/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 23 Feb 2017 13:46:52 -0800
changeset 7687 1093e2a9adbd
parent 6262 879221d37327
permissions -rw-r--r--
25590368 Userland components should include "upstream" release tracking information
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1516
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     1
#
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     3
#
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     7
#
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    12
#
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    18
#
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    20
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    21
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6262
diff changeset
    22
# Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
1516
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    23
#
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    24
include ../../../make-rules/shared-macros.mk
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    25
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    26
COMPONENT_NAME=         pip
6262
879221d37327 23079603 Update pip to 8.1.1
Drew Fisher <drew.fisher@oracle.com>
parents: 4984
diff changeset
    27
COMPONENT_VERSION=      8.1.1
1516
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    28
COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    29
COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    30
COMPONENT_ARCHIVE_HASH= \
6262
879221d37327 23079603 Update pip to 8.1.1
Drew Fisher <drew.fisher@oracle.com>
parents: 4984
diff changeset
    31
    sha256:3e78d3066aaeb633d185a57afdccf700aa2e660436b4af618bcb6ff0fa511798
1516
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_URL=  $(call pypi_url)
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    33
COMPONENT_PROJECT_URL=  https://github.com/pypa/pip
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    34
COMPONENT_BUGDB=	utility/pip
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6262
diff changeset
    35
COMPONENT_ANITYA_ID=	6529
1516
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    36
6262
879221d37327 23079603 Update pip to 8.1.1
Drew Fisher <drew.fisher@oracle.com>
parents: 4984
diff changeset
    37
TPNO=			27739
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1516
diff changeset
    38
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    39
include $(WS_MAKE_RULES)/prep.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    40
include $(WS_MAKE_RULES)/setup.py.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    41
include $(WS_MAKE_RULES)/ips.mk
1516
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    42
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    43
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    44
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    45
# allow pkg to create the mediated link
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    46
COMPONENT_POST_INSTALL_ACTION = \
4412
39b39a22ebdc 20281406 problem in UTILITY/PIP
Drew Fisher <drew.fisher@oracle.com>
parents: 4339
diff changeset
    47
	(cd $(PROTO_DIR)/usr/bin ; $(MV) -f pip pip-$(PYTHON_VERSION))
1516
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    48
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    49
# common targets
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    50
build:          $(BUILD_NO_ARCH)
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    51
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    52
install:        $(INSTALL_NO_ARCH)
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    53
4412
39b39a22ebdc 20281406 problem in UTILITY/PIP
Drew Fisher <drew.fisher@oracle.com>
parents: 4339
diff changeset
    54
# pip requires scripttest >= 1.3 to execute tests.
39b39a22ebdc 20281406 problem in UTILITY/PIP
Drew Fisher <drew.fisher@oracle.com>
parents: 4339
diff changeset
    55
# When this module is available, update this directive to test pip.
1516
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    56
test:           $(NO_TESTS)
e0b42d30e1a3 PSARC 2013/316 pip version 1.4.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    57
4339
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3817
diff changeset
    58
system-test:    $(NO_TESTS)
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3817
diff changeset
    59
4412
39b39a22ebdc 20281406 problem in UTILITY/PIP
Drew Fisher <drew.fisher@oracle.com>
parents: 4339
diff changeset
    60
REQUIRED_PACKAGES += library/python/requests-27
39b39a22ebdc 20281406 problem in UTILITY/PIP
Drew Fisher <drew.fisher@oracle.com>
parents: 4339
diff changeset
    61
REQUIRED_PACKAGES += library/python/requests-34
4912
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 4412
diff changeset
    62
REQUIRED_PACKAGES += library/python/requests-35
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    63
REQUIRED_PACKAGES += library/python/setuptools-27
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    64
REQUIRED_PACKAGES += library/python/setuptools-34
4912
0b79e9575718 PSARC 2015/414 Python 3.5
John Beck <John.Beck@Oracle.COM>
parents: 4412
diff changeset
    65
REQUIRED_PACKAGES += library/python/setuptools-35