From owner-freebsd-pkg@FreeBSD.ORG Mon Aug 11 02:23:41 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0273788B; Mon, 11 Aug 2014 02:23:41 +0000 (UTC) Received: from mail-pa0-x229.google.com (mail-pa0-x229.google.com [IPv6:2607:f8b0:400e:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C53762C9C; Mon, 11 Aug 2014 02:23:40 +0000 (UTC) Received: by mail-pa0-f41.google.com with SMTP id rd3so10284915pab.28 for ; Sun, 10 Aug 2014 19:23:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:reply-to:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=7s8j9Lq0kOlIv9/bEtcnaBuSNYGpt4oduHxpinyvD0g=; b=SYYHWJBPtJCqWbE7b51hoLjalCMNxdOcWOSzdqBd7qjd0i4bS8Jznnvv95TQCG+xik uXYbGnuUjh2WSqLOKrvzvn+kDxQSNVN68TsNWnHckDccdpdZd1eVa/J4rdOwP/thUu6K T2Zq6/LGDa0SdTMT+PtUKcMSKgdbo19N45IUShZGjXb/NwYAa9MqbfjGyn4yTZiUQFmc lZOksr8DLNFOXSVDUvVq0Lwf9fufNjUWffcKJpT2B5PV12CqQ/0ONq+y/BGqUyrHbRI1 +MeQ/vMnAfy2mH0j6M/xter/sjCtaILpv/7w7j6Q2bk+/+PNg8MeQWkNvcpQBTLdKRcw Xg6w== X-Received: by 10.70.9.195 with SMTP id c3mr38537960pdb.21.1407723820258; Sun, 10 Aug 2014 19:23:40 -0700 (PDT) Received: from ?IPv6:2001:44b8:31ae:7b00:898d:2993:e1fd:8220? (2001-44b8-31ae-7b00-898d-2993-e1fd-8220.static.ipv6.internode.on.net. [2001:44b8:31ae:7b00:898d:2993:e1fd:8220]) by mx.google.com with ESMTPSA id h4sm304833pdi.30.2014.08.10.19.23.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Aug 2014 19:23:39 -0700 (PDT) Sender: Kubilay Kocak Message-ID: <53E82928.7090100@FreeBSD.org> Date: Mon, 11 Aug 2014 12:23:36 +1000 From: Kubilay Kocak Reply-To: koobs@FreeBSD.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org, freebsd-pkg@freebsd.org Subject: Re: Parallel python package support with pkg References: <20140809212441.GA1023@medusa.sysfault.org> In-Reply-To: <20140809212441.GA1023@medusa.sysfault.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2014 02:23:41 -0000 On 10/08/2014 7:24 AM, Marcus von Appen wrote: > Dear all, > > the pkg team created something outstanding with pkg 1.3, which you might have > missed. Since version 1.3, pkg supports the installation of packages, which > share the same origin (location in the ports tree), but have different package > names. > > In practice, this means that you can install e.g. a python module for two > different Python versions at the same time with pkg now (a last fix for it was > provided on August, the 8th, for the ports, so make sure to update your ports > tree beforehand). > > To install a python module for different Python version, you just have to > provide PYTHON_VERSION=pythonX.Y at the command line: > > # go to py-tkinter > $ cd /usr/ports/x11-toolkits/py-tkinter > > # install it for the default python (2.7) > $ make install clean > > # install it for python 3.3, too > $ make PYTHON_VERSION=python3.3 install clean > > # check the installed packages > $ pkg info \*tkinter > py27-tkinter-2.7.8_5 > py33-tkinter-3.3.5_5 > > Please note, that this will not work for all python ports yet. Those, which > install conflicting files (most often applications or configuration files), > will still create a conflict. If you need to offer that specific port for > different python versions at the same time, you may want to follow up with the > maintainer and our python team. > > If you are a maintainer and wish to enable your port for different python > versions, but something blocks you, get in touch with our python team for > assistance. > > You can find our contact details at https://wiki.freebsd.org/Python. > > Cheers > Marcus on behalf of python@ > This is a major step forward for the FreeBSD/Python Ecosystem, thank you everyone involved!