New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82240


Ignore:
Timestamp:
08/11/11 06:37:39 (4 years ago)
Author:
stromnov@…
Message:

unify py*-pyflakes

Location:
trunk/dports/python
Files:
10 added
3 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-pyflakes/Portfile

    r77873 r82240  
     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 
    12# $Id$ 
    23 
    34PortSystem          1.0 
    4 PortGroup           python24 1.0 
     5PortGroup           python 1.0 
     6PortGroup           select 1.0 
    57 
    68name                py-pyflakes 
    79version             0.4.0 
    8 categories          python www 
     10revision            1 
     11categories-append   devel 
     12license             MIT 
    913platforms           darwin 
    10 maintainers         nomaintainer 
    11 homepage            http://www.divmod.org/trac/wiki/DivmodPyflakes 
    12 description         passive checker of Python programs 
     14supported_archs     noarch 
     15 
     16maintainers         stromnov openmaintainer 
     17 
     18description         Passive checker of Python programs. 
    1319long_description    Pyflakes is program to analyze Python programs and \ 
    1420                    detect various errors. It works by parsing the source \ 
     
    1622                    with side effects. It's also much faster. 
    1723 
     24homepage            http://www.divmod.org/trac/wiki/DivmodPyflakes 
    1825master_sites        http://pypi.python.org/packages/source/p/pyflakes/ 
    19 distname            pyflakes-${version} 
     26 
    2027checksums           md5     630a72510aae8758f48cf60e4fa17176 \ 
    2128                    sha1    439b547be3be431de90ebea16b7fd2a3f620e3f9 \ 
    2229                    rmd160  b2962664414c41128b165d2db5977bfc8ecb7777 
    2330 
    24 depends_lib-append  port:py-setuptools 
     31distname            pyflakes-${version} 
    2532 
    26 post-destroot { 
    27     move ${destroot}${prefix}/bin/pyflakes ${destroot}${prefix}/bin/pyflakes-2.4 
     33python.versions     24 25 26 27 
     34 
     35if {$subport != $name} { 
     36    post-destroot { 
     37        if {$subport == "py24-sympy" || $subport == "py25-sympy"} { 
     38            move ${destroot}${prefix}/bin/pyflakes \ 
     39                 ${destroot}${prefix}/bin/isympy-${python.branch} 
     40        } 
     41    } 
     42 
     43    depends_run         port:pyflakes_select 
     44 
     45    select.group        pyflakes 
     46    select.file         ${filespath}/py${python.version}-pyflakes 
     47 
     48    notes \ 
     49"To make the Python ${python.branch} version of py-pyflakes the one that is run 
     50when you execute the commands without a version suffix, e.g. 'pyflakes', 
     51run: 
     52port select --set ${select.group} [file tail ${select.file}]" 
    2853} 
    2954 
    3055livecheck.type      regex 
    3156livecheck.url       http://pypi.python.org/pypi/pyflakes/ 
    32 livecheck.regex     pyflakes (0\.\[0-9\]+\.\[0-9\]+) 
    33  
     57livecheck.regex     "pyflakes-(\\d+(?:\\.\\d+)*)${extract.suffix}" 
Note: See TracChangeset for help on using the changeset viewer.