From owner-freebsd-python@freebsd.org Mon Oct 17 10:42:18 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5C3C6C15F04 for ; Mon, 17 Oct 2016 10:42:18 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 411EC191 for ; Mon, 17 Oct 2016 10:42:18 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: by mailman.ysv.freebsd.org (Postfix) id 3D4CDC15F03; Mon, 17 Oct 2016 10:42:18 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3CF30C15F02 for ; Mon, 17 Oct 2016 10:42:18 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward3p.cmail.yandex.net (forward3p.cmail.yandex.net [IPv6:2a02:6b8:0:1465::13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ED3C318D; Mon, 17 Oct 2016 10:42:17 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::27]) by forward3p.cmail.yandex.net (Yandex) with ESMTP id A746720D62; Mon, 17 Oct 2016 13:42:05 +0300 (MSK) Received: from smtp3o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3o.mail.yandex.net (Yandex) with ESMTP id 47DD22940D87; Mon, 17 Oct 2016 13:42:03 +0300 (MSK) Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ueoHBYA5Ay-g2Suvdnt; Mon, 17 Oct 2016 13:42:03 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1476700923; bh=vqPuuNWUMB/L6ja3O9tFyfPRsi8yPM5UYdNaxmvgkgQ=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=jg5/Yn6ZbJouSVO065RLQJwpfH6M/1T6u/l+y6oYjJFtYy64Me5/jIu4LmlnDeV2N Y4LxwCEV4vFlNvJx6kfuFlQweIYtqyD2p4RctrtiVJsx0BGX3ZfAqkdPAPS6JeUyCV hqtxR8sgO55kWj9lbs/OIwNuan7SIE3yjFbnCa5Y= Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0,1 0 Subject: Re: Introducing python3 into user system To: Gerhard Schmidt , Ruslan Makhmatkhanov , python@FreeBSD.org References: <5893aa6d-5e29-81b5-9685-a04ab8260bcb@ze.tum.de> From: Ruslan Makhmatkhanov Message-ID: <60f3bedb-8f57-2703-7ee9-736fc26ff9d0@yandex.ru> Date: Mon, 17 Oct 2016 13:39:52 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <5893aa6d-5e29-81b5-9685-a04ab8260bcb@ze.tum.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2016 10:42:18 -0000 Gerhard Schmidt wrote on 10/17/2016 11:07: > Am 16.10.2016 um 21:22 schrieb Ruslan Makhmatkhanov: >> - if port has a build dependency upon python and it can be built both >> with python2 and python3, force it to build with python3 >> - if some standalone application can be running both with python2 and >> python3 and it have equivalent python3 dependencies, force it to be run >> with python3 > > What do you mean by "force it"?. I mean set USES=python3.3+ for such ports. > I agree python3 should be the default choice for all ports that can be > installed with both python 2 and 3 if there is no python on the system. > if python2 is already installed and python3 is not python2 should be > used to reduce possible incompatibilities between programs. > > Regards > Estartu Please see my comments to Vlad's response. This does not involve python "libraries" and standalone ports that depend on such "libraries". -- Regards, Ruslan T.O.S. Of Reality