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

Andrew Berg aberg010 at my.hennepintech.edu
Sun Nov 30 05:13:12 UTC 2014


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.


More information about the freebsd-python mailing list