Changeset 92176


Ignore:
Timestamp:
Apr 21, 2012, 3:29:44 AM (8 years ago)
Author:
singingwolfboy@…
Message:

py-pep8: updated to 1.0.1, added pep8_select port

Location:
trunk/dports/python
Files:
12 added
1 edited

Legend:

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

    r88431 r92176  
    33PortSystem          1.0
    44PortGroup           python 1.0
     5PortGroup           select 1.0
    56
    67name                py-pep8
    7 set real_name       pep8
    8 version             0.6.1
     8set realname       pep8
     9version             1.0.1
    910python.versions     24 25 26 27 31 32
    1011categories-append   devel
     
    1718    in PEP 8 (http://www.python.org/dev/peps/pep-0008/)
    1819
    19 homepage            http://pypi.python.org/pypi/${real_name}
    20 master_sites        http://pypi.python.org/packages/source/p/${real_name}
    21 distname            ${real_name}-${version}
     20homepage            http://pypi.python.org/pypi/${realname}
     21master_sites        http://pypi.python.org/packages/source/p/${realname}
     22distname            ${realname}-${version}
    2223
    23 checksums           rmd160  9234bd7776ef09cc06c6f33350f1752d49ec2135 \
    24                     sha256  c0654b683bd0c20987e3e767bb0241daf014d854cb89ec84fbed623e349faeec
     24checksums           rmd160  789ceed5cd0241dc5661a6e7b3b0f2a656183547 \
     25                    sha256  67ce5e323d3366cd76b41e794ccc5fa580ed83267332f8c06c36ffe6ad20185d
    2526
    2627if {${subport} != ${name}} {
    27     depends_build-append port:py${python.version}-distribute
     28    depends_build-append  port:py${python.version}-distribute
     29    depends_run           port:pep8_select
     30    select.group          ${realname}
     31    select.file           ${filespath}/${realname}${python.version}
     32    notes "
     33To make the Python ${python.branch} version of pep8 the one that is run\
     34when you execute the commands without a version suffix, e.g. 'pep8', run:
     35
     36port select --set ${select.group} [file tail ${select.file}]
     37"
     38
    2839}
Note: See TracChangeset for help on using the changeset viewer.