source: trunk/dports/python/py-checker/Portfile

Last change on this file was 130309, checked in by larryv@…, 3 years ago

py{24,25}-checker: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 130309 2014-12-30 01:46:33Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                        py-checker
8version                     0.8.18
9revision                    1
10platforms                   darwin freebsd
11supported_archs     noarch
12license                     BSD
13maintainers                 nomaintainer
14
15description                 python source code checker for finding bugs
16long_description        PyChecker is a tool for finding bugs in python \
17                    source code. It finds problems that are typically \
18                    caught by a compiler for less dynamic languages, \
19                    like C and C++.  It is similar to lint.  Because \
20                    of the dynamic nature of python, some warnings may \
21                    be incorrect. However, spurious warnings should be \
22                    fairly infrequent.
23homepage                    http://pychecker.sourceforge.net/
24
25master_sites            sourceforge:pychecker
26distname                    pychecker-${version}
27checksums                   md5     ef156a631df46de150a364912f2e36c8
28
29python.versions     26 27
30
31if {${name} ne ${subport}} {
32    patchfiles          patch-setup.py.diff
33    post-patch {
34        reinplace "s|PYTHONLIB|${python.pkgd}|g" ${worksrcpath}/setup.py
35    }
36
37    post-destroot {
38        xinstall -m 644 -W ${worksrcpath} CHANGELOG COPYRIGHT KNOWN_BUGS \
39            MAINTAINERS README TODO VERSION pycheckrc \
40            ${destroot}${prefix}/share/doc/${subport}
41    }
42}
Note: See TracBrowser for help on using the repository browser.