author | Rich Burridge <rich.burridge@oracle.com> |
Mon, 17 Apr 2017 11:12:35 -0700 | |
changeset 7875 | fdce0f6fd2bd |
parent 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
6938
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
# |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
# |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
# |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
# |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
# |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
# |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
21 |
|
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
# |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
7473
diff
changeset
|
23 |
# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. |
6938
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
24 |
# |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
25 |
|
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
include ../../../make-rules/shared-macros.mk |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
|
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= isort |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_VERSION= 4.2.5 |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE_HASH= \ |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
33 |
sha256:56b20044f43cf6e6783fe95d054e754acca52dd43fbe9277c1bdff835537ea5c |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
34 |
COMPONENT_ARCHIVE_URL= $(call pypi_url) |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_PROJECT_URL= https://pypi.python.org/pypi/isort |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
36 |
COMPONENT_BUGDB= python-mod/isort |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
7473
diff
changeset
|
37 |
COMPONENT_ANITYA_ID= 11430 |
6938
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
38 |
|
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
39 |
TPNO= 31386 |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
40 |
|
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
41 |
include $(WS_MAKE_RULES)/prep.mk |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/setup.py.mk |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
include $(WS_MAKE_RULES)/ips.mk |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
44 |
|
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
45 |
# Rename isort to its versioned name; mediated links (depending on |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
46 |
# the python version) in the manifest will create the link from isort |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
# to the correct isort-${PYTHON_VERSION} |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
48 |
COMPONENT_POST_INSTALL_ACTION += \ |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
49 |
(cd $(PROTO_DIR)/usr/bin ; $(MV) -f isort isort-$(PYTHON_VERSION)) ; |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
50 |
|
7473
7f4fb2d02558
24696934 isort tests should be hooked up if possible.
Rich Burridge <rich.burridge@oracle.com>
parents:
6938
diff
changeset
|
51 |
COMPONENT_TEST_DIR= $(COMPONENT_SRC) |
7f4fb2d02558
24696934 isort tests should be hooked up if possible.
Rich Burridge <rich.burridge@oracle.com>
parents:
6938
diff
changeset
|
52 |
COMPONENT_TEST_ARGS= setup.py test |
7f4fb2d02558
24696934 isort tests should be hooked up if possible.
Rich Burridge <rich.burridge@oracle.com>
parents:
6938
diff
changeset
|
53 |
|
7f4fb2d02558
24696934 isort tests should be hooked up if possible.
Rich Burridge <rich.burridge@oracle.com>
parents:
6938
diff
changeset
|
54 |
COMPONENT_TEST_TRANSFORMS += \ |
7f4fb2d02558
24696934 isort tests should be hooked up if possible.
Rich Burridge <rich.burridge@oracle.com>
parents:
6938
diff
changeset
|
55 |
'-e "s|\(in \).*\(seconds\).*|\1 x \2|"' \ |
7f4fb2d02558
24696934 isort tests should be hooked up if possible.
Rich Burridge <rich.burridge@oracle.com>
parents:
6938
diff
changeset
|
56 |
'-n ' \ |
7f4fb2d02558
24696934 isort tests should be hooked up if possible.
Rich Burridge <rich.burridge@oracle.com>
parents:
6938
diff
changeset
|
57 |
'-e "/^===/p" ' |
7f4fb2d02558
24696934 isort tests should be hooked up if possible.
Rich Burridge <rich.burridge@oracle.com>
parents:
6938
diff
changeset
|
58 |
|
7f4fb2d02558
24696934 isort tests should be hooked up if possible.
Rich Burridge <rich.burridge@oracle.com>
parents:
6938
diff
changeset
|
59 |
COMPONENT_TEST_MASTER= $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
7f4fb2d02558
24696934 isort tests should be hooked up if possible.
Rich Burridge <rich.burridge@oracle.com>
parents:
6938
diff
changeset
|
60 |
|
6938
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
61 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
62 |
|
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
63 |
build: $(BUILD_NO_ARCH) |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
64 |
|
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
65 |
install: $(INSTALL_NO_ARCH) |
64f04bb4c3c3
PSARC 2016/506 lazy-object-proxy - version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
66 |
|
7473
7f4fb2d02558
24696934 isort tests should be hooked up if possible.
Rich Burridge <rich.burridge@oracle.com>
parents:
6938
diff
changeset
|
67 |
test: $(TEST_NO_ARCH) |