Opened 13 years ago

Closed 13 years ago

#30255 closed enhancement (duplicate)

Mercurial can be built on python2.7

Reported by: macports@… Owned by: deric@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: mercurial

Description

Mercurial works with Python 2.4 - 2.7 according to the website. Currently, macports is building against Python 2.6, thus bringing in python27 when almost everything else has progressed to python27. Building against python27 will alleviate the need to keep around two versions of Python.

I am providing the extremely simple patch to build with the new version. I have tested building and using hg on adium repo. There may be a more elegant way to allow it to allow building with python26 if that is the only version installed, while defaulting to python27 if present or at least no other Python version is installed, but I am not a portfile expert.

Attachments (1)

mercurial.diff (378 bytes) - added by macports@… 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by macports@…

Attachment: mercurial.diff added

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

Keywords: haspatch added; mercurial python27 removed
Owner: changed from macports-tickets@… to deric@…
Port: mercurial added; devel/mercurial removed
Type: updateenhancement
Version: 1.9.2

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.