author | Huie-Ying Lee <huieying.lee@oracle.com> |
Wed, 20 May 2015 15:14:17 -0700 | |
branch | s11-update |
changeset 4329 | 771a6f41f496 |
parent 3996 | 20c0f21bbe1e |
child 7811 | 9126e6f58cd8 |
permissions | -rw-r--r-- |
247
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
1 |
# |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
3 |
# |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
7 |
# |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
12 |
# |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
18 |
# |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
20 |
|
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
21 |
# |
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3778
diff
changeset
|
22 |
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
247
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
23 |
# |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
24 |
|
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
25 |
include ../../make-rules/shared-macros.mk |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
26 |
|
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
27 |
COMPONENT_NAME= pylint |
2424
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
28 |
COMPONENT_VERSION= 0.25.2 |
247
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
751
diff
changeset
|
31 |
COMPONENT_ARCHIVE_HASH= \ |
2424
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
32 |
sha256:757f2b97071a87fb7e4d017fc7c9eb74f26dcf412e683b614d3c5d54b217212d |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
33 |
COMPONENT_ARCHIVE_URL= http://download.logilab.org/pub/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
247
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
34 |
COMPONENT_PROJECT_URL= http://www.logilab.org/project/pylint/ |
2434
6c9bb5cf5610
15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
2424
diff
changeset
|
35 |
COMPONENT_BUGDB= utility/pylint |
247
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
36 |
|
3661
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
2434
diff
changeset
|
37 |
TPNO= 9026 |
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
2434
diff
changeset
|
38 |
|
3778
35735ffdda43
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
39 |
# Depends on logilab-common which is not Python 3 ready. |
35735ffdda43
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
40 |
PYTHON_VERSIONS= 2.7 2.6 |
35735ffdda43
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
41 |
|
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3778
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/prep.mk |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3778
diff
changeset
|
43 |
include $(WS_MAKE_RULES)/ips.mk |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3778
diff
changeset
|
44 |
include $(WS_MAKE_RULES)/setup.py.mk |
247
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
45 |
|
697
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
46 |
# There are several pylint documentation files that setup.py isn't installing |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
47 |
# but are present in the pylint package on other distributions. Copy them into |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
48 |
# the proto area "manually", so they can be included in the package. |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
49 |
PDOC = $(PROTO_DIR)/usr/share/doc |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
50 |
PDOC_PYLINT = $(PDOC)/pylint |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
51 |
PDOC_PYLINT_EXAMPLES = $(PDOC_PYLINT)/examples |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
52 |
|
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
53 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
54 |
$(MKDIR) $(PDOC_PYLINT) ; |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
55 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
56 |
$(CP) $(COMPONENT_SRC)/doc/beginner_pylint_tutorial.txt $(PDOC_PYLINT) ; |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
57 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
58 |
$(CP) $(COMPONENT_SRC)/doc/FAQ.txt $(PDOC_PYLINT) ; |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
59 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
60 |
$(CP) $(COMPONENT_SRC)/doc/features.txt $(PDOC_PYLINT) ; |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
61 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
62 |
$(CP) $(COMPONENT_SRC)/doc/manual.txt $(PDOC_PYLINT) ; |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
63 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
64 |
$(CP) $(COMPONENT_SRC)/doc/quickstart.txt $(PDOC_PYLINT) ; |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
65 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
66 |
$(CP) $(COMPONENT_SRC)/README $(PDOC_PYLINT) ; |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
67 |
|
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
68 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
69 |
$(MKDIR) $(PDOC_PYLINT_EXAMPLES) ; |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
70 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
71 |
$(CP) $(COMPONENT_SRC)/examples/custom.py $(PDOC_PYLINT_EXAMPLES) ; |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
72 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
73 |
$(CP) $(COMPONENT_SRC)/examples/custom_raw.py $(PDOC_PYLINT_EXAMPLES) ; |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
74 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
75 |
$(CP) $(COMPONENT_SRC)/elisp/pylint.el $(PDOC_PYLINT_EXAMPLES) ; |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
76 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
77 |
$(CP) $(COMPONENT_SRC)/examples/pylintrc_camelcase $(PDOC_PYLINT_EXAMPLES) ; |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
78 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
79 |
$(CP) $(COMPONENT_SRC)/examples/pylintrc $(PDOC_PYLINT_EXAMPLES) ; |
751
32bfb3fa9b60
7155746 Userland python bits should use mediated links
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
697
diff
changeset
|
80 |
COMPONENT_POST_INSTALL_ACTION += \ |
32bfb3fa9b60
7155746 Userland python bits should use mediated links
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
697
diff
changeset
|
81 |
(cd $(PROTO_DIR)/usr/bin; $(MV) epylint epylint-$(PYTHON_VERSION)) ; |
32bfb3fa9b60
7155746 Userland python bits should use mediated links
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
697
diff
changeset
|
82 |
COMPONENT_POST_INSTALL_ACTION += \ |
32bfb3fa9b60
7155746 Userland python bits should use mediated links
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
697
diff
changeset
|
83 |
(cd $(PROTO_DIR)/usr/bin; $(MV) pylint pylint-$(PYTHON_VERSION)) ; |
32bfb3fa9b60
7155746 Userland python bits should use mediated links
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
697
diff
changeset
|
84 |
COMPONENT_POST_INSTALL_ACTION += \ |
32bfb3fa9b60
7155746 Userland python bits should use mediated links
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
697
diff
changeset
|
85 |
(cd $(PROTO_DIR)/usr/bin; $(MV) pylint-gui pylint-gui-$(PYTHON_VERSION)) ; |
32bfb3fa9b60
7155746 Userland python bits should use mediated links
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
697
diff
changeset
|
86 |
COMPONENT_POST_INSTALL_ACTION += \ |
32bfb3fa9b60
7155746 Userland python bits should use mediated links
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
697
diff
changeset
|
87 |
(cd $(PROTO_DIR)/usr/bin; $(MV) pyreverse pyreverse-$(PYTHON_VERSION)) ; |
32bfb3fa9b60
7155746 Userland python bits should use mediated links
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
697
diff
changeset
|
88 |
COMPONENT_POST_INSTALL_ACTION += \ |
32bfb3fa9b60
7155746 Userland python bits should use mediated links
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
697
diff
changeset
|
89 |
(cd $(PROTO_DIR)/usr/bin; $(MV) symilar symilar-$(PYTHON_VERSION)) ; |
697
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
90 |
|
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
91 |
|
247
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
92 |
# common targets |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
93 |
|
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
94 |
build: $(BUILD_32) |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
95 |
|
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
96 |
install: $(INSTALL_32) |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
97 |
|
2424
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
98 |
# The tests are run using python 2.7 only and require that |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
99 |
# the python-27 package is installed (does not have to be the default python). |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
100 |
# Testing using python-26 is done manually, since it requires |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
101 |
# downloading and installing the unittest2 component (not part of Solaris), |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
102 |
# which provides python 2.7 functionality to the unittest python library |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
103 |
# in the python2.6 package. |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
104 |
|
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
105 |
# Use the python 2.7 libraries for testing. |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
106 |
test: PYTHON_VERSION=2.7 |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
107 |
|
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
108 |
# logilab-common and logilab-astng are runtime dependencies of pylint, |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
109 |
# and we need to use their latest versions from this workspace. |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
110 |
# We can't just add their install targets as dependencies here, |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
111 |
# so just "gmake install" in the logilab-common and logilab-astng |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
112 |
# component directories before running the pylint tests. |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
113 |
COMPONENT_PRE_TEST_ACTION = ($(GMAKE) -C \ |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
114 |
$(COMPONENT_DIR)/../logilab-common install; \ |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
115 |
$(GMAKE) -C $(COMPONENT_DIR)/../logilab-astng install ) |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
116 |
|
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
117 |
COMPONENT_TEST_ENV = PYTHONPATH=$(COMPONENT_DIR)/../logilab-common/build/prototype/$(MACH)$(PYTHON_VENDOR_PACKAGES):$(COMPONENT_DIR)/../logilab-astng/build/prototype/$(MACH)$(PYTHON_VENDOR_PACKAGES):$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES) |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
118 |
|
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
119 |
# Run pytest-2.7 from logilab-common's proto area for now, until the |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
120 |
# new version of logilab-common containing pytest is in CBE. |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
121 |
# Then we can change it to /usr/bin/pytest-$(PYTHON_VERSION). |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
122 |
COMPONENT_TEST_CMD = $(COMPONENT_DIR)/../logilab-common/build/prototype/$(MACH)/usr/bin/pytest-$(PYTHON_VERSION) |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
123 |
COMPONENT_TEST_ARGS = |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
124 |
|
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
125 |
# Expected failures for test target: |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
126 |
# 799 test cases, 4 errors, 6 failures, 4 skipped |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
127 |
# 9 modules OK (2 failed) |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
128 |
# failures: smoketest [7/14], unittest_lint [3/21] |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
129 |
|
247
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
130 |
test: $(TEST_32) |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
131 |
|
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
132 |
|
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3778
diff
changeset
|
133 |
REQUIRED_PACKAGES += runtime/python-26 |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3778
diff
changeset
|
134 |
REQUIRED_PACKAGES += runtime/python-27 |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3778
diff
changeset
|
135 |
REQUIRED_PACKAGES += runtime/python-34 |