<div dir="ltr">pgcli doesn't care, but, for example, user of postgresql96 don't want to install postgresql95 when installing pgcli just because default variant of py-psycopg2 is postgresql95.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 19, 2017 at 5:58 PM, Ryan Schmidt <span dir="ltr"><<a href="mailto:ryandesign@macports.org" target="_blank">ryandesign@macports.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On Jan 19, 2017, at 17:29, Ivan Larionov <<a href="mailto:xeron.oskom@gmail.com">xeron.oskom@gmail.com</a>> wrote:<br>
><br>
> How do we control postgresql version for py-psycopg2 when installing pgcli then? Is there a way to do something like this?<br>
><br>
> if variant postgresql96 {<br>
> depends_lib-append py{python.version}-psycopg2 +postgresql96<br>
> }<br>
<br>
</span>You cannot declare a dependency on a variant. MacPorts does not contain that functionality.<br>
<br>
In what way does pgcli care what variant of pyXX-psycopg2 is installed?<br>
<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">With best regards, Ivan Larionov.</div>
</div>