Opened 12 years ago

Closed 11 years ago

#38535 closed enhancement (wontfix)

relax: support other python versions

Reported by: ci42 Owned by: howarth@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: petrrr, mf2k (Frank Schima)
Port: relax

Description

Relax currently supports only python version 2.7 using the python27 portgroup. With the unified python portgroup you could support other python versions quite easily.

Change History (6)

comment:1 Changed 11 years ago by mojca (Mojca Miklavec)

See also #40341.

comment:2 Changed 11 years ago by mojca (Mojca Miklavec)

Partially fixed in r110728. I don't know if that qualifies as fixed or not. From my understanding the port would need to be renamed from relax to py-relax to support multiple python versions?

comment:3 Changed 11 years ago by mf2k (Frank Schima)

It could support other versions with pythonXY variants. py-foo ports are only for python modules, which relax is not. Both cases should use the python 1.0 PortGroup like this port now does.

comment:4 Changed 11 years ago by petrrr

Cc: Peter.Danecek@… added

Cc Me!

comment:5 Changed 11 years ago by mojca (Mojca Miklavec)

Cc: macsforever2000@… added

I opened a new ticket #40734. I'm not sure if it's doable, but it would be nice to have the variants somehow added automatically.

Even if not waiting for someone to implement additional functionality it is not really clear to me how to avoid duplication of code like:

depends_lib-append  port:pymol \
                    port:py${python.version}-scipy \
                    port:py${python.version}-numpy \
                    port:py${python.version}-wxpython-3.0

if variants are added.

comment:6 Changed 11 years ago by mojca (Mojca Miklavec)

Resolution: wontfix
Status: newclosed
Version: 2.1.3

I took a look at this ticket again after a while and noticed that while it would be nice if someone took a look at ticket #40734, there is basically no other Python version that one could use instead of Python 2.7 for this particular port. Python 3.x is not supported by wxPython and py2X-wxpython-3.0 doesn't exist for anything else but Python 2.7. (It could be added if there was a need, but I don't see any need for that and there was no specific request for it.)

I changed the ticket to use the unified PortGroup a while ago as requested, but that's basically all that can reasonably be done. If you happen to have a specific need to use any other particular version of Python, please open a new ticket.

Note: See TracTickets for help on using tickets.