poudriere, python ports, and flavors oh my?

René Ladan rene at freebsd.org
Fri Dec 1 18:36:17 UTC 2017


Op 1 dec. 2017 19:06 schreef "Henrik Hudson" <lists at rhavenn.net>:

So, I must be missing something. I have a poudriere jail specific
make.conf like this:

#####
#unset some options by default
OPTIONS_UNSET= ALSA APIDOCS BONJOUR CUPS DEBUG DOCBOOK DOCS EXAMPLES GNUTLS
HTMLDOCS \
        PULSEAUDIO SOUND STATIC TESTS X11 XINERAMA XORG

#fetch arguments - set timeout
FETCH_BEFORE_ARGS=-T 3600

#perl version
DEFAULT_VERSIONS+= perl5=5.26

#PHP version
DEFAULT_VERSIONS+= php=71

#MySQL version - use MariaDB
WITH_MYSQL_VER=101m

#OpenSSL
DEFAULT_VERSIONS+= ssl=openssl

#PostgreSQL
DEFAULT_VERSIONS+= pgsql=10

#Python
DEFAULT_VERSIONS+= python=3.6 python2=2.7 python3=3.6

#use LDAP SASL support
WANT_OPENLDAP_SASL=yes
#####


Reading in Mk/Uses/python.mk it seems to state that if
USE_PYTHON=distutils is set in a Makefile that a port will be built
for both Python2 and Python3 defaults. However, except for
setuptools, all my ports are only building py27 ports.

For example, the devel/awscli only builds py27-awscli and it has:

USE_PYTHON=     autoplist distutils concurrent

I would think if anything, using my DEFAULT_VERSIONS, that it would
only build the 3.6 version?

I think you can remove the Python line now, that should enable building
both the  2.7 and 3.6 (?) versions.

René


henrik
--
Henrik Hudson
lists at rhavenn.net
-----------------------------------------
"God, root, what is difference?" Pitr; UF

_______________________________________________
freebsd-ports at freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"


More information about the freebsd-ports mailing list