Re: Installing multi-version ports with portmaster

2016-02-18 Thread Walter Schwarzenfeld
)> py27-psycopg2-2.6.1_1 databases/py-psycopg2 py35-psycopg2-2.6.1_1
databases/py-psycopg2

Looks like you have copied the py27 port to py35

Have you add it to the database/Makefile? (and that is problematic,
cause it could be overwritten by next update).
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Installing multi-version ports with portmaster

2016-02-18 Thread Walter Schwarzenfeld
Sorry, but I find no py35-psycopg2 on my system only py-psycopg and
py-psycopg2.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Installing multi-version ports with portmaster

2016-02-18 Thread Christian Ullrich

* Walter Schwarzenfeld wrote:

> DEFAULT_VERSIONS=python=2.7 python2=2.7 python3=3.5

Not really, no.

[root@i9b ~]# portmaster -vd databases/py-psycopg2

===>>> Currently installed version: py35-psycopg2-2.6.1_1
===>>> Port directory: /usr/ports/databases/py-psycopg2

[...]

===> Cleaning for py35-psycopg2-2.6.1_1
===>>> Waiting on fetch & checksum for databases/py-psycopg2 <<<===
/!\ WARNING /!\
Your requested default python version 2.7 is different from the
installed default python interpreter version 3.5

... and then it proceeds to reinstall for 3.5. If I give it 
PYTHON_VERSION=python2.7 explicitly, it still _replaces_ the 3.5 port 
with the 2.7 one.


[root@i9b ~]# pkg info -og py\*-psycopg2
py27-psycopg2-2.6.1_1 databases/py-psycopg2
py35-psycopg2-2.6.1_1 databases/py-psycopg2

Can't portmaster deal with shared-origin ports?

--
Christian




___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Installing multi-version ports with portmaster

2016-02-17 Thread Walter Schwarzenfeld
DEFAULT_VERSIONS=python=2.7 python2=2.7 python3=3.5

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Installing multi-version ports with portmaster

2016-02-17 Thread Christian Ullrich

Hello,

how can I use portmaster to install multiple versions of a port, such as 
databases/py-psycopg2?


My default Python version is set to 3.5, but I need psycopg2 for both 
versions. When I have py35-psycopg2 installed and do


portmaster -m PYTHON_VERSION=python2.7 databases/py-psycopg2

, it replaces the 3.5 version with the 2.7 one, and vice versa. Running 
"make PYTHON_VERSION=python2.7 install" in the port directory works, but 
isn't there a way to make portmaster keep the other port?


Thanks,

--
Christian

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"