Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18910 closed defect (fixed)

py26-jinja2 installs documentation into sys.prefix

Reported by: arthur@… Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: py26-jinja2

Description

$ sudo port contents py26-jinja2:

  /opt/local/Library/Frameworks/Python.framework/Versions/2.6/docs/api.html
  /opt/local/Library/Frameworks/Python.framework/Versions/2.6/docs/changelog.html
  /opt/local/Library/Frameworks/Python.framework/Versions/2.6/docs/extensions.html
  ...

This can cause problems when multiple versions are installed. The attached patch fixes this issue and puts documentation files in a package-specific directory:

  /opt/local/Library/Frameworks/Python.framework/Versions/2.6/docs/py26-jinja2/api.html
  /opt/local/Library/Frameworks/Python.framework/Versions/2.6/docs/py26-jinja2/changelog.html
  /opt/local/Library/Frameworks/Python.framework/Versions/2.6/docs/py26-jinja2/extensions.html
  ...

Attachments (3)

Portfile.diff (355 bytes) - added by arthur@… 16 years ago.
py26-jinja2 diff
patch-setup.py.diff (408 bytes) - added by arthur@… 16 years ago.
files/patch-setup.py.diff
Portfile.2.diff (376 bytes) - added by arthurk@… 16 years ago.

Download all attachments as: .zip

Change History (7)

Changed 16 years ago by arthur@…

Attachment: Portfile.diff added

py26-jinja2 diff

Changed 16 years ago by arthur@…

Attachment: patch-setup.py.diff added

files/patch-setup.py.diff

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to jmr@…
Port: py26-jinja2 added
Status: newassigned

Changed 16 years ago by arthurk@…

Attachment: Portfile.2.diff added

comment:2 Changed 16 years ago by arthurk@…

See Portfile.2.diff for a better patch than Portfile.diff. It doesn't require a patchfile (files/patch-setup.py.diff).

comment:3 Changed 16 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

Thanks, applied in r49973.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.