#17649 closed submission (fixed)
Add pip ports for Python
Reported by: | arthur@… | Owned by: | nerdling (Jeremy Lavergne) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | ||
Port: | py-pip py25-pip py26-pip |
Description
Attachments (7)
Change History (18)
comment:1 Changed 16 years ago by mf2k (Frank Schima)
Port: | py-pip py25-pip py26-pip added |
---|
comment:2 Changed 16 years ago by blb@…
comment:3 Changed 16 years ago by arthur@…
Thanks for the notice, I didn't know that. I updated the ports to install additional documentation and added the symlink for the py26 port.
Is there a recommended way to make both (py and py25) ports work without conflicting each other? Maybe move the py25 binary to pip-2.5?
comment:4 Changed 16 years ago by blb@…
The simplest would be to rename the pip in py- and py-25 to be pip-2.4 and pip-2.5, respectively. This of course creates the issue of people expecting to be able to run just 'pip', so if that's an absolute necessity then perhaps keeping just 'pip' would be preferred and know that these ports conflict with one another.
Changed 16 years ago by arthur@…
Attachment: | Portfile.2 added |
---|
comment:5 Changed 16 years ago by arthur@…
Done. The pip ports now rename the binary to pip-2.4/2.5/2.6. I did a quick test and everything seems to work fine.
comment:8 Changed 16 years ago by nerdling (Jeremy Lavergne)
Owner: | changed from macports-tickets@… to snc@… |
---|---|
Status: | new → assigned |
comment:9 Changed 16 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Portfiles were missing ending EOF. Fixed them and committed all as r46330.
comment:10 Changed 16 years ago by jmroot (Joshua Root)
Type: | enhancement → submission |
---|
comment:11 Changed 16 years ago by (none)
Milestone: | Port Submissions |
---|
Milestone Port Submissions deleted
Note that py-pip and py25-pip both install ${prefix}/bin/pip so that only one can be installed at a time. py26-pip installs everything in the framework location, so that doesn't happen but it should symlink pip to ${prefix}/bin/pip-2.6 (unless you really only want one to be installable at a time); see py26-setuptools for an example of the symlink, in post-destroot.