Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Nov 2017 07:14:17 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        blubee blubeeme <gurenchan@gmail.com>
Cc:        freebsd-python@freebsd.org
Subject:   Re: ports depending on python modules
Message-ID:  <20171108061417.GA18803@slackbox.erewhon.home>
In-Reply-To: <CALM2mEnRX44dYmEmZy7cWhe8b9wuKsV7iV5yh2orvYHWL9_BKw@mail.gmail.com>
References:  <CALM2mEnRX44dYmEmZy7cWhe8b9wuKsV7iV5yh2orvYHWL9_BKw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 08, 2017 at 01:54:36AM +0800, blubee blubeeme wrote:
> I am having some real tough time building this port that requires python
> modules.
> 
> Is there anyone in here willing to help me debug this issue?
> 
> Whenever I add:
> USE_GNOME py3gobject3
> 
> to my port it tries to build lib-mesa with python2 instead of python3 so
> the build fails.
> 
> I need those py3gobject3 introspection bindings though.
> 
> Anyone have some time to assist me with this?

At this moment, the ports tree is not set up to handle Python 3 as the default
Python.

Work is being done in the ports tree to support different (Python)
“flavors” (i.e. Python2 and Python 3) without separate py3-* ports.
See e.g. https://wiki.freebsd.org/Ports/FlavorsAndSubPackages

Ports that don't behave with flavors are being fixed:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223071

I think you should wait until that work has been completed and released.

Otherwise, you'd have do make duplicate Python 3 based ports of everything
required for py3gobject3.


Roland
-- 
R.F.Smith                                   http://rsmith.home.xs4all.nl/
[plain text email much appreciated]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171108061417.GA18803>