Ticket #51998: py-pylint.diff
File py-pylint.diff, 2.1 KB (added by reneeotten (Renee Otten), 8 years ago) |
---|
-
Portfile
old new 6 6 PortGroup select 1.0 7 7 8 8 name py-pylint 9 version 1.5.6 10 revision 0 9 version 1.6.4 11 10 categories-append devel 12 11 platforms darwin 13 12 license GPL-2+ … … 27 26 with coding style. The default coding style used \ 28 27 by pylint is close to `Guido's style guide`_. 29 28 30 homepage http ://www.logilab.org/project/pylint29 homepage https://pylint.org 31 30 master_sites pypi:[string index ${python.rootname} 0]/${python.rootname} 32 31 33 32 distname ${python.rootname}-${version} 34 33 35 checksums rmd160 e2feb2267424e0b9282c82f74b66a48d14f77aff\36 sha256 303bdd755048feec2c1fe1ea16e8f4306636f02845510ff3d5922ae2d6fe35cc34 checksums rmd160 629ff9ed14f15db119545c96ea1c31c2a6ee5fc9 \ 35 sha256 ef901a34b62ed7a734370ba5b162d890231ba8822abe88c6dda1268e2575f5f1 37 36 38 37 if {${name} ne ${subport}} { 39 38 depends_build-append \ 40 39 port:py${python.version}-setuptools 41 40 42 depends_lib-append port:py${python.version}-logilab-common \ 43 port:py${python.version}-astroid 41 depends_lib-append port:py${python.version}-astroid \ 42 port:py${python.version}-six \ 43 port:py${python.version}-isort \ 44 port:py${python.version}-flake8-mccabe 45 46 if {${python.version} eq 27} { 47 depends_lib-append port:py${python.version}-configparser \ 48 port:py${python.version}-backports-functools_lru_cache 49 } 44 50 45 51 depends_run-append port:pylint_select 46 52 … … 57 63 } 58 64 xinstall -m 644 -W ${worksrcpath} ChangeLog README.rst \ 59 65 ${destroot}${prefix}/share/doc/${subport} 60 file delete ${destroot}${python.pkgd}/logilab/__init__.py66 ## file delete ${destroot}${python.pkgd}/logilab/__init__.py 61 67 } 62 68 63 69 select.group pylint