> On Jan 19, 2017, at 17:29, Ivan Larionov <[email protected]> wrote: > > How do we control postgresql version for py-psycopg2 when installing pgcli > then? Is there a way to do something like this? > > if variant postgresql96 { > depends_lib-append py{python.version}-psycopg2 +postgresql96 > }
You cannot declare a dependency on a variant. MacPorts does not contain that functionality. In what way does pgcli care what variant of pyXX-psycopg2 is installed?
