Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18524 closed enhancement (duplicate)

python25 Enhancement - Add a readline variant

Reported by: spreng@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: python25

Description

I've modified the python25 Portfile to add a readline variant which enables command history and tab completion for the python shell.

It would probably be a good idea to set this variant as default unless you have a reason not to do so (I don't know why readline was disabled until now), but that's not part of this patch.

PS: Such a patch would probably also be applicable to all the other python variants. PPS: This is my first patch to a Portfile so far, please tell me if I have done any mistakes.

Cheers,

Tom.

Attachments (1)

Portfile-python25.diff (627 bytes) - added by spreng@… 16 years ago.

Download all attachments as: .zip

Change History (4)

Changed 16 years ago by spreng@…

Attachment: Portfile-python25.diff added

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Cc: mww@… removed
Owner: changed from macports-tickets@… to mww@…

comment:2 Changed 16 years ago by blb@…

Resolution: duplicate
Status: newclosed

Having python25 depend on py25-readline, when py25-readline already depends on python25, is a really bad idea (circular dependencies). Also, simply installing py25-readline after python25 is simpler than reinstalling python25 with new variants.

The general issue of these split-out modules is ticket #12369, dup'ing to that.

comment:3 Changed 16 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.