Opened 12 years ago
Closed 12 years ago
#37628 closed submission (fixed)
Submission: py-autopep8
Reported by: | patrik.hartlen@… | Owned by: | larryv (Lawrence Velázquez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | py-autopep8 |
Description
Hi,
I would like to add a new port, py-autopep8, which is used to auto format python files according to the PEP8 style guide. I'm new to creating ports so please correct or reply if I have made any mistakes.
thanks Patrik
Attachments (5)
Change History (13)
Changed 12 years ago by patrik.hartlen@…
Attachment: | py-autopep8.tar.gz added |
---|
comment:1 Changed 12 years ago by larryv (Lawrence Velázquez)
Summary: | Request to att new port → Submission: py-autopep8 |
---|---|
Type: | request → submission |
Version: | 2.1.2 |
Changed 12 years ago by larryv (Lawrence Velázquez)
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
The license field should be "MIT".
The description should not include the author's name or email address; we don't list that information in Portfiles. It also shouldn't include the homepage; that's what the homepage
option is for.
comment:3 Changed 12 years ago by larryv (Lawrence Velázquez)
You’ll need an autopep8_select
port also, if you wish to make py-autopep8
work with port select
. See pep8_select for an example.
Changed 12 years ago by patrik.hartlen@…
Attachment: | autopep8_select-Portfile added |
---|
Changed 12 years ago by patrik.hartlen@…
Attachment: | py-autopep8-Portfile added |
---|
comment:4 Changed 12 years ago by patrik.hartlen@…
I have updated the license to MIT and removed the author information. Also created a autopep8_select port, thanks for the info!
All files uploaded to autopep8.tar.gz and separate Portfiles for your convenience.
New tree structure:
autopep8_select ├── Portfile └── files ├── base └── none py-autopep8 ├── Portfile └── files ├── autopep826 ├── autopep827 ├── autopep831 ├── autopep832 └── autopep833
Is there a way to test the new ports locally? (I guess I need to add the port to some index files?)
comment:5 follow-up: 6 Changed 12 years ago by larryv (Lawrence Velázquez)
You’ll probably want to look into setting up a local repository for your Portfiles.
http://guide.macports.org/chunked/development.local-repositories.html
Changed 12 years ago by patrik.hartlen@…
Attachment: | autopep8.tar.gz added |
---|
autopep8 with select, verified version
comment:6 Changed 12 years ago by patrik.hartlen@…
Replying to larryv@…:
You’ll probably want to look into setting up a local repository for your Portfiles.
http://guide.macports.org/chunked/development.local-repositories.html
Thanks a lot, works as expected.
I have updated autopep8.tar.gz with tested and verified version of the ports:
- py-autopep8
- autopep8-select
Hopefully they now can be added to the repository.
comment:7 Changed 12 years ago by larryv (Lawrence Velázquez)
Owner: | changed from macports-tickets@… to larryv@… |
---|---|
Status: | new → assigned |
Thanks, I’ll take a look at it shortly.
comment:8 Changed 12 years ago by larryv (Lawrence Velázquez)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Added in r101808.
If there aren’t too many files, please try to upload them directly so that Trac can preview them.