source: trunk/dports/python/py26-lint/Portfile @ 63036

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

add python.link_binaries option to python26 portgroup, adapt ports accordingly

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 63036 2010-01-24 10:43:40Z jmr@macports.org $
3
4PortSystem          1.0
5PortGroup           python26 1.0
6
7name                py26-lint
8version             0.18.1
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        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:py26-logilab-common port:py26-logilab-astng
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    file delete ${destroot}${python.pkgd}/logilab/__init__.py
43}
Note: See TracBrowser for help on using the repository browser.