PYTHON_VERSION=python3.4 and USES=python:2,build

John W. O'Brien john at saltant.com
Sun Nov 30 14:24:05 UTC 2014


On 11/29/14 11:40 PM, Andrew Berg wrote:
> On 2014.11.29 22:00, John W. O'Brien wrote:
>> Let's say that I want to build net/py-pyzmq with
>> PYTHON_VERSION=python3.4.
> Why this instead of using DEFAULT_VERSIONS?

I was following this advice:

https://lists.freebsd.org/pipermail/freebsd-python/2014-October/007606.html

>> It looks like the right thing to do, short of
>> patching openpgm's build scripts to be py3k-friendly, is to update
>> net/openpgm/Makefile from USES=python to USES=python:2,build. The
>> trouble is that doesn't work either
> My Poudriere instance disagrees that there is an issue with this solution:
> https://candace.robotsondrugs.com/poudriere/build.html?mastername=101x64-porttest&build=2014.11.29_22%3A27%3A52
> Take note of what's in /usr/local/etc/poudriere.d/101x64-make.conf as listed in
> any of the log files.

You're referring to this line?

    DEFAULT_VERSIONS=php=5.6 mysql=5.6 pgsql=9.4 python=3.4 python2=2.7
python3=3.4

My situation is different in that I'm aiming, perhaps misguidedly, for

    DEFAULT_VERSIONS=python=2.7
    PYTHON_VERSION=python3.4

which is why it works for you and fails for me.

> Also, FWIW, I have an open PR requesting this exact change to net/openpgm.

Ah, ha. So you do. Great minds think alike? ;-)

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

Looks like it's reached maintainer timeout. Are there any friendly
neighborhood ports committers nearby, willing to take this?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-python/attachments/20141130/c0d14612/attachment.sig>


More information about the freebsd-python mailing list