#27757: mercurial: use python27 -----------------------------------------+---------------------------------- Reporter: singingwolfboy@… | Owner: deric@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: mercurial -----------------------------------------+---------------------------------- Comment(by macports@…): Replying to [comment:10 marc.schlaich@…]:
I should note again: Why there is no py26-mercurial and py27-mercurial? There are a lot of follow up packages which requires Mercurial as a package, for example hggit and hgsubversion, which exists only for Python 2.6 because of this weak port name.
As stated before, that naming convention is for python modules, not applications using python. It makes sense to have modules installed for more than one python version, but it does not make sense to have more than one instance of a Python-using app installed. The more correct solution would be to use variants and have the default variant be python27 but use python26 or whatever other variant if that is the installed version. How to make that happen is something I haven't the time to dive into, but there are some ports that work this way (e.g. avahi). -- Ticket URL: <https://trac.macports.org/ticket/27757#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS