python search / tkinter question
Marc André Selig
mas at seligma.com
Sat Nov 11 01:46:18 PST 2006
On 11.11.2006, at 08:28, belinda thom wrote:
> Is there a particular reason that searching for python ports produces:
>
> 51 % port search python
[...]
> but that tkinter isn't included in this list?
>
> 52 % port search tkinter
> py-tkinter python/py-tkinter 2.4.3
> Python bindings to the Tk widget set
From the man page: "search: Search for an available port whose name
matches a regular expression." The port name "py-tkinter" does not
match the regular expression "python", so "port search python" will
not output "py-tkinter".
If what you're trying to do is produce a list of all ports whose
name, category or description matches "python", the command would be
port list | grep -i python
Hope this helps,
Marc
More information about the macports-users
mailing list