Opened 12 years ago

Closed 12 years ago

#37099 closed defect (fixed)

py26-notify-python installs to the wrong directory

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: elelay (Eric Le Lay)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: haspatch Cc:
Port: py26-notify-python

Description

$ port contents py26-notify-python
Port py26-notify-python contains:
  /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pkgconfig/notify-python.pc
  /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.7/site-packages/gtk-2.0/pynotify/__init__.py
  /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.7/site-packages/gtk-2.0/pynotify/__init__.pyc
  /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.7/site-packages/gtk-2.0/pynotify/__init__.pyo
  /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.7/site-packages/gtk-2.0/pynotify/_pynotify.la
  /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.7/site-packages/gtk-2.0/pynotify/_pynotify.so
  /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/pygtk/2.0/defs/pynotify.defs

Note the "python2.7" directory in this py26 port.

Attachments (2)

main.log (154.5 KB) - added by ryandesign (Ryan Carsten Schmidt) 12 years ago.
py26-notify-python.diff (640 bytes) - added by ryandesign (Ryan Carsten Schmidt) 12 years ago.
proposed patch

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added

These lines in the log seem relevant:

:info:configure checking for a Python interpreter with version >= 2.3.5... python
:info:configure checking for python... /usr/bin/python
:info:configure checking for python version... 2.7

I think you just need to set configure.python correctly. The attached patch works for me. Note that you already fixed this for py27-notify-python in r72427.

Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: py26-notify-python.diff added

proposed patch

comment:2 Changed 12 years ago by elelay (Eric Le Lay)

fixed in r100207

Thanks for the patch: it's indeed what was needed,
Eric

comment:3 Changed 12 years ago by elelay (Eric Le Lay)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.