Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Dec 2017 10:45:56 -0900
From:      Henrik Hudson <lists@rhavenn.net>
To:        =?iso-8859-1?Q?Ren=E9?= Ladan <rene@freebsd.org>
Cc:        freebsd ports <freebsd-ports@freebsd.org>
Subject:   Re: poudriere, python ports, and flavors oh my?
Message-ID:  <20171201194556.GA10659@vash.rhavenn.local>
In-Reply-To: <CADL2u4j=Na0ejiDaxHuN57zfz%2B3UVfx3qrqa0qpXSmKUg1T5Jg@mail.gmail.com>
References:  <20171201175750.GA32973@vash.rhavenn.local> <CADL2u4haZ4iE=DN3RbsTbpM9rZ-RzcnHjit3oz3V7W0QX9hnKQ@mail.gmail.com> <CADL2u4jD5GNybUuOYtfsE9Hx4W36=oBC0xRw72ivr=aQW=T%2BFg@mail.gmail.com> <CADL2u4j=Na0ejiDaxHuN57zfz%2B3UVfx3qrqa0qpXSmKUg1T5Jg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 01 Dec 2017, René Ladan wrote:

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

That just seems to switch the "python" port to use 2.7 as its
symlink vs. 3.6. I'm still only getting 2.7 builds for the majority
of ports.

henrik


> 
> René
> 
> 
> 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"
> _______________________________________________
> 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"

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




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