From owner-freebsd-python@FreeBSD.ORG Thu Aug 29 08:48:31 2013 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9B87FD30; Thu, 29 Aug 2013 08:48:31 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D7FDE2FDF; Thu, 29 Aug 2013 08:48:30 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id z11so131133wgg.10 for ; Thu, 29 Aug 2013 01:48:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=F+37nOCE9uJU+j9SY34ujXY29KTeM7UJAbjywYCfo6Y=; b=gw5jAXh78+MkrTfP3N/Bp+7K+pdj5L3eC7INA8T4TfDhSM+hOuibkyjp7ASLy7bBLk ocnpS4tt2GxcGpCF9tD0Zfmtlb7PZKNlymuzjdhLhHHj5Bghp1RvqoF8DiakxtG/eSIl Q4JIGHJLGtJsGVbhjCnYj6cmSWZE7CtrfMHTR2kn+86PHJIZTAf46dgV4Ny5dJZYNr3q j817rWG6N7V3DcFHk8Nl8SgOd13Ns0EiaxFFnbi03xDmEhuM8/mXQYWY4m+GLcctdqzl IDuXCI7gyWRxcs0T5DGwumKNlyAPdHglLyOrVUuZJ7Q7wmXdoTJMEbkLLebc8yd8nLF4 Q+kA== MIME-Version: 1.0 X-Received: by 10.194.133.167 with SMTP id pd7mr4080794wjb.56.1377766108156; Thu, 29 Aug 2013 01:48:28 -0700 (PDT) Received: by 10.194.157.69 with HTTP; Thu, 29 Aug 2013 01:48:28 -0700 (PDT) In-Reply-To: <20130802180059.GA1278@medusa.sysfault.org> References: <20130802180059.GA1278@medusa.sysfault.org> Date: Thu, 29 Aug 2013 10:48:28 +0200 Message-ID: Subject: Re: [CFT] lang/python becoming a python binary wrapper From: David Demelier To: Marcus von Appen , python@freebsd.org, portmgr@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Aug 2013 08:48:31 -0000 2013/8/2 Marcus von Appen : > Dear all, > > as discussed previously on this list, users would love to install the > same python for multiple python versions. > > Besides other issues (which I'll summarize in a different mail), one > problem, especially for binary packages, are the "am I the default?" > assumptions of lang/pythonXX. > > The attached patch moves that logic into lang/python, instead of > maintaining the IF_DEFAULT magic within the individual python ports. > This will allow binary packages to be installed side by side without any > hacks, but also requires users, which are now happily using > /usr/local/bin/python (being created by lang/pythonXX) to install > lang/python explicitly (UPDATING entry should be sufficient). > > If there are no objections, I'll commit the change on the next weekend > (09.08.+). Please take your time to test. If portmgr@ feels this might > be a bit risky (ports implying /usr/local/bin/python based on > lang/pythonXX), please issue an exp-run beforehand. > > Cheers > Marcus It's weird, I still have some conflicts with the new wrappers: Proceed with installing packages [y/N]: y Checking integrity... Conflict found on path /usr/local/bin/2to3-3 between python2-3(lang/python2) and python3-3(lang/python3) Conflict found on path /usr/local/bin/idle3 between python2-3(lang/python2) and python3-3(lang/python3) Conflict found on path /usr/local/bin/pydoc3 between python2-3(lang/python2) and python3-3(lang/python3) Conflict found on path /usr/local/bin/python-shared3 between python2-3(lang/python2) and python3-3(lang/python3) Conflict found on path /usr/local/bin/python-shared3-config between python2-3(lang/python2) and python3-3(lang/python3) Conflict found on path /usr/local/bin/python3 between python2-3(lang/python2) and python3-3(lang/python3) Conflict found on path /usr/local/bin/python3-config between python2-3(lang/python2) and python3-3(lang/python3) Why 2to3-3 conflicts since it should only be installed by python3.3 ? Cheers, -- Demelier David