author | Milan Cermak <Milan.Cermak@oracle.com> |
Tue, 18 Jun 2013 14:37:40 +0200 | |
branch | s11-update |
changeset 2654 | 6c8b5b00a1c7 |
parent 2434 | 6c9bb5cf5610 |
child 1310 | ed3f9d06a78b |
child 3661 | 47545fb8aed4 |
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 |
# |
697
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
22 |
# Copyright (c) 2011, 2012, 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 |
|
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
37 |
include $(WS_TOP)/make-rules/prep.mk |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
38 |
include $(WS_TOP)/make-rules/ips.mk |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
39 |
include $(WS_TOP)/make-rules/setup.py.mk |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
40 |
|
697
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
41 |
# 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
|
42 |
# 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
|
43 |
# 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
|
44 |
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
|
45 |
PDOC_PYLINT = $(PDOC)/pylint |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
46 |
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
|
47 |
|
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
48 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
49 |
$(MKDIR) $(PDOC_PYLINT) ; |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
50 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
51 |
$(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
|
52 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
53 |
$(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
|
54 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
55 |
$(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
|
56 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
57 |
$(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
|
58 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
59 |
$(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
|
60 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
61 |
$(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
|
62 |
|
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 |
$(MKDIR) $(PDOC_PYLINT_EXAMPLES) ; |
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)/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
|
67 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
68 |
$(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
|
69 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
70 |
$(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
|
71 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
72 |
$(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
|
73 |
COMPONENT_POST_INSTALL_ACTION += \ |
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
74 |
$(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
|
75 |
COMPONENT_POST_INSTALL_ACTION += \ |
32bfb3fa9b60
7155746 Userland python bits should use mediated links
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
697
diff
changeset
|
76 |
(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
|
77 |
COMPONENT_POST_INSTALL_ACTION += \ |
32bfb3fa9b60
7155746 Userland python bits should use mediated links
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
697
diff
changeset
|
78 |
(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
|
79 |
COMPONENT_POST_INSTALL_ACTION += \ |
32bfb3fa9b60
7155746 Userland python bits should use mediated links
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
697
diff
changeset
|
80 |
(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
|
81 |
COMPONENT_POST_INSTALL_ACTION += \ |
32bfb3fa9b60
7155746 Userland python bits should use mediated links
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
697
diff
changeset
|
82 |
(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
|
83 |
COMPONENT_POST_INSTALL_ACTION += \ |
32bfb3fa9b60
7155746 Userland python bits should use mediated links
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
697
diff
changeset
|
84 |
(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
|
85 |
|
452fae7409ce
7092106 pylint manpage refers to non-existent path
Rich Burridge <rich.burridge@oracle.com>
parents:
247
diff
changeset
|
86 |
|
247
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
87 |
# common targets |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
88 |
|
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
89 |
build: $(BUILD_32) |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
90 |
|
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
91 |
install: $(INSTALL_32) |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
92 |
|
2424
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
93 |
# 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
|
94 |
# 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
|
95 |
# 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
|
96 |
# 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
|
97 |
# 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
|
98 |
# in the python2.6 package. |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
99 |
|
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
100 |
# 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
|
101 |
test: PYTHON_VERSION=2.7 |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
102 |
|
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
103 |
# 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
|
104 |
# 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
|
105 |
# 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
|
106 |
# 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
|
107 |
# 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
|
108 |
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
|
109 |
$(COMPONENT_DIR)/../logilab-common install; \ |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
110 |
$(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
|
111 |
|
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
112 |
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
|
113 |
|
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
114 |
# 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
|
115 |
# 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
|
116 |
# 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
|
117 |
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
|
118 |
COMPONENT_TEST_ARGS = |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
119 |
|
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
120 |
# Expected failures for test target: |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
121 |
# 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
|
122 |
# 9 modules OK (2 failed) |
4dacf13d67f7
15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents:
800
diff
changeset
|
123 |
# 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
|
124 |
|
247
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
125 |
test: $(TEST_32) |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
126 |
|
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
127 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
128 |
|
c57f32335aee
7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
129 |
include $(WS_TOP)/make-rules/depend.mk |