Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#15477 closed enhancement (fixed)

tex/rubber: use python25

Reported by: skymoo (Adam Mercer) Owned by: skymoo (Adam Mercer)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: milosh@…
Port:

Description

The attached patch updates tex/rubber to use python25.

Attachments (1)

rubber-python25.diff (950 bytes) - added by skymoo (Adam Mercer) 12 years ago.
use python25

Download all attachments as: .zip

Change History (12)

Changed 12 years ago by skymoo (Adam Mercer)

Attachment: rubber-python25.diff added

use python25

comment:1 Changed 12 years ago by milosh@…

I am against this change. rubber works very well with python24 or apple's python (be it in tiger or in leopard) and as rubber installs outside of python's path I don't see the point of requiring a particular version.

Making it depend on python_select would be a good idea however.

comment:2 Changed 12 years ago by skymoo (Adam Mercer)

Owner: changed from milosh@… to ram@…
Status: newassigned

maintainer timeout

comment:3 Changed 12 years ago by skymoo (Adam Mercer)

Resolution: fixed
Status: assignedclosed

commited in r37407

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Cc: milosh@… added
Resolution: fixed
Status: closedreopened

How was it a maintainer timeout? He responded in comment:1.

comment:5 Changed 12 years ago by skymoo (Adam Mercer)

Sorry, missed that. I've reverted the change in r37413

comment:6 in reply to:  1 ; Changed 12 years ago by raimue (Rainer Müller)

Replying to milosh@macports.org:

Making it depend on python_select would be a good idea however.

As python_select can't depend on any specific version of python, this won't work. Until we get a better dependency engine, my advice would be to add variants for each python version (+python24, +python25 etc.).

comment:7 in reply to:  6 Changed 12 years ago by milosh@…

Replying to raimue@macports.org:

Replying to milosh@macports.org:

Making it depend on python_select would be a good idea however.

As python_select can't depend on any specific version of python, this won't work.

As rubber works very well with Apple's python, it does work. I've made the change in r37471.

Until we get a better dependency engine, my advice would be to add variants for each python version (+python24, +python25 etc.).

This should be done by python_select, not by rubber or any other port that does not install as a python package.

comment:8 Changed 12 years ago by skymoo (Adam Mercer)

Specifying the python binary to use with --python=${prefix}/bin/python will not point to a python executable if the user has not specified a python version using python_select.

comment:9 in reply to:  8 Changed 12 years ago by milosh@…

Replying to ram@macports.org:

Specifying the python binary to use with --python=${prefix}/bin/python will not point to a python executable if the user has not specified a python version using python_select.

After installing python_select,

% ls -l /opt/local/bin/python
lrwxrwxrwx 1 11 2008-06-10 10:52 /opt/local/bin/python -> /usr/bin/python

This is enough for rubber to work.

comment:10 Changed 12 years ago by skymoo (Adam Mercer)

Resolution: fixed
Status: reopenedclosed

Wow, python_select didn't do that last time I used it. Great!

comment:11 Changed 11 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.