From owner-freebsd-ports@FreeBSD.ORG Sun Aug 10 15:45:17 2014 Return-Path: Delivered-To: freebsd-ports@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 D5D8D6F6; Sun, 10 Aug 2014 15:45:17 +0000 (UTC) Received: from mail.issp.ac.ru (mail.issp.ac.ru [77.236.34.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "relay.issp.ac.ru", Issuer "relay.issp.ac.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5A1CD209B; Sun, 10 Aug 2014 15:45:16 +0000 (UTC) Received: from host-62-63-83-42.rev.as20985.net [62.63.83.42:6349] (HELO/EHLO mercury.ph.man.ac.uk, authenticated with PLAIN) by mail.issp.ac.ru with ESMTP/inet id s7AFjaRt095381 (using TLSv1/SSLv3, with cipher DHE-RSA-AES256-SHA (256 bits), verified NO) Sun, 10 Aug 2014 19:45:37 +0400 (MSK) X-Authentication-Warning: mail.issp.ac.ru: Host host-62-63-83-42.rev.as20985.net [62.63.83.42] claimed to be mercury.ph.man.ac.uk From: Max Brazhnikov To: freebsd-ports@freebsd.org, Marcus von Appen Subject: Re: Parallel python package support with pkg Date: Sun, 10 Aug 2014 15:45:13 +0000 Message-ID: <1665712.TsE3f4YLT4@mercury.ph.man.ac.uk> User-Agent: KMail/4.12.5 (FreeBSD/9.3-PRERELEASE; KDE/4.12.5; amd64; ; ) In-Reply-To: <20140809212441.GA1023@medusa.sysfault.org> References: <20140809212441.GA1023@medusa.sysfault.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="ISO-8859-1" Cc: ports-announce@freebsd.org, freebsd-pkg@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2014 15:45:17 -0000 On Sat, 09 Aug 2014 23:24:41 +0200 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@ Awesome! Thanks a lot for working on this! Max