Commits
Andrey Stromnov authored a06b6f9490f
1 1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
2 2 | |
3 3 | PortSystem 1.0 |
4 4 | PortGroup python 1.0 |
5 5 | PortGroup select 1.0 |
6 6 | |
7 7 | name py-pylint |
8 - | version 2.3.1 |
8 + | version 2.4.2 |
9 9 | revision 0 |
10 10 | categories-append devel |
11 11 | platforms darwin |
12 12 | license GPL-2+ |
13 13 | supported_archs noarch |
14 14 | |
15 15 | python.versions 27 34 35 36 37 |
16 16 | |
17 17 | maintainers {stromnov @stromnov} openmaintainer |
18 18 | |
24 24 | nevertheless different from what pychecker_ provides, \ |
25 25 | especially since pychecker explicitely does not bother \ |
26 26 | with coding style. The default coding style used \ |
27 27 | by pylint is close to `Guido's style guide`_. |
28 28 | |
29 29 | homepage https://pylint.org |
30 30 | master_sites pypi:[string index ${python.rootname} 0]/${python.rootname} |
31 31 | |
32 32 | distname ${python.rootname}-${version} |
33 33 | |
34 - | checksums rmd160 917358dcdd31e8147c6ee4680ed46385767b11a2 \ |
35 - | sha256 723e3db49555abaf9bf79dc474c6b9e2935ad82230b10c1138a71ea41ac0fff1 \ |
36 - | size 577767 |
34 + | checksums rmd160 4c4d05cd79f3c217241454e33d1983c0256cdc25 \ |
35 + | sha256 7edbae11476c2182708063ac387a8f97c760d9cfe36a5ede0ca996f90cf346c8 \ |
36 + | size 644864 |
37 37 | |
38 38 | if {${name} ne ${subport}} { |
39 39 | depends_build-append \ |
40 40 | port:py${python.version}-pytest-runner |
41 41 | |
42 42 | depends_lib-append port:py${python.version}-setuptools \ |
43 43 | port:py${python.version}-astroid \ |
44 44 | port:py${python.version}-isort \ |
45 45 | port:py${python.version}-flake8-mccabe |
46 46 | |
49 49 | revision 0 |
50 50 | distname ${python.rootname}-${version} |
51 51 | checksums rmd160 763a56b52da567df22a09caa965da3e15dccbd9a \ |
52 52 | sha256 ee1e85575587c5b58ddafa25e1c1b01691ef172e139fc25585e5d3f02451da93 \ |
53 53 | size 519076 |
54 54 | |
55 55 | depends_lib-append port:py${python.version}-configparser \ |
56 56 | port:py${python.version}-backports-functools_lru_cache \ |
57 57 | port:py${python.version}-singledispatch \ |
58 58 | port:py${python.version}-six |
59 + | } elseif {${python.version} eq 34} { |
60 + | version 2.3.1 |
61 + | revision 0 |
62 + | distname ${python.rootname}-${version} |
63 + | checksums rmd160 917358dcdd31e8147c6ee4680ed46385767b11a2 \ |
64 + | sha256 723e3db49555abaf9bf79dc474c6b9e2935ad82230b10c1138a71ea41ac0fff1 \ |
65 + | size 577767 |
59 66 | } |
60 67 | |
61 68 | depends_run-append port:pylint_select |
62 69 | |
63 70 | post-destroot { |
64 71 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} |
65 72 | if {[file exists ${worksrcpath}/doc]} { |
66 73 | xinstall -m 644 {*}[glob -types f ${worksrcpath}/doc/*] \ |
67 74 | ${destroot}${prefix}/share/doc/${subport} |
68 75 | if {[file exists ${worksrcpath}/doc/_static]} { |