[Bug 184954] Installation checks prevent multiple python ports being installed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 22 05:17:05 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184954

--- Comment #5 from Marcus von Appen <mva at FreeBSD.org> ---
The problem is not about man pages, but about how you configure poudriere.
There can be only one default python version at any time, which is the reason,
why your approach does not work.

The correct approach for your poudriere environment would be to build packages
with the proper default python version and to build packages with a
user-supplied PYTHON_VERSION setting.

If you build packages for python2.7 as default and python3.4 as default,
packages may conflict, since e.g. the f2py binary would link to f2py-2.7 and
also to f2py-3.4 (or the man page or the docs, etc.).

A correct poudriere configuration could look like this:

/usr/local/etc/poudriere.d/make.conf:

PYTHON_DEFAULT_VERSION=python2.7

/usr/local/etc/poudriere.d/python34-make.conf:

PYTHON_DEFAULT_VERSION=python2.7
PYTHON_VERSION=python3.4

To build packages for your default, just invoke poudriere without a set option,
as you are used to. To build packages for python3.4, add the set option:

poudriere ... -z python34 ...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-python mailing list