[MacPorts] #37628: Request to att new port
#37628: Request to att new port ------------------------------+-------------------------------- Reporter: patrik.hartlen@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: py-autopep8 ------------------------------+-------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/37628> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37628: Submission: py-autopep8 -------------------------------+-------------------------------- Reporter: patrik.hartlen@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-autopep8 | -------------------------------+-------------------------------- Changes (by larryv@…): * version: 2.1.2 => * type: request => submission Comment: If there aren’t too many files, please try to upload them directly so that Trac can preview them. -- Ticket URL: <https://trac.macports.org/ticket/37628#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37628: Submission: py-autopep8 -------------------------------+-------------------------------- Reporter: patrik.hartlen@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-autopep8 | -------------------------------+-------------------------------- Comment (by ryandesign@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/37628#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37628: Submission: py-autopep8 -------------------------------+-------------------------------- Reporter: patrik.hartlen@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-autopep8 | -------------------------------+-------------------------------- Comment (by larryv@…): You’ll need an `autopep8_select` port also, if you wish to make `py- autopep8` work with `port select`. See [source:trunk/dports/python/pep8_select pep8_select] for an example. -- Ticket URL: <https://trac.macports.org/ticket/37628#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37628: Submission: py-autopep8 -------------------------------+-------------------------------- Reporter: patrik.hartlen@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-autopep8 | -------------------------------+-------------------------------- Comment (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?) -- Ticket URL: <https://trac.macports.org/ticket/37628#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37628: Submission: py-autopep8 -------------------------------+-------------------------------- Reporter: patrik.hartlen@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-autopep8 | -------------------------------+-------------------------------- Comment (by 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 -- Ticket URL: <https://trac.macports.org/ticket/37628#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37628: Submission: py-autopep8 -------------------------------+-------------------------------- Reporter: patrik.hartlen@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-autopep8 | -------------------------------+-------------------------------- Comment (by patrik.hartlen@…): Replying to [comment:5 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. -- Ticket URL: <https://trac.macports.org/ticket/37628#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37628: Submission: py-autopep8 -------------------------------+---------------------- Reporter: patrik.hartlen@… | Owner: larryv@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-autopep8 | -------------------------------+---------------------- Changes (by larryv@…): * owner: macports-tickets@… => larryv@… * status: new => assigned Comment: Thanks, I’ll take a look at it shortly. -- Ticket URL: <https://trac.macports.org/ticket/37628#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37628: Submission: py-autopep8 -------------------------------+---------------------- Reporter: patrik.hartlen@… | Owner: larryv@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: py-autopep8 | -------------------------------+---------------------- Changes (by larryv@…): * status: assigned => closed * resolution: => fixed Comment: Added in r101808. -- Ticket URL: <https://trac.macports.org/ticket/37628#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts