[115805] trunk/dports/python/py-enable

Ryan Schmidt ryandesign at macports.org
Sun Jan 12 11:18:24 PST 2014


On Jan 11, 2014, at 16:01, mojca at macports.org wrote:

> Revision
> 115805
> Author
> mojca at macports.org
> Date
> 2014-01-11 14:01:15 -0800 (Sat, 11 Jan 2014)
> Log Message
> 
> py-enable: upgrade to 4.3.0, use github PortGroup, add new variants (pyqt4, pyside) (maintainer, #42075)

> Modified: trunk/dports/python/py-enable/Portfile (115804 => 115805)

> +    variant pyqt4 conflicts pyside description "Qt backend using PyQt4" {
> +        # Can use either py*-pyqt4 or py*-pyqt4-devel.
> +        depends_lib-append  path:share/py${python.version}-sip/PyQt4:py${python.version}-pyqt4
> +    }
> +
> +    variant pyside conflicts pyqt4 description "Qt backend using PySide" {
> +        depends_lib-append  port:py${python.version}-pyside
> +    }
> +
> +    default_variants        +pyqt4

pyqt4 should only be a default variant if the user has not already selected the pyside variant. Otherwise:

$ port info py27-enable +pyside
Error: py-enable: Variant pyqt4 conflicts with pyside
Error: Unable to open port: Error evaluating variants




More information about the macports-dev mailing list