Opened 11 years ago

Closed 11 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)

py-autopep8.tar.gz (1.1 KB) - added by patrik.hartlen@… 11 years ago.
Portfile (1.8 KB) - added by larryv (Lawrence Velázquez) 11 years ago.
autopep8_select-Portfile (899 bytes) - added by patrik.hartlen@… 11 years ago.
py-autopep8-Portfile (1.6 KB) - added by patrik.hartlen@… 11 years ago.
autopep8.tar.gz (14.5 KB) - added by patrik.hartlen@… 11 years ago.
autopep8 with select, verified version

Download all attachments as: .zip

Change History (13)

Changed 11 years ago by patrik.hartlen@…

Attachment: py-autopep8.tar.gz added

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Summary: Request to att new portSubmission: py-autopep8
Type: requestsubmission
Version: 2.1.2

If there aren’t too many files, please try to upload them directly so that Trac can preview them.

Changed 11 years ago by larryv (Lawrence Velázquez)

Attachment: Portfile added

comment:2 Changed 11 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 11 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 11 years ago by patrik.hartlen@…

Attachment: autopep8_select-Portfile added

Changed 11 years ago by patrik.hartlen@…

Attachment: py-autopep8-Portfile added

comment:4 Changed 11 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 Changed 11 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 11 years ago by patrik.hartlen@…

Attachment: autopep8.tar.gz added

autopep8 with select, verified version

comment:6 in reply to:  5 Changed 11 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 11 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to larryv@…
Status: newassigned

Thanks, I’ll take a look at it shortly.

comment:8 Changed 11 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: assignedclosed

Added in r101808.

Note: See TracTickets for help on using tickets.