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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python 1.0 |
---|
5 | PortGroup select 1.0 |
---|
6 | |
---|
7 | name py-autopep8 |
---|
8 | set realname autopep8 |
---|
9 | version 0.8 |
---|
10 | categories-append devel |
---|
11 | platforms darwin |
---|
12 | license Expat License |
---|
13 | maintainers gmail.com:patrik.hartlen openmaintainer |
---|
14 | |
---|
15 | description A tool that automatically formats Python code to conform to the PEP 8 style guide |
---|
16 | long_description autopep8 formats Python code based on the output of the pep8_ utility. \ |
---|
17 | Home-page: https://github.com/hhatto/autopep8 \ |
---|
18 | Author: Hideo Hattori \ |
---|
19 | Author-email: hhatto.jp@gmail.com |
---|
20 | |
---|
21 | homepage http://pypi.python.org/pypi/${realname} |
---|
22 | |
---|
23 | master_sites http://pypi.python.org/packages/source/p/${realname} |
---|
24 | distname ${realname}-${version} |
---|
25 | checksums rmd160 b071390601a2c8a78d5976f9c36ee3b535121041 \ |
---|
26 | sha256 b363982590c9f764c1614464a13b1820421e72ddf6d32bb0bbbc5bc3bf14d1a8 |
---|
27 | |
---|
28 | python.versions 26 27 31 32 33 |
---|
29 | |
---|
30 | if {${subport} != ${name}} { |
---|
31 | depends_build-append port:py${python.version}-distribute |
---|
32 | depends_run-append port:py${python.version}-distribute \ |
---|
33 | port:${realname}_select \ |
---|
34 | port:py${python.version}-pep8 |
---|
35 | select.group ${realname} |
---|
36 | select.file ${filespath}/${realname}${python.version} |
---|
37 | notes " |
---|
38 | To make the Python ${python.branch} version of autopep8 the one that is run\ |
---|
39 | when you execute the commands without a version suffix, e.g. 'autopep8', run: |
---|
40 | |
---|
41 | port select --set ${select.group} [file tail ${select.file}] |
---|
42 | " |
---|
43 | |
---|
44 | } |
---|