Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Nov 2014 22:40:08 -0600
From:      Andrew Berg <aberg010@my.hennepintech.edu>
To:        <freebsd-python@freebsd.org>
Subject:   Re: PYTHON_VERSION=python3.4 and USES=python:2,build
Message-ID:  <547A9FA8.9070909@my.hennepintech.edu>
In-Reply-To: <547A9656.9030602@saltant.com>
References:  <547A9656.9030602@saltant.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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?

> 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.

[perry /usr/local/poudriere/ports/porttest]# svnlite diff
Index: net/openpgm/Makefile
===================================================================
--- net/openpgm/Makefile        (revision 373657)
+++ net/openpgm/Makefile        (working copy)
@@ -14,7 +14,7 @@
 LICENSE=       LGPL3

 GNU_CONFIGURE= yes
-USES=          pathfix perl5 tar:bzip2 libtool python
+USES=          pathfix perl5 tar:bzip2 libtool python:2,build
 USE_LDCONFIG=  yes
 WRKSRC=                ${WRKDIR}/${DISTNAME}/openpgm/pgm
 INSTALL_TARGET=        install-strip

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



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