Opened 13 years ago

Closed 13 years ago

#29987 closed enhancement (fixed)

inkscape: allow using python27

Reported by: jowens@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: inkscape

Description

I'm moving from python26 to python27 and am noting the packages that are hardcoded to python26, including inkscape. Is it possible to make these packages dependent on a generic python? This does not seem to rely on too many python-version-specific features.

Change History (5)

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

Cc: devans@… removed
Owner: changed from macports-tickets@… to devans@…

It is not possible to depend on a "generic python". A port must specify which python to use. The port could, however, offer variants to let the user choose which python to use, and default to a recent one.

comment:2 Changed 13 years ago by jowens@…

That would be splendid.

comment:3 Changed 13 years ago by jfcaron3

Agreed, python 2.6 is getting seriously old, most other ports needing python can use 2.7, and that is the default python in Lion now anyways. I will avoid using this port if it requires me to have parallel python versions installed.

comment:4 Changed 13 years ago by ecronin (Eric Cronin)

Missed this ticket by only searching for inkscape-devel, #30696 has a patch for it

comment:5 Changed 13 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

Variants +python26 and +python27 added in r83781. Note that inkscape's dependency boost also has python version variants and so the two should probably agree to avoid any problems. This will happen automatically if you don't have boost installed yet.

Note: See TracTickets for help on using tickets.