[MacPorts] #37048: weechat: python variants
#37048: weechat: python variants --------------------------+--------------------- Reporter: ryandesign@… | Owner: nefar@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: weechat --------------------------+--------------------- The weechat port has a python variant: {{{ variant python description {Bindings for python plugins} { configure.args-delete --disable-python configure.args-append --enable-python depends_lib-append path:bin/python:python26 } }}} The dependency on `path:bin/python:python26` is incorrect because the python26 port does not provide /opt/local/bin/python; it provides /opt/local/bin/python2.6. You should offer variants for each supported version of python (e.g. python25, python26, python27) and in each one depend on the correct python port and use configure args, environment variables or patches to communicate to the weechat build system which version of python should be used. The python variant should be kept around for one year, turned into a stub variant, depending on the python26 variant, to help users upgrade. ("`variant python requires python26 description {Legacy compatibility variant} {}`") Or if you're feeling adventurous, and even better solution would be to offer the python bindings as subports instead of as variants. Not sure it the weechat build system will easily accommodate that however. -- Ticket URL: <https://trac.macports.org/ticket/37048> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37048: weechat: python variants ---------------------------+------------------------- Reporter: ryandesign@… | Owner: starkhalo@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: weechat | ---------------------------+------------------------- Changes (by cal@…): * owner: nefar@… => starkhalo@… Comment: Re-assigning to new maintainer. -- Ticket URL: <https://trac.macports.org/ticket/37048#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts