New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #15477 (closed enhancement: fixed)

Opened 5 years ago

Last modified 4 years ago

tex/rubber: use python25

Reported by: ram@… Owned by: ram@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: milosh@…
Port:

Description

The attached patch updates tex/rubber to use python25.

Attachments

rubber-python25.diff (950 bytes) - added by ram@… 5 years ago.
use python25

Change History

Changed 5 years ago by ram@…

use python25

comment:1 follow-up: ↓ 6 Changed 5 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 5 years ago by ram@…

  • Owner changed from milosh@… to ram@…
  • Status changed from new to assigned

maintainer timeout

comment:3 Changed 5 years ago by ram@…

  • Status changed from assigned to closed
  • Resolution set to fixed

commited in r37407

comment:4 Changed 5 years ago by jmr@…

  • Cc milosh@… added
  • Status changed from closed to reopened
  • Resolution fixed deleted

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

comment:5 Changed 5 years ago by ram@…

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

comment:6 in reply to: ↑ 1 ; follow-up: ↓ 7 Changed 5 years ago by raimue@…

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 5 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 follow-up: ↓ 9 Changed 5 years ago by ram@…

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 5 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 5 years ago by ram@…

  • Status changed from reopened to closed
  • Resolution set to fixed

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

comment:11 Changed 4 years ago by anonymous

  • Milestone Port Enhancements deleted

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.