source: trunk/dports/python/py-lint/Portfile @ 57430

Last change on this file since 57430 was 57430, checked in by dh@…, 10 years ago

Version bump to 0.18.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 57430 2009-09-11 04:02:56Z dh@macports.org $
3
4PortSystem          1.0
5PortGroup           python24 1.0
6
7name                py-lint
8version             0.18.1
9categories-append   devel
10maintainers         dh openmaintainer
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        ftp://ftp.logilab.org/pub/pylint/
24distname            pylint-${version}
25
26livecheck.url       http://ftp.logilab.org/pub/pylint/
27livecheck.type      regex
28livecheck.regex     {pylint-(\d+(?:\.\d+)*)\.tar\.gz} 
29
30checksums           md5     4b1f9bbbb2f2ee2c2076c5d2a35438fa \
31                    sha1    891b4666872822d49e01fba28f94fb0a25db51de \
32                    rmd160  f83d10617fe38770cc8a2c06a0e165b639323fa7
33
34depends_lib         port:py-logilab-astng port:py-logilab-common
35
36post-destroot {
37    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
38    eval xinstall -m 644 [glob ${worksrcpath}/doc/*] \
39        ${destroot}${prefix}/share/doc/${name}
40    xinstall -m 644 -W ${worksrcpath} ChangeLog README TODO \
41        ${destroot}${prefix}/share/doc/${name}
42
43    # this file is also installed by py-logilab-common
44    file delete ${destroot}${python.pkgd}/logilab/__init__.py
45
46    # there is no python.prefix variable for python25 and python24 portgroups
47    foreach binfile {epylint pylint pylint-gui pyreverse symilar} {
48        file rename ${destroot}${prefix}/bin/${binfile} ${destroot}${prefix}/bin/${binfile}-${python.branch}
49    }
50}
51
Note: See TracBrowser for help on using the repository browser.