From owner-freebsd-ports-announce@FreeBSD.ORG Sat Aug 9 21:24:50 2014 Return-Path: Delivered-To: ports-announce@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 ESMTPS id 3879DF4B; Sat, 9 Aug 2014 21:24:50 +0000 (UTC) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.31.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EC4C62A1D; Sat, 9 Aug 2014 21:24:49 +0000 (UTC) Received: from [89.182.168.88] (helo=localhost) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1XGE81-0001GT-3M; Sat, 09 Aug 2014 23:24:41 +0200 Date: Sat, 9 Aug 2014 23:24:41 +0200 From: Marcus von Appen To: freebsd-ports@freebsd.org, freebsd-pkg@freebsd.org, ports-announce@freebsd.org Message-ID: <20140809212441.GA1023@medusa.sysfault.org> Reply-To: Marcus von Appen Mail-Followup-To: freebsd-ports@freebsd.org, freebsd-pkg@freebsd.org, ports-announce@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Df-Sender: MTEyNTc0Mg== X-Mailman-Approved-At: Sun, 10 Aug 2014 00:58:31 +0000 Subject: [FreeBSD-Ports-Announce] Parallel python package support with pkg X-BeenThere: freebsd-ports-announce@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Important news and instructions about the FreeBSD " ports collection" \[moderated\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2014 21:24:50 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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@ --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlPmkZkACgkQi68/ErJnpkdaoQCfeYgiqWd/MUGpCafAAWmn2hhQ CL4AniibkRd7+3P9CxBo4mz++X6iQ+/e =CuID -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--