author | John Beck <John.Beck@Oracle.COM> |
Wed, 27 Aug 2014 09:04:47 -0700 | |
changeset 2060 | a9ad5cd0ec29 |
parent 2044 | bd546952feea |
child 5635 | 0fa7cc14a0a6 |
permissions | -rw-r--r-- |
1187
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
# |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
# |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
# |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
# |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
# |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
# |
1666
69d14d547e77
PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents:
1251
diff
changeset
|
21 |
# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. |
1187
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
# |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
23 |
|
1907
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1666
diff
changeset
|
24 |
<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted> |
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1666
diff
changeset
|
25 |
# |
1187
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
set name=pkg.fmri \ |
1666
69d14d547e77
PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents:
1251
diff
changeset
|
27 |
value=pkg:/library/python/pep8-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
1187
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
set name=pkg.summary value="pep8 - Python style guide checker" |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
29 |
set name=pkg.description \ |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
value="pep8 is a tool to check your Python code against some of the style conventions in PEP 8 (Style Guide for Python Code)." |
1205
6c6c27bcf9ac
16431724 Adjust how license text and Oracle internal tracking numbers are propagated
Rich Burridge <rich.burridge@oracle.com>
parents:
1187
diff
changeset
|
31 |
set name=com.oracle.info.description value="the pep8 Python style guide checker" |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1907
diff
changeset
|
32 |
set name=com.oracle.info.tpno value=$(TPNO) |
1187
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
33 |
set name=info.classification \ |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
34 |
value=org.opensolaris.category.2008:Development/Python |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
36 |
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
37 |
set name=org.opensolaris.arc-caseid value=PSARC/2012/301 |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
38 |
set name=org.opensolaris.consolidation value=$(CONSOLIDATION) |
1907
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1666
diff
changeset
|
39 |
# |
1187
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
40 |
link path=usr/bin/pep8 target=pep8-$(PYVER) mediator=python \ |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
41 |
mediator-version=$(PYVER) |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
42 |
file path=usr/bin/pep8-$(PYVER) |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
file path=usr/lib/python$(PYVER)/vendor-packages/pep8-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
44 |
file path=usr/lib/python$(PYVER)/vendor-packages/pep8-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
45 |
file path=usr/lib/python$(PYVER)/vendor-packages/pep8-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
46 |
file path=usr/lib/python$(PYVER)/vendor-packages/pep8-$(COMPONENT_VERSION)-py$(PYVER).egg-info/entry_points.txt |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
file path=usr/lib/python$(PYVER)/vendor-packages/pep8-$(COMPONENT_VERSION)-py$(PYVER).egg-info/namespace_packages.txt |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
48 |
file path=usr/lib/python$(PYVER)/vendor-packages/pep8-$(COMPONENT_VERSION)-py$(PYVER).egg-info/not-zip-safe |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
49 |
file path=usr/lib/python$(PYVER)/vendor-packages/pep8-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt |
2060
a9ad5cd0ec29
19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
2044
diff
changeset
|
50 |
# The bypass for time is temporary until pkgdepend learns about PEP 3149, |
a9ad5cd0ec29
19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
2044
diff
changeset
|
51 |
# new in Python 3.x; see 19510349. |
1187
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
52 |
file path=usr/lib/python$(PYVER)/vendor-packages/pep8.py \ |
1907
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1666
diff
changeset
|
53 |
pkg.depend.bypass-generate=.*/[Cc]onfig[Pp]arser.* \ |
2060
a9ad5cd0ec29
19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
2044
diff
changeset
|
54 |
pkg.depend.bypass-generate=.*/testsuite.* \ |
a9ad5cd0ec29
19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
2044
diff
changeset
|
55 |
pkg.depend.bypass-generate=.*/time.* |
1907
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1666
diff
changeset
|
56 |
file usr/share/man/man1/pep8.1 path=usr/share/man/man1/pep8-$(PYVER).1 |
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1666
diff
changeset
|
57 |
link path=usr/share/man/man1/pep8.1 target=pep8-$(PYVER).1 mediator=python \ |
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1666
diff
changeset
|
58 |
mediator-version=$(PYVER) |
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1666
diff
changeset
|
59 |
# |
1187
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
60 |
license pep8.license license="expat license" |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
61 |
|
1907
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1666
diff
changeset
|
62 |
# force the rename with an optional dependency on the old name |
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1666
diff
changeset
|
63 |
depend type=optional \ |
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1666
diff
changeset
|
64 |
fmri=library/python-2/pep8-$(PYV)@1.4.4,5.12-5.12.0.0.0.41.0 |
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1666
diff
changeset
|
65 |
|
1187
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
66 |
# force a dependency on the pep8 package |
28a8efc39260
PSARC 2012/301 pep8 version 1.3.3 - Python Style Guide Checker
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
67 |
depend type=require \ |
1666
69d14d547e77
PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents:
1251
diff
changeset
|
68 |
fmri=library/python/pep8@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |