Bug 197682

Summary: [NEW PORT] devel/py-autopep8: Automatically formats Python code to PEP8 style guide
Product: Ports & Packages Reporter: Loïc Bartoletti <lbartoletti>
Component: Individual Port(s)Assignee: Martin Wilke <miwi>
Status: Closed Feedback Timeout    
Severity: Affects Only Me CC: miwi
Priority: --- Keywords: feature, needs-patch, needs-qa, patch
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
autopep8 port
none
New patch lbartoletti: maintainer-approval+

Description Loïc Bartoletti freebsd_committer freebsd_triage 2015-02-15 09:43:39 UTC
Created attachment 153004 [details]
autopep8 port

A tool that automatically formats Python code to conform to the PEP 8 style guide

autopep8 automatically formats Python code to conform to the PEP 8 style guide. It uses the pep8 utility to determine what parts of the code needs to be formatted. autopep8 is capable of fixing most of the formatting issues that can be reported by pep8 (devel/pep8).


https://pypi.python.org/pypi/autopep8


Poudriere logs:
http://download.tuxfamily.org/bartcoding/ports/py27-autopep8/
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2015-02-15 09:55:29 UTC
Thanks for your submission. Upon initial review:

- Sort USE_PYTHON values
- autopep8 requires pep8 >= 1.5.7 (See setup.py), update RUN_DEPENDS to suit
- Add LICENSE_FILE (${WRKSRC/LICENSE)

Additionally, please attach the QA logs referenced in Comment 0

Also note, svn dir should be py-autopep8 (I've modified the summary accordingly)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2015-12-23 17:22:01 UTC
Feedback timeout 10 months +
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2015-12-24 10:37:06 UTC
Please re-open this issue if/when an updated patch can be provided
Comment 4 Loïc Bartoletti freebsd_committer freebsd_triage 2016-02-17 21:21:50 UTC
Created attachment 167124 [details]
New patch

portlint: OK
porttest: OK (poudriere, 9/10/11, i386/amd64)