Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Dec 2017 19:36:15 +0100
From:      =?UTF-8?Q?Ren=C3=A9_Ladan?= <rene@freebsd.org>
To:        Henrik Hudson <lists@rhavenn.net>
Cc:        freebsd ports <freebsd-ports@freebsd.org>
Subject:   Re: poudriere, python ports, and flavors oh my?
Message-ID:  <CADL2u4j=Na0ejiDaxHuN57zfz%2B3UVfx3qrqa0qpXSmKUg1T5Jg@mail.gmail.com>
In-Reply-To: <CADL2u4jD5GNybUuOYtfsE9Hx4W36=oBC0xRw72ivr=aQW=T%2BFg@mail.gmail.com>
References:  <20171201175750.GA32973@vash.rhavenn.local> <CADL2u4haZ4iE=DN3RbsTbpM9rZ-RzcnHjit3oz3V7W0QX9hnKQ@mail.gmail.com> <CADL2u4jD5GNybUuOYtfsE9Hx4W36=oBC0xRw72ivr=aQW=T%2BFg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Op 1 dec. 2017 19:06 schreef "Henrik Hudson" <lists@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=3D ALSA APIDOCS BONJOUR CUPS DEBUG DOCBOOK DOCS EXAMPLES GNUT=
LS
HTMLDOCS \
        PULSEAUDIO SOUND STATIC TESTS X11 XINERAMA XORG

#fetch arguments - set timeout
FETCH_BEFORE_ARGS=3D-T 3600

#perl version
DEFAULT_VERSIONS+=3D perl5=3D5.26

#PHP version
DEFAULT_VERSIONS+=3D php=3D71

#MySQL version - use MariaDB
WITH_MYSQL_VER=3D101m

#OpenSSL
DEFAULT_VERSIONS+=3D ssl=3Dopenssl

#PostgreSQL
DEFAULT_VERSIONS+=3D pgsql=3D10

#Python
DEFAULT_VERSIONS+=3D python=3D3.6 python2=3D2.7 python3=3D3.6

#use LDAP SASL support
WANT_OPENLDAP_SASL=3Dyes
#####


Reading in Mk/Uses/python.mk it seems to state that if
USE_PYTHON=3Ddistutils 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=3D     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=C3=A9


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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADL2u4j=Na0ejiDaxHuN57zfz%2B3UVfx3qrqa0qpXSmKUg1T5Jg>