author | Drew Fisher <drew.fisher@oracle.com> |
Fri, 05 Jun 2015 14:58:42 -0700 | |
branch | s11-update |
changeset 4422 | 785c3a06cb2f |
parent 3996 | 20c0f21bbe1e |
child 7811 | 9126e6f58cd8 |
permissions | -rw-r--r-- |
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 |
4422
785c3a06cb2f
20281422 Update pip to 6.0.8
Drew Fisher <drew.fisher@oracle.com>
parents:
3996
diff
changeset
|
27 |
COMPONENT_VERSION= 6.0.8 |
2817
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= \ |
4422
785c3a06cb2f
20281422 Update pip to 6.0.8
Drew Fisher <drew.fisher@oracle.com>
parents:
3996
diff
changeset
|
31 |
sha256:0d58487a1b7f5be2e5e965c11afbea1dc44ecec8069de03491a4d0d6c85f4551 |
2817
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 |
|
4422
785c3a06cb2f
20281422 Update pip to 6.0.8
Drew Fisher <drew.fisher@oracle.com>
parents:
3996
diff
changeset
|
36 |
TPNO= 21944 |
3661
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 = \ |
4422
785c3a06cb2f
20281422 Update pip to 6.0.8
Drew Fisher <drew.fisher@oracle.com>
parents:
3996
diff
changeset
|
46 |
(cd $(PROTO_DIR)/usr/bin ; $(MV) -f pip pip-$(PYTHON_VERSION)) |
2817
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 |
|
4422
785c3a06cb2f
20281422 Update pip to 6.0.8
Drew Fisher <drew.fisher@oracle.com>
parents:
3996
diff
changeset
|
53 |
# pip requires scripttest >= 1.3 to execute tests. |
785c3a06cb2f
20281422 Update pip to 6.0.8
Drew Fisher <drew.fisher@oracle.com>
parents:
3996
diff
changeset
|
54 |
# When this module is available, update this directive to test pip. |
2817
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 |
|
4422
785c3a06cb2f
20281422 Update pip to 6.0.8
Drew Fisher <drew.fisher@oracle.com>
parents:
3996
diff
changeset
|
57 |
system-test: $(NO_TESTS) |
2817
093306a32a73
17497821 Request to integrate pip into Userland
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
58 |
|
4422
785c3a06cb2f
20281422 Update pip to 6.0.8
Drew Fisher <drew.fisher@oracle.com>
parents:
3996
diff
changeset
|
59 |
REQUIRED_PACKAGES += library/python/requests-26 |
785c3a06cb2f
20281422 Update pip to 6.0.8
Drew Fisher <drew.fisher@oracle.com>
parents:
3996
diff
changeset
|
60 |
REQUIRED_PACKAGES += library/python/requests-27 |
785c3a06cb2f
20281422 Update pip to 6.0.8
Drew Fisher <drew.fisher@oracle.com>
parents:
3996
diff
changeset
|
61 |
REQUIRED_PACKAGES += library/python/requests-34 |
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3661
diff
changeset
|
62 |
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
|
63 |
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
|
64 |
REQUIRED_PACKAGES += library/python/setuptools-34 |