poudriere, python ports, and flavors oh my?
Henrik Hudson
lists at rhavenn.net
Fri Dec 1 22:31:44 UTC 2017
On Fri, 01 Dec 2017, Henrik Hudson wrote:
> On Fri, 01 Dec 2017, René Ladan wrote:
>
> > 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.
>
> 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
Okay, so in my poudriere -f list file or bulk builds if I do:
devel/awscli at py36
when calling bulk then it builds for the right version. So, I don't
know if that's the way it's supposed to work, I'm missing something,
or if it's supposed to be building both.
henrik
>
>
> >
> > 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"
> > _______________________________________________
> > 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"
>
> --
> 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"
--
Henrik Hudson
lists at rhavenn.net
-----------------------------------------
"God, root, what is difference?" Pitr; UF
More information about the freebsd-ports
mailing list