source: trunk/dports/python/py27-lint/Portfile @ 74568

Last change on this file since 74568 was 74568, checked in by ricci@…, 9 years ago

new ports - python 2.7 versions of logilab's pylint and its dependencies

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
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# $Id: Portfile 74568 2010-12-22 00:21:05Z ricci@macports.org $
3
4PortSystem          1.0
5PortGroup           python27 1.0
6
7name                py27-lint
8version             0.22.0
9categories-append   devel
10maintainers         nomaintainer
11description         Error (and style) checking for python
12long_description \
13    Pylint is a tool that checks for errors in python code, and tries to \
14    check that a given coding standard is respected by the coders. This is \
15    similar but nevertheless different from what pychecker_ provides, \
16    especially since pychecker explicitely does not bother with coding \
17    style. The default coding style used by pylint is close to `Guido's \
18    style guide`_.
19
20platforms           darwin
21
22homepage            http://www.logilab.org/projects/pylint/
23master_sites        http://ftp.logilab.org/pub/pylint/
24distname            pylint-${version}
25
26checksums           md5     feb2c37a64c8c8ab54081945c8762e95 \
27                    sha1    e44748f20455709e7e4c0365214f88a469799a9a \
28                    rmd160  460830e426c28340a63f634451483866dc9f3a3e
29
30depends_lib         port:py27-logilab-common port:py27-logilab-astng
31
32patchfiles          patch-epylint.py.diff
33
34post-patch {
35    reinplace "s|@@MPORTS_PYTHON_BRANCH@@|${python.branch}|" ${worksrcpath}/epylint.py
36}
37
38post-destroot {
39    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
40    eval xinstall -m 644 [glob ${worksrcpath}/doc/*] \
41        ${destroot}${prefix}/share/doc/${name}
42    xinstall -m 644 -W ${worksrcpath} ChangeLog README \
43        ${destroot}${prefix}/share/doc/${name}
44    file delete ${destroot}${python.pkgd}/logilab/__init__.py
45}
46
47livecheck.url       http://ftp.logilab.org/pub/pylint/
48livecheck.type      regex
49livecheck.regex     {pylint-(\d+(?:\.\d+)*)\.tar\.gz} 
Note: See TracBrowser for help on using the repository browser.