#43091: py27-matplotlib @1.3.1_4: +gtk3 variant missing dependency on gtk3 -----------------------------+-------------------------------- Reporter: md14-macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: haspatch | Port: py-matplotlib -----------------------------+-------------------------------- Installing `py-matplotlib +gtk3` fails if the gtk3 port is not installed. {{{ $ port installed gtk3 None of the specified ports are installed. $ sudo port -vs install py27-matplotlib +gtk3 ... ---> Building py27-matplotlib ... OPTIONAL BACKEND EXTENSIONS ... gtk3agg: no [Requires gtk3 development files to be installed.] ... ============================================================================ * The following required packages can not be built: * gtk3agg Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py- matplotlib/py27-matplotlib/work/matplotlib-1.3.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build Exit code: 1 Error: org.macports.build for port py27-matplotlib returned: command execution failed Warning: targets not executed for py27-matplotlib: org.macports.activate org.macports.build org.macports.destroot org.macports.install Please see the log file for port py27-matplotlib for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-matplotlib/py27-matplotlib/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port py27-matplotlib failed }}} The attached patch fixes the problem. -- Ticket URL: <https://trac.macports.org/ticket/43091> MacPorts <http://www.macports.org/> Ports system for OS X