From owner-freebsd-ports@freebsd.org Thu Jan 10 11:58:51 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4809C14884A2 for ; Thu, 10 Jan 2019 11:58:51 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3523B80B91 for ; Thu, 10 Jan 2019 11:58:50 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.135.214] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1ghYz0-0003nb-Kh for freebsd-ports@freebsd.org; Thu, 10 Jan 2019 12:58:46 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id x0ABwgJS004164 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Thu, 10 Jan 2019 12:58:42 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id x0ABwfWi004163 for freebsd-ports@freebsd.org; Thu, 10 Jan 2019 12:58:41 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 10 Jan 2019 12:58:41 +0100 From: Matthias Apitz To: freebsd-ports@freebsd.org Subject: Re: py27 ./. py3 version of ports Message-ID: <20190110115841.GA4108@c720-r342378> Reply-To: Matthias Apitz Mail-Followup-To: freebsd-ports@freebsd.org References: <20190110100452.GA3582@c720-r342378> <6d03967e-5a46-f39b-318b-ab1bc4467dc9@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6d03967e-5a46-f39b-318b-ab1bc4467dc9@FreeBSD.org> X-Operating-System: FreeBSD 13.0-CURRENT r342378 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.11.1 (2018-12-01) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.135.214 X-Rspamd-Queue-Id: 3523B80B91 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-4.98 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; HAS_XOIP(0.00)[]; IP_SCORE(-3.45)[ip: (-9.24), ipnet: 178.254.0.0/19(-4.45), asn: 42730(-3.56), country: DE(-0.01)]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mail.unixarea.de]; NEURAL_HAM_SHORT(-0.82)[-0.823,0]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; RECEIVED_SPAMHAUS_PBL(0.00)[214.135.204.89.zen.spamhaus.org : 127.0.0.11]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[unixarea.de]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jan 2019 11:58:51 -0000 El día jueves, enero 10, 2019 a las 11:14:19a. m. +0000, Matthew Seaman escribió: > On 10/01/2019 10:04, Matthias Apitz wrote: > > I've compiled on CURRENT the ports of December 23 from SVN with my > > poudriere oven. ANd I have nothing set about FLAVOR in make.conf for > > python. Why d I habe now some 157 py27 ports and only 4 py3: > > > > $ ls -l /usr/PKGDIR.20181223/py27* | wc -l > > 157 > > $ ls -l /usr/PKGDIR.20181223/py3* | wc -l > > 4 > > > > in my local repository? Perhaps I did something stupid wrong. > > > > Python 2.7 is still the default in ports -- that's the flavour you're > going to get unless you say otherwise. You'ld get py36 flavours if you > had something that was python36 specific on your build list, or you'ld > configured some ports to build that way in the list of what you want > poudriere to build by appending @py36 to the port name. > > You can get poudriere to generate packages for all of the different > standard(*) flavours by appending '@all' to the port name you give as > input to poudriere, or to build absolutely all standard flavours for > everything by adding FLAVOR_DEFAULT_ALL=yes to poudriere.conf Thanks for the explanation and I'm fine with the py27 ports. The background for my question is: I'm porting an AI system https://community.mycroft.ai/t/mycroft-on-freebsd/5119/8 to CURRENT which is written for Linux and make excessive use of Python3. What I have to set in poudriere to get some required py3 packages built as well, but WITHOUT changing the dependency for my ~2000 packages which pulled somehow in the standard py27 ports? Thanks matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, Druschba instead of Nazis, to live instead of to survive.